@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.
- package/dist/{colors-DmMsWD7G.d.cts → colors-BNxEsOY3.d.cts} +13 -4
- package/dist/{colors-DmMsWD7G.d.ts → colors-BNxEsOY3.d.ts} +13 -4
- package/dist/components/Avatar/index.cjs +1 -123
- package/dist/components/Avatar/index.d.cts +234 -2
- package/dist/components/Avatar/index.d.ts +234 -2
- package/dist/components/Avatar/index.js +1 -123
- package/dist/components/Badge/index.cjs +1 -123
- package/dist/components/Badge/index.d.cts +234 -2
- package/dist/components/Badge/index.d.ts +234 -2
- package/dist/components/Badge/index.js +1 -123
- package/dist/components/Button/index.cjs +1 -123
- package/dist/components/Button/index.d.cts +234 -2
- package/dist/components/Button/index.d.ts +234 -2
- package/dist/components/Button/index.js +1 -123
- package/dist/components/CheckBox/index.cjs +1 -123
- package/dist/components/CheckBox/index.d.cts +234 -2
- package/dist/components/CheckBox/index.d.ts +234 -2
- package/dist/components/CheckBox/index.js +1 -123
- package/dist/components/Chip/index.cjs +1 -123
- package/dist/components/Chip/index.d.cts +234 -2
- package/dist/components/Chip/index.d.ts +234 -2
- package/dist/components/Chip/index.js +1 -123
- package/dist/components/DatePicker/index.cjs +83 -86
- package/dist/components/DatePicker/index.d.cts +467 -3
- package/dist/components/DatePicker/index.d.ts +467 -3
- package/dist/components/DatePicker/index.js +83 -86
- package/dist/components/Pagination/index.cjs +1 -123
- package/dist/components/Pagination/index.d.cts +234 -2
- package/dist/components/Pagination/index.d.ts +234 -2
- package/dist/components/Pagination/index.js +1 -123
- package/dist/components/Progress/index.cjs +1 -123
- package/dist/components/Progress/index.d.cts +234 -2
- package/dist/components/Progress/index.d.ts +234 -2
- package/dist/components/Progress/index.js +1 -123
- package/dist/components/Radio/index.cjs +1 -123
- package/dist/components/Radio/index.d.cts +234 -2
- package/dist/components/Radio/index.d.ts +234 -2
- package/dist/components/Radio/index.js +1 -123
- package/dist/components/Spinner/index.cjs +1 -123
- package/dist/components/Spinner/index.d.cts +234 -2
- package/dist/components/Spinner/index.d.ts +234 -2
- package/dist/components/Spinner/index.js +1 -123
- package/dist/components/Steps/index.cjs +1 -123
- package/dist/components/Steps/index.d.cts +234 -2
- package/dist/components/Steps/index.d.ts +234 -2
- package/dist/components/Steps/index.js +1 -123
- package/dist/components/Switch/index.cjs +1 -123
- package/dist/components/Switch/index.d.cts +234 -2
- package/dist/components/Switch/index.d.ts +234 -2
- package/dist/components/Switch/index.js +1 -123
- package/dist/components/Table/index.cjs +1 -123
- package/dist/components/Table/index.d.cts +234 -2
- package/dist/components/Table/index.d.ts +234 -2
- package/dist/components/Table/index.js +1 -123
- package/dist/components/Tag/index.cjs +1 -123
- package/dist/components/Tag/index.d.cts +234 -2
- package/dist/components/Tag/index.d.ts +234 -2
- package/dist/components/Tag/index.js +1 -123
- package/dist/components/Tooltip/index.cjs +1 -123
- package/dist/components/Tooltip/index.d.cts +234 -2
- package/dist/components/Tooltip/index.d.ts +234 -2
- package/dist/components/Tooltip/index.js +1 -123
- package/dist/components/index.cjs +120 -123
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +120 -123
- package/dist/index.cjs +120 -123
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +120 -123
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -128,16 +128,25 @@ declare const colors: {
|
|
|
128
128
|
* @example
|
|
129
129
|
* // @x-plat/tokens-cbio/types.d.ts
|
|
130
130
|
* declare module "@x-plat/design-system" {
|
|
131
|
+
* interface CustomNamespaces {
|
|
132
|
+
* cbio: {
|
|
133
|
+
* green: { 500: string; 600: string };
|
|
134
|
+
* primitive: { 500: string };
|
|
135
|
+
* };
|
|
136
|
+
* }
|
|
131
137
|
* interface CustomColors {
|
|
132
|
-
*
|
|
138
|
+
* textColor: { 500: string };
|
|
133
139
|
* }
|
|
134
140
|
* }
|
|
135
141
|
*/
|
|
136
142
|
interface CustomColors {
|
|
137
143
|
}
|
|
144
|
+
interface CustomNamespaces {
|
|
145
|
+
}
|
|
138
146
|
type DefaultColors = typeof colors;
|
|
139
|
-
type
|
|
140
|
-
type
|
|
147
|
+
type AllNamespaces = DefaultColors & CustomNamespaces;
|
|
148
|
+
type MergedNamespaceColors<N extends keyof AllNamespaces> = N extends keyof DefaultColors ? N extends keyof CustomNamespaces ? DefaultColors[N] & CustomNamespaces[N] & (N extends "xplat" ? CustomColors : {}) : DefaultColors[N] & (N extends "xplat" ? CustomColors : {}) : N extends keyof CustomNamespaces ? CustomNamespaces[N] : {};
|
|
149
|
+
type ColorNamespace = keyof AllNamespaces;
|
|
141
150
|
type ColorName<C extends ColorNamespace> = keyof MergedNamespaceColors<C>;
|
|
142
151
|
type ColorDepth<C extends ColorNamespace, K extends ColorName<C>> = K extends keyof MergedNamespaceColors<C> ? MergedNamespaceColors<C>[K] extends string ? undefined : keyof MergedNamespaceColors<C>[K] : undefined;
|
|
143
152
|
interface ColorProps<N extends ColorNamespace, C extends ColorName<N> = ColorName<N>> {
|
|
@@ -146,4 +155,4 @@ interface ColorProps<N extends ColorNamespace, C extends ColorName<N> = ColorNam
|
|
|
146
155
|
colorDepth?: ColorDepth<N, C>;
|
|
147
156
|
}
|
|
148
157
|
|
|
149
|
-
export { type CustomColors as C, type
|
|
158
|
+
export { type CustomColors as C, type CustomNamespaces as a, type ColorNamespace as b, colors as c, type ColorName as d, type ColorDepth as e, type ColorProps as f };
|
|
@@ -128,16 +128,25 @@ declare const colors: {
|
|
|
128
128
|
* @example
|
|
129
129
|
* // @x-plat/tokens-cbio/types.d.ts
|
|
130
130
|
* declare module "@x-plat/design-system" {
|
|
131
|
+
* interface CustomNamespaces {
|
|
132
|
+
* cbio: {
|
|
133
|
+
* green: { 500: string; 600: string };
|
|
134
|
+
* primitive: { 500: string };
|
|
135
|
+
* };
|
|
136
|
+
* }
|
|
131
137
|
* interface CustomColors {
|
|
132
|
-
*
|
|
138
|
+
* textColor: { 500: string };
|
|
133
139
|
* }
|
|
134
140
|
* }
|
|
135
141
|
*/
|
|
136
142
|
interface CustomColors {
|
|
137
143
|
}
|
|
144
|
+
interface CustomNamespaces {
|
|
145
|
+
}
|
|
138
146
|
type DefaultColors = typeof colors;
|
|
139
|
-
type
|
|
140
|
-
type
|
|
147
|
+
type AllNamespaces = DefaultColors & CustomNamespaces;
|
|
148
|
+
type MergedNamespaceColors<N extends keyof AllNamespaces> = N extends keyof DefaultColors ? N extends keyof CustomNamespaces ? DefaultColors[N] & CustomNamespaces[N] & (N extends "xplat" ? CustomColors : {}) : DefaultColors[N] & (N extends "xplat" ? CustomColors : {}) : N extends keyof CustomNamespaces ? CustomNamespaces[N] : {};
|
|
149
|
+
type ColorNamespace = keyof AllNamespaces;
|
|
141
150
|
type ColorName<C extends ColorNamespace> = keyof MergedNamespaceColors<C>;
|
|
142
151
|
type ColorDepth<C extends ColorNamespace, K extends ColorName<C>> = K extends keyof MergedNamespaceColors<C> ? MergedNamespaceColors<C>[K] extends string ? undefined : keyof MergedNamespaceColors<C>[K] : undefined;
|
|
143
152
|
interface ColorProps<N extends ColorNamespace, C extends ColorName<N> = ColorName<N>> {
|
|
@@ -146,4 +155,4 @@ interface ColorProps<N extends ColorNamespace, C extends ColorName<N> = ColorNam
|
|
|
146
155
|
colorDepth?: ColorDepth<N, C>;
|
|
147
156
|
}
|
|
148
157
|
|
|
149
|
-
export { type CustomColors as C, type
|
|
158
|
+
export { type CustomColors as C, type CustomNamespaces as a, type ColorNamespace as b, colors as c, type ColorName as d, type ColorDepth as e, type ColorProps as f };
|
|
@@ -24,131 +24,9 @@ __export(Avatar_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Avatar_exports);
|
|
26
26
|
|
|
27
|
-
// src/tokens/colors.ts
|
|
28
|
-
var colors = {
|
|
29
|
-
xplat: {
|
|
30
|
-
red: {
|
|
31
|
-
50: "#FFF0F0",
|
|
32
|
-
100: "#FFDDDE",
|
|
33
|
-
200: "#FFC1C2",
|
|
34
|
-
300: "#FF9698",
|
|
35
|
-
400: "#FF5A5D",
|
|
36
|
-
500: "#FF272B",
|
|
37
|
-
600: "#F80409",
|
|
38
|
-
700: "#D40105",
|
|
39
|
-
800: "#AE0609",
|
|
40
|
-
900: "#900C0F"
|
|
41
|
-
},
|
|
42
|
-
green: {
|
|
43
|
-
50: "#E5F6EA",
|
|
44
|
-
100: "#C1E7CC",
|
|
45
|
-
200: "#98D8AC",
|
|
46
|
-
300: "#6CCA8B",
|
|
47
|
-
400: "#47BE72",
|
|
48
|
-
500: "#10B259",
|
|
49
|
-
600: "#00A34F",
|
|
50
|
-
700: "#009143",
|
|
51
|
-
800: "#007F38",
|
|
52
|
-
900: "#006024"
|
|
53
|
-
},
|
|
54
|
-
orange: {
|
|
55
|
-
50: "#FFF8EC",
|
|
56
|
-
100: "#FFF0D3",
|
|
57
|
-
200: "#FFDDA5",
|
|
58
|
-
300: "#FFC46D",
|
|
59
|
-
400: "#FF9F32",
|
|
60
|
-
500: "#FF820A",
|
|
61
|
-
600: "#FF6900",
|
|
62
|
-
700: "#CC4B02",
|
|
63
|
-
800: "#A13A0B",
|
|
64
|
-
900: "#82320C"
|
|
65
|
-
},
|
|
66
|
-
yellow: {
|
|
67
|
-
50: "#FFFDE7",
|
|
68
|
-
100: "#FFFAC1",
|
|
69
|
-
200: "#FFF186",
|
|
70
|
-
300: "#FFE041",
|
|
71
|
-
400: "#FFCC0D",
|
|
72
|
-
500: "#F0B100",
|
|
73
|
-
600: "#D18800",
|
|
74
|
-
700: "#A66002",
|
|
75
|
-
800: "#894B0A",
|
|
76
|
-
900: "#743D0F"
|
|
77
|
-
},
|
|
78
|
-
blue: {
|
|
79
|
-
50: "#F1F4FD",
|
|
80
|
-
100: "#DFE7FA",
|
|
81
|
-
200: "#C5D4F8",
|
|
82
|
-
300: "#9EB8F2",
|
|
83
|
-
400: "#7093EA",
|
|
84
|
-
500: "#4D6DE3",
|
|
85
|
-
600: "#3950D7",
|
|
86
|
-
700: "#303EC5",
|
|
87
|
-
800: "#2D35A0",
|
|
88
|
-
900: "#29317F"
|
|
89
|
-
},
|
|
90
|
-
lightblue: {
|
|
91
|
-
50: "#EEFAFF",
|
|
92
|
-
100: "#D9F4FF",
|
|
93
|
-
200: "#BBEDFF",
|
|
94
|
-
300: "#8DE3FF",
|
|
95
|
-
400: "#57D0FF",
|
|
96
|
-
500: "#30B6FF",
|
|
97
|
-
600: "#1999F7",
|
|
98
|
-
700: "#1280E3",
|
|
99
|
-
800: "#1566B8",
|
|
100
|
-
900: "#175791"
|
|
101
|
-
},
|
|
102
|
-
purple: {
|
|
103
|
-
50: "#FBF6FE",
|
|
104
|
-
100: "#F5EAFD",
|
|
105
|
-
200: "#EDD8FC",
|
|
106
|
-
300: "#E0BAF8",
|
|
107
|
-
400: "#CD8DF3",
|
|
108
|
-
500: "#B961EB",
|
|
109
|
-
600: "#A541DC",
|
|
110
|
-
700: "#9230C5",
|
|
111
|
-
800: "#782B9E",
|
|
112
|
-
900: "#62247F"
|
|
113
|
-
},
|
|
114
|
-
pink: {
|
|
115
|
-
50: "#FFF4FE",
|
|
116
|
-
100: "#FFE7FD",
|
|
117
|
-
200: "#FFCFFA",
|
|
118
|
-
300: "#FEA9F1",
|
|
119
|
-
400: "#FD75E7",
|
|
120
|
-
500: "#F553DA",
|
|
121
|
-
600: "#D821B6",
|
|
122
|
-
700: "#B31892",
|
|
123
|
-
800: "#921676",
|
|
124
|
-
900: "#781761"
|
|
125
|
-
},
|
|
126
|
-
neutral: {
|
|
127
|
-
50: "#FAFAFA",
|
|
128
|
-
100: "#F5F5F5",
|
|
129
|
-
200: "#E5E5E5",
|
|
130
|
-
300: "#D4D4D4",
|
|
131
|
-
400: "#A1A1A1",
|
|
132
|
-
500: "#737373",
|
|
133
|
-
600: "#525252",
|
|
134
|
-
700: "#404040",
|
|
135
|
-
800: "#262626",
|
|
136
|
-
900: "#171717"
|
|
137
|
-
},
|
|
138
|
-
black: "#000000",
|
|
139
|
-
white: "#FFFFFF"
|
|
140
|
-
},
|
|
141
|
-
test: {
|
|
142
|
-
default: "#ffffff"
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
|
|
146
27
|
// src/util/getColor.ts
|
|
147
28
|
var getColorClass = (namespace, palette, shade) => {
|
|
148
|
-
|
|
149
|
-
const paletteMap = namespaceMap[palette];
|
|
150
|
-
const hasShade = paletteMap && typeof paletteMap === "object" && shade !== void 0 && shade in paletteMap;
|
|
151
|
-
return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
|
|
29
|
+
return `${String(namespace)}-${String(palette)}${shade !== void 0 ? `-${String(shade)}` : ""}`;
|
|
152
30
|
};
|
|
153
31
|
|
|
154
32
|
// ../../node_modules/clsx/dist/clsx.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { b as ColorNamespace, d as ColorName, a as CustomNamespaces, C as CustomColors, f as ColorProps } from '../../colors-BNxEsOY3.cjs';
|
|
3
3
|
|
|
4
4
|
type AvatarSize = "sm" | "md" | "lg";
|
|
5
5
|
interface AvatarProps<N extends ColorNamespace, C extends ColorName<N> = ColorName<N>> extends ColorProps<N, C> {
|
|
@@ -10,7 +10,239 @@ interface AvatarProps<N extends ColorNamespace, C extends ColorName<N> = ColorNa
|
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
12
|
declare const Avatar: {
|
|
13
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
13
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = keyof (N extends "xplat" | "test" ? N extends never ? {
|
|
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] & CustomNamespaces[N] & (N extends "xplat" ? CustomColors : {}) : {
|
|
130
|
+
readonly xplat: {
|
|
131
|
+
readonly red: {
|
|
132
|
+
readonly 50: "#FFF0F0";
|
|
133
|
+
readonly 100: "#FFDDDE";
|
|
134
|
+
readonly 200: "#FFC1C2";
|
|
135
|
+
readonly 300: "#FF9698";
|
|
136
|
+
readonly 400: "#FF5A5D";
|
|
137
|
+
readonly 500: "#FF272B";
|
|
138
|
+
readonly 600: "#F80409";
|
|
139
|
+
readonly 700: "#D40105";
|
|
140
|
+
readonly 800: "#AE0609";
|
|
141
|
+
readonly 900: "#900C0F";
|
|
142
|
+
};
|
|
143
|
+
readonly green: {
|
|
144
|
+
readonly 50: "#E5F6EA";
|
|
145
|
+
readonly 100: "#C1E7CC";
|
|
146
|
+
readonly 200: "#98D8AC";
|
|
147
|
+
readonly 300: "#6CCA8B";
|
|
148
|
+
readonly 400: "#47BE72";
|
|
149
|
+
readonly 500: "#10B259";
|
|
150
|
+
readonly 600: "#00A34F";
|
|
151
|
+
readonly 700: "#009143";
|
|
152
|
+
readonly 800: "#007F38";
|
|
153
|
+
readonly 900: "#006024";
|
|
154
|
+
};
|
|
155
|
+
readonly orange: {
|
|
156
|
+
readonly 50: "#FFF8EC";
|
|
157
|
+
readonly 100: "#FFF0D3";
|
|
158
|
+
readonly 200: "#FFDDA5";
|
|
159
|
+
readonly 300: "#FFC46D";
|
|
160
|
+
readonly 400: "#FF9F32";
|
|
161
|
+
readonly 500: "#FF820A";
|
|
162
|
+
readonly 600: "#FF6900";
|
|
163
|
+
readonly 700: "#CC4B02";
|
|
164
|
+
readonly 800: "#A13A0B";
|
|
165
|
+
readonly 900: "#82320C";
|
|
166
|
+
};
|
|
167
|
+
readonly yellow: {
|
|
168
|
+
readonly 50: "#FFFDE7";
|
|
169
|
+
readonly 100: "#FFFAC1";
|
|
170
|
+
readonly 200: "#FFF186";
|
|
171
|
+
readonly 300: "#FFE041";
|
|
172
|
+
readonly 400: "#FFCC0D";
|
|
173
|
+
readonly 500: "#F0B100";
|
|
174
|
+
readonly 600: "#D18800";
|
|
175
|
+
readonly 700: "#A66002";
|
|
176
|
+
readonly 800: "#894B0A";
|
|
177
|
+
readonly 900: "#743D0F";
|
|
178
|
+
};
|
|
179
|
+
readonly blue: {
|
|
180
|
+
readonly 50: "#F1F4FD";
|
|
181
|
+
readonly 100: "#DFE7FA";
|
|
182
|
+
readonly 200: "#C5D4F8";
|
|
183
|
+
readonly 300: "#9EB8F2";
|
|
184
|
+
readonly 400: "#7093EA";
|
|
185
|
+
readonly 500: "#4D6DE3";
|
|
186
|
+
readonly 600: "#3950D7";
|
|
187
|
+
readonly 700: "#303EC5";
|
|
188
|
+
readonly 800: "#2D35A0";
|
|
189
|
+
readonly 900: "#29317F";
|
|
190
|
+
};
|
|
191
|
+
readonly lightblue: {
|
|
192
|
+
readonly 50: "#EEFAFF";
|
|
193
|
+
readonly 100: "#D9F4FF";
|
|
194
|
+
readonly 200: "#BBEDFF";
|
|
195
|
+
readonly 300: "#8DE3FF";
|
|
196
|
+
readonly 400: "#57D0FF";
|
|
197
|
+
readonly 500: "#30B6FF";
|
|
198
|
+
readonly 600: "#1999F7";
|
|
199
|
+
readonly 700: "#1280E3";
|
|
200
|
+
readonly 800: "#1566B8";
|
|
201
|
+
readonly 900: "#175791";
|
|
202
|
+
};
|
|
203
|
+
readonly purple: {
|
|
204
|
+
readonly 50: "#FBF6FE";
|
|
205
|
+
readonly 100: "#F5EAFD";
|
|
206
|
+
readonly 200: "#EDD8FC";
|
|
207
|
+
readonly 300: "#E0BAF8";
|
|
208
|
+
readonly 400: "#CD8DF3";
|
|
209
|
+
readonly 500: "#B961EB";
|
|
210
|
+
readonly 600: "#A541DC";
|
|
211
|
+
readonly 700: "#9230C5";
|
|
212
|
+
readonly 800: "#782B9E";
|
|
213
|
+
readonly 900: "#62247F";
|
|
214
|
+
};
|
|
215
|
+
readonly pink: {
|
|
216
|
+
readonly 50: "#FFF4FE";
|
|
217
|
+
readonly 100: "#FFE7FD";
|
|
218
|
+
readonly 200: "#FFCFFA";
|
|
219
|
+
readonly 300: "#FEA9F1";
|
|
220
|
+
readonly 400: "#FD75E7";
|
|
221
|
+
readonly 500: "#F553DA";
|
|
222
|
+
readonly 600: "#D821B6";
|
|
223
|
+
readonly 700: "#B31892";
|
|
224
|
+
readonly 800: "#921676";
|
|
225
|
+
readonly 900: "#781761";
|
|
226
|
+
};
|
|
227
|
+
readonly neutral: {
|
|
228
|
+
readonly 50: "#FAFAFA";
|
|
229
|
+
readonly 100: "#F5F5F5";
|
|
230
|
+
readonly 200: "#E5E5E5";
|
|
231
|
+
readonly 300: "#D4D4D4";
|
|
232
|
+
readonly 400: "#A1A1A1";
|
|
233
|
+
readonly 500: "#737373";
|
|
234
|
+
readonly 600: "#525252";
|
|
235
|
+
readonly 700: "#404040";
|
|
236
|
+
readonly 800: "#262626";
|
|
237
|
+
readonly 900: "#171717";
|
|
238
|
+
};
|
|
239
|
+
readonly black: "#000000";
|
|
240
|
+
readonly white: "#FFFFFF";
|
|
241
|
+
};
|
|
242
|
+
readonly test: {
|
|
243
|
+
readonly default: "#ffffff";
|
|
244
|
+
};
|
|
245
|
+
}[N] & (N extends "xplat" ? CustomColors : {}) : N extends never ? CustomNamespaces[N] : {})>(props: AvatarProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
14
246
|
displayName: string;
|
|
15
247
|
};
|
|
16
248
|
|