@ucloud-fe/react-components 1.2.20 → 1.3.3
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 +39 -0
- package/dist/icon.min.js +1 -1
- package/dist/main.min.js +4 -4
- package/index.d.ts +46 -41
- package/lib/__index.js +4 -0
- package/lib/components/AutoComplete/AutoComplete.d.ts +1 -1
- package/lib/components/AutoComplete/AutoComplete.js +1 -1
- package/lib/components/Calendar/Calendar.d.ts +4 -2
- package/lib/components/Calendar/Calendar.js +21 -11
- package/lib/components/Calendar/Month.d.ts +3 -28
- package/lib/components/Calendar/Month.js +3 -11
- package/lib/components/Cascader/Cascade.d.ts +24 -0
- package/lib/components/Cascader/Cascade.js +280 -0
- package/lib/components/Cascader/CascadeContext.d.ts +7 -0
- package/lib/components/Cascader/CascadeContext.js +20 -0
- package/lib/components/Cascader/Cascader.d.ts +41 -0
- package/lib/components/Cascader/Cascader.js +359 -0
- package/lib/components/Cascader/Item.d.ts +14 -0
- package/lib/components/Cascader/Item.js +97 -0
- package/lib/components/Cascader/Items.d.ts +11 -0
- package/lib/components/Cascader/Items.js +175 -0
- package/lib/components/Cascader/index.d.ts +2 -0
- package/lib/components/Cascader/index.js +13 -0
- package/lib/components/Cascader/interface.d.ts +12 -0
- package/lib/components/Cascader/interface.js +5 -0
- package/lib/components/Cascader/locale/en_US.js +11 -0
- package/lib/components/Cascader/locale/zh_CN.d.ts +5 -0
- package/lib/components/Cascader/locale/zh_CN.js +11 -0
- package/lib/components/Cascader/style/cascade.d.ts +15 -0
- package/lib/components/Cascader/style/cascade.js +55 -0
- package/lib/components/Cascader/style/index.d.ts +11 -0
- package/lib/components/Cascader/style/index.js +49 -0
- package/lib/components/Compact/Compact.js +6 -18
- package/lib/components/DatePicker/DatePicker.js +9 -3
- package/lib/components/DatePicker/Month.js +2 -1
- package/lib/components/DatePicker/RangePicker.js +18 -10
- package/lib/components/DatePicker/style/index.d.ts +10 -5
- package/lib/components/DatePicker/style/index.js +30 -21
- package/lib/components/Input/Input.js +23 -18
- package/lib/components/LocaleProvider/LocaleProvider.js +1 -1
- package/lib/components/LocaleProvider/locale/en_US.js +5 -2
- package/lib/components/LocaleProvider/locale/zh_CN.js +5 -2
- package/lib/components/LocaleProvider/localeConsumerDecorator.js +1 -1
- package/lib/components/LocaleProvider/{locale/runtime.d.ts → runtime.d.ts} +1 -1
- package/lib/components/LocaleProvider/{locale/runtime.js → runtime.js} +0 -0
- package/lib/components/LocaleProvider/useLocale.js +1 -1
- package/lib/components/Message/Message.js +17 -24
- package/lib/components/Message/method.js +22 -4
- package/lib/components/Modal/Modal.js +12 -4
- package/lib/components/Modal/method.js +131 -57
- package/lib/components/Notice/Notice.js +15 -20
- package/lib/components/NumberInput/style/index.js +5 -5
- package/lib/components/Select/Select.js +7 -19
- package/lib/components/Table/Table.js +1 -6
- package/lib/components/TimePicker/TimePicker.js +2 -2
- package/lib/components/TimePicker/style/index.d.ts +3 -0
- package/lib/components/TimePicker/style/index.js +29 -7
- package/lib/components/Transfer/Transfer.js +4 -3
- package/lib/components/Transfer/locale/en_US.js +3 -1
- package/lib/components/Transfer/locale/zh_CN.js +3 -1
- package/lib/components/Upload/Upload.js +3 -2
- package/lib/hooks/useSearch.d.ts +23 -0
- package/lib/hooks/useSearch.js +387 -0
- package/lib/index.js +5 -1
- package/lib/sharedComponents/Search/Highlight.d.ts +4 -2
- package/lib/sharedComponents/Search/Highlight.js +1 -24
- package/lib/sharedComponents/Search/Search.d.ts +3 -3
- package/lib/sharedComponents/Search/Search.js +6 -21
- package/lib/sharedComponents/Search/SearchInput.d.ts +4 -0
- package/lib/sharedComponents/Search/SearchInput.js +51 -0
- package/lib/sharedComponents/Search/index.d.ts +2 -1
- package/lib/sharedComponents/Search/index.js +8 -0
- package/lib/sharedComponents/Search/style.d.ts +3 -0
- package/lib/sharedComponents/Search/style.js +15 -4
- package/lib/sharedComponents/VirtualScrollList.d.ts +7 -0
- package/lib/sharedComponents/VirtualScrollList.js +68 -0
- package/lib/utils/attrs.d.ts +5 -0
- package/lib/utils/attrs.js +39 -0
- package/lib/utils/deprecatedLog.d.ts +1 -1
- package/lib/utils/deprecatedLog.js +8 -1
- package/lib/utils/wait.d.ts +2 -0
- package/lib/utils/wait.js +23 -0
- package/lib/utils/warning.d.ts +4 -2
- package/lib/utils/warning.js +19 -4
- package/package.json +1 -1
- package/lib/sharedComponents/Search/useSearch.d.ts +0 -10
- package/lib/sharedComponents/Search/useSearch.js +0 -122
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,45 @@
|
|
|
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.3](https://github.com/UCloud-FE/react-components/compare/v1.3.2...v1.3.3) (2021-12-13)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **Input:** fix input unselectable ([3f0d0d5](https://github.com/UCloud-FE/react-components/commit/3f0d0d5a64804f589bf19533220dc52cce8ab947))
|
|
10
|
+
|
|
11
|
+
### [1.3.2](https://github.com/UCloud-FE/react-components/compare/v1.3.1...v1.3.2) (2021-12-13)
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- **Modal:** add buttonProps for custom footer buttons ([8626a50](https://github.com/UCloud-FE/react-components/commit/8626a50c7b78d16921ba6671a2b4e3cc46d20fb5))
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **Cascader:** fix status required ([e097795](https://github.com/UCloud-FE/react-components/commit/e097795675979fb89184b631a4b50082ff4a5b95))
|
|
20
|
+
- **NumberInput:** fix disabled numberInput color in safari ([b5091ee](https://github.com/UCloud-FE/react-components/commit/b5091eec0d353f6f7f8ad29a222f3addc8729256))
|
|
21
|
+
|
|
22
|
+
### [1.3.1](https://github.com/UCloud-FE/react-components/compare/v1.3.0...v1.3.1) (2021-12-03)
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- **log:** clear log usage ([17154dd](https://github.com/UCloud-FE/react-components/commit/17154ddeb3c8d522906e0cebb1d69277bdb11a67))
|
|
27
|
+
- **Modal:** add destroyAll to close all method modals ([1eaafc0](https://github.com/UCloud-FE/react-components/commit/1eaafc048475daf3949d703236bed99c2278cf09))
|
|
28
|
+
- **Modal:** add method usage warning, docs & add runtime locale ([638a83d](https://github.com/UCloud-FE/react-components/commit/638a83dc12509adace21b01b38c3f77dc2b867d1))
|
|
29
|
+
|
|
30
|
+
## [1.3.0](https://github.com/UCloud-FE/react-components/compare/v1.2.20...v1.3.0) (2021-12-01)
|
|
31
|
+
|
|
32
|
+
### Features
|
|
33
|
+
|
|
34
|
+
- **Calendar:** merge month to calendar type ([93a3c4d](https://github.com/UCloud-FE/react-components/commit/93a3c4d9f57c9e338282501d5be1477a91de333d))
|
|
35
|
+
- **Cascader:** add Cascader ([470e2ac](https://github.com/UCloud-FE/react-components/commit/470e2ac455dc6450ea691626015baad372e2aff3))
|
|
36
|
+
- **DatePicker:** auto adapt input width for diff usage ([a653b3f](https://github.com/UCloud-FE/react-components/commit/a653b3f21c2d0579fef49a9ea2532fa1104d094e))
|
|
37
|
+
- **TimePicker:** add default width ([2187628](https://github.com/UCloud-FE/react-components/commit/21876287469847150007a8a91427e7356fb3140d))
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
- **LocaleProvider:** add some demos & fix missing locales ([032bbec](https://github.com/UCloud-FE/react-components/commit/032bbec0b3b96a7cb035be53a9e29a516426a353))
|
|
42
|
+
- **Select:** fix missing empty tip when options is empty ([662d3c3](https://github.com/UCloud-FE/react-components/commit/662d3c30f8b8ccf9257b3d488422d237bddc6f61))
|
|
43
|
+
|
|
5
44
|
### [1.2.20](https://github.com/UCloud-FE/react-components/compare/v1.2.19...v1.2.20) (2021-11-17)
|
|
6
45
|
|
|
7
46
|
### Features
|
package/dist/icon.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["react-components"]=t():e["react-components"]=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["react-components"]=t():e["react-components"]=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=637)}({637:function(e,t,n){}})}));
|