@uzum-tech/ui 1.4.2 → 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 (221) hide show
  1. package/dist/index.js +65404 -64355
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/index.d.ts +2 -0
  4. package/es/_internal/index.js +1 -0
  5. package/es/_internal/typography/index.d.ts +2 -0
  6. package/es/_internal/typography/index.js +1 -0
  7. package/es/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  8. package/es/_internal/typography/src/styles/text.cssr.js +78 -0
  9. package/es/_internal/typography/src/text.d.ts +246 -0
  10. package/es/_internal/typography/src/text.js +79 -0
  11. package/es/_internal/typography/src/variants.d.ts +13 -0
  12. package/es/_internal/typography/src/variants.js +132 -0
  13. package/es/_internal/typography/styles/dark.d.ts +3 -0
  14. package/es/_internal/typography/styles/dark.js +8 -0
  15. package/es/_internal/typography/styles/index.d.ts +3 -0
  16. package/es/_internal/typography/styles/index.js +2 -0
  17. package/es/_internal/typography/styles/light.d.ts +24 -0
  18. package/es/_internal/typography/styles/light.js +28 -0
  19. package/es/_styles/common/_common.d.ts +2 -0
  20. package/es/_styles/common/_common.js +3 -1
  21. package/es/_styles/common/light.d.ts +2 -0
  22. package/es/action-card/index.d.ts +4 -0
  23. package/es/action-card/index.js +2 -0
  24. package/es/action-card/src/ActionCard.d.ts +313 -0
  25. package/es/action-card/src/ActionCard.js +101 -0
  26. package/es/action-card/src/styles/index.cssr.d.ts +2 -0
  27. package/es/action-card/src/styles/index.cssr.js +113 -0
  28. package/es/action-card/styles/dark.d.ts +3 -0
  29. package/es/action-card/styles/dark.js +11 -0
  30. package/es/action-card/styles/index.d.ts +3 -0
  31. package/es/action-card/styles/index.js +2 -0
  32. package/es/action-card/styles/light.d.ts +29 -0
  33. package/es/action-card/styles/light.js +33 -0
  34. package/es/avatar/src/Avatar.d.ts +13 -3
  35. package/es/avatar/src/Avatar.js +4 -3
  36. package/es/avatar/src/styles/index.cssr.js +3 -2
  37. package/es/avatar/styles/light.d.ts +1 -0
  38. package/es/avatar/styles/light.js +4 -3
  39. package/es/avatar-group/src/AvatarGroup.d.ts +10 -0
  40. package/es/avatar-group/styles/light.d.ts +1 -0
  41. package/es/badge/src/Badge.d.ts +10 -0
  42. package/es/badge/src/Badge.js +3 -2
  43. package/es/badge/src/styles/index.cssr.js +19 -1
  44. package/es/badge/styles/light.d.ts +1 -0
  45. package/es/badge/styles/light.js +4 -3
  46. package/es/components.d.ts +1 -0
  47. package/es/components.js +1 -0
  48. package/es/config-provider/src/internal-interface.d.ts +2 -0
  49. package/es/data-table/src/DataTable.d.ts +14 -0
  50. package/es/data-table/src/DataTable.js +3 -3
  51. package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  52. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  53. package/es/data-table/src/TableParts/Body.d.ts +2 -0
  54. package/es/data-table/src/TableParts/Body.js +10 -1
  55. package/es/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  56. package/es/data-table/src/TableParts/BodySkeleton.js +52 -0
  57. package/es/data-table/src/TableParts/Header.d.ts +2 -0
  58. package/es/data-table/src/interface.d.ts +6 -0
  59. package/es/data-table/src/styles/index.cssr.js +1 -1
  60. package/es/data-table/styles/light.d.ts +2 -0
  61. package/es/data-table/styles/light.js +1 -1
  62. package/es/dialog/src/DialogProvider.d.ts +4 -0
  63. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  64. package/es/modal/src/BodyWrapper.d.ts +1 -0
  65. package/es/modal/src/Modal.d.ts +9 -0
  66. package/es/modal/styles/light.d.ts +2 -0
  67. package/es/modal/styles/light.js +2 -1
  68. package/es/pagination/src/Pagination.d.ts +22 -0
  69. package/es/pagination/src/Pagination.js +4 -2
  70. package/es/pagination/src/styles/index.cssr.js +11 -0
  71. package/es/pagination/styles/light.d.ts +4 -0
  72. package/es/pagination/styles/light.js +7 -5
  73. package/es/spin/styles/light.js +3 -3
  74. package/es/steps/src/Step.d.ts +17 -0
  75. package/es/steps/src/Step.js +81 -25
  76. package/es/steps/src/Steps.d.ts +127 -1
  77. package/es/steps/src/Steps.js +4 -1
  78. package/es/steps/src/interface.d.ts +10 -2
  79. package/es/steps/src/interface.js +10 -1
  80. package/es/steps/src/styles/index.cssr.js +115 -3
  81. package/es/steps/styles/light.d.ts +14 -0
  82. package/es/steps/styles/light.js +16 -2
  83. package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
  84. package/es/themes/dark.js +2 -0
  85. package/es/themes/light.js +2 -0
  86. package/es/toggle-button/src/ToggleButton.d.ts +13 -0
  87. package/es/toggle-button/src/ToggleButton.js +5 -2
  88. package/es/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  89. package/es/typography/src/a.d.ts +27 -0
  90. package/es/typography/src/a.js +4 -1
  91. package/es/typography/src/blockquote.d.ts +27 -0
  92. package/es/typography/src/blockquote.js +4 -1
  93. package/es/typography/src/create-header.d.ts +27 -0
  94. package/es/typography/src/create-header.js +4 -1
  95. package/es/typography/src/headers.d.ts +108 -0
  96. package/es/typography/src/hr.d.ts +18 -0
  97. package/es/typography/src/hr.js +4 -0
  98. package/es/typography/src/li.js +4 -1
  99. package/es/typography/src/ol.d.ts +27 -0
  100. package/es/typography/src/ol.js +4 -1
  101. package/es/typography/src/p.d.ts +27 -0
  102. package/es/typography/src/p.js +4 -1
  103. package/es/typography/src/text.d.ts +128 -524
  104. package/es/typography/src/text.js +68 -69
  105. package/es/typography/src/ul.d.ts +27 -0
  106. package/es/typography/src/ul.js +4 -1
  107. package/es/typography/styles/light.d.ts +3 -0
  108. package/es/typography/styles/light.js +3 -0
  109. package/es/version.d.ts +1 -1
  110. package/es/version.js +1 -1
  111. package/lib/_internal/index.d.ts +2 -0
  112. package/lib/_internal/index.js +4 -1
  113. package/lib/_internal/typography/index.d.ts +2 -0
  114. package/lib/_internal/typography/index.js +9 -0
  115. package/lib/_internal/typography/src/styles/text.cssr.d.ts +2 -0
  116. package/lib/_internal/typography/src/styles/text.cssr.js +83 -0
  117. package/lib/_internal/typography/src/text.d.ts +246 -0
  118. package/lib/_internal/typography/src/text.js +85 -0
  119. package/lib/_internal/typography/src/variants.d.ts +13 -0
  120. package/lib/_internal/typography/src/variants.js +137 -0
  121. package/lib/_internal/typography/styles/dark.d.ts +3 -0
  122. package/lib/_internal/typography/styles/dark.js +10 -0
  123. package/lib/_internal/typography/styles/index.d.ts +3 -0
  124. package/lib/_internal/typography/styles/index.js +10 -0
  125. package/lib/_internal/typography/styles/light.d.ts +24 -0
  126. package/lib/_internal/typography/styles/light.js +32 -0
  127. package/lib/_styles/common/_common.d.ts +2 -0
  128. package/lib/_styles/common/_common.js +3 -1
  129. package/lib/_styles/common/light.d.ts +2 -0
  130. package/lib/action-card/index.d.ts +4 -0
  131. package/lib/action-card/index.js +11 -0
  132. package/lib/action-card/src/ActionCard.d.ts +313 -0
  133. package/lib/action-card/src/ActionCard.js +107 -0
  134. package/lib/action-card/src/styles/index.cssr.d.ts +2 -0
  135. package/lib/action-card/src/styles/index.cssr.js +118 -0
  136. package/lib/action-card/styles/dark.d.ts +3 -0
  137. package/lib/action-card/styles/dark.js +13 -0
  138. package/lib/action-card/styles/index.d.ts +3 -0
  139. package/lib/action-card/styles/index.js +10 -0
  140. package/lib/action-card/styles/light.d.ts +29 -0
  141. package/lib/action-card/styles/light.js +37 -0
  142. package/lib/avatar/src/Avatar.d.ts +13 -3
  143. package/lib/avatar/src/Avatar.js +4 -3
  144. package/lib/avatar/src/styles/index.cssr.js +3 -2
  145. package/lib/avatar/styles/light.d.ts +1 -0
  146. package/lib/avatar/styles/light.js +4 -3
  147. package/lib/avatar-group/src/AvatarGroup.d.ts +10 -0
  148. package/lib/avatar-group/styles/light.d.ts +1 -0
  149. package/lib/badge/src/Badge.d.ts +10 -0
  150. package/lib/badge/src/Badge.js +3 -2
  151. package/lib/badge/src/styles/index.cssr.js +19 -1
  152. package/lib/badge/styles/light.d.ts +1 -0
  153. package/lib/badge/styles/light.js +4 -3
  154. package/lib/components.d.ts +1 -0
  155. package/lib/components.js +1 -0
  156. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  157. package/lib/data-table/src/DataTable.d.ts +14 -0
  158. package/lib/data-table/src/DataTable.js +3 -3
  159. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
  160. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
  161. package/lib/data-table/src/TableParts/Body.d.ts +2 -0
  162. package/lib/data-table/src/TableParts/Body.js +10 -1
  163. package/lib/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
  164. package/lib/data-table/src/TableParts/BodySkeleton.js +54 -0
  165. package/lib/data-table/src/TableParts/Header.d.ts +2 -0
  166. package/lib/data-table/src/interface.d.ts +6 -0
  167. package/lib/data-table/src/styles/index.cssr.js +1 -1
  168. package/lib/data-table/styles/light.d.ts +2 -0
  169. package/lib/data-table/styles/light.js +1 -1
  170. package/lib/dialog/src/DialogProvider.d.ts +4 -0
  171. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  172. package/lib/modal/src/BodyWrapper.d.ts +1 -0
  173. package/lib/modal/src/Modal.d.ts +9 -0
  174. package/lib/modal/styles/light.d.ts +2 -0
  175. package/lib/modal/styles/light.js +2 -1
  176. package/lib/pagination/src/Pagination.d.ts +22 -0
  177. package/lib/pagination/src/Pagination.js +4 -2
  178. package/lib/pagination/src/styles/index.cssr.js +11 -0
  179. package/lib/pagination/styles/light.d.ts +4 -0
  180. package/lib/pagination/styles/light.js +7 -5
  181. package/lib/spin/styles/light.js +3 -3
  182. package/lib/steps/src/Step.d.ts +17 -0
  183. package/lib/steps/src/Step.js +81 -25
  184. package/lib/steps/src/Steps.d.ts +127 -1
  185. package/lib/steps/src/Steps.js +4 -1
  186. package/lib/steps/src/interface.d.ts +10 -2
  187. package/lib/steps/src/interface.js +11 -0
  188. package/lib/steps/src/styles/index.cssr.js +115 -3
  189. package/lib/steps/styles/light.d.ts +14 -0
  190. package/lib/steps/styles/light.js +16 -2
  191. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
  192. package/lib/themes/dark.js +2 -0
  193. package/lib/themes/light.js +2 -0
  194. package/lib/toggle-button/src/ToggleButton.d.ts +13 -0
  195. package/lib/toggle-button/src/ToggleButton.js +5 -2
  196. package/lib/toggle-button/src/styles/toggle-button.cssr.js +3 -0
  197. package/lib/typography/src/a.d.ts +27 -0
  198. package/lib/typography/src/a.js +3 -0
  199. package/lib/typography/src/blockquote.d.ts +27 -0
  200. package/lib/typography/src/blockquote.js +3 -0
  201. package/lib/typography/src/create-header.d.ts +27 -0
  202. package/lib/typography/src/create-header.js +3 -0
  203. package/lib/typography/src/headers.d.ts +108 -0
  204. package/lib/typography/src/hr.d.ts +18 -0
  205. package/lib/typography/src/hr.js +4 -0
  206. package/lib/typography/src/li.js +3 -0
  207. package/lib/typography/src/ol.d.ts +27 -0
  208. package/lib/typography/src/ol.js +3 -0
  209. package/lib/typography/src/p.d.ts +27 -0
  210. package/lib/typography/src/p.js +3 -0
  211. package/lib/typography/src/text.d.ts +128 -524
  212. package/lib/typography/src/text.js +66 -70
  213. package/lib/typography/src/ul.d.ts +27 -0
  214. package/lib/typography/src/ul.js +3 -0
  215. package/lib/typography/styles/light.d.ts +3 -0
  216. package/lib/typography/styles/light.js +3 -0
  217. package/lib/version.d.ts +1 -1
  218. package/lib/version.js +1 -1
  219. package/package.json +1 -1
  220. package/volar.d.ts +1 -0
  221. package/web-types.json +126 -96
