Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Releases

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Dec 14:58
a421113

What's new

  • NotificationMarker: Add new NotificationMarker component (#829) (6a0a6c3)
  • Table: onFilter gets filtered rows (#958) (84bc9e9)
  • Timepicker: Add combined time column (#844) (86050eb)

Fixes

  • Table: Reset columnOrder when columns changes (#983) (4f184f6)
  • Use import type instead of import { type } for supporting older typescript versions (#996)

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Dec 19:20
6c697bd

What's new

  • Combobox: Add support for multi-selection through multiple prop (#830) (ced7588)
  • ThemeProvider: Add applyBackground to themeOptions prop. (#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

  • ComboBox: Move max-height to outer element to fix virtual scroll (#986) (596559e)
  • Table: Ctrl and checkbox clicks update start row of shift selection (#889) (21900d4)

v2.0.2

Choose a tag to compare

@github-actions github-actions released this 07 Dec 16:39
e43d3e1

Fixes

  • ThemeProvider: Improved types to exclude ownerDocument from themeOptions if children passed (#973) (36997de)

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 16:02
5be110d

Fixes

  • Replaced all instances of useLayoutEffect with useIsomorphicLayoutEffect to fix SSR warnings (#964)
  • Fixed css warnings about start vs flex-start through 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 DialogButtonBar and DialogContent instead of directly assigning (#961)

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:45
7640e83

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:

  • Table: columns prop must now be an array. First level Header is no longer required (#935) (83d5cfe)
- 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 HorizontalTab and HorizontalTabProps (#852) (31ddeae)
  • Checkbox, Radio: Remove deprecated checkmarkClassName and checkmarkStyle (#855) (5c339be)
  • Alert: Remove deprecated onClick prop (#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 with Avatar/AvatarGroup (#902) (4001bd1)
    • Also deprecated userIcon prop in Header.
  • Tabs: Deprecate HorizontalTabs, VerticalTabs to use Tabs (#908) (f7e205e)
  • Typography: Deprecate Headline, Leading, Small, Subheading, Title, Body. Replaced with Text. (#914) (30d6c02)
  • Wizard: Deprecate Wizard to use Stepper/WorkflowDiagram (#905) (8d16db3)
  • ErrorPage: Deprecate ErrorPage and add NonIdealState for lower bundle size and inversion of control. (#924) (88cafdb)

What's new

  • Allow scoped styles using ThemeProvider (#825)
  • Add exports field 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

Choose a tag to compare

@github-actions github-actions released this 24 Oct 21:01
7913c3d

Fixes

  • Modal: Apply z-index on dialog wrapper (#892) (0637b54)

v1.48.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 14:46
f152848

Fixes

  • Slider: onUpdate called on thumb keyboard press, keyboard onChange called onKeyUp (#857) (e881387)
  • Table: Fix "un/select all rows" behavior when a filter is applied (81a54f7)

v1.47.1

Choose a tag to compare

@github-actions github-actions released this 10 Oct 07:33
1122b34

Fixes

v1.47.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 15:31
372c30e

What's new

Fixes

  • Table: Fixed when fast resizing caused Table to throw an error (#848) (058ad3a)

v1.46.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 13:19
bf2dfca

What's new

  • Dialog: Added new Dialog compound component that was previously used by Modal internally.
    • Supports dragging through isDraggable and relativeTo props (#771) (6e19020)
    • Supports resizing through isResizable prop (#823) (635de22)
  • Breadcrumbs: Add overflowButton property (#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 setFocus is true (#809) (ddd7a9c)
  • Table: Exposing BaseFilter in index.ts (#826) (9cddd2c)
  • VirtualScroll: Show all children upon toggling display/visibility (#811) (77810a6)