@uzum-tech/ui 1.5.2 → 1.5.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.
Files changed (170) hide show
  1. package/README.md +0 -1
  2. package/dist/index.js +1030 -564
  3. package/dist/index.prod.js +3 -3
  4. package/es/_internal/checkbox/src/use-checkbox.js +3 -3
  5. package/es/_internal/radio/src/use-radio.js +3 -3
  6. package/es/_mixins/use-form-item.d.ts +4 -4
  7. package/es/_mixins/use-form-item.js +4 -4
  8. package/es/_styles/common/dark.js +1 -1
  9. package/es/_styles/common/light.d.ts +3 -0
  10. package/es/_styles/common/light.js +1 -1
  11. package/es/_utils/composable/composables.d.ts +11 -0
  12. package/es/_utils/composable/composables.js +40 -0
  13. package/es/_utils/index.d.ts +1 -1
  14. package/es/_utils/index.js +1 -1
  15. package/es/_utils/uzum/index.d.ts +1 -0
  16. package/es/_utils/uzum/index.js +1 -0
  17. package/es/_utils/uzum/value.d.ts +1 -0
  18. package/es/_utils/uzum/value.js +9 -0
  19. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  20. package/es/alert/styles/light.js +6 -6
  21. package/es/auto-complete/src/AutoComplete.js +10 -10
  22. package/es/avatar/src/Avatar.d.ts +6 -0
  23. package/es/avatar/src/Avatar.js +9 -3
  24. package/es/card-list/src/CardList.js +1 -1
  25. package/es/card-list/src/CardListItem.d.ts +13 -0
  26. package/es/card-list/src/CardListItem.js +11 -4
  27. package/es/card-list/src/interface.d.ts +1 -0
  28. package/es/card-list/src/styles/index.cssr.js +6 -6
  29. package/es/card-list/styles/light.js +2 -2
  30. package/es/cascader/src/Cascader.js +7 -7
  31. package/es/checkbox/src/CheckboxGroup.js +9 -9
  32. package/es/color-picker/src/ColorPicker.js +6 -6
  33. package/es/components.d.ts +1 -0
  34. package/es/components.js +1 -0
  35. package/es/config-provider/src/internal-interface.d.ts +2 -0
  36. package/es/data-table/src/DataTable.d.ts +5 -0
  37. package/es/data-table/src/DataTable.js +20 -10
  38. package/es/data-table/src/TableParts/Body.js +3 -2
  39. package/es/data-table/src/TableParts/Cell.js +85 -23
  40. package/es/data-table/src/interface.d.ts +11 -6
  41. package/es/data-table/src/styles/index.cssr.js +5 -3
  42. package/es/data-table/src/use-mask.d.ts +3 -6
  43. package/es/data-table/src/utils.d.ts +2 -1
  44. package/es/data-table/src/utils.js +13 -0
  45. package/es/date-picker/src/DatePicker.js +7 -7
  46. package/es/dialog/src/DialogProvider.d.ts +6 -0
  47. package/es/dynamic-tags/src/DynamicTags.js +3 -3
  48. package/es/input/src/Input.js +8 -8
  49. package/es/input-number/src/InputNumber.js +7 -7
  50. package/es/input-otp/index.d.ts +3 -0
  51. package/es/input-otp/index.js +1 -0
  52. package/es/input-otp/src/InputOtp.d.ts +871 -0
  53. package/es/input-otp/src/InputOtp.js +250 -0
  54. package/es/input-otp/src/public-types.d.ts +25 -0
  55. package/es/input-otp/src/public-types.js +1 -0
  56. package/es/input-otp/src/styles/index.cssr.d.ts +2 -0
  57. package/es/input-otp/src/styles/index.cssr.js +20 -0
  58. package/es/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  59. package/es/input-otp/src/styles/input-otp-rtl.cssr.js +5 -0
  60. package/es/input-otp/styles/dark.d.ts +3 -0
  61. package/es/input-otp/styles/dark.js +12 -0
  62. package/es/input-otp/styles/index.d.ts +4 -0
  63. package/es/input-otp/styles/index.js +3 -0
  64. package/es/input-otp/styles/light.d.ts +83 -0
  65. package/es/input-otp/styles/light.js +22 -0
  66. package/es/input-otp/styles/rtl.d.ts +2 -0
  67. package/es/input-otp/styles/rtl.js +5 -0
  68. package/es/legacy-transfer/src/Transfer.js +3 -3
  69. package/es/list/src/ListItem.js +8 -4
  70. package/es/mention/src/Mention.js +7 -7
  71. package/es/radio/src/RadioGroup.js +5 -5
  72. package/es/rate/src/Rate.js +3 -3
  73. package/es/select/src/Select.js +7 -7
  74. package/es/slider/src/Slider.js +3 -3
  75. package/es/styles.d.ts +1 -0
  76. package/es/styles.js +1 -0
  77. package/es/switch/src/Switch.js +7 -7
  78. package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
  79. package/es/themes/dark.js +2 -0
  80. package/es/themes/light.js +2 -0
  81. package/es/time-picker/src/TimePicker.js +7 -7
  82. package/es/transfer/src/Transfer.js +3 -3
  83. package/es/tree-select/src/TreeSelect.js +5 -5
  84. package/es/version.d.ts +1 -1
  85. package/es/version.js +1 -1
  86. package/lib/_internal/checkbox/src/use-checkbox.js +3 -3
  87. package/lib/_internal/radio/src/use-radio.js +3 -3
  88. package/lib/_mixins/use-form-item.d.ts +4 -4
  89. package/lib/_mixins/use-form-item.js +4 -4
  90. package/lib/_styles/common/dark.js +1 -1
  91. package/lib/_styles/common/light.d.ts +3 -0
  92. package/lib/_styles/common/light.js +1 -1
  93. package/lib/_utils/composable/composables.d.ts +11 -0
  94. package/lib/_utils/composable/composables.js +47 -0
  95. package/lib/_utils/index.d.ts +1 -1
  96. package/lib/_utils/index.js +2 -1
  97. package/lib/_utils/uzum/index.d.ts +1 -0
  98. package/lib/_utils/uzum/index.js +3 -1
  99. package/lib/_utils/uzum/value.d.ts +1 -0
  100. package/lib/_utils/uzum/value.js +12 -0
  101. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  102. package/lib/alert/styles/light.js +6 -6
  103. package/lib/auto-complete/src/AutoComplete.js +10 -10
  104. package/lib/avatar/src/Avatar.d.ts +6 -0
  105. package/lib/avatar/src/Avatar.js +9 -3
  106. package/lib/card-list/src/CardList.js +1 -1
  107. package/lib/card-list/src/CardListItem.d.ts +13 -0
  108. package/lib/card-list/src/CardListItem.js +11 -4
  109. package/lib/card-list/src/interface.d.ts +1 -0
  110. package/lib/card-list/src/styles/index.cssr.js +5 -5
  111. package/lib/card-list/styles/light.js +2 -2
  112. package/lib/cascader/src/Cascader.js +7 -7
  113. package/lib/checkbox/src/CheckboxGroup.js +9 -9
  114. package/lib/color-picker/src/ColorPicker.js +6 -6
  115. package/lib/components.d.ts +1 -0
  116. package/lib/components.js +1 -0
  117. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  118. package/lib/data-table/src/DataTable.d.ts +5 -0
  119. package/lib/data-table/src/DataTable.js +20 -10
  120. package/lib/data-table/src/TableParts/Body.js +3 -2
  121. package/lib/data-table/src/TableParts/Cell.js +84 -22
  122. package/lib/data-table/src/interface.d.ts +11 -6
  123. package/lib/data-table/src/styles/index.cssr.js +5 -3
  124. package/lib/data-table/src/use-mask.d.ts +3 -6
  125. package/lib/data-table/src/utils.d.ts +2 -1
  126. package/lib/data-table/src/utils.js +14 -1
  127. package/lib/date-picker/src/DatePicker.js +7 -7
  128. package/lib/dialog/src/DialogProvider.d.ts +6 -0
  129. package/lib/dynamic-tags/src/DynamicTags.js +3 -3
  130. package/lib/input/src/Input.js +8 -8
  131. package/lib/input-number/src/InputNumber.js +7 -7
  132. package/lib/input-otp/index.d.ts +3 -0
  133. package/lib/input-otp/index.js +9 -0
  134. package/lib/input-otp/src/InputOtp.d.ts +871 -0
  135. package/lib/input-otp/src/InputOtp.js +256 -0
  136. package/lib/input-otp/src/public-types.d.ts +25 -0
  137. package/lib/input-otp/src/public-types.js +2 -0
  138. package/lib/input-otp/src/styles/index.cssr.d.ts +2 -0
  139. package/lib/input-otp/src/styles/index.cssr.js +25 -0
  140. package/lib/input-otp/src/styles/input-otp-rtl.cssr.d.ts +2 -0
  141. package/lib/input-otp/src/styles/input-otp-rtl.cssr.js +10 -0
  142. package/lib/input-otp/styles/dark.d.ts +3 -0
  143. package/lib/input-otp/styles/dark.js +14 -0
  144. package/lib/input-otp/styles/index.d.ts +4 -0
  145. package/lib/input-otp/styles/index.js +12 -0
  146. package/lib/input-otp/styles/light.d.ts +83 -0
  147. package/lib/input-otp/styles/light.js +25 -0
  148. package/lib/input-otp/styles/rtl.d.ts +2 -0
  149. package/lib/input-otp/styles/rtl.js +11 -0
  150. package/lib/legacy-transfer/src/Transfer.js +3 -3
  151. package/lib/list/src/ListItem.js +8 -4
  152. package/lib/mention/src/Mention.js +7 -7
  153. package/lib/radio/src/RadioGroup.js +5 -5
  154. package/lib/rate/src/Rate.js +3 -3
  155. package/lib/select/src/Select.js +7 -7
  156. package/lib/slider/src/Slider.js +3 -3
  157. package/lib/styles.d.ts +1 -0
  158. package/lib/styles.js +106 -103
  159. package/lib/switch/src/Switch.js +7 -7
  160. package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
  161. package/lib/themes/dark.js +2 -0
  162. package/lib/themes/light.js +2 -0
  163. package/lib/time-picker/src/TimePicker.js +7 -7
  164. package/lib/transfer/src/Transfer.js +3 -3
  165. package/lib/tree-select/src/TreeSelect.js +5 -5
  166. package/lib/version.d.ts +1 -1
  167. package/lib/version.js +1 -1
  168. package/package.json +1 -1
  169. package/volar.d.ts +1 -0
  170. package/web-types.json +119 -4
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@uzum-tech/ui",
5
- "version": "1.5.2",
5
+ "version": "1.5.3",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -708,6 +708,16 @@
708
708
  "description": "Convenient way to show skeleton loader on the avatar.",
