@x-plat/design-system 0.1.5 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{colors-BG91q_uV.d.cts → colors-DmMsWD7G.d.cts} +20 -4
- package/dist/{colors-BG91q_uV.d.ts → colors-DmMsWD7G.d.ts} +20 -4
- package/dist/components/Accordion/index.cjs +25 -14
- package/dist/components/Accordion/index.css +6 -6
- package/dist/components/Accordion/index.d.cts +16 -3
- package/dist/components/Accordion/index.d.ts +16 -3
- package/dist/components/Accordion/index.js +25 -14
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.css +16 -16
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Avatar/index.cjs +1 -1
- package/dist/components/Avatar/index.css +3 -279
- package/dist/components/Avatar/index.d.cts +2 -118
- package/dist/components/Avatar/index.d.ts +2 -118
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.cjs +3 -2
- package/dist/components/Badge/index.css +23 -279
- package/dist/components/Badge/index.d.cts +4 -118
- package/dist/components/Badge/index.d.ts +4 -118
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Breadcrumb/index.cjs +1 -1
- package/dist/components/Breadcrumb/index.css +4 -4
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/Button/index.cjs +3 -2
- package/dist/components/Button/index.css +26 -1214
- package/dist/components/Button/index.d.cts +4 -118
- package/dist/components/Button/index.d.ts +4 -118
- package/dist/components/Button/index.js +3 -2
- package/dist/components/Card/index.cjs +1 -1
- package/dist/components/Card/index.css +3 -3
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CardTab/index.cjs +124 -0
- package/dist/components/CardTab/index.css +78 -0
- package/dist/components/CardTab/index.d.cts +44 -0
- package/dist/components/CardTab/index.d.ts +44 -0
- package/dist/components/CardTab/index.js +87 -0
- package/dist/components/Chart/index.cjs +14230 -37
- package/dist/components/Chart/index.js +14217 -33
- package/dist/components/CheckBox/index.cjs +3 -2
- package/dist/components/CheckBox/index.css +27 -563
- package/dist/components/CheckBox/index.d.cts +5 -119
- package/dist/components/CheckBox/index.d.ts +5 -119
- package/dist/components/CheckBox/index.js +3 -2
- package/dist/components/Chip/index.cjs +3 -2
- package/dist/components/Chip/index.css +21 -1209
- package/dist/components/Chip/index.d.cts +4 -118
- package/dist/components/Chip/index.d.ts +4 -118
- package/dist/components/Chip/index.js +3 -2
- package/dist/components/DatePicker/index.cjs +10772 -56
- package/dist/components/DatePicker/index.css +802 -1231
- package/dist/components/DatePicker/index.d.cts +3 -235
- package/dist/components/DatePicker/index.d.ts +3 -235
- package/dist/components/DatePicker/index.js +11004 -280
- package/dist/components/Divider/index.cjs +1 -1
- package/dist/components/Divider/index.css +2 -2
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Drawer/index.cjs +1 -1
- package/dist/components/Drawer/index.css +5 -5
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +1 -1
- package/dist/components/Dropdown/index.css +7 -7
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/EmptyState/index.cjs +1 -1
- package/dist/components/EmptyState/index.css +3 -3
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/FileUpload/index.cjs +1 -1
- package/dist/components/FileUpload/index.css +8 -8
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/HtmlTypeWriter/index.css +1 -1
- package/dist/components/ImageSelector/index.css +9 -9
- package/dist/components/Input/index.cjs +3 -2
- package/dist/components/Input/index.css +21 -10
- package/dist/components/Input/index.d.cts +6 -2
- package/dist/components/Input/index.d.ts +6 -2
- package/dist/components/Input/index.js +3 -2
- package/dist/components/Modal/index.cjs +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Pagination/index.cjs +3 -2
- package/dist/components/Pagination/index.css +33 -283
- package/dist/components/Pagination/index.d.cts +4 -118
- package/dist/components/Pagination/index.d.ts +4 -118
- package/dist/components/Pagination/index.js +3 -2
- package/dist/components/PopOver/index.cjs +1 -1
- package/dist/components/PopOver/index.js +1 -1
- package/dist/components/Progress/index.cjs +1 -1
- package/dist/components/Progress/index.css +3 -281
- package/dist/components/Progress/index.d.cts +2 -118
- package/dist/components/Progress/index.d.ts +2 -118
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/Radio/index.cjs +4 -1
- package/dist/components/Radio/index.css +36 -747
- package/dist/components/Radio/index.d.cts +6 -119
- package/dist/components/Radio/index.d.ts +6 -119
- package/dist/components/Radio/index.js +4 -1
- package/dist/components/Select/index.cjs +4 -2
- package/dist/components/Select/index.css +38 -18
- package/dist/components/Select/index.d.cts +3 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.js +4 -2
- package/dist/components/Skeleton/index.cjs +1 -1
- package/dist/components/Skeleton/index.css +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Spinner/index.cjs +1 -1
- package/dist/components/Spinner/index.css +2 -280
- package/dist/components/Spinner/index.d.cts +2 -118
- package/dist/components/Spinner/index.d.ts +2 -118
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/Steps/index.cjs +1 -1
- package/dist/components/Steps/index.css +14 -846
- package/dist/components/Steps/index.d.cts +2 -118
- package/dist/components/Steps/index.d.ts +2 -118
- package/dist/components/Steps/index.js +1 -1
- package/dist/components/Swiper/index.cjs +5874 -18
- package/dist/components/Swiper/index.css +229 -0
- package/dist/components/Swiper/index.js +5863 -17
- package/dist/components/Switch/index.cjs +1 -1
- package/dist/components/Switch/index.css +9 -745
- package/dist/components/Switch/index.d.cts +2 -118
- package/dist/components/Switch/index.d.ts +2 -118
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Tab/index.cjs +3 -3
- package/dist/components/Tab/index.css +20 -9
- package/dist/components/Tab/index.d.cts +2 -0
- package/dist/components/Tab/index.d.ts +2 -0
- package/dist/components/Tab/index.js +3 -3
- package/dist/components/Table/index.cjs +1 -1
- package/dist/components/Table/index.css +47 -4003
- package/dist/components/Table/index.d.cts +2 -118
- package/dist/components/Table/index.d.ts +2 -118
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tag/index.cjs +3 -2
- package/dist/components/Tag/index.css +27 -467
- package/dist/components/Tag/index.d.cts +4 -118
- package/dist/components/Tag/index.d.ts +4 -118
- package/dist/components/Tag/index.js +3 -2
- package/dist/components/TextArea/index.cjs +1 -1
- package/dist/components/TextArea/index.css +4 -4
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/Toast/index.cjs +1 -1
- package/dist/components/Toast/index.css +8 -8
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Tooltip/index.cjs +1 -1
- package/dist/components/Tooltip/index.css +4 -560
- package/dist/components/Tooltip/index.d.cts +2 -118
- package/dist/components/Tooltip/index.d.ts +2 -118
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Video/index.cjs +1 -1
- package/dist/components/Video/index.css +3 -3
- package/dist/components/Video/index.js +1 -1
- package/dist/components/index.cjs +25841 -842
- package/dist/components/index.css +1929 -12543
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +25836 -841
- package/dist/index.cjs +25875 -876
- package/dist/index.css +2358 -12598
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +25878 -883
- package/dist/layout/Grid/FullGrid/index.cjs +1 -1
- package/dist/layout/Grid/FullGrid/index.js +1 -1
- package/dist/layout/Grid/FullScreen/index.cjs +1 -1
- package/dist/layout/Grid/FullScreen/index.js +1 -1
- package/dist/layout/Grid/Item/index.cjs +1 -1
- package/dist/layout/Grid/Item/index.js +1 -1
- package/dist/layout/Grid/index.cjs +1 -1
- package/dist/layout/Grid/index.js +1 -1
- package/dist/layout/Header/index.css +2 -2
- package/dist/layout/Layout/index.css +1 -1
- package/dist/layout/SideBar/index.cjs +1 -1
- package/dist/layout/SideBar/index.js +1 -1
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.css +3 -3
- package/dist/layout/index.js +1 -1
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/package.json +13 -12
- package/README.md +0 -123
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.cjs';
|
|
4
4
|
|
|
5
5
|
interface TableProps {
|
|
6
6
|
className?: string;
|
|
@@ -51,123 +51,7 @@ interface TableRowProps<N extends ColorNamespace, C extends ColorName<N> = Color
|
|
|
51
51
|
onClick?: (e: React.MouseEvent<HTMLTableRowElement>) => void;
|
|
52
52
|
}
|
|
53
53
|
declare const TableRow: {
|
|
54
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
55
|
-
readonly xplat: {
|
|
56
|
-
readonly red: {
|
|
57
|
-
readonly 50: "#FFF0F0";
|
|
58
|
-
readonly 100: "#FFDDDE";
|
|
59
|
-
readonly 200: "#FFC1C2";
|
|
60
|
-
readonly 300: "#FF9698";
|
|
61
|
-
readonly 400: "#FF5A5D";
|
|
62
|
-
readonly 500: "#FF272B";
|
|
63
|
-
readonly 600: "#F80409";
|
|
64
|
-
readonly 700: "#D40105";
|
|
65
|
-
readonly 800: "#AE0609";
|
|
66
|
-
readonly 900: "#900C0F";
|
|
67
|
-
};
|
|
68
|
-
readonly green: {
|
|
69
|
-
readonly 50: "#E5F6EA";
|
|
70
|
-
readonly 100: "#C1E7CC";
|
|
71
|
-
readonly 200: "#98D8AC";
|
|
72
|
-
readonly 300: "#6CCA8B";
|
|
73
|
-
readonly 400: "#47BE72";
|
|
74
|
-
readonly 500: "#10B259";
|
|
75
|
-
readonly 600: "#00A34F";
|
|
76
|
-
readonly 700: "#009143";
|
|
77
|
-
readonly 800: "#007F38";
|
|
78
|
-
readonly 900: "#006024";
|
|
79
|
-
};
|
|
80
|
-
readonly orange: {
|
|
81
|
-
readonly 50: "#FFF8EC";
|
|
82
|
-
readonly 100: "#FFF0D3";
|
|
83
|
-
readonly 200: "#FFDDA5";
|
|
84
|
-
readonly 300: "#FFC46D";
|
|
85
|
-
readonly 400: "#FF9F32";
|
|
86
|
-
readonly 500: "#FF820A";
|
|
87
|
-
readonly 600: "#FF6900";
|
|
88
|
-
readonly 700: "#CC4B02";
|
|
89
|
-
readonly 800: "#A13A0B";
|
|
90
|
-
readonly 900: "#82320C";
|
|
91
|
-
};
|
|
92
|
-
readonly yellow: {
|
|
93
|
-
readonly 50: "#FFFDE7";
|
|
94
|
-
readonly 100: "#FFFAC1";
|
|
95
|
-
readonly 200: "#FFF186";
|
|
96
|
-
readonly 300: "#FFE041";
|
|
97
|
-
readonly 400: "#FFCC0D";
|
|
98
|
-
readonly 500: "#F0B100";
|
|
99
|
-
readonly 600: "#D18800";
|
|
100
|
-
readonly 700: "#A66002";
|
|
101
|
-
readonly 800: "#894B0A";
|
|
102
|
-
readonly 900: "#743D0F";
|
|
103
|
-
};
|
|
104
|
-
readonly blue: {
|
|
105
|
-
readonly 50: "#F1F4FD";
|
|
106
|
-
readonly 100: "#DFE7FA";
|
|
107
|
-
readonly 200: "#C5D4F8";
|
|
108
|
-
readonly 300: "#9EB8F2";
|
|
109
|
-
readonly 400: "#7093EA";
|
|
110
|
-
readonly 500: "#4D6DE3";
|
|
111
|
-
readonly 600: "#3950D7";
|
|
112
|
-
readonly 700: "#303EC5";
|
|
113
|
-
readonly 800: "#2D35A0";
|
|
114
|
-
readonly 900: "#29317F";
|
|
115
|
-
};
|
|
116
|
-
readonly lightblue: {
|
|
117
|
-
readonly 50: "#EEFAFF";
|
|
118
|
-
readonly 100: "#D9F4FF";
|
|
119
|
-
readonly 200: "#BBEDFF";
|
|
120
|
-
readonly 300: "#8DE3FF";
|
|
121
|
-
readonly 400: "#57D0FF";
|
|
122
|
-
readonly 500: "#30B6FF";
|
|
123
|
-
readonly 600: "#1999F7";
|
|
124
|
-
readonly 700: "#1280E3";
|
|
125
|
-
readonly 800: "#1566B8";
|
|
126
|
-
readonly 900: "#175791";
|
|
127
|
-
};
|
|
128
|
-
readonly purple: {
|
|
129
|
-
readonly 50: "#FBF6FE";
|
|
130
|
-
readonly 100: "#F5EAFD";
|
|
131
|
-
readonly 200: "#EDD8FC";
|
|
132
|
-
readonly 300: "#E0BAF8";
|
|
133
|
-
readonly 400: "#CD8DF3";
|
|
134
|
-
readonly 500: "#B961EB";
|
|
135
|
-
readonly 600: "#A541DC";
|
|
136
|
-
readonly 700: "#9230C5";
|
|
137
|
-
readonly 800: "#782B9E";
|
|
138
|
-
readonly 900: "#62247F";
|
|
139
|
-
};
|
|
140
|
-
readonly pink: {
|
|
141
|
-
readonly 50: "#FFF4FE";
|
|
142
|
-
readonly 100: "#FFE7FD";
|
|
143
|
-
readonly 200: "#FFCFFA";
|
|
144
|
-
readonly 300: "#FEA9F1";
|
|
145
|
-
readonly 400: "#FD75E7";
|
|
146
|
-
readonly 500: "#F553DA";
|
|
147
|
-
readonly 600: "#D821B6";
|
|
148
|
-
readonly 700: "#B31892";
|
|
149
|
-
readonly 800: "#921676";
|
|
150
|
-
readonly 900: "#781761";
|
|
151
|
-
};
|
|
152
|
-
readonly neutral: {
|
|
153
|
-
readonly 50: "#FAFAFA";
|
|
154
|
-
readonly 100: "#F5F5F5";
|
|
155
|
-
readonly 200: "#E5E5E5";
|
|
156
|
-
readonly 300: "#D4D4D4";
|
|
157
|
-
readonly 400: "#A1A1A1";
|
|
158
|
-
readonly 500: "#737373";
|
|
159
|
-
readonly 600: "#525252";
|
|
160
|
-
readonly 700: "#404040";
|
|
161
|
-
readonly 800: "#262626";
|
|
162
|
-
readonly 900: "#171717";
|
|
163
|
-
};
|
|
164
|
-
readonly black: "#000000";
|
|
165
|
-
readonly white: "#FFFFFF";
|
|
166
|
-
};
|
|
167
|
-
readonly test: {
|
|
168
|
-
readonly default: "#ffffff";
|
|
169
|
-
};
|
|
170
|
-
}[N]>(props: TableRowProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
54
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: TableRowProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
171
55
|
displayName: string;
|
|
172
56
|
};
|
|
173
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { a as ColorNamespace, b as ColorName, e as ColorProps } from '../../colors-DmMsWD7G.js';
|
|
4
4
|
|
|
5
5
|
interface TableProps {
|
|
6
6
|
className?: string;
|
|
@@ -51,123 +51,7 @@ interface TableRowProps<N extends ColorNamespace, C extends ColorName<N> = Color
|
|
|
51
51
|
onClick?: (e: React.MouseEvent<HTMLTableRowElement>) => void;
|
|
52
52
|
}
|
|
53
53
|
declare const TableRow: {
|
|
54
|
-
<N extends ColorNamespace = "xplat", C extends ColorName<N> =
|
|
55
|
-
readonly xplat: {
|
|
56
|
-
readonly red: {
|
|
57
|
-
readonly 50: "#FFF0F0";
|
|
58
|
-
readonly 100: "#FFDDDE";
|
|
59
|
-
readonly 200: "#FFC1C2";
|
|
60
|
-
readonly 300: "#FF9698";
|
|
61
|
-
readonly 400: "#FF5A5D";
|
|
62
|
-
readonly 500: "#FF272B";
|
|
63
|
-
readonly 600: "#F80409";
|
|
64
|
-
readonly 700: "#D40105";
|
|
65
|
-
readonly 800: "#AE0609";
|
|
66
|
-
readonly 900: "#900C0F";
|
|
67
|
-
};
|
|
68
|
-
readonly green: {
|
|
69
|
-
readonly 50: "#E5F6EA";
|
|
70
|
-
readonly 100: "#C1E7CC";
|
|
71
|
-
readonly 200: "#98D8AC";
|
|
72
|
-
readonly 300: "#6CCA8B";
|
|
73
|
-
readonly 400: "#47BE72";
|
|
74
|
-
readonly 500: "#10B259";
|
|
75
|
-
readonly 600: "#00A34F";
|
|
76
|
-
readonly 700: "#009143";
|
|
77
|
-
readonly 800: "#007F38";
|
|
78
|
-
readonly 900: "#006024";
|
|
79
|
-
};
|
|
80
|
-
readonly orange: {
|
|
81
|
-
readonly 50: "#FFF8EC";
|
|
82
|
-
readonly 100: "#FFF0D3";
|
|
83
|
-
readonly 200: "#FFDDA5";
|
|
84
|
-
readonly 300: "#FFC46D";
|
|
85
|
-
readonly 400: "#FF9F32";
|
|
86
|
-
readonly 500: "#FF820A";
|
|
87
|
-
readonly 600: "#FF6900";
|
|
88
|
-
readonly 700: "#CC4B02";
|
|
89
|
-
readonly 800: "#A13A0B";
|
|
90
|
-
readonly 900: "#82320C";
|
|
91
|
-
};
|
|
92
|
-
readonly yellow: {
|
|
93
|
-
readonly 50: "#FFFDE7";
|
|
94
|
-
readonly 100: "#FFFAC1";
|
|
95
|
-
readonly 200: "#FFF186";
|
|
96
|
-
readonly 300: "#FFE041";
|
|
97
|
-
readonly 400: "#FFCC0D";
|
|
98
|
-
readonly 500: "#F0B100";
|
|
99
|
-
readonly 600: "#D18800";
|
|
100
|
-
readonly 700: "#A66002";
|
|
101
|
-
readonly 800: "#894B0A";
|
|
102
|
-
readonly 900: "#743D0F";
|
|
103
|
-
};
|
|
104
|
-
readonly blue: {
|
|
105
|
-
readonly 50: "#F1F4FD";
|
|
106
|
-
readonly 100: "#DFE7FA";
|
|
107
|
-
readonly 200: "#C5D4F8";
|
|
108
|
-
readonly 300: "#9EB8F2";
|
|
109
|
-
readonly 400: "#7093EA";
|
|
110
|
-
readonly 500: "#4D6DE3";
|
|
111
|
-
readonly 600: "#3950D7";
|
|
112
|
-
readonly 700: "#303EC5";
|
|
113
|
-
readonly 800: "#2D35A0";
|
|
114
|
-
readonly 900: "#29317F";
|
|
115
|
-
};
|
|
116
|
-
readonly lightblue: {
|
|
117
|
-
readonly 50: "#EEFAFF";
|
|
118
|
-
readonly 100: "#D9F4FF";
|
|
119
|
-
readonly 200: "#BBEDFF";
|
|
120
|
-
readonly 300: "#8DE3FF";
|
|
121
|
-
readonly 400: "#57D0FF";
|
|
122
|
-
readonly 500: "#30B6FF";
|
|
123
|
-
readonly 600: "#1999F7";
|
|
124
|
-
readonly 700: "#1280E3";
|
|
125
|
-
readonly 800: "#1566B8";
|
|
126
|
-
readonly 900: "#175791";
|
|
127
|
-
};
|
|
128
|
-
readonly purple: {
|
|
129
|
-
readonly 50: "#FBF6FE";
|
|
130
|
-
readonly 100: "#F5EAFD";
|
|
131
|
-
readonly 200: "#EDD8FC";
|
|
132
|
-
readonly 300: "#E0BAF8";
|
|
133
|
-
readonly 400: "#CD8DF3";
|
|
134
|
-
readonly 500: "#B961EB";
|
|
135
|
-
readonly 600: "#A541DC";
|
|
136
|
-
readonly 700: "#9230C5";
|
|
137
|
-
readonly 800: "#782B9E";
|
|
138
|
-
readonly 900: "#62247F";
|
|
139
|
-
};
|
|
140
|
-
readonly pink: {
|
|
141
|
-
readonly 50: "#FFF4FE";
|
|
142
|
-
readonly 100: "#FFE7FD";
|
|
143
|
-
readonly 200: "#FFCFFA";
|
|
144
|
-
readonly 300: "#FEA9F1";
|
|
145
|
-
readonly 400: "#FD75E7";
|
|
146
|
-
readonly 500: "#F553DA";
|
|
147
|
-
readonly 600: "#D821B6";
|
|
148
|
-
readonly 700: "#B31892";
|
|
149
|
-
readonly 800: "#921676";
|
|
150
|
-
readonly 900: "#781761";
|
|
151
|
-
};
|
|
152
|
-
readonly neutral: {
|
|
153
|
-
readonly 50: "#FAFAFA";
|
|
154
|
-
readonly 100: "#F5F5F5";
|
|
155
|
-
readonly 200: "#E5E5E5";
|
|
156
|
-
readonly 300: "#D4D4D4";
|
|
157
|
-
readonly 400: "#A1A1A1";
|
|
158
|
-
readonly 500: "#737373";
|
|
159
|
-
readonly 600: "#525252";
|
|
160
|
-
readonly 700: "#404040";
|
|
161
|
-
readonly 800: "#262626";
|
|
162
|
-
readonly 900: "#171717";
|
|
163
|
-
};
|
|
164
|
-
readonly black: "#000000";
|
|
165
|
-
readonly white: "#FFFFFF";
|
|
166
|
-
};
|
|
167
|
-
readonly test: {
|
|
168
|
-
readonly default: "#ffffff";
|
|
169
|
-
};
|
|
170
|
-
}[N]>(props: TableRowProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
54
|
+
<N extends ColorNamespace = "xplat", C extends ColorName<N> = ColorName<N>>(props: TableRowProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
171
55
|
displayName: string;
|
|
172
56
|
};
|
|
173
57
|
|
|
@@ -1045,7 +1045,7 @@ var import_jsx_runtime293 = require("react/jsx-runtime");
|
|
|
1045
1045
|
// src/tokens/svg/validation/SuccessIcon.tsx
|
|
1046
1046
|
var import_jsx_runtime294 = require("react/jsx-runtime");
|
|
1047
1047
|
|
|
1048
|
-
// node_modules/clsx/dist/clsx.mjs
|
|
1048
|
+
// ../../node_modules/clsx/dist/clsx.mjs
|
|
1049
1049
|
function r(e) {
|
|
1050
1050
|
var t, f, n = "";
|
|
1051
1051
|
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
@@ -1067,6 +1067,7 @@ var Tag = (props) => {
|
|
|
1067
1067
|
const {
|
|
1068
1068
|
children,
|
|
1069
1069
|
onClose,
|
|
1070
|
+
size = "md",
|
|
1070
1071
|
colorNamespace = "xplat",
|
|
1071
1072
|
color = "neutral",
|
|
1072
1073
|
colorDepth,
|
|
@@ -1077,7 +1078,7 @@ var Tag = (props) => {
|
|
|
1077
1078
|
color,
|
|
1078
1079
|
colorDepth ?? 500
|
|
1079
1080
|
);
|
|
1080
|
-
return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)("span", { className: clsx_default("lib-xplat-tag", colorClass, className), children: [
|
|
1081
|
+
return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)("span", { className: clsx_default("lib-xplat-tag", size, colorClass, className), children: [
|
|
1081
1082
|
/* @__PURE__ */ (0, import_jsx_runtime295.jsx)("span", { className: "tag-label", children }),
|
|
1082
1083
|
onClose && /* @__PURE__ */ (0, import_jsx_runtime295.jsx)("button", { className: "tag-close", onClick: onClose, "aria-label": "\uC0AD\uC81C", children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(XIcon_default, {}) })
|
|
1083
1084
|
] });
|