@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
package/lib/steps/src/Steps.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.stepsInjectionKey = exports.stepsProps = void 0;
|
|
|
7
7
|
const vue_1 = require("vue");
|
|
8
8
|
const _mixins_1 = require("../../_mixins");
|
|
9
9
|
const _utils_1 = require("../../_utils");
|
|
10
|
+
const interface_1 = require("./interface");
|
|
10
11
|
const styles_1 = require("../styles");
|
|
11
12
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
12
13
|
function stepWithIndex(step, i) {
|
|
@@ -51,11 +52,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
51
52
|
};
|
|
52
53
|
},
|
|
53
54
|
render() {
|
|
55
|
+
var _a, _b;
|
|
54
56
|
const { mergedClsPrefix } = this;
|
|
55
57
|
return ((0, vue_1.h)("div", { class: [
|
|
56
58
|
`${mergedClsPrefix}-steps`,
|
|
59
|
+
`${mergedClsPrefix}-steps--${this.variant}-variant`,
|
|
57
60
|
this.rtlEnabled && `${mergedClsPrefix}-steps--rtl`,
|
|
58
|
-
(
|
|
61
|
+
((_b = (_a = interface_1.variantConfigs[this.variant]) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : this.vertical) &&
|
|
59
62
|
`${mergedClsPrefix}-steps--vertical`
|
|
60
63
|
] }, stepsWithIndex((0, _utils_1.flatten)((0, _utils_1.getSlot)(this)))));
|
|
61
64
|
}
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { VNodeChild } from 'vue';
|
|
2
2
|
import { MaybeArray } from '../../_utils';
|
|
3
3
|
export type StepsStatus = 'process' | 'finish' | 'error' | 'wait';
|
|
4
|
-
export type StepsVariant = 'default' | 'history';
|
|
4
|
+
export type StepsVariant = 'default' | 'history' | 'outline' | 'dotted';
|
|
5
5
|
export type OnUpdateValue = MaybeArray<(current: number) => void>;
|
|
6
|
+
export interface VariantConfig {
|
|
7
|
+
rendersSplitor?: boolean;
|
|
8
|
+
vertical?: boolean;
|
|
9
|
+
showDescription?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const defaultVariantConfig: Required<VariantConfig>;
|
|
12
|
+
export declare const variantConfigs: Partial<Record<StepsVariant, VariantConfig>>;
|
|
6
13
|
export type IconRenderer = {
|
|
7
14
|
[K in StepsVariant]: Record<string, () => VNodeChild | null>;
|
|
8
15
|
};
|
|
9
16
|
export interface VariantBehaviors {
|
|
10
17
|
variant: StepsVariant;
|
|
11
|
-
|
|
18
|
+
isVertical: boolean;
|
|
12
19
|
shouldRenderSplitor: boolean;
|
|
20
|
+
showDescription: boolean;
|
|
13
21
|
}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.variantConfigs = exports.defaultVariantConfig = void 0;
|
|
4
|
+
exports.defaultVariantConfig = {
|
|
5
|
+
rendersSplitor: true,
|
|
6
|
+
vertical: false,
|
|
7
|
+
showDescription: true
|
|
8
|
+
};
|
|
9
|
+
exports.variantConfigs = {
|
|
10
|
+
history: { vertical: true, rendersSplitor: true },
|
|
11
|
+
outline: { rendersSplitor: false, showDescription: false },
|
|
12
|
+
dotted: { rendersSplitor: true, showDescription: true }
|
|
13
|
+
};
|
|
@@ -19,16 +19,117 @@ const icon_switch_cssr_1 = require("../../../_styles/transitions/icon-switch.css
|
|
|
19
19
|
// --u-step-header-font-size
|
|
20
20
|
// --u-step-header-font-weight
|
|
21
21
|
// --u-step-icon-color
|
|
22
|
+
// --u-indicator-border-radius--outline
|
|
23
|
+
// --u-indicator-border-radius-finish--outline
|
|
24
|
+
// --u-indicator-background-finish--outline
|
|
25
|
+
// --u-indicator-icon-color--outline
|
|
26
|
+
// --u-indicator-icon-color-finish--outline
|
|
27
|
+
// --u-indicator-icon-size--outline
|
|
28
|
+
// --u-indicator-index-font-size--outline
|
|
29
|
+
// --u-step-header-font-size--dotted
|
|
30
|
+
// --u-description-text-color--dotted
|
|
31
|
+
// --u-indicator-color--dotted
|
|
32
|
+
// --u-splitor-color--dotted
|
|
33
|
+
// --u-splitor-color-finish--dotted
|
|
34
|
+
// --u-indicator-size--dotted
|
|
35
|
+
// --u-indicator-color-finish--dotted
|
|
22
36
|
exports.default = (0, cssr_1.cB)('steps', `
|
|
23
37
|
width: 100%;
|
|
24
38
|
display: flex;
|
|
25
|
-
`, [(0, cssr_1.
|
|
39
|
+
`, [(0, cssr_1.cM)('outline-variant', `
|
|
40
|
+
gap: 16px;
|
|
41
|
+
width: fit-content;
|
|
42
|
+
`), (0, cssr_1.cB)('step', `
|
|
26
43
|
position: relative;
|
|
27
44
|
display: flex;
|
|
28
45
|
flex: 1;
|
|
29
46
|
`, [(0, cssr_1.cM)('disabled', 'cursor: not-allowed'), (0, cssr_1.cM)('clickable', `
|
|
30
47
|
cursor: pointer;
|
|
31
|
-
`), (0, cssr_1.c)('&:last-child', [(0, cssr_1.cB)('step-splitor', 'display: none;')])
|
|
48
|
+
`), (0, cssr_1.c)('&:last-child', [(0, cssr_1.cB)('step-splitor', 'display: none;')]), (0, cssr_1.cM)('outline-variant', [(0, cssr_1.c)('&', `
|
|
49
|
+
box-shadow: 0 0 0 2px var(--u-splitor-color);
|
|
50
|
+
display: flex;
|
|
51
|
+
height: var(--u-step-height);
|
|
52
|
+
padding: 0 12px 0 8px;
|
|
53
|
+
align-items: center;
|
|
54
|
+
gap: 12px;
|
|
55
|
+
border-radius: var(--u-indicator-border-radius--outline);
|
|
56
|
+
`), (0, cssr_1.cB)('step-content-header', `
|
|
57
|
+
margin: 0px;
|
|
58
|
+
`), (0, cssr_1.c)('>', [(0, cssr_1.cB)('step-indicator', `
|
|
59
|
+
box-shadow: none;
|
|
60
|
+
border: none;
|
|
61
|
+
`, [(0, cssr_1.cB)('step-indicator-slot', `
|
|
62
|
+
`, [(0, cssr_1.cE)('index', `
|
|
63
|
+
font-size: var(--u-indicator-index-font-size--outline);
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 50%;
|
|
66
|
+
left: 50%;
|
|
67
|
+
transform: translate(-50%, -50%);
|
|
68
|
+
`), (0, cssr_1.cB)('base-icon', `
|
|
69
|
+
position: absolute;
|
|
70
|
+
top: 50%;
|
|
71
|
+
left: 50%;
|
|
72
|
+
transform: translate(-50%, -50%);
|
|
73
|
+
`)])])]), (0, cssr_1.cM)('process-status', [(0, cssr_1.cB)('step-indicator', `
|
|
74
|
+
background-color: var(--u-indicator-icon-color--outline);
|
|
75
|
+
`, [(0, cssr_1.cB)('step-indicator-slot', [(0, cssr_1.cE)('index', `
|
|
76
|
+
color: var(--u-indicator-text-color--outline);
|
|
77
|
+
`), (0, cssr_1.cB)('base-icon', `
|
|
78
|
+
color: var(--u-indicator-icon-color--outline);
|
|
79
|
+
`)])])]), (0, cssr_1.cM)('finish-status', [`
|
|
80
|
+
box-shadow: 0 0 0 2px var(--u-indicator-border-color-finish--outline);
|
|
81
|
+
`, (0, cssr_1.c)('>', [(0, cssr_1.cB)('step-indicator', `
|
|
82
|
+
border-radius: var(--u-indicator-border-radius-finish--outline);
|
|
83
|
+
background-color: var(--u-indicator-background-finish--outline);
|
|
84
|
+
`, [(0, cssr_1.cB)('step-indicator-slot', `
|
|
85
|
+
height: var(--u-indicator-icon-size--outline);
|
|
86
|
+
width: var(--u-indicator-icon-size--outline);
|
|
87
|
+
font-size: var(--u-indicator-icon-size--outline);
|
|
88
|
+
line-height: var(--u-indicator-icon-size--outline);
|
|
89
|
+
`, [(0, cssr_1.cB)('base-icon', `
|
|
90
|
+
color: var(--u-indicator-icon-color-finish--outline);
|
|
91
|
+
`)])])])])]), (0, cssr_1.cM)('dotted-variant', [(0, cssr_1.c)('&', `
|
|
92
|
+
align-items: baseline;
|
|
93
|
+
`, [(0, cssr_1.cM)('process-status', [(0, cssr_1.cB)('step-indicator', [(0, cssr_1.cB)('step-indicator-slot', `
|
|
94
|
+
background-color: var(--u-indicator-color);
|
|
95
|
+
`), (0, cssr_1.cB)('step-splitor', `
|
|
96
|
+
background-color: var(--u-indicator-color);
|
|
97
|
+
`)])]), (0, cssr_1.cM)('finish-status', [(0, cssr_1.cB)('step-indicator', [(0, cssr_1.cB)('step-indicator-slot', `
|
|
98
|
+
background-color: var(--u-indicator-color-finish--dotted);
|
|
99
|
+
`), (0, cssr_1.cB)('step-splitor', `
|
|
100
|
+
background-color: var(--u-splitor-color-finish--dotted);
|
|
101
|
+
`)])]), (0, cssr_1.cM)('error-status', [(0, cssr_1.cB)('step-indicator', [(0, cssr_1.cB)('step-indicator-slot', `
|
|
102
|
+
background-color: var(--u-indicator-color);
|
|
103
|
+
`), (0, cssr_1.cB)('step-splitor', `
|
|
104
|
+
background-color: var(--u-splitor-color);
|
|
105
|
+
`)])])]), (0, cssr_1.cB)('step', `
|
|
106
|
+
align-items: baseline;
|
|
107
|
+
`), (0, cssr_1.cB)('step-indicator', `
|
|
108
|
+
background-color: transparent;
|
|
109
|
+
box-shadow: none;
|
|
110
|
+
width: var(--u-indicator-size--dotted);
|
|
111
|
+
height: var(--u-indicator-size--dotted);
|
|
112
|
+
`, [(0, cssr_1.cB)('step-indicator-slot', `
|
|
113
|
+
background-color: var(--u-indicator-color--dotted);
|
|
114
|
+
border-radius: 50%;
|
|
115
|
+
height: 10px;
|
|
116
|
+
width: 10px;
|
|
117
|
+
`)]), (0, cssr_1.cB)('step-content', `
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
margin-left: 6px;
|
|
122
|
+
`, [(0, cssr_1.cB)('step-content-header', `
|
|
123
|
+
margin: 0;
|
|
124
|
+
font-size: var(--u-step-header-font-size--dotted);
|
|
125
|
+
font-weight: 500;
|
|
126
|
+
`), (0, cssr_1.cE)('description', `
|
|
127
|
+
margin-left: 0;
|
|
128
|
+
color: var(--u-description-text-color--dotted);
|
|
129
|
+
font-size: var(--u-step-header-font-size--dotted);
|
|
130
|
+
font-weight: 500;
|
|
131
|
+
line-height: 24px;
|
|
132
|
+
`)])])]), (0, cssr_1.cB)('step-splitor', `
|
|
32
133
|
background-color: var(--u-splitor-color);
|
|
33
134
|
margin-top: calc(var(--u-step-header-font-size) / 2);
|
|
34
135
|
height: 6px;
|
|
@@ -142,4 +243,15 @@ exports.default = (0, cssr_1.cB)('steps', `
|
|
|
142
243
|
margin: 0 !important;
|
|
143
244
|
left: calc(var(--u-indicator-size) / 2);
|
|
144
245
|
height: calc(100% - var(--u-indicator-size));
|
|
145
|
-
`)])]), (0, cssr_1.cB)('step-content', [(0, cssr_1.cE)('description', 'margin-top: 8px;')])])])])
|
|
246
|
+
`)])]), (0, cssr_1.cB)('step-content', [(0, cssr_1.cE)('description', 'margin-top: 8px;')])])])]), (0, cssr_1.cM)('outline-variant', [(0, cssr_1.c)('>', [(0, cssr_1.cB)('step', `
|
|
247
|
+
margin: 0;
|
|
248
|
+
padding: 0 12px 0 8px;
|
|
249
|
+
height: var(--u-step-height);
|
|
250
|
+
flex: auto;
|
|
251
|
+
`)])]), (0, cssr_1.cM)('dotted-variant', [(0, cssr_1.c)('>', [(0, cssr_1.cB)('step', [(0, cssr_1.cB)('step-splitor', `
|
|
252
|
+
background-color: var(--u-splitor-color--dotted);
|
|
253
|
+
bottom: -8px;
|
|
254
|
+
width: 2px;
|
|
255
|
+
left: calc(var(--u-indicator-size--dotted) / 2 - 1px);
|
|
256
|
+
height: calc(100% - var(--u-indicator-size--dotted)/2 - 10px);
|
|
257
|
+
`)])])])])]);
|
|
@@ -3,16 +3,21 @@ import type { Theme } from '../../_mixins';
|
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
4
|
stepHeaderFontSizeSmall: string;
|
|
5
5
|
stepHeaderFontSizeMedium: string;
|
|
6
|
+
stepHeaderFontSizeLarge: string;
|
|
6
7
|
indicatorIndexFontSizeSmall: string;
|
|
7
8
|
indicatorIndexFontSizeMedium: string;
|
|
8
9
|
indicatorSizeSmall: string;
|
|
9
10
|
indicatorSizeMedium: string;
|
|
11
|
+
indicatorSizeDotted: string;
|
|
10
12
|
indicatorIconSizeSmall: string;
|
|
11
13
|
indicatorIconSizeMedium: string;
|
|
14
|
+
indicatorIconSizeOutline: string;
|
|
12
15
|
indicatorIconColorProcess: string;
|
|
13
16
|
indicatorIconColorWait: string;
|
|
14
17
|
indicatorIconColorFinish: string;
|
|
15
18
|
indicatorIconColorError: string;
|
|
19
|
+
indicatorIconColorOutline: string;
|
|
20
|
+
indicatorIconColorFinishDotted: string;
|
|
16
21
|
stepHeaderFontWeight: string;
|
|
17
22
|
indicatorTextColorProcess: string;
|
|
18
23
|
indicatorTextColorWait: string;
|
|
@@ -22,22 +27,31 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
22
27
|
indicatorBorderColorWait: string;
|
|
23
28
|
indicatorBorderColorFinish: string;
|
|
24
29
|
indicatorBorderColorError: string;
|
|
30
|
+
indicatorBorderColorFinishOutline: string;
|
|
31
|
+
indicatorBorderRadiusOutline: string;
|
|
32
|
+
indicatorBorderRadiusFinishOutline: string;
|
|
25
33
|
indicatorColorProcess: string;
|
|
26
34
|
indicatorColorWait: string;
|
|
27
35
|
indicatorColorFinish: string;
|
|
28
36
|
indicatorColorError: string;
|
|
37
|
+
indicatorColorDotted: string;
|
|
38
|
+
indicatorBackgroundFinishOutline: string;
|
|
29
39
|
splitorColorProcess: string;
|
|
30
40
|
splitorColorWait: string;
|
|
31
41
|
splitorColorFinish: string;
|
|
32
42
|
splitorColorError: string;
|
|
43
|
+
splitorColorFinishDotted: string;
|
|
44
|
+
splitorColorDotted: string;
|
|
33
45
|
headerTextColorProcess: string;
|
|
34
46
|
headerTextColorWait: string;
|
|
35
47
|
headerTextColorFinish: string;
|
|
36
48
|
headerTextColorError: string;
|
|
37
49
|
descriptionTextColorProcess: string;
|
|
38
50
|
descriptionTextColorWait: string;
|
|
51
|
+
descriptionTextColorDotted: string;
|
|
39
52
|
descriptionTextColorFinish: string;
|
|
40
53
|
descriptionTextColorError: string;
|
|
54
|
+
stepHeight: string;
|
|
41
55
|
};
|
|
42
56
|
export type StepsThemeVars = ReturnType<typeof self>;
|
|
43
57
|
declare const stepsLight: Theme<'Steps', StepsThemeVars>;
|
|
@@ -3,20 +3,25 @@ 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 { fontWeightStrong, fontBodySmall, fontBodyMedium, fontBodyLarge, textPrimary, brandPrimary500, staticRed, elementsTertiary, brandPrimary300, textSecondary, staticWhite, staticGreen } = vars;
|
|
6
|
+
const { fontWeightStrong, fontBodySmall, fontBodyMedium, fontBodyLarge, textPrimary, brandPrimary500, staticRed, elementsTertiary, brandPrimary300, textSecondary, staticWhite, staticGreen, brandPrimary50, elementsQuaternary, borderRadius, heightSmall, borderRadiusSmall } = vars;
|
|
7
7
|
return {
|
|
8
8
|
stepHeaderFontSizeSmall: fontBodySmall,
|
|
9
9
|
stepHeaderFontSizeMedium: fontBodyMedium,
|
|
10
|
+
stepHeaderFontSizeLarge: fontBodyLarge,
|
|
10
11
|
indicatorIndexFontSizeSmall: fontBodyMedium,
|
|
11
12
|
indicatorIndexFontSizeMedium: fontBodyLarge,
|
|
12
13
|
indicatorSizeSmall: '22px',
|
|
13
14
|
indicatorSizeMedium: '28px',
|
|
15
|
+
indicatorSizeDotted: '24px',
|
|
14
16
|
indicatorIconSizeSmall: '14px',
|
|
15
17
|
indicatorIconSizeMedium: '18px',
|
|
18
|
+
indicatorIconSizeOutline: '12px',
|
|
16
19
|
indicatorIconColorProcess: textPrimary,
|
|
17
20
|
indicatorIconColorWait: textSecondary,
|
|
18
21
|
indicatorIconColorFinish: staticGreen,
|
|
19
22
|
indicatorIconColorError: staticRed,
|
|
23
|
+
indicatorIconColorOutline: elementsTertiary,
|
|
24
|
+
indicatorIconColorFinishDotted: brandPrimary500,
|
|
20
25
|
stepHeaderFontWeight: fontWeightStrong,
|
|
21
26
|
indicatorTextColorProcess: staticWhite,
|
|
22
27
|
indicatorTextColorWait: textSecondary,
|
|
@@ -26,22 +31,31 @@ const self = (vars) => {
|
|
|
26
31
|
indicatorBorderColorWait: elementsTertiary,
|
|
27
32
|
indicatorBorderColorFinish: brandPrimary300,
|
|
28
33
|
indicatorBorderColorError: staticRed,
|
|
34
|
+
indicatorBorderColorFinishOutline: elementsQuaternary,
|
|
35
|
+
indicatorBorderRadiusOutline: borderRadius,
|
|
36
|
+
indicatorBorderRadiusFinishOutline: borderRadiusSmall,
|
|
29
37
|
indicatorColorProcess: brandPrimary500,
|
|
30
38
|
indicatorColorWait: elementsTertiary,
|
|
31
39
|
indicatorColorFinish: brandPrimary300,
|
|
32
40
|
indicatorColorError: staticRed,
|
|
41
|
+
indicatorColorDotted: brandPrimary50,
|
|
42
|
+
indicatorBackgroundFinishOutline: brandPrimary50,
|
|
33
43
|
splitorColorProcess: brandPrimary500,
|
|
34
44
|
splitorColorWait: elementsTertiary,
|
|
35
45
|
splitorColorFinish: brandPrimary300,
|
|
36
46
|
splitorColorError: staticRed,
|
|
47
|
+
splitorColorFinishDotted: brandPrimary500,
|
|
48
|
+
splitorColorDotted: brandPrimary50,
|
|
37
49
|
headerTextColorProcess: textPrimary,
|
|
38
50
|
headerTextColorWait: textSecondary,
|
|
39
51
|
headerTextColorFinish: textPrimary,
|
|
40
52
|
headerTextColorError: staticRed,
|
|
41
53
|
descriptionTextColorProcess: textPrimary,
|
|
42
54
|
descriptionTextColorWait: textSecondary,
|
|
55
|
+
descriptionTextColorDotted: textSecondary,
|
|
43
56
|
descriptionTextColorFinish: textPrimary,
|
|
44
|
-
descriptionTextColorError: staticRed
|
|
57
|
+
descriptionTextColorError: staticRed,
|
|
58
|
+
stepHeight: heightSmall
|
|
45
59
|
};
|
|
46
60
|
};
|
|
47
61
|
exports.self = self;
|
|
@@ -72,6 +72,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
72
72
|
shadowDepth: string;
|
|
73
73
|
fontFamily: string;
|
|
74
74
|
fontFamilyMono: string;
|
|
75
|
+
fontFamilyWixMadeforDisplay: string;
|
|
75
76
|
cubicBezierEaseInOut: string;
|
|
76
77
|
cubicBezierEaseOut: string;
|
|
77
78
|
cubicBezierEaseIn: string;
|
|
@@ -120,6 +121,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
120
121
|
closeLarge: string;
|
|
121
122
|
closeHuge: string;
|
|
122
123
|
closeBorderRadius: string;
|
|
124
|
+
codeBorder: string;
|
|
123
125
|
name: "common";
|
|
124
126
|
}>;
|
|
125
127
|
theme: import("vue").ComputedRef<GlobalThemeOverrides>;
|
package/lib/themes/dark.js
CHANGED
|
@@ -88,10 +88,12 @@ const styles_83 = require("../watermark/styles");
|
|
|
88
88
|
const styles_84 = require("../toggle-button/styles");
|
|
89
89
|
const styles_85 = require("../_internal/account-option/styles");
|
|
90
90
|
const styles_86 = require("../flex/styles");
|
|
91
|
+
const styles_87 = require("../action-card/styles");
|
|
91
92
|
exports.darkTheme = {
|
|
92
93
|
name: 'dark',
|
|
93
94
|
common: common_1.commonDark,
|
|
94
95
|
AccountOption: styles_85.accountOptionDark,
|
|
96
|
+
ActionCard: styles_87.actionCardDark,
|
|
95
97
|
Alert: styles_1.alertDark,
|
|
96
98
|
Anchor: styles_2.anchorDark,
|
|
97
99
|
AutoComplete: styles_3.autoCompleteDark,
|
package/lib/themes/light.js
CHANGED
|
@@ -90,10 +90,12 @@ const styles_83 = require("../watermark/styles");
|
|
|
90
90
|
const styles_84 = require("../toggle-button/styles");
|
|
91
91
|
const styles_85 = require("../_internal/account-option/styles");
|
|
92
92
|
const styles_86 = require("../flex/styles");
|
|
93
|
+
const styles_87 = require("../action-card/styles");
|
|
93
94
|
exports.lightTheme = {
|
|
94
95
|
name: 'light',
|
|
95
96
|
common: common_1.commonLight,
|
|
96
97
|
AccountOption: styles_85.accountOptionLight,
|
|
98
|
+
ActionCard: styles_87.actionCardLight,
|
|
97
99
|
Alert: styles_1.alertLight,
|
|
98
100
|
Anchor: styles_2.anchorLight,
|
|
99
101
|
AutoComplete: styles_3.autoCompleteLight,
|
|
@@ -17,6 +17,10 @@ export declare const toggleButtonProps: {
|
|
|
17
17
|
type: PropType<"default" | "primary">;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
+
iconPosition: {
|
|
21
|
+
type: PropType<"top" | "bottom">;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
20
24
|
size: PropType<"small" | "medium" | "large">;
|
|
21
25
|
checked: {
|
|
22
26
|
type: PropType<boolean | string | number | undefined>;
|
|
@@ -183,6 +187,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
183
187
|
type: PropType<"default" | "primary">;
|
|
184
188
|
default: string;
|
|
185
189
|
};
|
|
190
|
+
iconPosition: {
|
|
191
|
+
type: PropType<"top" | "bottom">;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
186
194
|
size: PropType<"small" | "medium" | "large">;
|
|
187
195
|
checked: {
|
|
188
196
|
type: PropType<boolean | string | number | undefined>;
|
|
@@ -391,6 +399,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
391
399
|
type: PropType<"default" | "primary">;
|
|
392
400
|
default: string;
|
|
393
401
|
};
|
|
402
|
+
iconPosition: {
|
|
403
|
+
type: PropType<"top" | "bottom">;
|
|
404
|
+
default: string;
|
|
405
|
+
};
|
|
394
406
|
size: PropType<"small" | "medium" | "large">;
|
|
395
407
|
checked: {
|
|
396
408
|
type: PropType<boolean | string | number | undefined>;
|
|
@@ -547,5 +559,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
547
559
|
checkedValue: string | number | boolean;
|
|
548
560
|
uncheckedValue: string | number | boolean;
|
|
549
561
|
viewType: "default" | "primary";
|
|
562
|
+
iconPosition: "top" | "bottom";
|
|
550
563
|
}, {}>;
|
|
551
564
|
export default _default;
|
|
@@ -20,6 +20,9 @@ exports.toggleButtonProps = Object.assign(Object.assign(Object.assign({}, _mixin
|
|
|
20
20
|
}, viewType: {
|
|
21
21
|
type: String,
|
|
22
22
|
default: 'default'
|
|
23
|
+
}, iconPosition: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: 'top'
|
|
23
26
|
} });
|
|
24
27
|
exports.default = (0, vue_1.defineComponent)({
|
|
25
28
|
name: 'ToggleButton',
|
|
@@ -103,9 +106,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
103
106
|
},
|
|
104
107
|
render() {
|
|
105
108
|
var _a, _b, _c;
|
|
106
|
-
const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled } = this;
|
|
109
|
+
const { $slots, mergedClsPrefix, onRender, description, title, footer, mergedChecked, isCheckbox, mergedDisabled, iconPosition } = this;
|
|
107
110
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
108
|
-
const iconNode = ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__icon` }, (0, _utils_1.resolveSlot)($slots.icon, () => [
|
|
111
|
+
const iconNode = ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__icon ${mergedClsPrefix}-toggle-button__icon--position-${iconPosition}` }, (0, _utils_1.resolveSlot)($slots.icon, () => [
|
|
109
112
|
(0, vue_1.h)(_internal_1.UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => (0, vue_1.h)(Checkmark_1.default, null) })
|
|
110
113
|
])));
|
|
111
114
|
const titleNode = (title || $slots.header) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-toggle-button__title` }, ((_a = $slots.header) === null || _a === void 0 ? void 0 : _a.call($slots)) || title));
|
|
@@ -54,6 +54,9 @@ exports.default = (0, cssr_1.cB)('toggle-button', `
|
|
|
54
54
|
font-size: var(--u-icon-size);
|
|
55
55
|
`), (0, cssr_1.cB)('icon', `
|
|
56
56
|
font-size: var(--u-icon-size);
|
|
57
|
+
`), (0, cssr_1.cM)('position-bottom', `
|
|
58
|
+
bottom: 0;
|
|
59
|
+
top: auto;
|
|
57
60
|
`)]), (0, cssr_1.cE)('input', `
|
|
58
61
|
opacity: 0;
|
|
59
62
|
pointer-events: none;
|
|
@@ -26,6 +26,7 @@ export declare const aProps: {
|
|
|
26
26
|
headerBarWidth5: string;
|
|
27
27
|
headerBarWidth6: string;
|
|
28
28
|
pMargin: string;
|
|
29
|
+
margin: string;
|
|
29
30
|
liMargin: string;
|
|
30
31
|
olPadding: string;
|
|
31
32
|
ulPadding: string;
|
|
@@ -47,6 +48,8 @@ export declare const aProps: {
|
|
|
47
48
|
pTextColor3Depth: string;
|
|
48
49
|
pLineHeight: string;
|
|
49
50
|
pFontSize: string;
|
|
51
|
+
fontSize: string;
|
|
52
|
+
lineHeight: string;
|
|
50
53
|
headerBarColor: string;
|
|
51
54
|
headerBarColorPrimary: string;
|
|
52
55
|
headerBarColorInfo: string;
|
|
@@ -92,6 +95,7 @@ export declare const aProps: {
|
|
|
92
95
|
headerBarWidth5: string;
|
|
93
96
|
headerBarWidth6: string;
|
|
94
97
|
pMargin: string;
|
|
98
|
+
margin: string;
|
|
95
99
|
liMargin: string;
|
|
96
100
|
olPadding: string;
|
|
97
101
|
ulPadding: string;
|
|
@@ -113,6 +117,8 @@ export declare const aProps: {
|
|
|
113
117
|
pTextColor3Depth: string;
|
|
114
118
|
pLineHeight: string;
|
|
115
119
|
pFontSize: string;
|
|
120
|
+
fontSize: string;
|
|
121
|
+
lineHeight: string;
|
|
116
122
|
headerBarColor: string;
|
|
117
123
|
headerBarColorPrimary: string;
|
|
118
124
|
headerBarColorInfo: string;
|
|
@@ -158,6 +164,7 @@ export declare const aProps: {
|
|
|
158
164
|
headerBarWidth5: string;
|
|
159
165
|
headerBarWidth6: string;
|
|
160
166
|
pMargin: string;
|
|
167
|
+
margin: string;
|
|
161
168
|
liMargin: string;
|
|
162
169
|
olPadding: string;
|
|
163
170
|
ulPadding: string;
|
|
@@ -179,6 +186,8 @@ export declare const aProps: {
|
|
|
179
186
|
pTextColor3Depth: string;
|
|
180
187
|
pLineHeight: string;
|
|
181
188
|
pFontSize: string;
|
|
189
|
+
fontSize: string;
|
|
190
|
+
lineHeight: string;
|
|
182
191
|
headerBarColor: string;
|
|
183
192
|
headerBarColorPrimary: string;
|
|
184
193
|
headerBarColorInfo: string;
|
|
@@ -227,6 +236,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
236
|
headerBarWidth5: string;
|
|
228
237
|
headerBarWidth6: string;
|
|
229
238
|
pMargin: string;
|
|
239
|
+
margin: string;
|
|
230
240
|
liMargin: string;
|
|
231
241
|
olPadding: string;
|
|
232
242
|
ulPadding: string;
|
|
@@ -248,6 +258,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
248
258
|
pTextColor3Depth: string;
|
|
249
259
|
pLineHeight: string;
|
|
250
260
|
pFontSize: string;
|
|
261
|
+
fontSize: string;
|
|
262
|
+
lineHeight: string;
|
|
251
263
|
headerBarColor: string;
|
|
252
264
|
headerBarColorPrimary: string;
|
|
253
265
|
headerBarColorInfo: string;
|
|
@@ -293,6 +305,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
305
|
headerBarWidth5: string;
|
|
294
306
|
headerBarWidth6: string;
|
|
295
307
|
pMargin: string;
|
|
308
|
+
margin: string;
|
|
296
309
|
liMargin: string;
|
|
297
310
|
olPadding: string;
|
|
298
311
|
ulPadding: string;
|
|
@@ -314,6 +327,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
314
327
|
pTextColor3Depth: string;
|
|
315
328
|
pLineHeight: string;
|
|
316
329
|
pFontSize: string;
|
|
330
|
+
fontSize: string;
|
|
331
|
+
lineHeight: string;
|
|
317
332
|
headerBarColor: string;
|
|
318
333
|
headerBarColorPrimary: string;
|
|
319
334
|
headerBarColorInfo: string;
|
|
@@ -359,6 +374,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
359
374
|
headerBarWidth5: string;
|
|
360
375
|
headerBarWidth6: string;
|
|
361
376
|
pMargin: string;
|
|
377
|
+
margin: string;
|
|
362
378
|
liMargin: string;
|
|
363
379
|
olPadding: string;
|
|
364
380
|
ulPadding: string;
|
|
@@ -380,6 +396,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
380
396
|
pTextColor3Depth: string;
|
|
381
397
|
pLineHeight: string;
|
|
382
398
|
pFontSize: string;
|
|
399
|
+
fontSize: string;
|
|
400
|
+
lineHeight: string;
|
|
383
401
|
headerBarColor: string;
|
|
384
402
|
headerBarColorPrimary: string;
|
|
385
403
|
headerBarColorInfo: string;
|
|
@@ -434,6 +452,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
434
452
|
headerBarWidth5: string;
|
|
435
453
|
headerBarWidth6: string;
|
|
436
454
|
pMargin: string;
|
|
455
|
+
margin: string;
|
|
437
456
|
liMargin: string;
|
|
438
457
|
olPadding: string;
|
|
439
458
|
ulPadding: string;
|
|
@@ -455,6 +474,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
455
474
|
pTextColor3Depth: string;
|
|
456
475
|
pLineHeight: string;
|
|
457
476
|
pFontSize: string;
|
|
477
|
+
fontSize: string;
|
|
478
|
+
lineHeight: string;
|
|
458
479
|
headerBarColor: string;
|
|
459
480
|
headerBarColorPrimary: string;
|
|
460
481
|
headerBarColorInfo: string;
|
|
@@ -500,6 +521,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
500
521
|
headerBarWidth5: string;
|
|
501
522
|
headerBarWidth6: string;
|
|
502
523
|
pMargin: string;
|
|
524
|
+
margin: string;
|
|
503
525
|
liMargin: string;
|
|
504
526
|
olPadding: string;
|
|
505
527
|
ulPadding: string;
|
|
@@ -521,6 +543,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
521
543
|
pTextColor3Depth: string;
|
|
522
544
|
pLineHeight: string;
|
|
523
545
|
pFontSize: string;
|
|
546
|
+
fontSize: string;
|
|
547
|
+
lineHeight: string;
|
|
524
548
|
headerBarColor: string;
|
|
525
549
|
headerBarColorPrimary: string;
|
|
526
550
|
headerBarColorInfo: string;
|
|
@@ -566,6 +590,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
566
590
|
headerBarWidth5: string;
|
|
567
591
|
headerBarWidth6: string;
|
|
568
592
|
pMargin: string;
|
|
593
|
+
margin: string;
|
|
569
594
|
liMargin: string;
|
|
570
595
|
olPadding: string;
|
|
571
596
|
ulPadding: string;
|
|
@@ -587,6 +612,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
587
612
|
pTextColor3Depth: string;
|
|
588
613
|
pLineHeight: string;
|
|
589
614
|
pFontSize: string;
|
|
615
|
+
fontSize: string;
|
|
616
|
+
lineHeight: string;
|
|
590
617
|
headerBarColor: string;
|
|
591
618
|
headerBarColorPrimary: string;
|
|
592
619
|
headerBarColorInfo: string;
|
package/lib/typography/src/a.js
CHANGED
|
@@ -13,6 +13,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
13
13
|
name: 'A',
|
|
14
14
|
props: exports.aProps,
|
|
15
15
|
setup(props) {
|
|
16
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
17
|
+
(0, vue_1.warn)('a', 'A component is deprecated, you should use `UText` instead.');
|
|
18
|
+
}
|
|
16
19
|
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
17
20
|
const themeRef = (0, _mixins_1.useTheme)('Typography', '-a', a_cssr_1.default, styles_1.typographyLight, props, mergedClsPrefixRef);
|
|
18
21
|
const cssVarsRef = (0, vue_1.computed)(() => {
|