@uzum-tech/ui 1.4.2 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const vue_1 = require("vue");
|
|
4
|
+
const skeleton_1 = require("../../../skeleton");
|
|
5
|
+
const interface_1 = require("../interface");
|
|
6
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
7
|
+
name: 'DataTableBodySkeleton',
|
|
8
|
+
props: {
|
|
9
|
+
rowCount: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: 10
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
setup(props) {
|
|
15
|
+
const { mergedClsPrefixRef, colsRef, props: dataTableProps
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
17
|
+
} = (0, vue_1.inject)(interface_1.dataTableInjectionKey);
|
|
18
|
+
const skeletonRowCount = (0, vue_1.computed)(() => {
|
|
19
|
+
if (dataTableProps.pagination &&
|
|
20
|
+
typeof dataTableProps.pagination === 'object' &&
|
|
21
|
+
dataTableProps.pagination.pageSize) {
|
|
22
|
+
return dataTableProps.pagination.pageSize;
|
|
23
|
+
}
|
|
24
|
+
return props.rowCount;
|
|
25
|
+
});
|
|
26
|
+
return {
|
|
27
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
28
|
+
cols: colsRef,
|
|
29
|
+
skeletonRowCount
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
render() {
|
|
33
|
+
const { mergedClsPrefix, cols, skeletonRowCount } = this;
|
|
34
|
+
const skeletonRows = Array.from({ length: skeletonRowCount }, (_, index) => ((0, vue_1.h)("tr", { key: `skeleton-row-${index}`, class: `${mergedClsPrefix}-data-table-tr ${mergedClsPrefix}-data-table-tr--skeleton` }, cols.map((col) => ((0, vue_1.h)("td", { key: col.key, class: [
|
|
35
|
+
`${mergedClsPrefix}-data-table-td`,
|
|
36
|
+
`${mergedClsPrefix}-data-table-td--skeleton`,
|
|
37
|
+
col.column.fixed &&
|
|
38
|
+
`${mergedClsPrefix}-data-table-td--fixed-${col.column.fixed}`,
|
|
39
|
+
col.column.align &&
|
|
40
|
+
`${mergedClsPrefix}-data-table-td--${col.column.align}-align`
|
|
41
|
+
], style: {
|
|
42
|
+
textAlign: col.column.align || undefined,
|
|
43
|
+
padding: 'var(--u-td-padding)'
|
|
44
|
+
} },
|
|
45
|
+
col.column.fixed && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-data-table-td__shadow-holder` })),
|
|
46
|
+
(0, vue_1.h)(skeleton_1.USkeleton, { height: "var(--u-line-height)", width: col.column.type === 'selection' ? '16px' : '85%', animated: true, style: {
|
|
47
|
+
borderRadius: '16px'
|
|
48
|
+
} })))))));
|
|
49
|
+
return ((0, vue_1.h)("tbody", { class: [
|
|
50
|
+
`${mergedClsPrefix}-data-table-tbody`,
|
|
51
|
+
`${mergedClsPrefix}-data-table-tbody--skeleton`
|
|
52
|
+
] }, skeletonRows));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
@@ -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;
|
|
@@ -188,7 +188,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('data-table', `
|
|
|
188
188
|
white-space: nowrap;
|
|
189
189
|
max-width: 100%;
|
|
190
190
|
`), (0, cssr_1.c)('&:hover', `
|
|
191
|
-
color: var(--u-th-
|
|
191
|
+
color: var(--u-th-text-color);
|
|
192
192
|
`), (0, cssr_1.cM)('hover', `
|
|
193
193
|
background-color: var(--u-merged-th-color-hover);
|
|
194
194
|
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;
|
|
@@ -48,7 +48,7 @@ const self = (vars) => {
|
|
|
48
48
|
thColorHover: containerPrimary,
|
|
49
49
|
tdColor: containerPrimary,
|
|
50
50
|
tdTextColor: textPrimary,
|
|
51
|
-
thTextColor:
|
|
51
|
+
thTextColor: textPrimary,
|
|
52
52
|
thFontWeight: fontWeightBold,
|
|
53
53
|
thSubColor: textSecondary,
|
|
54
54
|
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/lib/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;
|
|
@@ -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;
|
|
@@ -281,7 +281,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
281
281
|
});
|
|
282
282
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
283
283
|
const { size } = props;
|
|
284
|
-
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, [(0, _utils_1.createKey)('itemPadding', size)]: itemPadding, [(0, _utils_1.createKey)('itemMargin', size)]: itemMargin, [(0, _utils_1.createKey)('inputWidth', size)]: inputWidth, [(0, _utils_1.createKey)('selectWidth', size)]: selectWidth, [(0, _utils_1.createKey)('inputMargin', size)]: inputMargin, [(0, _utils_1.createKey)('selectMargin', size)]: selectMargin, [(0, _utils_1.createKey)('jumperFontSize', size)]: jumperFontSize, [(0, _utils_1.createKey)('prefixMargin', size)]: prefixMargin, [(0, _utils_1.createKey)('suffixMargin', size)]: suffixMargin, [(0, _utils_1.createKey)('itemSize', size)]: itemSize, [(0, _utils_1.createKey)('buttonIconSize', size)]: buttonIconSize, [(0, _utils_1.createKey)('itemFontSize', size)]: itemFontSize, [`${(0, _utils_1.createKey)('itemMargin', size)}Rtl`]: itemMarginRtl, [`${(0, _utils_1.createKey)('inputMargin', size)}Rtl`]: inputMarginRtl }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
284
|
+
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, [(0, _utils_1.createKey)('itemPadding', size)]: itemPadding, [(0, _utils_1.createKey)('itemMargin', size)]: itemMargin, [(0, _utils_1.createKey)('inputWidth', size)]: inputWidth, [(0, _utils_1.createKey)('selectWidth', size)]: selectWidth, [(0, _utils_1.createKey)('inputMargin', size)]: inputMargin, [(0, _utils_1.createKey)('selectMargin', size)]: selectMargin, [(0, _utils_1.createKey)('jumperFontSize', size)]: jumperFontSize, [(0, _utils_1.createKey)('prefixMargin', size)]: prefixMargin, [(0, _utils_1.createKey)('suffixMargin', size)]: suffixMargin, [(0, _utils_1.createKey)('itemSize', size)]: itemSize, [(0, _utils_1.createKey)('buttonIconSize', size)]: buttonIconSize, [(0, _utils_1.createKey)('itemFontSize', size)]: itemFontSize, [`${(0, _utils_1.createKey)('itemMargin', size)}Rtl`]: itemMarginRtl, [`${(0, _utils_1.createKey)('inputMargin', size)}Rtl`]: inputMarginRtl }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
285
285
|
return {
|
|
286
286
|
'--u-prefix-margin': prefixMargin,
|
|
287
287
|
'--u-suffix-margin': suffixMargin,
|
|
@@ -325,7 +325,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
325
325
|
'--u-button-color-pressed': buttonColorPressed,
|
|
326
326
|
'--u-button-border': buttonBorder,
|
|
327
327
|
'--u-button-border-hover': buttonBorderHover,
|
|
328
|
-
'--u-button-border-pressed': buttonBorderPressed
|
|
328
|
+
'--u-button-border-pressed': buttonBorderPressed,
|
|
329
|
+
'--u-pagination-size-picker-background': paginationSizePickerBackground,
|
|
330
|
+
'--u-pagination-size-picker-border': paginationSizePickerBorder
|
|
329
331
|
};
|
|
330
332
|
});
|
|
331
333
|
const themeClassHandle = inlineThemeDisabled
|
|
@@ -50,6 +50,8 @@ const hoverStyleChildren = [(0, cssr_1.cM)('button', `
|
|
|
50
50
|
// --u-button-color
|
|
51
51
|
// --u-button-color-hover
|
|
52
52
|
// --u-button-color-pressed
|
|
53
|
+
// --u-pagination-size-picker-background
|
|
54
|
+
// --u-pagination-size-picker-border
|
|
53
55
|
exports.default = (0, cssr_1.cB)('pagination', `
|
|
54
56
|
display: flex;
|
|
55
57
|
width: 100%;
|
|
@@ -69,6 +71,7 @@ exports.default = (0, cssr_1.cB)('pagination', `
|
|
|
69
71
|
margin: var(--u-item-margin);
|
|
70
72
|
`), (0, cssr_1.cB)('select', `
|
|
71
73
|
min-width: var(--u-select-width);
|
|
74
|
+
max-width: 100px;
|
|
72
75
|
margin: var(--u-select-margin);
|
|
73
76
|
`), (0, cssr_1.c)('&.transition-disabled', [(0, cssr_1.cB)('pagination-item', 'transition: none !important;')]), (0, cssr_1.cB)('pagination-pages', `
|
|
74
77
|
white-space: nowrap;
|
|
@@ -79,10 +82,18 @@ exports.default = (0, cssr_1.cB)('pagination', `
|
|
|
79
82
|
white-space: nowrap;
|
|
80
83
|
transition: color .3s var(--u-bezier);
|
|
81
84
|
align-items: center;
|
|
85
|
+
display: flex;
|
|
86
|
+
gap: 16px 10px;
|
|
87
|
+
flex-wrap: wrap;
|
|
88
|
+
width: 100%;
|
|
82
89
|
`, [(0, cssr_1.cB)('label', `
|
|
83
90
|
font-size: 14px;
|
|
84
91
|
font-weight: 500;
|
|
85
92
|
line-height: 20px;
|
|
93
|
+
`), (0, cssr_1.cB)('base-selection-label', `
|
|
94
|
+
background-color: var(--u-pagination-size-picker-background);
|
|
95
|
+
`), (0, cssr_1.cB)('base-selection__border', `
|
|
96
|
+
border-color: var(--u-pagination-size-picker-border);
|
|
86
97
|
`)]), (0, cssr_1.cB)('pagination-quick-jumper', `
|
|
87
98
|
white-space: nowrap;
|
|
88
99
|
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;
|
|
@@ -7,7 +7,7 @@ const styles_3 = require("../../input/styles");
|
|
|
7
7
|
const common_1 = require("../../_styles/common");
|
|
8
8
|
const _mixins_1 = require("../../_mixins");
|
|
9
9
|
const self = (vars) => {
|
|
10
|
-
const { transparencySecondary, elementsPrimary, brandPrimary500, textSecondary,
|
|
10
|
+
const { brandPrimary100, transparencySecondary, elementsPrimary, brandPrimary500, textSecondary, borderRadius, fontBodyMedium, fontBodyLarge, textPrimary, textTertiary, elementsTertiary, elementsQuaternary } = vars;
|
|
11
11
|
return {
|
|
12
12
|
itemPaddingSmall: '0 4px',
|
|
13
13
|
itemMarginSmall: '0 0 0 2px',
|
|
@@ -59,15 +59,15 @@ const self = (vars) => {
|
|
|
59
59
|
itemColor: '#0000',
|
|
60
60
|
itemColorHover: transparencySecondary,
|
|
61
61
|
itemColorPressed: transparencySecondary,
|
|
62
|
-
itemColorActive:
|
|
63
|
-
itemColorActiveHover:
|
|
62
|
+
itemColorActive: brandPrimary100,
|
|
63
|
+
itemColorActiveHover: brandPrimary100,
|
|
64
64
|
itemColorDisabled: '#0000',
|
|
65
65
|
itemBorder: '0px',
|
|
66
66
|
itemBorderHover: '0px',
|
|
67
67
|
itemBorderPressed: '0px',
|
|
68
68
|
itemBorderActive: '0px',
|
|
69
69
|
itemBorderDisabled: '0px',
|
|
70
|
-
itemBorderRadius:
|
|
70
|
+
itemBorderRadius: borderRadius,
|
|
71
71
|
itemSizeSmall: '24px',
|
|
72
72
|
itemSizeMedium: '32px',
|
|
73
73
|
itemSizeLarge: '40px',
|
|
@@ -78,7 +78,9 @@ const self = (vars) => {
|
|
|
78
78
|
jumperFontSizeMedium: fontBodyMedium,
|
|
79
79
|
jumperFontSizeLarge: fontBodyLarge,
|
|
80
80
|
jumperTextColor: textPrimary,
|
|
81
|
-
jumperTextColorDisabled: textTertiary
|
|
81
|
+
jumperTextColorDisabled: textTertiary,
|
|
82
|
+
paginationSizePickerBackground: elementsTertiary,
|
|
83
|
+
paginationSizePickerBorder: elementsQuaternary
|
|
82
84
|
};
|
|
83
85
|
};
|
|
84
86
|
exports.self = self;
|
package/lib/spin/styles/light.js
CHANGED
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.self = void 0;
|
|
4
4
|
const common_1 = require("../../_styles/common");
|
|
5
5
|
const self = (vars) => {
|
|
6
|
-
const { opacityDisabled, elementsPrimary, brandPrimary500, fontBodyMedium, fontBodySmall, fontBodyLarge, fontHeadingSmall,
|
|
6
|
+
const { opacityDisabled, elementsPrimary, brandPrimary500, fontBodyMedium, fontBodySmall, fontBodyLarge, fontHeadingSmall, fontTitleMedium, fontHeadingLarge } = vars;
|
|
7
7
|
return {
|
|
8
8
|
tertiaryColor: elementsPrimary,
|
|
9
9
|
primaryColor: brandPrimary500,
|
|
10
10
|
fontSize: fontBodyMedium,
|
|
11
11
|
sizeTiny: fontBodySmall,
|
|
12
12
|
sizeSmall: fontBodyLarge,
|
|
13
|
-
sizeMedium:
|
|
14
|
-
sizeLarge:
|
|
13
|
+
sizeMedium: fontTitleMedium,
|
|
14
|
+
sizeLarge: fontHeadingSmall,
|
|
15
15
|
sizeHuge: fontHeadingLarge,
|
|
16
16
|
opacitySpinning: opacityDisabled
|
|
17
17
|
};
|
package/lib/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;
|