@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
package/es/typography/src/li.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { defineComponent, h } from 'vue';
|
|
1
|
+
import { defineComponent, h, warn } from 'vue';
|
|
2
2
|
export default defineComponent({
|
|
3
3
|
name: 'Li',
|
|
4
4
|
render() {
|
|
5
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
6
|
+
warn('li', 'Li component is deprecated, you should implement Li locally in your component instead.');
|
|
7
|
+
}
|
|
5
8
|
return h("li", null, this.$slots);
|
|
6
9
|
}
|
|
7
10
|
});
|
|
@@ -27,6 +27,7 @@ export declare const olProps: {
|
|
|
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 olProps: {
|
|
|
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 olProps: {
|
|
|
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 olProps: {
|
|
|
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 olProps: {
|
|
|
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 olProps: {
|
|
|
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;
|
package/es/typography/src/ol.js
CHANGED
|
@@ -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 { typographyLight } from '../styles';
|
|
4
4
|
import style from './styles/list.cssr';
|
|
@@ -7,6 +7,9 @@ export default defineComponent({
|
|
|
7
7
|
name: 'Ol',
|
|
8
8
|
props: olProps,
|
|
9
9
|
setup(props) {
|
|
10
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
11
|
+
warn('ol', 'Ol component is deprecated, you should implement Ol locally in your component instead.');
|
|
12
|
+
}
|
|
10
13
|
const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
|
|
11
14
|
const themeRef = useTheme('Typography', '-xl', style, typographyLight, props, mergedClsPrefixRef);
|
|
12
15
|
const cssVarsRef = computed(() => {
|
package/es/typography/src/p.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export declare const pProps: {
|
|
|
28
28
|
headerBarWidth5: string;
|
|
29
29
|
headerBarWidth6: string;
|
|
30
30
|
pMargin: string;
|
|
31
|
+
margin: string;
|
|
31
32
|
liMargin: string;
|
|
32
33
|
olPadding: string;
|
|
33
34
|
ulPadding: string;
|
|
@@ -49,6 +50,8 @@ export declare const pProps: {
|
|
|
49
50
|
pTextColor3Depth: string;
|
|
50
51
|
pLineHeight: string;
|
|
51
52
|
pFontSize: string;
|
|
53
|
+
fontSize: string;
|
|
54
|
+
lineHeight: string;
|
|
52
55
|
headerBarColor: string;
|
|
53
56
|
headerBarColorPrimary: string;
|
|
54
57
|
headerBarColorInfo: string;
|
|
@@ -94,6 +97,7 @@ export declare const pProps: {
|
|
|
94
97
|
headerBarWidth5: string;
|
|
95
98
|
headerBarWidth6: string;
|
|
96
99
|
pMargin: string;
|
|
100
|
+
margin: string;
|
|
97
101
|
liMargin: string;
|
|
98
102
|
olPadding: string;
|
|
99
103
|
ulPadding: string;
|
|
@@ -115,6 +119,8 @@ export declare const pProps: {
|
|
|
115
119
|
pTextColor3Depth: string;
|
|
116
120
|
pLineHeight: string;
|
|
117
121
|
pFontSize: string;
|
|
122
|
+
fontSize: string;
|
|
123
|
+
lineHeight: string;
|
|
118
124
|
headerBarColor: string;
|
|
119
125
|
headerBarColorPrimary: string;
|
|
120
126
|
headerBarColorInfo: string;
|
|
@@ -160,6 +166,7 @@ export declare const pProps: {
|
|
|
160
166
|
headerBarWidth5: string;
|
|
161
167
|
headerBarWidth6: string;
|
|
162
168
|
pMargin: string;
|
|
169
|
+
margin: string;
|
|
163
170
|
liMargin: string;
|
|
164
171
|
olPadding: string;
|
|
165
172
|
ulPadding: string;
|
|
@@ -181,6 +188,8 @@ export declare const pProps: {
|
|
|
181
188
|
pTextColor3Depth: string;
|
|
182
189
|
pLineHeight: string;
|
|
183
190
|
pFontSize: string;
|
|
191
|
+
fontSize: string;
|
|
192
|
+
lineHeight: string;
|
|
184
193
|
headerBarColor: string;
|
|
185
194
|
headerBarColorPrimary: string;
|
|
186
195
|
headerBarColorInfo: string;
|
|
@@ -230,6 +239,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
230
239
|
headerBarWidth5: string;
|
|
231
240
|
headerBarWidth6: string;
|
|
232
241
|
pMargin: string;
|
|
242
|
+
margin: string;
|
|
233
243
|
liMargin: string;
|
|
234
244
|
olPadding: string;
|
|
235
245
|
ulPadding: string;
|
|
@@ -251,6 +261,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
251
261
|
pTextColor3Depth: string;
|
|
252
262
|
pLineHeight: string;
|
|
253
263
|
pFontSize: string;
|
|
264
|
+
fontSize: string;
|
|
265
|
+
lineHeight: string;
|
|
254
266
|
headerBarColor: string;
|
|
255
267
|
headerBarColorPrimary: string;
|
|
256
268
|
headerBarColorInfo: string;
|
|
@@ -296,6 +308,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
296
308
|
headerBarWidth5: string;
|
|
297
309
|
headerBarWidth6: string;
|
|
298
310
|
pMargin: string;
|
|
311
|
+
margin: string;
|
|
299
312
|
liMargin: string;
|
|
300
313
|
olPadding: string;
|
|
301
314
|
ulPadding: string;
|
|
@@ -317,6 +330,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
330
|
pTextColor3Depth: string;
|
|
318
331
|
pLineHeight: string;
|
|
319
332
|
pFontSize: string;
|
|
333
|
+
fontSize: string;
|
|
334
|
+
lineHeight: string;
|
|
320
335
|
headerBarColor: string;
|
|
321
336
|
headerBarColorPrimary: string;
|
|
322
337
|
headerBarColorInfo: string;
|
|
@@ -362,6 +377,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
362
377
|
headerBarWidth5: string;
|
|
363
378
|
headerBarWidth6: string;
|
|
364
379
|
pMargin: string;
|
|
380
|
+
margin: string;
|
|
365
381
|
liMargin: string;
|
|
366
382
|
olPadding: string;
|
|
367
383
|
ulPadding: string;
|
|
@@ -383,6 +399,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
383
399
|
pTextColor3Depth: string;
|
|
384
400
|
pLineHeight: string;
|
|
385
401
|
pFontSize: string;
|
|
402
|
+
fontSize: string;
|
|
403
|
+
lineHeight: string;
|
|
386
404
|
headerBarColor: string;
|
|
387
405
|
headerBarColorPrimary: string;
|
|
388
406
|
headerBarColorInfo: string;
|
|
@@ -441,6 +459,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
441
459
|
headerBarWidth5: string;
|
|
442
460
|
headerBarWidth6: string;
|
|
443
461
|
pMargin: string;
|
|
462
|
+
margin: string;
|
|
444
463
|
liMargin: string;
|
|
445
464
|
olPadding: string;
|
|
446
465
|
ulPadding: string;
|
|
@@ -462,6 +481,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
462
481
|
pTextColor3Depth: string;
|
|
463
482
|
pLineHeight: string;
|
|
464
483
|
pFontSize: string;
|
|
484
|
+
fontSize: string;
|
|
485
|
+
lineHeight: string;
|
|
465
486
|
headerBarColor: string;
|
|
466
487
|
headerBarColorPrimary: string;
|
|
467
488
|
headerBarColorInfo: string;
|
|
@@ -507,6 +528,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
507
528
|
headerBarWidth5: string;
|
|
508
529
|
headerBarWidth6: string;
|
|
509
530
|
pMargin: string;
|
|
531
|
+
margin: string;
|
|
510
532
|
liMargin: string;
|
|
511
533
|
olPadding: string;
|
|
512
534
|
ulPadding: string;
|
|
@@ -528,6 +550,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
528
550
|
pTextColor3Depth: string;
|
|
529
551
|
pLineHeight: string;
|
|
530
552
|
pFontSize: string;
|
|
553
|
+
fontSize: string;
|
|
554
|
+
lineHeight: string;
|
|
531
555
|
headerBarColor: string;
|
|
532
556
|
headerBarColorPrimary: string;
|
|
533
557
|
headerBarColorInfo: string;
|
|
@@ -573,6 +597,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
573
597
|
headerBarWidth5: string;
|
|
574
598
|
headerBarWidth6: string;
|
|
575
599
|
pMargin: string;
|
|
600
|
+
margin: string;
|
|
576
601
|
liMargin: string;
|
|
577
602
|
olPadding: string;
|
|
578
603
|
ulPadding: string;
|
|
@@ -594,6 +619,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
594
619
|
pTextColor3Depth: string;
|
|
595
620
|
pLineHeight: string;
|
|
596
621
|
pFontSize: string;
|
|
622
|
+
fontSize: string;
|
|
623
|
+
lineHeight: string;
|
|
597
624
|
headerBarColor: string;
|
|
598
625
|
headerBarColorPrimary: string;
|
|
599
626
|
headerBarColorInfo: string;
|
package/es/typography/src/p.js
CHANGED
|
@@ -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 { typographyLight } from '../styles';
|
|
4
4
|
import style from './styles/p.cssr';
|
|
@@ -7,6 +7,9 @@ export default defineComponent({
|
|
|
7
7
|
name: 'P',
|
|
8
8
|
props: pProps,
|
|
9
9
|
setup(props) {
|
|
10
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
11
|
+
warn('p', 'P component is deprecated, you should use `UText` instead.');
|
|
12
|
+
}
|
|
10
13
|
const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
|
|
11
14
|
const themeRef = useTheme('Typography', '-p', style, typographyLight, props, mergedClsPrefixRef);
|
|
12
15
|
const cssVarsRef = computed(() => {
|