@x-plat/design-system 0.1.5 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{colors-BG91q_uV.d.cts → colors-DmMsWD7G.d.cts} +20 -4
- package/dist/{colors-BG91q_uV.d.ts → colors-DmMsWD7G.d.ts} +20 -4
- package/dist/components/Accordion/index.cjs +25 -14
- package/dist/components/Accordion/index.css +6 -6
- package/dist/components/Accordion/index.d.cts +16 -3
- package/dist/components/Accordion/index.d.ts +16 -3
- package/dist/components/Accordion/index.js +25 -14
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.css +16 -16
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Avatar/index.cjs +1 -1
- package/dist/components/Avatar/index.css +3 -279
- package/dist/components/Avatar/index.d.cts +2 -118
- package/dist/components/Avatar/index.d.ts +2 -118
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.cjs +3 -2
- package/dist/components/Badge/index.css +23 -279
- package/dist/components/Badge/index.d.cts +4 -118
- package/dist/components/Badge/index.d.ts +4 -118
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Breadcrumb/index.cjs +1 -1
- package/dist/components/Breadcrumb/index.css +4 -4
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/Button/index.cjs +3 -2
- package/dist/components/Button/index.css +26 -1214
- package/dist/components/Button/index.d.cts +4 -118
- package/dist/components/Button/index.d.ts +4 -118
- package/dist/components/Button/index.js +3 -2
- package/dist/components/Card/index.cjs +1 -1
- package/dist/components/Card/index.css +3 -3
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CardTab/index.cjs +124 -0
- package/dist/components/CardTab/index.css +78 -0
- package/dist/components/CardTab/index.d.cts +44 -0
- package/dist/components/CardTab/index.d.ts +44 -0
- package/dist/components/CardTab/index.js +87 -0
- package/dist/components/Chart/index.cjs +14230 -37
- package/dist/components/Chart/index.js +14217 -33
- package/dist/components/CheckBox/index.cjs +3 -2
- package/dist/components/CheckBox/index.css +27 -563
- package/dist/components/CheckBox/index.d.cts +5 -119
- package/dist/components/CheckBox/index.d.ts +5 -119
- package/dist/components/CheckBox/index.js +3 -2
- package/dist/components/Chip/index.cjs +3 -2
- package/dist/components/Chip/index.css +21 -1209
- package/dist/components/Chip/index.d.cts +4 -118
- package/dist/components/Chip/index.d.ts +4 -118
- package/dist/components/Chip/index.js +3 -2
- package/dist/components/DatePicker/index.cjs +10772 -56
- package/dist/components/DatePicker/index.css +802 -1231
- package/dist/components/DatePicker/index.d.cts +3 -235
- package/dist/components/DatePicker/index.d.ts +3 -235
- package/dist/components/DatePicker/index.js +11004 -280
- package/dist/components/Divider/index.cjs +1 -1
- package/dist/components/Divider/index.css +2 -2
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Drawer/index.cjs +1 -1
- package/dist/components/Drawer/index.css +5 -5
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +1 -1
- package/dist/components/Dropdown/index.css +7 -7
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/EmptyState/index.cjs +1 -1
- package/dist/components/EmptyState/index.css +3 -3
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/FileUpload/index.cjs +1 -1
- package/dist/components/FileUpload/index.css +8 -8
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/HtmlTypeWriter/index.css +1 -1
- package/dist/components/ImageSelector/index.css +9 -9
- package/dist/components/Input/index.cjs +3 -2
- package/dist/components/Input/index.css +21 -10
- package/dist/components/Input/index.d.cts +6 -2
- package/dist/components/Input/index.d.ts +6 -2
- package/dist/components/Input/index.js +3 -2
- package/dist/components/Modal/index.cjs +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Pagination/index.cjs +3 -2
- package/dist/components/Pagination/index.css +33 -283
- package/dist/components/Pagination/index.d.cts +4 -118
- package/dist/components/Pagination/index.d.ts +4 -118
- package/dist/components/Pagination/index.js +3 -2
- package/dist/components/PopOver/index.cjs +1 -1
- package/dist/components/PopOver/index.js +1 -1
- package/dist/components/Progress/index.cjs +1 -1
- package/dist/components/Progress/index.css +3 -281
- package/dist/components/Progress/index.d.cts +2 -118
- package/dist/components/Progress/index.d.ts +2 -118
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/Radio/index.cjs +4 -1
- package/dist/components/Radio/index.css +36 -747
- package/dist/components/Radio/index.d.cts +6 -119
- package/dist/components/Radio/index.d.ts +6 -119
- package/dist/components/Radio/index.js +4 -1
- package/dist/components/Select/index.cjs +4 -2
- package/dist/components/Select/index.css +38 -18
- package/dist/components/Select/index.d.cts +3 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.js +4 -2
- package/dist/components/Skeleton/index.cjs +1 -1
- package/dist/components/Skeleton/index.css +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Spinner/index.cjs +1 -1
- package/dist/components/Spinner/index.css +2 -280
- package/dist/components/Spinner/index.d.cts +2 -118
- package/dist/components/Spinner/index.d.ts +2 -118
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/Steps/index.cjs +1 -1
- package/dist/components/Steps/index.css +14 -846
- package/dist/components/Steps/index.d.cts +2 -118
- package/dist/components/Steps/index.d.ts +2 -118
- package/dist/components/Steps/index.js +1 -1
- package/dist/components/Swiper/index.cjs +5874 -18
- package/dist/components/Swiper/index.css +229 -0
- package/dist/components/Swiper/index.js +5863 -17
- package/dist/components/Switch/index.cjs +1 -1
- package/dist/components/Switch/index.css +9 -745
- package/dist/components/Switch/index.d.cts +2 -118
- package/dist/components/Switch/index.d.ts +2 -118
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Tab/index.cjs +3 -3
- package/dist/components/Tab/index.css +20 -9
- package/dist/components/Tab/index.d.cts +2 -0
- package/dist/components/Tab/index.d.ts +2 -0
- package/dist/components/Tab/index.js +3 -3
- package/dist/components/Table/index.cjs +1 -1
- package/dist/components/Table/index.css +47 -4003
- package/dist/components/Table/index.d.cts +2 -118
- package/dist/components/Table/index.d.ts +2 -118
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/index.cjs +3 -2
- package/dist/components/Tag/index.css +27 -467
- package/dist/components/Tag/index.d.cts +4 -118
- package/dist/components/Tag/index.d.ts +4 -118
- package/dist/components/Tag/index.js +3 -2
- package/dist/components/TextArea/index.cjs +1 -1
- package/dist/components/TextArea/index.css +4 -4
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/Toast/index.cjs +1 -1
- package/dist/components/Toast/index.css +8 -8
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Tooltip/index.cjs +1 -1
- package/dist/components/Tooltip/index.css +4 -560
- package/dist/components/Tooltip/index.d.cts +2 -118
- package/dist/components/Tooltip/index.d.ts +2 -118
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Video/index.cjs +1 -1
- package/dist/components/Video/index.css +3 -3
- package/dist/components/Video/index.js +1 -1
- package/dist/components/index.cjs +25841 -842
- package/dist/components/index.css +1929 -12543
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +25836 -841
- package/dist/index.cjs +25875 -876
- package/dist/index.css +2358 -12598
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +25878 -883
- package/dist/layout/Grid/FullGrid/index.cjs +1 -1
- package/dist/layout/Grid/FullGrid/index.js +1 -1
- package/dist/layout/Grid/FullScreen/index.cjs +1 -1
- package/dist/layout/Grid/FullScreen/index.js +1 -1
- package/dist/layout/Grid/Item/index.cjs +1 -1
- package/dist/layout/Grid/Item/index.js +1 -1
- package/dist/layout/Grid/index.cjs +1 -1
- package/dist/layout/Grid/index.js +1 -1
- package/dist/layout/Header/index.css +2 -2
- package/dist/layout/Layout/index.css +1 -1
- package/dist/layout/SideBar/index.cjs +1 -1
- package/dist/layout/SideBar/index.js +1 -1
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.css +3 -3
- package/dist/layout/index.js +1 -1
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/package.json +13 -12
- package/README.md +0 -123
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
.lib-xplat-progress .track {
|
|
9
9
|
flex: 1;
|
|
10
|
-
background-color:
|
|
10
|
+
background-color: var(--xplat-neutral-200);
|
|
11
11
|
border-radius: 10rem;
|
|
12
12
|
overflow: hidden;
|
|
13
13
|
}
|
|
@@ -24,290 +24,12 @@
|
|
|
24
24
|
height: 100%;
|
|
25
25
|
border-radius: 10rem;
|
|
26
26
|
transition: width 0.3s ease;
|
|
27
|
-
|
|
28
|
-
.lib-xplat-progress .bar.xplat-red-50 {
|
|
29
|
-
background-color: #FFF0F0;
|
|
30
|
-
}
|
|
31
|
-
.lib-xplat-progress .bar.xplat-red-100 {
|
|
32
|
-
background-color: #FFDDDE;
|
|
33
|
-
}
|
|
34
|
-
.lib-xplat-progress .bar.xplat-red-200 {
|
|
35
|
-
background-color: #FFC1C2;
|
|
36
|
-
}
|
|
37
|
-
.lib-xplat-progress .bar.xplat-red-300 {
|
|
38
|
-
background-color: #FF9698;
|
|
39
|
-
}
|
|
40
|
-
.lib-xplat-progress .bar.xplat-red-400 {
|
|
41
|
-
background-color: #FF5A5D;
|
|
42
|
-
}
|
|
43
|
-
.lib-xplat-progress .bar.xplat-red-500 {
|
|
44
|
-
background-color: #FF272B;
|
|
45
|
-
}
|
|
46
|
-
.lib-xplat-progress .bar.xplat-red-600 {
|
|
47
|
-
background-color: #F80409;
|
|
48
|
-
}
|
|
49
|
-
.lib-xplat-progress .bar.xplat-red-700 {
|
|
50
|
-
background-color: #D40105;
|
|
51
|
-
}
|
|
52
|
-
.lib-xplat-progress .bar.xplat-red-800 {
|
|
53
|
-
background-color: #AE0609;
|
|
54
|
-
}
|
|
55
|
-
.lib-xplat-progress .bar.xplat-red-900 {
|
|
56
|
-
background-color: #900C0F;
|
|
57
|
-
}
|
|
58
|
-
.lib-xplat-progress .bar.xplat-green-50 {
|
|
59
|
-
background-color: #E5F6EA;
|
|
60
|
-
}
|
|
61
|
-
.lib-xplat-progress .bar.xplat-green-100 {
|
|
62
|
-
background-color: #C1E7CC;
|
|
63
|
-
}
|
|
64
|
-
.lib-xplat-progress .bar.xplat-green-200 {
|
|
65
|
-
background-color: #98D8AC;
|
|
66
|
-
}
|
|
67
|
-
.lib-xplat-progress .bar.xplat-green-300 {
|
|
68
|
-
background-color: #6CCA8B;
|
|
69
|
-
}
|
|
70
|
-
.lib-xplat-progress .bar.xplat-green-400 {
|
|
71
|
-
background-color: #47BE72;
|
|
72
|
-
}
|
|
73
|
-
.lib-xplat-progress .bar.xplat-green-500 {
|
|
74
|
-
background-color: #10B259;
|
|
75
|
-
}
|
|
76
|
-
.lib-xplat-progress .bar.xplat-green-600 {
|
|
77
|
-
background-color: #00A34F;
|
|
78
|
-
}
|
|
79
|
-
.lib-xplat-progress .bar.xplat-green-700 {
|
|
80
|
-
background-color: #009143;
|
|
81
|
-
}
|
|
82
|
-
.lib-xplat-progress .bar.xplat-green-800 {
|
|
83
|
-
background-color: #007F38;
|
|
84
|
-
}
|
|
85
|
-
.lib-xplat-progress .bar.xplat-green-900 {
|
|
86
|
-
background-color: #006024;
|
|
87
|
-
}
|
|
88
|
-
.lib-xplat-progress .bar.xplat-orange-50 {
|
|
89
|
-
background-color: #FFF8EC;
|
|
90
|
-
}
|
|
91
|
-
.lib-xplat-progress .bar.xplat-orange-100 {
|
|
92
|
-
background-color: #FFF0D3;
|
|
93
|
-
}
|
|
94
|
-
.lib-xplat-progress .bar.xplat-orange-200 {
|
|
95
|
-
background-color: #FFDDA5;
|
|
96
|
-
}
|
|
97
|
-
.lib-xplat-progress .bar.xplat-orange-300 {
|
|
98
|
-
background-color: #FFC46D;
|
|
99
|
-
}
|
|
100
|
-
.lib-xplat-progress .bar.xplat-orange-400 {
|
|
101
|
-
background-color: #FF9F32;
|
|
102
|
-
}
|
|
103
|
-
.lib-xplat-progress .bar.xplat-orange-500 {
|
|
104
|
-
background-color: #FF820A;
|
|
105
|
-
}
|
|
106
|
-
.lib-xplat-progress .bar.xplat-orange-600 {
|
|
107
|
-
background-color: #FF6900;
|
|
108
|
-
}
|
|
109
|
-
.lib-xplat-progress .bar.xplat-orange-700 {
|
|
110
|
-
background-color: #CC4B02;
|
|
111
|
-
}
|
|
112
|
-
.lib-xplat-progress .bar.xplat-orange-800 {
|
|
113
|
-
background-color: #A13A0B;
|
|
114
|
-
}
|
|
115
|
-
.lib-xplat-progress .bar.xplat-orange-900 {
|
|
116
|
-
background-color: #82320C;
|
|
117
|
-
}
|
|
118
|
-
.lib-xplat-progress .bar.xplat-yellow-50 {
|
|
119
|
-
background-color: #FFFDE7;
|
|
120
|
-
}
|
|
121
|
-
.lib-xplat-progress .bar.xplat-yellow-100 {
|
|
122
|
-
background-color: #FFFAC1;
|
|
123
|
-
}
|
|
124
|
-
.lib-xplat-progress .bar.xplat-yellow-200 {
|
|
125
|
-
background-color: #FFF186;
|
|
126
|
-
}
|
|
127
|
-
.lib-xplat-progress .bar.xplat-yellow-300 {
|
|
128
|
-
background-color: #FFE041;
|
|
129
|
-
}
|
|
130
|
-
.lib-xplat-progress .bar.xplat-yellow-400 {
|
|
131
|
-
background-color: #FFCC0D;
|
|
132
|
-
}
|
|
133
|
-
.lib-xplat-progress .bar.xplat-yellow-500 {
|
|
134
|
-
background-color: #F0B100;
|
|
135
|
-
}
|
|
136
|
-
.lib-xplat-progress .bar.xplat-yellow-600 {
|
|
137
|
-
background-color: #D18800;
|
|
138
|
-
}
|
|
139
|
-
.lib-xplat-progress .bar.xplat-yellow-700 {
|
|
140
|
-
background-color: #A66002;
|
|
141
|
-
}
|
|
142
|
-
.lib-xplat-progress .bar.xplat-yellow-800 {
|
|
143
|
-
background-color: #894B0A;
|
|
144
|
-
}
|
|
145
|
-
.lib-xplat-progress .bar.xplat-yellow-900 {
|
|
146
|
-
background-color: #743D0F;
|
|
147
|
-
}
|
|
148
|
-
.lib-xplat-progress .bar.xplat-blue-50 {
|
|
149
|
-
background-color: #F1F4FD;
|
|
150
|
-
}
|
|
151
|
-
.lib-xplat-progress .bar.xplat-blue-100 {
|
|
152
|
-
background-color: #DFE7FA;
|
|
153
|
-
}
|
|
154
|
-
.lib-xplat-progress .bar.xplat-blue-200 {
|
|
155
|
-
background-color: #C5D4F8;
|
|
156
|
-
}
|
|
157
|
-
.lib-xplat-progress .bar.xplat-blue-300 {
|
|
158
|
-
background-color: #9EB8F2;
|
|
159
|
-
}
|
|
160
|
-
.lib-xplat-progress .bar.xplat-blue-400 {
|
|
161
|
-
background-color: #7093EA;
|
|
162
|
-
}
|
|
163
|
-
.lib-xplat-progress .bar.xplat-blue-500 {
|
|
164
|
-
background-color: #4D6DE3;
|
|
165
|
-
}
|
|
166
|
-
.lib-xplat-progress .bar.xplat-blue-600 {
|
|
167
|
-
background-color: #3950D7;
|
|
168
|
-
}
|
|
169
|
-
.lib-xplat-progress .bar.xplat-blue-700 {
|
|
170
|
-
background-color: #303EC5;
|
|
171
|
-
}
|
|
172
|
-
.lib-xplat-progress .bar.xplat-blue-800 {
|
|
173
|
-
background-color: #2D35A0;
|
|
174
|
-
}
|
|
175
|
-
.lib-xplat-progress .bar.xplat-blue-900 {
|
|
176
|
-
background-color: #29317F;
|
|
177
|
-
}
|
|
178
|
-
.lib-xplat-progress .bar.xplat-lightblue-50 {
|
|
179
|
-
background-color: #EEFAFF;
|
|
180
|
-
}
|
|
181
|
-
.lib-xplat-progress .bar.xplat-lightblue-100 {
|
|
182
|
-
background-color: #D9F4FF;
|
|
183
|
-
}
|
|
184
|
-
.lib-xplat-progress .bar.xplat-lightblue-200 {
|
|
185
|
-
background-color: #BBEDFF;
|
|
186
|
-
}
|
|
187
|
-
.lib-xplat-progress .bar.xplat-lightblue-300 {
|
|
188
|
-
background-color: #8DE3FF;
|
|
189
|
-
}
|
|
190
|
-
.lib-xplat-progress .bar.xplat-lightblue-400 {
|
|
191
|
-
background-color: #57D0FF;
|
|
192
|
-
}
|
|
193
|
-
.lib-xplat-progress .bar.xplat-lightblue-500 {
|
|
194
|
-
background-color: #30B6FF;
|
|
195
|
-
}
|
|
196
|
-
.lib-xplat-progress .bar.xplat-lightblue-600 {
|
|
197
|
-
background-color: #1999F7;
|
|
198
|
-
}
|
|
199
|
-
.lib-xplat-progress .bar.xplat-lightblue-700 {
|
|
200
|
-
background-color: #1280E3;
|
|
201
|
-
}
|
|
202
|
-
.lib-xplat-progress .bar.xplat-lightblue-800 {
|
|
203
|
-
background-color: #1566B8;
|
|
204
|
-
}
|
|
205
|
-
.lib-xplat-progress .bar.xplat-lightblue-900 {
|
|
206
|
-
background-color: #175791;
|
|
207
|
-
}
|
|
208
|
-
.lib-xplat-progress .bar.xplat-purple-50 {
|
|
209
|
-
background-color: #FBF6FE;
|
|
210
|
-
}
|
|
211
|
-
.lib-xplat-progress .bar.xplat-purple-100 {
|
|
212
|
-
background-color: #F5EAFD;
|
|
213
|
-
}
|
|
214
|
-
.lib-xplat-progress .bar.xplat-purple-200 {
|
|
215
|
-
background-color: #EDD8FC;
|
|
216
|
-
}
|
|
217
|
-
.lib-xplat-progress .bar.xplat-purple-300 {
|
|
218
|
-
background-color: #E0BAF8;
|
|
219
|
-
}
|
|
220
|
-
.lib-xplat-progress .bar.xplat-purple-400 {
|
|
221
|
-
background-color: #CD8DF3;
|
|
222
|
-
}
|
|
223
|
-
.lib-xplat-progress .bar.xplat-purple-500 {
|
|
224
|
-
background-color: #B961EB;
|
|
225
|
-
}
|
|
226
|
-
.lib-xplat-progress .bar.xplat-purple-600 {
|
|
227
|
-
background-color: #A541DC;
|
|
228
|
-
}
|
|
229
|
-
.lib-xplat-progress .bar.xplat-purple-700 {
|
|
230
|
-
background-color: #9230C5;
|
|
231
|
-
}
|
|
232
|
-
.lib-xplat-progress .bar.xplat-purple-800 {
|
|
233
|
-
background-color: #782B9E;
|
|
234
|
-
}
|
|
235
|
-
.lib-xplat-progress .bar.xplat-purple-900 {
|
|
236
|
-
background-color: #62247F;
|
|
237
|
-
}
|
|
238
|
-
.lib-xplat-progress .bar.xplat-pink-50 {
|
|
239
|
-
background-color: #FFF4FE;
|
|
240
|
-
}
|
|
241
|
-
.lib-xplat-progress .bar.xplat-pink-100 {
|
|
242
|
-
background-color: #FFE7FD;
|
|
243
|
-
}
|
|
244
|
-
.lib-xplat-progress .bar.xplat-pink-200 {
|
|
245
|
-
background-color: #FFCFFA;
|
|
246
|
-
}
|
|
247
|
-
.lib-xplat-progress .bar.xplat-pink-300 {
|
|
248
|
-
background-color: #FEA9F1;
|
|
249
|
-
}
|
|
250
|
-
.lib-xplat-progress .bar.xplat-pink-400 {
|
|
251
|
-
background-color: #FD75E7;
|
|
252
|
-
}
|
|
253
|
-
.lib-xplat-progress .bar.xplat-pink-500 {
|
|
254
|
-
background-color: #F553DA;
|
|
255
|
-
}
|
|
256
|
-
.lib-xplat-progress .bar.xplat-pink-600 {
|
|
257
|
-
background-color: #D821B6;
|
|
258
|
-
}
|
|
259
|
-
.lib-xplat-progress .bar.xplat-pink-700 {
|
|
260
|
-
background-color: #B31892;
|
|
261
|
-
}
|
|
262
|
-
.lib-xplat-progress .bar.xplat-pink-800 {
|
|
263
|
-
background-color: #921676;
|
|
264
|
-
}
|
|
265
|
-
.lib-xplat-progress .bar.xplat-pink-900 {
|
|
266
|
-
background-color: #781761;
|
|
267
|
-
}
|
|
268
|
-
.lib-xplat-progress .bar.xplat-neutral-50 {
|
|
269
|
-
background-color: #FAFAFA;
|
|
270
|
-
}
|
|
271
|
-
.lib-xplat-progress .bar.xplat-neutral-100 {
|
|
272
|
-
background-color: #F5F5F5;
|
|
273
|
-
}
|
|
274
|
-
.lib-xplat-progress .bar.xplat-neutral-200 {
|
|
275
|
-
background-color: #E5E5E5;
|
|
276
|
-
}
|
|
277
|
-
.lib-xplat-progress .bar.xplat-neutral-300 {
|
|
278
|
-
background-color: #D4D4D4;
|
|
279
|
-
}
|
|
280
|
-
.lib-xplat-progress .bar.xplat-neutral-400 {
|
|
281
|
-
background-color: #A1A1A1;
|
|
282
|
-
}
|
|
283
|
-
.lib-xplat-progress .bar.xplat-neutral-500 {
|
|
284
|
-
background-color: #737373;
|
|
285
|
-
}
|
|
286
|
-
.lib-xplat-progress .bar.xplat-neutral-600 {
|
|
287
|
-
background-color: #525252;
|
|
288
|
-
}
|
|
289
|
-
.lib-xplat-progress .bar.xplat-neutral-700 {
|
|
290
|
-
background-color: #404040;
|
|
291
|
-
}
|
|
292
|
-
.lib-xplat-progress .bar.xplat-neutral-800 {
|
|
293
|
-
background-color: #262626;
|
|
294
|
-
}
|
|
295
|
-
.lib-xplat-progress .bar.xplat-neutral-900 {
|
|
296
|
-
background-color: #171717;
|
|
297
|
-
}
|
|
298
|
-
.lib-xplat-progress .bar.xplat-black {
|
|
299
|
-
background-color: #000000;
|
|
300
|
-
}
|
|
301
|
-
.lib-xplat-progress .bar.xplat-white {
|
|
302
|
-
background-color: #FFFFFF;
|
|
303
|
-
}
|
|
304
|
-
.lib-xplat-progress .bar.test-default {
|
|
305
|
-
background-color: #ffffff;
|
|
27
|
+
background-color: var(--ds-color);
|
|
306
28
|
}
|
|
307
29
|
.lib-xplat-progress .label {
|
|
308
30
|
font-size: 12px;
|
|
309
31
|
font-weight: 500;
|
|
310
|
-
color:
|
|
32
|
+
color: var(--xplat-neutral-600);
|
|
311
33
|
min-width: 36px;
|
|
312
34
|
text-align: right;
|
|
313
35
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.cjs';
|
|
3
3
|
|
|
4
4
|
type ProgressSize = "sm" | "md" | "lg";
|
|
5
5
|
interface ProgressProps<N extends ColorNamespace, C extends ColorName<N> = ColorName<N>> extends ColorProps<N, C> {
|
|
@@ -10,123 +10,7 @@ interface ProgressProps<N extends ColorNamespace, C extends ColorName<N> = Color
|
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
declare const Progress: {
|
|
13
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
14
|
-
readonly xplat: {
|
|
15
|
-
readonly red: {
|
|
16
|
-
readonly 50: "#FFF0F0";
|
|
17
|
-
readonly 100: "#FFDDDE";
|
|
18
|
-
readonly 200: "#FFC1C2";
|
|
19
|
-
readonly 300: "#FF9698";
|
|
20
|
-
readonly 400: "#FF5A5D";
|
|
21
|
-
readonly 500: "#FF272B";
|
|
22
|
-
readonly 600: "#F80409";
|
|
23
|
-
readonly 700: "#D40105";
|
|
24
|
-
readonly 800: "#AE0609";
|
|
25
|
-
readonly 900: "#900C0F";
|
|
26
|
-
};
|
|
27
|
-
readonly green: {
|
|
28
|
-
readonly 50: "#E5F6EA";
|
|
29
|
-
readonly 100: "#C1E7CC";
|
|
30
|
-
readonly 200: "#98D8AC";
|
|
31
|
-
readonly 300: "#6CCA8B";
|
|
32
|
-
readonly 400: "#47BE72";
|
|
33
|
-
readonly 500: "#10B259";
|
|
34
|
-
readonly 600: "#00A34F";
|
|
35
|
-
readonly 700: "#009143";
|
|
36
|
-
readonly 800: "#007F38";
|
|
37
|
-
readonly 900: "#006024";
|
|
38
|
-
};
|
|
39
|
-
readonly orange: {
|
|
40
|
-
readonly 50: "#FFF8EC";
|
|
41
|
-
readonly 100: "#FFF0D3";
|
|
42
|
-
readonly 200: "#FFDDA5";
|
|
43
|
-
readonly 300: "#FFC46D";
|
|
44
|
-
readonly 400: "#FF9F32";
|
|
45
|
-
readonly 500: "#FF820A";
|
|
46
|
-
readonly 600: "#FF6900";
|
|
47
|
-
readonly 700: "#CC4B02";
|
|
48
|
-
readonly 800: "#A13A0B";
|
|
49
|
-
readonly 900: "#82320C";
|
|
50
|
-
};
|
|
51
|
-
readonly yellow: {
|
|
52
|
-
readonly 50: "#FFFDE7";
|
|
53
|
-
readonly 100: "#FFFAC1";
|
|
54
|
-
readonly 200: "#FFF186";
|
|
55
|
-
readonly 300: "#FFE041";
|
|
56
|
-
readonly 400: "#FFCC0D";
|
|
57
|
-
readonly 500: "#F0B100";
|
|
58
|
-
readonly 600: "#D18800";
|
|
59
|
-
readonly 700: "#A66002";
|
|
60
|
-
readonly 800: "#894B0A";
|
|
61
|
-
readonly 900: "#743D0F";
|
|
62
|
-
};
|
|
63
|
-
readonly blue: {
|
|
64
|
-
readonly 50: "#F1F4FD";
|
|
65
|
-
readonly 100: "#DFE7FA";
|
|
66
|
-
readonly 200: "#C5D4F8";
|
|
67
|
-
readonly 300: "#9EB8F2";
|
|
68
|
-
readonly 400: "#7093EA";
|
|
69
|
-
readonly 500: "#4D6DE3";
|
|
70
|
-
readonly 600: "#3950D7";
|
|
71
|
-
readonly 700: "#303EC5";
|
|
72
|
-
readonly 800: "#2D35A0";
|
|
73
|
-
readonly 900: "#29317F";
|
|
74
|
-
};
|
|
75
|
-
readonly lightblue: {
|
|
76
|
-
readonly 50: "#EEFAFF";
|
|
77
|
-
readonly 100: "#D9F4FF";
|
|
78
|
-
readonly 200: "#BBEDFF";
|
|
79
|
-
readonly 300: "#8DE3FF";
|
|
80
|
-
readonly 400: "#57D0FF";
|
|
81
|
-
readonly 500: "#30B6FF";
|
|
82
|
-
readonly 600: "#1999F7";
|
|
83
|
-
readonly 700: "#1280E3";
|
|
84
|
-
readonly 800: "#1566B8";
|
|
85
|
-
readonly 900: "#175791";
|
|
86
|
-
};
|
|
87
|
-
readonly purple: {
|
|
88
|
-
readonly 50: "#FBF6FE";
|
|
89
|
-
readonly 100: "#F5EAFD";
|
|
90
|
-
readonly 200: "#EDD8FC";
|
|
91
|
-
readonly 300: "#E0BAF8";
|
|
92
|
-
readonly 400: "#CD8DF3";
|
|
93
|
-
readonly 500: "#B961EB";
|
|
94
|
-
readonly 600: "#A541DC";
|
|
95
|
-
readonly 700: "#9230C5";
|
|
96
|
-
readonly 800: "#782B9E";
|
|
97
|
-
readonly 900: "#62247F";
|
|
98
|
-
};
|
|
99
|
-
readonly pink: {
|
|
100
|
-
readonly 50: "#FFF4FE";
|
|
101
|
-
readonly 100: "#FFE7FD";
|
|
102
|
-
readonly 200: "#FFCFFA";
|
|
103
|
-
readonly 300: "#FEA9F1";
|
|
104
|
-
readonly 400: "#FD75E7";
|
|
105
|
-
readonly 500: "#F553DA";
|
|
106
|
-
readonly 600: "#D821B6";
|
|
107
|
-
readonly 700: "#B31892";
|
|
108
|
-
readonly 800: "#921676";
|
|
109
|
-
readonly 900: "#781761";
|
|
110
|
-
};
|
|
111
|
-
readonly neutral: {
|
|
112
|
-
readonly 50: "#FAFAFA";
|
|
113
|
-
readonly 100: "#F5F5F5";
|
|
114
|
-
readonly 200: "#E5E5E5";
|
|
115
|
-
readonly 300: "#D4D4D4";
|
|
116
|
-
readonly 400: "#A1A1A1";
|
|
117
|
-
readonly 500: "#737373";
|
|
118
|
-
readonly 600: "#525252";
|
|
119
|
-
readonly 700: "#404040";
|
|
120
|
-
readonly 800: "#262626";
|
|
121
|
-
readonly 900: "#171717";
|
|
122
|
-
};
|
|
123
|
-
readonly black: "#000000";
|
|
124
|
-
readonly white: "#FFFFFF";
|
|
125
|
-
};
|
|
126
|
-
readonly test: {
|
|
127
|
-
readonly default: "#ffffff";
|
|
128
|
-
};
|
|
129
|
-
}[N]>(props: ProgressProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
13
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: ProgressProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
130
14
|
displayName: string;
|
|
131
15
|
};
|
|
132
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.js';
|
|
3
3
|
|
|
4
4
|
type ProgressSize = "sm" | "md" | "lg";
|
|
5
5
|
interface ProgressProps<N extends ColorNamespace, C extends ColorName<N> = ColorName<N>> extends ColorProps<N, C> {
|
|
@@ -10,123 +10,7 @@ interface ProgressProps<N extends ColorNamespace, C extends ColorName<N> = Color
|
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
declare const Progress: {
|
|
13
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
14
|
-
readonly xplat: {
|
|
15
|
-
readonly red: {
|
|
16
|
-
readonly 50: "#FFF0F0";
|
|
17
|
-
readonly 100: "#FFDDDE";
|
|
18
|
-
readonly 200: "#FFC1C2";
|
|
19
|
-
readonly 300: "#FF9698";
|
|
20
|
-
readonly 400: "#FF5A5D";
|
|
21
|
-
readonly 500: "#FF272B";
|
|
22
|
-
readonly 600: "#F80409";
|
|
23
|
-
readonly 700: "#D40105";
|
|
24
|
-
readonly 800: "#AE0609";
|
|
25
|
-
readonly 900: "#900C0F";
|
|
26
|
-
};
|
|
27
|
-
readonly green: {
|
|
28
|
-
readonly 50: "#E5F6EA";
|
|
29
|
-
readonly 100: "#C1E7CC";
|
|
30
|
-
readonly 200: "#98D8AC";
|
|
31
|
-
readonly 300: "#6CCA8B";
|
|
32
|
-
readonly 400: "#47BE72";
|
|
33
|
-
readonly 500: "#10B259";
|
|
34
|
-
readonly 600: "#00A34F";
|
|
35
|
-
readonly 700: "#009143";
|
|
36
|
-
readonly 800: "#007F38";
|
|
37
|
-
readonly 900: "#006024";
|
|
38
|
-
};
|
|
39
|
-
readonly orange: {
|
|
40
|
-
readonly 50: "#FFF8EC";
|
|
41
|
-
readonly 100: "#FFF0D3";
|
|
42
|
-
readonly 200: "#FFDDA5";
|
|
43
|
-
readonly 300: "#FFC46D";
|
|
44
|
-
readonly 400: "#FF9F32";
|
|
45
|
-
readonly 500: "#FF820A";
|
|
46
|
-
readonly 600: "#FF6900";
|
|
47
|
-
readonly 700: "#CC4B02";
|
|
48
|
-
readonly 800: "#A13A0B";
|
|
49
|
-
readonly 900: "#82320C";
|
|
50
|
-
};
|
|
51
|
-
readonly yellow: {
|
|
52
|
-
readonly 50: "#FFFDE7";
|
|
53
|
-
readonly 100: "#FFFAC1";
|
|
54
|
-
readonly 200: "#FFF186";
|
|
55
|
-
readonly 300: "#FFE041";
|
|
56
|
-
readonly 400: "#FFCC0D";
|
|
57
|
-
readonly 500: "#F0B100";
|
|
58
|
-
readonly 600: "#D18800";
|
|
59
|
-
readonly 700: "#A66002";
|
|
60
|
-
readonly 800: "#894B0A";
|
|
61
|
-
readonly 900: "#743D0F";
|
|
62
|
-
};
|
|
63
|
-
readonly blue: {
|
|
64
|
-
readonly 50: "#F1F4FD";
|
|
65
|
-
readonly 100: "#DFE7FA";
|
|
66
|
-
readonly 200: "#C5D4F8";
|
|
67
|
-
readonly 300: "#9EB8F2";
|
|
68
|
-
readonly 400: "#7093EA";
|
|
69
|
-
readonly 500: "#4D6DE3";
|
|
70
|
-
readonly 600: "#3950D7";
|
|
71
|
-
readonly 700: "#303EC5";
|
|
72
|
-
readonly 800: "#2D35A0";
|
|
73
|
-
readonly 900: "#29317F";
|
|
74
|
-
};
|
|
75
|
-
readonly lightblue: {
|
|
76
|
-
readonly 50: "#EEFAFF";
|
|
77
|
-
readonly 100: "#D9F4FF";
|
|
78
|
-
readonly 200: "#BBEDFF";
|
|
79
|
-
readonly 300: "#8DE3FF";
|
|
80
|
-
readonly 400: "#57D0FF";
|
|
81
|
-
readonly 500: "#30B6FF";
|
|
82
|
-
readonly 600: "#1999F7";
|
|
83
|
-
readonly 700: "#1280E3";
|
|
84
|
-
readonly 800: "#1566B8";
|
|
85
|
-
readonly 900: "#175791";
|
|
86
|
-
};
|
|
87
|
-
readonly purple: {
|
|
88
|
-
readonly 50: "#FBF6FE";
|
|
89
|
-
readonly 100: "#F5EAFD";
|
|
90
|
-
readonly 200: "#EDD8FC";
|
|
91
|
-
readonly 300: "#E0BAF8";
|
|
92
|
-
readonly 400: "#CD8DF3";
|
|
93
|
-
readonly 500: "#B961EB";
|
|
94
|
-
readonly 600: "#A541DC";
|
|
95
|
-
readonly 700: "#9230C5";
|
|
96
|
-
readonly 800: "#782B9E";
|
|
97
|
-
readonly 900: "#62247F";
|
|
98
|
-
};
|
|
99
|
-
readonly pink: {
|
|
100
|
-
readonly 50: "#FFF4FE";
|
|
101
|
-
readonly 100: "#FFE7FD";
|
|
102
|
-
readonly 200: "#FFCFFA";
|
|
103
|
-
readonly 300: "#FEA9F1";
|
|
104
|
-
readonly 400: "#FD75E7";
|
|
105
|
-
readonly 500: "#F553DA";
|
|
106
|
-
readonly 600: "#D821B6";
|
|
107
|
-
readonly 700: "#B31892";
|
|
108
|
-
readonly 800: "#921676";
|
|
109
|
-
readonly 900: "#781761";
|
|
110
|
-
};
|
|
111
|
-
readonly neutral: {
|
|
112
|
-
readonly 50: "#FAFAFA";
|
|
113
|
-
readonly 100: "#F5F5F5";
|
|
114
|
-
readonly 200: "#E5E5E5";
|
|
115
|
-
readonly 300: "#D4D4D4";
|
|
116
|
-
readonly 400: "#A1A1A1";
|
|
117
|
-
readonly 500: "#737373";
|
|
118
|
-
readonly 600: "#525252";
|
|
119
|
-
readonly 700: "#404040";
|
|
120
|
-
readonly 800: "#262626";
|
|
121
|
-
readonly 900: "#171717";
|
|
122
|
-
};
|
|
123
|
-
readonly black: "#000000";
|
|
124
|
-
readonly white: "#FFFFFF";
|
|
125
|
-
};
|
|
126
|
-
readonly test: {
|
|
127
|
-
readonly default: "#ffffff";
|
|
128
|
-
};
|
|
129
|
-
}[N]>(props: ProgressProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
13
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: ProgressProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
130
14
|
displayName: string;
|
|
131
15
|
};
|
|
132
16
|
|
|
@@ -125,7 +125,7 @@ var getColorClass = (namespace, palette, shade) => {
|
|
|
125
125
|
return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
128
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
129
129
|
function r(e) {
|
|
130
130
|
var t, f, n = "";
|
|
131
131
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -162,7 +162,7 @@ var getColorClass = (namespace, palette, shade) => {
|
|
|
162
162
|
return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
165
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
166
166
|
function r(e) {
|
|
167
167
|
var t, f, n = "";
|
|
168
168
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -198,9 +198,11 @@ var Radio = (props) => {
|
|
|
198
198
|
colorNamespace = "xplat",
|
|
199
199
|
color = "blue",
|
|
200
200
|
colorDepth,
|
|
201
|
+
size: sizeProp,
|
|
201
202
|
...rest
|
|
202
203
|
} = props;
|
|
203
204
|
const context = useRadioGroupContext();
|
|
205
|
+
const size = sizeProp ?? context?.size ?? "md";
|
|
204
206
|
const isGroup = !!context;
|
|
205
207
|
const localChecked = isGroup ? context.value === value : rest.checked ?? false;
|
|
206
208
|
const inputProps = context ? { name: context.name, value, onChange: context.onChange } : {
|
|
@@ -218,6 +220,7 @@ var Radio = (props) => {
|
|
|
218
220
|
{
|
|
219
221
|
className: clsx_default(
|
|
220
222
|
"lib-xplat-radio",
|
|
223
|
+
size,
|
|
221
224
|
localChecked ? "checked" : void 0,
|
|
222
225
|
className
|
|
223
226
|
),
|