@itwin/itwinui-css 1.6.0 → 1.8.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 +54 -0
- package/css/all.css +1 -1
- package/css/badge.css +1 -1
- package/css/checkbox.css +1 -1
- package/css/date-picker.css +1 -1
- package/css/dialog.css +1 -1
- package/css/file-upload.css +1 -1
- package/css/menu.css +1 -1
- package/css/radio.css +1 -1
- package/css/stepper.css +1 -1
- package/css/table.css +1 -1
- package/css/tile.css +1 -1
- package/css/toggle-switch.css +1 -1
- package/css/utils.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
- 8bfd4fe9: Add predefined status variants for badge.
|
|
9
|
+
- c581e9ed: Added a utils components `iui-link-box` and `iui-link-action` to provide better accessibility experience with actions on elements.
|
|
10
|
+
Updated Tile focus state when `iui-link-action` is present.
|
|
11
|
+
|
|
12
|
+
Usage example:
|
|
13
|
+
|
|
14
|
+
```html
|
|
15
|
+
<div class="iui-link-box">
|
|
16
|
+
<a class="iui-link-action" href="/new-page">Test content</a>
|
|
17
|
+
</div>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 01d29fc1: Fixed an issue in Firefox where the right edge of the `Table` header was misaligned with the table body.
|
|
23
|
+
- e2f547e1: Fixed a visual glitch in Tile thumbnail when hovering.
|
|
24
|
+
- 028d4cd7: Updated actionable tile to have a more prominent hover effect.
|
|
25
|
+
- 775933e3: The DOM order of Tile content has changed so that the name comes before the thumbnail region. This improves accessibility without affecting visuals.
|
|
26
|
+
- 91486634: Modals and dialogs will have improved overflow behavior on smaller screen sizes with a lot of text.
|
|
27
|
+
- 6f99039c: Fixed an issue with stepper when the last item is active.
|
|
28
|
+
- 17d4fffb: Omit `border-radius` on adjacent active menu items.
|
|
29
|
+
|
|
30
|
+
## 1.7.0
|
|
31
|
+
|
|
32
|
+
### Minor Changes
|
|
33
|
+
|
|
34
|
+
- 85af52c6: Add small size toggle switch option using `size` prop as follows: `<ToggleSwitch size='small' />`
|
|
35
|
+
- 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
|
|
36
|
+
|
|
37
|
+
```jsx
|
|
38
|
+
<FileUploadCard />
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
```jsx
|
|
42
|
+
const [files, setFiles] = React.useState<File[]>([]);
|
|
43
|
+
|
|
44
|
+
<FileUpload
|
|
45
|
+
onFileDropped={(files) => {
|
|
46
|
+
setFiles(files);
|
|
47
|
+
}}
|
|
48
|
+
>
|
|
49
|
+
<FileUploadCard files={files} onFilesChange={(files) => setFiles(files)} />
|
|
50
|
+
</FileUpload>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- 62c4a6da: Fixed issue where checkbox / radio border appeared above `:focus` outline.
|
|
56
|
+
|
|
3
57
|
## 1.6.0
|
|
4
58
|
|
|
5
59
|
### Minor Changes
|