@sytechui/theme 2.6.1 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JV5J6JHS.mjs → chunk-47BB6GL3.mjs} +1 -1
- package/dist/{chunk-BHGZZQCH.mjs → chunk-4N2PLITL.mjs} +1 -1
- package/dist/{chunk-4CEUCYJO.mjs → chunk-5DJU5KUL.mjs} +1 -1
- package/dist/{chunk-ZLTZIM6X.mjs → chunk-7ARJ2TQM.mjs} +1 -1
- package/dist/chunk-7FAFG773.mjs +69 -0
- package/dist/{chunk-JGY6VQQQ.mjs → chunk-7K2CWEHT.mjs} +8 -1
- package/dist/{chunk-FZM5ZZP2.mjs → chunk-AGSAOCCR.mjs} +1 -1
- package/dist/{chunk-SRSOCM2C.mjs → chunk-AL5UNXQI.mjs} +1 -1
- package/dist/{chunk-7QDYFNL6.mjs → chunk-ECD4ABCS.mjs} +1 -1
- package/dist/{chunk-K3TTKHSU.mjs → chunk-EZ47UJPD.mjs} +1 -1
- package/dist/{chunk-GQMW4NEU.mjs → chunk-I5YZBAB3.mjs} +1 -1
- package/dist/{chunk-FBI452W6.mjs → chunk-KKEJLP4U.mjs} +1 -1
- package/dist/{chunk-EOYBTX52.mjs → chunk-MTBQ5EO5.mjs} +1 -1
- package/dist/{chunk-TOGBVQYA.mjs → chunk-NJBUOBAS.mjs} +7 -3
- package/dist/{chunk-QP5CGENQ.mjs → chunk-OSP4OLTO.mjs} +1 -1
- package/dist/{chunk-FLCPUBBE.mjs → chunk-P5HLCB43.mjs} +1 -1
- package/dist/chunk-PY74IHS4.mjs +96 -0
- package/dist/{chunk-2WQ76NXU.mjs → chunk-ROFEKAS6.mjs} +1 -1
- package/dist/{chunk-KCPJHUUJ.mjs → chunk-USGOG5QI.mjs} +1 -1
- package/dist/{chunk-DBDK3IF7.mjs → chunk-W37Q6YFS.mjs} +1 -1
- package/dist/{chunk-FNHXMO5W.mjs → chunk-WH4ODSEM.mjs} +1 -1
- package/dist/{chunk-2BUT7L7P.mjs → chunk-XBJNS5SU.mjs} +1 -1
- package/dist/chunk-XKMMJKKB.mjs +29 -0
- package/dist/{chunk-LYTXO6TG.mjs → chunk-Z4ZQGUPY.mjs} +258 -398
- package/dist/{chunk-VK7USAMR.mjs → chunk-ZWG2GMCI.mjs} +1 -1
- package/dist/components/accordion.js +21 -0
- package/dist/components/accordion.mjs +25 -24
- package/dist/components/alert.d.mts +215 -110
- package/dist/components/alert.d.ts +215 -110
- package/dist/components/alert.js +86 -380
- package/dist/components/alert.mjs +9 -45
- package/dist/components/autocomplete.js +21 -0
- package/dist/components/autocomplete.mjs +5 -5
- package/dist/components/avatar.js +21 -0
- package/dist/components/avatar.mjs +25 -24
- package/dist/components/badge.js +21 -0
- package/dist/components/badge.mjs +25 -24
- package/dist/components/bottom-bar.js +21 -0
- package/dist/components/bottom-bar.mjs +25 -24
- package/dist/components/breadcrumbs.js +21 -0
- package/dist/components/breadcrumbs.mjs +25 -24
- package/dist/components/button.js +21 -0
- package/dist/components/button.mjs +25 -24
- package/dist/components/calendar.js +21 -0
- package/dist/components/calendar.mjs +25 -24
- package/dist/components/card.js +21 -0
- package/dist/components/card.mjs +25 -24
- package/dist/components/checkbox.js +28 -4
- package/dist/components/checkbox.mjs +25 -24
- package/dist/components/chip.js +21 -0
- package/dist/components/chip.mjs +25 -24
- package/dist/components/code.js +21 -0
- package/dist/components/code.mjs +25 -24
- package/dist/components/date-input.js +21 -0
- package/dist/components/date-input.mjs +5 -5
- package/dist/components/date-picker.js +21 -0
- package/dist/components/date-picker.mjs +5 -5
- package/dist/components/divider.d.mts +40 -1
- package/dist/components/divider.d.ts +40 -1
- package/dist/components/divider.js +33 -3
- package/dist/components/divider.mjs +9 -7
- package/dist/components/drawer.js +21 -0
- package/dist/components/drawer.mjs +5 -5
- package/dist/components/drip.js +21 -0
- package/dist/components/drip.mjs +5 -5
- package/dist/components/drop-zone.js +21 -0
- package/dist/components/drop-zone.mjs +25 -24
- package/dist/components/dropdown.js +21 -0
- package/dist/components/dropdown.mjs +25 -24
- package/dist/components/form.js +21 -0
- package/dist/components/form.mjs +5 -5
- package/dist/components/image.js +21 -0
- package/dist/components/image.mjs +5 -5
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +349 -368
- package/dist/components/index.mjs +32 -26
- package/dist/components/input-otp.js +21 -0
- package/dist/components/input-otp.mjs +25 -24
- package/dist/components/input.js +21 -0
- package/dist/components/input.mjs +25 -24
- package/dist/components/kbd.js +21 -0
- package/dist/components/kbd.mjs +5 -5
- package/dist/components/link.js +21 -0
- package/dist/components/link.mjs +25 -24
- package/dist/components/listbox.js +21 -0
- package/dist/components/listbox.mjs +25 -24
- package/dist/components/menu.js +21 -0
- package/dist/components/menu.mjs +25 -24
- package/dist/components/modal.js +21 -0
- package/dist/components/modal.mjs +25 -24
- package/dist/components/navbar.js +21 -0
- package/dist/components/navbar.mjs +25 -24
- package/dist/components/number-input.js +21 -0
- package/dist/components/number-input.mjs +25 -24
- package/dist/components/pagination.js +21 -0
- package/dist/components/pagination.mjs +25 -24
- package/dist/components/popover.js +21 -0
- package/dist/components/popover.mjs +25 -24
- package/dist/components/progress.js +21 -0
- package/dist/components/progress.mjs +5 -5
- package/dist/components/radio.js +21 -0
- package/dist/components/radio.mjs +25 -24
- package/dist/components/scroll-area.js +21 -0
- package/dist/components/scroll-area.mjs +5 -5
- package/dist/components/scroll-shadow.js +21 -0
- package/dist/components/scroll-shadow.mjs +5 -5
- package/dist/components/select.js +21 -0
- package/dist/components/select.mjs +25 -24
- package/dist/components/shimmer-text.js +21 -0
- package/dist/components/shimmer-text.mjs +5 -5
- package/dist/components/skeleton.js +21 -0
- package/dist/components/skeleton.mjs +5 -5
- package/dist/components/slider.js +21 -0
- package/dist/components/slider.mjs +25 -24
- package/dist/components/snippet.js +21 -0
- package/dist/components/snippet.mjs +25 -24
- package/dist/components/spacer.js +21 -0
- package/dist/components/spacer.mjs +5 -5
- package/dist/components/spinner.js +21 -0
- package/dist/components/spinner.mjs +5 -5
- package/dist/components/stepper.js +21 -0
- package/dist/components/stepper.mjs +25 -24
- package/dist/components/table.d.mts +93 -12
- package/dist/components/table.d.ts +93 -12
- package/dist/components/table.js +195 -44
- package/dist/components/table.mjs +25 -24
- package/dist/components/tabs.d.mts +81 -15
- package/dist/components/tabs.d.ts +81 -15
- package/dist/components/tabs.js +95 -15
- package/dist/components/tabs.mjs +25 -24
- package/dist/components/toast.js +21 -0
- package/dist/components/toast.mjs +25 -24
- package/dist/components/toggle.js +21 -0
- package/dist/components/toggle.mjs +25 -24
- package/dist/components/user.js +21 -0
- package/dist/components/user.mjs +25 -24
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +376 -370
- package/dist/index.mjs +32 -26
- package/dist/plugin.js +48 -2
- package/dist/plugin.mjs +4 -4
- package/dist/utilities/index.d.mts +18 -0
- package/dist/utilities/index.d.ts +18 -0
- package/dist/utilities/index.js +21 -0
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities/scrollbar-hide.d.mts +39 -4
- package/dist/utilities/scrollbar-hide.d.ts +39 -4
- package/dist/utilities/scrollbar-hide.js +44 -1
- package/dist/utilities/scrollbar-hide.mjs +4 -2
- package/dist/utils/classes.d.mts +7 -0
- package/dist/utils/classes.d.ts +7 -0
- package/dist/utils/classes.js +8 -1
- package/dist/utils/classes.mjs +1 -1
- package/dist/utils/cn.js +21 -0
- package/dist/utils/cn.mjs +4 -4
- package/dist/utils/index.js +29 -1
- package/dist/utils/index.mjs +25 -24
- package/dist/utils/merge-classes.js +21 -0
- package/dist/utils/merge-classes.mjs +25 -24
- package/dist/utils/tv.js +21 -0
- package/dist/utils/tv.mjs +4 -4
- package/dist/utils/tw-merge-config.js +21 -0
- package/dist/utils/tw-merge-config.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunk-7ZVSC6V6.mjs +0 -21
- package/dist/chunk-WH6SPIFG.mjs +0 -30
package/dist/components/alert.js
CHANGED
|
@@ -20,7 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/components/alert.ts
|
|
21
21
|
var alert_exports = {};
|
|
22
22
|
__export(alert_exports, {
|
|
23
|
-
alert: () => alert
|
|
23
|
+
alert: () => alert,
|
|
24
|
+
alertVariants: () => alertVariants
|
|
24
25
|
});
|
|
25
26
|
module.exports = __toCommonJS(alert_exports);
|
|
26
27
|
|
|
@@ -114,6 +115,19 @@ var custom_default = {
|
|
|
114
115
|
|
|
115
116
|
// src/utilities/scrollbar-hide.ts
|
|
116
117
|
var scrollbar_hide_default = {
|
|
118
|
+
/**
|
|
119
|
+
* Theme-aware scrollbar
|
|
120
|
+
*/
|
|
121
|
+
".scrollbar": {
|
|
122
|
+
"scrollbar-width": "var(--scrollbar-width)",
|
|
123
|
+
"scrollbar-color": "var(--scrollbar-color)",
|
|
124
|
+
"scrollbar-gutter": "var(--scrollbar-gutter)"
|
|
125
|
+
},
|
|
126
|
+
".scrollbar-thin": {
|
|
127
|
+
"scrollbar-width": "thin",
|
|
128
|
+
"scrollbar-color": "var(--scrollbar-thumb) var(--scrollbar-track)",
|
|
129
|
+
"scrollbar-gutter": "auto"
|
|
130
|
+
},
|
|
117
131
|
/**
|
|
118
132
|
* Scroll Hide
|
|
119
133
|
*/
|
|
@@ -132,10 +146,18 @@ var scrollbar_hide_default = {
|
|
|
132
146
|
"-ms-overflow-style": "auto",
|
|
133
147
|
/* Firefox */
|
|
134
148
|
"scrollbar-width": "auto",
|
|
149
|
+
"scrollbar-color": "auto",
|
|
150
|
+
"scrollbar-gutter": "auto",
|
|
135
151
|
/* Safari and Chrome */
|
|
136
152
|
"&::-webkit-scrollbar": {
|
|
137
153
|
display: "block"
|
|
138
154
|
}
|
|
155
|
+
},
|
|
156
|
+
".scrollbar-none": {
|
|
157
|
+
"-ms-overflow-style": "none",
|
|
158
|
+
"scrollbar-width": "none",
|
|
159
|
+
"scrollbar-color": "auto",
|
|
160
|
+
"scrollbar-gutter": "auto"
|
|
139
161
|
}
|
|
140
162
|
};
|
|
141
163
|
|
|
@@ -272,108 +294,67 @@ var tv = (options, config) => {
|
|
|
272
294
|
});
|
|
273
295
|
};
|
|
274
296
|
|
|
275
|
-
// src/utils/variants.ts
|
|
276
|
-
var solid = {
|
|
277
|
-
default: "bg-default text-default-foreground",
|
|
278
|
-
primary: "bg-primary text-primary-foreground",
|
|
279
|
-
secondary: "bg-secondary text-secondary-foreground",
|
|
280
|
-
success: "bg-success text-success-foreground",
|
|
281
|
-
warning: "bg-warning text-warning-foreground",
|
|
282
|
-
danger: "bg-danger text-danger-foreground",
|
|
283
|
-
foreground: "bg-foreground text-background"
|
|
284
|
-
};
|
|
285
|
-
var shadow = {
|
|
286
|
-
default: "shadow-lg shadow-default/50 bg-default text-default-foreground",
|
|
287
|
-
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
288
|
-
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
289
|
-
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
290
|
-
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-foreground",
|
|
291
|
-
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-foreground",
|
|
292
|
-
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
293
|
-
};
|
|
294
|
-
var bordered = {
|
|
295
|
-
default: "bg-transparent border-default text-foreground",
|
|
296
|
-
primary: "bg-transparent border-primary text-primary",
|
|
297
|
-
secondary: "bg-transparent border-secondary text-secondary",
|
|
298
|
-
success: "bg-transparent border-success text-success",
|
|
299
|
-
warning: "bg-transparent border-warning text-warning",
|
|
300
|
-
danger: "bg-transparent border-danger text-danger",
|
|
301
|
-
foreground: "bg-transparent border-foreground text-foreground"
|
|
302
|
-
};
|
|
303
|
-
var flat = {
|
|
304
|
-
default: "bg-default/40 text-default-700",
|
|
305
|
-
primary: "bg-primary/20 text-primary-600",
|
|
306
|
-
secondary: "bg-secondary/20 text-secondary-600",
|
|
307
|
-
success: "bg-success/20 text-success-700 dark:text-success",
|
|
308
|
-
warning: "bg-warning/20 text-warning-700 dark:text-warning",
|
|
309
|
-
danger: "bg-danger/20 text-danger-600 dark:text-danger-500",
|
|
310
|
-
foreground: "bg-foreground/10 text-foreground"
|
|
311
|
-
};
|
|
312
|
-
var faded = {
|
|
313
|
-
default: "border-default bg-default-100 text-default-foreground",
|
|
314
|
-
primary: "border-default bg-default-100 text-primary",
|
|
315
|
-
secondary: "border-default bg-default-100 text-secondary",
|
|
316
|
-
success: "border-default bg-default-100 text-success",
|
|
317
|
-
warning: "border-default bg-default-100 text-warning",
|
|
318
|
-
danger: "border-default bg-default-100 text-danger",
|
|
319
|
-
foreground: "border-default bg-default-100 text-foreground"
|
|
320
|
-
};
|
|
321
|
-
var light = {
|
|
322
|
-
default: "bg-transparent text-default-foreground",
|
|
323
|
-
primary: "bg-transparent text-primary",
|
|
324
|
-
secondary: "bg-transparent text-secondary",
|
|
325
|
-
success: "bg-transparent text-success",
|
|
326
|
-
warning: "bg-transparent text-warning",
|
|
327
|
-
danger: "bg-transparent text-danger",
|
|
328
|
-
foreground: "bg-transparent text-foreground"
|
|
329
|
-
};
|
|
330
|
-
var ghost = {
|
|
331
|
-
default: "border-default text-default-foreground",
|
|
332
|
-
primary: "border-primary text-primary",
|
|
333
|
-
secondary: "border-secondary text-secondary",
|
|
334
|
-
success: "border-success text-success",
|
|
335
|
-
warning: "border-warning text-warning",
|
|
336
|
-
danger: "border-danger text-danger",
|
|
337
|
-
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
338
|
-
};
|
|
339
|
-
var colorVariants = {
|
|
340
|
-
solid,
|
|
341
|
-
shadow,
|
|
342
|
-
bordered,
|
|
343
|
-
flat,
|
|
344
|
-
faded,
|
|
345
|
-
light,
|
|
346
|
-
ghost
|
|
347
|
-
};
|
|
348
|
-
|
|
349
297
|
// src/components/alert.ts
|
|
350
|
-
var
|
|
298
|
+
var accentColor = [
|
|
299
|
+
"text-[color:color-mix(in_oklab,oklch(0.6204_0.195_253.83)_70%,oklch(0.2103_0.0059_285.89)_30%)]",
|
|
300
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.6204_0.195_253.83)_80%,oklch(0.9911_0_0)_30%)]"
|
|
301
|
+
];
|
|
302
|
+
var successColor = [
|
|
303
|
+
"text-[color:color-mix(in_oklab,oklch(0.7329_0.1935_150.81)_80%,oklch(0.2103_0.0059_285.89)_60%)]",
|
|
304
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.7329_0.1935_150.81)_80%,oklch(0.9911_0_0)_30%)]"
|
|
305
|
+
];
|
|
306
|
+
var warningColor = [
|
|
307
|
+
"text-[color:color-mix(in_oklab,oklch(0.7819_0.1585_72.33)_80%,oklch(0.2103_0.0059_285.89)_70%)]",
|
|
308
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.8203_0.1388_76.34)_80%,oklch(0.9911_0_0)_30%)]"
|
|
309
|
+
];
|
|
310
|
+
var dangerColor = [
|
|
311
|
+
"text-[color:color-mix(in_oklab,oklch(0.6532_0.2328_25.74)_70%,oklch(0.2103_0.0059_285.89)_40%)]",
|
|
312
|
+
"dark:text-[color:color-mix(in_oklab,oklch(0.594_0.1967_24.63)_80%,oklch(0.9911_0_0)_30%)]"
|
|
313
|
+
];
|
|
314
|
+
var alertVariants = tv({
|
|
351
315
|
slots: {
|
|
352
|
-
base:
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
316
|
+
base: [
|
|
317
|
+
"flex w-full flex-row items-start justify-start gap-1 px-4 py-3",
|
|
318
|
+
"rounded-[24px] bg-[oklch(100%_0_0)] text-[oklch(0.2103_0.0059_285.89)]",
|
|
319
|
+
"dark:bg-[oklch(0.2103_0.0059_285.89)] dark:text-[oklch(0.9911_0_0)]",
|
|
320
|
+
"shadow-[0_2px_4px_0_rgba(0,0,0,0.04),0_1px_2px_0_rgba(0,0,0,0.06),0_0_1px_0_rgba(0,0,0,0.06)]",
|
|
321
|
+
"dark:shadow-none"
|
|
322
|
+
],
|
|
323
|
+
content: "flex h-full grow flex-col items-start",
|
|
324
|
+
indicator: [
|
|
325
|
+
"flex size-6 shrink-0 items-center justify-center p-1 select-none",
|
|
326
|
+
"[&_[data-slot=alert-default-icon]]:box-content",
|
|
327
|
+
"[&_[data-slot=alert-default-icon]]:size-4"
|
|
328
|
+
],
|
|
329
|
+
title: "text-small leading-6 font-medium",
|
|
330
|
+
description: "text-small text-[oklch(0.5517_0.0138_285.94)] dark:text-[oklch(70.5%_0.015_286.067)]"
|
|
359
331
|
},
|
|
360
332
|
variants: {
|
|
361
|
-
|
|
362
|
-
default: {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
base: "border-
|
|
333
|
+
status: {
|
|
334
|
+
default: {
|
|
335
|
+
base: "border-default-300",
|
|
336
|
+
indicator: "text-inherit",
|
|
337
|
+
title: "text-inherit"
|
|
338
|
+
},
|
|
339
|
+
accent: {
|
|
340
|
+
base: "border-primary-300",
|
|
341
|
+
indicator: accentColor,
|
|
342
|
+
title: accentColor
|
|
343
|
+
},
|
|
344
|
+
success: {
|
|
345
|
+
base: "border-success-300",
|
|
346
|
+
indicator: successColor,
|
|
347
|
+
title: successColor
|
|
374
348
|
},
|
|
375
|
-
|
|
376
|
-
base: "border-
|
|
349
|
+
warning: {
|
|
350
|
+
base: "border-warning-300",
|
|
351
|
+
indicator: warningColor,
|
|
352
|
+
title: warningColor
|
|
353
|
+
},
|
|
354
|
+
danger: {
|
|
355
|
+
base: "border-danger-300",
|
|
356
|
+
indicator: dangerColor,
|
|
357
|
+
title: dangerColor
|
|
377
358
|
}
|
|
378
359
|
},
|
|
379
360
|
radius: {
|
|
@@ -387,296 +368,21 @@ var alert = tv({
|
|
|
387
368
|
base: "rounded-medium"
|
|
388
369
|
},
|
|
389
370
|
lg: {
|
|
390
|
-
base: "rounded-
|
|
371
|
+
base: "rounded-[24px]"
|
|
391
372
|
},
|
|
392
373
|
full: {
|
|
393
374
|
base: "rounded-full"
|
|
394
375
|
}
|
|
395
|
-
},
|
|
396
|
-
hideIcon: {
|
|
397
|
-
true: {
|
|
398
|
-
iconWrapper: "hidden"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
hideIconWrapper: {
|
|
402
|
-
true: {
|
|
403
|
-
base: "gap-x-0",
|
|
404
|
-
iconWrapper: "!bg-transparent !shadow-none !border-none"
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
hasContent: {
|
|
408
|
-
false: {
|
|
409
|
-
base: "items-center",
|
|
410
|
-
mainWrapper: "justify-center items-center"
|
|
411
|
-
}
|
|
412
376
|
}
|
|
413
377
|
},
|
|
414
378
|
defaultVariants: {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
hideIcon: false,
|
|
419
|
-
hideIconWrapper: false
|
|
420
|
-
},
|
|
421
|
-
compoundVariants: [
|
|
422
|
-
// solid / color
|
|
423
|
-
{
|
|
424
|
-
variant: "solid",
|
|
425
|
-
color: "default",
|
|
426
|
-
class: {
|
|
427
|
-
base: colorVariants.solid.default,
|
|
428
|
-
closeButton: "data-[hover]:bg-default-100",
|
|
429
|
-
alertIcon: "text-default-foreground"
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
variant: "solid",
|
|
434
|
-
color: "primary",
|
|
435
|
-
class: {
|
|
436
|
-
base: colorVariants.solid.primary
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
variant: "solid",
|
|
441
|
-
color: "secondary",
|
|
442
|
-
class: {
|
|
443
|
-
base: colorVariants.solid.secondary
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
variant: "solid",
|
|
448
|
-
color: "success",
|
|
449
|
-
class: {
|
|
450
|
-
base: colorVariants.solid.success
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
variant: "solid",
|
|
455
|
-
color: "warning",
|
|
456
|
-
class: {
|
|
457
|
-
base: colorVariants.solid.warning
|
|
458
|
-
}
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
variant: "solid",
|
|
462
|
-
color: "danger",
|
|
463
|
-
class: {
|
|
464
|
-
base: colorVariants.solid.danger
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
// flat & faded / color
|
|
468
|
-
{
|
|
469
|
-
variant: ["flat", "faded"],
|
|
470
|
-
color: "default",
|
|
471
|
-
class: {
|
|
472
|
-
base: [
|
|
473
|
-
colorVariants.flat.default,
|
|
474
|
-
"bg-default-100 dark:bg-default-50/50",
|
|
475
|
-
"text-default-foreground"
|
|
476
|
-
],
|
|
477
|
-
description: "text-default-600",
|
|
478
|
-
closeButton: "text-default-400",
|
|
479
|
-
iconWrapper: "bg-default-50 dark:bg-default-100 border-default-200"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
variant: ["flat", "faded"],
|
|
484
|
-
color: "primary",
|
|
485
|
-
class: {
|
|
486
|
-
base: [colorVariants.flat.primary, "bg-primary-50 dark:bg-primary-50/50"],
|
|
487
|
-
closeButton: "text-primary-500 data-[hover]:bg-primary-200",
|
|
488
|
-
iconWrapper: "bg-primary-50 dark:bg-primary-100 border-primary-100"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
variant: ["flat", "faded"],
|
|
493
|
-
color: "secondary",
|
|
494
|
-
class: {
|
|
495
|
-
base: [colorVariants.flat.secondary, "bg-secondary-50 dark:bg-secondary-50/50"],
|
|
496
|
-
closeButton: "text-secondary-500 data-[hover]:bg-secondary-200",
|
|
497
|
-
iconWrapper: "bg-secondary-50 dark:bg-secondary-100 border-secondary-100"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
variant: ["flat", "faded"],
|
|
502
|
-
color: "success",
|
|
503
|
-
class: {
|
|
504
|
-
base: [colorVariants.flat.success, "bg-success-50 dark:bg-success-50/50"],
|
|
505
|
-
closeButton: "text-success-500 data-[hover]:bg-success-200",
|
|
506
|
-
iconWrapper: "bg-success-50 dark:bg-success-100 border-success-100"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
variant: ["flat", "faded"],
|
|
511
|
-
color: "warning",
|
|
512
|
-
class: {
|
|
513
|
-
base: [colorVariants.flat.warning, "bg-warning-50 dark:bg-warning-50/50"],
|
|
514
|
-
closeButton: "text-warning-500 data-[hover]:bg-warning-200",
|
|
515
|
-
iconWrapper: "bg-warning-50 dark:bg-warning-100 border-warning-100"
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
variant: ["flat", "faded"],
|
|
520
|
-
color: "danger",
|
|
521
|
-
class: {
|
|
522
|
-
base: [colorVariants.flat.danger, "bg-danger-50 dark:bg-danger-50/50"],
|
|
523
|
-
closeButton: "text-danger-500 data-[hover]:bg-danger-200",
|
|
524
|
-
iconWrapper: "bg-danger-50 dark:bg-danger-100 border-danger-100"
|
|
525
|
-
}
|
|
526
|
-
},
|
|
527
|
-
// faded / color
|
|
528
|
-
{
|
|
529
|
-
variant: "faded",
|
|
530
|
-
color: "default",
|
|
531
|
-
class: {
|
|
532
|
-
base: "border-default-300 dark:border-default-200"
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
variant: "faded",
|
|
537
|
-
color: "primary",
|
|
538
|
-
class: {
|
|
539
|
-
base: "border-primary-200 dark:border-primary-100"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
variant: "faded",
|
|
544
|
-
color: "secondary",
|
|
545
|
-
class: {
|
|
546
|
-
base: "border-secondary-200"
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
variant: "faded",
|
|
551
|
-
color: "success",
|
|
552
|
-
class: {
|
|
553
|
-
base: "border-success-300 dark:border-success-100"
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
variant: "faded",
|
|
558
|
-
color: "warning",
|
|
559
|
-
class: {
|
|
560
|
-
base: "border-warning-300 dark:border-warning-100"
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
variant: "faded",
|
|
565
|
-
color: "danger",
|
|
566
|
-
class: {
|
|
567
|
-
base: "border-danger-200 dark:border-danger-100"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
// bordered / color
|
|
571
|
-
{
|
|
572
|
-
variant: "bordered",
|
|
573
|
-
color: "default",
|
|
574
|
-
class: {
|
|
575
|
-
base: [colorVariants.bordered.default],
|
|
576
|
-
description: "text-default-600",
|
|
577
|
-
closeButton: "text-default-400"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
variant: "bordered",
|
|
582
|
-
color: "primary",
|
|
583
|
-
class: {
|
|
584
|
-
base: [colorVariants.bordered.primary],
|
|
585
|
-
closeButton: "data-[hover]:bg-primary-50"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
variant: "bordered",
|
|
590
|
-
color: "secondary",
|
|
591
|
-
class: {
|
|
592
|
-
base: [colorVariants.bordered.secondary],
|
|
593
|
-
closeButton: "data-[hover]:bg-secondary-50"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
variant: "bordered",
|
|
598
|
-
color: "success",
|
|
599
|
-
class: {
|
|
600
|
-
base: [colorVariants.bordered.success],
|
|
601
|
-
closeButton: "data-[hover]:bg-success-50"
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
variant: "bordered",
|
|
606
|
-
color: "warning",
|
|
607
|
-
class: {
|
|
608
|
-
base: [colorVariants.bordered.warning],
|
|
609
|
-
closeButton: "data-[hover]:bg-warning-100"
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
variant: "bordered",
|
|
614
|
-
color: "danger",
|
|
615
|
-
class: {
|
|
616
|
-
base: [colorVariants.bordered.danger],
|
|
617
|
-
closeButton: "data-[hover]:bg-danger-50"
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
// flat & bordered & faded
|
|
621
|
-
{
|
|
622
|
-
variant: ["flat", "bordered", "faded"],
|
|
623
|
-
class: {
|
|
624
|
-
iconWrapper: "shadow-small"
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
// flat & faded
|
|
628
|
-
{
|
|
629
|
-
variant: ["flat", "faded"],
|
|
630
|
-
class: {
|
|
631
|
-
iconWrapper: "shadow-small border-1"
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
// bordered & color
|
|
635
|
-
{
|
|
636
|
-
variant: "bordered",
|
|
637
|
-
color: "default",
|
|
638
|
-
class: {
|
|
639
|
-
iconWrapper: "bg-default-200 dark:bg-default-100"
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
variant: "bordered",
|
|
644
|
-
color: "primary",
|
|
645
|
-
class: {
|
|
646
|
-
iconWrapper: "bg-primary-100 dark:bg-primary-50"
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
{
|
|
650
|
-
variant: "bordered",
|
|
651
|
-
color: "secondary",
|
|
652
|
-
class: {
|
|
653
|
-
iconWrapper: "bg-secondary-100 dark:bg-secondary-50"
|
|
654
|
-
}
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
variant: "bordered",
|
|
658
|
-
color: "success",
|
|
659
|
-
class: {
|
|
660
|
-
iconWrapper: "bg-success-100 dark:bg-success-50"
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
variant: "bordered",
|
|
665
|
-
color: "warning",
|
|
666
|
-
class: {
|
|
667
|
-
iconWrapper: "bg-warning-100 dark:bg-warning-50"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
{
|
|
671
|
-
variant: "bordered",
|
|
672
|
-
color: "danger",
|
|
673
|
-
class: {
|
|
674
|
-
iconWrapper: "bg-danger-100 dark:bg-danger-50"
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
]
|
|
379
|
+
radius: "lg",
|
|
380
|
+
status: "default"
|
|
381
|
+
}
|
|
678
382
|
});
|
|
383
|
+
var alert = alertVariants;
|
|
679
384
|
// Annotate the CommonJS export names for ESM import in node:
|
|
680
385
|
0 && (module.exports = {
|
|
681
|
-
alert
|
|
386
|
+
alert,
|
|
387
|
+
alertVariants
|
|
682
388
|
});
|
|
@@ -1,53 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
alert
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-2BUT7L7P.mjs";
|
|
9
|
-
import "../chunk-QP5CGENQ.mjs";
|
|
10
|
-
import "../chunk-BHGZZQCH.mjs";
|
|
11
|
-
import "../chunk-FZM5ZZP2.mjs";
|
|
12
|
-
import "../chunk-4CEUCYJO.mjs";
|
|
13
|
-
import "../chunk-VK7USAMR.mjs";
|
|
14
|
-
import "../chunk-FLCPUBBE.mjs";
|
|
15
|
-
import "../chunk-7ZVSC6V6.mjs";
|
|
16
|
-
import "../chunk-EOYBTX52.mjs";
|
|
17
|
-
import "../chunk-SRSOCM2C.mjs";
|
|
18
|
-
import "../chunk-KCPJHUUJ.mjs";
|
|
19
|
-
import "../chunk-GQT3YUX3.mjs";
|
|
20
|
-
import "../chunk-GQMW4NEU.mjs";
|
|
21
|
-
import "../chunk-ZLTZIM6X.mjs";
|
|
22
|
-
import "../chunk-FBI452W6.mjs";
|
|
23
|
-
import "../chunk-7QDYFNL6.mjs";
|
|
24
|
-
import "../chunk-TOGBVQYA.mjs";
|
|
25
|
-
import "../chunk-JGY6VQQQ.mjs";
|
|
26
|
-
import "../chunk-D2XMP2NC.mjs";
|
|
27
|
-
import "../chunk-2WQ76NXU.mjs";
|
|
2
|
+
alert,
|
|
3
|
+
alertVariants
|
|
4
|
+
} from "../chunk-PY74IHS4.mjs";
|
|
5
|
+
import "../chunk-KKEJLP4U.mjs";
|
|
6
|
+
import "../chunk-ECD4ABCS.mjs";
|
|
7
|
+
import "../chunk-ROFEKAS6.mjs";
|
|
28
8
|
import "../chunk-GSRZWDGA.mjs";
|
|
29
9
|
import "../chunk-AWXUGVFR.mjs";
|
|
30
10
|
import "../chunk-MPVWW3DX.mjs";
|
|
31
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-7FAFG773.mjs";
|
|
32
12
|
import "../chunk-FJOYYPB2.mjs";
|
|
33
13
|
import "../chunk-RUIUXVZ4.mjs";
|
|
34
|
-
import "../chunk-WQEDQHKX.mjs";
|
|
35
|
-
import "../chunk-CPSLANMP.mjs";
|
|
36
|
-
import "../chunk-FFKHVGFX.mjs";
|
|
37
|
-
import "../chunk-5ICJA2GK.mjs";
|
|
38
|
-
import "../chunk-M63AFAHO.mjs";
|
|
39
|
-
import "../chunk-HUBDRSA4.mjs";
|
|
40
|
-
import "../chunk-WBQAMGXK.mjs";
|
|
41
|
-
import "../chunk-SLRWKURF.mjs";
|
|
42
|
-
import "../chunk-IAS3SFA4.mjs";
|
|
43
|
-
import "../chunk-JUEOCLA3.mjs";
|
|
44
|
-
import "../chunk-3LKKH4AR.mjs";
|
|
45
|
-
import "../chunk-T3GWIVAM.mjs";
|
|
46
|
-
import "../chunk-OR5PUD24.mjs";
|
|
47
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
48
|
-
import "../chunk-L2OL7R23.mjs";
|
|
49
|
-
import "../chunk-YZYGFPNK.mjs";
|
|
50
|
-
import "../chunk-GHZ36ATJ.mjs";
|
|
51
14
|
export {
|
|
52
|
-
alert
|
|
15
|
+
alert,
|
|
16
|
+
alertVariants
|
|
53
17
|
};
|
|
@@ -114,6 +114,19 @@ var custom_default = {
|
|
|
114
114
|
|
|
115
115
|
// src/utilities/scrollbar-hide.ts
|
|
116
116
|
var scrollbar_hide_default = {
|
|
117
|
+
/**
|
|
118
|
+
* Theme-aware scrollbar
|
|
119
|
+
*/
|
|
120
|
+
".scrollbar": {
|
|
121
|
+
"scrollbar-width": "var(--scrollbar-width)",
|
|
122
|
+
"scrollbar-color": "var(--scrollbar-color)",
|
|
123
|
+
"scrollbar-gutter": "var(--scrollbar-gutter)"
|
|
124
|
+
},
|
|
125
|
+
".scrollbar-thin": {
|
|
126
|
+
"scrollbar-width": "thin",
|
|
127
|
+
"scrollbar-color": "var(--scrollbar-thumb) var(--scrollbar-track)",
|
|
128
|
+
"scrollbar-gutter": "auto"
|
|
129
|
+
},
|
|
117
130
|
/**
|
|
118
131
|
* Scroll Hide
|
|
119
132
|
*/
|
|
@@ -132,10 +145,18 @@ var scrollbar_hide_default = {
|
|
|
132
145
|
"-ms-overflow-style": "auto",
|
|
133
146
|
/* Firefox */
|
|
134
147
|
"scrollbar-width": "auto",
|
|
148
|
+
"scrollbar-color": "auto",
|
|
149
|
+
"scrollbar-gutter": "auto",
|
|
135
150
|
/* Safari and Chrome */
|
|
136
151
|
"&::-webkit-scrollbar": {
|
|
137
152
|
display: "block"
|
|
138
153
|
}
|
|
154
|
+
},
|
|
155
|
+
".scrollbar-none": {
|
|
156
|
+
"-ms-overflow-style": "none",
|
|
157
|
+
"scrollbar-width": "none",
|
|
158
|
+
"scrollbar-color": "auto",
|
|
159
|
+
"scrollbar-gutter": "auto"
|
|
139
160
|
}
|
|
140
161
|
};
|
|
141
162
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autocomplete
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-I5YZBAB3.mjs";
|
|
4
|
+
import "../chunk-KKEJLP4U.mjs";
|
|
5
|
+
import "../chunk-ECD4ABCS.mjs";
|
|
6
|
+
import "../chunk-ROFEKAS6.mjs";
|
|
7
7
|
import "../chunk-GSRZWDGA.mjs";
|
|
8
8
|
import "../chunk-AWXUGVFR.mjs";
|
|
9
9
|
import "../chunk-MPVWW3DX.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-7FAFG773.mjs";
|
|
11
11
|
import "../chunk-FJOYYPB2.mjs";
|
|
12
12
|
import "../chunk-RUIUXVZ4.mjs";
|
|
13
13
|
export {
|
|
@@ -115,6 +115,19 @@ var custom_default = {
|
|
|
115
115
|
|
|
116
116
|
// src/utilities/scrollbar-hide.ts
|
|
117
117
|
var scrollbar_hide_default = {
|
|
118
|
+
/**
|
|
119
|
+
* Theme-aware scrollbar
|
|
120
|
+
*/
|
|
121
|
+
".scrollbar": {
|
|
122
|
+
"scrollbar-width": "var(--scrollbar-width)",
|
|
123
|
+
"scrollbar-color": "var(--scrollbar-color)",
|
|
124
|
+
"scrollbar-gutter": "var(--scrollbar-gutter)"
|
|
125
|
+
},
|
|
126
|
+
".scrollbar-thin": {
|
|
127
|
+
"scrollbar-width": "thin",
|
|
128
|
+
"scrollbar-color": "var(--scrollbar-thumb) var(--scrollbar-track)",
|
|
129
|
+
"scrollbar-gutter": "auto"
|
|
130
|
+
},
|
|
118
131
|
/**
|
|
119
132
|
* Scroll Hide
|
|
120
133
|
*/
|
|
@@ -133,10 +146,18 @@ var scrollbar_hide_default = {
|
|
|
133
146
|
"-ms-overflow-style": "auto",
|
|
134
147
|
/* Firefox */
|
|
135
148
|
"scrollbar-width": "auto",
|
|
149
|
+
"scrollbar-color": "auto",
|
|
150
|
+
"scrollbar-gutter": "auto",
|
|
136
151
|
/* Safari and Chrome */
|
|
137
152
|
"&::-webkit-scrollbar": {
|
|
138
153
|
display: "block"
|
|
139
154
|
}
|
|
155
|
+
},
|
|
156
|
+
".scrollbar-none": {
|
|
157
|
+
"-ms-overflow-style": "none",
|
|
158
|
+
"scrollbar-width": "none",
|
|
159
|
+
"scrollbar-color": "auto",
|
|
160
|
+
"scrollbar-gutter": "auto"
|
|
140
161
|
}
|
|
141
162
|
};
|
|
142
163
|
|