@uzum-tech/ui 1.4.1 → 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 (233) hide show
  1. package/dist/index.js +65374 -64281
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/icons/SiderUnionBorder.js +1 -1
  4. package/es/_internal/index.d.ts +2 -0
  5. package/es/_internal/index.js +1 -0
  6. package/es/_internal/typography/index.d.ts +2 -0
  7. package/es/_internal/typography/index.js +1 -0
  8. package/es/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  9. package/es/_internal/typography/src/styles/text.cssr.js +78 -0
  10. package/es/_internal/typography/src/text.d.ts +246 -0
  11. package/es/_internal/typography/src/text.js +79 -0
  12. package/es/_internal/typography/src/variants.d.ts +13 -0
  13. package/es/_internal/typography/src/variants.js +132 -0
  14. package/es/_internal/typography/styles/dark.d.ts +3 -0
  15. package/es/_internal/typography/styles/dark.js +8 -0
  16. package/es/_internal/typography/styles/index.d.ts +3 -0
  17. package/es/_internal/typography/styles/index.js +2 -0
  18. package/es/_internal/typography/styles/light.d.ts +24 -0
  19. package/es/_internal/typography/styles/light.js +28 -0
  20. package/es/_styles/common/_common.d.ts +2 -0
  21. package/es/_styles/common/_common.js +3 -1
  22. package/es/_styles/common/light.d.ts +2 -0
  23. package/es/action-card/index.d.ts +4 -0
  24. package/es/action-card/index.js +2 -0
  25. package/es/action-card/src/ActionCard.d.ts +313 -0
  26. package/es/action-card/src/ActionCard.js +101 -0
  27. package/es/action-card/src/styles/index.cssr.d.ts +2 -0
  28. package/es/action-card/src/styles/index.cssr.js +113 -0
  29. package/es/action-card/styles/dark.d.ts +3 -0
  30. package/es/action-card/styles/dark.js +11 -0
  31. package/es/action-card/styles/index.d.ts +3 -0
  32. package/es/action-card/styles/index.js +2 -0
  33. package/es/action-card/styles/light.d.ts +29 -0
  34. package/es/action-card/styles/light.js +33 -0
  35. package/es/avatar/src/Avatar.d.ts +13 -3
  36. package/es/avatar/src/Avatar.js +4 -3
  37. package/es/avatar/src/styles/index.cssr.js +3 -2
  38. package/es/avatar/styles/light.d.ts +1 -0
  39. package/es/avatar/styles/light.js +4 -3
  40. package/es/avatar-group/src/AvatarGroup.d.ts +10 -0
  41. package/es/avatar-group/styles/light.d.ts +1 -0
  42. package/es/badge/src/Badge.d.ts +10 -0
  43. package/es/badge/src/Badge.js +3 -2
  44. package/es/badge/src/styles/index.cssr.js +19 -1
  45. package/es/badge/styles/light.d.ts +1 -0
  46. package/es/badge/styles/light.js +4 -3
  47. package/es/components.d.ts +1 -0
  48. package/es/components.js +1 -0
  49. package/es/config-provider/src/internal-interface.d.ts +2 -0
  50. package/es/data-table/src/DataTable.d.ts +14 -0
  51. package/es/data-table/src/DataTable.js +3 -3
  52. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  53. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  54. package/es/data-table/src/TableParts/Body.d.ts +2 -0
  55. package/es/data-table/src/TableParts/Body.js +10 -1
  56. package/es/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  57. package/es/data-table/src/TableParts/BodySkeleton.js +52 -0
  58. package/es/data-table/src/TableParts/Header.d.ts +2 -0
  59. package/es/data-table/src/interface.d.ts +6 -0
  60. package/es/data-table/src/styles/index.cssr.js +1 -1
  61. package/es/data-table/styles/light.d.ts +2 -0
  62. package/es/data-table/styles/light.js +1 -1
  63. package/es/dialog/src/DialogProvider.d.ts +4 -0
  64. package/es/icon-wrapper/src/IconWrapper.d.ts +40 -9
  65. package/es/icon-wrapper/src/IconWrapper.js +23 -5
  66. package/es/icon-wrapper/src/interface.d.ts +1 -0
  67. package/es/icon-wrapper/src/interface.js +1 -0
  68. package/es/icon-wrapper/src/styles/index.cssr.js +17 -5
  69. package/es/layout/src/styles/layout-sider.cssr.js +1 -1
  70. package/es/modal/src/BodyWrapper.d.ts +1 -0
  71. package/es/modal/src/Modal.d.ts +9 -0
  72. package/es/modal/styles/light.d.ts +2 -0
  73. package/es/modal/styles/light.js +2 -1
  74. package/es/pagination/src/Pagination.d.ts +22 -0
  75. package/es/pagination/src/Pagination.js +4 -2
  76. package/es/pagination/src/styles/index.cssr.js +11 -0
  77. package/es/pagination/styles/light.d.ts +4 -0
  78. package/es/pagination/styles/light.js +7 -5
  79. package/es/spin/styles/light.js +3 -3
  80. package/es/steps/src/Step.d.ts +17 -0
  81. package/es/steps/src/Step.js +81 -25
  82. package/es/steps/src/Steps.d.ts +127 -1
  83. package/es/steps/src/Steps.js +4 -1
  84. package/es/steps/src/interface.d.ts +10 -2
  85. package/es/steps/src/interface.js +10 -1
  86. package/es/steps/src/styles/index.cssr.js +115 -3
  87. package/es/steps/styles/light.d.ts +14 -0
  88. package/es/steps/styles/light.js +16 -2
  89. package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
  90. package/es/themes/dark.js +2 -0
  91. package/es/themes/light.js +2 -0
  92. package/es/toggle-button/src/ToggleButton.d.ts +13 -0
  93. package/es/toggle-button/src/ToggleButton.js +5 -2
  94. package/es/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  95. package/es/typography/src/a.d.ts +27 -0
  96. package/es/typography/src/a.js +4 -1
  97. package/es/typography/src/blockquote.d.ts +27 -0
  98. package/es/typography/src/blockquote.js +4 -1
  99. package/es/typography/src/create-header.d.ts +27 -0
  100. package/es/typography/src/create-header.js +4 -1
  101. package/es/typography/src/headers.d.ts +108 -0
  102. package/es/typography/src/hr.d.ts +18 -0
  103. package/es/typography/src/hr.js +4 -0
  104. package/es/typography/src/li.js +4 -1
  105. package/es/typography/src/ol.d.ts +27 -0
  106. package/es/typography/src/ol.js +4 -1
  107. package/es/typography/src/p.d.ts +27 -0
  108. package/es/typography/src/p.js +4 -1
  109. package/es/typography/src/text.d.ts +128 -524
  110. package/es/typography/src/text.js +68 -69
  111. package/es/typography/src/ul.d.ts +27 -0
  112. package/es/typography/src/ul.js +4 -1
  113. package/es/typography/styles/light.d.ts +3 -0
  114. package/es/typography/styles/light.js +3 -0
  115. package/es/version.d.ts +1 -1
  116. package/es/version.js +1 -1
  117. package/lib/_internal/icons/SiderUnionBorder.js +1 -1
  118. package/lib/_internal/index.d.ts +2 -0
  119. package/lib/_internal/index.js +4 -1
  120. package/lib/_internal/typography/index.d.ts +2 -0
  121. package/lib/_internal/typography/index.js +9 -0
  122. package/lib/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  123. package/lib/_internal/typography/src/styles/text.cssr.js +83 -0
  124. package/lib/_internal/typography/src/text.d.ts +246 -0
  125. package/lib/_internal/typography/src/text.js +85 -0
  126. package/lib/_internal/typography/src/variants.d.ts +13 -0
  127. package/lib/_internal/typography/src/variants.js +137 -0
  128. package/lib/_internal/typography/styles/dark.d.ts +3 -0
  129. package/lib/_internal/typography/styles/dark.js +10 -0
  130. package/lib/_internal/typography/styles/index.d.ts +3 -0
  131. package/lib/_internal/typography/styles/index.js +10 -0
  132. package/lib/_internal/typography/styles/light.d.ts +24 -0
  133. package/lib/_internal/typography/styles/light.js +32 -0
  134. package/lib/_styles/common/_common.d.ts +2 -0
  135. package/lib/_styles/common/_common.js +3 -1
  136. package/lib/_styles/common/light.d.ts +2 -0
  137. package/lib/action-card/index.d.ts +4 -0
  138. package/lib/action-card/index.js +11 -0
  139. package/lib/action-card/src/ActionCard.d.ts +313 -0
  140. package/lib/action-card/src/ActionCard.js +107 -0
  141. package/lib/action-card/src/styles/index.cssr.d.ts +2 -0
  142. package/lib/action-card/src/styles/index.cssr.js +118 -0
  143. package/lib/action-card/styles/dark.d.ts +3 -0
  144. package/lib/action-card/styles/dark.js +13 -0
  145. package/lib/action-card/styles/index.d.ts +3 -0
  146. package/lib/action-card/styles/index.js +10 -0
  147. package/lib/action-card/styles/light.d.ts +29 -0
  148. package/lib/action-card/styles/light.js +37 -0
  149. package/lib/avatar/src/Avatar.d.ts +13 -3
  150. package/lib/avatar/src/Avatar.js +4 -3
  151. package/lib/avatar/src/styles/index.cssr.js +3 -2
  152. package/lib/avatar/styles/light.d.ts +1 -0
  153. package/lib/avatar/styles/light.js +4 -3
  154. package/lib/avatar-group/src/AvatarGroup.d.ts +10 -0
  155. package/lib/avatar-group/styles/light.d.ts +1 -0
  156. package/lib/badge/src/Badge.d.ts +10 -0
  157. package/lib/badge/src/Badge.js +3 -2
  158. package/lib/badge/src/styles/index.cssr.js +19 -1
  159. package/lib/badge/styles/light.d.ts +1 -0
  160. package/lib/badge/styles/light.js +4 -3
  161. package/lib/components.d.ts +1 -0
  162. package/lib/components.js +1 -0
  163. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  164. package/lib/data-table/src/DataTable.d.ts +14 -0
  165. package/lib/data-table/src/DataTable.js +3 -3
  166. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  167. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  168. package/lib/data-table/src/TableParts/Body.d.ts +2 -0
  169. package/lib/data-table/src/TableParts/Body.js +10 -1
  170. package/lib/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  171. package/lib/data-table/src/TableParts/BodySkeleton.js +54 -0
  172. package/lib/data-table/src/TableParts/Header.d.ts +2 -0
  173. package/lib/data-table/src/interface.d.ts +6 -0
  174. package/lib/data-table/src/styles/index.cssr.js +1 -1
  175. package/lib/data-table/styles/light.d.ts +2 -0
  176. package/lib/data-table/styles/light.js +1 -1
  177. package/lib/dialog/src/DialogProvider.d.ts +4 -0
  178. package/lib/icon-wrapper/src/IconWrapper.d.ts +40 -9
  179. package/lib/icon-wrapper/src/IconWrapper.js +23 -5
  180. package/lib/icon-wrapper/src/interface.d.ts +1 -0
  181. package/lib/icon-wrapper/src/interface.js +2 -0
  182. package/lib/icon-wrapper/src/styles/index.cssr.js +16 -4
  183. package/lib/layout/src/styles/layout-sider.cssr.js +1 -1
  184. package/lib/modal/src/BodyWrapper.d.ts +1 -0
  185. package/lib/modal/src/Modal.d.ts +9 -0
  186. package/lib/modal/styles/light.d.ts +2 -0
  187. package/lib/modal/styles/light.js +2 -1
  188. package/lib/pagination/src/Pagination.d.ts +22 -0
  189. package/lib/pagination/src/Pagination.js +4 -2
  190. package/lib/pagination/src/styles/index.cssr.js +11 -0
  191. package/lib/pagination/styles/light.d.ts +4 -0
  192. package/lib/pagination/styles/light.js +7 -5
  193. package/lib/spin/styles/light.js +3 -3
  194. package/lib/steps/src/Step.d.ts +17 -0
  195. package/lib/steps/src/Step.js +81 -25
  196. package/lib/steps/src/Steps.d.ts +127 -1
  197. package/lib/steps/src/Steps.js +4 -1
  198. package/lib/steps/src/interface.d.ts +10 -2
  199. package/lib/steps/src/interface.js +11 -0
  200. package/lib/steps/src/styles/index.cssr.js +115 -3
  201. package/lib/steps/styles/light.d.ts +14 -0
  202. package/lib/steps/styles/light.js +16 -2
  203. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
  204. package/lib/themes/dark.js +2 -0
  205. package/lib/themes/light.js +2 -0
  206. package/lib/toggle-button/src/ToggleButton.d.ts +13 -0
  207. package/lib/toggle-button/src/ToggleButton.js +5 -2
  208. package/lib/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  209. package/lib/typography/src/a.d.ts +27 -0
  210. package/lib/typography/src/a.js +3 -0
  211. package/lib/typography/src/blockquote.d.ts +27 -0
  212. package/lib/typography/src/blockquote.js +3 -0
  213. package/lib/typography/src/create-header.d.ts +27 -0
  214. package/lib/typography/src/create-header.js +3 -0
  215. package/lib/typography/src/headers.d.ts +108 -0
  216. package/lib/typography/src/hr.d.ts +18 -0
  217. package/lib/typography/src/hr.js +4 -0
  218. package/lib/typography/src/li.js +3 -0
  219. package/lib/typography/src/ol.d.ts +27 -0
  220. package/lib/typography/src/ol.js +3 -0
  221. package/lib/typography/src/p.d.ts +27 -0
  222. package/lib/typography/src/p.js +3 -0
  223. package/lib/typography/src/text.d.ts +128 -524
  224. package/lib/typography/src/text.js +66 -70
  225. package/lib/typography/src/ul.d.ts +27 -0
  226. package/lib/typography/src/ul.js +3 -0
  227. package/lib/typography/styles/light.d.ts +3 -0
  228. package/lib/typography/styles/light.js +3 -0
  229. package/lib/version.d.ts +1 -1
  230. package/lib/version.js +1 -1
  231. package/package.json +1 -1
  232. package/volar.d.ts +1 -0
  233. package/web-types.json +147 -96
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.4.1",
5
+ "version": "1.5.0",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -1699,6 +1699,60 @@
1699
1699
  ]
