@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
|
@@ -170,6 +170,352 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
170
170
|
// ../tailwind-config/src/plugin.ts
|
|
171
171
|
var import_plugin = __toESM(require_plugin());
|
|
172
172
|
|
|
173
|
+
// ../tailwind-config/src/colors/primitive-palette.ts
|
|
174
|
+
var primitivePalette = {
|
|
175
|
+
bg: {
|
|
176
|
+
"01": "#040811",
|
|
177
|
+
"02": "#040811",
|
|
178
|
+
"03": "#14161E",
|
|
179
|
+
"04": "#070414",
|
|
180
|
+
"05": "#070C12",
|
|
181
|
+
"06": "#202123"
|
|
182
|
+
},
|
|
183
|
+
gray: {
|
|
184
|
+
cool: {
|
|
185
|
+
50: "#F7F7F8",
|
|
186
|
+
100: "#EEEEF0",
|
|
187
|
+
200: "#D8D9DF",
|
|
188
|
+
300: "#B6B8C3",
|
|
189
|
+
400: "#999CA9",
|
|
190
|
+
500: "#717486",
|
|
191
|
+
600: "#5B5E6E",
|
|
192
|
+
700: "#4A4C5A",
|
|
193
|
+
800: "#40424C",
|
|
194
|
+
900: "#36373F",
|
|
195
|
+
950: "#25252C"
|
|
196
|
+
},
|
|
197
|
+
warm: {
|
|
198
|
+
50: "#F6F6F6",
|
|
199
|
+
100: "#E7E7E7",
|
|
200
|
+
200: "#D1D1D1",
|
|
201
|
+
300: "#B0B0B0",
|
|
202
|
+
400: "#888888",
|
|
203
|
+
500: "#6D6D6D",
|
|
204
|
+
600: "#5D5D5D",
|
|
205
|
+
700: "#525252",
|
|
206
|
+
800: "#454545",
|
|
207
|
+
900: "#3D3D3D",
|
|
208
|
+
950: "#25252C"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
opacity: {
|
|
212
|
+
white: {
|
|
213
|
+
"0": "#FFFFFF, 0",
|
|
214
|
+
5: "#FFFFFF, 5",
|
|
215
|
+
10: "#FFFFFF, 10",
|
|
216
|
+
20: "#FFFFFF, 20",
|
|
217
|
+
30: "#FFFFFF, 30",
|
|
218
|
+
40: "#FFFFFF, 40",
|
|
219
|
+
50: "#FFFFFF, 50",
|
|
220
|
+
60: "#FFFFFF, 60",
|
|
221
|
+
70: "#FFFFFF, 70",
|
|
222
|
+
80: "#FFFFFF, 80",
|
|
223
|
+
90: "#FFFFFF, 90"
|
|
224
|
+
},
|
|
225
|
+
black: {
|
|
226
|
+
"0": "#000000, 0",
|
|
227
|
+
5: "#000000, 5",
|
|
228
|
+
10: "#000000, 10",
|
|
229
|
+
20: "#000000, 20",
|
|
230
|
+
30: "#000000, 30",
|
|
231
|
+
40: "#000000, 40",
|
|
232
|
+
50: "#000000, 50",
|
|
233
|
+
60: "#000000, 60",
|
|
234
|
+
70: "#000000, 70",
|
|
235
|
+
80: "#000000, 80",
|
|
236
|
+
90: "#000000, 90"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
red: {
|
|
240
|
+
50: "#FEF2F2",
|
|
241
|
+
100: "#FEE9E9",
|
|
242
|
+
200: "#FCCFD2",
|
|
243
|
+
300: "#F9A8AC",
|
|
244
|
+
400: "#F57780",
|
|
245
|
+
500: "#EC4757",
|
|
246
|
+
600: "#D82640",
|
|
247
|
+
700: "#B71934",
|
|
248
|
+
800: "#991832",
|
|
249
|
+
900: "#831831",
|
|
250
|
+
950: "#831831"
|
|
251
|
+
},
|
|
252
|
+
rose: {
|
|
253
|
+
50: "#FDF4F6",
|
|
254
|
+
100: "#F9E9EC",
|
|
255
|
+
200: "#F4D8DD",
|
|
256
|
+
300: "#E9B8C2",
|
|
257
|
+
400: "#DF96A6",
|
|
258
|
+
500: "#CB6881",
|
|
259
|
+
600: "#B54969",
|
|
260
|
+
700: "#973957",
|
|
261
|
+
800: "#7F324D",
|
|
262
|
+
900: "#6A2740",
|
|
263
|
+
950: "#3C1523"
|
|
264
|
+
},
|
|
265
|
+
hotPink: {
|
|
266
|
+
50: "#FDF2F7",
|
|
267
|
+
100: "#FDE6F0",
|
|
268
|
+
200: "#FCCEE3",
|
|
269
|
+
300: "#FBA6CA",
|
|
270
|
+
400: "#F76FA6",
|
|
271
|
+
500: "#F04485",
|
|
272
|
+
600: "#E2326C",
|
|
273
|
+
700: "#C21448",
|
|
274
|
+
800: "#A1133C",
|
|
275
|
+
900: "#861535",
|
|
276
|
+
950: "#52051B"
|
|
277
|
+
},
|
|
278
|
+
sepia: {
|
|
279
|
+
50: "#FCF5F4",
|
|
280
|
+
100: "#FAE9E9",
|
|
281
|
+
200: "#F5D6D7",
|
|
282
|
+
300: "#EDB4B6",
|
|
283
|
+
400: "#E28A8F",
|
|
284
|
+
500: "#D45F69",
|
|
285
|
+
600: "#BE4051",
|
|
286
|
+
700: "#9F3142",
|
|
287
|
+
800: "#862B3C",
|
|
288
|
+
900: "#6B2433",
|
|
289
|
+
950: "#320E15"
|
|
290
|
+
},
|
|
291
|
+
orange: {
|
|
292
|
+
50: "#FEF7EE",
|
|
293
|
+
100: "#FDEDD7",
|
|
294
|
+
200: "#F9D8AF",
|
|
295
|
+
300: "#F5BB7C",
|
|
296
|
+
400: "#F09447",
|
|
297
|
+
500: "#EC7723",
|
|
298
|
+
600: "#E15F19",
|
|
299
|
+
700: "#E15F19",
|
|
300
|
+
800: "#92391A",
|
|
301
|
+
900: "#763118",
|
|
302
|
+
950: "#40160A"
|
|
303
|
+
},
|
|
304
|
+
yellow: {
|
|
305
|
+
50: "#F9F2E5",
|
|
306
|
+
100: "#F5E6BC",
|
|
307
|
+
200: "#FFE9BC",
|
|
308
|
+
300: "#FFD174",
|
|
309
|
+
400: "#F8BE4A",
|
|
310
|
+
500: "#EAAD30",
|
|
311
|
+
600: "#D77908",
|
|
312
|
+
700: "#B2550B",
|
|
313
|
+
800: "#91420F",
|
|
314
|
+
900: "#773610",
|
|
315
|
+
950: "#441B04"
|
|
316
|
+
},
|
|
317
|
+
tree: {
|
|
318
|
+
50: "#F5F3F1",
|
|
319
|
+
100: "#E5E1DC",
|
|
320
|
+
200: "#CCC5BC",
|
|
321
|
+
300: "#AFA395",
|
|
322
|
+
400: "#978878",
|
|
323
|
+
500: "#907E6F",
|
|
324
|
+
600: "#756459",
|
|
325
|
+
700: "#5F4F49",
|
|
326
|
+
800: "#524541",
|
|
327
|
+
900: "#483D3B",
|
|
328
|
+
950: "#282120"
|
|
329
|
+
},
|
|
330
|
+
brown: {
|
|
331
|
+
50: "#F6F3F0",
|
|
332
|
+
100: "#F4EDEC",
|
|
333
|
+
200: "#EBDFDD",
|
|
334
|
+
300: "#DCC9C5",
|
|
335
|
+
400: "#C6A9A3",
|
|
336
|
+
500: "#B08983",
|
|
337
|
+
600: "#A27E77",
|
|
338
|
+
700: "#7F5D56",
|
|
339
|
+
800: "#6A4F4A",
|
|
340
|
+
900: "#5B4541",
|
|
341
|
+
950: "#2C1E1C"
|
|
342
|
+
},
|
|
343
|
+
lime: {
|
|
344
|
+
50: "#F7FFE5",
|
|
345
|
+
100: "#ECFFC7",
|
|
346
|
+
200: "#D9FF95",
|
|
347
|
+
300: "#BDFE58",
|
|
348
|
+
400: "#A1F524",
|
|
349
|
+
500: "#82DC06",
|
|
350
|
+
600: "#63B000",
|
|
351
|
+
700: "#4B8506",
|
|
352
|
+
800: "#3E690B",
|
|
353
|
+
900: "#34580F",
|
|
354
|
+
950: "#193102"
|
|
355
|
+
},
|
|
356
|
+
green: {
|
|
357
|
+
50: "#E7F3EB",
|
|
358
|
+
100: "#DFF9EA",
|
|
359
|
+
200: "#CEECDA",
|
|
360
|
+
300: "#9CD4B3",
|
|
361
|
+
400: "#6EC092",
|
|
362
|
+
500: "#3FA46B",
|
|
363
|
+
600: "#209754",
|
|
364
|
+
700: "#1E7745",
|
|
365
|
+
800: "#1D5E3A",
|
|
366
|
+
900: "#194E32",
|
|
367
|
+
950: "#082B19"
|
|
368
|
+
},
|
|
369
|
+
timberGreen: {
|
|
370
|
+
50: "#F1FCF5",
|
|
371
|
+
100: "#DFF9EA",
|
|
372
|
+
200: "#B5DACD",
|
|
373
|
+
300: "#8ABFAF",
|
|
374
|
+
400: "#60A18F",
|
|
375
|
+
500: "#468675",
|
|
376
|
+
600: "#366B5F",
|
|
377
|
+
700: "#2E574D",
|
|
378
|
+
800: "#2A4641",
|
|
379
|
+
900: "#1D2F2B",
|
|
380
|
+
950: "#11221E"
|
|
381
|
+
},
|
|
382
|
+
teal: {
|
|
383
|
+
50: "#E2F1F0",
|
|
384
|
+
100: "#C9EBE8",
|
|
385
|
+
200: "#C7E8E5",
|
|
386
|
+
300: "#8AD0D0",
|
|
387
|
+
400: "#67C4C4",
|
|
388
|
+
500: "#39A6A7",
|
|
389
|
+
600: "#258386",
|
|
390
|
+
700: "#1B666A",
|
|
391
|
+
800: "#1A5255",
|
|
392
|
+
900: "#1A4447",
|
|
393
|
+
950: "#09272A"
|
|
394
|
+
},
|
|
395
|
+
lightBlue: {
|
|
396
|
+
50: "#F2F8FD",
|
|
397
|
+
100: "#E3EFFB",
|
|
398
|
+
200: "#C1E0F6",
|
|
399
|
+
300: "#8BC6EE",
|
|
400
|
+
400: "#3DA2E1",
|
|
401
|
+
500: "#258FD2",
|
|
402
|
+
600: "#1771B2",
|
|
403
|
+
700: "#145A90",
|
|
404
|
+
800: "#154D77",
|
|
405
|
+
900: "#174163",
|
|
406
|
+
950: "#062C2D"
|
|
407
|
+
},
|
|
408
|
+
sea: {
|
|
409
|
+
50: "#F4F6FC",
|
|
410
|
+
100: "#E8EDF6",
|
|
411
|
+
200: "#CBD9EB",
|
|
412
|
+
300: "#9FB9DA",
|
|
413
|
+
400: "#6A93C5",
|
|
414
|
+
500: "#446FA4",
|
|
415
|
+
600: "#375D92",
|
|
416
|
+
700: "#2D4B77",
|
|
417
|
+
800: "#294163",
|
|
418
|
+
900: "#263954",
|
|
419
|
+
950: "#1A2537"
|
|
420
|
+
},
|
|
421
|
+
blue: {
|
|
422
|
+
50: "#F0F6FE",
|
|
423
|
+
100: "#DDEAFC",
|
|
424
|
+
200: "#C2DBFB",
|
|
425
|
+
300: "#98C5F8",
|
|
426
|
+
400: "#68A7F2",
|
|
427
|
+
500: "#377CEB",
|
|
428
|
+
600: "#2F68E1",
|
|
429
|
+
700: "#2754CE",
|
|
430
|
+
800: "#20429E",
|
|
431
|
+
900: "#1C2A52",
|
|
432
|
+
950: "#061132"
|
|
433
|
+
},
|
|
434
|
+
lightPurple: {
|
|
435
|
+
50: "#F6F5FD",
|
|
436
|
+
100: "#EEEDFA",
|
|
437
|
+
200: "#DDDCFD",
|
|
438
|
+
300: "#BDB9EC",
|
|
439
|
+
400: "#AAA1E4",
|
|
440
|
+
500: "#826CE3",
|
|
441
|
+
600: "#7250D7",
|
|
442
|
+
700: "#623DC4",
|
|
443
|
+
800: "#5133A4",
|
|
444
|
+
900: "#442B87",
|
|
445
|
+
950: "#291A5B"
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
// ../tailwind-config/src/colors/semantic-palette.ts
|
|
450
|
+
var semanticPalette = {
|
|
451
|
+
primary: {
|
|
452
|
+
soft: { light: primitivePalette.blue[100], dark: primitivePalette.blue[950] },
|
|
453
|
+
light: { light: primitivePalette.blue[200], dark: primitivePalette.blue[900] },
|
|
454
|
+
main: { light: primitivePalette.blue[600], dark: primitivePalette.blue[600] },
|
|
455
|
+
dark: { light: primitivePalette.blue[800], dark: primitivePalette.blue[500] },
|
|
456
|
+
strong: { light: primitivePalette.blue[900], dark: primitivePalette.blue[200] }
|
|
457
|
+
},
|
|
458
|
+
secondary: {
|
|
459
|
+
soft: { light: primitivePalette.lightPurple[100], dark: primitivePalette.lightPurple[950] },
|
|
460
|
+
light: { light: primitivePalette.lightPurple[200], dark: primitivePalette.lightPurple[900] },
|
|
461
|
+
main: { light: primitivePalette.lightPurple[600], dark: primitivePalette.lightPurple[500] },
|
|
462
|
+
dark: { light: primitivePalette.lightPurple[800], dark: primitivePalette.lightPurple[700] },
|
|
463
|
+
strong: { light: primitivePalette.lightPurple[950], dark: primitivePalette.lightPurple[950] }
|
|
464
|
+
},
|
|
465
|
+
body: {
|
|
466
|
+
foreground: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[50] },
|
|
467
|
+
background: { light: primitivePalette.gray.cool[50], dark: primitivePalette.bg["06"] }
|
|
468
|
+
},
|
|
469
|
+
neutral: {
|
|
470
|
+
soft: { light: primitivePalette.gray.cool[100], dark: primitivePalette.gray.cool[900] },
|
|
471
|
+
light: { light: primitivePalette.gray.cool[200], dark: primitivePalette.gray.cool[700] },
|
|
472
|
+
main: { light: primitivePalette.gray.cool[400], dark: primitivePalette.gray.cool[400] },
|
|
473
|
+
dark: { light: primitivePalette.gray.cool[500], dark: primitivePalette.gray.cool[300] },
|
|
474
|
+
strong: { light: primitivePalette.gray.cool[700], dark: primitivePalette.gray.cool[200] }
|
|
475
|
+
},
|
|
476
|
+
trans: {
|
|
477
|
+
soft: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] },
|
|
478
|
+
light: { light: primitivePalette.opacity.black[10], dark: primitivePalette.opacity.white[10] },
|
|
479
|
+
main: { light: primitivePalette.opacity.black[20], dark: primitivePalette.opacity.white[20] },
|
|
480
|
+
dark: { light: primitivePalette.opacity.black[30], dark: primitivePalette.opacity.white[30] },
|
|
481
|
+
strong: { light: primitivePalette.opacity.black[60], dark: primitivePalette.opacity.black[60] }
|
|
482
|
+
},
|
|
483
|
+
common: {
|
|
484
|
+
black: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[950] },
|
|
485
|
+
white: { light: primitivePalette.gray.cool[50], dark: primitivePalette.gray.cool[50] },
|
|
486
|
+
transparent: { light: primitivePalette.opacity.white["0"], dark: primitivePalette.opacity.black["0"] },
|
|
487
|
+
hover: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] }
|
|
488
|
+
},
|
|
489
|
+
info: {
|
|
490
|
+
soft: { light: primitivePalette.teal[50], dark: primitivePalette.teal[950] },
|
|
491
|
+
light: { light: primitivePalette.teal[100], dark: primitivePalette.teal[900] },
|
|
492
|
+
main: { light: primitivePalette.teal[500], dark: primitivePalette.teal[500] },
|
|
493
|
+
dark: { light: primitivePalette.teal[600], dark: primitivePalette.teal[700] },
|
|
494
|
+
strong: { light: "", dark: "" }
|
|
495
|
+
},
|
|
496
|
+
success: {
|
|
497
|
+
soft: { light: primitivePalette.green[50], dark: primitivePalette.green[950] },
|
|
498
|
+
light: { light: primitivePalette.green[200], dark: primitivePalette.green[900] },
|
|
499
|
+
main: { light: primitivePalette.green[500], dark: primitivePalette.green[600] },
|
|
500
|
+
dark: { light: primitivePalette.green[600], dark: primitivePalette.green[700] },
|
|
501
|
+
strong: { light: "", dark: "" }
|
|
502
|
+
},
|
|
503
|
+
warning: {
|
|
504
|
+
soft: { light: primitivePalette.yellow[50], dark: primitivePalette.yellow[950] },
|
|
505
|
+
light: { light: primitivePalette.yellow[100], dark: primitivePalette.yellow[900] },
|
|
506
|
+
main: { light: primitivePalette.yellow[500], dark: primitivePalette.yellow[600] },
|
|
507
|
+
dark: { light: primitivePalette.yellow[600], dark: primitivePalette.yellow[700] },
|
|
508
|
+
strong: { light: "", dark: "" }
|
|
509
|
+
},
|
|
510
|
+
danger: {
|
|
511
|
+
soft: { light: primitivePalette.hotPink[50], dark: primitivePalette.hotPink[950] },
|
|
512
|
+
light: { light: primitivePalette.hotPink[200], dark: primitivePalette.hotPink[900] },
|
|
513
|
+
main: { light: primitivePalette.hotPink[500], dark: primitivePalette.hotPink[500] },
|
|
514
|
+
dark: { light: primitivePalette.hotPink[600], dark: primitivePalette.hotPink[700] },
|
|
515
|
+
strong: { light: "", dark: "" }
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
|
|
173
519
|
// ../tailwind-config/src/typography/font.ts
|
|
174
520
|
var fontSize = {
|
|
175
521
|
h1: [
|
|
@@ -373,7 +719,7 @@ var boxShadow = {
|
|
|
373
719
|
"drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
|
|
374
720
|
"drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
|
|
375
721
|
"drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
|
|
376
|
-
"drop-xl": "0
|
|
722
|
+
"drop-xl": "0 0px 60px 0 rgba(0, 0, 0, 0.2)"
|
|
377
723
|
};
|
|
378
724
|
|
|
379
725
|
// ../tailwind-config/src/border/radius.ts
|
|
@@ -382,8 +728,19 @@ var borderRadius = {
|
|
|
382
728
|
md: "6px",
|
|
383
729
|
lg: "8px",
|
|
384
730
|
xl: "10px",
|
|
731
|
+
"2xl": "20px",
|
|
385
732
|
none: "0",
|
|
386
|
-
full: "9999px"
|
|
733
|
+
full: "9999px",
|
|
734
|
+
2: "2px",
|
|
735
|
+
5: "5px"
|
|
736
|
+
};
|
|
737
|
+
|
|
738
|
+
// ../tailwind-config/src/border/width.ts
|
|
739
|
+
var borderWidth = {
|
|
740
|
+
sm: "1px",
|
|
741
|
+
md: "1.25px",
|
|
742
|
+
lg: "1.5px",
|
|
743
|
+
xl: "1.75px"
|
|
387
744
|
};
|
|
388
745
|
|
|
389
746
|
// ../tailwind-config/src/space/gap.ts
|
|
@@ -391,7 +748,11 @@ var gap = {
|
|
|
391
748
|
sm: "4px",
|
|
392
749
|
md: "6px",
|
|
393
750
|
lg: "8px",
|
|
394
|
-
xl: "10px"
|
|
751
|
+
xl: "10px",
|
|
752
|
+
5: "5px",
|
|
753
|
+
10: "10px",
|
|
754
|
+
20: "20px",
|
|
755
|
+
30: "30px"
|
|
395
756
|
};
|
|
396
757
|
|
|
397
758
|
// src/utils/tailwind-variants.ts
|
|
@@ -406,11 +767,464 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
406
767
|
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
407
768
|
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
408
769
|
padding: [{ p: [...COMMON_SIZE] }],
|
|
409
|
-
gap: [{ gap: [...typedKeys(gap)] }]
|
|
770
|
+
gap: [{ gap: [...typedKeys(gap)] }],
|
|
771
|
+
borderWidth: [{ border: [...typedKeys(borderWidth)] }]
|
|
410
772
|
}
|
|
411
773
|
}
|
|
412
774
|
});
|
|
413
775
|
|
|
776
|
+
// src/components/button/button.style.ts
|
|
777
|
+
var buttonBaseStyle = tv({
|
|
778
|
+
slots: {
|
|
779
|
+
base: [
|
|
780
|
+
"relative",
|
|
781
|
+
"flex",
|
|
782
|
+
"items-center",
|
|
783
|
+
"justify-center",
|
|
784
|
+
"whitespace-nowrap",
|
|
785
|
+
"transition",
|
|
786
|
+
"duration-200",
|
|
787
|
+
"select-none",
|
|
788
|
+
"overflow-hidden",
|
|
789
|
+
"box-border",
|
|
790
|
+
"border",
|
|
791
|
+
"border-transparent"
|
|
792
|
+
]
|
|
793
|
+
},
|
|
794
|
+
variants: {
|
|
795
|
+
variant: {
|
|
796
|
+
solid: [],
|
|
797
|
+
soft: [],
|
|
798
|
+
outline: [],
|
|
799
|
+
ghost: []
|
|
800
|
+
},
|
|
801
|
+
color: {
|
|
802
|
+
primary: [],
|
|
803
|
+
secondary: [],
|
|
804
|
+
neutral: [],
|
|
805
|
+
info: [],
|
|
806
|
+
success: [],
|
|
807
|
+
warning: [],
|
|
808
|
+
danger: []
|
|
809
|
+
},
|
|
810
|
+
disabled: {
|
|
811
|
+
true: {
|
|
812
|
+
base: ["!bg-neutral-soft", "!border-neutral-soft", "!text-neutral-light", "pointer-events-none"]
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
isInGroup: {
|
|
816
|
+
true: {
|
|
817
|
+
base: [
|
|
818
|
+
"[&:not(:first-child):not(:last-child)]:rounded-none",
|
|
819
|
+
"first:rounded-r-none",
|
|
820
|
+
"last:rounded-l-none",
|
|
821
|
+
"[&:not(:first-child)]:border-l-0"
|
|
822
|
+
]
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
compoundVariants: [
|
|
827
|
+
{
|
|
828
|
+
variant: "solid",
|
|
829
|
+
color: "primary",
|
|
830
|
+
class: {
|
|
831
|
+
base: [
|
|
832
|
+
"text-white",
|
|
833
|
+
"bg-primary-main",
|
|
834
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-primary-main)]",
|
|
835
|
+
"active:bg-primary-dark"
|
|
836
|
+
]
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
variant: "solid",
|
|
841
|
+
color: "secondary",
|
|
842
|
+
class: {
|
|
843
|
+
base: [
|
|
844
|
+
"text-white",
|
|
845
|
+
"bg-secondary-main",
|
|
846
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-secondary-main)]",
|
|
847
|
+
"active:bg-secondary-dark"
|
|
848
|
+
]
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
variant: "solid",
|
|
853
|
+
color: "neutral",
|
|
854
|
+
class: {
|
|
855
|
+
base: [
|
|
856
|
+
"text-white",
|
|
857
|
+
"bg-neutral-main",
|
|
858
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-neutral-main)]",
|
|
859
|
+
"active:bg-neutral-dark"
|
|
860
|
+
]
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
variant: "solid",
|
|
865
|
+
color: "info",
|
|
866
|
+
class: {
|
|
867
|
+
base: [
|
|
868
|
+
"text-white",
|
|
869
|
+
"bg-info-main",
|
|
870
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-info-main)]",
|
|
871
|
+
"active:bg-info-dark"
|
|
872
|
+
]
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
variant: "solid",
|
|
877
|
+
color: "success",
|
|
878
|
+
class: {
|
|
879
|
+
base: [
|
|
880
|
+
"text-white",
|
|
881
|
+
"bg-success-main",
|
|
882
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-success-main)]",
|
|
883
|
+
"active:bg-success-dark"
|
|
884
|
+
]
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
variant: "solid",
|
|
889
|
+
color: "warning",
|
|
890
|
+
class: {
|
|
891
|
+
base: [
|
|
892
|
+
"text-white",
|
|
893
|
+
"bg-warning-main",
|
|
894
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-warning-main)]",
|
|
895
|
+
"active:bg-warning-dark"
|
|
896
|
+
]
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
variant: "solid",
|
|
901
|
+
color: "danger",
|
|
902
|
+
class: {
|
|
903
|
+
base: [
|
|
904
|
+
"text-white",
|
|
905
|
+
"bg-danger-main",
|
|
906
|
+
"hover:[background:linear-gradient(0deg,var(--dn-trans-light)_0%,var(--dn-trans-light)_100%),var(--dn-danger-main)]",
|
|
907
|
+
"active:bg-danger-dark"
|
|
908
|
+
]
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
// soft & color
|
|
912
|
+
{
|
|
913
|
+
variant: "soft",
|
|
914
|
+
color: "primary",
|
|
915
|
+
class: {
|
|
916
|
+
base: [
|
|
917
|
+
"text-primary-main",
|
|
918
|
+
"bg-primary-soft",
|
|
919
|
+
"border-primary-soft",
|
|
920
|
+
"hover:border-primary-light",
|
|
921
|
+
"active:bg-primary-light"
|
|
922
|
+
]
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
variant: "soft",
|
|
927
|
+
color: "secondary",
|
|
928
|
+
class: {
|
|
929
|
+
base: [
|
|
930
|
+
"text-secondary-main",
|
|
931
|
+
"bg-secondary-soft",
|
|
932
|
+
"border-secondary-soft",
|
|
933
|
+
"hover:border-secondary-light",
|
|
934
|
+
"active:bg-secondary-light"
|
|
935
|
+
]
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
variant: "soft",
|
|
940
|
+
color: "neutral",
|
|
941
|
+
class: {
|
|
942
|
+
base: [
|
|
943
|
+
"text-neutral-main",
|
|
944
|
+
"bg-neutral-soft",
|
|
945
|
+
"border-neutral-soft",
|
|
946
|
+
"hover:border-neutral-light",
|
|
947
|
+
"active:bg-neutral-light"
|
|
948
|
+
]
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
variant: "soft",
|
|
953
|
+
color: "info",
|
|
954
|
+
class: {
|
|
955
|
+
base: ["text-info-main", "bg-info-soft", "border-info-soft", "hover:border-info-light", "active:bg-info-light"]
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
variant: "soft",
|
|
960
|
+
color: "success",
|
|
961
|
+
class: {
|
|
962
|
+
base: [
|
|
963
|
+
"text-success-main",
|
|
964
|
+
"bg-success-soft",
|
|
965
|
+
"border-success-soft",
|
|
966
|
+
"hover:border-success-light",
|
|
967
|
+
"active:bg-success-light"
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
variant: "soft",
|
|
973
|
+
color: "warning",
|
|
974
|
+
class: {
|
|
975
|
+
base: [
|
|
976
|
+
"text-warning-main",
|
|
977
|
+
"bg-warning-soft",
|
|
978
|
+
"border-warning-soft",
|
|
979
|
+
"hover:border-warning-light",
|
|
980
|
+
"active:bg-warning-light"
|
|
981
|
+
]
|
|
982
|
+
}
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
variant: "soft",
|
|
986
|
+
color: "danger",
|
|
987
|
+
class: {
|
|
988
|
+
base: [
|
|
989
|
+
"text-danger-main",
|
|
990
|
+
"bg-danger-soft",
|
|
991
|
+
"border-danger-soft",
|
|
992
|
+
"hover:border-danger-light",
|
|
993
|
+
"active:bg-danger-light"
|
|
994
|
+
]
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
// outline & color
|
|
998
|
+
{
|
|
999
|
+
variant: "outline",
|
|
1000
|
+
color: "primary",
|
|
1001
|
+
class: {
|
|
1002
|
+
base: [
|
|
1003
|
+
"bg-body-background",
|
|
1004
|
+
"border-primary-main",
|
|
1005
|
+
"text-primary-main",
|
|
1006
|
+
"hover:bg-primary-soft",
|
|
1007
|
+
"active:bg-primary-light"
|
|
1008
|
+
]
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
variant: "outline",
|
|
1013
|
+
color: "secondary",
|
|
1014
|
+
class: {
|
|
1015
|
+
base: [
|
|
1016
|
+
"bg-body-background",
|
|
1017
|
+
"border-secondary-main",
|
|
1018
|
+
"text-secondary-main",
|
|
1019
|
+
"hover:bg-secondary-soft",
|
|
1020
|
+
"active:bg-secondary-light"
|
|
1021
|
+
]
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
variant: "outline",
|
|
1026
|
+
color: "neutral",
|
|
1027
|
+
class: {
|
|
1028
|
+
base: [
|
|
1029
|
+
"bg-body-background",
|
|
1030
|
+
"border-neutral-main",
|
|
1031
|
+
"text-neutral-main",
|
|
1032
|
+
"hover:bg-neutral-soft",
|
|
1033
|
+
"active:bg-neutral-light"
|
|
1034
|
+
]
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
variant: "outline",
|
|
1039
|
+
color: "info",
|
|
1040
|
+
class: {
|
|
1041
|
+
base: [
|
|
1042
|
+
"bg-body-background",
|
|
1043
|
+
"border-info-main",
|
|
1044
|
+
"text-info-main",
|
|
1045
|
+
"hover:bg-info-soft",
|
|
1046
|
+
"active:bg-info-light"
|
|
1047
|
+
]
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
variant: "outline",
|
|
1052
|
+
color: "success",
|
|
1053
|
+
class: {
|
|
1054
|
+
base: [
|
|
1055
|
+
"bg-body-background",
|
|
1056
|
+
"border-success-main",
|
|
1057
|
+
"text-success-main",
|
|
1058
|
+
"hover:bg-success-soft",
|
|
1059
|
+
"active:bg-success-light"
|
|
1060
|
+
]
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
variant: "outline",
|
|
1065
|
+
color: "warning",
|
|
1066
|
+
class: {
|
|
1067
|
+
base: [
|
|
1068
|
+
"bg-body-background",
|
|
1069
|
+
"border-warning-main",
|
|
1070
|
+
"text-warning-main",
|
|
1071
|
+
"hover:bg-warning-soft",
|
|
1072
|
+
"active:bg-warning-light"
|
|
1073
|
+
]
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
variant: "outline",
|
|
1078
|
+
color: "danger",
|
|
1079
|
+
class: {
|
|
1080
|
+
base: [
|
|
1081
|
+
"bg-body-background",
|
|
1082
|
+
"border-danger-main",
|
|
1083
|
+
"text-danger-main",
|
|
1084
|
+
"hover:bg-danger-soft",
|
|
1085
|
+
"active:bg-danger-light"
|
|
1086
|
+
]
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
// ghost & color
|
|
1090
|
+
{
|
|
1091
|
+
variant: "ghost",
|
|
1092
|
+
color: "primary",
|
|
1093
|
+
class: {
|
|
1094
|
+
base: [
|
|
1095
|
+
"text-primary-main",
|
|
1096
|
+
"border-transparent",
|
|
1097
|
+
"hover:bg-primary-soft",
|
|
1098
|
+
"active:bg-primary-main",
|
|
1099
|
+
"active:text-common-white"
|
|
1100
|
+
]
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
variant: "ghost",
|
|
1105
|
+
color: "secondary",
|
|
1106
|
+
class: {
|
|
1107
|
+
base: [
|
|
1108
|
+
"text-secondary-main",
|
|
1109
|
+
"border-transparent",
|
|
1110
|
+
"hover:bg-secondary-soft",
|
|
1111
|
+
"active:bg-secondary-main",
|
|
1112
|
+
"active:text-common-white"
|
|
1113
|
+
]
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
variant: "ghost",
|
|
1118
|
+
color: "neutral",
|
|
1119
|
+
class: {
|
|
1120
|
+
base: [
|
|
1121
|
+
"text-neutral-main",
|
|
1122
|
+
"border-transparent",
|
|
1123
|
+
"hover:bg-neutral-soft",
|
|
1124
|
+
"active:bg-neutral-main",
|
|
1125
|
+
"active:text-common-white"
|
|
1126
|
+
]
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
variant: "ghost",
|
|
1131
|
+
color: "info",
|
|
1132
|
+
class: {
|
|
1133
|
+
base: [
|
|
1134
|
+
"text-info-main",
|
|
1135
|
+
"border-transparent",
|
|
1136
|
+
"hover:bg-info-soft",
|
|
1137
|
+
"active:bg-info-main",
|
|
1138
|
+
"active:text-common-white"
|
|
1139
|
+
]
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
variant: "ghost",
|
|
1144
|
+
color: "success",
|
|
1145
|
+
class: {
|
|
1146
|
+
base: [
|
|
1147
|
+
"text-success-main",
|
|
1148
|
+
"border-transparent",
|
|
1149
|
+
"hover:bg-success-soft",
|
|
1150
|
+
"active:bg-success-main",
|
|
1151
|
+
"active:text-common-white"
|
|
1152
|
+
]
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
variant: "ghost",
|
|
1157
|
+
color: "warning",
|
|
1158
|
+
class: {
|
|
1159
|
+
base: [
|
|
1160
|
+
"text-warning-main",
|
|
1161
|
+
"border-transparent",
|
|
1162
|
+
"hover:bg-warning-soft",
|
|
1163
|
+
"active:bg-warning-main",
|
|
1164
|
+
"active:text-common-white"
|
|
1165
|
+
]
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
variant: "ghost",
|
|
1170
|
+
color: "danger",
|
|
1171
|
+
class: {
|
|
1172
|
+
base: [
|
|
1173
|
+
"text-danger-main",
|
|
1174
|
+
"border-transparent",
|
|
1175
|
+
"hover:bg-danger-soft",
|
|
1176
|
+
"active:bg-danger-main",
|
|
1177
|
+
"active:text-common-white"
|
|
1178
|
+
]
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
// variant && size
|
|
1182
|
+
{
|
|
1183
|
+
variant: ["soft", "outline"],
|
|
1184
|
+
size: "sm",
|
|
1185
|
+
class: {
|
|
1186
|
+
base: ["border-sm"]
|
|
1187
|
+
}
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
variant: ["soft", "outline"],
|
|
1191
|
+
size: "md",
|
|
1192
|
+
class: {
|
|
1193
|
+
base: ["border-md"]
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
variant: ["soft", "outline"],
|
|
1198
|
+
size: "lg",
|
|
1199
|
+
class: {
|
|
1200
|
+
base: ["border-lg"]
|
|
1201
|
+
}
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
variant: ["soft", "outline"],
|
|
1205
|
+
size: "xl",
|
|
1206
|
+
class: {
|
|
1207
|
+
base: ["border-xl"]
|
|
1208
|
+
}
|
|
1209
|
+
},
|
|
1210
|
+
// variant && disabled
|
|
1211
|
+
{
|
|
1212
|
+
variant: ["soft", "ghost"],
|
|
1213
|
+
disabled: true,
|
|
1214
|
+
class: {
|
|
1215
|
+
base: ["!border-neutral-soft"]
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
variant: ["outline"],
|
|
1220
|
+
disabled: true,
|
|
1221
|
+
class: {
|
|
1222
|
+
base: ["!border-neutral-light"]
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
]
|
|
1226
|
+
});
|
|
1227
|
+
|
|
414
1228
|
// src/utils/props.ts
|
|
415
1229
|
var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
416
1230
|
if (!variantKeys) {
|
|
@@ -523,10 +1337,11 @@ var TextButton = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
523
1337
|
TextButton.displayName = "TextButton";
|
|
524
1338
|
var text_button_default = TextButton;
|
|
525
1339
|
var textButtonStyle = tv({
|
|
1340
|
+
extend: buttonBaseStyle,
|
|
526
1341
|
slots: {
|
|
527
|
-
base: ["
|
|
1342
|
+
base: ["!bg-transparent", "!border-transparent", "active:text-primary-strong", "font-bold"],
|
|
528
1343
|
content: [],
|
|
529
|
-
underline: ["underline", "decoration-skip-ink"
|
|
1344
|
+
underline: ["underline", "decoration-skip-ink"]
|
|
530
1345
|
},
|
|
531
1346
|
variants: {
|
|
532
1347
|
variant: {
|
|
@@ -545,35 +1360,30 @@ var textButtonStyle = tv({
|
|
|
545
1360
|
size: {
|
|
546
1361
|
sm: {
|
|
547
1362
|
base: ["text-sm"],
|
|
548
|
-
underline: ["decoration-[
|
|
1363
|
+
underline: ["decoration-[0.6px]", "underline-offset-[2.4px]"]
|
|
549
1364
|
},
|
|
550
1365
|
md: {
|
|
551
1366
|
base: ["text-md"],
|
|
552
|
-
underline: ["decoration-[
|
|
1367
|
+
underline: ["decoration-[0.7px]", "underline-offset-[2.8px]"]
|
|
553
1368
|
},
|
|
554
1369
|
lg: {
|
|
555
1370
|
base: ["text-lg"],
|
|
556
|
-
underline: ["decoration-[
|
|
1371
|
+
underline: ["decoration-[0.8px]", "underline-offset-[3.2px]"]
|
|
557
1372
|
},
|
|
558
1373
|
xl: {
|
|
559
1374
|
base: ["text-xl"],
|
|
560
|
-
underline: ["decoration-[
|
|
1375
|
+
underline: ["decoration-[0.9px]", "underline-offset-[3.6px]"]
|
|
561
1376
|
}
|
|
562
1377
|
},
|
|
563
1378
|
disabled: {
|
|
564
1379
|
true: {
|
|
565
|
-
base: ["!text-neutral-light", "pointer-events-none"]
|
|
566
|
-
}
|
|
1380
|
+
base: ["!bg-transparent", "!border-transparent", "!text-neutral-light", "pointer-events-none"]
|
|
1381
|
+
},
|
|
1382
|
+
false: {}
|
|
567
1383
|
},
|
|
568
1384
|
isInGroup: {
|
|
569
|
-
true: {
|
|
570
|
-
|
|
571
|
-
"[&:not(:first-child):not(:last-child)]:rounded-none",
|
|
572
|
-
"first:rounded-r-none",
|
|
573
|
-
"last:rounded-l-none",
|
|
574
|
-
"[&:not(:first-child)]:border-l-0"
|
|
575
|
-
]
|
|
576
|
-
}
|
|
1385
|
+
true: {},
|
|
1386
|
+
false: {}
|
|
577
1387
|
}
|
|
578
1388
|
},
|
|
579
1389
|
compoundVariants: [
|
|
@@ -592,7 +1402,7 @@ var textButtonStyle = tv({
|
|
|
592
1402
|
{
|
|
593
1403
|
color: "neutral",
|
|
594
1404
|
class: {
|
|
595
|
-
base: ["text-
|
|
1405
|
+
base: ["text-body-foreground", "hover:text-neutral-dark", "active:text-neutral-strong"]
|
|
596
1406
|
}
|
|
597
1407
|
},
|
|
598
1408
|
{
|