@x-plat/design-system 0.4.5 → 0.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/components/Accordion/index.cjs +294 -294
- package/dist/components/Accordion/index.css +11 -11
- package/dist/components/Accordion/index.d.cts +0 -1
- package/dist/components/Accordion/index.d.ts +0 -1
- package/dist/components/Accordion/index.js +491 -491
- package/dist/components/Alert/index.cjs +2 -2
- package/dist/components/Alert/index.css +19 -19
- package/dist/components/Alert/index.d.cts +0 -1
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/Avatar/index.cjs +11 -6
- package/dist/components/Avatar/index.css +41 -11
- package/dist/components/Avatar/index.d.cts +1 -3
- package/dist/components/Avatar/index.d.ts +1 -3
- package/dist/components/Avatar/index.js +11 -6
- package/dist/components/Badge/index.cjs +4 -6
- package/dist/components/Badge/index.css +32 -19
- package/dist/components/Badge/index.d.cts +3 -3
- package/dist/components/Badge/index.d.ts +3 -3
- package/dist/components/Badge/index.js +4 -6
- package/dist/components/Breadcrumb/index.cjs +2 -18
- package/dist/components/Breadcrumb/index.css +6 -6
- package/dist/components/Breadcrumb/index.d.cts +0 -1
- package/dist/components/Breadcrumb/index.d.ts +0 -1
- package/dist/components/Breadcrumb/index.js +2 -18
- package/dist/components/Button/index.cjs +1 -4
- package/dist/components/Button/index.css +67 -23
- package/dist/components/Button/index.d.cts +2 -3
- package/dist/components/Button/index.d.ts +2 -3
- package/dist/components/Button/index.js +1 -4
- package/dist/components/Calendar/index.cjs +306 -307
- package/dist/components/Calendar/index.css +51 -52
- package/dist/components/Calendar/index.d.cts +3 -4
- package/dist/components/Calendar/index.d.ts +3 -4
- package/dist/components/Calendar/index.js +503 -504
- package/dist/components/Card/index.cjs +2 -18
- package/dist/components/Card/index.css +6 -6
- package/dist/components/Card/index.d.cts +0 -4
- package/dist/components/Card/index.d.ts +0 -4
- package/dist/components/Card/index.js +2 -18
- package/dist/components/CardTab/index.cjs +4 -5
- package/dist/components/CardTab/index.css +28 -28
- package/dist/components/CardTab/index.d.cts +0 -2
- package/dist/components/CardTab/index.d.ts +0 -2
- package/dist/components/CardTab/index.js +4 -5
- package/dist/components/Chart/index.cjs +228 -14548
- package/dist/components/Chart/index.css +57 -0
- package/dist/components/Chart/index.d.cts +3 -2
- package/dist/components/Chart/index.d.ts +3 -2
- package/dist/components/Chart/index.js +219 -14541
- package/dist/components/CheckBox/index.cjs +301 -297
- package/dist/components/CheckBox/index.css +50 -27
- package/dist/components/CheckBox/index.d.cts +3 -3
- package/dist/components/CheckBox/index.d.ts +3 -3
- package/dist/components/CheckBox/index.js +486 -482
- package/dist/components/Chip/index.cjs +2 -5
- package/dist/components/Chip/index.css +35 -23
- package/dist/components/Chip/index.d.cts +2 -4
- package/dist/components/Chip/index.d.ts +2 -4
- package/dist/components/Chip/index.js +2 -5
- package/dist/components/DatePicker/index.cjs +348 -359
- package/dist/components/DatePicker/index.css +175 -122
- package/dist/components/DatePicker/index.d.cts +2 -3
- package/dist/components/DatePicker/index.d.ts +2 -3
- package/dist/components/DatePicker/index.js +525 -536
- package/dist/components/Divider/index.cjs +2 -2
- package/dist/components/Divider/index.css +2 -2
- package/dist/components/Divider/index.d.cts +0 -1
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Divider/index.js +2 -2
- package/dist/components/Drawer/index.css +7 -7
- package/dist/components/Dropdown/index.cjs +2 -2
- package/dist/components/Dropdown/index.css +10 -10
- package/dist/components/Dropdown/index.d.cts +0 -1
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/EmptyState/index.cjs +2 -18
- package/dist/components/EmptyState/index.css +8 -9
- package/dist/components/EmptyState/index.d.cts +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -1
- package/dist/components/EmptyState/index.js +2 -18
- package/dist/components/FileUpload/index.cjs +280 -281
- package/dist/components/FileUpload/index.css +13 -14
- package/dist/components/FileUpload/index.d.cts +0 -1
- package/dist/components/FileUpload/index.d.ts +0 -1
- package/dist/components/FileUpload/index.js +476 -477
- package/dist/components/HtmlTypeWriter/index.cjs +10 -10
- package/dist/components/HtmlTypeWriter/index.css +3 -3
- package/dist/components/HtmlTypeWriter/index.js +10 -10
- package/dist/components/ImageSelector/index.cjs +309 -309
- package/dist/components/ImageSelector/index.css +15 -15
- package/dist/components/ImageSelector/index.js +477 -477
- package/dist/components/Input/index.cjs +6 -7
- package/dist/components/Input/index.css +37 -26
- package/dist/components/Input/index.d.cts +2 -2
- package/dist/components/Input/index.d.ts +2 -2
- package/dist/components/Input/index.js +6 -7
- package/dist/components/Modal/index.css +5 -4
- package/dist/components/Pagination/index.cjs +303 -305
- package/dist/components/Pagination/index.css +37 -26
- package/dist/components/Pagination/index.d.cts +3 -3
- package/dist/components/Pagination/index.d.ts +3 -3
- package/dist/components/Pagination/index.js +500 -502
- package/dist/components/PopOver/index.css +3 -3
- package/dist/components/Progress/index.cjs +4 -6
- package/dist/components/Progress/index.css +23 -9
- package/dist/components/Progress/index.d.cts +3 -3
- package/dist/components/Progress/index.d.ts +3 -3
- package/dist/components/Progress/index.js +4 -6
- package/dist/components/Radio/index.cjs +4 -7
- package/dist/components/Radio/index.css +61 -29
- package/dist/components/Radio/index.d.cts +3 -3
- package/dist/components/Radio/index.d.ts +3 -3
- package/dist/components/Radio/index.js +4 -7
- package/dist/components/Select/index.cjs +294 -294
- package/dist/components/Select/index.css +46 -40
- package/dist/components/Select/index.d.cts +0 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Select/index.js +491 -491
- package/dist/components/Skeleton/index.cjs +2 -2
- package/dist/components/Skeleton/index.css +3 -3
- package/dist/components/Skeleton/index.d.cts +0 -1
- package/dist/components/Skeleton/index.d.ts +0 -1
- package/dist/components/Skeleton/index.js +2 -2
- package/dist/components/Spinner/index.cjs +2 -4
- package/dist/components/Spinner/index.css +22 -8
- package/dist/components/Spinner/index.d.cts +3 -3
- package/dist/components/Spinner/index.d.ts +3 -3
- package/dist/components/Spinner/index.js +2 -4
- package/dist/components/Steps/index.cjs +296 -298
- package/dist/components/Steps/index.css +77 -22
- package/dist/components/Steps/index.d.cts +3 -3
- package/dist/components/Steps/index.d.ts +3 -3
- package/dist/components/Steps/index.js +481 -483
- package/dist/components/Swiper/index.cjs +2 -3
- package/dist/components/Swiper/index.css +10 -10
- package/dist/components/Swiper/index.d.cts +0 -1
- package/dist/components/Swiper/index.d.ts +0 -1
- package/dist/components/Swiper/index.js +2 -3
- package/dist/components/Switch/index.cjs +4 -7
- package/dist/components/Switch/index.css +58 -26
- package/dist/components/Switch/index.d.cts +3 -3
- package/dist/components/Switch/index.d.ts +3 -3
- package/dist/components/Switch/index.js +4 -7
- package/dist/components/Tab/index.css +15 -15
- package/dist/components/Table/index.cjs +22 -31
- package/dist/components/Table/index.css +15 -15
- package/dist/components/Table/index.d.cts +2 -8
- package/dist/components/Table/index.d.ts +2 -8
- package/dist/components/Table/index.js +22 -31
- package/dist/components/Tag/index.cjs +305 -293
- package/dist/components/Tag/index.css +58 -17
- package/dist/components/Tag/index.d.cts +5 -3
- package/dist/components/Tag/index.d.ts +5 -3
- package/dist/components/Tag/index.js +492 -480
- package/dist/components/TextArea/index.cjs +2 -2
- package/dist/components/TextArea/index.css +20 -9
- package/dist/components/TextArea/index.d.cts +2 -1
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/Toast/index.css +22 -22
- package/dist/components/Tooltip/index.cjs +1 -3
- package/dist/components/Tooltip/index.css +6 -6
- package/dist/components/Tooltip/index.d.cts +1 -2
- package/dist/components/Tooltip/index.d.ts +1 -2
- package/dist/components/Tooltip/index.js +1 -3
- package/dist/components/Video/index.cjs +1 -3
- package/dist/components/Video/index.css +5 -5
- package/dist/components/Video/index.d.cts +0 -2
- package/dist/components/Video/index.d.ts +0 -2
- package/dist/components/Video/index.js +1 -3
- package/dist/components/index.cjs +1604 -15950
- package/dist/components/index.css +2167 -1061
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +1478 -15826
- package/dist/index.cjs +2941 -17269
- package/dist/index.css +2164 -1058
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2837 -17169
- package/dist/layout/Grid/FullGrid/index.cjs +9 -18
- package/dist/layout/Grid/FullGrid/index.d.cts +1 -1
- package/dist/layout/Grid/FullGrid/index.d.ts +1 -1
- package/dist/layout/Grid/FullGrid/index.js +9 -18
- package/dist/layout/Grid/FullScreen/index.cjs +9 -18
- package/dist/layout/Grid/FullScreen/index.d.cts +3 -3
- package/dist/layout/Grid/FullScreen/index.d.ts +3 -3
- package/dist/layout/Grid/FullScreen/index.js +9 -18
- package/dist/layout/Grid/index.cjs +34 -20
- package/dist/layout/Grid/index.js +34 -20
- package/dist/layout/index.cjs +34 -20
- package/dist/layout/index.css +1000 -295
- package/dist/layout/index.js +34 -20
- package/dist/tokens/index.cjs +1861 -1970
- package/dist/tokens/index.d.cts +209 -192
- package/dist/tokens/index.d.ts +209 -192
- package/dist/tokens/index.js +2048 -2159
- package/package.json +2 -4
- package/dist/colors-CY4JXVHj.d.cts +0 -137
- package/dist/colors-CY4JXVHj.d.ts +0 -137
- package/dist/layout/Grid/GapGrid/index.cjs +0 -32
- package/dist/layout/Grid/GapGrid/index.d.cts +0 -12
- package/dist/layout/Grid/GapGrid/index.d.ts +0 -12
- package/dist/layout/Grid/GapGrid/index.js +0 -11
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
position: relative;
|
|
20
20
|
}
|
|
21
21
|
.lib-xplat-steps .step-circle {
|
|
22
|
-
width:
|
|
23
|
-
height:
|
|
22
|
+
width: var(--spacing-control-height-sm);
|
|
23
|
+
height: var(--spacing-control-height-sm);
|
|
24
24
|
border-radius: 50%;
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
transition: background-color 0.2s, color 0.2s;
|
|
33
33
|
}
|
|
34
34
|
.lib-xplat-steps .step-circle svg {
|
|
35
|
-
|
|
36
|
-
height: 16px;
|
|
35
|
+
font-size: 16px;
|
|
37
36
|
}
|
|
38
37
|
.lib-xplat-steps .step-line {
|
|
39
38
|
flex: 1;
|
|
@@ -44,43 +43,99 @@
|
|
|
44
43
|
display: flex;
|
|
45
44
|
flex-direction: column;
|
|
46
45
|
align-items: center;
|
|
47
|
-
margin-top:
|
|
46
|
+
margin-top: var(--spacing-space-2);
|
|
48
47
|
text-align: center;
|
|
49
48
|
}
|
|
50
49
|
.lib-xplat-steps .step-title {
|
|
51
50
|
font-size: 13px;
|
|
52
51
|
font-weight: 500;
|
|
53
|
-
color: var(--
|
|
52
|
+
color: var(--semantic-text-strong);
|
|
54
53
|
}
|
|
55
54
|
.lib-xplat-steps .step-description {
|
|
56
55
|
font-size: 12px;
|
|
57
|
-
color: var(--
|
|
56
|
+
color: var(--semantic-text-muted);
|
|
58
57
|
margin-top: 2px;
|
|
59
58
|
}
|
|
60
|
-
.lib-xplat-steps .step-item.completed .step-circle {
|
|
61
|
-
color: var(--
|
|
62
|
-
background-color: var(--
|
|
59
|
+
.lib-xplat-steps.brand .step-item.completed .step-circle {
|
|
60
|
+
color: var(--semantic-text-inverse);
|
|
61
|
+
background-color: var(--semantic-surface-brand-default);
|
|
63
62
|
}
|
|
64
|
-
.lib-xplat-steps .step-item.completed .step-line {
|
|
65
|
-
background-color: var(--
|
|
63
|
+
.lib-xplat-steps.brand .step-item.completed .step-line {
|
|
64
|
+
background-color: var(--semantic-surface-brand-default);
|
|
66
65
|
}
|
|
67
|
-
.lib-xplat-steps .step-item.active .step-circle {
|
|
68
|
-
color: var(--
|
|
69
|
-
background-color: var(--
|
|
66
|
+
.lib-xplat-steps.brand .step-item.active .step-circle {
|
|
67
|
+
color: var(--semantic-text-inverse);
|
|
68
|
+
background-color: var(--semantic-surface-brand-default);
|
|
70
69
|
}
|
|
71
|
-
.lib-xplat-steps .step-item.active .step-line {
|
|
72
|
-
background-color: var(--
|
|
70
|
+
.lib-xplat-steps.brand .step-item.active .step-line {
|
|
71
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
72
|
+
}
|
|
73
|
+
.lib-xplat-steps.success .step-item.completed .step-circle {
|
|
74
|
+
color: var(--semantic-text-inverse);
|
|
75
|
+
background-color: var(--semantic-surface-success-default);
|
|
76
|
+
}
|
|
77
|
+
.lib-xplat-steps.success .step-item.completed .step-line {
|
|
78
|
+
background-color: var(--semantic-surface-success-default);
|
|
79
|
+
}
|
|
80
|
+
.lib-xplat-steps.success .step-item.active .step-circle {
|
|
81
|
+
color: var(--semantic-text-inverse);
|
|
82
|
+
background-color: var(--semantic-surface-success-default);
|
|
83
|
+
}
|
|
84
|
+
.lib-xplat-steps.success .step-item.active .step-line {
|
|
85
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
86
|
+
}
|
|
87
|
+
.lib-xplat-steps.error .step-item.completed .step-circle {
|
|
88
|
+
color: var(--semantic-text-inverse);
|
|
89
|
+
background-color: var(--semantic-surface-error-default);
|
|
90
|
+
}
|
|
91
|
+
.lib-xplat-steps.error .step-item.completed .step-line {
|
|
92
|
+
background-color: var(--semantic-surface-error-default);
|
|
93
|
+
}
|
|
94
|
+
.lib-xplat-steps.error .step-item.active .step-circle {
|
|
95
|
+
color: var(--semantic-text-inverse);
|
|
96
|
+
background-color: var(--semantic-surface-error-default);
|
|
97
|
+
}
|
|
98
|
+
.lib-xplat-steps.error .step-item.active .step-line {
|
|
99
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
100
|
+
}
|
|
101
|
+
.lib-xplat-steps.warning .step-item.completed .step-circle {
|
|
102
|
+
color: var(--semantic-text-inverse);
|
|
103
|
+
background-color: var(--semantic-surface-warning-default);
|
|
104
|
+
}
|
|
105
|
+
.lib-xplat-steps.warning .step-item.completed .step-line {
|
|
106
|
+
background-color: var(--semantic-surface-warning-default);
|
|
107
|
+
}
|
|
108
|
+
.lib-xplat-steps.warning .step-item.active .step-circle {
|
|
109
|
+
color: var(--semantic-text-inverse);
|
|
110
|
+
background-color: var(--semantic-surface-warning-default);
|
|
111
|
+
}
|
|
112
|
+
.lib-xplat-steps.warning .step-item.active .step-line {
|
|
113
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
114
|
+
}
|
|
115
|
+
.lib-xplat-steps.info .step-item.completed .step-circle {
|
|
116
|
+
color: var(--semantic-text-inverse);
|
|
117
|
+
background-color: var(--semantic-surface-info-default);
|
|
118
|
+
}
|
|
119
|
+
.lib-xplat-steps.info .step-item.completed .step-line {
|
|
120
|
+
background-color: var(--semantic-surface-info-default);
|
|
121
|
+
}
|
|
122
|
+
.lib-xplat-steps.info .step-item.active .step-circle {
|
|
123
|
+
color: var(--semantic-text-inverse);
|
|
124
|
+
background-color: var(--semantic-surface-info-default);
|
|
125
|
+
}
|
|
126
|
+
.lib-xplat-steps.info .step-item.active .step-line {
|
|
127
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
73
128
|
}
|
|
74
129
|
.lib-xplat-steps .step-item.pending .step-circle {
|
|
75
|
-
background-color: var(--
|
|
76
|
-
color: var(--
|
|
130
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
131
|
+
color: var(--semantic-text-muted);
|
|
77
132
|
}
|
|
78
133
|
.lib-xplat-steps .step-item.pending .step-line {
|
|
79
|
-
background-color: var(--
|
|
134
|
+
background-color: var(--semantic-surface-neutral-disabled);
|
|
80
135
|
}
|
|
81
136
|
.lib-xplat-steps .step-item.pending .step-title {
|
|
82
|
-
color: var(--
|
|
137
|
+
color: var(--semantic-text-disabled);
|
|
83
138
|
}
|
|
84
139
|
.lib-xplat-steps .step-item.pending .step-description {
|
|
85
|
-
color: var(--
|
|
140
|
+
color: var(--semantic-text-disabled);
|
|
86
141
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as ColorProps } from '../../colors-CY4JXVHj.cjs';
|
|
3
2
|
|
|
4
3
|
interface StepItem {
|
|
5
4
|
title: string;
|
|
6
5
|
description?: string;
|
|
7
6
|
}
|
|
8
|
-
|
|
7
|
+
type StepsType = "brand" | "success" | "error" | "warning" | "info";
|
|
8
|
+
interface StepsProps {
|
|
9
9
|
items: StepItem[];
|
|
10
10
|
current: number;
|
|
11
|
-
|
|
11
|
+
type?: StepsType;
|
|
12
12
|
}
|
|
13
13
|
declare const Steps: {
|
|
14
14
|
(props: StepsProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { a as ColorProps } from '../../colors-CY4JXVHj.js';
|
|
3
2
|
|
|
4
3
|
interface StepItem {
|
|
5
4
|
title: string;
|
|
6
5
|
description?: string;
|
|
7
6
|
}
|
|
8
|
-
|
|
7
|
+
type StepsType = "brand" | "success" | "error" | "warning" | "info";
|
|
8
|
+
interface StepsProps {
|
|
9
9
|
items: StepItem[];
|
|
10
10
|
current: number;
|
|
11
|
-
|
|
11
|
+
type?: StepsType;
|
|
12
12
|
}
|
|
13
13
|
declare const Steps: {
|
|
14
14
|
(props: StepsProps): react_jsx_runtime.JSX.Element;
|