@x-plat/design-system 0.2.2 → 0.2.3

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.
Files changed (73) hide show
  1. package/dist/{colors-DmMsWD7G.d.cts → colors-BNxEsOY3.d.cts} +13 -4
  2. package/dist/{colors-DmMsWD7G.d.ts → colors-BNxEsOY3.d.ts} +13 -4
  3. package/dist/components/Avatar/index.cjs +1 -123
  4. package/dist/components/Avatar/index.d.cts +234 -2
  5. package/dist/components/Avatar/index.d.ts +234 -2
  6. package/dist/components/Avatar/index.js +1 -123
  7. package/dist/components/Badge/index.cjs +1 -123
  8. package/dist/components/Badge/index.d.cts +234 -2
  9. package/dist/components/Badge/index.d.ts +234 -2
  10. package/dist/components/Badge/index.js +1 -123
  11. package/dist/components/Button/index.cjs +1 -123
  12. package/dist/components/Button/index.d.cts +234 -2
  13. package/dist/components/Button/index.d.ts +234 -2
  14. package/dist/components/Button/index.js +1 -123
  15. package/dist/components/CheckBox/index.cjs +1 -123
  16. package/dist/components/CheckBox/index.d.cts +234 -2
  17. package/dist/components/CheckBox/index.d.ts +234 -2
  18. package/dist/components/CheckBox/index.js +1 -123
  19. package/dist/components/Chip/index.cjs +1 -123
  20. package/dist/components/Chip/index.d.cts +234 -2
  21. package/dist/components/Chip/index.d.ts +234 -2
  22. package/dist/components/Chip/index.js +1 -123
  23. package/dist/components/DatePicker/index.cjs +83 -86
  24. package/dist/components/DatePicker/index.d.cts +467 -3
  25. package/dist/components/DatePicker/index.d.ts +467 -3
  26. package/dist/components/DatePicker/index.js +83 -86
  27. package/dist/components/Pagination/index.cjs +1 -123
  28. package/dist/components/Pagination/index.d.cts +234 -2
  29. package/dist/components/Pagination/index.d.ts +234 -2
  30. package/dist/components/Pagination/index.js +1 -123
  31. package/dist/components/Progress/index.cjs +1 -123
  32. package/dist/components/Progress/index.d.cts +234 -2
  33. package/dist/components/Progress/index.d.ts +234 -2
  34. package/dist/components/Progress/index.js +1 -123
  35. package/dist/components/Radio/index.cjs +1 -123
  36. package/dist/components/Radio/index.d.cts +234 -2
  37. package/dist/components/Radio/index.d.ts +234 -2
  38. package/dist/components/Radio/index.js +1 -123
  39. package/dist/components/Spinner/index.cjs +1 -123
  40. package/dist/components/Spinner/index.d.cts +234 -2
  41. package/dist/components/Spinner/index.d.ts +234 -2
  42. package/dist/components/Spinner/index.js +1 -123
  43. package/dist/components/Steps/index.cjs +1 -123
  44. package/dist/components/Steps/index.d.cts +234 -2
  45. package/dist/components/Steps/index.d.ts +234 -2
  46. package/dist/components/Steps/index.js +1 -123
  47. package/dist/components/Switch/index.cjs +1 -123
  48. package/dist/components/Switch/index.d.cts +234 -2
  49. package/dist/components/Switch/index.d.ts +234 -2
  50. package/dist/components/Switch/index.js +1 -123
  51. package/dist/components/Table/index.cjs +1 -123
  52. package/dist/components/Table/index.d.cts +234 -2
  53. package/dist/components/Table/index.d.ts +234 -2
  54. package/dist/components/Table/index.js +1 -123
  55. package/dist/components/Tag/index.cjs +1 -123
  56. package/dist/components/Tag/index.d.cts +234 -2
  57. package/dist/components/Tag/index.d.ts +234 -2
  58. package/dist/components/Tag/index.js +1 -123
  59. package/dist/components/Tooltip/index.cjs +1 -123
  60. package/dist/components/Tooltip/index.d.cts +234 -2
  61. package/dist/components/Tooltip/index.d.ts +234 -2
  62. package/dist/components/Tooltip/index.js +1 -123
  63. package/dist/components/index.cjs +120 -123
  64. package/dist/components/index.d.cts +1 -1
  65. package/dist/components/index.d.ts +1 -1
  66. package/dist/components/index.js +120 -123
  67. package/dist/index.cjs +120 -123
  68. package/dist/index.d.cts +1 -1
  69. package/dist/index.d.ts +1 -1
  70. package/dist/index.js +120 -123
  71. package/dist/tokens/index.d.cts +1 -1
  72. package/dist/tokens/index.d.ts +1 -1
  73. package/package.json +1 -1
