@x-plat/design-system 0.4.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/index.cjs +294 -294
- package/dist/components/Accordion/index.css +11 -11
- package/dist/components/Accordion/index.d.cts +0 -1
- package/dist/components/Accordion/index.d.ts +0 -1
- package/dist/components/Accordion/index.js +491 -491
- package/dist/components/Alert/index.cjs +2 -2
- package/dist/components/Alert/index.css +19 -19
- package/dist/components/Alert/index.d.cts +0 -1
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/Avatar/index.cjs +11 -6
- package/dist/components/Avatar/index.css +41 -11
- package/dist/components/Avatar/index.d.cts +1 -3
- package/dist/components/Avatar/index.d.ts +1 -3
- package/dist/components/Avatar/index.js +11 -6
- package/dist/components/Badge/index.cjs +4 -6
- package/dist/components/Badge/index.css +32 -19
- package/dist/components/Badge/index.d.cts +3 -3
- package/dist/components/Badge/index.d.ts +3 -3
- package/dist/components/Badge/index.js +4 -6
- package/dist/components/Breadcrumb/index.cjs +2 -18
- package/dist/components/Breadcrumb/index.css +6 -6
- package/dist/components/Breadcrumb/index.d.cts +0 -1
- package/dist/components/Breadcrumb/index.d.ts +0 -1
- package/dist/components/Breadcrumb/index.js +2 -18
- package/dist/components/Button/index.cjs +1 -4
- package/dist/components/Button/index.css +67 -23
- package/dist/components/Button/index.d.cts +2 -3
- package/dist/components/Button/index.d.ts +2 -3
- package/dist/components/Button/index.js +1 -4
- package/dist/components/Calendar/index.cjs +306 -307
- package/dist/components/Calendar/index.css +51 -52
- package/dist/components/Calendar/index.d.cts +3 -4
- package/dist/components/Calendar/index.d.ts +3 -4
- package/dist/components/Calendar/index.js +503 -504
- package/dist/components/Card/index.cjs +2 -18
- package/dist/components/Card/index.css +6 -6
- package/dist/components/Card/index.d.cts +0 -4
- package/dist/components/Card/index.d.ts +0 -4
- package/dist/components/Card/index.js +2 -18
- package/dist/components/CardTab/index.cjs +4 -5
- package/dist/components/CardTab/index.css +28 -28
- package/dist/components/CardTab/index.d.cts +0 -2
- package/dist/components/CardTab/index.d.ts +0 -2
- package/dist/components/CardTab/index.js +4 -5
- package/dist/components/Chart/index.cjs +228 -14548
- package/dist/components/Chart/index.css +57 -0
- package/dist/components/Chart/index.d.cts +3 -2
- package/dist/components/Chart/index.d.ts +3 -2
- package/dist/components/Chart/index.js +219 -14541
- package/dist/components/CheckBox/index.cjs +301 -297
- package/dist/components/CheckBox/index.css +50 -27
- package/dist/components/CheckBox/index.d.cts +3 -3
- package/dist/components/CheckBox/index.d.ts +3 -3
- package/dist/components/CheckBox/index.js +486 -482
- package/dist/components/Chip/index.cjs +2 -5
- package/dist/components/Chip/index.css +35 -23
- package/dist/components/Chip/index.d.cts +2 -4
- package/dist/components/Chip/index.d.ts +2 -4
- package/dist/components/Chip/index.js +2 -5
- package/dist/components/DatePicker/index.cjs +348 -359
- package/dist/components/DatePicker/index.css +175 -122
- package/dist/components/DatePicker/index.d.cts +2 -3
- package/dist/components/DatePicker/index.d.ts +2 -3
- package/dist/components/DatePicker/index.js +525 -536
- package/dist/components/Divider/index.cjs +2 -2
- package/dist/components/Divider/index.css +2 -2
- package/dist/components/Divider/index.d.cts +0 -1
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Divider/index.js +2 -2
- package/dist/components/Drawer/index.css +7 -7
- package/dist/components/Dropdown/index.cjs +2 -2
- package/dist/components/Dropdown/index.css +10 -10
- package/dist/components/Dropdown/index.d.cts +0 -1
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/EmptyState/index.cjs +2 -18
- package/dist/components/EmptyState/index.css +8 -9
- package/dist/components/EmptyState/index.d.cts +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -1
- package/dist/components/EmptyState/index.js +2 -18
- package/dist/components/FileUpload/index.cjs +280 -281
- package/dist/components/FileUpload/index.css +13 -14
- package/dist/components/FileUpload/index.d.cts +0 -1
- package/dist/components/FileUpload/index.d.ts +0 -1
- package/dist/components/FileUpload/index.js +476 -477
- package/dist/components/HtmlTypeWriter/index.cjs +10 -10
- package/dist/components/HtmlTypeWriter/index.css +3 -3
- package/dist/components/HtmlTypeWriter/index.js +10 -10
- package/dist/components/ImageSelector/index.cjs +309 -309
- package/dist/components/ImageSelector/index.css +15 -15
- package/dist/components/ImageSelector/index.js +477 -477
- package/dist/components/Input/index.cjs +6 -7
- package/dist/components/Input/index.css +37 -26
- package/dist/components/Input/index.d.cts +2 -2
- package/dist/components/Input/index.d.ts +2 -2
- package/dist/components/Input/index.js +6 -7
- package/dist/components/Modal/index.css +5 -4
- package/dist/components/Pagination/index.cjs +303 -305
- package/dist/components/Pagination/index.css +37 -26
- package/dist/components/Pagination/index.d.cts +3 -3
- package/dist/components/Pagination/index.d.ts +3 -3
- package/dist/components/Pagination/index.js +500 -502
- package/dist/components/PopOver/index.css +3 -3
- package/dist/components/Progress/index.cjs +4 -6
- package/dist/components/Progress/index.css +23 -9
- package/dist/components/Progress/index.d.cts +3 -3
- package/dist/components/Progress/index.d.ts +3 -3
- package/dist/components/Progress/index.js +4 -6
- package/dist/components/Radio/index.cjs +4 -7
- package/dist/components/Radio/index.css +61 -29
- package/dist/components/Radio/index.d.cts +3 -3
- package/dist/components/Radio/index.d.ts +3 -3
- package/dist/components/Radio/index.js +4 -7
- package/dist/components/Select/index.cjs +294 -294
- package/dist/components/Select/index.css +46 -40
- package/dist/components/Select/index.d.cts +0 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Select/index.js +491 -491
- package/dist/components/Skeleton/index.cjs +2 -2
- package/dist/components/Skeleton/index.css +3 -3
- package/dist/components/Skeleton/index.d.cts +0 -1
- package/dist/components/Skeleton/index.d.ts +0 -1
- package/dist/components/Skeleton/index.js +2 -2
- package/dist/components/Spinner/index.cjs +2 -4
- package/dist/components/Spinner/index.css +22 -8
- package/dist/components/Spinner/index.d.cts +3 -3
- package/dist/components/Spinner/index.d.ts +3 -3
- package/dist/components/Spinner/index.js +2 -4
- package/dist/components/Steps/index.cjs +296 -298
- package/dist/components/Steps/index.css +77 -22
- package/dist/components/Steps/index.d.cts +3 -3
- package/dist/components/Steps/index.d.ts +3 -3
- package/dist/components/Steps/index.js +481 -483
- package/dist/components/Swiper/index.cjs +2 -3
- package/dist/components/Swiper/index.css +10 -10
- package/dist/components/Swiper/index.d.cts +0 -1
- package/dist/components/Swiper/index.d.ts +0 -1
- package/dist/components/Swiper/index.js +2 -3
- package/dist/components/Switch/index.cjs +4 -7
- package/dist/components/Switch/index.css +58 -26
- package/dist/components/Switch/index.d.cts +3 -3
- package/dist/components/Switch/index.d.ts +3 -3
- package/dist/components/Switch/index.js +4 -7
- package/dist/components/Tab/index.css +15 -15
- package/dist/components/Table/index.cjs +22 -31
- package/dist/components/Table/index.css +15 -15
- package/dist/components/Table/index.d.cts +2 -8
- package/dist/components/Table/index.d.ts +2 -8
- package/dist/components/Table/index.js +22 -31
- package/dist/components/Tag/index.cjs +305 -293
- package/dist/components/Tag/index.css +58 -17
- package/dist/components/Tag/index.d.cts +5 -3
- package/dist/components/Tag/index.d.ts +5 -3
- package/dist/components/Tag/index.js +492 -480
- package/dist/components/TextArea/index.cjs +2 -2
- package/dist/components/TextArea/index.css +20 -9
- package/dist/components/TextArea/index.d.cts +2 -1
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/TextArea/index.js +2 -2
- package/dist/components/Toast/index.css +22 -22
- package/dist/components/Tooltip/index.cjs +1 -3
- package/dist/components/Tooltip/index.css +6 -6
- package/dist/components/Tooltip/index.d.cts +1 -2
- package/dist/components/Tooltip/index.d.ts +1 -2
- package/dist/components/Tooltip/index.js +1 -3
- package/dist/components/Video/index.cjs +1 -3
- package/dist/components/Video/index.css +5 -5
- package/dist/components/Video/index.d.cts +0 -2
- package/dist/components/Video/index.d.ts +0 -2
- package/dist/components/Video/index.js +1 -3
- package/dist/components/index.cjs +1604 -15950
- package/dist/components/index.css +2167 -1061
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.js +1478 -15826
- package/dist/index.cjs +2941 -17269
- package/dist/index.css +2164 -1058
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2837 -17169
- package/dist/layout/Grid/FullGrid/index.cjs +9 -18
- package/dist/layout/Grid/FullGrid/index.d.cts +1 -1
- package/dist/layout/Grid/FullGrid/index.d.ts +1 -1
- package/dist/layout/Grid/FullGrid/index.js +9 -18
- package/dist/layout/Grid/FullScreen/index.cjs +9 -18
- package/dist/layout/Grid/FullScreen/index.d.cts +3 -3
- package/dist/layout/Grid/FullScreen/index.d.ts +3 -3
- package/dist/layout/Grid/FullScreen/index.js +9 -18
- package/dist/layout/Grid/index.cjs +34 -20
- package/dist/layout/Grid/index.js +34 -20
- package/dist/layout/index.cjs +34 -20
- package/dist/layout/index.css +1000 -295
- package/dist/layout/index.js +34 -20
- package/dist/tokens/index.cjs +1861 -1970
- package/dist/tokens/index.d.cts +209 -192
- package/dist/tokens/index.d.ts +209 -192
- package/dist/tokens/index.js +2048 -2159
- package/package.json +2 -4
- package/dist/colors-CY4JXVHj.d.cts +0 -137
- package/dist/colors-CY4JXVHj.d.ts +0 -137
- package/dist/layout/Grid/GapGrid/index.cjs +0 -32
- package/dist/layout/Grid/GapGrid/index.d.cts +0 -12
- package/dist/layout/Grid/GapGrid/index.d.ts +0 -12
- package/dist/layout/Grid/GapGrid/index.js +0 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-plat/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "XPLAT UI Design System",
|
|
5
5
|
"author": "XPLAT WOONG",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -62,13 +62,11 @@
|
|
|
62
62
|
"react-dom": ">=18"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
+
"@x-plat/tokens-core": "*",
|
|
65
66
|
"@x-plat/tokens-default": "*"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
|
-
"chart.js": "^4.5.1",
|
|
69
|
-
"chartjs-plugin-datalabels": "^2.2.0",
|
|
70
69
|
"framer-motion": "^12.23.19",
|
|
71
|
-
"react-chartjs-2": "^5.3.1",
|
|
72
70
|
"@types/node": "^24.10.1",
|
|
73
71
|
"@types/react": "^19.1.13",
|
|
74
72
|
"@types/react-dom": "^19.1.9",
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 색상 토큰 설정 (세팅값만).
|
|
3
|
-
* generate-theme 으로 styles/colors.scss 갱신.
|
|
4
|
-
* 타입은 tokens/interface/colors.ts 또는 src/tokens 에서 export.
|
|
5
|
-
*/
|
|
6
|
-
declare const colors: {
|
|
7
|
-
readonly xplat: {
|
|
8
|
-
readonly red: {
|
|
9
|
-
readonly 50: "#FFF0F0";
|
|
10
|
-
readonly 100: "#FFDDDE";
|
|
11
|
-
readonly 200: "#FFC1C2";
|
|
12
|
-
readonly 300: "#FF9698";
|
|
13
|
-
readonly 400: "#FF5A5D";
|
|
14
|
-
readonly 500: "#FF272B";
|
|
15
|
-
readonly 600: "#F80409";
|
|
16
|
-
readonly 700: "#D40105";
|
|
17
|
-
readonly 800: "#AE0609";
|
|
18
|
-
readonly 900: "#900C0F";
|
|
19
|
-
};
|
|
20
|
-
readonly green: {
|
|
21
|
-
readonly 50: "#E5F6EA";
|
|
22
|
-
readonly 100: "#C1E7CC";
|
|
23
|
-
readonly 200: "#98D8AC";
|
|
24
|
-
readonly 300: "#6CCA8B";
|
|
25
|
-
readonly 400: "#47BE72";
|
|
26
|
-
readonly 500: "#10B259";
|
|
27
|
-
readonly 600: "#00A34F";
|
|
28
|
-
readonly 700: "#009143";
|
|
29
|
-
readonly 800: "#007F38";
|
|
30
|
-
readonly 900: "#006024";
|
|
31
|
-
};
|
|
32
|
-
readonly orange: {
|
|
33
|
-
readonly 50: "#FFF8EC";
|
|
34
|
-
readonly 100: "#FFF0D3";
|
|
35
|
-
readonly 200: "#FFDDA5";
|
|
36
|
-
readonly 300: "#FFC46D";
|
|
37
|
-
readonly 400: "#FF9F32";
|
|
38
|
-
readonly 500: "#FF820A";
|
|
39
|
-
readonly 600: "#FF6900";
|
|
40
|
-
readonly 700: "#CC4B02";
|
|
41
|
-
readonly 800: "#A13A0B";
|
|
42
|
-
readonly 900: "#82320C";
|
|
43
|
-
};
|
|
44
|
-
readonly yellow: {
|
|
45
|
-
readonly 50: "#FFFDE7";
|
|
46
|
-
readonly 100: "#FFFAC1";
|
|
47
|
-
readonly 200: "#FFF186";
|
|
48
|
-
readonly 300: "#FFE041";
|
|
49
|
-
readonly 400: "#FFCC0D";
|
|
50
|
-
readonly 500: "#F0B100";
|
|
51
|
-
readonly 600: "#D18800";
|
|
52
|
-
readonly 700: "#A66002";
|
|
53
|
-
readonly 800: "#894B0A";
|
|
54
|
-
readonly 900: "#743D0F";
|
|
55
|
-
};
|
|
56
|
-
readonly blue: {
|
|
57
|
-
readonly 50: "#F1F4FD";
|
|
58
|
-
readonly 100: "#DFE7FA";
|
|
59
|
-
readonly 200: "#C5D4F8";
|
|
60
|
-
readonly 300: "#9EB8F2";
|
|
61
|
-
readonly 400: "#7093EA";
|
|
62
|
-
readonly 500: "#4D6DE3";
|
|
63
|
-
readonly 600: "#3950D7";
|
|
64
|
-
readonly 700: "#303EC5";
|
|
65
|
-
readonly 800: "#2D35A0";
|
|
66
|
-
readonly 900: "#29317F";
|
|
67
|
-
};
|
|
68
|
-
readonly lightblue: {
|
|
69
|
-
readonly 50: "#EEFAFF";
|
|
70
|
-
readonly 100: "#D9F4FF";
|
|
71
|
-
readonly 200: "#BBEDFF";
|
|
72
|
-
readonly 300: "#8DE3FF";
|
|
73
|
-
readonly 400: "#57D0FF";
|
|
74
|
-
readonly 500: "#30B6FF";
|
|
75
|
-
readonly 600: "#1999F7";
|
|
76
|
-
readonly 700: "#1280E3";
|
|
77
|
-
readonly 800: "#1566B8";
|
|
78
|
-
readonly 900: "#175791";
|
|
79
|
-
};
|
|
80
|
-
readonly purple: {
|
|
81
|
-
readonly 50: "#FBF6FE";
|
|
82
|
-
readonly 100: "#F5EAFD";
|
|
83
|
-
readonly 200: "#EDD8FC";
|
|
84
|
-
readonly 300: "#E0BAF8";
|
|
85
|
-
readonly 400: "#CD8DF3";
|
|
86
|
-
readonly 500: "#B961EB";
|
|
87
|
-
readonly 600: "#A541DC";
|
|
88
|
-
readonly 700: "#9230C5";
|
|
89
|
-
readonly 800: "#782B9E";
|
|
90
|
-
readonly 900: "#62247F";
|
|
91
|
-
};
|
|
92
|
-
readonly pink: {
|
|
93
|
-
readonly 50: "#FFF4FE";
|
|
94
|
-
readonly 100: "#FFE7FD";
|
|
95
|
-
readonly 200: "#FFCFFA";
|
|
96
|
-
readonly 300: "#FEA9F1";
|
|
97
|
-
readonly 400: "#FD75E7";
|
|
98
|
-
readonly 500: "#F553DA";
|
|
99
|
-
readonly 600: "#D821B6";
|
|
100
|
-
readonly 700: "#B31892";
|
|
101
|
-
readonly 800: "#921676";
|
|
102
|
-
readonly 900: "#781761";
|
|
103
|
-
};
|
|
104
|
-
readonly neutral: {
|
|
105
|
-
readonly 50: "#FAFAFA";
|
|
106
|
-
readonly 100: "#F5F5F5";
|
|
107
|
-
readonly 200: "#E5E5E5";
|
|
108
|
-
readonly 300: "#D4D4D4";
|
|
109
|
-
readonly 400: "#A1A1A1";
|
|
110
|
-
readonly 500: "#737373";
|
|
111
|
-
readonly 600: "#525252";
|
|
112
|
-
readonly 700: "#404040";
|
|
113
|
-
readonly 800: "#262626";
|
|
114
|
-
readonly 900: "#171717";
|
|
115
|
-
};
|
|
116
|
-
readonly black: "#000000";
|
|
117
|
-
readonly white: "#FFFFFF";
|
|
118
|
-
};
|
|
119
|
-
readonly test: {
|
|
120
|
-
readonly default: "#ffffff";
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
type DefaultColors = typeof colors;
|
|
125
|
-
type BuildDefaultTokens<N extends keyof DefaultColors> = {
|
|
126
|
-
[C in keyof DefaultColors[N]]: DefaultColors[N][C] extends string ? `${N & string}-${C & string}` : `${N & string}-${C & string}-${keyof DefaultColors[N][C] & (string | number)}`;
|
|
127
|
-
}[keyof DefaultColors[N]];
|
|
128
|
-
type DefaultColorToken = {
|
|
129
|
-
[N in keyof DefaultColors]: BuildDefaultTokens<N>;
|
|
130
|
-
}[keyof DefaultColors];
|
|
131
|
-
type ColorToken = DefaultColorToken | XplatColorTokenRegistry[keyof XplatColorTokenRegistry];
|
|
132
|
-
interface ColorProps {
|
|
133
|
-
/** "xplat-blue-500" 형태로 지정 (자동완성 지원) */
|
|
134
|
-
color?: ColorToken;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export { type ColorToken as C, type ColorProps as a, colors as c };
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 색상 토큰 설정 (세팅값만).
|
|
3
|
-
* generate-theme 으로 styles/colors.scss 갱신.
|
|
4
|
-
* 타입은 tokens/interface/colors.ts 또는 src/tokens 에서 export.
|
|
5
|
-
*/
|
|
6
|
-
declare const colors: {
|
|
7
|
-
readonly xplat: {
|
|
8
|
-
readonly red: {
|
|
9
|
-
readonly 50: "#FFF0F0";
|
|
10
|
-
readonly 100: "#FFDDDE";
|
|
11
|
-
readonly 200: "#FFC1C2";
|
|
12
|
-
readonly 300: "#FF9698";
|
|
13
|
-
readonly 400: "#FF5A5D";
|
|
14
|
-
readonly 500: "#FF272B";
|
|
15
|
-
readonly 600: "#F80409";
|
|
16
|
-
readonly 700: "#D40105";
|
|
17
|
-
readonly 800: "#AE0609";
|
|
18
|
-
readonly 900: "#900C0F";
|
|
19
|
-
};
|
|
20
|
-
readonly green: {
|
|
21
|
-
readonly 50: "#E5F6EA";
|
|
22
|
-
readonly 100: "#C1E7CC";
|
|
23
|
-
readonly 200: "#98D8AC";
|
|
24
|
-
readonly 300: "#6CCA8B";
|
|
25
|
-
readonly 400: "#47BE72";
|
|
26
|
-
readonly 500: "#10B259";
|
|
27
|
-
readonly 600: "#00A34F";
|
|
28
|
-
readonly 700: "#009143";
|
|
29
|
-
readonly 800: "#007F38";
|
|
30
|
-
readonly 900: "#006024";
|
|
31
|
-
};
|
|
32
|
-
readonly orange: {
|
|
33
|
-
readonly 50: "#FFF8EC";
|
|
34
|
-
readonly 100: "#FFF0D3";
|
|
35
|
-
readonly 200: "#FFDDA5";
|
|
36
|
-
readonly 300: "#FFC46D";
|
|
37
|
-
readonly 400: "#FF9F32";
|
|
38
|
-
readonly 500: "#FF820A";
|
|
39
|
-
readonly 600: "#FF6900";
|
|
40
|
-
readonly 700: "#CC4B02";
|
|
41
|
-
readonly 800: "#A13A0B";
|
|
42
|
-
readonly 900: "#82320C";
|
|
43
|
-
};
|
|
44
|
-
readonly yellow: {
|
|
45
|
-
readonly 50: "#FFFDE7";
|
|
46
|
-
readonly 100: "#FFFAC1";
|
|
47
|
-
readonly 200: "#FFF186";
|
|
48
|
-
readonly 300: "#FFE041";
|
|
49
|
-
readonly 400: "#FFCC0D";
|
|
50
|
-
readonly 500: "#F0B100";
|
|
51
|
-
readonly 600: "#D18800";
|
|
52
|
-
readonly 700: "#A66002";
|
|
53
|
-
readonly 800: "#894B0A";
|
|
54
|
-
readonly 900: "#743D0F";
|
|
55
|
-
};
|
|
56
|
-
readonly blue: {
|
|
57
|
-
readonly 50: "#F1F4FD";
|
|
58
|
-
readonly 100: "#DFE7FA";
|
|
59
|
-
readonly 200: "#C5D4F8";
|
|
60
|
-
readonly 300: "#9EB8F2";
|
|
61
|
-
readonly 400: "#7093EA";
|
|
62
|
-
readonly 500: "#4D6DE3";
|
|
63
|
-
readonly 600: "#3950D7";
|
|
64
|
-
readonly 700: "#303EC5";
|
|
65
|
-
readonly 800: "#2D35A0";
|
|
66
|
-
readonly 900: "#29317F";
|
|
67
|
-
};
|
|
68
|
-
readonly lightblue: {
|
|
69
|
-
readonly 50: "#EEFAFF";
|
|
70
|
-
readonly 100: "#D9F4FF";
|
|
71
|
-
readonly 200: "#BBEDFF";
|
|
72
|
-
readonly 300: "#8DE3FF";
|
|
73
|
-
readonly 400: "#57D0FF";
|
|
74
|
-
readonly 500: "#30B6FF";
|
|
75
|
-
readonly 600: "#1999F7";
|
|
76
|
-
readonly 700: "#1280E3";
|
|
77
|
-
readonly 800: "#1566B8";
|
|
78
|
-
readonly 900: "#175791";
|
|
79
|
-
};
|
|
80
|
-
readonly purple: {
|
|
81
|
-
readonly 50: "#FBF6FE";
|
|
82
|
-
readonly 100: "#F5EAFD";
|
|
83
|
-
readonly 200: "#EDD8FC";
|
|
84
|
-
readonly 300: "#E0BAF8";
|
|
85
|
-
readonly 400: "#CD8DF3";
|
|
86
|
-
readonly 500: "#B961EB";
|
|
87
|
-
readonly 600: "#A541DC";
|
|
88
|
-
readonly 700: "#9230C5";
|
|
89
|
-
readonly 800: "#782B9E";
|
|
90
|
-
readonly 900: "#62247F";
|
|
91
|
-
};
|
|
92
|
-
readonly pink: {
|
|
93
|
-
readonly 50: "#FFF4FE";
|
|
94
|
-
readonly 100: "#FFE7FD";
|
|
95
|
-
readonly 200: "#FFCFFA";
|
|
96
|
-
readonly 300: "#FEA9F1";
|
|
97
|
-
readonly 400: "#FD75E7";
|
|
98
|
-
readonly 500: "#F553DA";
|
|
99
|
-
readonly 600: "#D821B6";
|
|
100
|
-
readonly 700: "#B31892";
|
|
101
|
-
readonly 800: "#921676";
|
|
102
|
-
readonly 900: "#781761";
|
|
103
|
-
};
|
|
104
|
-
readonly neutral: {
|
|
105
|
-
readonly 50: "#FAFAFA";
|
|
106
|
-
readonly 100: "#F5F5F5";
|
|
107
|
-
readonly 200: "#E5E5E5";
|
|
108
|
-
readonly 300: "#D4D4D4";
|
|
109
|
-
readonly 400: "#A1A1A1";
|
|
110
|
-
readonly 500: "#737373";
|
|
111
|
-
readonly 600: "#525252";
|
|
112
|
-
readonly 700: "#404040";
|
|
113
|
-
readonly 800: "#262626";
|
|
114
|
-
readonly 900: "#171717";
|
|
115
|
-
};
|
|
116
|
-
readonly black: "#000000";
|
|
117
|
-
readonly white: "#FFFFFF";
|
|
118
|
-
};
|
|
119
|
-
readonly test: {
|
|
120
|
-
readonly default: "#ffffff";
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
type DefaultColors = typeof colors;
|
|
125
|
-
type BuildDefaultTokens<N extends keyof DefaultColors> = {
|
|
126
|
-
[C in keyof DefaultColors[N]]: DefaultColors[N][C] extends string ? `${N & string}-${C & string}` : `${N & string}-${C & string}-${keyof DefaultColors[N][C] & (string | number)}`;
|
|
127
|
-
}[keyof DefaultColors[N]];
|
|
128
|
-
type DefaultColorToken = {
|
|
129
|
-
[N in keyof DefaultColors]: BuildDefaultTokens<N>;
|
|
130
|
-
}[keyof DefaultColors];
|
|
131
|
-
type ColorToken = DefaultColorToken | XplatColorTokenRegistry[keyof XplatColorTokenRegistry];
|
|
132
|
-
interface ColorProps {
|
|
133
|
-
/** "xplat-blue-500" 형태로 지정 (자동완성 지원) */
|
|
134
|
-
color?: ColorToken;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export { type ColorToken as C, type ColorProps as a, colors as c };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/layout/Grid/GapGrid/index.tsx
|
|
21
|
-
var GapGrid_exports = {};
|
|
22
|
-
__export(GapGrid_exports, {
|
|
23
|
-
default: () => GapGrid_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(GapGrid_exports);
|
|
26
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
27
|
-
var GapGrid = (props) => {
|
|
28
|
-
const { children } = props;
|
|
29
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children });
|
|
30
|
-
};
|
|
31
|
-
GapGrid.displayName = "GapGrid";
|
|
32
|
-
var GapGrid_default = GapGrid;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface CenterGridProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const GapGrid: {
|
|
8
|
-
(props: CenterGridProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export { GapGrid as default };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface CenterGridProps {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
declare const GapGrid: {
|
|
8
|
-
(props: CenterGridProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export { GapGrid as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// src/layout/Grid/GapGrid/index.tsx
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
var GapGrid = (props) => {
|
|
4
|
-
const { children } = props;
|
|
5
|
-
return /* @__PURE__ */ jsx("div", { children });
|
|
6
|
-
};
|
|
7
|
-
GapGrid.displayName = "GapGrid";
|
|
8
|
-
var GapGrid_default = GapGrid;
|
|
9
|
-
export {
|
|
10
|
-
GapGrid_default as default
|
|
11
|
-
};
|