carbon-components-svelte 0.58.4 → 0.59.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 +26 -0
- package/css/all.css +1 -1
- package/css/g10.css +1 -1
- package/css/g100.css +1 -1
- package/css/g80.css +1 -1
- package/css/g90.css +1 -1
- package/css/white.css +1 -1
- package/lib/index.js +1 -1
- package/lib/index.mjs +426 -321
- package/package.json +2 -2
- package/preprocess/api.json +1 -1
- package/src/FileUploader/FileUploader.svelte +17 -3
- package/src/FileUploader/FileUploaderButton.svelte +17 -4
- package/src/FileUploader/FileUploaderDropContainer.svelte +15 -5
- package/src/TextArea/TextArea.svelte +24 -10
- package/types/FileUploader/FileUploader.svelte.d.ts +7 -1
- package/types/FileUploader/FileUploaderButton.svelte.d.ts +6 -0
- package/types/FileUploader/FileUploaderDropContainer.svelte.d.ts +9 -3
- package/types/TextArea/TextArea.svelte.d.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
<!-- ## Unreleased -->
|
|
9
9
|
|
|
10
|
+
## [0.59.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.59.0) - 2022-02-21
|
|
11
|
+
|
|
12
|
+
**Features**
|
|
13
|
+
|
|
14
|
+
- add `maxCount` prop to `TextArea`
|
|
15
|
+
- add `disabled` prop to `FileUploader`
|
|
16
|
+
- add `files` prop to `FileUploaderDropContainer`
|
|
17
|
+
- add `files` prop to `FileUploaderButton`
|
|
18
|
+
|
|
19
|
+
**Fixes**
|
|
20
|
+
|
|
21
|
+
- change `add`, `change` events in `FileUploaderDropContainer` to dispatch `File[]` instead of `FileList`
|
|
22
|
+
- update `files` prop description in `FileUploader`
|
|
23
|
+
|
|
24
|
+
**Documentation**
|
|
25
|
+
|
|
26
|
+
- add `TextArea` "Maximum character count" example
|
|
27
|
+
- add `FileUploader` disabled state example
|
|
28
|
+
- add `FileUploader` "Clear files" example
|
|
29
|
+
- document `validateFiles` prop for `FileUploaderDropContainer`
|
|
30
|
+
- add descriptions for `FileUploaderButton`, `FileUploader` examples
|
|
31
|
+
|
|
32
|
+
**Housekeeping**
|
|
33
|
+
|
|
34
|
+
- upgrade `carbon-components` to v10.53.0
|
|
35
|
+
|
|
10
36
|
## [0.58.4](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.58.4) - 2022-02-21
|
|
11
37
|
|
|
12
38
|
**Fixes**
|