@@ -12047,6 +12047,89 @@ var InputDatePicker_default = InputDatePicker;
12047
12047
  // src/components/DatePicker/PopupPicker/index.tsx
12048
12048
  var import_react10 = __toESM(require("react"), 1);
12049
12049
 
12050
+ // src/util/getColor.ts
12051
+ var getColorClass = (namespace, palette, shade) => {
12052
+ return `${String(namespace)}-${String(palette)}${shade !== void 0 ? `-${String(shade)}` : ""}`;
12053
+ };
12054
+
12055
+ // src/components/Button/Button.tsx
12056
+ var import_jsx_runtime300 = require("react/jsx-runtime");
12057
+ var Button = (props) => {
12058
+ const {
12059
+ children,
12060
+ type = "primary",
12061
+ size: size4 = "md",
12062
+ colorNamespace = "xplat",
12063
+ color = "black",
12064
+ colorDepth,
12065
+ disabled,
12066
+ className,
12067
+ ...rest
12068
+ } = props;
12069
+ const colorClass = getColorClass(
12070
+ colorNamespace,
12071
+ color,
12072
+ colorDepth ?? 500
12073
+ );
12074
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12075
+ "button",
12076
+ {
12077
+ className: clsx_default("lib-xplat-button", type, size4, colorClass, className),
12078
+ disabled,
12079
+ ...rest,
12080
+ children
12081
+ }
12082
+ );
12083
+ };
12084
+ Button.displayName = "Button";
12085
+ var Button_default = Button;
12086
+
12087
+ // src/components/Modal/Modal.tsx
12088
+ var import_react9 = __toESM(require("react"), 1);
12089
+ var import_react_dom4 = require("react-dom");
12090
+ var import_jsx_runtime301 = require("react/jsx-runtime");
12091
+ var ANIMATION_DURATION_MS = 200;
12092
+ var Modal = (props) => {
12093
+ const { isOpen, onClose, children } = props;
12094
+ const [mounted, setMounted] = import_react9.default.useState(false);
12095
+ const [visible, setVisible] = import_react9.default.useState(false);
12096
+ import_react9.default.useEffect(() => {
12097
+ if (isOpen) {
12098
+ setMounted(true);
12099
+ const t2 = setTimeout(() => setVisible(true), 1);
12100
+ return () => clearTimeout(t2);
12101
+ }
12102
+ setVisible(false);
12103
+ const t = setTimeout(() => setMounted(false), ANIMATION_DURATION_MS);
12104
+ return () => clearTimeout(t);
12105
+ }, [isOpen]);
12106
+ if (typeof document === "undefined") return null;
12107
+ if (!mounted) return null;
12108
+ const stateClass = visible ? "enter" : "exit";
12109
+ return (0, import_react_dom4.createPortal)(
12110
+ /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
12111
+ "div",
12112
+ {
12113
+ className: clsx_default("lib-xplat-modal", "dim", stateClass),
12114
+ onClick: onClose,
12115
+ children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
12116
+ "div",
12117
+ {
12118
+ className: clsx_default("lib-xplat-modal", "modal-box", stateClass),
12119
+ role: "dialog",
12120
+ "aria-modal": "true",
12121
+ onClick: (e) => e.stopPropagation(),
12122
+ children
12123
+ }
12124
+ )
12125
+ }
12126
+ ),
12127
+ document.body
12128
+ );
12129
+ };
12130
+ Modal.displayName = "Modal";
12131
+ var Modal_default = Modal;
12132
+
12050
12133
  // src/tokens/colors.ts
