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