@deepnoid/ui 0.1.223 → 1.0.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/.turbo/turbo-build.log +266 -251
- package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
- package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
- package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
- package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
- package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
- package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
- package/dist/chunk-63JRWMWN.mjs +215 -0
- package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
- package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
- package/dist/chunk-A6UUVHC6.mjs +38 -0
- package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
- package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
- package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
- package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
- package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
- package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
- package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
- package/dist/chunk-E4VJDQD5.mjs +142 -0
- package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
- package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
- package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
- package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
- package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
- package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
- package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
- package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
- package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
- package/dist/chunk-MV2WCFK7.mjs +1 -0
- package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
- package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
- package/dist/chunk-OK34FKBQ.mjs +224 -0
- package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
- package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
- package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
- package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
- package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
- package/dist/chunk-RFHWRBAB.mjs +105 -0
- package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
- package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
- package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
- package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
- package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
- package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
- package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
- package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
- package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
- package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
- package/dist/chunk-Z4NO7SMY.mjs +460 -0
- package/dist/components/accordion/accordion.js +366 -4
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.js +366 -4
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.js +366 -4
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.js +472 -44
- package/dist/components/avatar/avatar.mjs +3 -3
- package/dist/components/avatar/index.js +472 -44
- package/dist/components/avatar/index.mjs +3 -3
- package/dist/components/backdrop/backdrop.js +366 -4
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +366 -4
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +951 -74
- package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
- package/dist/components/breadcrumb/index.js +951 -74
- package/dist/components/breadcrumb/index.mjs +10 -9
- package/dist/components/button/button-group.js +366 -4
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.d.mts +82 -119
- package/dist/components/button/button.d.ts +82 -119
- package/dist/components/button/button.js +966 -355
- package/dist/components/button/button.mjs +6 -5
- package/dist/components/button/button.style.d.mts +89 -0
- package/dist/components/button/button.style.d.ts +89 -0
- package/dist/components/button/button.style.js +1172 -0
- package/dist/components/button/button.style.mjs +9 -0
- package/dist/components/button/icon-button.d.mts +45 -46
- package/dist/components/button/icon-button.d.ts +45 -46
- package/dist/components/button/icon-button.js +1125 -527
- package/dist/components/button/icon-button.mjs +6 -5
- package/dist/components/button/index.js +1154 -830
- package/dist/components/button/index.mjs +9 -8
- package/dist/components/button/text-button.d.mts +59 -39
- package/dist/components/button/text-button.d.ts +59 -39
- package/dist/components/button/text-button.js +831 -21
- package/dist/components/button/text-button.mjs +3 -2
- package/dist/components/charts/areaChart.js +366 -4
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.js +366 -4
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.js +366 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +366 -4
- package/dist/components/charts/index.mjs +6 -6
- package/dist/components/charts/radarChart.js +366 -4
- package/dist/components/charts/radarChart.mjs +2 -2
- package/dist/components/charts/simpleBarChart.js +366 -4
- package/dist/components/charts/simpleBarChart.mjs +2 -2
- package/dist/components/checkbox/checkbox.js +376 -42
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +376 -42
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.d.mts +32 -0
- package/dist/components/chip/chip.d.ts +32 -0
- package/dist/components/chip/chip.js +496 -57
- package/dist/components/chip/chip.mjs +4 -4
- package/dist/components/chip/index.js +496 -57
- package/dist/components/chip/index.mjs +4 -4
- package/dist/components/drawer/drawer.js +366 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.js +366 -4
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +1014 -402
- package/dist/components/fileUpload/fileUpload.mjs +12 -11
- package/dist/components/fileUpload/index.js +1014 -402
- package/dist/components/fileUpload/index.mjs +12 -11
- package/dist/components/icon/Icon.d.mts +23 -10
- package/dist/components/icon/Icon.d.ts +23 -10
- package/dist/components/icon/Icon.js +120 -53
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +120 -53
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +5 -2
- package/dist/components/icon/template.d.ts +5 -2
- package/dist/components/icon/template.js +106 -40
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +511 -82
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +511 -82
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/list/index.js +486 -57
- package/dist/components/list/index.mjs +6 -6
- package/dist/components/list/list.js +366 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +486 -57
- package/dist/components/list/listItem.mjs +5 -5
- package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
- package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
- package/dist/components/modal/GlobalModalProvider.js +1028 -416
- package/dist/components/modal/GlobalModalProvider.mjs +12 -11
- package/dist/components/modal/index.d.mts +2 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +1028 -416
- package/dist/components/modal/index.mjs +13 -12
- package/dist/components/modal/modal.d.mts +101 -29
- package/dist/components/modal/modal.d.ts +101 -29
- package/dist/components/modal/modal.js +1028 -416
- package/dist/components/modal/modal.mjs +11 -10
- package/dist/components/modal/useGlobalModal.d.mts +2 -0
- package/dist/components/modal/useGlobalModal.d.ts +2 -0
- package/dist/components/modal/useGlobalModal.mjs +13 -12
- package/dist/components/pagination/index.js +598 -212
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +598 -212
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/picker/datePicker.js +1029 -705
- package/dist/components/picker/datePicker.mjs +12 -11
- package/dist/components/picker/day.js +366 -4
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.js +1027 -703
- package/dist/components/picker/index.mjs +15 -14
- package/dist/components/picker/timePicker/Panel.js +831 -21
- package/dist/components/picker/timePicker/Panel.mjs +10 -9
- package/dist/components/picker/timePicker/index.js +976 -99
- package/dist/components/picker/timePicker/index.mjs +12 -11
- package/dist/components/progress/index.js +381 -18
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.d.mts +21 -18
- package/dist/components/progress/progress.d.ts +21 -18
- package/dist/components/progress/progress.js +381 -18
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +389 -41
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.d.mts +33 -48
- package/dist/components/radio/radio.d.ts +33 -48
- package/dist/components/radio/radio.js +389 -41
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +819 -221
- package/dist/components/select/index.mjs +10 -9
- package/dist/components/select/select.js +819 -221
- package/dist/components/select/select.mjs +10 -9
- package/dist/components/slider/index.d.mts +4 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/index.js +955 -0
- package/dist/components/slider/index.mjs +11 -0
- package/dist/components/slider/slider.d.mts +158 -0
- package/dist/components/slider/slider.d.ts +158 -0
- package/dist/components/slider/slider.js +949 -0
- package/dist/components/slider/slider.mjs +10 -0
- package/dist/components/starRating/index.js +486 -57
- package/dist/components/starRating/index.mjs +4 -4
- package/dist/components/starRating/starRating.js +486 -57
- package/dist/components/starRating/starRating.mjs +4 -4
- package/dist/components/switch/index.js +22 -25
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +0 -18
- package/dist/components/switch/switch.d.ts +0 -18
- package/dist/components/switch/switch.js +22 -25
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/table/definition-table.js +366 -4
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.js +366 -4
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +679 -291
- package/dist/components/table/index.mjs +10 -10
- package/dist/components/table/table-body.js +679 -291
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.js +679 -291
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.d.mts +8 -29
- package/dist/components/table/table.d.ts +8 -29
- package/dist/components/table/table.js +679 -291
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/tabs/index.js +366 -4
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +366 -4
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/textarea/index.js +67 -38
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/textarea.d.mts +21 -0
- package/dist/components/textarea/textarea.d.ts +21 -0
- package/dist/components/textarea/textarea.js +67 -38
- package/dist/components/textarea/textarea.mjs +1 -1
- package/dist/components/timePicker/calendar.js +486 -57
- package/dist/components/timePicker/calendar.mjs +3 -3
- package/dist/components/toast/index.js +486 -57
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.js +486 -57
- package/dist/components/toast/toast.mjs +4 -4
- package/dist/components/toast/use-toast.js +486 -57
- package/dist/components/toast/use-toast.mjs +5 -5
- package/dist/components/tooltip/index.js +366 -4
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +366 -4
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +486 -57
- package/dist/components/tree/index.mjs +4 -4
- package/dist/components/tree/tree.js +486 -57
- package/dist/components/tree/tree.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1705 -1281
- package/dist/index.mjs +76 -70
- package/dist/utils/tailwind-variants.js +366 -4
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AID2NLT.mjs +0 -37
- package/dist/chunk-BBRO35V3.mjs +0 -385
- package/dist/chunk-EVJ46M3U.mjs +0 -141
- package/dist/chunk-SKX5QPUD.mjs +0 -482
|
@@ -113,6 +113,352 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
113
113
|
// ../tailwind-config/src/plugin.ts
|
|
114
114
|
var import_plugin = __toESM(require_plugin());
|
|
115
115
|
|
|
116
|
+
// ../tailwind-config/src/colors/primitive-palette.ts
|
|
117
|
+
var primitivePalette = {
|
|
118
|
+
bg: {
|
|
119
|
+
"01": "#040811",
|
|
120
|
+
"02": "#040811",
|
|
121
|
+
"03": "#14161E",
|
|
122
|
+
"04": "#070414",
|
|
123
|
+
"05": "#070C12",
|
|
124
|
+
"06": "#202123"
|
|
125
|
+
},
|
|
126
|
+
gray: {
|
|
127
|
+
cool: {
|
|
128
|
+
50: "#F7F7F8",
|
|
129
|
+
100: "#EEEEF0",
|
|
130
|
+
200: "#D8D9DF",
|
|
131
|
+
300: "#B6B8C3",
|
|
132
|
+
400: "#999CA9",
|
|
133
|
+
500: "#717486",
|
|
134
|
+
600: "#5B5E6E",
|
|
135
|
+
700: "#4A4C5A",
|
|
136
|
+
800: "#40424C",
|
|
137
|
+
900: "#36373F",
|
|
138
|
+
950: "#25252C"
|
|
139
|
+
},
|
|
140
|
+
warm: {
|
|
141
|
+
50: "#F6F6F6",
|
|
142
|
+
100: "#E7E7E7",
|
|
143
|
+
200: "#D1D1D1",
|
|
144
|
+
300: "#B0B0B0",
|
|
145
|
+
400: "#888888",
|
|
146
|
+
500: "#6D6D6D",
|
|
147
|
+
600: "#5D5D5D",
|
|
148
|
+
700: "#525252",
|
|
149
|
+
800: "#454545",
|
|
150
|
+
900: "#3D3D3D",
|
|
151
|
+
950: "#25252C"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
opacity: {
|
|
155
|
+
white: {
|
|
156
|
+
"0": "#FFFFFF, 0",
|
|
157
|
+
5: "#FFFFFF, 5",
|
|
158
|
+
10: "#FFFFFF, 10",
|
|
159
|
+
20: "#FFFFFF, 20",
|
|
160
|
+
30: "#FFFFFF, 30",
|
|
161
|
+
40: "#FFFFFF, 40",
|
|
162
|
+
50: "#FFFFFF, 50",
|
|
163
|
+
60: "#FFFFFF, 60",
|
|
164
|
+
70: "#FFFFFF, 70",
|
|
165
|
+
80: "#FFFFFF, 80",
|
|
166
|
+
90: "#FFFFFF, 90"
|
|
167
|
+
},
|
|
168
|
+
black: {
|
|
169
|
+
"0": "#000000, 0",
|
|
170
|
+
5: "#000000, 5",
|
|
171
|
+
10: "#000000, 10",
|
|
172
|
+
20: "#000000, 20",
|
|
173
|
+
30: "#000000, 30",
|
|
174
|
+
40: "#000000, 40",
|
|
175
|
+
50: "#000000, 50",
|
|
176
|
+
60: "#000000, 60",
|
|
177
|
+
70: "#000000, 70",
|
|
178
|
+
80: "#000000, 80",
|
|
179
|
+
90: "#000000, 90"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
red: {
|
|
183
|
+
50: "#FEF2F2",
|
|
184
|
+
100: "#FEE9E9",
|
|
185
|
+
200: "#FCCFD2",
|
|
186
|
+
300: "#F9A8AC",
|
|
187
|
+
400: "#F57780",
|
|
188
|
+
500: "#EC4757",
|
|
189
|
+
600: "#D82640",
|
|
190
|
+
700: "#B71934",
|
|
191
|
+
800: "#991832",
|
|
192
|
+
900: "#831831",
|
|
193
|
+
950: "#831831"
|
|
194
|
+
},
|
|
195
|
+
rose: {
|
|
196
|
+
50: "#FDF4F6",
|
|
197
|
+
100: "#F9E9EC",
|
|
198
|
+
200: "#F4D8DD",
|
|
199
|
+
300: "#E9B8C2",
|
|
200
|
+
400: "#DF96A6",
|
|
201
|
+
500: "#CB6881",
|
|
202
|
+
600: "#B54969",
|
|
203
|
+
700: "#973957",
|
|
204
|
+
800: "#7F324D",
|
|
205
|
+
900: "#6A2740",
|
|
206
|
+
950: "#3C1523"
|
|
207
|
+
},
|
|
208
|
+
hotPink: {
|
|
209
|
+
50: "#FDF2F7",
|
|
210
|
+
100: "#FDE6F0",
|
|
211
|
+
200: "#FCCEE3",
|
|
212
|
+
300: "#FBA6CA",
|
|
213
|
+
400: "#F76FA6",
|
|
214
|
+
500: "#F04485",
|
|
215
|
+
600: "#E2326C",
|
|
216
|
+
700: "#C21448",
|
|
217
|
+
800: "#A1133C",
|
|
218
|
+
900: "#861535",
|
|
219
|
+
950: "#52051B"
|
|
220
|
+
},
|
|
221
|
+
sepia: {
|
|
222
|
+
50: "#FCF5F4",
|
|
223
|
+
100: "#FAE9E9",
|
|
224
|
+
200: "#F5D6D7",
|
|
225
|
+
300: "#EDB4B6",
|
|
226
|
+
400: "#E28A8F",
|
|
227
|
+
500: "#D45F69",
|
|
228
|
+
600: "#BE4051",
|
|
229
|
+
700: "#9F3142",
|
|
230
|
+
800: "#862B3C",
|
|
231
|
+
900: "#6B2433",
|
|
232
|
+
950: "#320E15"
|
|
233
|
+
},
|
|
234
|
+
orange: {
|
|
235
|
+
50: "#FEF7EE",
|
|
236
|
+
100: "#FDEDD7",
|
|
237
|
+
200: "#F9D8AF",
|
|
238
|
+
300: "#F5BB7C",
|
|
239
|
+
400: "#F09447",
|
|
240
|
+
500: "#EC7723",
|
|
241
|
+
600: "#E15F19",
|
|
242
|
+
700: "#E15F19",
|
|
243
|
+
800: "#92391A",
|
|
244
|
+
900: "#763118",
|
|
245
|
+
950: "#40160A"
|
|
246
|
+
},
|
|
247
|
+
yellow: {
|
|
248
|
+
50: "#F9F2E5",
|
|
249
|
+
100: "#F5E6BC",
|
|
250
|
+
200: "#FFE9BC",
|
|
251
|
+
300: "#FFD174",
|
|
252
|
+
400: "#F8BE4A",
|
|
253
|
+
500: "#EAAD30",
|
|
254
|
+
600: "#D77908",
|
|
255
|
+
700: "#B2550B",
|
|
256
|
+
800: "#91420F",
|
|
257
|
+
900: "#773610",
|
|
258
|
+
950: "#441B04"
|
|
259
|
+
},
|
|
260
|
+
tree: {
|
|
261
|
+
50: "#F5F3F1",
|
|
262
|
+
100: "#E5E1DC",
|
|
263
|
+
200: "#CCC5BC",
|
|
264
|
+
300: "#AFA395",
|
|
265
|
+
400: "#978878",
|
|
266
|
+
500: "#907E6F",
|
|
267
|
+
600: "#756459",
|
|
268
|
+
700: "#5F4F49",
|
|
269
|
+
800: "#524541",
|
|
270
|
+
900: "#483D3B",
|
|
271
|
+
950: "#282120"
|
|
272
|
+
},
|
|
273
|
+
brown: {
|
|
274
|
+
50: "#F6F3F0",
|
|
275
|
+
100: "#F4EDEC",
|
|
276
|
+
200: "#EBDFDD",
|
|
277
|
+
300: "#DCC9C5",
|
|
278
|
+
400: "#C6A9A3",
|
|
279
|
+
500: "#B08983",
|
|
280
|
+
600: "#A27E77",
|
|
281
|
+
700: "#7F5D56",
|
|
282
|
+
800: "#6A4F4A",
|
|
283
|
+
900: "#5B4541",
|
|
284
|
+
950: "#2C1E1C"
|
|
285
|
+
},
|
|
286
|
+
lime: {
|
|
287
|
+
50: "#F7FFE5",
|
|
288
|
+
100: "#ECFFC7",
|
|
289
|
+
200: "#D9FF95",
|
|
290
|
+
300: "#BDFE58",
|
|
291
|
+
400: "#A1F524",
|
|
292
|
+
500: "#82DC06",
|
|
293
|
+
600: "#63B000",
|
|
294
|
+
700: "#4B8506",
|
|
295
|
+
800: "#3E690B",
|
|
296
|
+
900: "#34580F",
|
|
297
|
+
950: "#193102"
|
|
298
|
+
},
|
|
299
|
+
green: {
|
|
300
|
+
50: "#E7F3EB",
|
|
301
|
+
100: "#DFF9EA",
|
|
302
|
+
200: "#CEECDA",
|
|
303
|
+
300: "#9CD4B3",
|
|
304
|
+
400: "#6EC092",
|
|
305
|
+
500: "#3FA46B",
|
|
306
|
+
600: "#209754",
|
|
307
|
+
700: "#1E7745",
|
|
308
|
+
800: "#1D5E3A",
|
|
309
|
+
900: "#194E32",
|
|
310
|
+
950: "#082B19"
|
|
311
|
+
},
|
|
312
|
+
timberGreen: {
|
|
313
|
+
50: "#F1FCF5",
|
|
314
|
+
100: "#DFF9EA",
|
|
315
|
+
200: "#B5DACD",
|
|
316
|
+
300: "#8ABFAF",
|
|
317
|
+
400: "#60A18F",
|
|
318
|
+
500: "#468675",
|
|
319
|
+
600: "#366B5F",
|
|
320
|
+
700: "#2E574D",
|
|
321
|
+
800: "#2A4641",
|
|
322
|
+
900: "#1D2F2B",
|
|
323
|
+
950: "#11221E"
|
|
324
|
+
},
|
|
325
|
+
teal: {
|
|
326
|
+
50: "#E2F1F0",
|
|
327
|
+
100: "#C9EBE8",
|
|
328
|
+
200: "#C7E8E5",
|
|
329
|
+
300: "#8AD0D0",
|
|
330
|
+
400: "#67C4C4",
|
|
331
|
+
500: "#39A6A7",
|
|
332
|
+
600: "#258386",
|
|
333
|
+
700: "#1B666A",
|
|
334
|
+
800: "#1A5255",
|
|
335
|
+
900: "#1A4447",
|
|
336
|
+
950: "#09272A"
|
|
337
|
+
},
|
|
338
|
+
lightBlue: {
|
|
339
|
+
50: "#F2F8FD",
|
|
340
|
+
100: "#E3EFFB",
|
|
341
|
+
200: "#C1E0F6",
|
|
342
|
+
300: "#8BC6EE",
|
|
343
|
+
400: "#3DA2E1",
|
|
344
|
+
500: "#258FD2",
|
|
345
|
+
600: "#1771B2",
|
|
346
|
+
700: "#145A90",
|
|
347
|
+
800: "#154D77",
|
|
348
|
+
900: "#174163",
|
|
349
|
+
950: "#062C2D"
|
|
350
|
+
},
|
|
351
|
+
sea: {
|
|
352
|
+
50: "#F4F6FC",
|
|
353
|
+
100: "#E8EDF6",
|
|
354
|
+
200: "#CBD9EB",
|
|
355
|
+
300: "#9FB9DA",
|
|
356
|
+
400: "#6A93C5",
|
|
357
|
+
500: "#446FA4",
|
|
358
|
+
600: "#375D92",
|
|
359
|
+
700: "#2D4B77",
|
|
360
|
+
800: "#294163",
|
|
361
|
+
900: "#263954",
|
|
362
|
+
950: "#1A2537"
|
|
363
|
+
},
|
|
364
|
+
blue: {
|
|
365
|
+
50: "#F0F6FE",
|
|
366
|
+
100: "#DDEAFC",
|
|
367
|
+
200: "#C2DBFB",
|
|
368
|
+
300: "#98C5F8",
|
|
369
|
+
400: "#68A7F2",
|
|
370
|
+
500: "#377CEB",
|
|
371
|
+
600: "#2F68E1",
|
|
372
|
+
700: "#2754CE",
|
|
373
|
+
800: "#20429E",
|
|
374
|
+
900: "#1C2A52",
|
|
375
|
+
950: "#061132"
|
|
376
|
+
},
|
|
377
|
+
lightPurple: {
|
|
378
|
+
50: "#F6F5FD",
|
|
379
|
+
100: "#EEEDFA",
|
|
380
|
+
200: "#DDDCFD",
|
|
381
|
+
300: "#BDB9EC",
|
|
382
|
+
400: "#AAA1E4",
|
|
383
|
+
500: "#826CE3",
|
|
384
|
+
600: "#7250D7",
|
|
385
|
+
700: "#623DC4",
|
|
386
|
+
800: "#5133A4",
|
|
387
|
+
900: "#442B87",
|
|
388
|
+
950: "#291A5B"
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
// ../tailwind-config/src/colors/semantic-palette.ts
|
|
393
|
+
var semanticPalette = {
|
|
394
|
+
primary: {
|
|
395
|
+
soft: { light: primitivePalette.blue[100], dark: primitivePalette.blue[950] },
|
|
396
|
+
light: { light: primitivePalette.blue[200], dark: primitivePalette.blue[900] },
|
|
397
|
+
main: { light: primitivePalette.blue[600], dark: primitivePalette.blue[600] },
|
|
398
|
+
dark: { light: primitivePalette.blue[800], dark: primitivePalette.blue[500] },
|
|
399
|
+
strong: { light: primitivePalette.blue[900], dark: primitivePalette.blue[200] }
|
|
400
|
+
},
|
|
401
|
+
secondary: {
|
|
402
|
+
soft: { light: primitivePalette.lightPurple[100], dark: primitivePalette.lightPurple[950] },
|
|
403
|
+
light: { light: primitivePalette.lightPurple[200], dark: primitivePalette.lightPurple[900] },
|
|
404
|
+
main: { light: primitivePalette.lightPurple[600], dark: primitivePalette.lightPurple[500] },
|
|
405
|
+
dark: { light: primitivePalette.lightPurple[800], dark: primitivePalette.lightPurple[700] },
|
|
406
|
+
strong: { light: primitivePalette.lightPurple[950], dark: primitivePalette.lightPurple[950] }
|
|
407
|
+
},
|
|
408
|
+
body: {
|
|
409
|
+
foreground: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[50] },
|
|
410
|
+
background: { light: primitivePalette.gray.cool[50], dark: primitivePalette.bg["06"] }
|
|
411
|
+
},
|
|
412
|
+
neutral: {
|
|
413
|
+
soft: { light: primitivePalette.gray.cool[100], dark: primitivePalette.gray.cool[900] },
|
|
414
|
+
light: { light: primitivePalette.gray.cool[200], dark: primitivePalette.gray.cool[700] },
|
|
415
|
+
main: { light: primitivePalette.gray.cool[400], dark: primitivePalette.gray.cool[400] },
|
|
416
|
+
dark: { light: primitivePalette.gray.cool[500], dark: primitivePalette.gray.cool[300] },
|
|
417
|
+
strong: { light: primitivePalette.gray.cool[700], dark: primitivePalette.gray.cool[200] }
|
|
418
|
+
},
|
|
419
|
+
trans: {
|
|
420
|
+
soft: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] },
|
|
421
|
+
light: { light: primitivePalette.opacity.black[10], dark: primitivePalette.opacity.white[10] },
|
|
422
|
+
main: { light: primitivePalette.opacity.black[20], dark: primitivePalette.opacity.white[20] },
|
|
423
|
+
dark: { light: primitivePalette.opacity.black[30], dark: primitivePalette.opacity.white[30] },
|
|
424
|
+
strong: { light: primitivePalette.opacity.black[60], dark: primitivePalette.opacity.black[60] }
|
|
425
|
+
},
|
|
426
|
+
common: {
|
|
427
|
+
black: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[950] },
|
|
428
|
+
white: { light: primitivePalette.gray.cool[50], dark: primitivePalette.gray.cool[50] },
|
|
429
|
+
transparent: { light: primitivePalette.opacity.white["0"], dark: primitivePalette.opacity.black["0"] },
|
|
430
|
+
hover: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] }
|
|
431
|
+
},
|
|
432
|
+
info: {
|
|
433
|
+
soft: { light: primitivePalette.teal[50], dark: primitivePalette.teal[950] },
|
|
434
|
+
light: { light: primitivePalette.teal[100], dark: primitivePalette.teal[900] },
|
|
435
|
+
main: { light: primitivePalette.teal[500], dark: primitivePalette.teal[500] },
|
|
436
|
+
dark: { light: primitivePalette.teal[600], dark: primitivePalette.teal[700] },
|
|
437
|
+
strong: { light: "", dark: "" }
|
|
438
|
+
},
|
|
439
|
+
success: {
|
|
440
|
+
soft: { light: primitivePalette.green[50], dark: primitivePalette.green[950] },
|
|
441
|
+
light: { light: primitivePalette.green[200], dark: primitivePalette.green[900] },
|
|
442
|
+
main: { light: primitivePalette.green[500], dark: primitivePalette.green[600] },
|
|
443
|
+
dark: { light: primitivePalette.green[600], dark: primitivePalette.green[700] },
|
|
444
|
+
strong: { light: "", dark: "" }
|
|
445
|
+
},
|
|
446
|
+
warning: {
|
|
447
|
+
soft: { light: primitivePalette.yellow[50], dark: primitivePalette.yellow[950] },
|
|
448
|
+
light: { light: primitivePalette.yellow[100], dark: primitivePalette.yellow[900] },
|
|
449
|
+
main: { light: primitivePalette.yellow[500], dark: primitivePalette.yellow[600] },
|
|
450
|
+
dark: { light: primitivePalette.yellow[600], dark: primitivePalette.yellow[700] },
|
|
451
|
+
strong: { light: "", dark: "" }
|
|
452
|
+
},
|
|
453
|
+
danger: {
|
|
454
|
+
soft: { light: primitivePalette.hotPink[50], dark: primitivePalette.hotPink[950] },
|
|
455
|
+
light: { light: primitivePalette.hotPink[200], dark: primitivePalette.hotPink[900] },
|
|
456
|
+
main: { light: primitivePalette.hotPink[500], dark: primitivePalette.hotPink[500] },
|
|
457
|
+
dark: { light: primitivePalette.hotPink[600], dark: primitivePalette.hotPink[700] },
|
|
458
|
+
strong: { light: "", dark: "" }
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
|
|
116
462
|
// ../tailwind-config/src/typography/font.ts
|
|
117
463
|
var fontSize = {
|
|
118
464
|
h1: [
|
|
@@ -316,7 +662,7 @@ var boxShadow = {
|
|
|
316
662
|
"drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
|
|
317
663
|
"drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
|
|
318
664
|
"drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
|
|
319
|
-
"drop-xl": "0
|
|
665
|
+
"drop-xl": "0 0px 60px 0 rgba(0, 0, 0, 0.2)"
|
|
320
666
|
};
|
|
321
667
|
|
|
322
668
|
// ../tailwind-config/src/border/radius.ts
|
|
@@ -325,8 +671,19 @@ var borderRadius = {
|
|
|
325
671
|
md: "6px",
|
|
326
672
|
lg: "8px",
|
|
327
673
|
xl: "10px",
|
|
674
|
+
"2xl": "20px",
|
|
328
675
|
none: "0",
|
|
329
|
-
full: "9999px"
|
|
676
|
+
full: "9999px",
|
|
677
|
+
2: "2px",
|
|
678
|
+
5: "5px"
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
// ../tailwind-config/src/border/width.ts
|
|
682
|
+
var borderWidth = {
|
|
683
|
+
sm: "1px",
|
|
684
|
+
md: "1.25px",
|
|
685
|
+
lg: "1.5px",
|
|
686
|
+
xl: "1.75px"
|
|
330
687
|
};
|
|
331
688
|
|
|
332
689
|
// ../tailwind-config/src/space/gap.ts
|
|
@@ -334,7 +691,11 @@ var gap = {
|
|
|
334
691
|
sm: "4px",
|
|
335
692
|
md: "6px",
|
|
336
693
|
lg: "8px",
|
|
337
|
-
xl: "10px"
|
|
694
|
+
xl: "10px",
|
|
695
|
+
5: "5px",
|
|
696
|
+
10: "10px",
|
|
697
|
+
20: "20px",
|
|
698
|
+
30: "30px"
|
|
338
699
|
};
|
|
339
700
|
|
|
340
701
|
// src/utils/tailwind-variants.ts
|
|
@@ -349,11 +710,464 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
349
710
|
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
350
711
|
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
351
712
|
padding: [{ p: [...COMMON_SIZE] }],
|
|
352
|
-
gap: [{ gap: [...typedKeys(gap)] }]
|
|
713
|
+
gap: [{ gap: [...typedKeys(gap)] }],
|
|
714
|
+
borderWidth: [{ border: [...typedKeys(borderWidth)] }]
|
|
353
715
|
}
|
|
354
716
|
}
|
|
355
717
|
});
|
|
356
718
|
|
|
719
|
+
// src/components/button/button.style.ts
|
|
720
|
+
var buttonBaseStyle = tv({
|
|
721
|
+
slots: {
|
|
722
|
+
base: [
|
|
723
|
+
"relative",
|
|
724
|
+
"flex",
|
|
725
|
+
"items-center",
|
|
726
|
+
"justify-center",
|
|
727
|
+
"whitespace-nowrap",
|
|
728
|
+
"transition",
|
|
729
|
+
"duration-200",
|
|
730
|
+
"select-none",
|
|
731
|
+
"overflow-hidden",
|
|
732
|
+
"box-border",
|
|
733
|
+
"border",
|
|
734
|
+
"border-transparent"
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
variants: {
|
|
738
|
+
variant: {
|
|
739
|
+
solid: [],
|
|
740
|
+
soft: [],
|
|
741
|
+
outline: [],
|
|
742
|
+
ghost: []
|
|
743
|
+
},
|
|
744
|
+
color: {
|
|
745
|
+
primary: [],
|
|
746
|
+
secondary: [],
|
|
747
|
+
neutral: [],
|
|
748
|
+
info: [],
|
|
749
|
+
success: [],
|
|
750
|
+
warning: [],
|
|
751
|
+
danger: []
|
|
752
|
+
},
|
|
753
|
+
disabled: {
|
|
754
|
+
true: {
|
|
755
|
+
base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
isInGroup: {
|
|
759
|
+
true: {
|
|
760
|
+
base: [
|
|
761
|
+
"[&:not(:first-child):not(:last-child)]:rounded-none",
|
|
762
|
+
"first:rounded-r-none",
|
|
763
|
+
"last:rounded-l-none",
|
|
764
|
+
"[&:not(:first-child)]:border-l-0"
|
|
765
|
+
]
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
compoundVariants: [
|
|
770
|
+
{
|
|
771
|
+
variant: "solid",
|
|
772
|
+
color: "primary",
|
|
773
|
+
class: {
|
|
774
|
+
base: [
|
|
775
|
+
"text-white",
|
|
776
|
+
"bg-primary-main",
|
|
777
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-primary-main)]",
|
|
778
|
+
"active:bg-primary-dark"
|
|
779
|
+
]
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
variant: "solid",
|
|
784
|
+
color: "secondary",
|
|
785
|
+
class: {
|
|
786
|
+
base: [
|
|
787
|
+
"text-white",
|
|
788
|
+
"bg-secondary-main",
|
|
789
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-secondary-main)]",
|
|
790
|
+
"active:bg-secondary-dark"
|
|
791
|
+
]
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
variant: "solid",
|
|
796
|
+
color: "neutral",
|
|
797
|
+
class: {
|
|
798
|
+
base: [
|
|
799
|
+
"text-white",
|
|
800
|
+
"bg-neutral-main",
|
|
801
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-neutral-main)]",
|
|
802
|
+
"active:bg-neutral-dark"
|
|
803
|
+
]
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
variant: "solid",
|
|
808
|
+
color: "info",
|
|
809
|
+
class: {
|
|
810
|
+
base: [
|
|
811
|
+
"text-white",
|
|
812
|
+
"bg-info-main",
|
|
813
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-info-main)]",
|
|
814
|
+
"active:bg-info-dark"
|
|
815
|
+
]
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
variant: "solid",
|
|
820
|
+
color: "success",
|
|
821
|
+
class: {
|
|
822
|
+
base: [
|
|
823
|
+
"text-white",
|
|
824
|
+
"bg-success-main",
|
|
825
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-success-main)]",
|
|
826
|
+
"active:bg-success-dark"
|
|
827
|
+
]
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
variant: "solid",
|
|
832
|
+
color: "warning",
|
|
833
|
+
class: {
|
|
834
|
+
base: [
|
|
835
|
+
"text-white",
|
|
836
|
+
"bg-warning-main",
|
|
837
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-warning-main)]",
|
|
838
|
+
"active:bg-warning-dark"
|
|
839
|
+
]
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
variant: "solid",
|
|
844
|
+
color: "danger",
|
|
845
|
+
class: {
|
|
846
|
+
base: [
|
|
847
|
+
"text-white",
|
|
848
|
+
"bg-danger-main",
|
|
849
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-danger-main)]",
|
|
850
|
+
"active:bg-danger-dark"
|
|
851
|
+
]
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
// soft & color
|
|
855
|
+
{
|
|
856
|
+
variant: "soft",
|
|
857
|
+
color: "primary",
|
|
858
|
+
class: {
|
|
859
|
+
base: [
|
|
860
|
+
"text-primary-main",
|
|
861
|
+
"bg-primary-soft",
|
|
862
|
+
"border-primary-soft",
|
|
863
|
+
"hover:border-primary-light",
|
|
864
|
+
"active:bg-primary-light"
|
|
865
|
+
]
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
variant: "soft",
|
|
870
|
+
color: "secondary",
|
|
871
|
+
class: {
|
|
872
|
+
base: [
|
|
873
|
+
"text-secondary-main",
|
|
874
|
+
"bg-secondary-soft",
|
|
875
|
+
"border-secondary-soft",
|
|
876
|
+
"hover:border-secondary-light",
|
|
877
|
+
"active:bg-secondary-light"
|
|
878
|
+
]
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
variant: "soft",
|
|
883
|
+
color: "neutral",
|
|
884
|
+
class: {
|
|
885
|
+
base: [
|
|
886
|
+
"text-neutral-main",
|
|
887
|
+
"bg-neutral-soft",
|
|
888
|
+
"border-neutral-soft",
|
|
889
|
+
"hover:border-neutral-light",
|
|
890
|
+
"active:bg-neutral-light"
|
|
891
|
+
]
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
variant: "soft",
|
|
896
|
+
color: "info",
|
|
897
|
+
class: {
|
|
898
|
+
base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light", "active:bg-info-light"]
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
variant: "soft",
|
|
903
|
+
color: "success",
|
|
904
|
+
class: {
|
|
905
|
+
base: [
|
|
906
|
+
"text-success-main",
|
|
907
|
+
"bg-success-soft",
|
|
908
|
+
"border-success-soft",
|
|
909
|
+
"hover:border-success-light",
|
|
910
|
+
"active:bg-success-light"
|
|
911
|
+
]
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
variant: "soft",
|
|
916
|
+
color: "warning",
|
|
917
|
+
class: {
|
|
918
|
+
base: [
|
|
919
|
+
"text-warning-main",
|
|
920
|
+
"bg-warning-soft",
|
|
921
|
+
"border-warning-soft",
|
|
922
|
+
"hover:border-warning-light",
|
|
923
|
+
"active:bg-warning-light"
|
|
924
|
+
]
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
variant: "soft",
|
|
929
|
+
color: "danger",
|
|
930
|
+
class: {
|
|
931
|
+
base: [
|
|
932
|
+
"text-danger-main",
|
|
933
|
+
"bg-danger-soft",
|
|
934
|
+
"border-danger-soft",
|
|
935
|
+
"hover:border-danger-light",
|
|
936
|
+
"active:bg-danger-light"
|
|
937
|
+
]
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
// outline & color
|
|
941
|
+
{
|
|
942
|
+
variant: "outline",
|
|
943
|
+
color: "primary",
|
|
944
|
+
class: {
|
|
945
|
+
base: [
|
|
946
|
+
"bg-body-background",
|
|
947
|
+
"border-primary-main",
|
|
948
|
+
"text-primary-main",
|
|
949
|
+
"hover:bg-primary-soft",
|
|
950
|
+
"active:bg-primary-light"
|
|
951
|
+
]
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
variant: "outline",
|
|
956
|
+
color: "secondary",
|
|
957
|
+
class: {
|
|
958
|
+
base: [
|
|
959
|
+
"bg-body-background",
|
|
960
|
+
"border-secondary-main",
|
|
961
|
+
"text-secondary-main",
|
|
962
|
+
"hover:bg-secondary-soft",
|
|
963
|
+
"active:bg-secondary-light"
|
|
964
|
+
]
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
variant: "outline",
|
|
969
|
+
color: "neutral",
|
|
970
|
+
class: {
|
|
971
|
+
base: [
|
|
972
|
+
"bg-body-background",
|
|
973
|
+
"border-neutral-main",
|
|
974
|
+
"text-neutral-main",
|
|
975
|
+
"hover:bg-neutral-soft",
|
|
976
|
+
"active:bg-neutral-light"
|
|
977
|
+
]
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
variant: "outline",
|
|
982
|
+
color: "info",
|
|
983
|
+
class: {
|
|
984
|
+
base: [
|
|
985
|
+
"bg-body-background",
|
|
986
|
+
"border-info-main",
|
|
987
|
+
"text-info-main",
|
|
988
|
+
"hover:bg-info-soft",
|
|
989
|
+
"active:bg-info-light"
|
|
990
|
+
]
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
variant: "outline",
|
|
995
|
+
color: "success",
|
|
996
|
+
class: {
|
|
997
|
+
base: [
|
|
998
|
+
"bg-body-background",
|
|
999
|
+
"border-success-main",
|
|
1000
|
+
"text-success-main",
|
|
1001
|
+
"hover:bg-success-soft",
|
|
1002
|
+
"active:bg-success-light"
|
|
1003
|
+
]
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
variant: "outline",
|
|
1008
|
+
color: "warning",
|
|
1009
|
+
class: {
|
|
1010
|
+
base: [
|
|
1011
|
+
"bg-body-background",
|
|
1012
|
+
"border-warning-main",
|
|
1013
|
+
"text-warning-main",
|
|
1014
|
+
"hover:bg-warning-soft",
|
|
1015
|
+
"active:bg-warning-light"
|
|
1016
|
+
]
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
variant: "outline",
|
|
1021
|
+
color: "danger",
|
|
1022
|
+
class: {
|
|
1023
|
+
base: [
|
|
1024
|
+
"bg-body-background",
|
|
1025
|
+
"border-danger-main",
|
|
1026
|
+
"text-danger-main",
|
|
1027
|
+
"hover:bg-danger-soft",
|
|
1028
|
+
"active:bg-danger-light"
|
|
1029
|
+
]
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
// ghost & color
|
|
1033
|
+
{
|
|
1034
|
+
variant: "ghost",
|
|
1035
|
+
color: "primary",
|
|
1036
|
+
class: {
|
|
1037
|
+
base: [
|
|
1038
|
+
"text-primary-main",
|
|
1039
|
+
"border-transparent",
|
|
1040
|
+
"hover:bg-primary-soft",
|
|
1041
|
+
"active:bg-primary-main",
|
|
1042
|
+
"active:text-common-white"
|
|
1043
|
+
]
|
|
1044
|
+
}
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
variant: "ghost",
|
|
1048
|
+
color: "secondary",
|
|
1049
|
+
class: {
|
|
1050
|
+
base: [
|
|
1051
|
+
"text-secondary-main",
|
|
1052
|
+
"border-transparent",
|
|
1053
|
+
"hover:bg-secondary-soft",
|
|
1054
|
+
"active:bg-secondary-main",
|
|
1055
|
+
"active:text-common-white"
|
|
1056
|
+
]
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
variant: "ghost",
|
|
1061
|
+
color: "neutral",
|
|
1062
|
+
class: {
|
|
1063
|
+
base: [
|
|
1064
|
+
"text-neutral-main",
|
|
1065
|
+
"border-transparent",
|
|
1066
|
+
"hover:bg-neutral-soft",
|
|
1067
|
+
"active:bg-neutral-main",
|
|
1068
|
+
"active:text-common-white"
|
|
1069
|
+
]
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
variant: "ghost",
|
|
1074
|
+
color: "info",
|
|
1075
|
+
class: {
|
|
1076
|
+
base: [
|
|
1077
|
+
"text-info-main",
|
|
1078
|
+
"border-transparent",
|
|
1079
|
+
"hover:bg-info-soft",
|
|
1080
|
+
"active:bg-info-main",
|
|
1081
|
+
"active:text-common-white"
|
|
1082
|
+
]
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
variant: "ghost",
|
|
1087
|
+
color: "success",
|
|
1088
|
+
class: {
|
|
1089
|
+
base: [
|
|
1090
|
+
"text-success-main",
|
|
1091
|
+
"border-transparent",
|
|
1092
|
+
"hover:bg-success-soft",
|
|
1093
|
+
"active:bg-success-main",
|
|
1094
|
+
"active:text-common-white"
|
|
1095
|
+
]
|
|
1096
|
+
}
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
variant: "ghost",
|
|
1100
|
+
color: "warning",
|
|
1101
|
+
class: {
|
|
1102
|
+
base: [
|
|
1103
|
+
"text-warning-main",
|
|
1104
|
+
"border-transparent",
|
|
1105
|
+
"hover:bg-warning-soft",
|
|
1106
|
+
"active:bg-warning-main",
|
|
1107
|
+
"active:text-common-white"
|
|
1108
|
+
]
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
variant: "ghost",
|
|
1113
|
+
color: "danger",
|
|
1114
|
+
class: {
|
|
1115
|
+
base: [
|
|
1116
|
+
"text-danger-main",
|
|
1117
|
+
"border-transparent",
|
|
1118
|
+
"hover:bg-danger-soft",
|
|
1119
|
+
"active:bg-danger-main",
|
|
1120
|
+
"active:text-common-white"
|
|
1121
|
+
]
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
// variant && size
|
|
1125
|
+
{
|
|
1126
|
+
variant: ["soft", "outline"],
|
|
1127
|
+
size: "sm",
|
|
1128
|
+
class: {
|
|
1129
|
+
base: ["border-sm"]
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
variant: ["soft", "outline"],
|
|
1134
|
+
size: "md",
|
|
1135
|
+
class: {
|
|
1136
|
+
base: ["border-md"]
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
variant: ["soft", "outline"],
|
|
1141
|
+
size: "lg",
|
|
1142
|
+
class: {
|
|
1143
|
+
base: ["border-lg"]
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
variant: ["soft", "outline"],
|
|
1148
|
+
size: "xl",
|
|
1149
|
+
class: {
|
|
1150
|
+
base: ["border-xl"]
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
// variant && disabled
|
|
1154
|
+
{
|
|
1155
|
+
variant: ["soft", "ghost"],
|
|
1156
|
+
disabled: true,
|
|
1157
|
+
class: {
|
|
1158
|
+
base: ["!border-neutral-soft"]
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
variant: ["outline"],
|
|
1163
|
+
disabled: true,
|
|
1164
|
+
class: {
|
|
1165
|
+
base: ["!border-neutral-light"]
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
]
|
|
1169
|
+
});
|
|
1170
|
+
|
|
357
1171
|
// src/utils/props.ts
|
|
358
1172
|
var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
359
1173
|
if (!variantKeys) {
|
|
@@ -377,6 +1191,98 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
|
377
1191
|
// src/components/icon/template.tsx
|
|
378
1192
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
379
1193
|
var template = {
|
|
1194
|
+
left: ({ className }) => {
|
|
1195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1196
|
+
"svg",
|
|
1197
|
+
{
|
|
1198
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1199
|
+
width: "21",
|
|
1200
|
+
height: "21",
|
|
1201
|
+
viewBox: "0 0 21 21",
|
|
1202
|
+
fill: "none",
|
|
1203
|
+
className,
|
|
1204
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1205
|
+
"path",
|
|
1206
|
+
{
|
|
1207
|
+
d: "M12.8333 15.1667L8.16667 10.5L12.8333 5.83334",
|
|
1208
|
+
stroke: "currentColor",
|
|
1209
|
+
strokeWidth: "1.25",
|
|
1210
|
+
strokeLinecap: "round",
|
|
1211
|
+
strokeLinejoin: "round"
|
|
1212
|
+
}
|
|
1213
|
+
)
|
|
1214
|
+
}
|
|
1215
|
+
);
|
|
1216
|
+
},
|
|
1217
|
+
"left-double": ({ className }) => {
|
|
1218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1219
|
+
"svg",
|
|
1220
|
+
{
|
|
1221
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1222
|
+
width: "21",
|
|
1223
|
+
height: "21",
|
|
1224
|
+
viewBox: "0 0 21 21",
|
|
1225
|
+
fill: "none",
|
|
1226
|
+
className,
|
|
1227
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1228
|
+
"path",
|
|
1229
|
+
{
|
|
1230
|
+
d: "M15.1667 5.83334L9.98148 10.5L15.1667 15.1667M11.0185 5.83334L5.83334 10.5L11.0185 15.1667",
|
|
1231
|
+
stroke: "currentColor",
|
|
1232
|
+
strokeWidth: "1.25",
|
|
1233
|
+
strokeLinecap: "round",
|
|
1234
|
+
strokeLinejoin: "round"
|
|
1235
|
+
}
|
|
1236
|
+
)
|
|
1237
|
+
}
|
|
1238
|
+
);
|
|
1239
|
+
},
|
|
1240
|
+
right: ({ className }) => {
|
|
1241
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1242
|
+
"svg",
|
|
1243
|
+
{
|
|
1244
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1245
|
+
width: "21",
|
|
1246
|
+
height: "21",
|
|
1247
|
+
viewBox: "0 0 21 21",
|
|
1248
|
+
fill: "none",
|
|
1249
|
+
className,
|
|
1250
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1251
|
+
"path",
|
|
1252
|
+
{
|
|
1253
|
+
d: "M8.16666 5.83334L12.8333 10.5L8.16666 15.1667",
|
|
1254
|
+
stroke: "currentColor",
|
|
1255
|
+
strokeWidth: "1.25",
|
|
1256
|
+
strokeLinecap: "round",
|
|
1257
|
+
strokeLinejoin: "round"
|
|
1258
|
+
}
|
|
1259
|
+
)
|
|
1260
|
+
}
|
|
1261
|
+
);
|
|
1262
|
+
},
|
|
1263
|
+
"right-double": ({ className }) => {
|
|
1264
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1265
|
+
"svg",
|
|
1266
|
+
{
|
|
1267
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1268
|
+
width: "21",
|
|
1269
|
+
height: "21",
|
|
1270
|
+
viewBox: "0 0 21 21",
|
|
1271
|
+
fill: "none",
|
|
1272
|
+
className,
|
|
1273
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1274
|
+
"path",
|
|
1275
|
+
{
|
|
1276
|
+
d: "M5.83334 5.83334L11.0185 10.5L5.83334 15.1667M9.98149 5.83334L15.1667 10.5L9.98149 15.1667",
|
|
1277
|
+
stroke: "currentColor",
|
|
1278
|
+
strokeWidth: "1.25",
|
|
1279
|
+
strokeLinecap: "round",
|
|
1280
|
+
strokeLinejoin: "round"
|
|
1281
|
+
}
|
|
1282
|
+
)
|
|
1283
|
+
}
|
|
1284
|
+
);
|
|
1285
|
+
},
|
|
380
1286
|
"left-chevron": ({ className }) => {
|
|
381
1287
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
382
1288
|
"svg",
|
|
@@ -1739,64 +2645,24 @@ var template = {
|
|
|
1739
2645
|
{
|
|
1740
2646
|
d: "M9.5625 9.5625C9.5625 9.71168 9.50324 9.85476 9.39775 9.96025C9.29226 10.0657 9.14918 10.125 9 10.125C8.85082 10.125 8.70774 10.0657 8.60225 9.96025C8.49676 9.85476 8.4375 9.71168 8.4375 9.5625C8.4375 9.41332 8.49676 9.27024 8.60225 9.16475C8.70774 9.05926 8.85082 9 9 9C9.14918 9 9.29226 9.05926 9.39775 9.16475C9.50324 9.27024 9.5625 9.41332 9.5625 9.5625ZM5.625 11.8125C5.77418 11.8125 5.91726 11.7532 6.02275 11.6477C6.12824 11.5423 6.1875 11.3992 6.1875 11.25C6.1875 11.1008 6.12824 10.9577 6.02275 10.8523C5.91726 10.7468 5.77418 10.6875 5.625 10.6875C5.47582 10.6875 5.33274 10.7468 5.22725 10.8523C5.12176 10.9577 5.0625 11.1008 5.0625 11.25C5.0625 11.3992 5.12176 11.5423 5.22725 11.6477C5.33274 11.7532 5.47582 11.8125 5.625 11.8125ZM6.1875 12.9375C6.1875 13.0867 6.12824 13.2298 6.02275 13.3352C5.91726 13.4407 5.77418 13.5 5.625 13.5C5.47582 13.5 5.33274 13.4407 5.22725 13.3352C5.12176 13.2298 5.0625 13.0867 5.0625 12.9375C5.0625 12.7883 5.12176 12.6452 5.22725 12.5398C5.33274 12.4343 5.47582 12.375 5.625 12.375C5.77418 12.375 5.91726 12.4343 6.02275 12.5398C6.12824 12.6452 6.1875 12.7883 6.1875 12.9375ZM7.3125 11.8125C7.46168 11.8125 7.60476 11.7532 7.71025 11.6477C7.81574 11.5423 7.875 11.3992 7.875 11.25C7.875 11.1008 7.81574 10.9577 7.71025 10.8523C7.60476 10.7468 7.46168 10.6875 7.3125 10.6875C7.16332 10.6875 7.02024 10.7468 6.91475 10.8523C6.80926 10.9577 6.75 11.1008 6.75 11.25C6.75 11.3992 6.80926 11.5423 6.91475 11.6477C7.02024 11.7532 7.16332 11.8125 7.3125 11.8125ZM7.875 12.9375C7.875 13.0867 7.81574 13.2298 7.71025 13.3352C7.60476 13.4407 7.46168 13.5 7.3125 13.5C7.16332 13.5 7.02024 13.4407 6.91475 13.3352C6.80926 13.2298 6.75 13.0867 6.75 12.9375C6.75 12.7883 6.80926 12.6452 6.91475 12.5398C7.02024 12.4343 7.16332 12.375 7.3125 12.375C7.46168 12.375 7.60476 12.4343 7.71025 12.5398C7.81574 12.6452 7.875 12.7883 7.875 12.9375ZM9 11.8125C9.14918 11.8125 9.29226 11.7532 9.39775 11.6477C9.50324 11.5423 9.5625 11.3992 9.5625 11.25C9.5625 11.1008 9.50324 10.9577 9.39775 10.8523C9.29226 10.7468 9.14918 10.6875 9 10.6875C8.85082 10.6875 8.70774 10.7468 8.60225 10.8523C8.49676 10.9577 8.4375 11.1008 8.4375 11.25C8.4375 11.3992 8.49676 11.5423 8.60225 11.6477C8.70774 11.7532 8.85082 11.8125 9 11.8125ZM9.5625 12.9375C9.5625 13.0867 9.50324 13.2298 9.39775 13.3352C9.29226 13.4407 9.14918 13.5 9 13.5C8.85082 13.5 8.70774 13.4407 8.60225 13.3352C8.49676 13.2298 8.4375 13.0867 8.4375 12.9375C8.4375 12.7883 8.49676 12.6452 8.60225 12.5398C8.70774 12.4343 8.85082 12.375 9 12.375C9.14918 12.375 9.29226 12.4343 9.39775 12.5398C9.50324 12.6452 9.5625 12.7883 9.5625 12.9375ZM10.6875 11.8125C10.8367 11.8125 10.9798 11.7532 11.0852 11.6477C11.1907 11.5423 11.25 11.3992 11.25 11.25C11.25 11.1008 11.1907 10.9577 11.0852 10.8523C10.9798 10.7468 10.8367 10.6875 10.6875 10.6875C10.5383 10.6875 10.3952 10.7468 10.2898 10.8523C10.1843 10.9577 10.125 11.1008 10.125 11.25C10.125 11.3992 10.1843 11.5423 10.2898 11.6477C10.3952 11.7532 10.5383 11.8125 10.6875 11.8125ZM11.25 12.9375C11.25 13.0867 11.1907 13.2298 11.0852 13.3352C10.9798 13.4407 10.8367 13.5 10.6875 13.5C10.5383 13.5 10.3952 13.4407 10.2898 13.3352C10.1843 13.2298 10.125 13.0867 10.125 12.9375C10.125 12.7883 10.1843 12.6452 10.2898 12.5398C10.3952 12.4343 10.5383 12.375 10.6875 12.375C10.8367 12.375 10.9798 12.4343 11.0852 12.5398C11.1907 12.6452 11.25 12.7883 11.25 12.9375ZM12.375 11.8125C12.5242 11.8125 12.6673 11.7532 12.7727 11.6477C12.8782 11.5423 12.9375 11.3992 12.9375 11.25C12.9375 11.1008 12.8782 10.9577 12.7727 10.8523C12.6673 10.7468 12.5242 10.6875 12.375 10.6875C12.2258 10.6875 12.0827 10.7468 11.9773 10.8523C11.8718 10.9577 11.8125 11.1008 11.8125 11.25C11.8125 11.3992 11.8718 11.5423 11.9773 11.6477C12.0827 11.7532 12.2258 11.8125 12.375 11.8125ZM11.25 9.5625C11.25 9.71168 11.1907 9.85476 11.0852 9.96025C10.9798 10.0657 10.8367 10.125 10.6875 10.125C10.5383 10.125 10.3952 10.0657 10.2898 9.96025C10.1843 9.85476 10.125 9.71168 10.125 9.5625C10.125 9.41332 10.1843 9.27024 10.2898 9.16475C10.3952 9.05926 10.5383 9 10.6875 9C10.8367 9 10.9798 9.05926 11.0852 9.16475C11.1907 9.27024 11.25 9.41332 11.25 9.5625ZM12.375 10.125C12.5242 10.125 12.6673 10.0657 12.7727 9.96025C12.8782 9.85476 12.9375 9.71168 12.9375 9.5625C12.9375 9.41332 12.8782 9.27024 12.7727 9.16475C12.6673 9.05926 12.5242 9 12.375 9C12.2258 9 12.0827 9.05926 11.9773 9.16475C11.8718 9.27024 11.8125 9.41332 11.8125 9.5625C11.8125 9.71168 11.8718 9.85476 11.9773 9.96025C12.0827 10.0657 12.2258 10.125 12.375 10.125Z",
|
|
1741
2647
|
fill: "currentColor"
|
|
1742
|
-
}
|
|
1743
|
-
),
|
|
1744
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1745
|
-
"path",
|
|
1746
|
-
{
|
|
1747
|
-
fillRule: "evenodd",
|
|
1748
|
-
clipRule: "evenodd",
|
|
1749
|
-
d: "M5.0625 1.6875C5.21168 1.6875 5.35476 1.74676 5.46025 1.85225C5.56574 1.95774 5.625 2.10082 5.625 2.25V3.375H12.375V2.25C12.375 2.10082 12.4343 1.95774 12.5398 1.85225C12.6452 1.74676 12.7883 1.6875 12.9375 1.6875C13.0867 1.6875 13.2298 1.74676 13.3352 1.85225C13.4407 1.95774 13.5 2.10082 13.5 2.25V3.375H14.0625C14.6592 3.375 15.2315 3.61205 15.6535 4.03401C16.0754 4.45597 16.3125 5.02826 16.3125 5.625V14.0625C16.3125 14.6592 16.0754 15.2315 15.6535 15.6535C15.2315 16.0754 14.6592 16.3125 14.0625 16.3125H3.9375C3.34076 16.3125 2.76847 16.0754 2.34651 15.6535C1.92455 15.2315 1.6875 14.6592 1.6875 14.0625V5.625C1.6875 5.02826 1.92455 4.45597 2.34651 4.03401C2.76847 3.61205 3.34076 3.375 3.9375 3.375H4.5V2.25C4.5 2.10082 4.55926 1.95774 4.66475 1.85225C4.77024 1.74676 4.91332 1.6875 5.0625 1.6875ZM15.1875 8.4375C15.1875 8.13913 15.069 7.85298 14.858 7.642C14.647 7.43103 14.3609 7.3125 14.0625 7.3125H3.9375C3.63913 7.3125 3.35298 7.43103 3.142 7.642C2.93103 7.85298 2.8125 8.13913 2.8125 8.4375V14.0625C2.8125 14.3609 2.93103 14.647 3.142 14.858C3.35298 15.069 3.63913 15.1875 3.9375 15.1875H14.0625C14.3609 15.1875 14.647 15.069 14.858 14.858C15.069 14.647 15.1875 14.3609 15.1875 14.0625V8.4375Z",
|
|
1750
|
-
fill: "currentColor"
|
|
1751
|
-
}
|
|
1752
|
-
)
|
|
1753
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1754
|
-
"path",
|
|
1755
|
-
{
|
|
1756
|
-
d: "M5.0625 2.25V3.9375M12.9375 2.25V3.9375M2.25 14.0625V5.625C2.25 5.17745 2.42779 4.74823 2.74426 4.43176C3.06072 4.11529 3.48995 3.9375 3.9375 3.9375H14.0625C14.5101 3.9375 14.9393 4.11529 15.2557 4.43176C15.5722 4.74823 15.75 5.17745 15.75 5.625V14.0625M2.25 14.0625C2.25 14.5101 2.42779 14.9393 2.74426 15.2557C3.06072 15.5722 3.48995 15.75 3.9375 15.75H14.0625C14.5101 15.75 14.9393 15.5722 15.2557 15.2557C15.5722 14.9393 15.75 14.5101 15.75 14.0625M2.25 14.0625V8.4375C2.25 7.98995 2.42779 7.56073 2.74426 7.24426C3.06072 6.92779 3.48995 6.75 3.9375 6.75H14.0625C14.5101 6.75 14.9393 6.92779 15.2557 7.24426C15.5722 7.56073 15.75 7.98995 15.75 8.4375V14.0625M9 9.5625H9.006V9.5685H9V9.5625ZM9 11.25H9.006V11.256H9V11.25ZM9 12.9375H9.006V12.9435H9V12.9375ZM7.3125 11.25H7.3185V11.256H7.3125V11.25ZM7.3125 12.9375H7.3185V12.9435H7.3125V12.9375ZM5.625 11.25H5.631V11.256H5.625V11.25ZM5.625 12.9375H5.631V12.9435H5.625V12.9375ZM10.6875 9.5625H10.6935V9.5685H10.6875V9.5625ZM10.6875 11.25H10.6935V11.256H10.6875V11.25ZM10.6875 12.9375H10.6935V12.9435H10.6875V12.9375ZM12.375 9.5625H12.381V9.5685H12.375V9.5625ZM12.375 11.25H12.381V11.256H12.375V11.25Z",
|
|
1757
|
-
stroke: "currentColor",
|
|
1758
|
-
strokeLinecap: "round",
|
|
1759
|
-
strokeLinejoin: "round"
|
|
1760
|
-
}
|
|
1761
|
-
)
|
|
1762
|
-
}
|
|
1763
|
-
);
|
|
1764
|
-
},
|
|
1765
|
-
left: ({ className }) => {
|
|
1766
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1767
|
-
"svg",
|
|
1768
|
-
{
|
|
1769
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1770
|
-
width: "22",
|
|
1771
|
-
height: "22",
|
|
1772
|
-
viewBox: "0 0 22 22",
|
|
1773
|
-
fill: "none",
|
|
1774
|
-
className,
|
|
1775
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1776
|
-
"path",
|
|
1777
|
-
{
|
|
1778
|
-
d: "M14.4955 7.21404C14.4957 7.26442 14.4957 7.26442 14.4959 7.31582C14.4962 7.40882 14.4962 7.50182 14.496 7.59482C14.496 7.69521 14.4962 7.79559 14.4965 7.89598C14.4969 8.09257 14.497 8.28915 14.4969 8.48574C14.4968 8.64555 14.4969 8.80536 14.497 8.96516C14.4971 8.98791 14.4971 9.01066 14.4971 9.0341C14.4971 9.08032 14.4972 9.12653 14.4972 9.17275C14.4976 9.60613 14.4975 10.0395 14.4973 10.4729C14.4971 10.8692 14.4975 11.2656 14.4981 11.6619C14.4988 12.069 14.499 12.4761 14.4989 12.8832C14.4989 13.1117 14.4989 13.3402 14.4994 13.5687C14.4998 13.7633 14.4998 13.9578 14.4994 14.1524C14.4992 14.2516 14.4992 14.3508 14.4996 14.45C14.4999 14.5577 14.4997 14.6653 14.4993 14.7729C14.4995 14.8042 14.4997 14.8354 14.5 14.8676C14.4981 15.094 14.4635 15.2952 14.2769 15.4694C14.0633 15.6269 13.8501 15.6664 13.574 15.6667C13.3359 15.6312 13.1607 15.5177 12.9847 15.381C12.9446 15.3506 12.9044 15.3202 12.8642 15.2898C12.8338 15.2666 12.8338 15.2666 12.8028 15.2429C12.7059 15.1692 12.6076 15.0969 12.5094 15.0246C12.4807 15.0034 12.4807 15.0034 12.4515 14.9819C12.3238 14.8875 12.1955 14.7936 12.0669 14.7C11.8604 14.5497 11.6552 14.3982 11.4501 14.2465C11.3539 14.1754 11.2577 14.1043 11.1615 14.0332C11.1231 14.0048 11.0847 13.9765 11.0462 13.9481C11.0177 13.927 11.0177 13.927 10.9886 13.9055C10.1627 13.2955 9.33686 12.6854 8.51098 12.0753C8.49194 12.0613 8.47291 12.0472 8.45329 12.0328C8.41508 12.0045 8.37691 11.9762 8.33878 11.9479C8.23994 11.8746 8.14044 11.8021 8.03961 11.7309C7.56492 11.3929 7.56492 11.3929 7.50676 11.139C7.48169 10.8947 7.5218 10.7077 7.70431 10.5165C7.82684 10.4027 7.96443 10.3072 8.1052 10.2107C8.19396 10.1488 8.27857 10.0845 8.36282 10.0181C8.5044 9.90695 8.65122 9.80273 8.80011 9.69893C8.88704 9.63693 8.97086 9.57289 9.05425 9.50739C9.19583 9.3962 9.34265 9.29198 9.49154 9.18818C9.57847 9.12618 9.6623 9.06214 9.74569 8.99664C9.88726 8.88544 10.0341 8.78123 10.183 8.67742C10.2699 8.61542 10.3537 8.55139 10.4371 8.48589C10.5787 8.37469 10.7255 8.27048 10.8744 8.16667C10.9613 8.10467 11.0452 8.04064 11.1286 7.97514C11.2379 7.88937 11.3491 7.80701 11.464 7.72686C11.676 7.57888 11.881 7.42428 12.0868 7.26992C12.2036 7.18255 12.321 7.09588 12.4386 7.00934C12.5366 6.93723 12.6341 6.8648 12.7311 6.7917C13.3456 6.32986 13.3456 6.32986 13.7814 6.33404C13.9843 6.35117 14.1418 6.41415 14.2854 6.53943C14.4816 6.75169 14.4966 6.95069 14.4955 7.21404Z",
|
|
1779
|
-
fill: "currentColor"
|
|
1780
|
-
}
|
|
1781
|
-
)
|
|
1782
|
-
}
|
|
1783
|
-
);
|
|
1784
|
-
},
|
|
1785
|
-
right: ({ className }) => {
|
|
1786
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1787
|
-
"svg",
|
|
1788
|
-
{
|
|
1789
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1790
|
-
width: "22",
|
|
1791
|
-
height: "22",
|
|
1792
|
-
viewBox: "0 0 22 22",
|
|
1793
|
-
fill: "none",
|
|
1794
|
-
className,
|
|
1795
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2648
|
+
}
|
|
2649
|
+
),
|
|
2650
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2651
|
+
"path",
|
|
2652
|
+
{
|
|
2653
|
+
fillRule: "evenodd",
|
|
2654
|
+
clipRule: "evenodd",
|
|
2655
|
+
d: "M5.0625 1.6875C5.21168 1.6875 5.35476 1.74676 5.46025 1.85225C5.56574 1.95774 5.625 2.10082 5.625 2.25V3.375H12.375V2.25C12.375 2.10082 12.4343 1.95774 12.5398 1.85225C12.6452 1.74676 12.7883 1.6875 12.9375 1.6875C13.0867 1.6875 13.2298 1.74676 13.3352 1.85225C13.4407 1.95774 13.5 2.10082 13.5 2.25V3.375H14.0625C14.6592 3.375 15.2315 3.61205 15.6535 4.03401C16.0754 4.45597 16.3125 5.02826 16.3125 5.625V14.0625C16.3125 14.6592 16.0754 15.2315 15.6535 15.6535C15.2315 16.0754 14.6592 16.3125 14.0625 16.3125H3.9375C3.34076 16.3125 2.76847 16.0754 2.34651 15.6535C1.92455 15.2315 1.6875 14.6592 1.6875 14.0625V5.625C1.6875 5.02826 1.92455 4.45597 2.34651 4.03401C2.76847 3.61205 3.34076 3.375 3.9375 3.375H4.5V2.25C4.5 2.10082 4.55926 1.95774 4.66475 1.85225C4.77024 1.74676 4.91332 1.6875 5.0625 1.6875ZM15.1875 8.4375C15.1875 8.13913 15.069 7.85298 14.858 7.642C14.647 7.43103 14.3609 7.3125 14.0625 7.3125H3.9375C3.63913 7.3125 3.35298 7.43103 3.142 7.642C2.93103 7.85298 2.8125 8.13913 2.8125 8.4375V14.0625C2.8125 14.3609 2.93103 14.647 3.142 14.858C3.35298 15.069 3.63913 15.1875 3.9375 15.1875H14.0625C14.3609 15.1875 14.647 15.069 14.858 14.858C15.069 14.647 15.1875 14.3609 15.1875 14.0625V8.4375Z",
|
|
2656
|
+
fill: "currentColor"
|
|
2657
|
+
}
|
|
2658
|
+
)
|
|
2659
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1796
2660
|
"path",
|
|
1797
2661
|
{
|
|
1798
|
-
d: "
|
|
1799
|
-
|
|
2662
|
+
d: "M5.0625 2.25V3.9375M12.9375 2.25V3.9375M2.25 14.0625V5.625C2.25 5.17745 2.42779 4.74823 2.74426 4.43176C3.06072 4.11529 3.48995 3.9375 3.9375 3.9375H14.0625C14.5101 3.9375 14.9393 4.11529 15.2557 4.43176C15.5722 4.74823 15.75 5.17745 15.75 5.625V14.0625M2.25 14.0625C2.25 14.5101 2.42779 14.9393 2.74426 15.2557C3.06072 15.5722 3.48995 15.75 3.9375 15.75H14.0625C14.5101 15.75 14.9393 15.5722 15.2557 15.2557C15.5722 14.9393 15.75 14.5101 15.75 14.0625M2.25 14.0625V8.4375C2.25 7.98995 2.42779 7.56073 2.74426 7.24426C3.06072 6.92779 3.48995 6.75 3.9375 6.75H14.0625C14.5101 6.75 14.9393 6.92779 15.2557 7.24426C15.5722 7.56073 15.75 7.98995 15.75 8.4375V14.0625M9 9.5625H9.006V9.5685H9V9.5625ZM9 11.25H9.006V11.256H9V11.25ZM9 12.9375H9.006V12.9435H9V12.9375ZM7.3125 11.25H7.3185V11.256H7.3125V11.25ZM7.3125 12.9375H7.3185V12.9435H7.3125V12.9375ZM5.625 11.25H5.631V11.256H5.625V11.25ZM5.625 12.9375H5.631V12.9435H5.625V12.9375ZM10.6875 9.5625H10.6935V9.5685H10.6875V9.5625ZM10.6875 11.25H10.6935V11.256H10.6875V11.25ZM10.6875 12.9375H10.6935V12.9435H10.6875V12.9375ZM12.375 9.5625H12.381V9.5685H12.375V9.5625ZM12.375 11.25H12.381V11.256H12.375V11.25Z",
|
|
2663
|
+
stroke: "currentColor",
|
|
2664
|
+
strokeLinecap: "round",
|
|
2665
|
+
strokeLinejoin: "round"
|
|
1800
2666
|
}
|
|
1801
2667
|
)
|
|
1802
2668
|
}
|
|
@@ -2111,6 +2977,20 @@ var template = {
|
|
|
2111
2977
|
}
|
|
2112
2978
|
);
|
|
2113
2979
|
},
|
|
2980
|
+
polygon: ({ className }) => {
|
|
2981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
2982
|
+
"svg",
|
|
2983
|
+
{
|
|
2984
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2985
|
+
width: "24",
|
|
2986
|
+
height: "24",
|
|
2987
|
+
viewBox: "0 0 24 24",
|
|
2988
|
+
fill: "none",
|
|
2989
|
+
className,
|
|
2990
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("polygon", { points: "12 4 20 9 20 15 12 20 4 15 4 9", stroke: "currentColor", strokeWidth: "2" })
|
|
2991
|
+
}
|
|
2992
|
+
);
|
|
2993
|
+
},
|
|
2114
2994
|
"new-window": ({ className }) => {
|
|
2115
2995
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
2116
2996
|
"svg",
|
|
@@ -5224,25 +6104,26 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
|
5224
6104
|
var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) => {
|
|
5225
6105
|
const SVGIcon = template[name];
|
|
5226
6106
|
const getInputIconSize = (size2) => {
|
|
5227
|
-
switch (size2) {
|
|
6107
|
+
switch (String(size2)) {
|
|
5228
6108
|
case "sm":
|
|
5229
|
-
return "
|
|
6109
|
+
return "w-[18px] h-[18px]";
|
|
5230
6110
|
case "md":
|
|
5231
|
-
return "
|
|
6111
|
+
return "w-[21px] h-[21px] stroke-[1.25px]";
|
|
5232
6112
|
case "lg":
|
|
5233
|
-
return "
|
|
6113
|
+
return "w-[24px] h-[24px] stroke-[1.5px]";
|
|
5234
6114
|
case "xl":
|
|
5235
|
-
return "
|
|
6115
|
+
return "w-[27px] h-[27px] stroke-[1.5px]";
|
|
6116
|
+
case "20":
|
|
6117
|
+
return "w-[20px] h-[20px] stroke-[1.25px]";
|
|
6118
|
+
case "30":
|
|
6119
|
+
return "w-[30px] h-[30px] stroke-[1.5px]";
|
|
6120
|
+
case "40":
|
|
6121
|
+
return "w-[40px] h-[40px] stroke-[2px]";
|
|
6122
|
+
default:
|
|
6123
|
+
return "w-[21px] h-[21px] stroke-[1.25px]";
|
|
5236
6124
|
}
|
|
5237
6125
|
};
|
|
5238
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className:
|
|
5239
|
-
SVGIcon,
|
|
5240
|
-
{
|
|
5241
|
-
fill,
|
|
5242
|
-
className: className ? `${getInputIconSize(size)} ${className}` : `${getInputIconSize(size)}`,
|
|
5243
|
-
...props
|
|
5244
|
-
}
|
|
5245
|
-
) });
|
|
6126
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: `m-0 flex items-center justify-center p-0 ${className}`, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(SVGIcon, { fill, className: getInputIconSize(size), ...props }) });
|
|
5246
6127
|
};
|
|
5247
6128
|
var Icon_default = Icon;
|
|
5248
6129
|
|
|
@@ -5446,68 +6327,44 @@ var Button = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
5446
6327
|
Button.displayName = "Button";
|
|
5447
6328
|
var button_default = Button;
|
|
5448
6329
|
var buttonStyle = tv({
|
|
6330
|
+
extend: buttonBaseStyle,
|
|
5449
6331
|
slots: {
|
|
5450
|
-
base: "
|
|
5451
|
-
content:
|
|
6332
|
+
base: ["w-fit"],
|
|
6333
|
+
content: []
|
|
5452
6334
|
},
|
|
5453
6335
|
variants: {
|
|
5454
|
-
variant: {
|
|
5455
|
-
solid: "",
|
|
5456
|
-
soft: "",
|
|
5457
|
-
outline: "",
|
|
5458
|
-
ghost: ""
|
|
5459
|
-
},
|
|
5460
|
-
color: {
|
|
5461
|
-
primary: "",
|
|
5462
|
-
secondary: "",
|
|
5463
|
-
neutral: "",
|
|
5464
|
-
info: "",
|
|
5465
|
-
success: "",
|
|
5466
|
-
warning: "",
|
|
5467
|
-
danger: ""
|
|
5468
|
-
},
|
|
5469
6336
|
size: {
|
|
5470
6337
|
sm: {
|
|
5471
|
-
base: "h-[24px] px-[8px] py-[3px] text-sm font-
|
|
6338
|
+
base: ["h-[24px]", "px-[8px]", "py-[3px]", "text-sm", "font-bold", "rounded-sm", "gap-sm"]
|
|
5472
6339
|
},
|
|
5473
6340
|
md: {
|
|
5474
|
-
base: "h-[32px] px-[12px] py-[5.5px] text-md font-
|
|
6341
|
+
base: ["h-[32px]", "px-[12px]", "py-[5.5px]", "text-md", "font-bold", "rounded-md", "gap-md"]
|
|
5475
6342
|
},
|
|
5476
6343
|
lg: {
|
|
5477
|
-
base: "h-[40px] px-[16px] py-[8px] text-lg font-
|
|
6344
|
+
base: ["h-[40px]", "px-[16px]", "py-[8px]", "text-lg", "font-bold", "rounded-lg", "gap-lg"]
|
|
5478
6345
|
},
|
|
5479
6346
|
xl: {
|
|
5480
|
-
base: "h-[50px] px-[20px] py-[11.5px] text-xl font-
|
|
6347
|
+
base: ["h-[50px]", "px-[20px]", "py-[11.5px]", "text-xl", "font-bold", "rounded-xl", "gap-xl"]
|
|
5481
6348
|
}
|
|
5482
6349
|
},
|
|
5483
6350
|
radius: {
|
|
5484
6351
|
default: {
|
|
5485
|
-
base:
|
|
6352
|
+
base: []
|
|
5486
6353
|
},
|
|
5487
6354
|
full: {
|
|
5488
|
-
base: "rounded-full"
|
|
6355
|
+
base: ["rounded-full"]
|
|
5489
6356
|
},
|
|
5490
6357
|
none: {
|
|
5491
|
-
base: "rounded-none"
|
|
6358
|
+
base: ["rounded-none"]
|
|
5492
6359
|
}
|
|
5493
6360
|
},
|
|
5494
6361
|
full: {
|
|
5495
6362
|
true: {
|
|
5496
|
-
base: "w-full"
|
|
6363
|
+
base: ["w-full"]
|
|
5497
6364
|
}
|
|
5498
6365
|
},
|
|
5499
6366
|
isLoading: {
|
|
5500
6367
|
true: {}
|
|
5501
|
-
},
|
|
5502
|
-
disabled: {
|
|
5503
|
-
true: {
|
|
5504
|
-
base: "!bg-neutral-soft !border-neutral-soft !text-neutral-light pointer-events-none"
|
|
5505
|
-
}
|
|
5506
|
-
},
|
|
5507
|
-
isInGroup: {
|
|
5508
|
-
true: {
|
|
5509
|
-
base: "[&:not(:first-child):not(:last-child)]:rounded-none first:rounded-r-none last:rounded-l-none [&:not(:first-child)]:border-l-0"
|
|
5510
|
-
}
|
|
5511
6368
|
}
|
|
5512
6369
|
},
|
|
5513
6370
|
defaultVariants: {
|
|
@@ -5518,251 +6375,5 @@ var buttonStyle = tv({
|
|
|
5518
6375
|
disabled: false,
|
|
5519
6376
|
isLoading: false,
|
|
5520
6377
|
isInGroup: false
|
|
5521
|
-
}
|
|
5522
|
-
compoundVariants: [
|
|
5523
|
-
// solid & color
|
|
5524
|
-
{
|
|
5525
|
-
variant: "solid",
|
|
5526
|
-
color: "primary",
|
|
5527
|
-
class: {
|
|
5528
|
-
base: ["text-white", "bg-primary-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5529
|
-
}
|
|
5530
|
-
},
|
|
5531
|
-
{
|
|
5532
|
-
variant: "solid",
|
|
5533
|
-
color: "secondary",
|
|
5534
|
-
class: {
|
|
5535
|
-
base: ["text-white", "bg-secondary-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5536
|
-
}
|
|
5537
|
-
},
|
|
5538
|
-
{
|
|
5539
|
-
variant: "solid",
|
|
5540
|
-
color: "neutral",
|
|
5541
|
-
class: {
|
|
5542
|
-
base: ["text-white", "bg-neutral-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5543
|
-
}
|
|
5544
|
-
},
|
|
5545
|
-
{
|
|
5546
|
-
variant: "solid",
|
|
5547
|
-
color: "info",
|
|
5548
|
-
class: {
|
|
5549
|
-
base: ["text-white", "bg-info-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5550
|
-
}
|
|
5551
|
-
},
|
|
5552
|
-
{
|
|
5553
|
-
variant: "solid",
|
|
5554
|
-
color: "success",
|
|
5555
|
-
class: {
|
|
5556
|
-
base: ["text-white", "bg-success-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5557
|
-
}
|
|
5558
|
-
},
|
|
5559
|
-
{
|
|
5560
|
-
variant: "solid",
|
|
5561
|
-
color: "warning",
|
|
5562
|
-
class: {
|
|
5563
|
-
base: ["text-white", "bg-warning-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5564
|
-
}
|
|
5565
|
-
},
|
|
5566
|
-
{
|
|
5567
|
-
variant: "solid",
|
|
5568
|
-
color: "danger",
|
|
5569
|
-
class: {
|
|
5570
|
-
base: ["text-white", "bg-danger-main", "hover:bg-gradient-to-r", "hover:from-white/20", "hover:to-white/20"]
|
|
5571
|
-
}
|
|
5572
|
-
},
|
|
5573
|
-
// soft & color
|
|
5574
|
-
{
|
|
5575
|
-
variant: "soft",
|
|
5576
|
-
color: "primary",
|
|
5577
|
-
class: {
|
|
5578
|
-
base: ["text-primary-main", "bg-primary-soft", "border-primary-soft", "hover:border-primary-light"]
|
|
5579
|
-
}
|
|
5580
|
-
},
|
|
5581
|
-
{
|
|
5582
|
-
variant: "soft",
|
|
5583
|
-
color: "secondary",
|
|
5584
|
-
class: {
|
|
5585
|
-
base: ["text-secondary-main", "bg-secondary-soft", "border-secondary-soft", "hover:border-secondary-light"]
|
|
5586
|
-
}
|
|
5587
|
-
},
|
|
5588
|
-
{
|
|
5589
|
-
variant: "soft",
|
|
5590
|
-
color: "neutral",
|
|
5591
|
-
class: {
|
|
5592
|
-
base: ["text-neutral-main", "bg-neutral-soft", "border-neutral-soft", "hover:border-neutral-light"]
|
|
5593
|
-
}
|
|
5594
|
-
},
|
|
5595
|
-
{
|
|
5596
|
-
variant: "soft",
|
|
5597
|
-
color: "info",
|
|
5598
|
-
class: {
|
|
5599
|
-
base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light"]
|
|
5600
|
-
}
|
|
5601
|
-
},
|
|
5602
|
-
{
|
|
5603
|
-
variant: "soft",
|
|
5604
|
-
color: "success",
|
|
5605
|
-
class: {
|
|
5606
|
-
base: ["text-success-main", "bg-success-soft", "border-success-soft", "hover:border-success-light"]
|
|
5607
|
-
}
|
|
5608
|
-
},
|
|
5609
|
-
{
|
|
5610
|
-
variant: "soft",
|
|
5611
|
-
color: "warning",
|
|
5612
|
-
class: {
|
|
5613
|
-
base: ["text-warning-main", "bg-warning-soft", "border-warning-soft", "hover:border-warning-light"]
|
|
5614
|
-
}
|
|
5615
|
-
},
|
|
5616
|
-
{
|
|
5617
|
-
variant: "soft",
|
|
5618
|
-
color: "danger",
|
|
5619
|
-
class: {
|
|
5620
|
-
base: ["text-danger-main", "bg-danger-soft", "border-danger-soft", "hover:border-danger-light"]
|
|
5621
|
-
}
|
|
5622
|
-
},
|
|
5623
|
-
// outline & color
|
|
5624
|
-
{
|
|
5625
|
-
variant: "outline",
|
|
5626
|
-
color: "primary",
|
|
5627
|
-
class: {
|
|
5628
|
-
base: ["bg-body-background", "border-primary-main", "text-primary-main", "hover:bg-primary-soft"]
|
|
5629
|
-
}
|
|
5630
|
-
},
|
|
5631
|
-
{
|
|
5632
|
-
variant: "outline",
|
|
5633
|
-
color: "secondary",
|
|
5634
|
-
class: {
|
|
5635
|
-
base: ["bg-body-background", "border-secondary-main", "text-secondary-main", "hover:bg-secondary-soft"]
|
|
5636
|
-
}
|
|
5637
|
-
},
|
|
5638
|
-
{
|
|
5639
|
-
variant: "outline",
|
|
5640
|
-
color: "neutral",
|
|
5641
|
-
class: {
|
|
5642
|
-
base: ["bg-body-background", "border-neutral-main", "text-neutral-main", "hover:bg-neutral-soft"]
|
|
5643
|
-
}
|
|
5644
|
-
},
|
|
5645
|
-
{
|
|
5646
|
-
variant: "outline",
|
|
5647
|
-
color: "info",
|
|
5648
|
-
class: {
|
|
5649
|
-
base: ["bg-body-background", "border-info-main", "text-info-main", "hover:bg-info-soft"]
|
|
5650
|
-
}
|
|
5651
|
-
},
|
|
5652
|
-
{
|
|
5653
|
-
variant: "outline",
|
|
5654
|
-
color: "success",
|
|
5655
|
-
class: {
|
|
5656
|
-
base: ["bg-body-background", "border-success-main", "text-success-main", "hover:bg-success-soft"]
|
|
5657
|
-
}
|
|
5658
|
-
},
|
|
5659
|
-
{
|
|
5660
|
-
variant: "outline",
|
|
5661
|
-
color: "warning",
|
|
5662
|
-
class: {
|
|
5663
|
-
base: ["bg-body-background", "border-warning-main", "text-warning-main", "hover:bg-warning-soft"]
|
|
5664
|
-
}
|
|
5665
|
-
},
|
|
5666
|
-
{
|
|
5667
|
-
variant: "outline",
|
|
5668
|
-
color: "danger",
|
|
5669
|
-
class: {
|
|
5670
|
-
base: ["bg-body-background", "border-danger-main", "text-danger-main", "hover:bg-danger-soft"]
|
|
5671
|
-
}
|
|
5672
|
-
},
|
|
5673
|
-
// ghost & color
|
|
5674
|
-
{
|
|
5675
|
-
variant: "ghost",
|
|
5676
|
-
color: "primary",
|
|
5677
|
-
class: {
|
|
5678
|
-
base: ["text-primary-main", "border-transparent", "hover:bg-primary-soft"]
|
|
5679
|
-
}
|
|
5680
|
-
},
|
|
5681
|
-
{
|
|
5682
|
-
variant: "ghost",
|
|
5683
|
-
color: "secondary",
|
|
5684
|
-
class: {
|
|
5685
|
-
base: ["text-secondary-main", "border-transparent", "hover:bg-secondary-soft"]
|
|
5686
|
-
}
|
|
5687
|
-
},
|
|
5688
|
-
{
|
|
5689
|
-
variant: "ghost",
|
|
5690
|
-
color: "neutral",
|
|
5691
|
-
class: {
|
|
5692
|
-
base: ["text-neutral-main", "border-transparent", "hover:bg-neutral-soft"]
|
|
5693
|
-
}
|
|
5694
|
-
},
|
|
5695
|
-
{
|
|
5696
|
-
variant: "ghost",
|
|
5697
|
-
color: "info",
|
|
5698
|
-
class: {
|
|
5699
|
-
base: ["text-info-main", "border-transparent", "hover:bg-info-soft"]
|
|
5700
|
-
}
|
|
5701
|
-
},
|
|
5702
|
-
{
|
|
5703
|
-
variant: "ghost",
|
|
5704
|
-
color: "success",
|
|
5705
|
-
class: {
|
|
5706
|
-
base: ["text-success-main", "border-transparent", "hover:bg-success-soft"]
|
|
5707
|
-
}
|
|
5708
|
-
},
|
|
5709
|
-
{
|
|
5710
|
-
variant: "ghost",
|
|
5711
|
-
color: "warning",
|
|
5712
|
-
class: {
|
|
5713
|
-
base: ["text-warning-main", "border-transparent", "hover:bg-warning-soft"]
|
|
5714
|
-
}
|
|
5715
|
-
},
|
|
5716
|
-
{
|
|
5717
|
-
variant: "ghost",
|
|
5718
|
-
color: "danger",
|
|
5719
|
-
class: {
|
|
5720
|
-
base: ["text-danger-main", "border-transparent", "hover:bg-danger-soft"]
|
|
5721
|
-
}
|
|
5722
|
-
},
|
|
5723
|
-
// variant && size
|
|
5724
|
-
{
|
|
5725
|
-
variant: ["soft", "outline"],
|
|
5726
|
-
size: "sm",
|
|
5727
|
-
class: {
|
|
5728
|
-
base: "border-[1px]"
|
|
5729
|
-
}
|
|
5730
|
-
},
|
|
5731
|
-
{
|
|
5732
|
-
variant: ["soft", "outline"],
|
|
5733
|
-
size: "md",
|
|
5734
|
-
class: {
|
|
5735
|
-
base: "border-[1.25px]"
|
|
5736
|
-
}
|
|
5737
|
-
},
|
|
5738
|
-
{
|
|
5739
|
-
variant: ["soft", "outline"],
|
|
5740
|
-
size: "lg",
|
|
5741
|
-
class: {
|
|
5742
|
-
base: "border-[1.5px]"
|
|
5743
|
-
}
|
|
5744
|
-
},
|
|
5745
|
-
{
|
|
5746
|
-
variant: ["soft", "outline"],
|
|
5747
|
-
size: "xl",
|
|
5748
|
-
class: {
|
|
5749
|
-
base: "border-[1.75px]"
|
|
5750
|
-
}
|
|
5751
|
-
},
|
|
5752
|
-
// variant && disabled
|
|
5753
|
-
{
|
|
5754
|
-
variant: ["soft", "ghost"],
|
|
5755
|
-
disabled: true,
|
|
5756
|
-
class: {
|
|
5757
|
-
base: "!border-neutral-soft"
|
|
5758
|
-
}
|
|
5759
|
-
},
|
|
5760
|
-
{
|
|
5761
|
-
variant: ["outline"],
|
|
5762
|
-
disabled: true,
|
|
5763
|
-
class: {
|
|
5764
|
-
base: "!border-neutral-light"
|
|
5765
|
-
}
|
|
5766
|
-
}
|
|
5767
|
-
]
|
|
6378
|
+
}
|
|
5768
6379
|
});
|