12051
12134
  var colors = {
12052
12135
  xplat: {
@@ -12166,92 +12249,6 @@ var colors = {
12166
12249
  }
12167
12250
  };
12168
12251
 
12169
- // src/util/getColor.ts
12170
- var getColorClass = (namespace, palette, shade) => {
12171
- const namespaceMap = colors[namespace];
12172
- const paletteMap = namespaceMap[palette];
12173
- const hasShade = paletteMap && typeof paletteMap === "object" && shade !== void 0 && shade in paletteMap;
12174
- return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
12175
- };
12176
-
12177
- // src/components/Button/Button.tsx
12178
- var import_jsx_runtime300 = require("react/jsx-runtime");
12179
- var Button = (props) => {
12180
- const {
12181
- children,
12182
- type = "primary",
12183
- size: size4 = "md",
12184
- colorNamespace = "xplat",
12185
- color = "black",
12186
- colorDepth,
12187
- disabled,
12188
- className,
12189
- ...rest
12190
- } = props;
12191
- const colorClass = getColorClass(
12192
- colorNamespace,
12193
- color,
12194
- colorDepth ?? 500
12195
- );
12196
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
12197
- "button",
12198
- {
12199
- className: clsx_default("lib-xplat-button", type, size4, colorClass, className),
12200
- disabled,
12201
- ...rest,
12202
- children
12203
- }
12204
- );
12205
- };
12206
- Button.displayName = "Button";
12207
- var Button_default = Button;
12208
-
12209
- // src/components/Modal/Modal.tsx
12210
- var import_react9 = __toESM(require("react"), 1);
12211
- var import_react_dom4 = require("react-dom");
12212
- var import_jsx_runtime301 = require("react/jsx-runtime");
12213
- var ANIMATION_DURATION_MS = 200;
12214
- var Modal = (props) => {
12215
- const { isOpen, onClose, children } = props;
12216
- const [mounted, setMounted] = import_react9.default.useState(false);
12217
- const [visible, setVisible] = import_react9.default.useState(false);
12218
- import_react9.default.useEffect(() => {
12219
- if (isOpen) {
12220
- setMounted(true);
12221
- const t2 = setTimeout(() => setVisible(true), 1);
12222
- return () => clearTimeout(t2);
12223
- }
12224
- setVisible(false);
12225
- const t = setTimeout(() => setMounted(false), ANIMATION_DURATION_MS);
12226
- return () => clearTimeout(t);
12227
- }, [isOpen]);
12228
- if (typeof document === "undefined") return null;
12229
- if (!mounted) return null;
12230
- const stateClass = visible ? "enter" : "exit";
12231
- return (0, import_react_dom4.createPortal)(
12232
- /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
12233
- "div",
12234
- {
12235
- className: clsx_default("lib-xplat-modal", "dim", stateClass),
12236
- onClick: onClose,
12237
- children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
12238
- "div",
12239
- {
12240
- className: clsx_default("lib-xplat-modal", "modal-box", stateClass),
12241
- role: "dialog",
12242
- "aria-modal": "true",
12243
- onClick: (e) => e.stopPropagation(),
12244
- children
12245
- }
12246
- )
12247
- }
12248
- ),
12249
- document.body
12250
- );
12251
- };
12252
- Modal.displayName = "Modal";
12253
- var Modal_default = Modal;
12254
-
12255
12252
  // src/components/DatePicker/SingleDatePicker/index.tsx
12256
12253
  var import_jsx_runtime302 = require("react/jsx-runtime");
12257
12254
  function getColorValue(ns, color, depth) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.cjs';
3
+ import { b as ColorNamespace, d as ColorName, a as CustomNamespaces, C as CustomColors, f as ColorProps } from '../../colors-BNxEsOY3.cjs';
4
4
 
