@ucloud-fe/react-components 1.3.3 → 1.3.7
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 +25 -0
- package/README.md +4 -2
- package/dist/main.min.js +4 -4
- package/index.d.ts +29 -24
- package/lib/components/ActionList/ActionList.d.ts +9 -4
- package/lib/components/ActionList/index.d.ts +4 -2
- package/lib/components/Badge/Badge.d.ts +1 -1
- package/lib/components/Badge/index.d.ts +7 -2
- package/lib/components/Badge/index.js +6 -2
- package/lib/components/Breadcrumb/Item.d.ts +2 -2
- package/lib/components/Breadcrumb/index.d.ts +1 -1
- package/lib/components/Checkbox/index.d.ts +4 -2
- package/lib/components/Modal/Modal.js +2 -2
- package/lib/components/Notice/Notice.d.ts +16 -33
- package/lib/components/Notice/Notice.js +81 -130
- package/lib/components/Notice/index.d.ts +16 -2
- package/lib/components/Notice/index.js +13 -3
- package/lib/components/Notice/style/index.d.ts +12 -9
- package/lib/components/Notice/style/index.js +53 -112
- package/lib/components/NumberInput/style/index.js +5 -5
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Switch/index.d.ts +2 -1
- package/lib/components/Tabs/Pane.d.ts +3 -2
- package/lib/components/Tabs/index.d.ts +5 -3
- package/lib/components/Tag/style/index.js +12 -12
- package/package.json +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.3.7](https://github.com/UCloud-FE/react-components/compare/v1.3.6...v1.3.7) (2021-12-20)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **all:** update a lot of ts interface define ([1f527a3](https://github.com/UCloud-FE/react-components/commit/1f527a3eba1665f53b822cc89b2fe6c76d925f1f))
|
|
10
|
+
- **Notice:** refactor code & use flex for align ([6e3f8de](https://github.com/UCloud-FE/react-components/commit/6e3f8de3379f285d8b7ee712b334846ac2de07ad))
|
|
11
|
+
|
|
12
|
+
### [1.3.6](https://github.com/UCloud-FE/react-components/compare/v1.3.5...v1.3.6) (2021-12-20)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **NumberInput:** fix input color ([779657b](https://github.com/UCloud-FE/react-components/commit/779657b98bc291817c7188685c584f57669692e9))
|
|
17
|
+
|
|
18
|
+
### [1.3.5](https://github.com/UCloud-FE/react-components/compare/v1.3.4...v1.3.5) (2021-12-14)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **Modal:** fix modal buttonProps ([43c2f05](https://github.com/UCloud-FE/react-components/commit/43c2f0559a7c10d09d773a5f03e46c22c8894dbc))
|
|
23
|
+
|
|
24
|
+
### [1.3.4](https://github.com/UCloud-FE/react-components/compare/v1.3.3...v1.3.4) (2021-12-14)
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **Tag:** fix tag icon align center ([7599bbc](https://github.com/UCloud-FE/react-components/commit/7599bbc3bd89df41324b34dc36b1287041b2d421))
|
|
29
|
+
|
|
5
30
|
### [1.3.3](https://github.com/UCloud-FE/react-components/compare/v1.3.2...v1.3.3) (2021-12-13)
|
|
6
31
|
|
|
7
32
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -68,13 +68,15 @@ yarn add @ucloud-fe/react-components@0.3.1
|
|
|
68
68
|
|
|
69
69
|
- 通过`babel-plugin-import`实现模块化加载
|
|
70
70
|
|
|
71
|
+
添加 import 插件
|
|
72
|
+
|
|
71
73
|
```bash
|
|
72
|
-
<!-- 添加import插件 -->
|
|
73
74
|
npm install babel-plugin-import --dev
|
|
74
75
|
```
|
|
75
76
|
|
|
77
|
+
在 babel 的 plugins 中添加配置
|
|
78
|
+
|
|
76
79
|
```json
|
|
77
|
-
<!-- 在babel的plugins中添加配置 -->
|
|
78
80
|
{
|
|
79
81
|
"plugins": [
|
|
80
82
|
[
|