709
709
  "default": "false"
710
710
  },
711
+ {
712
+ "name": "icon-color",
713
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
714
+ "type": "string"
715
+ },
716
+ {
717
+ "name": "icon-size",
718
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
719
+ "type": "string | number"
720
+ },
711
721
  {
712
722
  "name": "color",
713
723
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/avatar",
@@ -5664,6 +5674,7 @@
5664
5674
  },
5665
5675
  {
5666
5676
  "name": "UPerformantEllipsis",
5677
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
5667
5678
  "source": {
5668
5679
  "symbol": "UPerformantEllipsis"
5669
5680
  },
@@ -5672,14 +5683,17 @@
5672
5683
  "props": [
5673
5684
  {
5674
5685
  "name": "expand-trigger",
5686
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
5675
5687
  "type": "string"
5676
5688
  },
5677
5689
  {
5678
5690
  "name": "line-clamp",
5691
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
5679
5692
  "type": "number | string"
5680
5693
  },
5681
5694
  {
5682
5695
  "name": "tooltip",
5696
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/ellipsis",
5683
5697
  "type": "boolean | object"
5684
5698
  }
5685
5699
  ],
@@ -7973,6 +7987,101 @@
7973
7987
  ]
7974
7988
  }
7975
7989
  },
7990
+ {
7991
+ "name": "UInputOtp",
7992
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
7993
+ "source": {
7994
+ "symbol": "UInputOtp"
7995
+ },
7996
+ "slots": [],
7997
+ "attributes": [],
7998
+ "props": [
7999
+ {
8000
+ "name": "default-value",
8001
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8002
+ "type": "Array"
8003
+ },
8004
+ {
8005
+ "name": "value",
8006
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8007
+ "type": "Array"
8008
+ },
8009
+ {
8010
+ "name": "length",
8011
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8012
+ "type": "number"
8013
+ },
8014
+ {
8015
+ "name": "block",
8016
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8017
+ "type": "boolean"
8018
+ },
8019
+ {
8020
+ "name": "size",
8021
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8022
+ "type": "string"
8023
+ },
8024
+ {
8025
+ "name": "disabled",
8026
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8027
+ "type": "boolean"
8028
+ },
8029
+ {
8030
+ "name": "mask",
8031
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8032
+ "type": "boolean"
8033
+ },
8034
+ {
8035
+ "name": "readonly",
8036
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8037
+ "type": "boolean"
8038
+ },
8039
+ {
8040
+ "name": "status",
8041
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8042
+ "type": "string"
8043
+ },
8044
+ {
8045
+ "name": "gap",
8046
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8047
+ "type": "string | number"
8048
+ },
8049
+ {
8050
+ "name": "placeholder",
8051
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8052
+ "type": "string"
8053
+ },
8054
+ {
8055
+ "name": "allow-input",
8056
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp",
8057
+ "type": "Function"
8058
+ }
8059
+ ],
8060
+ "js": {
8061
+ "events": [
8062
+ {
8063
+ "name": "blur",
8064
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
8065
+ },
8066
+ {
8067
+ "name": "focus",
8068
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
8069
+ },
8070
+ {
8071
+ "name": "update-value",
8072
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
8073
+ },
8074
+ {
8075
+ "name": "update-value",
8076
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
8077
+ },
8078
+ {
8079
+ "name": "finish",
8080
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/input-otp"
8081
+ }
8082
+ ]
8083
+ }
8084
+ },
7976
8085
  {
7977
8086
  "name": "ULayout",
7978
8087
  "description": "<!--single-column-->\n\nLayout is for layout.\n\nThe component is a bit complicated to use. But like a manual gear car, it worths a shot.\n\nIf you are use version before v2.3.0, you may want to know about <u-text tag=\"a\" href=\"#Changes-After-v2.3.0\">Changes After v2.3.0</u-text>.",
@@ -16109,12 +16218,16 @@
16109
16218
  {
16110
16219
  "name": "vertical",
16111
16220
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
16112
- "type": "boolean"
16221
+ "type": "boolean",
16222
+ "description": "If `true`, displays content in a vertical layout instead of horizontal.",
16223
+ "default": "false"
16113
16224
  },
16114
16225
  {
16115
16226
  "name": "icon",
16116
16227
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
16117
- "type": "object"
16228
+ "type": "VNodeChild | undefined",
16229
+ "description": "A custom icon component to display in the uploader.",
16230
+ "default": "undefined"
16118
16231
  },
16119
16232
  {
16120
16233
  "name": "is-error-state",
@@ -16302,7 +16415,9 @@
16302
16415
  {
16303
16416
  "name": "no-icon",
16304
16417
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
16305
- "type": "boolean"
16418
+ "type": "boolean",
16419
+ "description": "If `true`, no icon will be shown, even if an `icon` is provided.",
16420
+ "default": "false"
16306
16421
  },
16307
16422
  {
16308
16423
  "name": "<span style=\"color:red; text-decoration: line-through;\">render-icon</span>",