5
5
  interface InputDatePickerProps {
6
6
  value: Date;
@@ -46,7 +46,239 @@ 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> = ColorName<N>>(props: RangePickerProps<N, C>): react_jsx_runtime.JSX.Element;
49
+ <N extends ColorNamespace = "xplat", C extends ColorName<N> = keyof (N extends "xplat" | "test" ? N extends never ? {
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] & CustomNamespaces[N] & (N extends "xplat" ? CustomColors : {}) : {
166
+ readonly xplat: {
167
+ readonly red: {
168
+ readonly 50: "#FFF0F0";
169
+ readonly 100: "#FFDDDE";
170
+ readonly 200: "#FFC1C2";
171
+ readonly 300: "#FF9698";
172
+ readonly 400: "#FF5A5D";
173
+ readonly 500: "#FF272B";
174
+ readonly 600: "#F80409";
175
+ readonly 700: "#D40105";
176
+ readonly 800: "#AE0609";
177
+ readonly 900: "#900C0F";
178
+ };
179
+ readonly green: {
180
+ readonly 50: "#E5F6EA";
181
+ readonly 100: "#C1E7CC";
182
+ readonly 200: "#98D8AC";
183
+ readonly 300: "#6CCA8B";
184
+ readonly 400: "#47BE72";
185
+ readonly 500: "#10B259";
186
+ readonly 600: "#00A34F";
187
+ readonly 700: "#009143";
188
+ readonly 800: "#007F38";
189
+ readonly 900: "#006024";
190
+ };
191
+ readonly orange: {
192
+ readonly 50: "#FFF8EC";
193
+ readonly 100: "#FFF0D3";
194
+ readonly 200: "#FFDDA5";
195
+ readonly 300: "#FFC46D";
196
+ readonly 400: "#FF9F32";
197
+ readonly 500: "#FF820A";
198
+ readonly 600: "#FF6900";
199
+ readonly 700: "#CC4B02";
200
+ readonly 800: "#A13A0B";
201
+ readonly 900: "#82320C";
202
+ };
203
+ readonly yellow: {
204
+ readonly 50: "#FFFDE7";
205
+ readonly 100: "#FFFAC1";
206
+ readonly 200: "#FFF186";
207
+ readonly 300: "#FFE041";
208
+ readonly 400: "#FFCC0D";
209
+ readonly 500: "#F0B100";
210
+ readonly 600: "#D18800";
211
+ readonly 700: "#A66002";
212
+ readonly 800: "#894B0A";
213
+ readonly 900: "#743D0F";
214
+ };
215
+ readonly blue: {
216
+ readonly 50: "#F1F4FD";
217
+ readonly 100: "#DFE7FA";
218
+ readonly 200: "#C5D4F8";
219
+ readonly 300: "#9EB8F2";
220
+ readonly 400: "#7093EA";
221
+ readonly 500: "#4D6DE3";
222
+ readonly 600: "#3950D7";
223
+ readonly 700: "#303EC5";
224
+ readonly 800: "#2D35A0";
225
+ readonly 900: "#29317F";
226
+ };
227
+ readonly lightblue: {
228
+ readonly 50: "#EEFAFF";
229
+ readonly 100: "#D9F4FF";
230
+ readonly 200: "#BBEDFF";
231
+ readonly 300: "#8DE3FF";
232
+ readonly 400: "#57D0FF";
233
+ readonly 500: "#30B6FF";
234
+ readonly 600: "#1999F7";
235
+ readonly 700: "#1280E3";
236
+ readonly 800: "#1566B8";
237
+ readonly 900: "#175791";
238
+ };
239
+ readonly purple: {
240
+ readonly 50: "#FBF6FE";
241
+ readonly 100: "#F5EAFD";
242
+ readonly 200: "#EDD8FC";
243
+ readonly 300: "#E0BAF8";
244
+ readonly 400: "#CD8DF3";
245
+ readonly 500: "#B961EB";
246
+ readonly 600: "#A541DC";
247
+ readonly 700: "#9230C5";
248
+ readonly 800: "#782B9E";
249
+ readonly 900: "#62247F";
250
+ };
251
+ readonly pink: {
252
+ readonly 50: "#FFF4FE";
253
+ readonly 100: "#FFE7FD";
254
+ readonly 200: "#FFCFFA";
255
+ readonly 300: "#FEA9F1";
256
+ readonly 400: "#FD75E7";
257
+ readonly 500: "#F553DA";
258
+ readonly 600: "#D821B6";
259
+ readonly 700: "#B31892";
260
+ readonly 800: "#921676";
261
+ readonly 900: "#781761";
262
+ };
263
+ readonly neutral: {
264
+ readonly 50: "#FAFAFA";
265
+ readonly 100: "#F5F5F5";
266
+ readonly 200: "#E5E5E5";
267
+ readonly 300: "#D4D4D4";
268
+ readonly 400: "#A1A1A1";
269
+ readonly 500: "#737373";
270
+ readonly 600: "#525252";
271
+ readonly 700: "#404040";
272
+ readonly 800: "#262626";
273
+ readonly 900: "#171717";
274
+ };
275
+ readonly black: "#000000";
276
+ readonly white: "#FFFFFF";
277
+ };
278
+ readonly test: {
279
+ readonly default: "#ffffff";
280
+ };
281
+ }[N] & (N extends "xplat" ? CustomColors : {}) : N extends never ? CustomNamespaces[N] : {})>(props: RangePickerProps<N, C>): react_jsx_runtime.JSX.Element;
50
282
  displayName: string;
51
283
  };