@@ -1,82 +1,78 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
4
12
  };
5
13
  Object.defineProperty(exports, "__esModule", { value: true });
6
14
  exports.textProps = void 0;
7
15
  const vue_1 = require("vue");
8
16
  const vooks_1 = require("vooks");
9
- const _mixins_1 = require("../../_mixins");
10
- const _utils_1 = require("../../_utils");
11
- const styles_1 = require("../styles");
12
- const text_cssr_1 = __importDefault(require("./styles/text.cssr"));
13
- exports.textProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { code: Boolean, type: {
14
- type: String,
15
- default: 'default'
16
- }, delete: Boolean, strong: Boolean, italic: Boolean, underline: Boolean, depth: [String, Number], tag: String,
17
- // deprecated
18
- as: {
19
- type: String,
20
- validator: () => {
21
- if (process.env.NODE_ENV !== 'production') {
22
- (0, _utils_1.warn)('text', '`as` is deprecated, please use `tag` instead.');
23
- }
24
- return true;
25
- },
26
- default: undefined
27
- } });
17
+ const _internal_1 = require("../../_internal");
18
+ exports.textProps = _internal_1.internalTextProps;
28
19
  exports.default = (0, vue_1.defineComponent)({
29
20
  name: 'Text',
30
- props: exports.textProps,
31
- setup(props) {
32
- const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
33
- const themeRef = (0, _mixins_1.useTheme)('Typography', '-text', text_cssr_1.default, styles_1.typographyLight, props, mergedClsPrefixRef);
34
- const cssVarsRef = (0, vue_1.computed)(() => {
35
- const { depth, type } = props;
36
- const textColorKey = type === 'default'
37
- ? depth === undefined
38
- ? 'textColor'
39
- : `textColor${depth}Depth`
40
- : (0, _utils_1.createKey)('textColor', type);
41
- const { common: { fontWeightStrong, fontFamilyMono, cubicBezierEaseInOut }, self: { codeTextColor, codeBorderRadius, codeColor, codeBorder, [textColorKey]: textColor } } = themeRef.value;
42
- return {
43
- '--u-bezier': cubicBezierEaseInOut,
44
- '--u-text-color': textColor,
45
- '--u-font-weight-strong': fontWeightStrong,
46
- '--u-font-famliy-mono': fontFamilyMono,
47
- '--u-code-border-radius': codeBorderRadius,
48
- '--u-code-text-color': codeTextColor,
49
- '--u-code-color': codeColor,
50
- '--u-code-border': codeBorder
51
- };
21
+ props: Object.assign(Object.assign({}, exports.textProps), {
22
+ // deprecated
23
+ code: {
24
+ type: Boolean,
25
+ validator: (value) => {
26
+ if (process.env.NODE_ENV !== 'production' && value) {
27
+ (0, vue_1.warn)('text', '`code` is deprecated, please use tag="code" instead');
28
+ }
29
+ return true;
30
+ }
31
+ }, as: {
32
+ type: String,
33
+ validator: (value) => {
34
+ if (process.env.NODE_ENV !== 'production' && value) {
35
+ (0, vue_1.warn)('text', '`as` is deprecated, please use `tag` instead.');
36
+ }
37
+ return true;
38
+ },
39
+ default: undefined
40
+ }, delete: {
41
+ type: Boolean,
42
+ validator: (value) => {
43
+ if (process.env.NODE_ENV !== 'production' && value) {
44
+ (0, vue_1.warn)('text', '`delete` is deprecated, please use tag="del" instead');
45
+ }
46
+ return true;
47
+ }
48
+ }, depth: {
49
+ type: [String, Number],
50
+ validator: (value) => {
51
+ if (process.env.NODE_ENV !== 'production' && value) {
52
+ (0, vue_1.warn)('text', '`depth` is deprecated, please use custom classes to define styles');
53
+ }
54
+ return true;
55
+ }
56
+ } }),
57
+ setup(props, { slots, attrs }) {
58
+ const compitableTagRef = (0, vooks_1.useCompitable)(props, ['as', 'tag']);
59
+ // deprecated props
60
+ const finalTagRef = (0, vue_1.computed)(() => {
61
+ // Priority: explicit tag > as > code > delete > default
62
+ if (compitableTagRef.value) {
63
+ return compitableTagRef.value;
64
+ }
65
+ if (props.code) {
66
+ return 'code';
67
+ }
68
+ if (props.delete) {
69
+ return 'del';
70
+ }
71
+ return undefined;
52
72
  });
53
- const themeClassHandle = inlineThemeDisabled
54
- ? (0, _mixins_1.useThemeClass)('text', (0, vue_1.computed)(() => `${props.type[0]}${props.depth || ''}`), cssVarsRef, props)
55
- : undefined;
56
- return {
57
- mergedClsPrefix: mergedClsPrefixRef,
58
- compitableTag: (0, vooks_1.useCompitable)(props, ['as', 'tag']),
59
- cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
60
- themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
61
- onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
73
+ return () => {
74
+ const { code, as, delete: deleteProp, depth } = props, validProps = __rest(props, ["code", "as", "delete", "depth"]);
75
+ return (0, vue_1.h)(_internal_1.InternalUText, Object.assign(Object.assign(Object.assign({}, validProps), attrs), { tag: finalTagRef.value }), slots);
62
76
  };
63
- },
64
- render() {
65
- var _a, _b, _c;
66
- const { mergedClsPrefix } = this;
67
- (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
68
- const textClass = [
69
- `${mergedClsPrefix}-text`,
70
- this.themeClass,
71
- {
72
- [`${mergedClsPrefix}-text--code`]: this.code,
73
- [`${mergedClsPrefix}-text--delete`]: this.delete,
74
- [`${mergedClsPrefix}-text--strong`]: this.strong,
75
- [`${mergedClsPrefix}-text--italic`]: this.italic,
76
- [`${mergedClsPrefix}-text--underline`]: this.underline
77
- }
78
- ];
79
- const children = (_c = (_b = this.$slots).default) === null || _c === void 0 ? void 0 : _c.call(_b);
80
- return this.code ? ((0, vue_1.h)("code", { class: textClass, style: this.cssVars }, this.delete ? (0, vue_1.h)("del", null, children) : children)) : this.delete ? ((0, vue_1.h)("del", { class: textClass, style: this.cssVars }, children)) : ((0, vue_1.h)(this.compitableTag || 'span', { class: textClass, style: this.cssVars }, children));
81
77
  }
82
78
  });
@@ -27,6 +27,7 @@ export declare const ulProps: {
27
27
  headerBarWidth5: string;
28
28
  headerBarWidth6: string;
29
29
  pMargin: string;
30
+ margin: string;
30
31
  liMargin: string;
31
32
  olPadding: string;
32
33
  ulPadding: string;
@@ -48,6 +49,8 @@ export declare const ulProps: {
48
49
  pTextColor3Depth: string;
49
50
  pLineHeight: string;
50
51
  pFontSize: string;
52
+ fontSize: string;
53
+ lineHeight: string;
51
54
  headerBarColor: string;
52
55
  headerBarColorPrimary: string;
53
56
  headerBarColorInfo: string;
@@ -93,6 +96,7 @@ export declare const ulProps: {
93
96
  headerBarWidth5: string;
94
97
  headerBarWidth6: string;
95
98
  pMargin: string;
99
+ margin: string;
96
100
  liMargin: string;
97
101
  olPadding: string;
98
102
  ulPadding: string;
@@ -114,6 +118,8 @@ export declare const ulProps: {
114
118
  pTextColor3Depth: string;
115
119
  pLineHeight: string;
116
120
  pFontSize: string;
121
+ fontSize: string;
122
+ lineHeight: string;
117
123
  headerBarColor: string;
118
124
  headerBarColorPrimary: string;
119
125
  headerBarColorInfo: string;
@@ -159,6 +165,7 @@ export declare const ulProps: {
159
165
  headerBarWidth5: string;
160
166
  headerBarWidth6: string;
161
167
  pMargin: string;
168
+ margin: string;
162
169
  liMargin: string;
163
170
  olPadding: string;
164
171
  ulPadding: string;
@@ -180,6 +187,8 @@ export declare const ulProps: {
180
187
  pTextColor3Depth: string;
181
188
  pLineHeight: string;
182
189
  pFontSize: string;
190
+ fontSize: string;
191
+ lineHeight: string;
183
192
  headerBarColor: string;
184
193
  headerBarColorPrimary: string;
185
194
  headerBarColorInfo: string;
@@ -229,6 +238,7 @@ declare const _default: import("vue").DefineComponent<{
229
238
  headerBarWidth5: string;
230
239
  headerBarWidth6: string;
231
240
  pMargin: string;
241
+ margin: string;
232
242
  liMargin: string;
233
243
  olPadding: string;
234
244
  ulPadding: string;
@@ -250,6 +260,8 @@ declare const _default: import("vue").DefineComponent<{
250
260
  pTextColor3Depth: string;
251
261
  pLineHeight: string;
252
262
  pFontSize: string;
263
+ fontSize: string;
264
+ lineHeight: string;
253
265
  headerBarColor: string;
254
266
  headerBarColorPrimary: string;
255
267
  headerBarColorInfo: string;
@@ -295,6 +307,7 @@ declare const _default: import("vue").DefineComponent<{
295
307
  headerBarWidth5: string;
296
308
  headerBarWidth6: string;
297
309
  pMargin: string;
310
+ margin: string;
298
311
  liMargin: string;
299
312
  olPadding: string;
300
313
  ulPadding: string;
@@ -316,6 +329,8 @@ declare const _default: import("vue").DefineComponent<{
316
329
  pTextColor3Depth: string;
317
330
  pLineHeight: string;
318
331
  pFontSize: string;
332
+ fontSize: string;
333
+ lineHeight: string;
319
334
  headerBarColor: string;
320
335
  headerBarColorPrimary: string;
321
336
  headerBarColorInfo: string;
@@ -361,6 +376,7 @@ declare const _default: import("vue").DefineComponent<{
361
376
  headerBarWidth5: string;
362
377
  headerBarWidth6: string;
363
378
  pMargin: string;
379
+ margin: string;
364
380
  liMargin: string;
365
381
  olPadding: string;
366
382
  ulPadding: string;
@@ -382,6 +398,8 @@ declare const _default: import("vue").DefineComponent<{
382
398
  pTextColor3Depth: string;
383
399
  pLineHeight: string;
384
400
  pFontSize: string;
401
+ fontSize: string;
402
+ lineHeight: string;
385
403
  headerBarColor: string;
386
404
  headerBarColorPrimary: string;
387
405
  headerBarColorInfo: string;
@@ -442,6 +460,7 @@ declare const _default: import("vue").DefineComponent<{
442
460
  headerBarWidth5: string;
443
461
  headerBarWidth6: string;
444
462
  pMargin: string;
463
+ margin: string;
445
464
  liMargin: string;
446
465
  olPadding: string;
447
466
  ulPadding: string;
@@ -463,6 +482,8 @@ declare const _default: import("vue").DefineComponent<{
463
482
  pTextColor3Depth: string;
464
483
  pLineHeight: string;
465
484
  pFontSize: string;
485
+ fontSize: string;
486
+ lineHeight: string;
466
487
  headerBarColor: string;
467
488
  headerBarColorPrimary: string;
468
489
  headerBarColorInfo: string;
@@ -508,6 +529,7 @@ declare const _default: import("vue").DefineComponent<{
508
529
  headerBarWidth5: string;
509
530
  headerBarWidth6: string;
510
531
  pMargin: string;
532
+ margin: string;
511
533
  liMargin: string;
512
534
  olPadding: string;
513
535
  ulPadding: string;
@@ -529,6 +551,8 @@ declare const _default: import("vue").DefineComponent<{
529
551
  pTextColor3Depth: string;
530
552
  pLineHeight: string;
531
553
  pFontSize: string;
554
+ fontSize: string;
555
+ lineHeight: string;
532
556
  headerBarColor: string;
533
557
  headerBarColorPrimary: string;
534
558
  headerBarColorInfo: string;
@@ -574,6 +598,7 @@ declare const _default: import("vue").DefineComponent<{
574
598
  headerBarWidth5: string;
575
599
  headerBarWidth6: string;
576
600
  pMargin: string;
601
+ margin: string;
577
602
  liMargin: string;
578
603
  olPadding: string;
579
604
  ulPadding: string;
@@ -595,6 +620,8 @@ declare const _default: import("vue").DefineComponent<{
595
620
  pTextColor3Depth: string;
596
621
  pLineHeight: string;
597
622
  pFontSize: string;
623
+ fontSize: string;
624
+ lineHeight: string;
598
625
  headerBarColor: string;
599
626
  headerBarColorPrimary: string;
600
627
  headerBarColorInfo: string;
@@ -13,6 +13,9 @@ exports.default = (0, vue_1.defineComponent)({
13
13
  name: 'Ul',
14
14
  props: exports.ulProps,
15
15
  setup(props) {
16
+ if (process.env.NODE_ENV !== 'production') {
17
+ (0, vue_1.warn)('ul', 'Ul component is deprecated, you should implement Ul locally in your component instead.');
18
+ }
16
19
  const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
17
20
  const themeRef = (0, _mixins_1.useTheme)('Typography', '-xl', list_cssr_1.default, styles_1.typographyLight, props, mergedClsPrefixRef);
18
21
  const cssVarsRef = (0, vue_1.computed)(() => {
@@ -26,6 +26,7 @@ export declare const self: (vars: ThemeCommonVars) => {
26
26
  headerBarWidth5: string;
27
27
  headerBarWidth6: string;
28
28
  pMargin: string;
29
+ margin: string;
29
30
  liMargin: string;
30
31
  olPadding: string;
31
32
  ulPadding: string;
@@ -47,6 +48,8 @@ export declare const self: (vars: ThemeCommonVars) => {
47
48
  pTextColor3Depth: string;
48
49
  pLineHeight: string;
49
50
  pFontSize: string;
51
+ fontSize: string;
52
+ lineHeight: string;
50
53
  headerBarColor: string;
51
54
  headerBarColorPrimary: string;
52
55
  headerBarColorInfo: string;
@@ -30,6 +30,7 @@ const self = (vars) => {
30
30
  headerBarWidth5: '3px',
31
31
  headerBarWidth6: '3px',
32
32
  pMargin: '16px 0 16px 0',
33
+ margin: '16px 0 16px 0',
33
34
  liMargin: '.25em 0 0 0',
34
35
  olPadding: '0 0 0 2em',
35
36
  ulPadding: '0 0 0 2em',
@@ -51,6 +52,8 @@ const self = (vars) => {
51
52
  pTextColor3Depth: textTertiary,
52
53
  pLineHeight: lineHeightBodyMedium,
53
54
  pFontSize: fontBodyMedium,
55
+ fontSize: fontBodyMedium,
56
+ lineHeight: lineHeightBodyMedium,
54
57
  headerBarColor: brandPrimary500,
55
58
  headerBarColorPrimary: brandPrimary500,
56
59
  headerBarColorInfo: brandQuaternary500,
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.4.2";
1
+ declare const _default: "1.5.1";
2
2
  export default _default;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '1.4.2';
3
+ exports.default = '1.5.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzum-tech/ui",
3
- "version": "1.4.2",
3
+ "version": "1.5.1",
4
4
  "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
package/volar.d.ts CHANGED
@@ -144,6 +144,7 @@ declare module 'vue' {
144
144
  UUploadFileList: typeof import('@uzum-tech/ui')['UUploadFileList']
145
145
  UUploadTrigger: typeof import('@uzum-tech/ui')['UUploadTrigger']
146
146
  UWatermark: typeof import('@uzum-tech/ui')['UWatermark']
147
+ UActionCard: typeof import('@uzum-tech/ui')['UActionCard']
147
148
  }
148
149
  }
149
150
  export {}