1700
1700
  }
1701
1701
  },
1702
+ {
1703
+ "name": "UActionCard",
1704
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1705
+ "source": {
1706
+ "symbol": "UActionCard"
1707
+ },
1708
+ "slots": [],
1709
+ "attributes": [],
1710
+ "props": [
1711
+ {
1712
+ "name": "title",
1713
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1714
+ "type": "string"
1715
+ },
1716
+ {
1717
+ "name": "description",
1718
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1719
+ "type": "string"
1720
+ },
1721
+ {
1722
+ "name": "icon",
1723
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1724
+ "type": "string | object"
1725
+ },
1726
+ {
1727
+ "name": "disabled",
1728
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1729
+ "type": "boolean"
1730
+ },
1731
+ {
1732
+ "name": "loading",
1733
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1734
+ "type": "boolean"
1735
+ },
1736
+ {
1737
+ "name": "tag",
1738
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1739
+ "type": "string"
1740
+ },
1741
+ {
1742
+ "name": "description-line-clamp",
1743
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
1744
+ "type": "number"
1745
+ }
1746
+ ],
1747
+ "js": {
1748
+ "events": [
1749
+ {
1750
+ "name": "click",
1751
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card"
1752
+ }
1753
+ ]
1754
+ }
1755
+ },
1702
1756
  {
1703
1757
  "name": "UCardList",
1704
1758
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/card-list",
@@ -3327,7 +3381,7 @@
3327
3381
  "name": "summary",
3328
3382
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/data-table",
3329
3383
  "type": "DataTableCreateSummary",
3330
- "description": "Data of table summary row. For types, see <u-a href=\"#DataTableCreateSummary-Type\">DataTableCreateSummary Type</u-a>.",
3384
+ "description": "Data of table summary row. For types, see <u-text tag=\"a\" href=\"#DataTableCreateSummary-Type\">DataTableCreateSummary Type</u-text>.",
3331
3385
  "default": "undefined"
3332
3386
  },
