@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
@@ -33,6 +33,7 @@ export declare const headerProps: {
33
33
  headerBarWidth5: string;
34
34
  headerBarWidth6: string;
35
35
  pMargin: string;
36
+ margin: string;
36
37
  liMargin: string;
37
38
  olPadding: string;
38
39
  ulPadding: string;
@@ -54,6 +55,8 @@ export declare const headerProps: {
54
55
  pTextColor3Depth: string;
55
56
  pLineHeight: string;
56
57
  pFontSize: string;
58
+ fontSize: string;
59
+ lineHeight: string;
57
60
  headerBarColor: string;
58
61
  headerBarColorPrimary: string;
59
62
  headerBarColorInfo: string;
@@ -99,6 +102,7 @@ export declare const headerProps: {
99
102
  headerBarWidth5: string;
100
103
  headerBarWidth6: string;
101
104
  pMargin: string;
105
+ margin: string;
102
106
  liMargin: string;
103
107
  olPadding: string;
104
108
  ulPadding: string;
@@ -120,6 +124,8 @@ export declare const headerProps: {
120
124
  pTextColor3Depth: string;
121
125
  pLineHeight: string;
122
126
  pFontSize: string;
127
+ fontSize: string;
128
+ lineHeight: string;
123
129
  headerBarColor: string;
124
130
  headerBarColorPrimary: string;
125
131
  headerBarColorInfo: string;
@@ -165,6 +171,7 @@ export declare const headerProps: {
165
171
  headerBarWidth5: string;
166
172
  headerBarWidth6: string;
167
173
  pMargin: string;
174
+ margin: string;
168
175
  liMargin: string;
169
176
  olPadding: string;
170
177
  ulPadding: string;
@@ -186,6 +193,8 @@ export declare const headerProps: {
186
193
  pTextColor3Depth: string;
187
194
  pLineHeight: string;
188
195
  pFontSize: string;
196
+ fontSize: string;
197
+ lineHeight: string;
189
198
  headerBarColor: string;
190
199
  headerBarColorPrimary: string;
191
200
  headerBarColorInfo: string;
@@ -240,6 +249,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
240
249
  headerBarWidth5: string;
241
250
  headerBarWidth6: string;
242
251
  pMargin: string;
252
+ margin: string;
243
253
  liMargin: string;
244
254
  olPadding: string;
245
255
  ulPadding: string;
@@ -261,6 +271,8 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
261
271
  pTextColor3Depth: string;
262
272
  pLineHeight: string;
263
273
  pFontSize: string;
274
+ fontSize: string;
275
+ lineHeight: string;
264
276
  headerBarColor: string;
265
277
  headerBarColorPrimary: string;
266
278
  headerBarColorInfo: string;
@@ -306,6 +318,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
306
318
  headerBarWidth5: string;
307
319
  headerBarWidth6: string;
308
320
  pMargin: string;
321
+ margin: string;
309
322
  liMargin: string;
310
323
  olPadding: string;
311
324
  ulPadding: string;
@@ -327,6 +340,8 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
327
340
  pTextColor3Depth: string;
328
341
  pLineHeight: string;
329
342
  pFontSize: string;
343
+ fontSize: string;
344
+ lineHeight: string;
330
345
  headerBarColor: string;
331
346
  headerBarColorPrimary: string;
332
347
  headerBarColorInfo: string;
@@ -372,6 +387,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
372
387
  headerBarWidth5: string;
373
388
  headerBarWidth6: string;
374
389
  pMargin: string;
390
+ margin: string;
375
391
  liMargin: string;
376
392
  olPadding: string;
377
393
  ulPadding: string;
@@ -393,6 +409,8 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
393
409
  pTextColor3Depth: string;
394
410
  pLineHeight: string;
395
411
  pFontSize: string;
412
+ fontSize: string;
413
+ lineHeight: string;
396
414
  headerBarColor: string;
397
415
  headerBarColorPrimary: string;
398
416
  headerBarColorInfo: string;
@@ -459,6 +477,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
459
477
  headerBarWidth5: string;
460
478
  headerBarWidth6: string;
461
479
  pMargin: string;
480
+ margin: string;
462
481
  liMargin: string;
463
482
  olPadding: string;
464
483
  ulPadding: string;
@@ -480,6 +499,8 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
480
499
  pTextColor3Depth: string;
481
500
  pLineHeight: string;
482
501
  pFontSize: string;
502
+ fontSize: string;
503
+ lineHeight: string;
483
504
  headerBarColor: string;
484
505
  headerBarColorPrimary: string;
485
506
  headerBarColorInfo: string;
@@ -525,6 +546,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
525
546
  headerBarWidth5: string;
526
547
  headerBarWidth6: string;
527
548
  pMargin: string;
549
+ margin: string;
528
550
  liMargin: string;
529
551
  olPadding: string;
530
552
  ulPadding: string;
@@ -546,6 +568,8 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
546
568
  pTextColor3Depth: string;
547
569
  pLineHeight: string;
548
570
  pFontSize: string;
571
+ fontSize: string;
572
+ lineHeight: string;
549
573
  headerBarColor: string;
550
574
  headerBarColorPrimary: string;
551
575
  headerBarColorInfo: string;
@@ -591,6 +615,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
591
615
  headerBarWidth5: string;
592
616
  headerBarWidth6: string;
593
617
  pMargin: string;
618
+ margin: string;
594
619
  liMargin: string;
595
620
  olPadding: string;
596
621
  ulPadding: string;
@@ -612,6 +637,8 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
612
637
  pTextColor3Depth: string;
613
638
  pLineHeight: string;
614
639
  pFontSize: string;
640
+ fontSize: string;
641
+ lineHeight: string;
615
642
  headerBarColor: string;
616
643
  headerBarColorPrimary: string;
617
644
  headerBarColorInfo: string;
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, computed } from 'vue';
1
+ import { h, defineComponent, computed, warn } from 'vue';
2
2
  import { useConfig, useTheme, useThemeClass } from '../../_mixins';
3
3
  import { createKey } from '../../_utils';
4
4
  import { typographyLight } from '../styles';
@@ -12,6 +12,9 @@ export default (level) => defineComponent({
12
12
  name: `H${level}`,
13
13
  props: headerProps,
14
14
  setup(props) {
15
+ if (process.env.NODE_ENV !== 'production') {
16
+ warn('h', 'H component is deprecated, you should use `UText` instead.');
17
+ }
15
18
  const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
16
19
  const themeRef = useTheme('Typography', '-h', style, typographyLight, props, mergedClsPrefixRef);
17
20
  const cssVarsRef = computed(() => {