@ucloud-fe/react-components 1.4.5 → 1.5.1

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/icon.min.js +1 -1
  3. package/dist/main.min.js +4 -4
  4. package/lib/components/Calendar/style/index.js +5 -5
  5. package/lib/components/DatePicker/usePicker.js +17 -7
  6. package/lib/components/DatePicker/utils.d.ts +2 -1
  7. package/lib/components/DatePicker/utils.js +13 -1
  8. package/lib/components/Form/ControllerContext.d.ts +1 -1
  9. package/lib/components/Input/.recodo/interaction.js +2 -2
  10. package/lib/components/Input/Input.js +12 -60
  11. package/lib/components/Input/Search.js +1 -0
  12. package/lib/components/Input/style/index.d.ts +23 -8
  13. package/lib/components/Input/style/index.js +97 -17
  14. package/lib/components/Menu/Item.js +9 -2
  15. package/lib/components/Menu/Menu.d.ts +11 -3
  16. package/lib/components/Menu/Menu.js +23 -9
  17. package/lib/components/Menu/MenuContext.d.ts +1 -0
  18. package/lib/components/Menu/index.d.ts +2 -2
  19. package/lib/components/Menu/style/index.d.ts +3 -0
  20. package/lib/components/Menu/style/index.js +14 -8
  21. package/lib/components/Notice/index.d.ts +1 -1
  22. package/lib/components/Select/Group.d.ts +3 -0
  23. package/lib/components/Select/Group.js +4 -0
  24. package/lib/components/Select/Overflow.d.ts +19 -0
  25. package/lib/components/Select/Overflow.js +155 -0
  26. package/lib/components/Select/Select.d.ts +15 -9
  27. package/lib/components/Select/Select.js +1150 -322
  28. package/lib/components/Select/SelectContext.d.ts +1 -1
  29. package/lib/components/Select/index.d.ts +3 -1
  30. package/lib/components/Select/locale/en_US.js +2 -1
  31. package/lib/components/Select/locale/zh_CN.d.ts +1 -0
  32. package/lib/components/Select/locale/zh_CN.js +2 -1
  33. package/lib/components/Select/style/index.d.ts +43 -6
  34. package/lib/components/Select/style/index.js +132 -46
  35. package/lib/components/SvgIcon/icons/ArrowDown.js +2 -2
  36. package/lib/components/SvgIcon/icons/ArrowLeft.js +3 -2
  37. package/lib/components/SvgIcon/icons/ArrowRight.js +2 -2
  38. package/lib/components/SvgIcon/icons/ArrowUp.js +2 -2
  39. package/lib/components/SvgIcon/icons/DoubleArrowLeft.js +4 -7
  40. package/lib/components/SvgIcon/icons/DoubleArrowRight.js +4 -6
  41. package/lib/components/SvgIcon/style/index.js +2 -2
  42. package/lib/hooks/group.d.ts +1 -1
  43. package/lib/hooks/group.js +5 -9
  44. package/lib/hooks/useUncontrolled.d.ts +1 -1
  45. package/lib/hooks/useUncontrolled.js +1 -1
  46. package/lib/libs/rc-table/Table.js +2 -3
  47. package/lib/sharedComponents/InputWrap.d.ts +16 -0
  48. package/lib/sharedComponents/InputWrap.js +66 -0
  49. package/lib/utils/pick.d.ts +1 -1
  50. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -2,6 +2,32 @@
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.5.1](https://github.com/UCloud-FE/react-components/compare/v1.5.0...v1.5.1) (2022-07-06)
6
+
7
+ ### Bug Fixes
8
+
9
+ - **Select:** fix search input for old version ([ac59a18](https://github.com/UCloud-FE/react-components/commit/ac59a18ee139b9cf78af449bd86a5512083c0ac1))
10
+
11
+ ## [1.5.0](https://github.com/UCloud-FE/react-components/compare/v1.4.6...v1.5.0) (2022-07-06)
12
+
13
+ ### Features
14
+
15
+ - **Select:** change search icon ([9d3e79c](https://github.com/UCloud-FE/react-components/commit/9d3e79cfc735e0b2afd08beb54105ce7ab8d748e))
16
+ - **Select:** update select ([a751680](https://github.com/UCloud-FE/react-components/commit/a7516803e5c91087e08287cf5842bc91166f9687)), closes [#360](https://github.com/UCloud-FE/react-components/issues/360)
17
+ - **SvgIcon:** update icons ([7e3b7ce](https://github.com/UCloud-FE/react-components/commit/7e3b7ced1d2c73bc8fd365ab1072b70d87ef8570))
18
+
19
+ ### Bug Fixes
20
+
21
+ - **Select:** fix placeholder & display text style ([8627ce9](https://github.com/UCloud-FE/react-components/commit/8627ce9f3cb0c7d5d7b9b99aac30dcdea73c995c))
22
+ - **Table:** fix sticky style when resize ([66dd364](https://github.com/UCloud-FE/react-components/commit/66dd364146977922135b10e34548a24bfad26f3f)), closes [#361](https://github.com/UCloud-FE/react-components/issues/361)
23
+ - **TimePicker:** upgrade calendar to fix click current stepper ([836342f](https://github.com/UCloud-FE/react-components/commit/836342fa322ce59b61947e5504c191063fa26efd))
24
+
25
+ ### [1.4.6](https://github.com/UCloud-FE/react-components/compare/v1.4.5...v1.4.6) (2022-06-07)
26
+
27
+ ### Bug Fixes
28
+
29
+ - **DatePicker:** fix range picker precision ([2a5153a](https://github.com/UCloud-FE/react-components/commit/2a5153a660f77a68f0c3e091e5fc80a383b044f2))
30
+
5
31
  ### [1.4.5](https://github.com/UCloud-FE/react-components/compare/v1.4.4...v1.4.5) (2022-06-06)
6
32
 
7
33
  ### 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=597)}({597:function(e,t,n){}})}));
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=599)}({599:function(e,t,n){}})}));