@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.
- package/dist/index.js +65404 -64355
- package/dist/index.prod.js +3 -3
- package/es/_internal/index.d.ts +2 -0
- package/es/_internal/index.js +1 -0
- package/es/_internal/typography/index.d.ts +2 -0
- package/es/_internal/typography/index.js +1 -0
- package/es/_internal/typography/src/styles/text.cssr.d.ts +2 -0
- package/es/_internal/typography/src/styles/text.cssr.js +78 -0
- package/es/_internal/typography/src/text.d.ts +246 -0
- package/es/_internal/typography/src/text.js +79 -0
- package/es/_internal/typography/src/variants.d.ts +13 -0
- package/es/_internal/typography/src/variants.js +132 -0
- package/es/_internal/typography/styles/dark.d.ts +3 -0
- package/es/_internal/typography/styles/dark.js +8 -0
- package/es/_internal/typography/styles/index.d.ts +3 -0
- package/es/_internal/typography/styles/index.js +2 -0
- package/es/_internal/typography/styles/light.d.ts +24 -0
- package/es/_internal/typography/styles/light.js +28 -0
- package/es/_styles/common/_common.d.ts +2 -0
- package/es/_styles/common/_common.js +3 -1
- package/es/_styles/common/light.d.ts +2 -0
- package/es/action-card/index.d.ts +4 -0
- package/es/action-card/index.js +2 -0
- package/es/action-card/src/ActionCard.d.ts +313 -0
- package/es/action-card/src/ActionCard.js +101 -0
- package/es/action-card/src/styles/index.cssr.d.ts +2 -0
- package/es/action-card/src/styles/index.cssr.js +113 -0
- package/es/action-card/styles/dark.d.ts +3 -0
- package/es/action-card/styles/dark.js +11 -0
- package/es/action-card/styles/index.d.ts +3 -0
- package/es/action-card/styles/index.js +2 -0
- package/es/action-card/styles/light.d.ts +29 -0
- package/es/action-card/styles/light.js +33 -0
- package/es/avatar/src/Avatar.d.ts +13 -3
- package/es/avatar/src/Avatar.js +4 -3
- package/es/avatar/src/styles/index.cssr.js +3 -2
- package/es/avatar/styles/light.d.ts +1 -0
- package/es/avatar/styles/light.js +4 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +10 -0
- package/es/avatar-group/styles/light.d.ts +1 -0
- package/es/badge/src/Badge.d.ts +10 -0
- package/es/badge/src/Badge.js +3 -2
- package/es/badge/src/styles/index.cssr.js +19 -1
- package/es/badge/styles/light.d.ts +1 -0
- package/es/badge/styles/light.js +4 -3
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +14 -0
- package/es/data-table/src/DataTable.js +3 -3
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.js +10 -1
- package/es/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
- package/es/data-table/src/TableParts/BodySkeleton.js +52 -0
- package/es/data-table/src/TableParts/Header.d.ts +2 -0
- package/es/data-table/src/interface.d.ts +6 -0
- package/es/data-table/src/styles/index.cssr.js +1 -1
- package/es/data-table/styles/light.d.ts +2 -0
- package/es/data-table/styles/light.js +1 -1
- package/es/dialog/src/DialogProvider.d.ts +4 -0
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +1 -0
- package/es/modal/src/Modal.d.ts +9 -0
- package/es/modal/styles/light.d.ts +2 -0
- package/es/modal/styles/light.js +2 -1
- package/es/pagination/src/Pagination.d.ts +22 -0
- package/es/pagination/src/Pagination.js +4 -2
- package/es/pagination/src/styles/index.cssr.js +11 -0
- package/es/pagination/styles/light.d.ts +4 -0
- package/es/pagination/styles/light.js +7 -5
- package/es/spin/styles/light.js +3 -3
- package/es/steps/src/Step.d.ts +17 -0
- package/es/steps/src/Step.js +81 -25
- package/es/steps/src/Steps.d.ts +127 -1
- package/es/steps/src/Steps.js +4 -1
- package/es/steps/src/interface.d.ts +10 -2
- package/es/steps/src/interface.js +10 -1
- package/es/steps/src/styles/index.cssr.js +115 -3
- package/es/steps/styles/light.d.ts +14 -0
- package/es/steps/styles/light.js +16 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/toggle-button/src/ToggleButton.d.ts +13 -0
- package/es/toggle-button/src/ToggleButton.js +5 -2
- package/es/toggle-button/src/styles/toggle-button.cssr.js +3 -0
- package/es/typography/src/a.d.ts +27 -0
- package/es/typography/src/a.js +4 -1
- package/es/typography/src/blockquote.d.ts +27 -0
- package/es/typography/src/blockquote.js +4 -1
- package/es/typography/src/create-header.d.ts +27 -0
- package/es/typography/src/create-header.js +4 -1
- package/es/typography/src/headers.d.ts +108 -0
- package/es/typography/src/hr.d.ts +18 -0
- package/es/typography/src/hr.js +4 -0
- package/es/typography/src/li.js +4 -1
- package/es/typography/src/ol.d.ts +27 -0
- package/es/typography/src/ol.js +4 -1
- package/es/typography/src/p.d.ts +27 -0
- package/es/typography/src/p.js +4 -1
- package/es/typography/src/text.d.ts +128 -524
- package/es/typography/src/text.js +68 -69
- package/es/typography/src/ul.d.ts +27 -0
- package/es/typography/src/ul.js +4 -1
- package/es/typography/styles/light.d.ts +3 -0
- package/es/typography/styles/light.js +3 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/index.js +4 -1
- package/lib/_internal/typography/index.d.ts +2 -0
- package/lib/_internal/typography/index.js +9 -0
- package/lib/_internal/typography/src/styles/text.cssr.d.ts +2 -0
- package/lib/_internal/typography/src/styles/text.cssr.js +83 -0
- package/lib/_internal/typography/src/text.d.ts +246 -0
- package/lib/_internal/typography/src/text.js +85 -0
- package/lib/_internal/typography/src/variants.d.ts +13 -0
- package/lib/_internal/typography/src/variants.js +137 -0
- package/lib/_internal/typography/styles/dark.d.ts +3 -0
- package/lib/_internal/typography/styles/dark.js +10 -0
- package/lib/_internal/typography/styles/index.d.ts +3 -0
- package/lib/_internal/typography/styles/index.js +10 -0
- package/lib/_internal/typography/styles/light.d.ts +24 -0
- package/lib/_internal/typography/styles/light.js +32 -0
- package/lib/_styles/common/_common.d.ts +2 -0
- package/lib/_styles/common/_common.js +3 -1
- package/lib/_styles/common/light.d.ts +2 -0
- package/lib/action-card/index.d.ts +4 -0
- package/lib/action-card/index.js +11 -0
- package/lib/action-card/src/ActionCard.d.ts +313 -0
- package/lib/action-card/src/ActionCard.js +107 -0
- package/lib/action-card/src/styles/index.cssr.d.ts +2 -0
- package/lib/action-card/src/styles/index.cssr.js +118 -0
- package/lib/action-card/styles/dark.d.ts +3 -0
- package/lib/action-card/styles/dark.js +13 -0
- package/lib/action-card/styles/index.d.ts +3 -0
- package/lib/action-card/styles/index.js +10 -0
- package/lib/action-card/styles/light.d.ts +29 -0
- package/lib/action-card/styles/light.js +37 -0
- package/lib/avatar/src/Avatar.d.ts +13 -3
- package/lib/avatar/src/Avatar.js +4 -3
- package/lib/avatar/src/styles/index.cssr.js +3 -2
- package/lib/avatar/styles/light.d.ts +1 -0
- package/lib/avatar/styles/light.js +4 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +10 -0
- package/lib/avatar-group/styles/light.d.ts +1 -0
- package/lib/badge/src/Badge.d.ts +10 -0
- package/lib/badge/src/Badge.js +3 -2
- package/lib/badge/src/styles/index.cssr.js +19 -1
- package/lib/badge/styles/light.d.ts +1 -0
- package/lib/badge/styles/light.js +4 -3
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +14 -0
- package/lib/data-table/src/DataTable.js +3 -3
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.js +10 -1
- package/lib/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
- package/lib/data-table/src/TableParts/BodySkeleton.js +54 -0
- package/lib/data-table/src/TableParts/Header.d.ts +2 -0
- package/lib/data-table/src/interface.d.ts +6 -0
- package/lib/data-table/src/styles/index.cssr.js +1 -1
- package/lib/data-table/styles/light.d.ts +2 -0
- package/lib/data-table/styles/light.js +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +4 -0
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +1 -0
- package/lib/modal/src/Modal.d.ts +9 -0
- package/lib/modal/styles/light.d.ts +2 -0
- package/lib/modal/styles/light.js +2 -1
- package/lib/pagination/src/Pagination.d.ts +22 -0
- package/lib/pagination/src/Pagination.js +4 -2
- package/lib/pagination/src/styles/index.cssr.js +11 -0
- package/lib/pagination/styles/light.d.ts +4 -0
- package/lib/pagination/styles/light.js +7 -5
- package/lib/spin/styles/light.js +3 -3
- package/lib/steps/src/Step.d.ts +17 -0
- package/lib/steps/src/Step.js +81 -25
- package/lib/steps/src/Steps.d.ts +127 -1
- package/lib/steps/src/Steps.js +4 -1
- package/lib/steps/src/interface.d.ts +10 -2
- package/lib/steps/src/interface.js +11 -0
- package/lib/steps/src/styles/index.cssr.js +115 -3
- package/lib/steps/styles/light.d.ts +14 -0
- package/lib/steps/styles/light.js +16 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/lib/themes/dark.js +2 -0
- package/lib/themes/light.js +2 -0
- package/lib/toggle-button/src/ToggleButton.d.ts +13 -0
- package/lib/toggle-button/src/ToggleButton.js +5 -2
- package/lib/toggle-button/src/styles/toggle-button.cssr.js +3 -0
- package/lib/typography/src/a.d.ts +27 -0
- package/lib/typography/src/a.js +3 -0
- package/lib/typography/src/blockquote.d.ts +27 -0
- package/lib/typography/src/blockquote.js +3 -0
- package/lib/typography/src/create-header.d.ts +27 -0
- package/lib/typography/src/create-header.js +3 -0
- package/lib/typography/src/headers.d.ts +108 -0
- package/lib/typography/src/hr.d.ts +18 -0
- package/lib/typography/src/hr.js +4 -0
- package/lib/typography/src/li.js +3 -0
- package/lib/typography/src/ol.d.ts +27 -0
- package/lib/typography/src/ol.js +3 -0
- package/lib/typography/src/p.d.ts +27 -0
- package/lib/typography/src/p.js +3 -0
- package/lib/typography/src/text.d.ts +128 -524
- package/lib/typography/src/text.js +66 -70
- package/lib/typography/src/ul.d.ts +27 -0
- package/lib/typography/src/ul.js +3 -0
- package/lib/typography/styles/light.d.ts +3 -0
- package/lib/typography/styles/light.js +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/web-types.json +126 -96
|
@@ -27,6 +27,7 @@ export declare const blockquoteProps: {
|
|
|
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 blockquoteProps: {
|
|
|
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 blockquoteProps: {
|
|
|
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 blockquoteProps: {
|
|
|
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 blockquoteProps: {
|
|
|
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 blockquoteProps: {
|
|
|
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;
|
|
@@ -440,6 +458,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
440
458
|
headerBarWidth5: string;
|
|
441
459
|
headerBarWidth6: string;
|
|
442
460
|
pMargin: string;
|
|
461
|
+
margin: string;
|
|
443
462
|
liMargin: string;
|
|
444
463
|
olPadding: string;
|
|
445
464
|
ulPadding: string;
|
|
@@ -461,6 +480,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
461
480
|
pTextColor3Depth: string;
|
|
462
481
|
pLineHeight: string;
|
|
463
482
|
pFontSize: string;
|
|
483
|
+
fontSize: string;
|
|
484
|
+
lineHeight: string;
|
|
464
485
|
headerBarColor: string;
|
|
465
486
|
headerBarColorPrimary: string;
|
|
466
487
|
headerBarColorInfo: string;
|
|
@@ -506,6 +527,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
506
527
|
headerBarWidth5: string;
|
|
507
528
|
headerBarWidth6: string;
|
|
508
529
|
pMargin: string;
|
|
530
|
+
margin: string;
|
|
509
531
|
liMargin: string;
|
|
510
532
|
olPadding: string;
|
|
511
533
|
ulPadding: string;
|
|
@@ -527,6 +549,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
527
549
|
pTextColor3Depth: string;
|
|
528
550
|
pLineHeight: string;
|
|
529
551
|
pFontSize: string;
|
|
552
|
+
fontSize: string;
|
|
553
|
+
lineHeight: string;
|
|
530
554
|
headerBarColor: string;
|
|
531
555
|
headerBarColorPrimary: string;
|
|
532
556
|
headerBarColorInfo: string;
|
|
@@ -572,6 +596,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
572
596
|
headerBarWidth5: string;
|
|
573
597
|
headerBarWidth6: string;
|
|
574
598
|
pMargin: string;
|
|
599
|
+
margin: string;
|
|
575
600
|
liMargin: string;
|
|
576
601
|
olPadding: string;
|
|
577
602
|
ulPadding: string;
|
|
@@ -593,6 +618,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
593
618
|
pTextColor3Depth: string;
|
|
594
619
|
pLineHeight: string;
|
|
595
620
|
pFontSize: string;
|
|
621
|
+
fontSize: string;
|
|
622
|
+
lineHeight: string;
|
|
596
623
|
headerBarColor: string;
|
|
597
624
|
headerBarColorPrimary: string;
|
|
598
625
|
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 style from './styles/blockquote.cssr';
|
|
4
4
|
import { typographyLight } from '../styles';
|
|
@@ -7,6 +7,9 @@ export default defineComponent({
|
|
|
7
7
|
name: 'Blockquote',
|
|
8
8
|
props: blockquoteProps,
|
|
9
9
|
setup(props) {
|
|
10
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
11
|
+
warn('blockquote', 'Blockquote component is deprecated, you should implement Blockquote locally in your component instead.');
|
|
12
|
+
}
|
|
10
13
|
const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
|
|
11
14
|
const themeRef = useTheme('Typography', '-blockquote', style, typographyLight, props, mergedClsPrefixRef);
|
|
12
15
|
const cssVarsRef = computed(() => {
|
|
@@ -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(() => {
|