@kopexa/theme 14.0.2 → 14.0.4
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-VDMXPFII.mjs → chunk-2T3SPXLF.mjs} +1 -1
- package/dist/{chunk-WSEO3MLK.mjs → chunk-2VWLEU6X.mjs} +1 -1
- package/dist/{chunk-7VZZASRG.mjs → chunk-C3LKWHPD.mjs} +1 -1
- package/dist/{chunk-IX46TOS3.mjs → chunk-DPQAMK3W.mjs} +17 -3
- package/dist/{chunk-SYYY32OX.mjs → chunk-J3BXXWBQ.mjs} +1 -1
- package/dist/{chunk-RQYYDG26.mjs → chunk-OX4Q6RK5.mjs} +1 -1
- package/dist/chunk-ZOTN264E.mjs +24 -0
- package/dist/{chunk-ROZ24JVQ.mjs → chunk-ZZMGL5MA.mjs} +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.d.mts +24 -0
- package/dist/components/button.d.ts +24 -0
- package/dist/components/button.js +17 -3
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +1 -1
- package/dist/components/code.mjs +2 -2
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +94 -57
- package/dist/components/index.mjs +19 -15
- package/dist/components/loading-page.d.mts +40 -0
- package/dist/components/loading-page.d.ts +40 -0
- package/dist/components/loading-page.js +48 -0
- package/dist/components/loading-page.mjs +6 -0
- package/dist/components/skeleton-avatar.js +1 -1
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/standard-chip.js +1 -1
- package/dist/components/standard-chip.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +94 -57
- package/dist/index.mjs +19 -15
- package/dist/utils/variants.js +1 -1
- package/dist/utils/variants.mjs +1 -1
- package/package.json +4 -4
- /package/dist/{chunk-X4JOORWZ.mjs → chunk-BYXTAZ4I.mjs} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -55,6 +55,7 @@ __export(components_exports, {
|
|
|
55
55
|
integrationCard: () => integrationCard,
|
|
56
56
|
kbd: () => kbd,
|
|
57
57
|
label: () => label,
|
|
58
|
+
loadingPage: () => loadingPage,
|
|
58
59
|
pageHeader: () => pageHeader,
|
|
59
60
|
pageLayout: () => pageLayout,
|
|
60
61
|
passwordInput: () => passwordInput,
|
|
@@ -348,7 +349,7 @@ var solid = {
|
|
|
348
349
|
success: "bg-success text-success-foreground"
|
|
349
350
|
};
|
|
350
351
|
var outline = {
|
|
351
|
-
default: "bg-transparent border border-
|
|
352
|
+
default: "bg-transparent border border-input text-accent-foreground",
|
|
352
353
|
primary: "bg-transparent border-primary text-primary",
|
|
353
354
|
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
354
355
|
destructive: "bg-transparent border-destructive text-destructive",
|
|
@@ -659,7 +660,7 @@ var button = (0, import_tailwind_variants8.tv)({
|
|
|
659
660
|
},
|
|
660
661
|
size: {
|
|
661
662
|
sm: "px-3 min-w-16 h-7 text-xs gap-2 rounded-sm has-[>svg]:px-2.5 [&_svg]:size-3",
|
|
662
|
-
md: "px-4 min-w-20 h-8.5 text-sm gap-2 rounded-
|
|
663
|
+
md: "px-4 min-w-20 h-8.5 text-sm gap-2 rounded-md has-[>svg]:px-3 [&_svg]:size-4",
|
|
663
664
|
lg: "px-6 min-w-24 h-10 text-base gap-3 rounded-lg has-[>svg]:px-4 [&_svg]:size-4"
|
|
664
665
|
},
|
|
665
666
|
color: {
|
|
@@ -682,6 +683,19 @@ var button = (0, import_tailwind_variants8.tv)({
|
|
|
682
683
|
default: "",
|
|
683
684
|
between: "justify-between",
|
|
684
685
|
start: "justify-start"
|
|
686
|
+
},
|
|
687
|
+
placeholder: {
|
|
688
|
+
true: "text-muted-foreground!",
|
|
689
|
+
false: ""
|
|
690
|
+
},
|
|
691
|
+
mode: {
|
|
692
|
+
default: "",
|
|
693
|
+
input: [
|
|
694
|
+
"justify-start font-normal hover:bg-background bg-background text-foreground shadow-xs",
|
|
695
|
+
"[&_svg]:transition-colors [&_svg]:hover:text-foreground data-[state=open]:bg-background",
|
|
696
|
+
...focusVisibleClasses,
|
|
697
|
+
"focus-visible:border-ring focus-visible:outline-hidden focus-visible:ring-[3px] focus-visible:ring-ring/30"
|
|
698
|
+
]
|
|
685
699
|
}
|
|
686
700
|
},
|
|
687
701
|
defaultVariants: {
|
|
@@ -689,7 +703,8 @@ var button = (0, import_tailwind_variants8.tv)({
|
|
|
689
703
|
variant: "solid",
|
|
690
704
|
color: "primary",
|
|
691
705
|
fullWidth: false,
|
|
692
|
-
isIconOnly: false
|
|
706
|
+
isIconOnly: false,
|
|
707
|
+
mode: "default"
|
|
693
708
|
},
|
|
694
709
|
compoundVariants: [
|
|
695
710
|
// primary color
|
|
@@ -2440,9 +2455,30 @@ var label = (0, import_tailwind_variants35.tv)({
|
|
|
2440
2455
|
}
|
|
2441
2456
|
});
|
|
2442
2457
|
|
|
2443
|
-
// src/components/page
|
|
2458
|
+
// src/components/loading-page.ts
|
|
2444
2459
|
var import_tailwind_variants36 = require("tailwind-variants");
|
|
2445
|
-
var
|
|
2460
|
+
var loadingPage = (0, import_tailwind_variants36.tv)({
|
|
2461
|
+
slots: {
|
|
2462
|
+
root: "relative isolate flex min-h-screen items-center justify-center px-6 py-10 bg-background",
|
|
2463
|
+
container: "flex flex-col items-center gap-4 text-center",
|
|
2464
|
+
wrapper: "space-y-1",
|
|
2465
|
+
title: "text-base font-medium text-foreground",
|
|
2466
|
+
description: "text-sm text-muted-foreground"
|
|
2467
|
+
},
|
|
2468
|
+
variants: {
|
|
2469
|
+
fullscreen: {
|
|
2470
|
+
true: "",
|
|
2471
|
+
false: ""
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
defaultVariants: {
|
|
2475
|
+
fullscreen: true
|
|
2476
|
+
}
|
|
2477
|
+
});
|
|
2478
|
+
|
|
2479
|
+
// src/components/page-header.ts
|
|
2480
|
+
var import_tailwind_variants37 = require("tailwind-variants");
|
|
2481
|
+
var pageHeader = (0, import_tailwind_variants37.tv)({
|
|
2446
2482
|
slots: {
|
|
2447
2483
|
root: "page-header",
|
|
2448
2484
|
titleArea: "page-header__title-area flex gap-2 flex-row items-center",
|
|
@@ -2477,8 +2513,8 @@ var pageHeader = (0, import_tailwind_variants36.tv)({
|
|
|
2477
2513
|
});
|
|
2478
2514
|
|
|
2479
2515
|
// src/components/page-layout.ts
|
|
2480
|
-
var
|
|
2481
|
-
var pageLayout = (0,
|
|
2516
|
+
var import_tailwind_variants38 = require("tailwind-variants");
|
|
2517
|
+
var pageLayout = (0, import_tailwind_variants38.tv)({
|
|
2482
2518
|
slots: {
|
|
2483
2519
|
root: "",
|
|
2484
2520
|
wrapper: "flex flex-wrap w-full",
|
|
@@ -2595,8 +2631,8 @@ var pageLayout = (0, import_tailwind_variants37.tv)({
|
|
|
2595
2631
|
});
|
|
2596
2632
|
|
|
2597
2633
|
// src/components/popover.ts
|
|
2598
|
-
var
|
|
2599
|
-
var popover = (0,
|
|
2634
|
+
var import_tailwind_variants39 = require("tailwind-variants");
|
|
2635
|
+
var popover = (0, import_tailwind_variants39.tv)({
|
|
2600
2636
|
slots: {
|
|
2601
2637
|
content: [
|
|
2602
2638
|
"data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95",
|
|
@@ -2644,8 +2680,8 @@ var popover = (0, import_tailwind_variants38.tv)({
|
|
|
2644
2680
|
});
|
|
2645
2681
|
|
|
2646
2682
|
// src/components/preview-card.ts
|
|
2647
|
-
var
|
|
2648
|
-
var previewCard = (0,
|
|
2683
|
+
var import_tailwind_variants40 = require("tailwind-variants");
|
|
2684
|
+
var previewCard = (0, import_tailwind_variants40.tv)({
|
|
2649
2685
|
slots: {
|
|
2650
2686
|
root: [
|
|
2651
2687
|
"flex w-full items-start gap-3 rounded-md bg-background p-2 transition-colors",
|
|
@@ -2686,8 +2722,8 @@ var previewCard = (0, import_tailwind_variants39.tv)({
|
|
|
2686
2722
|
});
|
|
2687
2723
|
|
|
2688
2724
|
// src/components/related-control-chip.ts
|
|
2689
|
-
var
|
|
2690
|
-
var relatedControlChip = (0,
|
|
2725
|
+
var import_tailwind_variants41 = require("tailwind-variants");
|
|
2726
|
+
var relatedControlChip = (0, import_tailwind_variants41.tv)({
|
|
2691
2727
|
slots: {
|
|
2692
2728
|
root: [
|
|
2693
2729
|
"text-xs border rounded-full cursor-pointer hover:text-primary px-2.5 py-0.5"
|
|
@@ -2697,8 +2733,8 @@ var relatedControlChip = (0, import_tailwind_variants40.tv)({
|
|
|
2697
2733
|
});
|
|
2698
2734
|
|
|
2699
2735
|
// src/components/resizable.ts
|
|
2700
|
-
var
|
|
2701
|
-
var resizable = (0,
|
|
2736
|
+
var import_tailwind_variants42 = require("tailwind-variants");
|
|
2737
|
+
var resizable = (0, import_tailwind_variants42.tv)({
|
|
2702
2738
|
slots: {
|
|
2703
2739
|
root: ["flex h-full w-full data-[panel-group-direction=vertical]:flex-col"],
|
|
2704
2740
|
panel: [],
|
|
@@ -2724,8 +2760,8 @@ var resizable = (0, import_tailwind_variants41.tv)({
|
|
|
2724
2760
|
});
|
|
2725
2761
|
|
|
2726
2762
|
// src/components/risk-badge.ts
|
|
2727
|
-
var
|
|
2728
|
-
var riskBadge = (0,
|
|
2763
|
+
var import_tailwind_variants43 = require("tailwind-variants");
|
|
2764
|
+
var riskBadge = (0, import_tailwind_variants43.tv)({
|
|
2729
2765
|
slots: {
|
|
2730
2766
|
root: ["inline-flex flex-col items-start gap-0.5"],
|
|
2731
2767
|
label: ["inline-flex items-center gap-0.5 text-xs"],
|
|
@@ -2764,8 +2800,8 @@ var riskBadge = (0, import_tailwind_variants42.tv)({
|
|
|
2764
2800
|
});
|
|
2765
2801
|
|
|
2766
2802
|
// src/components/risk-indicator.ts
|
|
2767
|
-
var
|
|
2768
|
-
var riskIndicator = (0,
|
|
2803
|
+
var import_tailwind_variants44 = require("tailwind-variants");
|
|
2804
|
+
var riskIndicator = (0, import_tailwind_variants44.tv)({
|
|
2769
2805
|
slots: {
|
|
2770
2806
|
base: "flex items-end gap-0.5",
|
|
2771
2807
|
bar: "rounded-sm",
|
|
@@ -2798,8 +2834,8 @@ var riskIndicator = (0, import_tailwind_variants43.tv)({
|
|
|
2798
2834
|
});
|
|
2799
2835
|
|
|
2800
2836
|
// src/components/scroll-area.ts
|
|
2801
|
-
var
|
|
2802
|
-
var scrollArea = (0,
|
|
2837
|
+
var import_tailwind_variants45 = require("tailwind-variants");
|
|
2838
|
+
var scrollArea = (0, import_tailwind_variants45.tv)({
|
|
2803
2839
|
slots: {
|
|
2804
2840
|
root: "relative",
|
|
2805
2841
|
viewport: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
@@ -2813,8 +2849,8 @@ var scrollArea = (0, import_tailwind_variants44.tv)({
|
|
|
2813
2849
|
});
|
|
2814
2850
|
|
|
2815
2851
|
// src/components/section-row.ts
|
|
2816
|
-
var
|
|
2817
|
-
var sectionRow = (0,
|
|
2852
|
+
var import_tailwind_variants46 = require("tailwind-variants");
|
|
2853
|
+
var sectionRow = (0, import_tailwind_variants46.tv)({
|
|
2818
2854
|
slots: {
|
|
2819
2855
|
root: ["grid grid-cols-1 text-base/6 sm:text-sm/6", "w-full"],
|
|
2820
2856
|
title: [
|
|
@@ -2874,8 +2910,8 @@ var sectionRow = (0, import_tailwind_variants45.tv)({
|
|
|
2874
2910
|
});
|
|
2875
2911
|
|
|
2876
2912
|
// src/components/select.ts
|
|
2877
|
-
var
|
|
2878
|
-
var select = (0,
|
|
2913
|
+
var import_tailwind_variants47 = require("tailwind-variants");
|
|
2914
|
+
var select = (0, import_tailwind_variants47.tv)({
|
|
2879
2915
|
slots: {
|
|
2880
2916
|
trigger: [
|
|
2881
2917
|
"w-full",
|
|
@@ -2979,8 +3015,8 @@ var select = (0, import_tailwind_variants46.tv)({
|
|
|
2979
3015
|
});
|
|
2980
3016
|
|
|
2981
3017
|
// src/components/separator.ts
|
|
2982
|
-
var
|
|
2983
|
-
var separator = (0,
|
|
3018
|
+
var import_tailwind_variants48 = require("tailwind-variants");
|
|
3019
|
+
var separator = (0, import_tailwind_variants48.tv)({
|
|
2984
3020
|
base: [
|
|
2985
3021
|
"bg-border shrink-0",
|
|
2986
3022
|
"data-[orientation=horizontal]:h-px",
|
|
@@ -2998,8 +3034,8 @@ var separator = (0, import_tailwind_variants47.tv)({
|
|
|
2998
3034
|
});
|
|
2999
3035
|
|
|
3000
3036
|
// src/components/sidebar.ts
|
|
3001
|
-
var
|
|
3002
|
-
var sidebar = (0,
|
|
3037
|
+
var import_tailwind_variants49 = require("tailwind-variants");
|
|
3038
|
+
var sidebar = (0, import_tailwind_variants49.tv)({
|
|
3003
3039
|
slots: {
|
|
3004
3040
|
provider: [
|
|
3005
3041
|
"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full isolate"
|
|
@@ -3087,7 +3123,7 @@ var sidebar = (0, import_tailwind_variants48.tv)({
|
|
|
3087
3123
|
isMobile: false
|
|
3088
3124
|
}
|
|
3089
3125
|
});
|
|
3090
|
-
var sidebarMenuButton = (0,
|
|
3126
|
+
var sidebarMenuButton = (0, import_tailwind_variants49.tv)({
|
|
3091
3127
|
base: [
|
|
3092
3128
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md",
|
|
3093
3129
|
"p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding]",
|
|
@@ -3139,7 +3175,7 @@ var sidebarMenuButton = (0, import_tailwind_variants48.tv)({
|
|
|
3139
3175
|
}
|
|
3140
3176
|
]
|
|
3141
3177
|
});
|
|
3142
|
-
var sidebarMenuAction = (0,
|
|
3178
|
+
var sidebarMenuAction = (0, import_tailwind_variants49.tv)({
|
|
3143
3179
|
base: [
|
|
3144
3180
|
"text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
3145
3181
|
// Increases the hit area of the button on mobile.
|
|
@@ -3159,14 +3195,14 @@ var sidebarMenuAction = (0, import_tailwind_variants48.tv)({
|
|
|
3159
3195
|
});
|
|
3160
3196
|
|
|
3161
3197
|
// src/components/skeleton.ts
|
|
3162
|
-
var
|
|
3163
|
-
var skeleton = (0,
|
|
3198
|
+
var import_tailwind_variants50 = require("tailwind-variants");
|
|
3199
|
+
var skeleton = (0, import_tailwind_variants50.tv)({
|
|
3164
3200
|
base: "bg-accent animate-pulse rounded-md"
|
|
3165
3201
|
});
|
|
3166
3202
|
|
|
3167
3203
|
// src/components/skeleton-avatar.ts
|
|
3168
|
-
var
|
|
3169
|
-
var skeletonAvatar = (0,
|
|
3204
|
+
var import_tailwind_variants51 = require("tailwind-variants");
|
|
3205
|
+
var skeletonAvatar = (0, import_tailwind_variants51.tv)({
|
|
3170
3206
|
base: "rounded-full",
|
|
3171
3207
|
variants: {
|
|
3172
3208
|
size: {
|
|
@@ -3183,8 +3219,8 @@ var skeletonAvatar = (0, import_tailwind_variants50.tv)({
|
|
|
3183
3219
|
});
|
|
3184
3220
|
|
|
3185
3221
|
// src/components/slash-dropdown-menu.ts
|
|
3186
|
-
var
|
|
3187
|
-
var slashDropdownMenu = (0,
|
|
3222
|
+
var import_tailwind_variants52 = require("tailwind-variants");
|
|
3223
|
+
var slashDropdownMenu = (0, import_tailwind_variants52.tv)({
|
|
3188
3224
|
slots: {
|
|
3189
3225
|
card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
|
|
3190
3226
|
body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full"],
|
|
@@ -3203,8 +3239,8 @@ var slashDropdownMenu = (0, import_tailwind_variants51.tv)({
|
|
|
3203
3239
|
});
|
|
3204
3240
|
|
|
3205
3241
|
// src/components/spinner.ts
|
|
3206
|
-
var
|
|
3207
|
-
var spinner = (0,
|
|
3242
|
+
var import_tailwind_variants53 = require("tailwind-variants");
|
|
3243
|
+
var spinner = (0, import_tailwind_variants53.tv)({
|
|
3208
3244
|
slots: {
|
|
3209
3245
|
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
3210
3246
|
wrapper: "relative flex",
|
|
@@ -3321,8 +3357,8 @@ var spinner = (0, import_tailwind_variants52.tv)({
|
|
|
3321
3357
|
});
|
|
3322
3358
|
|
|
3323
3359
|
// src/components/split-page-layout.ts
|
|
3324
|
-
var
|
|
3325
|
-
var splitPageLayout = (0,
|
|
3360
|
+
var import_tailwind_variants54 = require("tailwind-variants");
|
|
3361
|
+
var splitPageLayout = (0, import_tailwind_variants54.tv)({
|
|
3326
3362
|
slots: {
|
|
3327
3363
|
root: [
|
|
3328
3364
|
"size-full min-h-0 grid grid-cols-[1fr_10px] md:grid-cols-3 relative"
|
|
@@ -3359,8 +3395,8 @@ var splitPageLayout = (0, import_tailwind_variants53.tv)({
|
|
|
3359
3395
|
});
|
|
3360
3396
|
|
|
3361
3397
|
// src/components/standard-chip.ts
|
|
3362
|
-
var
|
|
3363
|
-
var standardChip = (0,
|
|
3398
|
+
var import_tailwind_variants55 = require("tailwind-variants");
|
|
3399
|
+
var standardChip = (0, import_tailwind_variants55.tv)({
|
|
3364
3400
|
extend: chip,
|
|
3365
3401
|
slots: {
|
|
3366
3402
|
root: [
|
|
@@ -3451,8 +3487,8 @@ var standardChip = (0, import_tailwind_variants54.tv)({
|
|
|
3451
3487
|
});
|
|
3452
3488
|
|
|
3453
3489
|
// src/components/switch.ts
|
|
3454
|
-
var
|
|
3455
|
-
var switchVariants = (0,
|
|
3490
|
+
var import_tailwind_variants56 = require("tailwind-variants");
|
|
3491
|
+
var switchVariants = (0, import_tailwind_variants56.tv)({
|
|
3456
3492
|
slots: {
|
|
3457
3493
|
root: [
|
|
3458
3494
|
"peer data-[checked]:bg-primary data-[unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[unchecked]:bg-input/80",
|
|
@@ -3487,8 +3523,8 @@ var switchVariants = (0, import_tailwind_variants55.tv)({
|
|
|
3487
3523
|
});
|
|
3488
3524
|
|
|
3489
3525
|
// src/components/tab-nav.ts
|
|
3490
|
-
var
|
|
3491
|
-
var tabNav = (0,
|
|
3526
|
+
var import_tailwind_variants57 = require("tailwind-variants");
|
|
3527
|
+
var tabNav = (0, import_tailwind_variants57.tv)({
|
|
3492
3528
|
slots: {
|
|
3493
3529
|
base: "",
|
|
3494
3530
|
list: [
|
|
@@ -3578,8 +3614,8 @@ var tabNav = (0, import_tailwind_variants56.tv)({
|
|
|
3578
3614
|
});
|
|
3579
3615
|
|
|
3580
3616
|
// src/components/table.ts
|
|
3581
|
-
var
|
|
3582
|
-
var table = (0,
|
|
3617
|
+
var import_tailwind_variants58 = require("tailwind-variants");
|
|
3618
|
+
var table = (0, import_tailwind_variants58.tv)({
|
|
3583
3619
|
slots: {
|
|
3584
3620
|
container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
|
|
3585
3621
|
wrapper: ["inline-block min-w-full align-middle"],
|
|
@@ -3741,8 +3777,8 @@ var table = (0, import_tailwind_variants57.tv)({
|
|
|
3741
3777
|
});
|
|
3742
3778
|
|
|
3743
3779
|
// src/components/tabs.ts
|
|
3744
|
-
var
|
|
3745
|
-
var tabs = (0,
|
|
3780
|
+
var import_tailwind_variants59 = require("tailwind-variants");
|
|
3781
|
+
var tabs = (0, import_tailwind_variants59.tv)({
|
|
3746
3782
|
slots: {
|
|
3747
3783
|
root: "flex flex-col gap-2",
|
|
3748
3784
|
list: [
|
|
@@ -3779,8 +3815,8 @@ var tabs = (0, import_tailwind_variants58.tv)({
|
|
|
3779
3815
|
});
|
|
3780
3816
|
|
|
3781
3817
|
// src/components/textarea.ts
|
|
3782
|
-
var
|
|
3783
|
-
var textarea = (0,
|
|
3818
|
+
var import_tailwind_variants60 = require("tailwind-variants");
|
|
3819
|
+
var textarea = (0, import_tailwind_variants60.tv)({
|
|
3784
3820
|
base: [
|
|
3785
3821
|
"w-full border border-input bg-background text-foreground shadow-xs shadow-black/5 transition-[color,box-shadow]",
|
|
3786
3822
|
"text-foreground placeholder:text-muted-foreground/80",
|
|
@@ -3804,8 +3840,8 @@ var textarea = (0, import_tailwind_variants59.tv)({
|
|
|
3804
3840
|
});
|
|
3805
3841
|
|
|
3806
3842
|
// src/components/toolbar.ts
|
|
3807
|
-
var
|
|
3808
|
-
var toolbar = (0,
|
|
3843
|
+
var import_tailwind_variants61 = require("tailwind-variants");
|
|
3844
|
+
var toolbar = (0, import_tailwind_variants61.tv)({
|
|
3809
3845
|
slots: {
|
|
3810
3846
|
root: "flex items-center gap-2.5 p-1",
|
|
3811
3847
|
button: "shrink-0",
|
|
@@ -3844,8 +3880,8 @@ var toolbar = (0, import_tailwind_variants60.tv)({
|
|
|
3844
3880
|
});
|
|
3845
3881
|
|
|
3846
3882
|
// src/components/tooltip.ts
|
|
3847
|
-
var
|
|
3848
|
-
var tooltip = (0,
|
|
3883
|
+
var import_tailwind_variants62 = require("tailwind-variants");
|
|
3884
|
+
var tooltip = (0, import_tailwind_variants62.tv)({
|
|
3849
3885
|
slots: {
|
|
3850
3886
|
content: [
|
|
3851
3887
|
"bg-primary-900 text-primary-foreground",
|
|
@@ -3893,6 +3929,7 @@ var tooltip = (0, import_tailwind_variants61.tv)({
|
|
|
3893
3929
|
integrationCard,
|
|
3894
3930
|
kbd,
|
|
3895
3931
|
label,
|
|
3932
|
+
loadingPage,
|
|
3896
3933
|
pageHeader,
|
|
3897
3934
|
pageLayout,
|
|
3898
3935
|
passwordInput,
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-BYXTAZ4I.mjs";
|
|
2
|
+
import {
|
|
3
|
+
standardChip
|
|
4
|
+
} from "../chunk-C3LKWHPD.mjs";
|
|
2
5
|
import {
|
|
3
6
|
switchVariants
|
|
4
7
|
} from "../chunk-WQ446TVH.mjs";
|
|
@@ -20,6 +23,9 @@ import {
|
|
|
20
23
|
import {
|
|
21
24
|
tooltip
|
|
22
25
|
} from "../chunk-OLYO7UPH.mjs";
|
|
26
|
+
import {
|
|
27
|
+
select
|
|
28
|
+
} from "../chunk-KPVLNOO5.mjs";
|
|
23
29
|
import {
|
|
24
30
|
separator
|
|
25
31
|
} from "../chunk-LM7MKBHT.mjs";
|
|
@@ -30,7 +36,7 @@ import {
|
|
|
30
36
|
} from "../chunk-3CZOBPDH.mjs";
|
|
31
37
|
import {
|
|
32
38
|
skeletonAvatar
|
|
33
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-J3BXXWBQ.mjs";
|
|
34
40
|
import {
|
|
35
41
|
skeleton
|
|
36
42
|
} from "../chunk-VNQEJU4P.mjs";
|
|
@@ -44,8 +50,8 @@ import {
|
|
|
44
50
|
splitPageLayout
|
|
45
51
|
} from "../chunk-W7RJG22S.mjs";
|
|
46
52
|
import {
|
|
47
|
-
|
|
48
|
-
} from "../chunk-
|
|
53
|
+
popover
|
|
54
|
+
} from "../chunk-TQVRNEIH.mjs";
|
|
49
55
|
import {
|
|
50
56
|
previewCard
|
|
51
57
|
} from "../chunk-WPOYEHD2.mjs";
|
|
@@ -67,9 +73,6 @@ import {
|
|
|
67
73
|
import {
|
|
68
74
|
sectionRow
|
|
69
75
|
} from "../chunk-I4ZIT7EK.mjs";
|
|
70
|
-
import {
|
|
71
|
-
select
|
|
72
|
-
} from "../chunk-KPVLNOO5.mjs";
|
|
73
76
|
import {
|
|
74
77
|
inputWrapper
|
|
75
78
|
} from "../chunk-VSVGOX3P.mjs";
|
|
@@ -82,15 +85,15 @@ import {
|
|
|
82
85
|
import {
|
|
83
86
|
label
|
|
84
87
|
} from "../chunk-LMCM4CW2.mjs";
|
|
88
|
+
import {
|
|
89
|
+
loadingPage
|
|
90
|
+
} from "../chunk-ZOTN264E.mjs";
|
|
85
91
|
import {
|
|
86
92
|
pageHeader
|
|
87
93
|
} from "../chunk-HAVJ6EQ6.mjs";
|
|
88
94
|
import {
|
|
89
95
|
pageLayout
|
|
90
96
|
} from "../chunk-OULAICSC.mjs";
|
|
91
|
-
import {
|
|
92
|
-
popover
|
|
93
|
-
} from "../chunk-TQVRNEIH.mjs";
|
|
94
97
|
import {
|
|
95
98
|
editorSpinner
|
|
96
99
|
} from "../chunk-TVC4THD6.mjs";
|
|
@@ -150,10 +153,10 @@ import {
|
|
|
150
153
|
} from "../chunk-A4KO7QKC.mjs";
|
|
151
154
|
import {
|
|
152
155
|
chip
|
|
153
|
-
} from "../chunk-
|
|
156
|
+
} from "../chunk-OX4Q6RK5.mjs";
|
|
154
157
|
import {
|
|
155
158
|
code
|
|
156
|
-
} from "../chunk-
|
|
159
|
+
} from "../chunk-ZZMGL5MA.mjs";
|
|
157
160
|
import {
|
|
158
161
|
colorHighlightButton
|
|
159
162
|
} from "../chunk-CPERWXKN.mjs";
|
|
@@ -178,14 +181,14 @@ import {
|
|
|
178
181
|
} from "../chunk-XCLEKBCJ.mjs";
|
|
179
182
|
import {
|
|
180
183
|
avatar
|
|
181
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-2T3SPXLF.mjs";
|
|
182
185
|
import {
|
|
183
186
|
blankstate
|
|
184
187
|
} from "../chunk-DICHD74Q.mjs";
|
|
185
188
|
import {
|
|
186
189
|
button
|
|
187
|
-
} from "../chunk-
|
|
188
|
-
import "../chunk-
|
|
190
|
+
} from "../chunk-DPQAMK3W.mjs";
|
|
191
|
+
import "../chunk-2VWLEU6X.mjs";
|
|
189
192
|
import "../chunk-6IZPAS4O.mjs";
|
|
190
193
|
export {
|
|
191
194
|
accordion,
|
|
@@ -223,6 +226,7 @@ export {
|
|
|
223
226
|
integrationCard,
|
|
224
227
|
kbd,
|
|
225
228
|
label,
|
|
229
|
+
loadingPage,
|
|
226
230
|
pageHeader,
|
|
227
231
|
pageLayout,
|
|
228
232
|
passwordInput,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const loadingPage: tailwind_variants.TVReturnType<{
|
|
5
|
+
fullscreen: {
|
|
6
|
+
true: string;
|
|
7
|
+
false: string;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
root: string;
|
|
11
|
+
container: string;
|
|
12
|
+
wrapper: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
fullscreen: {
|
|
17
|
+
true: string;
|
|
18
|
+
false: string;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
root: string;
|
|
22
|
+
container: string;
|
|
23
|
+
wrapper: string;
|
|
24
|
+
title: string;
|
|
25
|
+
description: string;
|
|
26
|
+
}, tailwind_variants.TVReturnType<{
|
|
27
|
+
fullscreen: {
|
|
28
|
+
true: string;
|
|
29
|
+
false: string;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
root: string;
|
|
33
|
+
container: string;
|
|
34
|
+
wrapper: string;
|
|
35
|
+
title: string;
|
|
36
|
+
description: string;
|
|
37
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
38
|
+
type LoadingPageVariants = VariantProps<typeof loadingPage>;
|
|
39
|
+
|
|
40
|
+
export { type LoadingPageVariants, loadingPage };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const loadingPage: tailwind_variants.TVReturnType<{
|
|
5
|
+
fullscreen: {
|
|
6
|
+
true: string;
|
|
7
|
+
false: string;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
root: string;
|
|
11
|
+
container: string;
|
|
12
|
+
wrapper: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
fullscreen: {
|
|
17
|
+
true: string;
|
|
18
|
+
false: string;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
root: string;
|
|
22
|
+
container: string;
|
|
23
|
+
wrapper: string;
|
|
24
|
+
title: string;
|
|
25
|
+
description: string;
|
|
26
|
+
}, tailwind_variants.TVReturnType<{
|
|
27
|
+
fullscreen: {
|
|
28
|
+
true: string;
|
|
29
|
+
false: string;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
root: string;
|
|
33
|
+
container: string;
|
|
34
|
+
wrapper: string;
|
|
35
|
+
title: string;
|
|
36
|
+
description: string;
|
|
37
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
38
|
+
type LoadingPageVariants = VariantProps<typeof loadingPage>;
|
|
39
|
+
|
|
40
|
+
export { type LoadingPageVariants, loadingPage };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/loading-page.ts
|
|
21
|
+
var loading_page_exports = {};
|
|
22
|
+
__export(loading_page_exports, {
|
|
23
|
+
loadingPage: () => loadingPage
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(loading_page_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var loadingPage = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: "relative isolate flex min-h-screen items-center justify-center px-6 py-10 bg-background",
|
|
30
|
+
container: "flex flex-col items-center gap-4 text-center",
|
|
31
|
+
wrapper: "space-y-1",
|
|
32
|
+
title: "text-base font-medium text-foreground",
|
|
33
|
+
description: "text-sm text-muted-foreground"
|
|
34
|
+
},
|
|
35
|
+
variants: {
|
|
36
|
+
fullscreen: {
|
|
37
|
+
true: "",
|
|
38
|
+
false: ""
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
fullscreen: true
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
+
0 && (module.exports = {
|
|
47
|
+
loadingPage
|
|
48
|
+
});
|
|
@@ -51,7 +51,7 @@ var solid = {
|
|
|
51
51
|
success: "bg-success text-success-foreground"
|
|
52
52
|
};
|
|
53
53
|
var outline = {
|
|
54
|
-
default: "bg-transparent border border-
|
|
54
|
+
default: "bg-transparent border border-input text-accent-foreground",
|
|
55
55
|
primary: "bg-transparent border-primary text-primary",
|
|
56
56
|
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
57
57
|
destructive: "bg-transparent border-destructive text-destructive",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
skeletonAvatar
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-J3BXXWBQ.mjs";
|
|
4
|
+
import "../chunk-2T3SPXLF.mjs";
|
|
5
|
+
import "../chunk-2VWLEU6X.mjs";
|
|
6
6
|
import "../chunk-6IZPAS4O.mjs";
|
|
7
7
|
export {
|
|
8
8
|
skeletonAvatar
|
|
@@ -38,7 +38,7 @@ var solid = {
|
|
|
38
38
|
success: "bg-success text-success-foreground"
|
|
39
39
|
};
|
|
40
40
|
var outline = {
|
|
41
|
-
default: "bg-transparent border border-
|
|
41
|
+
default: "bg-transparent border border-input text-accent-foreground",
|
|
42
42
|
primary: "bg-transparent border-primary text-primary",
|
|
43
43
|
secondary: "bg-transparent border-secondary text-secondary-foreground",
|
|
44
44
|
destructive: "bg-transparent border-destructive text-destructive",
|
package/dist/index.d.mts
CHANGED
|
@@ -34,6 +34,7 @@ export { InputWrapperVariantProps, inputWrapper } from './components/input-wrapp
|
|
|
34
34
|
export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } from './components/integration-card.mjs';
|
|
35
35
|
export { kbd } from './components/kbd.mjs';
|
|
36
36
|
export { LabelVariantProps, label } from './components/label.mjs';
|
|
37
|
+
export { LoadingPageVariants, loadingPage } from './components/loading-page.mjs';
|
|
37
38
|
export { PageHeaderVariantProps, pageHeader } from './components/page-header.mjs';
|
|
38
39
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './components/page-layout.mjs';
|
|
39
40
|
export { PopoverVariants, popover } from './components/popover.mjs';
|