@itwin/itwinui-css 1.6.0 → 1.7.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 +27 -0
- package/css/all.css +1 -1
- package/css/checkbox.css +1 -1
- package/css/file-upload.css +1 -1
- package/css/radio.css +1 -1
- package/css/toggle-switch.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 85af52c6: Add small size toggle switch option using `size` prop as follows: `<ToggleSwitch size='small' />`
|
|
8
|
+
- 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
|
|
9
|
+
|
|
10
|
+
```jsx
|
|
11
|
+
<FileUploadCard />
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
```jsx
|
|
15
|
+
const [files, setFiles] = React.useState<File[]>([]);
|
|
16
|
+
|
|
17
|
+
<FileUpload
|
|
18
|
+
onFileDropped={(files) => {
|
|
19
|
+
setFiles(files);
|
|
20
|
+
}}
|
|
21
|
+
>
|
|
22
|
+
<FileUploadCard files={files} onFilesChange={(files) => setFiles(files)} />
|
|
23
|
+
</FileUpload>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- 62c4a6da: Fixed issue where checkbox / radio border appeared above `:focus` outline.
|
|
29
|
+
|
|
3
30
|
## 1.6.0
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|