@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
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineComponent, inject, computed, h } from 'vue';
|
|
2
|
+
import { USkeleton } from '../../../skeleton';
|
|
3
|
+
import { dataTableInjectionKey } from '../interface';
|
|
4
|
+
export default defineComponent({
|
|
5
|
+
name: 'DataTableBodySkeleton',
|
|
6
|
+
props: {
|
|
7
|
+
rowCount: {
|
|
8
|
+
type: Number,
|
|
9
|
+
default: 10
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(props) {
|
|
13
|
+
const { mergedClsPrefixRef, colsRef, props: dataTableProps
|
|
14
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
15
|
+
} = inject(dataTableInjectionKey);
|
|
16
|
+
const skeletonRowCount = computed(() => {
|
|
17
|
+
if (dataTableProps.pagination &&
|
|
18
|
+
typeof dataTableProps.pagination === 'object' &&
|
|
19
|
+
dataTableProps.pagination.pageSize) {
|
|
20
|
+
return dataTableProps.pagination.pageSize;
|
|
21
|
+
}
|
|
22
|
+
return props.rowCount;
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
26
|
+
cols: colsRef,
|
|
27
|
+
skeletonRowCount
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
render() {
|
|
31
|
+
const { mergedClsPrefix, cols, skeletonRowCount } = this;
|
|
32
|
+
const skeletonRows = Array.from({ length: skeletonRowCount }, (_, index) => (h("tr", { key: `skeleton-row-${index}`, class: `${mergedClsPrefix}-data-table-tr ${mergedClsPrefix}-data-table-tr--skeleton` }, cols.map((col) => (h("td", { key: col.key, class: [
|
|
33
|
+
`${mergedClsPrefix}-data-table-td`,
|
|
34
|
+
`${mergedClsPrefix}-data-table-td--skeleton`,
|
|
35
|
+
col.column.fixed &&
|
|
36
|
+
`${mergedClsPrefix}-data-table-td--fixed-${col.column.fixed}`,
|
|
37
|
+
col.column.align &&
|
|
38
|
+
`${mergedClsPrefix}-data-table-td--${col.column.align}-align`
|
|
39
|
+
], style: {
|
|
40
|
+
textAlign: col.column.align || undefined,
|
|
41
|
+
padding: 'var(--u-td-padding)'
|
|
42
|
+
} },
|
|
43
|
+
col.column.fixed && (h("div", { class: `${mergedClsPrefix}-data-table-td__shadow-holder` })),
|
|
44
|
+
h(USkeleton, { height: "var(--u-line-height)", width: col.column.type === 'selection' ? '16px' : '85%', animated: true, style: {
|
|
45
|
+
borderRadius: '16px'
|
|
46
|
+
} })))))));
|
|
47
|
+
return (h("tbody", { class: [
|
|
48
|
+
`${mergedClsPrefix}-data-table-tbody`,
|
|
49
|
+
`${mergedClsPrefix}-data-table-tbody--skeleton`
|
|
50
|
+
] }, skeletonRows));
|
|
51
|
+
}
|
|
52
|
+
});
|
|
@@ -472,6 +472,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
472
|
jumperFontSizeLarge: string;
|
|
473
473
|
jumperTextColor: string;
|
|
474
474
|
jumperTextColorDisabled: string;
|
|
475
|
+
paginationSizePickerBackground: string;
|
|
476
|
+
paginationSizePickerBorder: string;
|
|
475
477
|
}, {
|
|
476
478
|
Select: import("../../../_mixins").Theme<"Select", {
|
|
477
479
|
menuBoxShadow: string;
|
|
@@ -565,6 +565,8 @@ export declare const dataTableProps: {
|
|
|
565
565
|
jumperFontSizeLarge: string;
|
|
566
566
|
jumperTextColor: string;
|
|
567
567
|
jumperTextColorDisabled: string;
|
|
568
|
+
paginationSizePickerBackground: string;
|
|
569
|
+
paginationSizePickerBorder: string;
|
|
568
570
|
}, {
|
|
569
571
|
Select: import("../../_mixins").Theme<"Select", {
|
|
570
572
|
menuBoxShadow: string;
|
|
@@ -1481,6 +1483,8 @@ export declare const dataTableProps: {
|
|
|
1481
1483
|
jumperFontSizeLarge: string;
|
|
1482
1484
|
jumperTextColor: string;
|
|
1483
1485
|
jumperTextColorDisabled: string;
|
|
1486
|
+
paginationSizePickerBackground: string;
|
|
1487
|
+
paginationSizePickerBorder: string;
|
|
1484
1488
|
}, {
|
|
1485
1489
|
Select: import("../../_mixins").Theme<"Select", {
|
|
1486
1490
|
menuBoxShadow: string;
|
|
@@ -2397,6 +2401,8 @@ export declare const dataTableProps: {
|
|
|
2397
2401
|
jumperFontSizeLarge: string;
|
|
2398
2402
|
jumperTextColor: string;
|
|
2399
2403
|
jumperTextColorDisabled: string;
|
|
2404
|
+
paginationSizePickerBackground: string;
|
|
2405
|
+
paginationSizePickerBorder: string;
|
|
2400
2406
|
}, {
|
|
2401
2407
|
Select: import("../../_mixins").Theme<"Select", {
|
|
2402
2408
|
menuBoxShadow: string;
|
|
@@ -183,7 +183,7 @@ c('&:last-child', 'flex-grow: 1;')])])])])])])]), c('>', [cB('data-table-loading
|
|
|
183
183
|
white-space: nowrap;
|
|
184
184
|
max-width: 100%;
|
|
185
185
|
`), c('&:hover', `
|
|
186
|
-
color: var(--u-th-
|
|
186
|
+
color: var(--u-th-text-color);
|
|
187
187
|
`), cM('hover', `
|
|
188
188
|
background-color: var(--u-merged-th-color-hover);
|
|
189
189
|
color: var(--u-th-icon-color-active);
|
|
@@ -506,6 +506,8 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
|
|
|
506
506
|
jumperFontSizeLarge: string;
|
|
507
507
|
jumperTextColor: string;
|
|
508
508
|
jumperTextColorDisabled: string;
|
|
509
|
+
paginationSizePickerBackground: string;
|
|
510
|
+
paginationSizePickerBorder: string;
|
|
509
511
|
}, {
|
|
510
512
|
Select: import("../../_mixins").Theme<"Select", {
|
|
511
513
|
menuBoxShadow: string;
|
|
@@ -45,7 +45,7 @@ export const self = (vars) => {
|
|
|
45
45
|
thColorHover: containerPrimary,
|
|
46
46
|
tdColor: containerPrimary,
|
|
47
47
|
tdTextColor: textPrimary,
|
|
48
|
-
thTextColor:
|
|
48
|
+
thTextColor: textPrimary,
|
|
49
49
|
thFontWeight: fontWeightBold,
|
|
50
50
|
thSubColor: textSecondary,
|
|
51
51
|
thSubFontWeight: fontWeight,
|
|
@@ -338,6 +338,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
338
338
|
shadowDepth: string;
|
|
339
339
|
fontFamily: string;
|
|
340
340
|
fontFamilyMono: string;
|
|
341
|
+
fontFamilyWixMadeforDisplay: string;
|
|
341
342
|
cubicBezierEaseInOut: string;
|
|
342
343
|
cubicBezierEaseOut: string;
|
|
343
344
|
cubicBezierEaseIn: string;
|
|
@@ -386,6 +387,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
386
387
|
closeLarge: string;
|
|
387
388
|
closeHuge: string;
|
|
388
389
|
closeBorderRadius: string;
|
|
390
|
+
codeBorder: string;
|
|
389
391
|
name: "common";
|
|
390
392
|
} | undefined;
|
|
391
393
|
} | undefined;
|
|
@@ -692,6 +694,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
692
694
|
shadowDepth: string;
|
|
693
695
|
fontFamily: string;
|
|
694
696
|
fontFamilyMono: string;
|
|
697
|
+
fontFamilyWixMadeforDisplay: string;
|
|
695
698
|
cubicBezierEaseInOut: string;
|
|
696
699
|
cubicBezierEaseOut: string;
|
|
697
700
|
cubicBezierEaseIn: string;
|
|
@@ -740,6 +743,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
|
|
|
740
743
|
closeLarge: string;
|
|
741
744
|
closeHuge: string;
|
|
742
745
|
closeBorderRadius: string;
|
|
746
|
+
codeBorder: string;
|
|
743
747
|
name: "common";
|
|
744
748
|
} | undefined;
|
|
745
749
|
} | undefined;
|
|
@@ -102,6 +102,6 @@ export declare const UIconWrapper: import("vue").DefineComponent<{
|
|
|
102
102
|
}>>, {
|
|
103
103
|
readonly borderRadius: number;
|
|
104
104
|
readonly size: number;
|
|
105
|
-
readonly pulseSize: number;
|
|
106
105
|
readonly variant: IconWrapperVariant;
|
|
106
|
+
readonly pulseSize: number;
|
|
107
107
|
}, {}>;
|
package/es/modal/src/Modal.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export declare const modalProps: {
|
|
|
91
91
|
sizeSmall: string;
|
|
92
92
|
sizeMedium: string;
|
|
93
93
|
sizeLarge: string;
|
|
94
|
+
sizeExtra: string;
|
|
94
95
|
}, {
|
|
95
96
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
96
97
|
color: string;
|
|
@@ -391,6 +392,7 @@ export declare const modalProps: {
|
|
|
391
392
|
sizeSmall: string;
|
|
392
393
|
sizeMedium: string;
|
|
393
394
|
sizeLarge: string;
|
|
395
|
+
sizeExtra: string;
|
|
394
396
|
}, {
|
|
395
397
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
396
398
|
color: string;
|
|
@@ -691,6 +693,7 @@ export declare const modalProps: {
|
|
|
691
693
|
sizeSmall: string;
|
|
692
694
|
sizeMedium: string;
|
|
693
695
|
sizeLarge: string;
|
|
696
|
+
sizeExtra: string;
|
|
694
697
|
}, {
|
|
695
698
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
696
699
|
color: string;
|
|
@@ -1077,6 +1080,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1077
1080
|
sizeSmall: string;
|
|
1078
1081
|
sizeMedium: string;
|
|
1079
1082
|
sizeLarge: string;
|
|
1083
|
+
sizeExtra: string;
|
|
1080
1084
|
}, {
|
|
1081
1085
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1082
1086
|
color: string;
|
|
@@ -1377,6 +1381,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1377
1381
|
sizeSmall: string;
|
|
1378
1382
|
sizeMedium: string;
|
|
1379
1383
|
sizeLarge: string;
|
|
1384
|
+
sizeExtra: string;
|
|
1380
1385
|
}, {
|
|
1381
1386
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1382
1387
|
color: string;
|
|
@@ -1677,6 +1682,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1677
1682
|
sizeSmall: string;
|
|
1678
1683
|
sizeMedium: string;
|
|
1679
1684
|
sizeLarge: string;
|
|
1685
|
+
sizeExtra: string;
|
|
1680
1686
|
}, {
|
|
1681
1687
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1682
1688
|
color: string;
|
|
@@ -2084,6 +2090,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2084
2090
|
sizeSmall: string;
|
|
2085
2091
|
sizeMedium: string;
|
|
2086
2092
|
sizeLarge: string;
|
|
2093
|
+
sizeExtra: string;
|
|
2087
2094
|
}, {
|
|
2088
2095
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2089
2096
|
color: string;
|
|
@@ -2384,6 +2391,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2384
2391
|
sizeSmall: string;
|
|
2385
2392
|
sizeMedium: string;
|
|
2386
2393
|
sizeLarge: string;
|
|
2394
|
+
sizeExtra: string;
|
|
2387
2395
|
}, {
|
|
2388
2396
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2389
2397
|
color: string;
|
|
@@ -2684,6 +2692,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2684
2692
|
sizeSmall: string;
|
|
2685
2693
|
sizeMedium: string;
|
|
2686
2694
|
sizeLarge: string;
|
|
2695
|
+
sizeExtra: string;
|
|
2687
2696
|
}, {
|
|
2688
2697
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2689
2698
|
color: string;
|
|
@@ -6,6 +6,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
6
6
|
sizeSmall: string;
|
|
7
7
|
sizeMedium: string;
|
|
8
8
|
sizeLarge: string;
|
|
9
|
+
sizeExtra: string;
|
|
9
10
|
};
|
|
10
11
|
export type ModalThemeVars = ReturnType<typeof self>;
|
|
11
12
|
declare const modalLight: import("../../_mixins").Theme<"Modal", {
|
|
@@ -15,6 +16,7 @@ declare const modalLight: import("../../_mixins").Theme<"Modal", {
|
|
|
15
16
|
sizeSmall: string;
|
|
16
17
|
sizeMedium: string;
|
|
17
18
|
sizeLarge: string;
|
|
19
|
+
sizeExtra: string;
|
|
18
20
|
}, {
|
|
19
21
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
20
22
|
color: string;
|
package/es/modal/styles/light.js
CHANGED
|
@@ -130,6 +130,8 @@ export declare const paginationProps: {
|
|
|
130
130
|
jumperFontSizeLarge: string;
|
|
131
131
|
jumperTextColor: string;
|
|
132
132
|
jumperTextColorDisabled: string;
|
|
133
|
+
paginationSizePickerBackground: string;
|
|
134
|
+
paginationSizePickerBorder: string;
|
|
133
135
|
}, {
|
|
134
136
|
Select: import("../../_mixins").Theme<"Select", {
|
|
135
137
|
menuBoxShadow: string;
|
|
@@ -528,6 +530,8 @@ export declare const paginationProps: {
|
|
|
528
530
|
jumperFontSizeLarge: string;
|
|
529
531
|
jumperTextColor: string;
|
|
530
532
|
jumperTextColorDisabled: string;
|
|
533
|
+
paginationSizePickerBackground: string;
|
|
534
|
+
paginationSizePickerBorder: string;
|
|
531
535
|
}, {
|
|
532
536
|
Select: import("../../_mixins").Theme<"Select", {
|
|
533
537
|
menuBoxShadow: string;
|
|
@@ -926,6 +930,8 @@ export declare const paginationProps: {
|
|
|
926
930
|
jumperFontSizeLarge: string;
|
|
927
931
|
jumperTextColor: string;
|
|
928
932
|
jumperTextColorDisabled: string;
|
|
933
|
+
paginationSizePickerBackground: string;
|
|
934
|
+
paginationSizePickerBorder: string;
|
|
929
935
|
}, {
|
|
930
936
|
Select: import("../../_mixins").Theme<"Select", {
|
|
931
937
|
menuBoxShadow: string;
|
|
@@ -1380,6 +1386,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1380
1386
|
jumperFontSizeLarge: string;
|
|
1381
1387
|
jumperTextColor: string;
|
|
1382
1388
|
jumperTextColorDisabled: string;
|
|
1389
|
+
paginationSizePickerBackground: string;
|
|
1390
|
+
paginationSizePickerBorder: string;
|
|
1383
1391
|
}, {
|
|
1384
1392
|
Select: import("../../_mixins").Theme<"Select", {
|
|
1385
1393
|
menuBoxShadow: string;
|
|
@@ -1778,6 +1786,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1778
1786
|
jumperFontSizeLarge: string;
|
|
1779
1787
|
jumperTextColor: string;
|
|
1780
1788
|
jumperTextColorDisabled: string;
|
|
1789
|
+
paginationSizePickerBackground: string;
|
|
1790
|
+
paginationSizePickerBorder: string;
|
|
1781
1791
|
}, {
|
|
1782
1792
|
Select: import("../../_mixins").Theme<"Select", {
|
|
1783
1793
|
menuBoxShadow: string;
|
|
@@ -2176,6 +2186,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2176
2186
|
jumperFontSizeLarge: string;
|
|
2177
2187
|
jumperTextColor: string;
|
|
2178
2188
|
jumperTextColorDisabled: string;
|
|
2189
|
+
paginationSizePickerBackground: string;
|
|
2190
|
+
paginationSizePickerBorder: string;
|
|
2179
2191
|
}, {
|
|
2180
2192
|
Select: import("../../_mixins").Theme<"Select", {
|
|
2181
2193
|
menuBoxShadow: string;
|
|
@@ -2592,6 +2604,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2592
2604
|
jumperFontSizeLarge: string;
|
|
2593
2605
|
jumperTextColor: string;
|
|
2594
2606
|
jumperTextColorDisabled: string;
|
|
2607
|
+
paginationSizePickerBackground: string;
|
|
2608
|
+
paginationSizePickerBorder: string;
|
|
2595
2609
|
};
|
|
2596
2610
|
peers: {
|
|
2597
2611
|
Select: import("../../_mixins").Theme<"Select", {
|
|
@@ -3251,6 +3265,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3251
3265
|
'--u-button-border': string;
|
|
3252
3266
|
'--u-button-border-hover': string;
|
|
3253
3267
|
'--u-button-border-pressed': string;
|
|
3268
|
+
'--u-pagination-size-picker-background': string;
|
|
3269
|
+
'--u-pagination-size-picker-border': string;
|
|
3254
3270
|
}> | undefined;
|
|
3255
3271
|
themeClass: import("vue").Ref<string> | undefined;
|
|
3256
3272
|
onRender: (() => void) | undefined;
|
|
@@ -3379,6 +3395,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3379
3395
|
jumperFontSizeLarge: string;
|
|
3380
3396
|
jumperTextColor: string;
|
|
3381
3397
|
jumperTextColorDisabled: string;
|
|
3398
|
+
paginationSizePickerBackground: string;
|
|
3399
|
+
paginationSizePickerBorder: string;
|
|
3382
3400
|
}, {
|
|
3383
3401
|
Select: import("../../_mixins").Theme<"Select", {
|
|
3384
3402
|
menuBoxShadow: string;
|
|
@@ -3777,6 +3795,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3777
3795
|
jumperFontSizeLarge: string;
|
|
3778
3796
|
jumperTextColor: string;
|
|
3779
3797
|
jumperTextColorDisabled: string;
|
|
3798
|
+
paginationSizePickerBackground: string;
|
|
3799
|
+
paginationSizePickerBorder: string;
|
|
3780
3800
|
}, {
|
|
3781
3801
|
Select: import("../../_mixins").Theme<"Select", {
|
|
3782
3802
|
menuBoxShadow: string;
|
|
@@ -4175,6 +4195,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4175
4195
|
jumperFontSizeLarge: string;
|
|
4176
4196
|
jumperTextColor: string;
|
|
4177
4197
|
jumperTextColorDisabled: string;
|
|
4198
|
+
paginationSizePickerBackground: string;
|
|
4199
|
+
paginationSizePickerBorder: string;
|
|
4178
4200
|
}, {
|
|
4179
4201
|
Select: import("../../_mixins").Theme<"Select", {
|
|
4180
4202
|
menuBoxShadow: string;
|
|
@@ -275,7 +275,7 @@ export default defineComponent({
|
|
|
275
275
|
});
|
|
276
276
|
const cssVarsRef = computed(() => {
|
|
277
277
|
const { size } = props;
|
|
278
|
-
const { self: { buttonBorder, buttonBorderHover, buttonBorderPressed, buttonIconColor, buttonIconColorHover, buttonIconColorPressed, itemTextColor, itemTextColorHover, itemTextColorPressed, itemTextColorActive, itemTextColorDisabled, itemColor, itemColorHover, itemColorPressed, itemColorActive, itemColorActiveHover, itemColorDisabled, itemBorder, itemBorderHover, itemBorderPressed, itemBorderActive, itemBorderDisabled, itemBorderRadius, jumperTextColor, jumperTextColorDisabled, buttonColor, buttonColorHover, buttonColorPressed, [createKey('itemPadding', size)]: itemPadding, [createKey('itemMargin', size)]: itemMargin, [createKey('inputWidth', size)]: inputWidth, [createKey('selectWidth', size)]: selectWidth, [createKey('inputMargin', size)]: inputMargin, [createKey('selectMargin', size)]: selectMargin, [createKey('jumperFontSize', size)]: jumperFontSize, [createKey('prefixMargin', size)]: prefixMargin, [createKey('suffixMargin', size)]: suffixMargin, [createKey('itemSize', size)]: itemSize, [createKey('buttonIconSize', size)]: buttonIconSize, [createKey('itemFontSize', size)]: itemFontSize, [`${createKey('itemMargin', size)}Rtl`]: itemMarginRtl, [`${createKey('inputMargin', size)}Rtl`]: inputMarginRtl }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
278
|
+
const { self: { buttonBorder, buttonBorderHover, buttonBorderPressed, buttonIconColor, buttonIconColorHover, buttonIconColorPressed, itemTextColor, itemTextColorHover, itemTextColorPressed, itemTextColorActive, itemTextColorDisabled, itemColor, itemColorHover, itemColorPressed, itemColorActive, itemColorActiveHover, itemColorDisabled, itemBorder, itemBorderHover, itemBorderPressed, itemBorderActive, itemBorderDisabled, itemBorderRadius, jumperTextColor, jumperTextColorDisabled, paginationSizePickerBackground, paginationSizePickerBorder, buttonColor, buttonColorHover, buttonColorPressed, [createKey('itemPadding', size)]: itemPadding, [createKey('itemMargin', size)]: itemMargin, [createKey('inputWidth', size)]: inputWidth, [createKey('selectWidth', size)]: selectWidth, [createKey('inputMargin', size)]: inputMargin, [createKey('selectMargin', size)]: selectMargin, [createKey('jumperFontSize', size)]: jumperFontSize, [createKey('prefixMargin', size)]: prefixMargin, [createKey('suffixMargin', size)]: suffixMargin, [createKey('itemSize', size)]: itemSize, [createKey('buttonIconSize', size)]: buttonIconSize, [createKey('itemFontSize', size)]: itemFontSize, [`${createKey('itemMargin', size)}Rtl`]: itemMarginRtl, [`${createKey('inputMargin', size)}Rtl`]: inputMarginRtl }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
279
279
|
return {
|
|
280
280
|
'--u-prefix-margin': prefixMargin,
|
|
281
281
|
'--u-suffix-margin': suffixMargin,
|
|
@@ -319,7 +319,9 @@ export default defineComponent({
|
|
|
319
319
|
'--u-button-color-pressed': buttonColorPressed,
|
|
320
320
|
'--u-button-border': buttonBorder,
|
|
321
321
|
'--u-button-border-hover': buttonBorderHover,
|
|
322
|
-
'--u-button-border-pressed': buttonBorderPressed
|
|
322
|
+
'--u-button-border-pressed': buttonBorderPressed,
|
|
323
|
+
'--u-pagination-size-picker-background': paginationSizePickerBackground,
|
|
324
|
+
'--u-pagination-size-picker-border': paginationSizePickerBorder
|
|
323
325
|
};
|
|
324
326
|
});
|
|
325
327
|
const themeClassHandle = inlineThemeDisabled
|
|
@@ -45,6 +45,8 @@ const hoverStyleChildren = [cM('button', `
|
|
|
45
45
|
// --u-button-color
|
|
46
46
|
// --u-button-color-hover
|
|
47
47
|
// --u-button-color-pressed
|
|
48
|
+
// --u-pagination-size-picker-background
|
|
49
|
+
// --u-pagination-size-picker-border
|
|
48
50
|
export default cB('pagination', `
|
|
49
51
|
display: flex;
|
|
50
52
|
width: 100%;
|
|
@@ -64,6 +66,7 @@ export default cB('pagination', `
|
|
|
64
66
|
margin: var(--u-item-margin);
|
|
65
67
|
`), cB('select', `
|
|
66
68
|
min-width: var(--u-select-width);
|
|
69
|
+
max-width: 100px;
|
|
67
70
|
margin: var(--u-select-margin);
|
|
68
71
|
`), c('&.transition-disabled', [cB('pagination-item', 'transition: none !important;')]), cB('pagination-pages', `
|
|
69
72
|
white-space: nowrap;
|
|
@@ -74,10 +77,18 @@ export default cB('pagination', `
|
|
|
74
77
|
white-space: nowrap;
|
|
75
78
|
transition: color .3s var(--u-bezier);
|
|
76
79
|
align-items: center;
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: 16px 10px;
|
|
82
|
+
flex-wrap: wrap;
|
|
83
|
+
width: 100%;
|
|
77
84
|
`, [cB('label', `
|
|
78
85
|
font-size: 14px;
|
|
79
86
|
font-weight: 500;
|
|
80
87
|
line-height: 20px;
|
|
88
|
+
`), cB('base-selection-label', `
|
|
89
|
+
background-color: var(--u-pagination-size-picker-background);
|
|
90
|
+
`), cB('base-selection__border', `
|
|
91
|
+
border-color: var(--u-pagination-size-picker-border);
|
|
81
92
|
`)]), cB('pagination-quick-jumper', `
|
|
82
93
|
white-space: nowrap;
|
|
83
94
|
display: flex;
|
|
@@ -70,6 +70,8 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
70
70
|
jumperFontSizeLarge: string;
|
|
71
71
|
jumperTextColor: string;
|
|
72
72
|
jumperTextColorDisabled: string;
|
|
73
|
+
paginationSizePickerBackground: string;
|
|
74
|
+
paginationSizePickerBorder: string;
|
|
73
75
|
};
|
|
74
76
|
export type PaginationThemeVars = ReturnType<typeof self>;
|
|
75
77
|
declare const paginationLight: import("../../_mixins").Theme<"Pagination", {
|
|
@@ -143,6 +145,8 @@ declare const paginationLight: import("../../_mixins").Theme<"Pagination", {
|
|
|
143
145
|
jumperFontSizeLarge: string;
|
|
144
146
|
jumperTextColor: string;
|
|
145
147
|
jumperTextColorDisabled: string;
|
|
148
|
+
paginationSizePickerBackground: string;
|
|
149
|
+
paginationSizePickerBorder: string;
|
|
146
150
|
}, {
|
|
147
151
|
Select: import("../../_mixins").Theme<"Select", {
|
|
148
152
|
menuBoxShadow: string;
|
|
@@ -4,7 +4,7 @@ import { inputLight } from '../../input/styles';
|
|
|
4
4
|
import { commonLight } from '../../_styles/common';
|
|
5
5
|
import { createTheme } from '../../_mixins';
|
|
6
6
|
export const self = (vars) => {
|
|
7
|
-
const { transparencySecondary, elementsPrimary, brandPrimary500, textSecondary,
|
|
7
|
+
const { brandPrimary100, transparencySecondary, elementsPrimary, brandPrimary500, textSecondary, borderRadius, fontBodyMedium, fontBodyLarge, textPrimary, textTertiary, elementsTertiary, elementsQuaternary } = vars;
|
|
8
8
|
return {
|
|
9
9
|
itemPaddingSmall: '0 4px',
|
|
10
10
|
itemMarginSmall: '0 0 0 2px',
|
|
@@ -56,15 +56,15 @@ export const self = (vars) => {
|
|
|
56
56
|
itemColor: '#0000',
|
|
57
57
|
itemColorHover: transparencySecondary,
|
|
58
58
|
itemColorPressed: transparencySecondary,
|
|
59
|
-
itemColorActive:
|
|
60
|
-
itemColorActiveHover:
|
|
59
|
+
itemColorActive: brandPrimary100,
|
|
60
|
+
itemColorActiveHover: brandPrimary100,
|
|
61
61
|
itemColorDisabled: '#0000',
|
|
62
62
|
itemBorder: '0px',
|
|
63
63
|
itemBorderHover: '0px',
|
|
64
64
|
itemBorderPressed: '0px',
|
|
65
65
|
itemBorderActive: '0px',
|
|
66
66
|
itemBorderDisabled: '0px',
|
|
67
|
-
itemBorderRadius:
|
|
67
|
+
itemBorderRadius: borderRadius,
|
|
68
68
|
itemSizeSmall: '24px',
|
|
69
69
|
itemSizeMedium: '32px',
|
|
70
70
|
itemSizeLarge: '40px',
|
|
@@ -75,7 +75,9 @@ export const self = (vars) => {
|
|
|
75
75
|
jumperFontSizeMedium: fontBodyMedium,
|
|
76
76
|
jumperFontSizeLarge: fontBodyLarge,
|
|
77
77
|
jumperTextColor: textPrimary,
|
|
78
|
-
jumperTextColorDisabled: textTertiary
|
|
78
|
+
jumperTextColorDisabled: textTertiary,
|
|
79
|
+
paginationSizePickerBackground: elementsTertiary,
|
|
80
|
+
paginationSizePickerBorder: elementsQuaternary
|
|
79
81
|
};
|
|
80
82
|
};
|
|
81
83
|
const paginationLight = createTheme({
|
package/es/spin/styles/light.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { commonLight } from '../../_styles/common';
|
|
2
2
|
export const self = (vars) => {
|
|
3
|
-
const { opacityDisabled, elementsPrimary, brandPrimary500, fontBodyMedium, fontBodySmall, fontBodyLarge, fontHeadingSmall,
|
|
3
|
+
const { opacityDisabled, elementsPrimary, brandPrimary500, fontBodyMedium, fontBodySmall, fontBodyLarge, fontHeadingSmall, fontTitleMedium, fontHeadingLarge } = vars;
|
|
4
4
|
return {
|
|
5
5
|
tertiaryColor: elementsPrimary,
|
|
6
6
|
primaryColor: brandPrimary500,
|
|
7
7
|
fontSize: fontBodyMedium,
|
|
8
8
|
sizeTiny: fontBodySmall,
|
|
9
9
|
sizeSmall: fontBodyLarge,
|
|
10
|
-
sizeMedium:
|
|
11
|
-
sizeLarge:
|
|
10
|
+
sizeMedium: fontTitleMedium,
|
|
11
|
+
sizeLarge: fontHeadingSmall,
|
|
12
12
|
sizeHuge: fontHeadingLarge,
|
|
13
13
|
opacitySpinning: opacityDisabled
|
|
14
14
|
};
|
package/es/steps/src/Step.d.ts
CHANGED
|
@@ -44,12 +44,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
'--u-indicator-color': string;
|
|
45
45
|
'--u-indicator-icon-size': string;
|
|
46
46
|
'--u-indicator-index-font-size': string;
|
|
47
|
+
'--u-indicator-index-font-size--outline': string;
|
|
47
48
|
'--u-indicator-size': string;
|
|
49
|
+
'--u-indicator-size--dotted': string;
|
|
50
|
+
'--u-indicator-color--dotted': string;
|
|
48
51
|
'--u-indicator-text-color': string;
|
|
52
|
+
'--u-indicator-text-color--outline': string;
|
|
49
53
|
'--u-splitor-color': string;
|
|
54
|
+
'--u-splitor-color--dotted': string;
|
|
55
|
+
'--u-splitor-color-finish--dotted': string;
|
|
50
56
|
'--u-step-header-font-size': string;
|
|
51
57
|
'--u-step-header-font-weight': string;
|
|
52
58
|
'--u-step-icon-color': string;
|
|
59
|
+
'--u-step-icon-color--outline': string;
|
|
60
|
+
'--u-indicator-background-finish--outline': string;
|
|
61
|
+
'--u-indicator-color-finish--dotted': string;
|
|
62
|
+
'--u-indicator-icon-size--outline': string;
|
|
63
|
+
'--u-indicator-border-color-finish--outline': string;
|
|
64
|
+
'--u-indicator-icon-color--outline': string;
|
|
65
|
+
'--u-indicator-border-radius--outline': string;
|
|
66
|
+
'--u-indicator-border-radius-finish--outline': string;
|
|
67
|
+
'--u-step-height': string;
|
|
68
|
+
'--u-description-text-color--dotted': string;
|
|
69
|
+
'--u-step-header-font-size--dotted': string;
|
|
53
70
|
}> | undefined;
|
|
54
71
|
themeClass: import("vue").Ref<string> | undefined;
|
|
55
72
|
onRender: (() => void) | undefined;
|