@itwin/itwinui-css 2.0.0-dev.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,499 +1,68 @@
1
1
  # Changelog
2
2
 
3
- ## 2.0.0-dev.8
3
+ ## 2.0.0
4
4
 
5
- ### Major Changes
6
-
7
- - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): `iui-transfer-list-listbox-label` and `iui-input-container` classes were removed.
8
- - [#1529](https://github.com/iTwin/iTwinUI/pull/1529): Removed location-marker component.
9
- - [#1523](https://github.com/iTwin/iTwinUI/pull/1523): Removed `iui-tooltip-container` and `iui-tooltip-visible` classes. The display is now toggled using the `hidden` HTML attribute, and the positioning should be managed using custom JS/CSS.
10
-
11
- ### Minor Changes
12
-
13
- - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added `iui-input-group-wrapper` class to allow inline labels for input groups.
14
- - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added `iui-input-grid` class for outer input styling.
15
- - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added status styling to `input` and `select`.
16
- - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added padded styling to Icon using `data-iui-padded` attribute.
17
- - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added `iui-status-message` class to wrap StatusMessage icon and content.
5
+ Welcome to the v2 release of `@itwin/itwinui-css`. 🎉
18
6
 
19
- ## 2.0.0-dev.7
7
+ This release includes a few breaking changes which have been listed below. For more details, see the [migration guide](https://github.com/iTwin/iTwinUI/wiki/iTwinUI-css-v2-migration-guide).
20
8
 
21
9
  ### Major Changes
22
10
 
11
+ - [#1548](https://github.com/iTwin/iTwinUI/pull/1548): Using `aria-selected` instead of `iui-active` in Tabs to set active styling.
23
12
  - [#1446](https://github.com/iTwin/iTwinUI/pull/1446): `iui-avatar` has been refactored to be a single `<span>`, and the status is now applied using the `data-iui-status` attribute. The colors have been updated to pass AAA contrast ratio.
24
- - [#1489](https://github.com/iTwin/iTwinUI/pull/1489): `--iui-color-dot-inset` has been split into `--iui-color-dot-inset-block` and `--iui-color-dot-inset-inline`.
25
-
26
- ### Patch Changes
27
-
28
- - [#1499](https://github.com/iTwin/iTwinUI/pull/1499): Removed special handling of iPhone notch in Header and SideNavigation.
29
-
30
- ## 2.0.0-dev.6
31
-
32
- ### Major Changes
33
-
13
+ - [#1548](https://github.com/iTwin/iTwinUI/pull/1548): Combined tabs stripe variables: `--iui-stripe-left` and `--iui-stripe-top` into `--iui-tabs-stripe-position`; `--iui-stripe-width` and `--iui-stripe-height` into `--iui-tabs-stripe-size`.
14
+ - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): `iui-transfer-list-listbox-label` and `iui-input-container` classes were removed.
15
+ - [#1255](https://github.com/iTwin/iTwinUI/pull/1255): `iui-folder` is updated to use `display: grid`. `iui-tile-name` is now moved outside of `iui-tile-content` for folder variant.
34
16
  - [#1420](https://github.com/iTwin/iTwinUI/pull/1420): `<div class="iui-radio-tile-content">` has been removed from radio-tile. Also, `data-iui-disabled` attribute must be set on the radio-tile for browsers that don't support `:has` (firefox).
35
-
36
- ## 2.0.0-dev.5
37
-
38
- ### Major Changes
39
-
17
+ - [#1573](https://github.com/iTwin/iTwinUI/pull/1573): Removed background from color-picker, date-picker/time-picker, and column-filter. Use `iui-popover-surface` class to add it back.
18
+ - [#1489](https://github.com/iTwin/iTwinUI/pull/1489): `--iui-color-dot-inset` has been split into `--iui-color-dot-inset-block` and `--iui-color-dot-inset-inline`.
40
19
  - [#1369](https://github.com/iTwin/iTwinUI/pull/1369): The `iui-breadcrumbs-item-overrides` class name has been removed. Breadcrumbs items now use the `iui-breadcrumbs-content` class name.
41
- - [#1354](https://github.com/iTwin/iTwinUI/pull/1354): The following class names have been updated:
42
-
43
- - `iui-header` -> `iui-expandable-header`
44
- - `iui-icon` -> `iui-expandable-block-icon`
45
- - `iui-title` -> `iui-expandable-block-title`
46
- - `iui-caption` -> `iui-expandable-block-caption`
47
-
48
- The following class names have been removed and updated to be data attributes:
49
-
50
- - `iui-expanded` -> `data-iui-expanded` (boolean)
51
- - `iui-small` -> `data-iui-size` (default or small)
52
- - `iui-borderless` -> `data-iui-variant` (default or borderless)
53
-
54
- - [#1370](https://github.com/iTwin/iTwinUI/pull/1370): `iui-progress-indicator-linear` has been refactored to be a single `<div>`. Size, status, indeterminate variant, animation, etc are now specified using data attributes.
55
- - [#1328](https://github.com/iTwin/iTwinUI/pull/1328): 'iui-progress-overlay' has been renamed to 'iui-overlay' and moved to 'overlay.scss'
56
-
57
- ### Minor Changes
58
-
59
- - [#1373](https://github.com/iTwin/iTwinUI/pull/1373): Converted all physical CSS properties to their logical equivalents.
60
-
61
- ### Patch Changes
62
-
63
- - [#1354](https://github.com/iTwin/iTwinUI/pull/1354): Expandable block animation now uses pure css instead of javascript for transitioning.
64
-
65
- ## 2.0.0-dev.4
66
-
67
- ### Major Changes
68
-
69
- - [#1255](https://github.com/iTwin/iTwinUI/pull/1255): `iui-folder` is updated to use `display: grid`. `iui-tile-name` is now moved outside of `iui-tile-content` for folder variant.
70
- - [#1356](https://github.com/iTwin/iTwinUI/pull/1356): `iui-progress-radial` has been refactored to be a single `<div>` instead of using a nested svg. Size and status have been moved to data attributes. Also it is recommended to explicitly set `size` when using in other components.
71
-
72
- ### Minor Changes
73
-
74
- - [#1362](https://github.com/iTwin/iTwinUI/pull/1362): All elements under the root will now get a default focus styling matching `--iui-color-border-accent`.
75
- - [#1363](https://github.com/iTwin/iTwinUI/pull/1363): `iui-svg-icon` now supports controlling size and fill using `--iui-svg-size` and `--iui-svg-fill` custom properties.
76
-
77
- ## 2.0.0-dev.3
78
-
79
- ### Patch Changes
80
-
81
- - [#1351](https://github.com/iTwin/iTwinUI/pull/1351): `.iui-toast-anchor` can now be applied on a `<button>`.
82
-
83
- ## 2.0.0-dev.2
84
-
85
- ### Major Changes
86
-
87
- - [#1247](https://github.com/iTwin/iTwinUI/pull/1247): Replaced the `iui-alert-icon`, `iui-alert-button`, and `iui-alert-button-icon` class names with `iui-svg-icon`, `iui-button`, and `iui-button-icon` respectively.
88
-
89
- ### Patch Changes
90
-
91
- - [#1310](https://github.com/iTwin/iTwinUI/pull/1310): Fix vertical centering for some inputs after unitless `line-height` change.
92
-
93
- ## 2.0.0-dev.1
94
-
95
- ### Major Changes
96
-
20
+ - [#1577](https://github.com/iTwin/iTwinUI/pull/1577): `iui-scroll` modifier is no longer needed on `iui-menu`.
21
+ - [#1626](https://github.com/iTwin/iTwinUI/pull/1626): Improved carousel accessibility and changed the markup so that the dots are present before the slides.
22
+ - [#1529](https://github.com/iTwin/iTwinUI/pull/1529): Removed location-marker component.
23
+ - [#1469](https://github.com/iTwin/iTwinUI/pull/1469): Replaced `iui-slider-vertical` class modifier with `data-iui-orientation`.
24
+ - `iui-slider-rail` class is now `::before` pseudo element of `iui-slider`.
97
25
  - [#1322](https://github.com/iTwin/iTwinUI/pull/1322): Removed input-container code from `utils.css` in favor of `input-container.css`.
26
+ - [#1354](https://github.com/iTwin/iTwinUI/pull/1354): Renamed the following expandable-block classes: `iui-header`, `iui-icon`, `iui-title`, `iui-caption` to be scoped to expandable-block.
27
+ - Updated the following modifier classes to be data attributes: `iui-expanded`, `iui-small`, `iui-borderless`.
28
+ - [#1370](https://github.com/iTwin/iTwinUI/pull/1370): `iui-progress-indicator-linear` has been refactored to be a single `<div>`. Size, status, indeterminate variant, animation, etc are now specified using data attributes.
29
+ - [#1523](https://github.com/iTwin/iTwinUI/pull/1523): Removed `iui-tooltip-container` and `iui-tooltip-visible` classes. The display is now toggled using the `hidden` HTML attribute, and the positioning should be managed using custom JS/CSS.
98
30
  - [#1302](https://github.com/iTwin/iTwinUI/pull/1302): `border-box` will now be set for _all_ elements under `iui-root`.
99
-
100
- ### Minor Changes
101
-
102
- - [#1073](https://github.com/iTwin/iTwinUI/pull/1073): Added new `TransferList` component which is used to move one or more items between lists. Added the following subcomponents: `TransferList.ListWrapper`, `TransferList.ListboxWrapper`, `TransferList.ListboxLabel`, `TransferList.Listbox`, `TransferList.Item`, and `TransferList.Toolbar`
103
-
104
- ## 2.0.0-dev.0
105
-
106
- ### Major Changes
107
-
31
+ - [#1610](https://github.com/iTwin/iTwinUI/pull/1610): Replaced `--iui-surface-border-color` with `--iui-surface-border` for full customization of border. Also removed `--iui-surface-border-radius` and `--iui-surface-background-color`.
32
+ - [#1328](https://github.com/iTwin/iTwinUI/pull/1328): `iui-progress-overlay` has been renamed to `iui-overlay` and moved to `overlay.scss`.
108
33
  - [#1295](https://github.com/iTwin/iTwinUI/pull/1295): `iui-menu-item` and `iui-menu-description` classes were removed.
109
- - [#1304](https://github.com/iTwin/iTwinUI/pull/1304): Instead of cloning passed icons to set classes on them, the classes will now be set on a wrapping element. Affected components: `Header`, `Select`, `MenuItem`, `RadioTile`, `Tabs`, `ToggleSwitch`, `TreeNode`, `InputContainer` (and all input variants).
34
+ - [#1548](https://github.com/iTwin/iTwinUI/pull/1548): `data-iui-scroll-placement` attributes in Tabs were removed. Updated tabs start and end masks to be applied on scroll animation.
35
+ - [#1356](https://github.com/iTwin/iTwinUI/pull/1356): `iui-progress-radial` has been refactored to be a single `<div>` instead of using a nested svg. Size and status have been moved to data attributes. Also it is recommended to explicitly set `size` when using in other components.
36
+ - [#1556](https://github.com/iTwin/iTwinUI/pull/1556): Items inside button-group no longer need a wrapping `<div>`.
37
+ - [#1304](https://github.com/iTwin/iTwinUI/pull/1304): Instead of cloning passed icons to set classes on them, the classes will now be set on a wrapping element. Affected components: `Header`, `Select`, `MenuItem`, `RadioTile`, `Tabs`, `Tile`, `ToggleSwitch`, `TreeNode`, `InputContainer` (and all input variants).
38
+ - [#1559](https://github.com/iTwin/iTwinUI/pull/1559): Changed `iui-button-group-vertical` class to `iui-button-group` with attribute `data-iui-orientation="vertical"`.
39
+ - [#1548](https://github.com/iTwin/iTwinUI/pull/1548): The `iui-tabs` element has changed from `<ul>` to `<div>`. `iui-tabs` children are no longer wrapped in an `<li>` element.
40
+ - [#1247](https://github.com/iTwin/iTwinUI/pull/1247): Replaced the `iui-alert-icon`, `iui-alert-button`, and `iui-alert-button-icon` class names with `iui-svg-icon`, `iui-button`, and `iui-button-icon` respectively.
110
41
  - [#1269](https://github.com/iTwin/iTwinUI/pull/1269): All dialog variants have `flex` applied by default. This means the content should be wrapped with `Dialog.Content` or `ModalContent` for optimal layout.
42
+ - [#1548](https://github.com/iTwin/iTwinUI/pull/1548): The `iui-tab-label` wrapper class has been removed. The `iui-tab-label` class now applies to the `<span>` which holds the tab's label. `iui-tab-description` is now a `<span>` element.
111
43
  - [#1270](https://github.com/iTwin/iTwinUI/pull/1270): Change `line-height` to use a unitless value.
112
44
 
113
- ## 1.12.3
114
-
115
- ### Patch Changes
116
-
117
- - [#1516](https://github.com/iTwin/iTwinUI/pull/1516): Update SearchBox placeholder color to match Input.
118
-
119
- ## 1.12.2
120
-
121
- ### Patch Changes
122
-
123
- - [#1485](https://github.com/iTwin/iTwinUI/pull/1485): Improved color contrast for input and select placeholder text.
124
- - [#1501](https://github.com/iTwin/iTwinUI/pull/1501): Fixed a small misalignment in Table when using sticky columns.
125
-
126
- ## 1.12.1
127
-
128
- ### Patch Changes
129
-
130
- - [#1494](https://github.com/iTwin/iTwinUI/pull/1494): Updated color-picker dot so its outline adapts dynamically to the backgrounds for better contrast.
131
-
132
- ## 1.12.0
133
-
134
- ### Minor Changes
135
-
136
- - [#1422](https://github.com/iTwin/iTwinUI/pull/1422): Changed `all: revert` to `all: revert-layer` so that only styles from the v1 layer are reverted, thus avoiding issues with inadvertently removing browser default styles. This rule has also been moved from `all.css` to `revert-v1.css`.
137
-
138
- ## 1.11.5
139
-
140
- ### Patch Changes
141
-
142
- - [#1424](https://github.com/iTwin/iTwinUI/pull/1424): Fixed a few different resizing issues in Dialog.
143
-
144
- ## 1.11.4
145
-
146
- ### Patch Changes
147
-
148
- - [#1421](https://github.com/iTwin/iTwinUI/pull/1421): Fixed an issue in Table where column reordering and editable cells were not working when v2 Table was used within a v1 app.
149
-
150
- ## 1.11.3
151
-
152
- ### Patch Changes
153
-
154
- - [#1410](https://github.com/iTwin/iTwinUI/pull/1410): Fixed an issue in `Tabs` where tabs-list was becoming too tall when the tabpanel didn't have enough content inside.
155
-
156
- ## 1.11.2
157
-
158
- ### Patch Changes
159
-
160
- - [#1376](https://github.com/iTwin/iTwinUI/pull/1376): Fix issue where a nested expandable block's expander icon would always display as expanded.
161
-
162
- ## 1.11.1
163
-
164
- ### Patch Changes
165
-
166
- - [#1288](https://github.com/iTwin/iTwinUI/pull/1288): Fixed hover styling for SearchBox.
167
-
168
- ## 1.11.0
169
-
170
- ### Minor Changes
171
-
172
- - [#863](https://github.com/iTwin/iTwinUI/pull/863): SearchBox - Add `iui-input-flex-container` class for inputs with icons and buttons within
173
- - Add `iui-searchbox` class for Searchbox
174
- - Add `iui-expandable-searchbox` class for Searchbox that can be expanded
175
- - Add `iui-search-icon` for styling icons within search
176
- - [#1060](https://github.com/iTwin/iTwinUI/pull/1060): Tabs - Added data attribute 'data-iui-overflow' - when true it adds styling for overflow tabs
177
-
178
- ### Patch Changes
179
-
180
- - [#1275](https://github.com/iTwin/iTwinUI/pull/1275): Fixed an issue where `ProgressRadial` was not correctly showing when used inside a v2 boundary within a v1 page.
181
- - [#1251](https://github.com/iTwin/iTwinUI/pull/1251): Reorganized source file structure. Should have no changes in the CSS output.
182
- - [#1271](https://github.com/iTwin/iTwinUI/pull/1271): Added `color` declaration to `iui-keyboard`.
183
- - [#1257](https://github.com/iTwin/iTwinUI/pull/1257): Fixed an issue where pseudo elements inside a v2 boundary were not reverting v1 styles.
184
-
185
- ## 1.10.3
186
-
187
- ### Patch Changes
188
-
189
- - [#1245](https://github.com/iTwin/iTwinUI/pull/1245): Adjusted Checkbox so that its clickable target area is 24pxx24px by default (increased from 16x16) and 32x32 when used in a Table selection column.
190
-
191
- ## 1.10.2
192
-
193
- ### Patch Changes
194
-
195
- - [#1235](https://github.com/iTwin/iTwinUI/pull/1235): Changed the internal DOM structure of `LabeledInput` and `LabeledTextarea` to prefer explicit association over implicit. The `<label>` is now associated with the input using `htmlFor`/`id` and the container is a generic div.
196
-
197
- This change improves accessibility, with no API changes and no effect on visuals.
198
-
199
- ## 1.10.1
200
-
201
- ### Patch Changes
202
-
203
- - [#1215](https://github.com/iTwin/iTwinUI/pull/1215): Code component when used inside an Anchor will now have correct styling.
204
-
205
- ## 1.10.0
206
-
207
- ### Minor Changes
208
-
209
- - [#1106](https://github.com/iTwin/iTwinUI/pull/1106): Added new List and ListItem components.
210
-
211
- ```jsx
212
- <List>
213
- <ListItem>item 1</ListItem>
214
- <ListItem>item 2</ListItem>
215
- <ListItem>item 3</ListItem>
216
- </List>
217
- ```
218
-
219
- ## 1.9.0
220
-
221
- ### Minor Changes
222
-
223
- - c8f6a8dd: Add surface component with included layout for header, body, and button footer.
224
-
225
- ### Patch Changes
226
-
227
- - 3ad916b2: Allows alert messages to break when words are long.
228
- - f1e0d8d6: Allows toast messages to break when words are long.
229
-
230
- ## 1.8.0
231
-
232
- ### Minor Changes
233
-
234
- - 61f44293: Added new `isDateDisabled` prop to DatePicker. Accepts a function which takes a date and returns a boolean to indicate whether that date is not selectable.
235
- - 8bfd4fe9: Add predefined status variants for badge.
236
- - c581e9ed: Added a utils components `iui-link-box` and `iui-link-action` to provide better accessibility experience with actions on elements.
237
- Updated Tile focus state when `iui-link-action` is present.
238
-
239
- Usage example:
240
-
241
- ```html
242
- <div class="iui-link-box">
243
- <a class="iui-link-action" href="/new-page">Test content</a>
244
- </div>
245
- ```
246
-
247
- ### Patch Changes
248
-
249
- - 01d29fc1: Fixed an issue in Firefox where the right edge of the `Table` header was misaligned with the table body.
250
- - e2f547e1: Fixed a visual glitch in Tile thumbnail when hovering.
251
- - 028d4cd7: Updated actionable tile to have a more prominent hover effect.
252
- - 775933e3: The DOM order of Tile content has changed so that the name comes before the thumbnail region. This improves accessibility without affecting visuals.
253
- - 91486634: Modals and dialogs will have improved overflow behavior on smaller screen sizes with a lot of text.
254
- - 6f99039c: Fixed an issue with stepper when the last item is active.
255
- - 17d4fffb: Omit `border-radius` on adjacent active menu items.
256
-
257
- ## 1.7.0
258
-
259
- ### Minor Changes
260
-
261
- - 85af52c6: Add small size toggle switch option using `size` prop as follows: `<ToggleSwitch size='small' />`
262
- - 1b541699: Added a new FileUploadCard component which serves as a default UI for when a single file is uploaded. This can also be used as a child of FileUpload
263
-
264
- ```jsx
265
- <FileUploadCard />
266
- ```
267
-
268
- ```jsx
269
- const [files, setFiles] = React.useState<File[]>([]);
270
-
271
- <FileUpload
272
- onFileDropped={(files) => {
273
- setFiles(files);
274
- }}
275
- >
276
- <FileUploadCard files={files} onFilesChange={(files) => setFiles(files)} />
277
- </FileUpload>
278
- ```
279
-
280
- ### Patch Changes
281
-
282
- - 62c4a6da: Fixed issue where checkbox / radio border appeared above `:focus` outline.
283
-
284
- ## 1.6.0
285
-
286
- ### Minor Changes
287
-
288
- - 2397ee0c: All styles will now be scoped and always take preference over previous major versions (`@itwin/itwinui-react`@`1.x`).
289
-
290
- This enables incremental adoption of `@itwin/itwinui-react`@`2.x` for some parts of the app, while still using `1.x` for the rest of the app.
291
-
292
- To use this feature, make sure that all parts that use v1 are updated to `@itwin/itwinui-css@0.63.2`, and then wrap the v2 parts in `ThemeProvider`:
293
-
294
- ```html
295
- <body>
296
- <!-- rest of your app (v1) -->
297
-
298
- <ThemeProvider>
299
- <!-- new UI built using v2 -->
300
- </ThemeProvider>
301
- </body>
302
- ```
303
-
304
- For packages, there is a new theme `'inherit'`. Setting this enables scoping without forcing the default light theme. When the app eventually updates to v2, it can use its own `ThemeProvider` with any theme, and the components inside your package will inherit the app's theme.
305
-
306
- ```html
307
- <body>
308
- <!-- rest of the app (maybe v1) -->
309
-
310
- <!-- inside your package ⬇️ -->
311
- <ThemeProvider theme='inherit'>
312
- <!-- v2 components inside package -->
313
- </ThemeProvider>
314
- </bod
315
- ```
316
-
317
- ## 1.5.5
318
-
319
- ### Patch Changes
320
-
321
- - b2831ddb: Fix expandable rows not displaying when height is set on table and `overflow-y` is present.
322
-
323
- ## 1.5.4
324
-
325
- ### Patch Changes
326
-
327
- - e1efed3b: Fix Table status icon fill not overriding svg's fill attribute.
328
-
329
- ## 1.5.3
330
-
331
- ### Patch Changes
332
-
333
- - 27c23b31: Tooltip's background now has a blur filter to make text more readable.
334
-
335
- ## 1.5.2
336
-
337
- ### Patch Changes
338
-
339
- - 2845b4f4: Fixed a bug where inline elements (e.g. links) were getting disrupted when using inside a checkbox label.
340
-
341
- ## 1.5.1
342
-
343
- ### Patch Changes
344
-
345
- - d3844a07: Dialog content won't overflow off smaller screen sizes when the content is too big
346
-
347
- ## 1.5.0
348
-
349
- ### Minor Changes
350
-
351
- - 06476ada: Added new `Flex` utility component and optional `Flex.Spacer`/`Flex.Item` subcomponents to make it easier to work with CSS flexbox and use iTwinUI design tokens for gap.
352
-
353
- ```jsx
354
- <Flex gap='xl' justifyContent='center'>
355
- <div>...</div>
356
- <div>...</div>
357
- </Flex>
358
- ```
359
-
360
- ```jsx
361
- <Flex>
362
- <Flex.Item>...</Flex.Item>
363
- <Flex.Spacer />
364
- <Flex.Item>...</Flex.Item>
365
- <Flex.Item>...</Flex.Item>
366
- </Flex>
367
- ```
368
-
369
- ### Patch Changes
370
-
371
- - fd2e5239: Alert: close button's focus color now matches the status color.
372
- - a1a8c74d: Resizable dialog now has a min height set so that it always includes the button bar.
373
-
374
- ## 1.4.0
375
-
376
45
  ### Minor Changes
377
46
 
378
- - f7caf384: \* Added new `iui-tabs-actions-wrapper` and `iui-tabs-actions` to `.iui-tabs-wrapper` to add right/bottom content to the horizontal/vertical tabs.
379
-
380
- ```html
381
- <div class="iui-tabs-wrapper iui-horizontal">
382
- <ul class="iui-tabs iui-default">
383
- ...
384
- </ul>
385
-
386
- <div class="iui-tabs-actions-wrapper">
387
- <div class="iui-tabs-actions">...</div>
388
- </div>
389
-
390
- <div class="iui-tabs-content">...</div>
391
- </div>
392
- ```
393
-
394
- - dd13257f: Added new `iui-svg-icon` class for displaying svgs
395
-
396
- - Supports `data-iui-icon-size` attribute for size. Can be one of: 's', 'm', 'l', 'auto'
397
- - Supports `data-iui-icon-color` attribute for fill. Can be one of: 'informational', 'positive', 'warning', 'negative'
398
-
399
- ```html
400
- <span
401
- class="iui-svg-icon"
402
- data-iui-icon-size="m"
403
- data-iui-icon-color="positive"
404
- >
405
- <svg>...</svg>
406
- </span>
407
- ```
47
+ - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added `iui-input-group-wrapper` class to allow inline labels for input groups.
48
+ - [#1373](https://github.com/iTwin/iTwinUI/pull/1373): Converted all physical CSS properties to their logical equivalents.
49
+ - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added `iui-input-grid` class for outer input styling.
50
+ - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added status styling to `input` and `select`.
51
+ - [#1565](https://github.com/iTwin/iTwinUI/pull/1565): Updated menu styling and added `iui-popover-surface` class for standalone popovers.
52
+ - [#1073](https://github.com/iTwin/iTwinUI/pull/1073): Added new `TransferList` component which is used to move one or more items between lists. Added the following subcomponents: `TransferList.ListWrapper`, `TransferList.ListboxWrapper`, `TransferList.ListboxLabel`, `TransferList.Listbox`, `TransferList.Item`, and `TransferList.Toolbar`
53
+ - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added padded styling to Icon using `data-iui-padded` attribute.
54
+ - [#1362](https://github.com/iTwin/iTwinUI/pull/1362): All elements under the root will now get a default focus styling matching `--iui-color-border-accent`.
55
+ - [#1355](https://github.com/iTwin/iTwinUI/pull/1355): Added `iui-status-message` class to wrap StatusMessage icon and content.
56
+ - [#1363](https://github.com/iTwin/iTwinUI/pull/1363): `iui-svg-icon` now supports controlling size and fill using `--iui-svg-size` and `--iui-svg-fill` custom properties.
408
57
 
409
58
  ### Patch Changes
410
59
 
411
- - ec26b72d: `Anchor` can now be rendered as a button using `as` prop.
412
-
413
- ```jsx
414
- <Anchor as='button' onClick={() => {}}>
415
- ...
416
- </Anchor>
417
- ```
418
-
419
- ## [1.3.0](https://www.github.com/iTwin/iTwinUI/compare/v1.2.2...v1.3.0) (2022-12-19)
420
-
421
- ### Minor changes
422
-
423
- - **Tag:** Tag body receives focus instead of close button within it ([#835](https://www.github.com/iTwin/iTwinUI/issues/835))
424
-
425
- ### Patch changes
426
-
427
- - **Inputs:** border color changes to status color on hover ([#847](https://www.github.com/iTwin/iTwinUI/issues/847))
428
- - **ToggleSwitch:** Define height of toggle switch to display correctly in iOS ([#852](https://www.github.com/iTwin/iTwinUI/issues/852))
429
-
430
- ## [1.2.2](https://www.github.com/iTwin/iTwinUI/compare/v1.2.1...v1.2.2) (2022-12-09)
431
-
432
- ### Patch changes
433
-
434
- - **Select:** Use correct placeholder text color ([#846](https://www.github.com/iTwin/iTwinUI/issues/846))
435
-
436
- ## [1.2.1](https://www.github.com/iTwin/iTwinUI/compare/v1.2.0...v1.2.1) (2022-12-08)
437
-
438
- ### Patch changes
439
-
440
- - **Code:** Remove `user-select: all` and extra declarations ([#836](https://www.github.com/iTwin/iTwinUI/issues/836))
441
-
442
- ## [1.2.0](https://www.github.com/iTwin/iTwinUI/compare/v1.1.0...v1.2.0) (2022-12-06)
443
-
444
- ### Minor changes
445
-
446
- - **ExpandableBlock:** Add disabled state support through `disabled`/`aria-disabled` attribute on the toggle ([#821](https://www.github.com/iTwin/iTwinUI/issues/821))
447
- - **`iui-root`**: Add `.iui-root-background` modifier to opt into setting the recommended background-color ([#833](https://www.github.com/iTwin/iTwinUI/issues/833))
448
-
449
- ## [1.1.0](https://www.github.com/iTwin/iTwinUI/compare/v1.0.0...v1.1.0) (2022-12-01)
450
-
451
- ### Minor changes
452
-
453
- - **ComboBox:** Add multi-select tags ([#817](https://www.github.com/iTwin/iTwinUI/issues/817))
454
-
455
- ### Patch changes
456
-
457
- - **Avatar:** Sizes have lower specificity, use CSS vars. ([#818](https://www.github.com/iTwin/iTwinUI/issues/818))
458
- - **Progress-indicator**: Overlay now intercepts clicks ([#827](https://www.github.com/iTwin/iTwinUI/issues/827))
459
- - **Slider:** Change align `start` to `flex-start` ([#825](https://www.github.com/iTwin/iTwinUI/issues/825))
460
-
461
- ## [1.0.0](https://www.github.com/iTwin/iTwinUI/compare/v0.63.1...v1.0.0) (2022-11-14)
462
-
463
- Welcome to the v1 release of iTwinUI-css. 🎉
464
-
465
- The API is now considered "stable" and going forward there will be no more breaking changes in minor version bumps.
466
-
467
- Some of the highlights from this release include:
468
-
469
- - The `@itwin/itwinui-css` package is now CSS-only. Sass files are no longer part of the deliverable.
470
- - A new `@itwin/itwinui-variables` package has been introduced to replace Sass variables.
471
- - Scoped themes support, allowing styling only part of the page or mixing themes in different parts of the page.
472
- - Major visual updates across all themes.
473
- - Base themes pass WCAG 2.1 level AA requirements, high contrast themes pass level AAA.
474
- - Dark theme has received a complete overhaul.
475
- - Major visual updates across all components.
476
- - Rounded corners in most components (using `--iui-border-radius-1`).
477
- - More consistent elevation by ensuring lighter backgounds (`--iui-color-background`) appear above darker ones (`--iui-color-background-backdrop`).
478
- - Alert and toast have a brand new look.
479
- - Baseline height has increased by 1px, resulting in height changes in many components.
480
- - Switched all sizes from `px` to `rem` to respect base font-size set in user preferences.
481
- - Changes to class names and data attributes (see migration guide).
482
- - Renamed and reorganized a few component files.
483
- - `inputs.css` has been split into `input.css`, `checkbox.css`, `radio.css`, `select.css`, etc.
484
- - `user-icon.css` is now `avatar.css`.
485
- - `wizard.css` has been split into `stepper.css` and `workflow-diagram.css`.
486
- - A few utility components have been combined into `utils.css`.
487
- - Dropped IE11 support, removing any fallbacks for CSS variables, CSS grid, etc.
488
- - New font families: _Noto Sans_ and _Noto Sans Mono_.
489
- - Lots of bug fixes and improvements.
490
-
491
- If you're interested in more details,
492
-
493
- - check out our [iTwinUI-css v1 migration guide](https://github.com/iTwin/iTwinUI/wiki/iTwinUI-v1-migration-guide) for a full list of changes in all components.
494
- - check out our [iTwinUI-variables v1 migration guide](https://github.com/iTwin/iTwinUI/wiki/iTwinUI-variables-v1-migration-guide) for how the old Sass variables map to the new CSS variables.
495
- - check out a full diff of code changes in [`v0.63.1..v1.0.0`](https://www.github.com/iTwin/iTwinUI/compare/v0.63.1...v1.0.0).
60
+ - [#1354](https://github.com/iTwin/iTwinUI/pull/1354): Expandable block animation now uses pure css instead of javascript for transitioning.
61
+ - [#1609](https://github.com/iTwin/iTwinUI/pull/1609): Adjusted padding value for `Surface.Body`.
62
+ - [#1632](https://github.com/iTwin/iTwinUI/pull/1632): Adjusted gap between adjacent icons in searchbox.
63
+ - [#1351](https://github.com/iTwin/iTwinUI/pull/1351): `.iui-toast-anchor` can now be applied on a `<button>`.
64
+ - [#1499](https://github.com/iTwin/iTwinUI/pull/1499): Removed special handling of iPhone notch in Header and SideNavigation.
496
65
 
497
- ## 0.X
66
+ ## 1.x
498
67
 
499
- For any changes prior to 1.0.0, check out the [0.X changelog](https://github.com/iTwin/iTwinUI/blob/legacy/v0-css/packages/itwinui-css/CHANGELOG.md).
68
+ For any changes prior to 2.0.0, check out the [1.X changelog](https://github.com/iTwin/iTwinUI/blob/legacy/v2/packages/itwinui-css/CHANGELOG.md).