18 KiB
@backstage/ui
0.7.2-next.2
Patch Changes
3c921c5: Making href mandatory in tabs that are part of a Header component5c21e45: Add react router for internal routing for ButtonLinks9781815: Remove auto selection of tabs for tabs that all have href definedf6dff5b: Using react router for internal links in the Menu component
0.7.2-next.1
Patch Changes
a9b88be: Enable tooltips on disabled buttons with automatic wrapper4adbb03: Avoid overriding onChange when spreading props
0.7.2-next.0
Patch Changes
827340f: remove default selection of tab9a47125: Improved SearchField component flex layout and animations. Fixed SearchField behavior in Header components by switching from width-based transitions to flex-basis transitions for better responsive behavior. Added new Storybook stories to test SearchField integration with Header component.
0.7.1
Patch Changes
7307930: Add missing class for flex: baseline89da341: Fix Select component to properly attach aria-label and aria-labelledby props to the rendered element for improved accessibility.0ffa4c7: Removed the need to mockwindow.matchMediain tests, falling back to default breakpoint values instead.
0.7.1-next.0
Patch Changes
7307930: Add missing class for flex: baseline89da341: Fix Select component to properly attach aria-label and aria-labelledby props to the rendered element for improved accessibility.
0.7.0
Minor Changes
0615e54: We are moving our DataTable component to React Aria. We removed our DataTable to only use Table as a single and opinionated option for tables. This new structure is made possible by using React Aria under the hood.b245c9d: Backstage UI - HeaderPage - We are updating the breadcrumb to be more visible and accessible.800f593: Breaking change We are updating the Menu component to use React Aria under the hood. The structure and all props are changing to follow React Aria's guidance.b0e47f3: Breaking We are upgrading ourTextcomponent to support all font sizes making theHeadingcomponent redundant. The newTextcomponent introduces 4 sizes for title and 4 sizes for body text. All of these work in multiple colors and font weights. We improved theasprop to include all possible values. TheLinkcomponent has also been updated to match the newTextcomponent.
Patch Changes
de89a3d: Fixes some styles on the Select component in BUI.a251b3e: Export CardHeader, CardBody and CardFooter from Card component indexf761306: Add new TagGroup component to Backstage UI.75fead9: Fixes a couple of small bugs in BUI including setting H1 and H2 correctly on the Header and HeaderPage.e7ff178: Update styling of Tooltip element230b410: Breaking change Move breadcrumb to fit in theHeaderPageinstead of theHeaderin Backstage UI.2f9a084: We are motion away frommotionto usegsapinstead to make Backstage UI backward compatible with React 17.d4e603e: Updated Menu component in Backstage UI to use useId() from React Aria instead of React to support React 17.8bdc491: Remove stylesheet import from Select component.404b426: AddstartCollapsedprop on theSearchFieldcomponent in BUI.e0e886f: Adds onTabSelectionChange to ui header component.
0.7.0-next.3
Minor Changes
0615e54: We are moving our DataTable component to React Aria. We removed our DataTable to only use Table as a single and opinionated option for tables. This new structure is made possible by using React Aria under the hood.
Patch Changes
230b410: Breaking change Move breadcrumb to fit in theHeaderPageinstead of theHeaderin Backstage UI.8bdc491: Remove stylesheet import from Select component.404b426: AddstartCollapsedprop on theSearchFieldcomponent in BUI.
0.7.0-next.2
Patch Changes
d4e603e: Updated Menu component in Backstage UI to use useId() from React Aria instead of React to support React 17.
0.7.0-next.1
Patch Changes
de89a3d: Fixes some styles on the Select component in BUI.75fead9: Fixes a couple of small bugs in BUI including setting H1 and H2 correctly on the Header and HeaderPage.2f9a084: We are motion away frommotionto usegsapinstead to make Backstage UI backward compatible with React 17.
0.7.0-next.0
Minor Changes
b0e47f3: Breaking We are upgrading ourTextcomponent to support all font sizes making theHeadingcomponent redundant. The newTextcomponent introduces 4 sizes for title and 4 sizes for body text. All of these work in multiple colors and font weights. We improved theasprop to include all possible values. TheLinkcomponent has also been updated to match the newTextcomponent.
Patch Changes
e7ff178: Update styling of Tooltip elemente0e886f: Adds onTabSelectionChange to ui header component.
0.6.0
Minor Changes
e92bb9b: Canon has been renamed to Backstage UI. This means that@backstage/canonhas been deprecated and replaced by@backstage/ui.
0.6.0-next.1
Minor Changes
2e30459: We are moving our Tooltip component to use React Aria under the hood. In doing so, the structure of the component and its prop are changing to follow the new underlying structure.
Patch Changes
76255b8: Add new Card component to Canon.b0a6c8e: Add new Header component to Canon.be76576: Improve Button, ButtonIcon and ButtonLink styling in Canon.17beb9b: Update return types for Heading & Text components for React 19.eac4a4c: Add new tertiary variant to Button, ButtonIcon and ButtonLink in Canon.8f2e82d: Add new Skeleton component in Canon
0.6.0-next.0
Minor Changes
-
4c6d891: BREAKING CHANGESWe’re updating our Button component to provide better support for button links.
- We’re introducing a new
ButtonLinkcomponent, which replaces the previous render prop pattern. - To maintain naming consistency across components,
IconButtonis being renamed toButtonIcon. - Additionally, the render prop will be removed from all button-related components.
These changes aim to simplify usage and improve clarity in our component API.
- We’re introducing a new
Patch Changes
140f652: We are consolidating all css files into a single styles.css in Canon.8154fb9: Add new SearchField component in Canon6910892: Add newRadioGroup+Radiocomponent to Canona8a8514: We are transforming how we structure our class names and data attributes definitions for all components. They are now all set in the same place.667b951: Added placeholder prop to TextField component.e71333a: adding export for ButtonLink so it's importable
0.5.0
Minor Changes
- 621fac9: We are updating the default size of the Button component in Canon to be small instead of medium.
a842554: We set the default size for IconButton in Canon to be small instead of medium.35fd51d: Move TextField component to use react Aria under the hood. Introducing a new FieldLabel component to help build custom fields.78204a2: Breaking We are adding a new as prop on the Heading and Text component to make it easier to change the component tag. We are removing the render prop in favour of the as prop.c49e335: TextField in Canon now has multiple label sizes as well as the capacity to hide label and description but still make them available for screen readers.24b45ef: Fixes spacing props on layout components and aligned on naming for the Grid component. You should now call the Grid root component using <Grid.Root /> instead of just .
Patch Changes
44df879: Add min-width: 0; by default on every Flex components in Canon to help support truncated texts inside flex elements.ee6ffe6: Fix styling for the title4 prop on the Heading component in Canon.f2f814a: Added a render prop to the Button component in Canon to use it as a link.98f02a6: Add new Switch component in Canon.c94f8e0: The filter input in menu comboboxes should now always use the full width of the menu it's in.269316d: Remove leftover console.log from Container component.
0.5.0-next.2
Patch Changes
44df879: Add min-width: 0; by default on every Flex components in Canon to help support truncated texts inside flex elements.ee6ffe6: Fix styling for the title4 prop on the Heading component in Canon.f2f814a: Added a render prop to the Button component in Canon to use it as a link.
0.5.0-next.1
Minor Changes
- 621fac9: We are updating the default size of the Button component in Canon to be small instead of medium.
a842554: We set the default size for IconButton in Canon to be small instead of medium.
0.5.0-next.0
Minor Changes
24b45ef: Fixes spacing props on layout components and aligned on naming for the Grid component. You should now call the Grid root component using <Grid.Root /> instead of just .
Patch Changes
269316d: Remove leftover console.log from Container component.
0.4.0
Minor Changes
ea36f74: Breaking Change Icons on Button and IconButton now need to be imported and placed like this: <Button iconStart={} />ccb1fc6: We are modifying the way we treat custom render using 'useRender()' under the hood from BaseUI.04a65c6: The icon prop in TextField now accept a ReactNode instead of an icon name. We also updated the icon sizes for each input sizes.
Patch Changes
c8f32db: Use correct colour token for TextField clear button icon, prevent layout shift whenever it is hidden or shown and properly size focus area around it. Also stop leading icon shrinking when used together with clear button.e996368: Fix Canon missing dependencies720033c: For improved a11y, clicking a Select component label now focuses the Select trigger element, and the TextField component's label is now styled to indicate it's interactive.6189bfd: Added new icon and onClear props to the TextField to make it easier to accessorize inputs.9510105: Add new Tabs component to Canon97b25a1: Pin version of @base-ui-components/react.206ffbe: Fixed an issue with Canon's DataTable.Pagination component showing the wrong number for the "to" count.72d019d: Removed various typos4551fb7: Update Menu component in Canon to make the UI more condensed. We are also adding a new Combobox option for nested navigation.185d3a8: Use the Field component from Base UI within the TextField.1ea1db0: Add new truncate prop to Text and Heading components in Canon.
0.4.0-next.3
Patch Changes
c8f32db: Use correct colour token for TextField clear button icon, prevent layout shift whenever it is hidden or shown and properly size focus area around it. Also stop leading icon shrinking when used together with clear button.
0.4.0-next.2
Patch Changes
6189bfd: Added new icon and onClear props to the TextField to make it easier to accessorize inputs.97b25a1: Pin version of @base-ui-components/react.185d3a8: Use the Field component from Base UI within the TextField.
0.4.0-next.1
Minor Changes
ea36f74: Breaking Change Icons on Button and IconButton now need to be imported and placed like this: <Button iconStart={} />
Patch Changes
720033c: For improved a11y, clicking a Select component label now focuses the Select trigger element, and the TextField component's label is now styled to indicate it's interactive.206ffbe: Fixed an issue with Canon's DataTable.Pagination component showing the wrong number for the "to" count.72d019d: Removed various typos
0.3.2-next.0
Patch Changes
e996368: Fix Canon missing dependencies
0.3.0
Minor Changes
df4e292: Improve class name structure using data attributes instead of class names.f038613: Updated TextField and Select component to work with React Hook Form.1b0cf40: Add new Select component for Canon5074d61: BREAKING: Added a new TextField component to replace the Field and Input component. After feedback, it became clear that we needed to build a more opinionated version to avoid any problem in the future.
Patch Changes
-
6af7b16: Updated styles for the Menu component in Canon. -
bcbc593: Fix Checkbox styles on dark theme in Canon. -
e7efb7d: Add new breakpoint helpers up(), down() and current breakpoint to help you use our breakpoints in your React components. -
f7cb538: Internal refactor and fixes to the prop extraction logic for layout components. -
35b36ec: Add new Collapsible component for Canon. -
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
-
513477f: Add global CSS reset for anchor tags. -
24f0e08: Improved Container styles, changing our max-width to 120rem and improving padding on smaller screens. -
851779d: Add new Avatar component to Canon.
-
ec5ebd1: Add new TableCellProfile component for Table and DataTable in Canon. -
5e80f0b: Fix types on the Icon component. -
0e654bf: Add new DataTable component and update Table component styles. -
7ae28ba: Move styles to the root of the TextField component. -
4fe5b08: We added a render prop to the Link component to make sure it can work with React Router. -
74d463c: Fix Select styles on small sizes + with long option names in Canon. -
f25a5be: Added a new gray scale for Canon for both light and dark theme. -
5ee4fc2: Add support for column sizing in DataTable. -
05a5003: Fix the Icon component when the name is not found to return null instead of an empty SVG.
0.3.0-next.2
Minor Changes
f038613: Updated TextField and Select component to work with React Hook Form.1b0cf40: Add new Select component for Canon5074d61: BREAKING: Added a new TextField component to replace the Field and Input component. After feedback, it became clear that we needed to build a more opinionated version to avoid any problem in the future.
Patch Changes
-
a47fd39: Removes instances of default React imports, a necessary update for the upcoming React 19 migration.https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
-
24f0e08: Improved Container styles, changing our max-width to 120rem and improving padding on smaller screens. -
7ae28ba: Move styles to the root of the TextField component. -
4fe5b08: We added a render prop to the Link component to make sure it can work with React Router.
0.2.1-next.1
Patch Changes
f7cb538: Internal refactor and fixes to the prop extraction logic for layout components.5e80f0b: Fix types on the Icon component.
0.2.1-next.0
Patch Changes
6af7b16: Updated styles for the Menu component in Canon.513477f: Add global CSS reset for anchor tags.05a5003: Fix the Icon component when the name is not found to return null instead of an empty SVG.
0.2.0
Minor Changes
5a5db29: Fix CSS imports and move CSS outputs out of the dist folder.4557beb: Added a new Tooltip component to Canon.1e4dfdb: We added a new IconButton component with fixed sizes showcasing a single icon.e8d12f9: Added about 40 new icons to Canon.8689010: We are renaming CanonProvider to IconProvider to improve clarity on how to override icons.bf319b7: Added a new Menu component to Canon.cb7e99d: Updating styles for Text and Link components as well as global surface tokens.bd8520d: Added a new ScrollArea component for Canon.
Patch Changes
56850ca: Fix Button types that was preventing the use of native attributes like onClick.89e8686: To avoid conflicts with Backstage, we removed global styles and set font-family and font-weight for each components.05e9d41: Introducing Canon to Backstage. Canon styling system is based on pure CSS. We are adding our styles.css at the top of your Backstage instance.
0.2.0-next.1
Minor Changes
8689010: We are renaming CanonProvider to IconProvider to improve clarity on how to override icons.
Patch Changes
89e8686: To avoid conflicts with Backstage, we removed global styles and set font-family and font-weight for each components.
0.2.0-next.0
Minor Changes
5a5db29: Fix CSS imports and move CSS outputs out of the dist folder.
0.1.0
Minor Changes
72c9800: BREAKING: Merged the Stack and Inline component into a single component called Flex.65f4acc: This is the first alpha release for Canon. As part of this release we are introducing 5 layout components and 7 components. All theming is done through CSS variables.1e4ccce: BREAKING: Fixing css structure and making sure that props are applying the correct styles for all responsive values.8309bdb: Updated core CSS tokens and fixing the Button component accordingly.
Patch Changes
989af25: Removed client directive as they are not needed in React 18.f44e5cf: Fix spacing props not being applied for custom values.58ec9e7: Removed older versions of React packages as a preparatory step for upgrading to React 19. This commit does not introduce any functional changes, but removes dependencies on previous React versions, allowing for a cleaner upgrade path in subsequent commits.
0.1.0-next.2
Minor Changes
8309bdb: Updated core CSS tokens and fixing the Button component accordingly.
Patch Changes
f44e5cf: Fix spacing props not being applied for custom values.
0.1.0-next.1
Minor Changes
72c9800: BREAKING: Merged the Stack and Inline component into a single component called Flex.1e4ccce: BREAKING: Fixing css structure and making sure that props are applying the correct styles for all responsive values.
Patch Changes
989af25: Removed client directive as they are not needed in React 18.58ec9e7: Removed older versions of React packages as a preparatory step for upgrading to React 19. This commit does not introduce any functional changes, but removes dependencies on previous React versions, allowing for a cleaner upgrade path in subsequent commits.
0.1.0-next.0
Minor Changes
65f4acc: This is the first alpha release for Canon. As part of this release we are introducing 5 layout components and 7 components. All theming is done through CSS variables.