@x-plat/design-system 0.1.4 → 0.2.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/{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/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 +5 -3
- package/dist/components/DatePicker/index.css +62 -1239
- package/dist/components/DatePicker/index.d.cts +3 -235
- package/dist/components/DatePicker/index.d.ts +3 -235
- package/dist/components/DatePicker/index.js +5 -3
- 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 +21 -9
- package/dist/components/Select/index.css +38 -18
- package/dist/components/Select/index.d.cts +5 -0
- package/dist/components/Select/index.d.ts +5 -0
- package/dist/components/Select/index.js +21 -9
- 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/Switch/index.cjs +3 -1
- package/dist/components/Switch/index.css +41 -751
- package/dist/components/Switch/index.d.cts +4 -118
- package/dist/components/Switch/index.d.ts +4 -118
- package/dist/components/Switch/index.js +3 -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 +456 -350
- package/dist/components/index.css +1278 -12612
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +454 -349
- package/dist/index.cjs +481 -374
- package/dist/index.css +1281 -12615
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +481 -373
- 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 +12 -12
- package/README.md +0 -123
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.cjs';
|
|
4
4
|
|
|
5
5
|
interface InputDatePickerProps {
|
|
6
6
|
value: Date;
|
|
@@ -46,123 +46,7 @@ interface RangePickerProps<N extends ColorNamespace = "xplat", C extends ColorNa
|
|
|
46
46
|
maxDate?: Date;
|
|
47
47
|
}
|
|
48
48
|
declare const RangePicker: {
|
|
49
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
50
|
-
readonly xplat: {
|
|
51
|
-
readonly red: {
|
|
52
|
-
readonly 50: "#FFF0F0";
|
|
53
|
-
readonly 100: "#FFDDDE";
|
|
54
|
-
readonly 200: "#FFC1C2";
|
|
55
|
-
readonly 300: "#FF9698";
|
|
56
|
-
readonly 400: "#FF5A5D";
|
|
57
|
-
readonly 500: "#FF272B";
|
|
58
|
-
readonly 600: "#F80409";
|
|
59
|
-
readonly 700: "#D40105";
|
|
60
|
-
readonly 800: "#AE0609";
|
|
61
|
-
readonly 900: "#900C0F";
|
|
62
|
-
};
|
|
63
|
-
readonly green: {
|
|
64
|
-
readonly 50: "#E5F6EA";
|
|
65
|
-
readonly 100: "#C1E7CC";
|
|
66
|
-
readonly 200: "#98D8AC";
|
|
67
|
-
readonly 300: "#6CCA8B";
|
|
68
|
-
readonly 400: "#47BE72";
|
|
69
|
-
readonly 500: "#10B259";
|
|
70
|
-
readonly 600: "#00A34F";
|
|
71
|
-
readonly 700: "#009143";
|
|
72
|
-
readonly 800: "#007F38";
|
|
73
|
-
readonly 900: "#006024";
|
|
74
|
-
};
|
|
75
|
-
readonly orange: {
|
|
76
|
-
readonly 50: "#FFF8EC";
|
|
77
|
-
readonly 100: "#FFF0D3";
|
|
78
|
-
readonly 200: "#FFDDA5";
|
|
79
|
-
readonly 300: "#FFC46D";
|
|
80
|
-
readonly 400: "#FF9F32";
|
|
81
|
-
readonly 500: "#FF820A";
|
|
82
|
-
readonly 600: "#FF6900";
|
|
83
|
-
readonly 700: "#CC4B02";
|
|
84
|
-
readonly 800: "#A13A0B";
|
|
85
|
-
readonly 900: "#82320C";
|
|
86
|
-
};
|
|
87
|
-
readonly yellow: {
|
|
88
|
-
readonly 50: "#FFFDE7";
|
|
89
|
-
readonly 100: "#FFFAC1";
|
|
90
|
-
readonly 200: "#FFF186";
|
|
91
|
-
readonly 300: "#FFE041";
|
|
92
|
-
readonly 400: "#FFCC0D";
|
|
93
|
-
readonly 500: "#F0B100";
|
|
94
|
-
readonly 600: "#D18800";
|
|
95
|
-
readonly 700: "#A66002";
|
|
96
|
-
readonly 800: "#894B0A";
|
|
97
|
-
readonly 900: "#743D0F";
|
|
98
|
-
};
|
|
99
|
-
readonly blue: {
|
|
100
|
-
readonly 50: "#F1F4FD";
|
|
101
|
-
readonly 100: "#DFE7FA";
|
|
102
|
-
readonly 200: "#C5D4F8";
|
|
103
|
-
readonly 300: "#9EB8F2";
|
|
104
|
-
readonly 400: "#7093EA";
|
|
105
|
-
readonly 500: "#4D6DE3";
|
|
106
|
-
readonly 600: "#3950D7";
|
|
107
|
-
readonly 700: "#303EC5";
|
|
108
|
-
readonly 800: "#2D35A0";
|
|
109
|
-
readonly 900: "#29317F";
|
|
110
|
-
};
|
|
111
|
-
readonly lightblue: {
|
|
112
|
-
readonly 50: "#EEFAFF";
|
|
113
|
-
readonly 100: "#D9F4FF";
|
|
114
|
-
readonly 200: "#BBEDFF";
|
|
115
|
-
readonly 300: "#8DE3FF";
|
|
116
|
-
readonly 400: "#57D0FF";
|
|
117
|
-
readonly 500: "#30B6FF";
|
|
118
|
-
readonly 600: "#1999F7";
|
|
119
|
-
readonly 700: "#1280E3";
|
|
120
|
-
readonly 800: "#1566B8";
|
|
121
|
-
readonly 900: "#175791";
|
|
122
|
-
};
|
|
123
|
-
readonly purple: {
|
|
124
|
-
readonly 50: "#FBF6FE";
|
|
125
|
-
readonly 100: "#F5EAFD";
|
|
126
|
-
readonly 200: "#EDD8FC";
|
|
127
|
-
readonly 300: "#E0BAF8";
|
|
128
|
-
readonly 400: "#CD8DF3";
|
|
129
|
-
readonly 500: "#B961EB";
|
|
130
|
-
readonly 600: "#A541DC";
|
|
131
|
-
readonly 700: "#9230C5";
|
|
132
|
-
readonly 800: "#782B9E";
|
|
133
|
-
readonly 900: "#62247F";
|
|
134
|
-
};
|
|
135
|
-
readonly pink: {
|
|
136
|
-
readonly 50: "#FFF4FE";
|
|
137
|
-
readonly 100: "#FFE7FD";
|
|
138
|
-
readonly 200: "#FFCFFA";
|
|
139
|
-
readonly 300: "#FEA9F1";
|
|
140
|
-
readonly 400: "#FD75E7";
|
|
141
|
-
readonly 500: "#F553DA";
|
|
142
|
-
readonly 600: "#D821B6";
|
|
143
|
-
readonly 700: "#B31892";
|
|
144
|
-
readonly 800: "#921676";
|
|
145
|
-
readonly 900: "#781761";
|
|
146
|
-
};
|
|
147
|
-
readonly neutral: {
|
|
148
|
-
readonly 50: "#FAFAFA";
|
|
149
|
-
readonly 100: "#F5F5F5";
|
|
150
|
-
readonly 200: "#E5E5E5";
|
|
151
|
-
readonly 300: "#D4D4D4";
|
|
152
|
-
readonly 400: "#A1A1A1";
|
|
153
|
-
readonly 500: "#737373";
|
|
154
|
-
readonly 600: "#525252";
|
|
155
|
-
readonly 700: "#404040";
|
|
156
|
-
readonly 800: "#262626";
|
|
157
|
-
readonly 900: "#171717";
|
|
158
|
-
};
|
|
159
|
-
readonly black: "#000000";
|
|
160
|
-
readonly white: "#FFFFFF";
|
|
161
|
-
};
|
|
162
|
-
readonly test: {
|
|
163
|
-
readonly default: "#ffffff";
|
|
164
|
-
};
|
|
165
|
-
}[N]>(props: RangePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: RangePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
166
50
|
displayName: string;
|
|
167
51
|
};
|
|
168
52
|
|
|
@@ -174,123 +58,7 @@ interface SingleDatePickerProps<N extends ColorNamespace = "xplat", C extends Co
|
|
|
174
58
|
highlightDates?: Date[];
|
|
175
59
|
}
|
|
176
60
|
declare const SingleDatePicker: {
|
|
177
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
178
|
-
readonly xplat: {
|
|
179
|
-
readonly red: {
|
|
180
|
-
readonly 50: "#FFF0F0";
|
|
181
|
-
readonly 100: "#FFDDDE";
|
|
182
|
-
readonly 200: "#FFC1C2";
|
|
183
|
-
readonly 300: "#FF9698";
|
|
184
|
-
readonly 400: "#FF5A5D";
|
|
185
|
-
readonly 500: "#FF272B";
|
|
186
|
-
readonly 600: "#F80409";
|
|
187
|
-
readonly 700: "#D40105";
|
|
188
|
-
readonly 800: "#AE0609";
|
|
189
|
-
readonly 900: "#900C0F";
|
|
190
|
-
};
|
|
191
|
-
readonly green: {
|
|
192
|
-
readonly 50: "#E5F6EA";
|
|
193
|
-
readonly 100: "#C1E7CC";
|
|
194
|
-
readonly 200: "#98D8AC";
|
|
195
|
-
readonly 300: "#6CCA8B";
|
|
196
|
-
readonly 400: "#47BE72";
|
|
197
|
-
readonly 500: "#10B259";
|
|
198
|
-
readonly 600: "#00A34F";
|
|
199
|
-
readonly 700: "#009143";
|
|
200
|
-
readonly 800: "#007F38";
|
|
201
|
-
readonly 900: "#006024";
|
|
202
|
-
};
|
|
203
|
-
readonly orange: {
|
|
204
|
-
readonly 50: "#FFF8EC";
|
|
205
|
-
readonly 100: "#FFF0D3";
|
|
206
|
-
readonly 200: "#FFDDA5";
|
|
207
|
-
readonly 300: "#FFC46D";
|
|
208
|
-
readonly 400: "#FF9F32";
|
|
209
|
-
readonly 500: "#FF820A";
|
|
210
|
-
readonly 600: "#FF6900";
|
|
211
|
-
readonly 700: "#CC4B02";
|
|
212
|
-
readonly 800: "#A13A0B";
|
|
213
|
-
readonly 900: "#82320C";
|
|
214
|
-
};
|
|
215
|
-
readonly yellow: {
|
|
216
|
-
readonly 50: "#FFFDE7";
|
|
217
|
-
readonly 100: "#FFFAC1";
|
|
218
|
-
readonly 200: "#FFF186";
|
|
219
|
-
readonly 300: "#FFE041";
|
|
220
|
-
readonly 400: "#FFCC0D";
|
|
221
|
-
readonly 500: "#F0B100";
|
|
222
|
-
readonly 600: "#D18800";
|
|
223
|
-
readonly 700: "#A66002";
|
|
224
|
-
readonly 800: "#894B0A";
|
|
225
|
-
readonly 900: "#743D0F";
|
|
226
|
-
};
|
|
227
|
-
readonly blue: {
|
|
228
|
-
readonly 50: "#F1F4FD";
|
|
229
|
-
readonly 100: "#DFE7FA";
|
|
230
|
-
readonly 200: "#C5D4F8";
|
|
231
|
-
readonly 300: "#9EB8F2";
|
|
232
|
-
readonly 400: "#7093EA";
|
|
233
|
-
readonly 500: "#4D6DE3";
|
|
234
|
-
readonly 600: "#3950D7";
|
|
235
|
-
readonly 700: "#303EC5";
|
|
236
|
-
readonly 800: "#2D35A0";
|
|
237
|
-
readonly 900: "#29317F";
|
|
238
|
-
};
|
|
239
|
-
readonly lightblue: {
|
|
240
|
-
readonly 50: "#EEFAFF";
|
|
241
|
-
readonly 100: "#D9F4FF";
|
|
242
|
-
readonly 200: "#BBEDFF";
|
|
243
|
-
readonly 300: "#8DE3FF";
|
|
244
|
-
readonly 400: "#57D0FF";
|
|
245
|
-
readonly 500: "#30B6FF";
|
|
246
|
-
readonly 600: "#1999F7";
|
|
247
|
-
readonly 700: "#1280E3";
|
|
248
|
-
readonly 800: "#1566B8";
|
|
249
|
-
readonly 900: "#175791";
|
|
250
|
-
};
|
|
251
|
-
readonly purple: {
|
|
252
|
-
readonly 50: "#FBF6FE";
|
|
253
|
-
readonly 100: "#F5EAFD";
|
|
254
|
-
readonly 200: "#EDD8FC";
|
|
255
|
-
readonly 300: "#E0BAF8";
|
|
256
|
-
readonly 400: "#CD8DF3";
|
|
257
|
-
readonly 500: "#B961EB";
|
|
258
|
-
readonly 600: "#A541DC";
|
|
259
|
-
readonly 700: "#9230C5";
|
|
260
|
-
readonly 800: "#782B9E";
|
|
261
|
-
readonly 900: "#62247F";
|
|
262
|
-
};
|
|
263
|
-
readonly pink: {
|
|
264
|
-
readonly 50: "#FFF4FE";
|
|
265
|
-
readonly 100: "#FFE7FD";
|
|
266
|
-
readonly 200: "#FFCFFA";
|
|
267
|
-
readonly 300: "#FEA9F1";
|
|
268
|
-
readonly 400: "#FD75E7";
|
|
269
|
-
readonly 500: "#F553DA";
|
|
270
|
-
readonly 600: "#D821B6";
|
|
271
|
-
readonly 700: "#B31892";
|
|
272
|
-
readonly 800: "#921676";
|
|
273
|
-
readonly 900: "#781761";
|
|
274
|
-
};
|
|
275
|
-
readonly neutral: {
|
|
276
|
-
readonly 50: "#FAFAFA";
|
|
277
|
-
readonly 100: "#F5F5F5";
|
|
278
|
-
readonly 200: "#E5E5E5";
|
|
279
|
-
readonly 300: "#D4D4D4";
|
|
280
|
-
readonly 400: "#A1A1A1";
|
|
281
|
-
readonly 500: "#737373";
|
|
282
|
-
readonly 600: "#525252";
|
|
283
|
-
readonly 700: "#404040";
|
|
284
|
-
readonly 800: "#262626";
|
|
285
|
-
readonly 900: "#171717";
|
|
286
|
-
};
|
|
287
|
-
readonly black: "#000000";
|
|
288
|
-
readonly white: "#FFFFFF";
|
|
289
|
-
};
|
|
290
|
-
readonly test: {
|
|
291
|
-
readonly default: "#ffffff";
|
|
292
|
-
};
|
|
293
|
-
}[N]>(props: SingleDatePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
61
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: SingleDatePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
294
62
|
displayName: string;
|
|
295
63
|
};
|
|
296
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.js';
|
|
4
4
|
|
|
5
5
|
interface InputDatePickerProps {
|
|
6
6
|
value: Date;
|
|
@@ -46,123 +46,7 @@ interface RangePickerProps<N extends ColorNamespace = "xplat", C extends ColorNa
|
|
|
46
46
|
maxDate?: Date;
|
|
47
47
|
}
|
|
48
48
|
declare const RangePicker: {
|
|
49
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
50
|
-
readonly xplat: {
|
|
51
|
-
readonly red: {
|
|
52
|
-
readonly 50: "#FFF0F0";
|
|
53
|
-
readonly 100: "#FFDDDE";
|
|
54
|
-
readonly 200: "#FFC1C2";
|
|
55
|
-
readonly 300: "#FF9698";
|
|
56
|
-
readonly 400: "#FF5A5D";
|
|
57
|
-
readonly 500: "#FF272B";
|
|
58
|
-
readonly 600: "#F80409";
|
|
59
|
-
readonly 700: "#D40105";
|
|
60
|
-
readonly 800: "#AE0609";
|
|
61
|
-
readonly 900: "#900C0F";
|
|
62
|
-
};
|
|
63
|
-
readonly green: {
|
|
64
|
-
readonly 50: "#E5F6EA";
|
|
65
|
-
readonly 100: "#C1E7CC";
|
|
66
|
-
readonly 200: "#98D8AC";
|
|
67
|
-
readonly 300: "#6CCA8B";
|
|
68
|
-
readonly 400: "#47BE72";
|
|
69
|
-
readonly 500: "#10B259";
|
|
70
|
-
readonly 600: "#00A34F";
|
|
71
|
-
readonly 700: "#009143";
|
|
72
|
-
readonly 800: "#007F38";
|
|
73
|
-
readonly 900: "#006024";
|
|
74
|
-
};
|
|
75
|
-
readonly orange: {
|
|
76
|
-
readonly 50: "#FFF8EC";
|
|
77
|
-
readonly 100: "#FFF0D3";
|
|
78
|
-
readonly 200: "#FFDDA5";
|
|
79
|
-
readonly 300: "#FFC46D";
|
|
80
|
-
readonly 400: "#FF9F32";
|
|
81
|
-
readonly 500: "#FF820A";
|
|
82
|
-
readonly 600: "#FF6900";
|
|
83
|
-
readonly 700: "#CC4B02";
|
|
84
|
-
readonly 800: "#A13A0B";
|
|
85
|
-
readonly 900: "#82320C";
|
|
86
|
-
};
|
|
87
|
-
readonly yellow: {
|
|
88
|
-
readonly 50: "#FFFDE7";
|
|
89
|
-
readonly 100: "#FFFAC1";
|
|
90
|
-
readonly 200: "#FFF186";
|
|
91
|
-
readonly 300: "#FFE041";
|
|
92
|
-
readonly 400: "#FFCC0D";
|
|
93
|
-
readonly 500: "#F0B100";
|
|
94
|
-
readonly 600: "#D18800";
|
|
95
|
-
readonly 700: "#A66002";
|
|
96
|
-
readonly 800: "#894B0A";
|
|
97
|
-
readonly 900: "#743D0F";
|
|
98
|
-
};
|
|
99
|
-
readonly blue: {
|
|
100
|
-
readonly 50: "#F1F4FD";
|
|
101
|
-
readonly 100: "#DFE7FA";
|
|
102
|
-
readonly 200: "#C5D4F8";
|
|
103
|
-
readonly 300: "#9EB8F2";
|
|
104
|
-
readonly 400: "#7093EA";
|
|
105
|
-
readonly 500: "#4D6DE3";
|
|
106
|
-
readonly 600: "#3950D7";
|
|
107
|
-
readonly 700: "#303EC5";
|
|
108
|
-
readonly 800: "#2D35A0";
|
|
109
|
-
readonly 900: "#29317F";
|
|
110
|
-
};
|
|
111
|
-
readonly lightblue: {
|
|
112
|
-
readonly 50: "#EEFAFF";
|
|
113
|
-
readonly 100: "#D9F4FF";
|
|
114
|
-
readonly 200: "#BBEDFF";
|
|
115
|
-
readonly 300: "#8DE3FF";
|
|
116
|
-
readonly 400: "#57D0FF";
|
|
117
|
-
readonly 500: "#30B6FF";
|
|
118
|
-
readonly 600: "#1999F7";
|
|
119
|
-
readonly 700: "#1280E3";
|
|
120
|
-
readonly 800: "#1566B8";
|
|
121
|
-
readonly 900: "#175791";
|
|
122
|
-
};
|
|
123
|
-
readonly purple: {
|
|
124
|
-
readonly 50: "#FBF6FE";
|
|
125
|
-
readonly 100: "#F5EAFD";
|
|
126
|
-
readonly 200: "#EDD8FC";
|
|
127
|
-
readonly 300: "#E0BAF8";
|
|
128
|
-
readonly 400: "#CD8DF3";
|
|
129
|
-
readonly 500: "#B961EB";
|
|
130
|
-
readonly 600: "#A541DC";
|
|
131
|
-
readonly 700: "#9230C5";
|
|
132
|
-
readonly 800: "#782B9E";
|
|
133
|
-
readonly 900: "#62247F";
|
|
134
|
-
};
|
|
135
|
-
readonly pink: {
|
|
136
|
-
readonly 50: "#FFF4FE";
|
|
137
|
-
readonly 100: "#FFE7FD";
|
|
138
|
-
readonly 200: "#FFCFFA";
|
|
139
|
-
readonly 300: "#FEA9F1";
|
|
140
|
-
readonly 400: "#FD75E7";
|
|
141
|
-
readonly 500: "#F553DA";
|
|
142
|
-
readonly 600: "#D821B6";
|
|
143
|
-
readonly 700: "#B31892";
|
|
144
|
-
readonly 800: "#921676";
|
|
145
|
-
readonly 900: "#781761";
|
|
146
|
-
};
|
|
147
|
-
readonly neutral: {
|
|
148
|
-
readonly 50: "#FAFAFA";
|
|
149
|
-
readonly 100: "#F5F5F5";
|
|
150
|
-
readonly 200: "#E5E5E5";
|
|
151
|
-
readonly 300: "#D4D4D4";
|
|
152
|
-
readonly 400: "#A1A1A1";
|
|
153
|
-
readonly 500: "#737373";
|
|
154
|
-
readonly 600: "#525252";
|
|
155
|
-
readonly 700: "#404040";
|
|
156
|
-
readonly 800: "#262626";
|
|
157
|
-
readonly 900: "#171717";
|
|
158
|
-
};
|
|
159
|
-
readonly black: "#000000";
|
|
160
|
-
readonly white: "#FFFFFF";
|
|
161
|
-
};
|
|
162
|
-
readonly test: {
|
|
163
|
-
readonly default: "#ffffff";
|
|
164
|
-
};
|
|
165
|
-
}[N]>(props: RangePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: RangePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
166
50
|
displayName: string;
|
|
167
51
|
};
|
|
168
52
|
|
|
@@ -174,123 +58,7 @@ interface SingleDatePickerProps<N extends ColorNamespace = "xplat", C extends Co
|
|
|
174
58
|
highlightDates?: Date[];
|
|
175
59
|
}
|
|
176
60
|
declare const SingleDatePicker: {
|
|
177
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
178
|
-
readonly xplat: {
|
|
179
|
-
readonly red: {
|
|
180
|
-
readonly 50: "#FFF0F0";
|
|
181
|
-
readonly 100: "#FFDDDE";
|
|
182
|
-
readonly 200: "#FFC1C2";
|
|
183
|
-
readonly 300: "#FF9698";
|
|
184
|
-
readonly 400: "#FF5A5D";
|
|
185
|
-
readonly 500: "#FF272B";
|
|
186
|
-
readonly 600: "#F80409";
|
|
187
|
-
readonly 700: "#D40105";
|
|
188
|
-
readonly 800: "#AE0609";
|
|
189
|
-
readonly 900: "#900C0F";
|
|
190
|
-
};
|
|
191
|
-
readonly green: {
|
|
192
|
-
readonly 50: "#E5F6EA";
|
|
193
|
-
readonly 100: "#C1E7CC";
|
|
194
|
-
readonly 200: "#98D8AC";
|
|
195
|
-
readonly 300: "#6CCA8B";
|
|
196
|
-
readonly 400: "#47BE72";
|
|
197
|
-
readonly 500: "#10B259";
|
|
198
|
-
readonly 600: "#00A34F";
|
|
199
|
-
readonly 700: "#009143";
|
|
200
|
-
readonly 800: "#007F38";
|
|
201
|
-
readonly 900: "#006024";
|
|
202
|
-
};
|
|
203
|
-
readonly orange: {
|
|
204
|
-
readonly 50: "#FFF8EC";
|
|
205
|
-
readonly 100: "#FFF0D3";
|
|
206
|
-
readonly 200: "#FFDDA5";
|
|
207
|
-
readonly 300: "#FFC46D";
|
|
208
|
-
readonly 400: "#FF9F32";
|
|
209
|
-
readonly 500: "#FF820A";
|
|
210
|
-
readonly 600: "#FF6900";
|
|
211
|
-
readonly 700: "#CC4B02";
|
|
212
|
-
readonly 800: "#A13A0B";
|
|
213
|
-
readonly 900: "#82320C";
|
|
214
|
-
};
|
|
215
|
-
readonly yellow: {
|
|
216
|
-
readonly 50: "#FFFDE7";
|
|
217
|
-
readonly 100: "#FFFAC1";
|
|
218
|
-
readonly 200: "#FFF186";
|
|
219
|
-
readonly 300: "#FFE041";
|
|
220
|
-
readonly 400: "#FFCC0D";
|
|
221
|
-
readonly 500: "#F0B100";
|
|
222
|
-
readonly 600: "#D18800";
|
|
223
|
-
readonly 700: "#A66002";
|
|
224
|
-
readonly 800: "#894B0A";
|
|
225
|
-
readonly 900: "#743D0F";
|
|
226
|
-
};
|
|
227
|
-
readonly blue: {
|
|
228
|
-
readonly 50: "#F1F4FD";
|
|
229
|
-
readonly 100: "#DFE7FA";
|
|
230
|
-
readonly 200: "#C5D4F8";
|
|
231
|
-
readonly 300: "#9EB8F2";
|
|
232
|
-
readonly 400: "#7093EA";
|
|
233
|
-
readonly 500: "#4D6DE3";
|
|
234
|
-
readonly 600: "#3950D7";
|
|
235
|
-
readonly 700: "#303EC5";
|
|
236
|
-
readonly 800: "#2D35A0";
|
|
237
|
-
readonly 900: "#29317F";
|
|
238
|
-
};
|
|
239
|
-
readonly lightblue: {
|
|
240
|
-
readonly 50: "#EEFAFF";
|
|
241
|
-
readonly 100: "#D9F4FF";
|
|
242
|
-
readonly 200: "#BBEDFF";
|
|
243
|
-
readonly 300: "#8DE3FF";
|
|
244
|
-
readonly 400: "#57D0FF";
|
|
245
|
-
readonly 500: "#30B6FF";
|
|
246
|
-
readonly 600: "#1999F7";
|
|
247
|
-
readonly 700: "#1280E3";
|
|
248
|
-
readonly 800: "#1566B8";
|
|
249
|
-
readonly 900: "#175791";
|
|
250
|
-
};
|
|
251
|
-
readonly purple: {
|
|
252
|
-
readonly 50: "#FBF6FE";
|
|
253
|
-
readonly 100: "#F5EAFD";
|
|
254
|
-
readonly 200: "#EDD8FC";
|
|
255
|
-
readonly 300: "#E0BAF8";
|
|
256
|
-
readonly 400: "#CD8DF3";
|
|
257
|
-
readonly 500: "#B961EB";
|
|
258
|
-
readonly 600: "#A541DC";
|
|
259
|
-
readonly 700: "#9230C5";
|
|
260
|
-
readonly 800: "#782B9E";
|
|
261
|
-
readonly 900: "#62247F";
|
|
262
|
-
};
|
|
263
|
-
readonly pink: {
|
|
264
|
-
readonly 50: "#FFF4FE";
|
|
265
|
-
readonly 100: "#FFE7FD";
|
|
266
|
-
readonly 200: "#FFCFFA";
|
|
267
|
-
readonly 300: "#FEA9F1";
|
|
268
|
-
readonly 400: "#FD75E7";
|
|
269
|
-
readonly 500: "#F553DA";
|
|
270
|
-
readonly 600: "#D821B6";
|
|
271
|
-
readonly 700: "#B31892";
|
|
272
|
-
readonly 800: "#921676";
|
|
273
|
-
readonly 900: "#781761";
|
|
274
|
-
};
|
|
275
|
-
readonly neutral: {
|
|
276
|
-
readonly 50: "#FAFAFA";
|
|
277
|
-
readonly 100: "#F5F5F5";
|
|
278
|
-
readonly 200: "#E5E5E5";
|
|
279
|
-
readonly 300: "#D4D4D4";
|
|
280
|
-
readonly 400: "#A1A1A1";
|
|
281
|
-
readonly 500: "#737373";
|
|
282
|
-
readonly 600: "#525252";
|
|
283
|
-
readonly 700: "#404040";
|
|
284
|
-
readonly 800: "#262626";
|
|
285
|
-
readonly 900: "#171717";
|
|
286
|
-
};
|
|
287
|
-
readonly black: "#000000";
|
|
288
|
-
readonly white: "#FFFFFF";
|
|
289
|
-
};
|
|
290
|
-
readonly test: {
|
|
291
|
-
readonly default: "#ffffff";
|
|
292
|
-
};
|
|
293
|
-
}[N]>(props: SingleDatePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
61
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: SingleDatePickerProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
294
62
|
displayName: string;
|
|
295
63
|
};
|
|
296
64
|
|
|
@@ -4,7 +4,7 @@ import React3 from "react";
|
|
|
4
4
|
// src/components/Input/Input.tsx
|
|
5
5
|
import React from "react";
|
|
6
6
|
|
|
7
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
7
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
8
8
|
function r(e) {
|
|
9
9
|
var t, f, n = "";
|
|
10
10
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -224,6 +224,7 @@ var Input = React.forwardRef((props, ref) => {
|
|
|
224
224
|
value,
|
|
225
225
|
onChange,
|
|
226
226
|
type = "text",
|
|
227
|
+
size = "md",
|
|
227
228
|
suffix,
|
|
228
229
|
className,
|
|
229
230
|
disabled,
|
|
@@ -249,7 +250,7 @@ var Input = React.forwardRef((props, ref) => {
|
|
|
249
250
|
/* @__PURE__ */ jsxs4(
|
|
250
251
|
"div",
|
|
251
252
|
{
|
|
252
|
-
className: clsx_default("lib-xplat-input", disabled ? "disabled" : void 0),
|
|
253
|
+
className: clsx_default("lib-xplat-input", size, disabled ? "disabled" : void 0),
|
|
253
254
|
children: [
|
|
254
255
|
/* @__PURE__ */ jsx5(
|
|
255
256
|
"input",
|
|
@@ -1433,6 +1434,7 @@ var Button = (props) => {
|
|
|
1433
1434
|
const {
|
|
1434
1435
|
children,
|
|
1435
1436
|
type = "primary",
|
|
1437
|
+
size = "md",
|
|
1436
1438
|
colorNamespace = "xplat",
|
|
1437
1439
|
color = "black",
|
|
1438
1440
|
colorDepth,
|
|
@@ -1448,7 +1450,7 @@ var Button = (props) => {
|
|
|
1448
1450
|
return /* @__PURE__ */ jsx299(
|
|
1449
1451
|
"button",
|
|
1450
1452
|
{
|
|
1451
|
-
className: clsx_default("lib-xplat-button", type, colorClass, className),
|
|
1453
|
+
className: clsx_default("lib-xplat-button", type, size, colorClass, className),
|
|
1452
1454
|
disabled,
|
|
1453
1455
|
...rest,
|
|
1454
1456
|
children
|
|
@@ -24,7 +24,7 @@ __export(Divider_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Divider_exports);
|
|
26
26
|
|
|
27
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
27
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
28
28
|
function r(e) {
|
|
29
29
|
var t, f, n = "";
|
|
30
30
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
.lib-xplat-divider.horizontal {
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 1px;
|
|
9
|
-
background-color:
|
|
9
|
+
background-color: var(--xplat-neutral-200);
|
|
10
10
|
}
|
|
11
11
|
.lib-xplat-divider.vertical {
|
|
12
12
|
width: 1px;
|
|
13
13
|
align-self: stretch;
|
|
14
|
-
background-color:
|
|
14
|
+
background-color: var(--xplat-neutral-200);
|
|
15
15
|
}
|
|
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(Drawer_exports);
|
|
|
38
38
|
var import_react = __toESM(require("react"), 1);
|
|
39
39
|
var import_react_dom = require("react-dom");
|
|
40
40
|
|
|
41
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
41
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
42
42
|
function r(e) {
|
|
43
43
|
var t, f, n = "";
|
|
44
44
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
position: fixed;
|
|
17
17
|
top: 0;
|
|
18
18
|
height: 100%;
|
|
19
|
-
background:
|
|
19
|
+
background: var(--xplat-white);
|
|
20
20
|
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08);
|
|
21
21
|
display: flex;
|
|
22
22
|
flex-direction: column;
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
align-items: center;
|
|
44
44
|
justify-content: space-between;
|
|
45
45
|
padding: 1rem 1.25rem;
|
|
46
|
-
border-bottom: 1px solid
|
|
46
|
+
border-bottom: 1px solid var(--xplat-neutral-200);
|
|
47
47
|
}
|
|
48
48
|
.lib-xplat-drawer .drawer-title {
|
|
49
49
|
font-size: 16px;
|
|
50
50
|
font-weight: 600;
|
|
51
|
-
color:
|
|
51
|
+
color: var(--xplat-neutral-900);
|
|
52
52
|
}
|
|
53
53
|
.lib-xplat-drawer .close-btn {
|
|
54
54
|
background: none;
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
font-size: 22px;
|
|
58
58
|
line-height: 1;
|
|
59
|
-
color:
|
|
59
|
+
color: var(--xplat-neutral-500);
|
|
60
60
|
padding: 0;
|
|
61
61
|
transition: color 0.2s;
|
|
62
62
|
}
|
|
63
63
|
.lib-xplat-drawer .close-btn:hover {
|
|
64
|
-
color:
|
|
64
|
+
color: var(--xplat-neutral-800);
|
|
65
65
|
}
|
|
66
66
|
.lib-xplat-drawer .drawer-body {
|
|
67
67
|
flex: 1;
|
|
@@ -100,7 +100,7 @@ var useClickOutside = (refs, handler, enabled = true) => {
|
|
|
100
100
|
};
|
|
101
101
|
var useClickOutside_default = useClickOutside;
|
|
102
102
|
|
|
103
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
103
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
104
104
|
function r(e) {
|
|
105
105
|
var t, f, n = "";
|
|
106
106
|
if ("string" == typeof e || "number" == typeof e) n += e;
|