52
284
 
@@ -58,7 +290,239 @@ interface SingleDatePickerProps<N extends ColorNamespace = "xplat", C extends Co
58
290
  highlightDates?: Date[];
59
291
  }
60
292
  declare const SingleDatePicker: {
61
- <N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: SingleDatePickerProps<N, C>): react_jsx_runtime.JSX.Element;
293
+ <N extends ColorNamespace = "xplat", C extends ColorName<N> = keyof (N extends "xplat" | "test" ? N extends never ? {
294
+ readonly xplat: {
295
+ readonly red: {
296
+ readonly 50: "#FFF0F0";
297
+ readonly 100: "#FFDDDE";
298
+ readonly 200: "#FFC1C2";
299
+ readonly 300: "#FF9698";
300
+ readonly 400: "#FF5A5D";
301
+ readonly 500: "#FF272B";
302
+ readonly 600: "#F80409";
303
+ readonly 700: "#D40105";
304
+ readonly 800: "#AE0609";
305
+ readonly 900: "#900C0F";
306
+ };
307
+ readonly green: {
308
+ readonly 50: "#E5F6EA";
309
+ readonly 100: "#C1E7CC";
310
+ readonly 200: "#98D8AC";
311
+ readonly 300: "#6CCA8B";
312
+ readonly 400: "#47BE72";
313
+ readonly 500: "#10B259";
314
+ readonly 600: "#00A34F";
315
+ readonly 700: "#009143";
316
+ readonly 800: "#007F38";
317
+ readonly 900: "#006024";
318
+ };
319
+ readonly orange: {
320
+ readonly 50: "#FFF8EC";
321
+ readonly 100: "#FFF0D3";
322
+ readonly 200: "#FFDDA5";
323
+ readonly 300: "#FFC46D";
324
+ readonly 400: "#FF9F32";
325
+ readonly 500: "#FF820A";
326
+ readonly 600: "#FF6900";
327
+ readonly 700: "#CC4B02";
328
+ readonly 800: "#A13A0B";
329
+ readonly 900: "#82320C";
330
+ };
331
+ readonly yellow: {
332
+ readonly 50: "#FFFDE7";
333
+ readonly 100: "#FFFAC1";
334
+ readonly 200: "#FFF186";
335
+ readonly 300: "#FFE041";
336
+ readonly 400: "#FFCC0D";
337
+ readonly 500: "#F0B100";
338
+ readonly 600: "#D18800";
339
+ readonly 700: "#A66002";
340
+ readonly 800: "#894B0A";
341
+ readonly 900: "#743D0F";
342
+ };
343
+ readonly blue: {
344
+ readonly 50: "#F1F4FD";
345
+ readonly 100: "#DFE7FA";
346
+ readonly 200: "#C5D4F8";
347
+ readonly 300: "#9EB8F2";
348
+ readonly 400: "#7093EA";
349
+ readonly 500: "#4D6DE3";
350
+ readonly 600: "#3950D7";
351
+ readonly 700: "#303EC5";
352
+ readonly 800: "#2D35A0";
353
+ readonly 900: "#29317F";
354
+ };
355
+ readonly lightblue: {
356
+ readonly 50: "#EEFAFF";
357
+ readonly 100: "#D9F4FF";
358
+ readonly 200: "#BBEDFF";
359
+ readonly 300: "#8DE3FF";
360
+ readonly 400: "#57D0FF";
361
+ readonly 500: "#30B6FF";
362
+ readonly 600: "#1999F7";
363
+ readonly 700: "#1280E3";
364
+ readonly 800: "#1566B8";
365
+ readonly 900: "#175791";
366
+ };
367
+ readonly purple: {
368
+ readonly 50: "#FBF6FE";
369
+ readonly 100: "#F5EAFD";
370
+ readonly 200: "#EDD8FC";
371
+ readonly 300: "#E0BAF8";
372
+ readonly 400: "#CD8DF3";
373
+ readonly 500: "#B961EB";
374
+ readonly 600: "#A541DC";
375
+ readonly 700: "#9230C5";
376
+ readonly 800: "#782B9E";
377
+ readonly 900: "#62247F";
378
+ };
379
+ readonly pink: {
380
+ readonly 50: "#FFF4FE";
381
+ readonly 100: "#FFE7FD";
382
+ readonly 200: "#FFCFFA";
383
+ readonly 300: "#FEA9F1";
384
+ readonly 400: "#FD75E7";
385
+ readonly 500: "#F553DA";
386
+ readonly 600: "#D821B6";
387
+ readonly 700: "#B31892";
388
+ readonly 800: "#921676";
389
+ readonly 900: "#781761";
390
+ };
391
+ readonly neutral: {
392
+ readonly 50: "#FAFAFA";
393
+ readonly 100: "#F5F5F5";
394
+ readonly 200: "#E5E5E5";
395
+ readonly 300: "#D4D4D4";
396
+ readonly 400: "#A1A1A1";
397
+ readonly 500: "#737373";
398
+ readonly 600: "#525252";
399
+ readonly 700: "#404040";
400
+ readonly 800: "#262626";
401
+ readonly 900: "#171717";
402
+ };
403
+ readonly black: "#000000";
404
+ readonly white: "#FFFFFF";
405
+ };
406
+ readonly test: {
407
+ readonly default: "#ffffff";
408
+ };
409
+ }[N] & CustomNamespaces[N] & (N extends "xplat" ? CustomColors : {}) : {
410
+ readonly xplat: {
411
+ readonly red: {
412
+ readonly 50: "#FFF0F0";
413
+ readonly 100: "#FFDDDE";
414
+ readonly 200: "#FFC1C2";
415
+ readonly 300: "#FF9698";
416
+ readonly 400: "#FF5A5D";
417
+ readonly 500: "#FF272B";
418
+ readonly 600: "#F80409";
419
+ readonly 700: "#D40105";
420
+ readonly 800: "#AE0609";
421
+ readonly 900: "#900C0F";
422
+ };
423
+ readonly green: {
424
+ readonly 50: "#E5F6EA";
425
+ readonly 100: "#C1E7CC";
426
+ readonly 200: "#98D8AC";
427
+ readonly 300: "#6CCA8B";
428
+ readonly 400: "#47BE72";
429
+ readonly 500: "#10B259";
430
+ readonly 600: "#00A34F";
431
+ readonly 700: "#009143";
432
+ readonly 800: "#007F38";
433
+ readonly 900: "#006024";
434
+ };
435
+ readonly orange: {
436
+ readonly 50: "#FFF8EC";
437
+ readonly 100: "#FFF0D3";
438
+ readonly 200: "#FFDDA5";
439
+ readonly 300: "#FFC46D";
440
+ readonly 400: "#FF9F32";
441
+ readonly 500: "#FF820A";
442
+ readonly 600: "#FF6900";
443
+ readonly 700: "#CC4B02";
444
+ readonly 800: "#A13A0B";
445
+ readonly 900: "#82320C";
446
+ };
447
+ readonly yellow: {
448
+ readonly 50: "#FFFDE7";
449
+ readonly 100: "#FFFAC1";
450
+ readonly 200: "#FFF186";
451
+ readonly 300: "#FFE041";
452
+ readonly 400: "#FFCC0D";
453
+ readonly 500: "#F0B100";
454
+ readonly 600: "#D18800";
455
+ readonly 700: "#A66002";
456
+ readonly 800: "#894B0A";
457
+ readonly 900: "#743D0F";
458
+ };
459
+ readonly blue: {
460
+ readonly 50: "#F1F4FD";
461
+ readonly 100: "#DFE7FA";
462
+ readonly 200: "#C5D4F8";
463
+ readonly 300: "#9EB8F2";
464
+ readonly 400: "#7093EA";
465
+ readonly 500: "#4D6DE3";
466
+ readonly 600: "#3950D7";
467
+ readonly 700: "#303EC5";
468
+ readonly 800: "#2D35A0";
469
+ readonly 900: "#29317F";
470
+ };
471
+ readonly lightblue: {
472
+ readonly 50: "#EEFAFF";
473
+ readonly 100: "#D9F4FF";
474
+ readonly 200: "#BBEDFF";
475
+ readonly 300: "#8DE3FF";
476
+ readonly 400: "#57D0FF";
477
+ readonly 500: "#30B6FF";
478
+ readonly 600: "#1999F7";
479
+ readonly 700: "#1280E3";
480
+ readonly 800: "#1566B8";
481
+ readonly 900: "#175791";
482
+ };
483
+ readonly purple: {
484
+ readonly 50: "#FBF6FE";
485
+ readonly 100: "#F5EAFD";
486
+ readonly 200: "#EDD8FC";
487
+ readonly 300: "#E0BAF8";
488
+ readonly 400: "#CD8DF3";
489
+ readonly 500: "#B961EB";
490
+ readonly 600: "#A541DC";
491
+ readonly 700: "#9230C5";
492
+ readonly 800: "#782B9E";
493
+ readonly 900: "#62247F";
494
+ };
495
+ readonly pink: {
496
+ readonly 50: "#FFF4FE";
497
+ readonly 100: "#FFE7FD";
498
+ readonly 200: "#FFCFFA";
499
+ readonly 300: "#FEA9F1";
500
+ readonly 400: "#FD75E7";
501
+ readonly 500: "#F553DA";
502
+ readonly 600: "#D821B6";
503
+ readonly 700: "#B31892";
504
+ readonly 800: "#921676";
505
+ readonly 900: "#781761";
506
+ };
507
+ readonly neutral: {
508
+ readonly 50: "#FAFAFA";
509
+ readonly 100: "#F5F5F5";
510
+ readonly 200: "#E5E5E5";
511
+ readonly 300: "#D4D4D4";
512
+ readonly 400: "#A1A1A1";
513
+ readonly 500: "#737373";
514
+ readonly 600: "#525252";
515
+ readonly 700: "#404040";
516
+ readonly 800: "#262626";
517
+ readonly 900: "#171717";
518
+ };
519
+ readonly black: "#000000";
520
+ readonly white: "#FFFFFF";
521
+ };
522
+ readonly test: {
523
+ readonly default: "#ffffff";
524
+ };
525
+ }[N] & (N extends "xplat" ? CustomColors : {}) : N extends never ? CustomNamespaces[N] : {})>(props: SingleDatePickerProps<N, C>): react_jsx_runtime.JSX.Element;
62
526
  displayName: string;
63
527
  };
64
528