3333
3387
  {
@@ -4128,7 +4182,7 @@
4128
4182
  },
4129
4183
  {
4130
4184
  "name": "UDialog",
4131
- "description": "Before taking action, please confirm.\n\n<u-alert title=\"Prerequisite\" type=\"warning\" :bordered=\"false\">\n If you want to use dialog, you need to wrap the component where you call related methods inside <u-text code>u-dialog-provider</u-text> and use <u-text code>useDialog</u-text> to get the API.\n</u-alert>\n\nFor example:\n\n```html\n<!-- App.vue -->\n<u-dialog-provider>\n <content />\n</u-dialog-provider>\n```\n\n```js\nimport { defineComponent } from 'vue'\nimport { useDialog } from '@uzum-tech/ui'\n\n// content\nexport default defineComponent({\n setup () {\n const dialog = useDialog()\n return {\n warning () {\n dialog.warning(options)\n }\n }\n }\n})\n```",
4185
+ "description": "Before taking action, please confirm.\n\n<u-alert title=\"Prerequisite\" type=\"warning\" :bordered=\"false\">\n If you want to use dialog, you need to wrap the component where you call related methods inside <u-text tag=\"code\">u-dialog-provider</u-text> and use <u-text tag=\"code\">useDialog</u-text> to get the API.\n</u-alert>\n\nFor example:\n\n```html\n<!-- App.vue -->\n<u-dialog-provider>\n <content />\n</u-dialog-provider>\n```\n\n```js\nimport { defineComponent } from 'vue'\nimport { useDialog } from '@uzum-tech/ui'\n\n// content\nexport default defineComponent({\n setup() {\n const dialog = useDialog()\n return {\n warning() {\n dialog.warning(options)\n }\n }\n }\n})\n```",
4132
4186
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/dialog",
4133
4187
  "source": {
4134
4188
  "symbol": "UDialog"
@@ -4366,7 +4420,7 @@
4366
4420
  },
4367
4421
  {
4368
4422
  "name": "UDrawer",
4369
- "description": "I think it is similar with modal, with a bit difference on placement.\n\n<u-alert title=\"Caveat\" type=\"warning\" :bordered=\"false\">\n If you need to use <u-text code>u-drawer-content</u-text>, you should keep <u-text code>u-drawer</u-text>'s <u-text code>native-scrollbar</u-text> prop as <u-text code>true</u-text>.\n</u-alert>",
4423
+ "description": "I think it is similar with modal, with a bit difference on placement.\n\n<u-alert title=\"Caveat\" type=\"warning\" :bordered=\"false\">\n If you need to use <u-text tag=\"code\">u-drawer-content</u-text>, you should keep <u-text tag=\"code\">u-drawer</u-text>'s <u-text tag=\"code\">native-scrollbar</u-text> prop as <u-text tag=\"code\">true</u-text>.\n</u-alert>",
4370
4424
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/drawer",
4371
4425
  "source": {
4372
4426
  "symbol": "UDrawer"
@@ -5697,7 +5751,7 @@
5697
5751
  },
5698
5752
  {
5699
5753
  "name": "UForm",
5700
- "description": "<!--single-column-->\n\nThe element to collect and validate data.\n\n<u-alert type=\"warning\" title=\"Caveat\" :bordered=\"false\">\n If you want to apply required rule for a form item with number typed value, you need to set <u-text code>`type: number`</u-text> in the rule object.\n</u-alert>",
5754
+ "description": "<!--single-column-->\n\nThe element to collect and validate data.\n\n<u-alert type=\"warning\" title=\"Caveat\" :bordered=\"false\">\n If you want to apply required rule for a form item with number typed value, you need to set <u-text tag=\"code\">`type: number`</u-text> in the rule object.\n</u-alert>",
5701
5755
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
5702
5756
  "source": {
5703
5757
  "symbol": "UForm"
@@ -6624,7 +6678,7 @@
6624
6678
  },
6625
6679
  {
6626
6680
  "name": "UGrid",
6627
- "description": "<!--single-column-->\n\nBased on CSS Grid. Responsive. Keep away from IE.\n\n<u-alert type=\"warning\" title=\"Caveats\" :bordered=\"false\">\nDue to technical limitation, <u-text code>u-grid-item</u-text> can't be encapsulated in another component.\n</u-alert>",
6681
+ "description": "<!--single-column-->\n\nBased on CSS Grid. Responsive. Keep away from IE.\n\n<u-alert type=\"warning\" title=\"Caveats\" :bordered=\"false\">\nDue to technical limitation, <u-text tag=\"code\">u-grid-item</u-text> can't be encapsulated in another component.\n</u-alert>",
6628
6682
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
6629
6683
  "source": {
6630
6684
  "symbol": "UGrid"
@@ -6902,6 +6956,13 @@
6902
6956
  "since": "2.25.0"
6903
6957
  }
6904
6958
  },
6959
+ {
6960
+ "name": "pulse-size",
6961
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/icon",
6962
+ "type": "number",
6963
+ "description": "Size of the pulse background layer",
6964
+ "default": "32"
6965
+ },
6905
6966
  {
6906
6967
  "name": "border-radius",
6907
6968
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/icon",
@@ -6912,6 +6973,13 @@
6912
6973
  "since": "2.25.0"
6913
6974
  }
6914
6975
  },
6976
+ {
6977
+ "name": "variant",
6978
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/icon",
6979
+ "type": "\"default\" | \"pulse\"",
6980
+ "description": "Wrapper variant. Use `\"pulse\"` to show an extra background layer.",
6981
+ "default": "\"default\""
6982
+ },
6915
6983
  {
6916
6984
  "name": "color",
6917
6985
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/icon",
@@ -6922,6 +6990,13 @@
6922
6990
  "since": "2.25.0"
6923
6991
  }
6924
6992
  },
6993
+ {
6994
+ "name": "pulse-color",
6995
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/icon",
6996
+ "type": "string",
6997
+ "description": "Color of the pulse background layer",
6998
+ "default": "undefined"
6999
+ },
6925
7000
  {
6926
7001
  "name": "icon-color",
6927
7002
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/icon",
@@ -7893,7 +7968,7 @@
7893
7968
  },
7894
7969
  {
7895
7970
  "name": "ULayout",
7896
- "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-a href=\"#Changes-After-v2.3.0\">Changes After v2.3.0</u-a>.",
7971
+ "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>.",
7897
7972
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/layout",
7898
7973
  "source": {
7899
7974
  "symbol": "ULayout"
@@ -8717,7 +8792,7 @@
8717
8792
  },
8718
8793
  {
8719
8794
  "name": "ULog",
8720
- "description": "<!--single-column-->\n\nIf you have some logs to show, use log.\n\n<u-alert title=\"Note\" type=\"warning\" style=\"margin-bottom: 16px;\" :bordered=\"false\">\n Due to package size, Uzum UI doesn't include highlight.js. If you want highlight logs, make sure you have set highlightjs before using it.\n</u-alert>\n\nIn highlight demo, we defined a language called `uzum-ui-log` which will highlight all the numbers of line. The following code shows how we defined it. If you want to know more about highlight.js, see <u-a href=\"https://highlightjs.org/\" target=\"_blank\">highlight.js</u-a> and <u-a href=\"https://highlightjs.readthedocs.io/en/latest/index.html\" target=\"_blank\">highlight.js developer documentation</u-a>\n\n```html\n<template>\n <u-config-provider :hljs=\"hljs\">\n <my-app />\n </u-config-provider>\n</template>\n\n<script>\n import { defineComponent } from 'vue'\n import hljs from 'highlight.js/lib/core'\n\n hljs.registerLanguage('uzum-ui-log', () => ({\n contains: [\n {\n className: 'number',\n begin: /\\d+/\n }\n ]\n }))\n\n export default defineComponent({\n setup() {\n return {\n hljs\n }\n }\n })\n</script>\n```",
8795
+ "description": "<!--single-column-->\n\nIf you have some logs to show, use log.\n\n<u-alert title=\"Note\" type=\"warning\" style=\"margin-bottom: 16px;\" :bordered=\"false\">\n Due to package size, Uzum UI doesn't include highlight.js. If you want highlight logs, make sure you have set highlightjs before using it.\n</u-alert>\n\nIn highlight demo, we defined a language called `uzum-ui-log` which will highlight all the numbers of line. The following code shows how we defined it. If you want to know more about highlight.js, see <u-text tag=\"a\" href=\"https://highlightjs.org/\" target=\"_blank\">highlight.js</u-text> and <u-text tag=\"a\" href=\"https://highlightjs.readthedocs.io/en/latest/index.html\" target=\"_blank\">highlight.js developer documentation</u-text>\n\n```html\n<template>\n <u-config-provider :hljs=\"hljs\">\n <my-app />\n </u-config-provider>\n</template>\n\n<script>\n import { defineComponent } from 'vue'\n import hljs from 'highlight.js/lib/core'\n\n hljs.registerLanguage('uzum-ui-log', () => ({\n contains: [\n {\n className: 'number',\n begin: /\\d+/\n }\n ]\n }))\n\n export default defineComponent({\n setup() {\n return {\n hljs\n }\n }\n })\n</script>\n```",
8721
8796
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/log",
8722
8797
  "source": {
8723
8798
  "symbol": "ULog"
@@ -12647,7 +12722,7 @@
12647
12722
  {
12648
12723
  "name": "variant",
12649
12724
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/steps",
12650
- "type": "'default' | 'history'",
12725
+ "type": "'default' | 'history' | 'outline' | 'dotted'",
12651
12726
  "description": "Steps variant.",
12652
12727
  "default": "'default'",
12653
12728
  "description-sections": {
@@ -13021,7 +13096,7 @@
13021
13096
  },
13022
13097
  {
13023
13098
  "name": "UTabs",
13024
- "description": "Switch contents in same area.\n\n<u-alert type=\"warning\" title=\"Note\" :bordered=\"false\">\n <u-text code>u-tabs</u-text> will extract default tab value from default slot, so there would be a vue slot warning. If you don't want to see the warning, you should give component a <u-text code>default-value</u-text>.\n</u-alert>",
13099
+ "description": "Switch contents in same area.\n\n<u-alert type=\"warning\" title=\"Note\" :bordered=\"false\">\n <u-text tag=\"code\">u-tabs</u-text> will extract default tab value from default slot, so there would be a vue slot warning. If you don't want to see the warning, you should give component a <u-text tag=\"code\">default-value</u-text>.\n</u-alert>",
13025
13100
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/tabs",
13026
13101
  "source": {
13027
13102
  "symbol": "UTabs"
@@ -15548,23 +15623,17 @@
15548
15623
  {
15549
15624
  "name": "type",
15550
15625
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15551
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15552
- "description": "Text color style.",
15553
- "default": "'default'"
15626
+ "type": "string"
15554
15627
  },
15555
15628
  {
15556
15629
  "name": "prefix",
15557
15630
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15558
- "type": "'bar'",
15559
- "description": "Show a bar in front of the heading.",
15560
- "default": "undefined"
15631
+ "type": "string"
15561
15632
  },
15562
15633
  {
15563
15634
  "name": "align-text",
15564
15635
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15565
- "type": "boolean",
15566
- "description": "Text alignment.",
15567
- "default": "false"
15636
+ "type": "boolean"
15568
15637
  }
15569
15638
  ],
15570
15639
  "js": {
@@ -15583,23 +15652,17 @@
15583
15652
  {
15584
15653
  "name": "type",
15585
15654
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15586
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15587
- "description": "Text color style.",
15588
- "default": "'default'"
15655
+ "type": "string"
15589
15656
  },
15590
15657
  {
15591
15658
  "name": "prefix",
15592
15659
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15593
- "type": "'bar'",
15594
- "description": "Show a bar in front of the heading.",
15595
- "default": "undefined"
15660
+ "type": "string"
15596
15661
  },
15597
15662
  {
15598
15663
  "name": "align-text",
15599
15664
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15600
- "type": "boolean",
15601
- "description": "Text alignment.",
15602
- "default": "false"
15665
+ "type": "boolean"
15603
15666
  }
15604
15667
  ],
15605
15668
  "js": {
@@ -15618,23 +15681,17 @@
15618
15681
  {
15619
15682
  "name": "type",
15620
15683
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15621
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15622
- "description": "Text color style.",
15623
- "default": "'default'"
15684
+ "type": "string"
15624
15685
  },
15625
15686
  {
15626
15687
  "name": "prefix",
15627
15688
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15628
- "type": "'bar'",
15629
- "description": "Show a bar in front of the heading.",
15630
- "default": "undefined"
15689
+ "type": "string"
15631
15690
  },
15632
15691
  {
15633
15692
  "name": "align-text",
15634
15693
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15635
- "type": "boolean",
15636
- "description": "Text alignment.",
15637
- "default": "false"
15694
+ "type": "boolean"
15638
15695
  }
15639
15696
  ],
15640
15697
  "js": {
@@ -15653,23 +15710,17 @@
15653
15710
  {
15654
15711
  "name": "type",
15655
15712
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15656
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15657
- "description": "Text color style.",
15658
- "default": "'default'"
15713
+ "type": "string"
15659
15714
  },
15660
15715
  {
15661
15716
  "name": "prefix",
15662
15717
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15663
- "type": "'bar'",
15664
- "description": "Show a bar in front of the heading.",
15665
- "default": "undefined"
15718
+ "type": "string"
15666
15719
  },
15667
15720
  {
15668
15721
  "name": "align-text",
15669
15722
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15670
- "type": "boolean",
15671
- "description": "Text alignment.",
15672
- "default": "false"
15723
+ "type": "boolean"
15673
15724
  }
15674
15725
  ],
15675
15726
  "js": {
@@ -15688,23 +15739,17 @@
15688
15739
  {
15689
15740
  "name": "type",
15690
15741
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15691
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15692
- "description": "Text color style.",
15693
- "default": "'default'"
15742
+ "type": "string"
15694
15743
  },
15695
15744
  {
15696
15745
  "name": "prefix",
15697
15746
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15698
- "type": "'bar'",
15699
- "description": "Show a bar in front of the heading.",
15700
- "default": "undefined"
15747
+ "type": "string"
15701
15748
  },
15702
15749
  {
15703
15750
  "name": "align-text",
15704
15751
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15705
- "type": "boolean",
15706
- "description": "Text alignment.",
15707
- "default": "false"
15752
+ "type": "boolean"
15708
15753
  }
15709
15754
  ],
15710
15755
  "js": {
@@ -15723,23 +15768,17 @@
15723
15768
  {
15724
15769
  "name": "type",
15725
15770
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15726
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15727
- "description": "Text color style.",
15728
- "default": "'default'"
15771
+ "type": "string"
15729
15772
  },
15730
15773
  {
15731
15774
  "name": "prefix",
15732
15775
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15733
- "type": "'bar'",
15734
- "description": "Show a bar in front of the heading.",
15735
- "default": "undefined"
15776
+ "type": "string"
15736
15777
  },
15737
15778
  {
15738
15779
  "name": "align-text",
15739
15780
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15740
- "type": "boolean",
15741
- "description": "Text alignment.",
15742
- "default": "false"
15781
+ "type": "boolean"
15743
15782
  }
15744
15783
  ],
15745
15784
  "js": {
@@ -15758,9 +15797,7 @@
15758
15797
  {
15759
15798
  "name": "align-text",
15760
15799
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15761
- "type": "boolean",
15762
- "description": "Text alignment.",
15763
- "default": "false"
15800
+ "type": "boolean"
15764
15801
  }
15765
15802
  ],
15766
15803
  "js": {
@@ -15792,9 +15829,7 @@
15792
15829
  {
15793
15830
  "name": "align-text",
15794
15831
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15795
- "type": "boolean",
15796
- "description": "Text alignment.",
15797
- "default": "false"
15832
+ "type": "boolean"
15798
15833
  }
15799
15834
  ],
15800
15835
  "js": {
@@ -15813,9 +15848,7 @@
15813
15848
  {
15814
15849
  "name": "align-text",
15815
15850
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15816
- "type": "boolean",
15817
- "description": "Text alignment.",
15818
- "default": "false"
15851
+ "type": "boolean"
15819
15852
  }
15820
15853
  ],
15821
15854
  "js": {
@@ -15845,25 +15878,30 @@
15845
15878
  "attributes": [],
15846
15879
  "props": [
15847
15880
  {
15848
- "name": "code",
15881
+ "name": "variant",
15849
15882
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15850
- "type": "boolean",
15851
- "description": "Use the `code` tag and style.",
15852
- "default": "false"
15883
+ "type": "'display-l' | 'display-s' | 'heading-l-semi-bold' | 'heading-l-bold' | 'heading-m-semi-bold' | 'heading-m-bold' | 'heading-s-semi-bold' | 'heading-s-bold' | 'title-l-medium' | 'title-l-semi-bold' | 'title-l-bold' | 'title-m-medium' | 'title-m-semi-bold' | 'title-m-bold' | 'title-s-medium' | 'title-s-semi-bold' | 'title-s-bold' | 'body-l-medium' | 'body-l-semi-bold' | 'body-l-bold' | 'body-m-medium' | 'body-m-semi-bold' | 'body-m-bold' | 'body-s-medium' | 'body-s-semi-bold' | 'body-s-bold'",
15884
+ "description": "Typography variant from design system.",
15885
+ "default": "undefined"
15853
15886
  },
15854
15887
  {
15855
- "name": "type",
15888
+ "name": "tag",
15856
15889
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15857
- "type": "'default' | 'success' | 'info' | 'warning' | 'error'",
15858
- "description": "Typography type.",
15859
- "default": "'default'"
15890
+ "type": "string",
15891
+ "description": "Determined by the variant, can be manually overridden",
15892
+ "default": "span"
15860
15893
  },
15861
15894
  {
15862
- "name": "delete",
15895
+ "name": "text",
15863
15896
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15864
- "type": "boolean",
15865
- "description": "Use the `del` tag and strikethrough style.",
15866
- "default": "false"
15897
+ "type": "string",
15898
+ "description": "Can be used instead of default slot",
15899
+ "default": "undefined"
15900
+ },
15901
+ {
15902
+ "name": "type",
15903
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15904
+ "type": "string"
15867
15905
  },
15868
15906
  {
15869
15907
  "name": "strong",
@@ -15887,23 +15925,31 @@
15887
15925
  "default": "false"
15888
15926
  },
15889
15927
  {
15890
- "name": "depth",
15928
+ "name": "strikethrough",
15891
15929
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15892
- "type": "1 | 2 | 3 | '1' | '2' | '3'",
15893
- "description": "Text depth (shade of text).",
15894
- "default": "undefined"
15930
+ "type": "boolean",
15931
+ "description": "Strikethrough.",
15932
+ "default": "false"
15895
15933
  },
15896
15934
  {
15897
- "name": "tag",
15935
+ "name": "code",
15898
15936
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15899
- "type": "string",
15900
- "description": "Tag to use. `code` or `delete` properties will override this.",
15901
- "default": "undefined"
15937
+ "type": "boolean"
15902
15938
  },
15903
15939
  {
15904
15940
  "name": "as",
15905
15941
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15906
15942
  "type": "string"
15943
+ },
15944
+ {
15945
+ "name": "delete",
15946
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15947
+ "type": "boolean"
15948
+ },
15949
+ {
15950
+ "name": "depth",
15951
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
15952
+ "type": "string | number"
15907
15953
  }
15908
15954
  ],
15909
15955
  "js": {
@@ -15937,7 +15983,7 @@
15937
15983
  "name": "accept",
15938
15984
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
15939
15985
  "type": "string",
15940
- "description": "The accept type of upload. See <u-a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept\" target=\"_blank\">accept</u-a>.",
15986
+ "description": "The accept type of upload. See <u-text tag=\"a\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept\" target=\"_blank\">accept</u-text>.",
15941
15987
  "default": "undefined"
15942
15988
  },
15943
15989
  {
@@ -15951,7 +15997,7 @@
15951
15997
  "name": "custom-request",
15952
15998
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
15953
15999
  "type": "(options: UploadCustomRequestOptions) => void",
15954
- "description": "Customize upload request. For types, see <u-a href=\"#UploadCustomRequestOptions-Type\">UploadCustomRequestOptions</u-a>",
16000
+ "description": "Customize upload request. For types, see <u-text tag=\"a\" href=\"#UploadCustomRequestOptions-Type\">UploadCustomRequestOptions</u-text>",
15955
16001
  "default": "undefined"
15956
16002
  },
15957
16003
  {
@@ -16324,7 +16370,7 @@
16324
16370
  {
16325
16371
  "name": "default",
16326
16372
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
16327
- "description": "The placeholder of the upload dragger; For an example see <u-a href=\"#drag.vue\">Drag to Upload Demo</u-a>."
16373
+ "description": "The placeholder of the upload dragger; For an example see <u-text tag=\"a\" href=\"#drag.vue\">Drag to Upload Demo</u-text>."
16328
16374
  }
16329
16375
  ],
16330
16376
  "attributes": [],
@@ -16771,6 +16817,11 @@
16771
16817
  "name": "view-type",
16772
16818
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/toggle-button",
16773
16819
  "type": "string"
16820
+ },
16821
+ {
16822
+ "name": "icon-position",
16823
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/toggle-button",
16824
+ "type": "string"
16774
16825
  }
16775
16826
  ],
16776
16827
  "js": {