Repository navigation
Releases
v2.2.0
v2.1.0
What's new
- Combobox: Add support for multi-selection through
multipleprop (#830) (ced7588) - ThemeProvider: Add
applyBackgroundtothemeOptionsprop. (#974) (13cff7f)- Defaults to true for the topmost ThemeProvider in the tree.
- Table: Ctrl + Shift click now keeps previous selection & also shift clicks (#888) (13edfb5)
Fixes
v2.0.2
v2.0.1
Fixes
- Replaced all instances of
useLayoutEffectwithuseIsomorphicLayoutEffectto fix SSR warnings (#964) - Fixed css warnings about
startvsflex-startthrough base itwinui-css update (#962) - useTheme: Exit early if theme is already set on body (#963)
- Table: Added localization for selected rows count (#945)
- ModalButtonBar, ModalContent: Wrap
DialogButtonBarandDialogContentinstead of directly assigning (#961)
v2.0.0
Welcome to the v2 release of iTwinUI-react. 🎉
This release uses the brand new v1 of iTwinUI-css and iTwinUI-variables, which include significant visual changes and improvements.
These release notes offer a brief summary of the main changes. Check out the iTwinUI-react v2 migration guide for more details.
⚠ BREAKING CHANGES
iTwinUI no longer supports Internet Explorer. The build output now targets es2018 rather than es5, and CSS variables and grid are used without fallbacks.
As for breaking API changes, there is only one:
- const columns = [{ Header: 'Table', columns: [{ accessor: 'name', Header: 'Name' }, … ] }];
+ const columns = [{ accessor: 'name', Header: 'Name' }, … ];
<Table columns={columns} data={data} />Other than that, props and components that were already deprecated in v1 have been removed:
- Tabs: Remove deprecated
HorizontalTabandHorizontalTabProps(#852) (31ddeae) - Checkbox, Radio: Remove deprecated
checkmarkClassNameandcheckmarkStyle(#855) (5c339be) - Alert: Remove deprecated
onClickprop (#851) (f307fe9)
Deprecations
We have also taken this opportunity to deprecate a few more things while not removing them just yet, to minimize the number of breaking changes.
- Avatar, AvatarGroup: Deprecate
UserIcon/UserIconGroup, replace withAvatar/AvatarGroup(#902) (4001bd1)- Also deprecated
userIconprop inHeader.
- Also deprecated
- Tabs: Deprecate
HorizontalTabs,VerticalTabsto useTabs(#908) (f7e205e) - Typography: Deprecate Headline, Leading, Small, Subheading, Title, Body. Replaced with
Text. (#914) (30d6c02) - Wizard: Deprecate
Wizardto useStepper/WorkflowDiagram(#905) (8d16db3) - ErrorPage: Deprecate
ErrorPageand addNonIdealStatefor lower bundle size and inversion of control. (#924) (88cafdb)
What's new
- Allow scoped styles using
ThemeProvider(#825) - Add
exportsfield to package.json. This improves compatibility with ESM environments like vitest. (#845) (f58ca09) - Removed dependency on
@itwin/itwinui-icons. The icons are now inlined. (#917) (a598632) - Table: Add row loading state (#871) (22ac046)
- Table: Row selection count for paginator (#837) (e43148a)
- Tile: Add status and loading state (#872) (2fcb41f)
If you're interested in more details about every signle change, check out a full diff in v1.48.1..v2.0.0.
v1.48.1
v1.48.0
v1.47.1
v1.47.0
v1.46.0
What's new
- Dialog: Added new
Dialogcompound component that was previously used byModalinternally. - Breadcrumbs: Add
overflowButtonproperty (#814) (5a53003) - DatePicker: Date range support (#737) (33a815a)
- Table: Enable
useGlobalFilter(#810) (b5133cc) - Table: Now supports shift click to select multiple rows (#774) (e868dc2)
Fixes
- ButtonGroup: Handle overflow when available space is smaller than one element (#827) (f3691d3)
- Modal: Fixed body overflow handling when there is a dialog inside another dialog (#776) (68feac4)
- Dialog: Only focus dialog when
setFocusistrue(#809) (ddd7a9c) - Table: Exposing
BaseFilterinindex.ts(#826) (9cddd2c) - VirtualScroll: Show all children upon toggling display/visibility (#811) (77810a6)