@kopexa/theme 1.7.7 → 2.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/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
- package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
- package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
- package/dist/chunk-BETLBSSF.mjs +23 -0
- package/dist/chunk-BWB7MWRC.mjs +22 -0
- package/dist/chunk-CPERWXKN.mjs +21 -0
- package/dist/chunk-DI54XTS5.mjs +56 -0
- package/dist/chunk-GRPMKEI2.mjs +34 -0
- package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
- package/dist/chunk-HWEYNK3O.mjs +25 -0
- package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
- package/dist/chunk-IHW4FWFB.mjs +71 -0
- package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
- package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
- package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
- package/dist/chunk-LMCM4CW2.mjs +22 -0
- package/dist/chunk-M3GQ563Q.mjs +33 -0
- package/dist/chunk-NFOF75HQ.mjs +106 -0
- package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
- package/dist/chunk-SPQE7K66.mjs +18 -0
- package/dist/chunk-TVC4THD6.mjs +16 -0
- package/dist/chunk-URGRCBNW.mjs +27 -0
- package/dist/chunk-VSVGOX3P.mjs +48 -0
- package/dist/chunk-XGUDXC5P.mjs +26 -0
- package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
- package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
- package/dist/chunk-Z7D56R5U.mjs +70 -0
- package/dist/components/alert-dialog.d.mts +9 -9
- package/dist/components/alert-dialog.d.ts +9 -9
- package/dist/components/alert-dialog.js +11 -2
- package/dist/components/alert-dialog.mjs +1 -1
- package/dist/components/autocomplete.d.mts +73 -0
- package/dist/components/autocomplete.d.ts +73 -0
- package/dist/components/autocomplete.js +173 -0
- package/dist/components/autocomplete.mjs +8 -0
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.d.mts +15 -0
- package/dist/components/button.d.ts +15 -0
- package/dist/components/button.js +12 -6
- package/dist/components/button.mjs +2 -2
- package/dist/components/chip.d.mts +3 -0
- package/dist/components/chip.d.ts +3 -0
- package/dist/components/chip.js +4 -2
- package/dist/components/chip.mjs +1 -1
- package/dist/components/color-highlight-button.d.mts +36 -0
- package/dist/components/color-highlight-button.d.ts +36 -0
- package/dist/components/color-highlight-button.js +45 -0
- package/dist/components/color-highlight-button.mjs +6 -0
- package/dist/components/command.d.mts +9 -9
- package/dist/components/command.d.ts +9 -9
- package/dist/components/dialog.js +7 -9
- package/dist/components/dialog.mjs +1 -1
- package/dist/components/drawer.d.mts +3 -3
- package/dist/components/drawer.d.ts +3 -3
- package/dist/components/drawer.js +21 -17
- package/dist/components/drawer.mjs +2 -2
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu.mjs +1 -1
- package/dist/components/editor-basic.d.mts +44 -0
- package/dist/components/editor-basic.d.ts +44 -0
- package/dist/components/editor-basic.js +58 -0
- package/dist/components/editor-basic.mjs +6 -0
- package/dist/components/editor-spinner.d.mts +60 -0
- package/dist/components/editor-spinner.d.ts +60 -0
- package/dist/components/editor-spinner.js +40 -0
- package/dist/components/editor-spinner.mjs +6 -0
- package/dist/components/hover-card.mjs +2 -2
- package/dist/components/index.d.mts +13 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/index.js +678 -198
- package/dist/components/index.mjs +93 -41
- package/dist/components/input-group.d.mts +5 -0
- package/dist/components/input-group.d.ts +5 -0
- package/dist/components/input-group.js +49 -0
- package/dist/components/input-group.mjs +6 -0
- package/dist/components/input-wrapper.d.mts +25 -0
- package/dist/components/input-wrapper.d.ts +25 -0
- package/dist/components/input-wrapper.js +72 -0
- package/dist/components/input-wrapper.mjs +6 -0
- package/dist/components/input.d.mts +30 -129
- package/dist/components/input.d.ts +30 -129
- package/dist/components/input.js +58 -71
- package/dist/components/input.mjs +2 -2
- package/dist/components/kbd.d.mts +35 -0
- package/dist/components/kbd.d.ts +35 -0
- package/dist/components/kbd.js +47 -0
- package/dist/components/kbd.mjs +6 -0
- package/dist/components/label.d.mts +22 -0
- package/dist/components/label.d.ts +22 -0
- package/dist/components/label.js +46 -0
- package/dist/components/label.mjs +6 -0
- package/dist/components/popover.d.mts +79 -14
- package/dist/components/popover.d.ts +79 -14
- package/dist/components/popover.js +41 -4
- package/dist/components/popover.mjs +2 -2
- package/dist/components/scroll-area.d.mts +50 -0
- package/dist/components/scroll-area.d.ts +50 -0
- package/dist/components/scroll-area.js +42 -0
- package/dist/components/scroll-area.mjs +6 -0
- package/dist/components/select.d.mts +76 -0
- package/dist/components/select.d.ts +76 -0
- package/dist/components/select.js +145 -0
- package/dist/components/select.mjs +7 -0
- package/dist/components/separator.d.mts +2 -2
- package/dist/components/separator.d.ts +2 -2
- package/dist/components/separator.js +7 -1
- package/dist/components/separator.mjs +1 -1
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/slash-dropdown-menu.d.mts +54 -0
- package/dist/components/slash-dropdown-menu.d.ts +54 -0
- package/dist/components/slash-dropdown-menu.js +55 -0
- package/dist/components/slash-dropdown-menu.mjs +7 -0
- package/dist/components/standard-chip.d.mts +4 -0
- package/dist/components/standard-chip.d.ts +4 -0
- package/dist/components/standard-chip.js +4 -2
- package/dist/components/standard-chip.mjs +2 -2
- package/dist/components/textarea.d.mts +25 -0
- package/dist/components/textarea.d.ts +25 -0
- package/dist/components/textarea.js +72 -0
- package/dist/components/textarea.mjs +7 -0
- package/dist/components/toolbar.d.mts +34 -0
- package/dist/components/toolbar.d.ts +34 -0
- package/dist/components/toolbar.js +46 -0
- package/dist/components/toolbar.mjs +6 -0
- package/dist/editor.css +784 -0
- package/dist/index.css +28 -1
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +678 -198
- package/dist/index.mjs +93 -41
- package/dist/utils/classes.d.mts +13 -1
- package/dist/utils/classes.d.ts +13 -1
- package/dist/utils/classes.js +14 -0
- package/dist/utils/classes.mjs +3 -1
- package/package.json +24 -18
- package/dist/chunk-CPEP2RO4.mjs +0 -17
- package/dist/chunk-IKJHZT2S.mjs +0 -19
- package/dist/chunk-UMSU2ZEG.mjs +0 -96
- /package/dist/{chunk-3ZVSVLZD.mjs → chunk-UWWO4AVU.mjs} +0 -0
|
@@ -64,7 +64,7 @@ declare const drawer: tailwind_variants.TVReturnType<{
|
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
}, {
|
|
67
|
-
overlay: string[];
|
|
67
|
+
overlay: (string | string[])[];
|
|
68
68
|
content: string[];
|
|
69
69
|
close: string[];
|
|
70
70
|
closeTrigger: never[];
|
|
@@ -136,7 +136,7 @@ declare const drawer: tailwind_variants.TVReturnType<{
|
|
|
136
136
|
};
|
|
137
137
|
};
|
|
138
138
|
}, {
|
|
139
|
-
overlay: string[];
|
|
139
|
+
overlay: (string | string[])[];
|
|
140
140
|
content: string[];
|
|
141
141
|
close: string[];
|
|
142
142
|
closeTrigger: never[];
|
|
@@ -208,7 +208,7 @@ declare const drawer: tailwind_variants.TVReturnType<{
|
|
|
208
208
|
};
|
|
209
209
|
};
|
|
210
210
|
}, {
|
|
211
|
-
overlay: string[];
|
|
211
|
+
overlay: (string | string[])[];
|
|
212
212
|
content: string[];
|
|
213
213
|
close: string[];
|
|
214
214
|
closeTrigger: never[];
|
|
@@ -64,7 +64,7 @@ declare const drawer: tailwind_variants.TVReturnType<{
|
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
}, {
|
|
67
|
-
overlay: string[];
|
|
67
|
+
overlay: (string | string[])[];
|
|
68
68
|
content: string[];
|
|
69
69
|
close: string[];
|
|
70
70
|
closeTrigger: never[];
|
|
@@ -136,7 +136,7 @@ declare const drawer: tailwind_variants.TVReturnType<{
|
|
|
136
136
|
};
|
|
137
137
|
};
|
|
138
138
|
}, {
|
|
139
|
-
overlay: string[];
|
|
139
|
+
overlay: (string | string[])[];
|
|
140
140
|
content: string[];
|
|
141
141
|
close: string[];
|
|
142
142
|
closeTrigger: never[];
|
|
@@ -208,7 +208,7 @@ declare const drawer: tailwind_variants.TVReturnType<{
|
|
|
208
208
|
};
|
|
209
209
|
};
|
|
210
210
|
}, {
|
|
211
|
-
overlay: string[];
|
|
211
|
+
overlay: (string | string[])[];
|
|
212
212
|
content: string[];
|
|
213
213
|
close: string[];
|
|
214
214
|
closeTrigger: never[];
|
|
@@ -30,19 +30,17 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
30
30
|
var dialog = (0, import_tailwind_variants.tv)({
|
|
31
31
|
slots: {
|
|
32
32
|
overlay: [
|
|
33
|
-
"fixed inset-0
|
|
34
|
-
"data-[
|
|
35
|
-
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
|
|
33
|
+
"fixed inset-0 bg-black/25 [backdrop-filter:blur(4px)]",
|
|
34
|
+
"data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"
|
|
36
35
|
],
|
|
37
36
|
content: [
|
|
38
37
|
"flex flex-col",
|
|
39
|
-
"bg-background fixed top-[50%] left-[50%]
|
|
38
|
+
"bg-background fixed top-[50%] left-[50%]",
|
|
40
39
|
"w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
|
|
41
|
-
"border shadow-lg",
|
|
42
|
-
"data-[
|
|
43
|
-
"data-[
|
|
44
|
-
"
|
|
45
|
-
"duration-200 sm:max-w-lg"
|
|
40
|
+
"border shadow-lg transition-all",
|
|
41
|
+
"data-[ending-style]:scale-90 data-[ending-style]:opacity-0",
|
|
42
|
+
"data-[starting-style]:scale-90 data-[starting-style]:opacity-0",
|
|
43
|
+
"duration-150 sm:max-w-lg"
|
|
46
44
|
],
|
|
47
45
|
close: [
|
|
48
46
|
"ring-offset-background focus:ring-ring",
|
|
@@ -118,12 +116,17 @@ var dialog = (0, import_tailwind_variants.tv)({
|
|
|
118
116
|
// src/components/drawer.ts
|
|
119
117
|
var drawer = (0, import_tailwind_variants2.tv)({
|
|
120
118
|
slots: {
|
|
121
|
-
overlay:
|
|
119
|
+
overlay: [
|
|
120
|
+
dialog.slots.overlay,
|
|
121
|
+
"data-[open]:animate-in data-[closed]:animate-out",
|
|
122
|
+
"data-[closed]:fade-out-0 data-[closed]:animation-duration-[300ms] data-[open]:fade-in-0"
|
|
123
|
+
],
|
|
122
124
|
content: [
|
|
123
|
-
"bg-background fixed
|
|
125
|
+
"bg-background fixed flex flex-col w-full gap-4 shadow-lg max-h-dvh",
|
|
124
126
|
"outline-hidden",
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
+
"transition ease-in-out",
|
|
128
|
+
"data-[open]:animate-in data-[closed]:animate-out",
|
|
129
|
+
"data-[closed]:duration-300 data-[open]:duration-500"
|
|
127
130
|
],
|
|
128
131
|
close: dialog.slots.close,
|
|
129
132
|
closeTrigger: dialog.slots.closeTrigger,
|
|
@@ -172,14 +175,15 @@ var drawer = (0, import_tailwind_variants2.tv)({
|
|
|
172
175
|
placement: {
|
|
173
176
|
top: {
|
|
174
177
|
content: [
|
|
175
|
-
"data-[
|
|
178
|
+
"data-[closed]:slide-out-to-top data-[open]:slide-in-from-top",
|
|
179
|
+
// radix
|
|
176
180
|
"inset-x-2 top-2 w-[calc(100svw-1rem)] max-h-[calc(100dvh-1rem)] mx-auto h-auto border-b",
|
|
177
181
|
"max-w-[calc(100svw-1rem)]"
|
|
178
182
|
]
|
|
179
183
|
},
|
|
180
184
|
bottom: {
|
|
181
185
|
content: [
|
|
182
|
-
"data-[
|
|
186
|
+
"data-[closed]:slide-out-to-bottom data-[open]:slide-in-from-bottom",
|
|
183
187
|
"inset-x-2 bottom-2 h-auto border-t",
|
|
184
188
|
"max-w-[calc(100svw-1rem)] max-h-[calc(100dvh-1rem)]"
|
|
185
189
|
]
|
|
@@ -187,13 +191,13 @@ var drawer = (0, import_tailwind_variants2.tv)({
|
|
|
187
191
|
left: {
|
|
188
192
|
content: [
|
|
189
193
|
"inset-y-2 ms-2 left-0 border-r h-[calc(100dvh_-_1rem)]",
|
|
190
|
-
"data-[
|
|
194
|
+
"data-[closed]:slide-out-to-left data-[open]:slide-in-from-left"
|
|
191
195
|
]
|
|
192
196
|
},
|
|
193
197
|
right: {
|
|
194
198
|
content: [
|
|
195
199
|
"inset-y-2 me-2 right-0 h-[calc(100%-1rem)] border-l",
|
|
196
|
-
"data-[
|
|
200
|
+
"data-[closed]:slide-out-to-right data-[open]:slide-in-from-right"
|
|
197
201
|
]
|
|
198
202
|
}
|
|
199
203
|
},
|
|
@@ -27,7 +27,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
27
27
|
var dropdownMenu = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
29
|
root: "",
|
|
30
|
-
content: "min-w-
|
|
30
|
+
content: "min-w-[8rem] bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
31
31
|
item: "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
32
32
|
checkboxItem: "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
33
33
|
iconWrapper: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
declare const editorBasic: tailwind_variants.TVReturnType<{
|
|
4
|
+
variant: {
|
|
5
|
+
default: {
|
|
6
|
+
wrapper: string[];
|
|
7
|
+
toolbar: string;
|
|
8
|
+
content: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
wrapper: string[];
|
|
13
|
+
content: string[];
|
|
14
|
+
toolbar: string;
|
|
15
|
+
toolbarGroup: string;
|
|
16
|
+
}, undefined, {
|
|
17
|
+
variant: {
|
|
18
|
+
default: {
|
|
19
|
+
wrapper: string[];
|
|
20
|
+
toolbar: string;
|
|
21
|
+
content: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
wrapper: string[];
|
|
26
|
+
content: string[];
|
|
27
|
+
toolbar: string;
|
|
28
|
+
toolbarGroup: string;
|
|
29
|
+
}, tailwind_variants.TVReturnType<{
|
|
30
|
+
variant: {
|
|
31
|
+
default: {
|
|
32
|
+
wrapper: string[];
|
|
33
|
+
toolbar: string;
|
|
34
|
+
content: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
wrapper: string[];
|
|
39
|
+
content: string[];
|
|
40
|
+
toolbar: string;
|
|
41
|
+
toolbarGroup: string;
|
|
42
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
43
|
+
|
|
44
|
+
export { editorBasic };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
declare const editorBasic: tailwind_variants.TVReturnType<{
|
|
4
|
+
variant: {
|
|
5
|
+
default: {
|
|
6
|
+
wrapper: string[];
|
|
7
|
+
toolbar: string;
|
|
8
|
+
content: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
wrapper: string[];
|
|
13
|
+
content: string[];
|
|
14
|
+
toolbar: string;
|
|
15
|
+
toolbarGroup: string;
|
|
16
|
+
}, undefined, {
|
|
17
|
+
variant: {
|
|
18
|
+
default: {
|
|
19
|
+
wrapper: string[];
|
|
20
|
+
toolbar: string;
|
|
21
|
+
content: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
wrapper: string[];
|
|
26
|
+
content: string[];
|
|
27
|
+
toolbar: string;
|
|
28
|
+
toolbarGroup: string;
|
|
29
|
+
}, tailwind_variants.TVReturnType<{
|
|
30
|
+
variant: {
|
|
31
|
+
default: {
|
|
32
|
+
wrapper: string[];
|
|
33
|
+
toolbar: string;
|
|
34
|
+
content: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
wrapper: string[];
|
|
39
|
+
content: string[];
|
|
40
|
+
toolbar: string;
|
|
41
|
+
toolbarGroup: string;
|
|
42
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
43
|
+
|
|
44
|
+
export { editorBasic };
|
|
@@ -0,0 +1,58 @@
|
|
|
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/editor-basic.ts
|
|
21
|
+
var editor_basic_exports = {};
|
|
22
|
+
__export(editor_basic_exports, {
|
|
23
|
+
editorBasic: () => editorBasic
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(editor_basic_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var editorBasic = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
wrapper: [
|
|
30
|
+
"overflow-y-auto",
|
|
31
|
+
"h-[calc(100%-var(--spacing-editor-toolbar))]"
|
|
32
|
+
],
|
|
33
|
+
content: [
|
|
34
|
+
"w-full",
|
|
35
|
+
"[&_.tiptap.ProseMirror]:py-4",
|
|
36
|
+
"[&_.tiptap.ProseMirror]:px-6"
|
|
37
|
+
],
|
|
38
|
+
toolbar: "flex items-center gap-0.5",
|
|
39
|
+
toolbarGroup: "flex items-center gap-0.5"
|
|
40
|
+
},
|
|
41
|
+
variants: {
|
|
42
|
+
variant: {
|
|
43
|
+
// rounded toolbar, muted background
|
|
44
|
+
default: {
|
|
45
|
+
wrapper: ["border rounded-md"],
|
|
46
|
+
toolbar: "bg-muted rounded-md p-1 mb-2",
|
|
47
|
+
content: ""
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
variant: "default"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
56
|
+
0 && (module.exports = {
|
|
57
|
+
editorBasic
|
|
58
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
+
|
|
4
|
+
declare const editorSpinner: tailwind_variants.TVReturnType<{
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
7
|
+
root?: tailwind_merge.ClassNameValue;
|
|
8
|
+
content?: tailwind_merge.ClassNameValue;
|
|
9
|
+
text?: tailwind_merge.ClassNameValue;
|
|
10
|
+
svg?: tailwind_merge.ClassNameValue;
|
|
11
|
+
circle?: tailwind_merge.ClassNameValue;
|
|
12
|
+
path?: tailwind_merge.ClassNameValue;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
} | {
|
|
16
|
+
[x: string]: {
|
|
17
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
18
|
+
root?: tailwind_merge.ClassNameValue;
|
|
19
|
+
content?: tailwind_merge.ClassNameValue;
|
|
20
|
+
text?: tailwind_merge.ClassNameValue;
|
|
21
|
+
svg?: tailwind_merge.ClassNameValue;
|
|
22
|
+
circle?: tailwind_merge.ClassNameValue;
|
|
23
|
+
path?: tailwind_merge.ClassNameValue;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
} | {}, {
|
|
27
|
+
root: string;
|
|
28
|
+
content: string[];
|
|
29
|
+
svg: string[];
|
|
30
|
+
circle: string[];
|
|
31
|
+
path: string[];
|
|
32
|
+
text: string;
|
|
33
|
+
}, undefined, {
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
36
|
+
root?: tailwind_merge.ClassNameValue;
|
|
37
|
+
content?: tailwind_merge.ClassNameValue;
|
|
38
|
+
text?: tailwind_merge.ClassNameValue;
|
|
39
|
+
svg?: tailwind_merge.ClassNameValue;
|
|
40
|
+
circle?: tailwind_merge.ClassNameValue;
|
|
41
|
+
path?: tailwind_merge.ClassNameValue;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} | {}, {
|
|
45
|
+
root: string;
|
|
46
|
+
content: string[];
|
|
47
|
+
svg: string[];
|
|
48
|
+
circle: string[];
|
|
49
|
+
path: string[];
|
|
50
|
+
text: string;
|
|
51
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
52
|
+
root: string;
|
|
53
|
+
content: string[];
|
|
54
|
+
svg: string[];
|
|
55
|
+
circle: string[];
|
|
56
|
+
path: string[];
|
|
57
|
+
text: string;
|
|
58
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
59
|
+
|
|
60
|
+
export { editorSpinner };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
+
|
|
4
|
+
declare const editorSpinner: tailwind_variants.TVReturnType<{
|
|
5
|
+
[key: string]: {
|
|
6
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
7
|
+
root?: tailwind_merge.ClassNameValue;
|
|
8
|
+
content?: tailwind_merge.ClassNameValue;
|
|
9
|
+
text?: tailwind_merge.ClassNameValue;
|
|
10
|
+
svg?: tailwind_merge.ClassNameValue;
|
|
11
|
+
circle?: tailwind_merge.ClassNameValue;
|
|
12
|
+
path?: tailwind_merge.ClassNameValue;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
} | {
|
|
16
|
+
[x: string]: {
|
|
17
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
18
|
+
root?: tailwind_merge.ClassNameValue;
|
|
19
|
+
content?: tailwind_merge.ClassNameValue;
|
|
20
|
+
text?: tailwind_merge.ClassNameValue;
|
|
21
|
+
svg?: tailwind_merge.ClassNameValue;
|
|
22
|
+
circle?: tailwind_merge.ClassNameValue;
|
|
23
|
+
path?: tailwind_merge.ClassNameValue;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
} | {}, {
|
|
27
|
+
root: string;
|
|
28
|
+
content: string[];
|
|
29
|
+
svg: string[];
|
|
30
|
+
circle: string[];
|
|
31
|
+
path: string[];
|
|
32
|
+
text: string;
|
|
33
|
+
}, undefined, {
|
|
34
|
+
[key: string]: {
|
|
35
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
36
|
+
root?: tailwind_merge.ClassNameValue;
|
|
37
|
+
content?: tailwind_merge.ClassNameValue;
|
|
38
|
+
text?: tailwind_merge.ClassNameValue;
|
|
39
|
+
svg?: tailwind_merge.ClassNameValue;
|
|
40
|
+
circle?: tailwind_merge.ClassNameValue;
|
|
41
|
+
path?: tailwind_merge.ClassNameValue;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
} | {}, {
|
|
45
|
+
root: string;
|
|
46
|
+
content: string[];
|
|
47
|
+
svg: string[];
|
|
48
|
+
circle: string[];
|
|
49
|
+
path: string[];
|
|
50
|
+
text: string;
|
|
51
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
52
|
+
root: string;
|
|
53
|
+
content: string[];
|
|
54
|
+
svg: string[];
|
|
55
|
+
circle: string[];
|
|
56
|
+
path: string[];
|
|
57
|
+
text: string;
|
|
58
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
59
|
+
|
|
60
|
+
export { editorSpinner };
|
|
@@ -0,0 +1,40 @@
|
|
|
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/editor-spinner.ts
|
|
21
|
+
var editor_spinner_exports = {};
|
|
22
|
+
__export(editor_spinner_exports, {
|
|
23
|
+
editorSpinner: () => editorSpinner
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(editor_spinner_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var editorSpinner = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: "size-full grow shrink flex items-center justify-center",
|
|
30
|
+
content: ["flex", "flex-col", "items-center", "justify-center", "gap-2"],
|
|
31
|
+
svg: ["animate-spin size-5"],
|
|
32
|
+
circle: ["opacity-25 stroke-current stroke-4"],
|
|
33
|
+
path: ["opacity-75 fill-current"],
|
|
34
|
+
text: "text-center text-sm text-muted-foreground"
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
38
|
+
0 && (module.exports = {
|
|
39
|
+
editorSpinner
|
|
40
|
+
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AccordionSlots, AccordionVariantProps, accordion } from './accordion.mjs';
|
|
2
2
|
export { AlertDialogSlots, AlertDialogVariants, alertDialog } from './alert-dialog.mjs';
|
|
3
|
+
export { AutocompleteVariantProps, autocomplete } from './autocomplete.mjs';
|
|
3
4
|
export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.mjs';
|
|
4
5
|
export { AvatarGroupSlots, AvatarGroupVariantProps, avatarGroup } from './avatar-group.mjs';
|
|
5
6
|
export { BlankStateSlots, BlankStateVariantProps, blankstate } from './blankstate.mjs';
|
|
@@ -10,17 +11,24 @@ export { CardSlots, CardVariantProps, card } from './card.mjs';
|
|
|
10
11
|
export { CheckboxVariantProps, checkbox } from './checkbox.mjs';
|
|
11
12
|
export { ChipSlots, ChipVariantProps, chip } from './chip.mjs';
|
|
12
13
|
export { CodeVariantProps, code } from './code.mjs';
|
|
14
|
+
export { colorHighlightButton } from './color-highlight-button.mjs';
|
|
13
15
|
export { CommandVariants, command } from './command.mjs';
|
|
14
16
|
export { DataGridVariants, datagrid } from './data-grid.mjs';
|
|
15
17
|
export { DataTableVariants, dataTable } from './data-table.mjs';
|
|
16
18
|
export { DialogSlots, DialogVariantProps, dialog } from './dialog.mjs';
|
|
17
19
|
export { DrawerVariantProps, drawer } from './drawer.mjs';
|
|
18
20
|
export { DropdownMenuVariantProps, dropdownMenu } from './dropdown-menu.mjs';
|
|
21
|
+
export { editorBasic } from './editor-basic.mjs';
|
|
22
|
+
export { editorSpinner } from './editor-spinner.mjs';
|
|
19
23
|
export { frameworkRow } from './framework-row.mjs';
|
|
20
24
|
export { HeadingVariantProps, heading } from './heading.mjs';
|
|
21
25
|
export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './hover-card.mjs';
|
|
22
26
|
export { InputVariantProps, input, passwordInput } from './input.mjs';
|
|
27
|
+
export { inputGroup } from './input-group.mjs';
|
|
28
|
+
export { InputWrapperVariantProps, inputWrapper } from './input-wrapper.mjs';
|
|
23
29
|
export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } from './integration-card.mjs';
|
|
30
|
+
export { kbd } from './kbd.mjs';
|
|
31
|
+
export { LabelVariantProps, label } from './label.mjs';
|
|
24
32
|
export { PageHeaderVariantProps, pageHeader } from './page-header.mjs';
|
|
25
33
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './page-layout.mjs';
|
|
26
34
|
export { PopoverVariants, popover } from './popover.mjs';
|
|
@@ -29,17 +37,22 @@ export { RelatedControlChipVariantsProps, relatedControlChip } from './related-c
|
|
|
29
37
|
export { ResizableVariantProps, resizable } from './resizable.mjs';
|
|
30
38
|
export { RiskBadgeVariantProps, riskBadge } from './risk-badge.mjs';
|
|
31
39
|
export { RiskIndicatorVariantProps, riskIndicator } from './risk-indicator.mjs';
|
|
40
|
+
export { ScrollAreaVariantProps, scrollArea } from './scroll-area.mjs';
|
|
32
41
|
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './section-row.mjs';
|
|
42
|
+
export { SelectVariantProps, select } from './select.mjs';
|
|
33
43
|
export { SeparatorVariantProps, separator } from './separator.mjs';
|
|
34
44
|
export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './sidebar.mjs';
|
|
35
45
|
export { skeleton } from './skeleton.mjs';
|
|
36
46
|
export { SkeletonAvatarVariantProps, skeletonAvatar } from './skeleton-avatar.mjs';
|
|
47
|
+
export { slashDropdownMenu } from './slash-dropdown-menu.mjs';
|
|
37
48
|
export { SpinnerVariants, spinner } from './spinner.mjs';
|
|
38
49
|
export { SplitPageLayoutVariantProps, splitPageLayout } from './split-page-layout.mjs';
|
|
39
50
|
export { StandardChipVariants, standardChip } from './standard-chip.mjs';
|
|
40
51
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './tab-nav.mjs';
|
|
41
52
|
export { TableSlots, TableVariantProps, table } from './table.mjs';
|
|
42
53
|
export { TabsVariantProps, tabs } from './tabs.mjs';
|
|
54
|
+
export { TextareaVariantProps, textarea } from './textarea.mjs';
|
|
55
|
+
export { ToolbarVariantProps, toolbar } from './toolbar.mjs';
|
|
43
56
|
export { TooltipVariants, tooltip } from './tooltip.mjs';
|
|
44
57
|
import 'tailwind-variants';
|
|
45
58
|
import 'tailwind-merge';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AccordionSlots, AccordionVariantProps, accordion } from './accordion.js';
|
|
2
2
|
export { AlertDialogSlots, AlertDialogVariants, alertDialog } from './alert-dialog.js';
|
|
3
|
+
export { AutocompleteVariantProps, autocomplete } from './autocomplete.js';
|
|
3
4
|
export { AvatarSlots, AvatarVariantProps, avatar } from './avatar.js';
|
|
4
5
|
export { AvatarGroupSlots, AvatarGroupVariantProps, avatarGroup } from './avatar-group.js';
|
|
5
6
|
export { BlankStateSlots, BlankStateVariantProps, blankstate } from './blankstate.js';
|
|
@@ -10,17 +11,24 @@ export { CardSlots, CardVariantProps, card } from './card.js';
|
|
|
10
11
|
export { CheckboxVariantProps, checkbox } from './checkbox.js';
|
|
11
12
|
export { ChipSlots, ChipVariantProps, chip } from './chip.js';
|
|
12
13
|
export { CodeVariantProps, code } from './code.js';
|
|
14
|
+
export { colorHighlightButton } from './color-highlight-button.js';
|
|
13
15
|
export { CommandVariants, command } from './command.js';
|
|
14
16
|
export { DataGridVariants, datagrid } from './data-grid.js';
|
|
15
17
|
export { DataTableVariants, dataTable } from './data-table.js';
|
|
16
18
|
export { DialogSlots, DialogVariantProps, dialog } from './dialog.js';
|
|
17
19
|
export { DrawerVariantProps, drawer } from './drawer.js';
|
|
18
20
|
export { DropdownMenuVariantProps, dropdownMenu } from './dropdown-menu.js';
|
|
21
|
+
export { editorBasic } from './editor-basic.js';
|
|
22
|
+
export { editorSpinner } from './editor-spinner.js';
|
|
19
23
|
export { frameworkRow } from './framework-row.js';
|
|
20
24
|
export { HeadingVariantProps, heading } from './heading.js';
|
|
21
25
|
export { HoverCardSlots, HoverCardVariantProps, hoverCard } from './hover-card.js';
|
|
22
26
|
export { InputVariantProps, input, passwordInput } from './input.js';
|
|
27
|
+
export { inputGroup } from './input-group.js';
|
|
28
|
+
export { InputWrapperVariantProps, inputWrapper } from './input-wrapper.js';
|
|
23
29
|
export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } from './integration-card.js';
|
|
30
|
+
export { kbd } from './kbd.js';
|
|
31
|
+
export { LabelVariantProps, label } from './label.js';
|
|
24
32
|
export { PageHeaderVariantProps, pageHeader } from './page-header.js';
|
|
25
33
|
export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './page-layout.js';
|
|
26
34
|
export { PopoverVariants, popover } from './popover.js';
|
|
@@ -29,17 +37,22 @@ export { RelatedControlChipVariantsProps, relatedControlChip } from './related-c
|
|
|
29
37
|
export { ResizableVariantProps, resizable } from './resizable.js';
|
|
30
38
|
export { RiskBadgeVariantProps, riskBadge } from './risk-badge.js';
|
|
31
39
|
export { RiskIndicatorVariantProps, riskIndicator } from './risk-indicator.js';
|
|
40
|
+
export { ScrollAreaVariantProps, scrollArea } from './scroll-area.js';
|
|
32
41
|
export { SectionRowSlots, SectionRowVariantProps, sectionRow } from './section-row.js';
|
|
42
|
+
export { SelectVariantProps, select } from './select.js';
|
|
33
43
|
export { SeparatorVariantProps, separator } from './separator.js';
|
|
34
44
|
export { SidebarMenuActionVariantProps, SidebarMenuButtonVariantProps, SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton } from './sidebar.js';
|
|
35
45
|
export { skeleton } from './skeleton.js';
|
|
36
46
|
export { SkeletonAvatarVariantProps, skeletonAvatar } from './skeleton-avatar.js';
|
|
47
|
+
export { slashDropdownMenu } from './slash-dropdown-menu.js';
|
|
37
48
|
export { SpinnerVariants, spinner } from './spinner.js';
|
|
38
49
|
export { SplitPageLayoutVariantProps, splitPageLayout } from './split-page-layout.js';
|
|
39
50
|
export { StandardChipVariants, standardChip } from './standard-chip.js';
|
|
40
51
|
export { TabNavSlots, TabNavVariantProps, tabNav } from './tab-nav.js';
|
|
41
52
|
export { TableSlots, TableVariantProps, table } from './table.js';
|
|
42
53
|
export { TabsVariantProps, tabs } from './tabs.js';
|
|
54
|
+
export { TextareaVariantProps, textarea } from './textarea.js';
|
|
55
|
+
export { ToolbarVariantProps, toolbar } from './toolbar.js';
|
|
43
56
|
export { TooltipVariants, tooltip } from './tooltip.js';
|
|
44
57
|
import 'tailwind-variants';
|
|
45
58
|
import 'tailwind-merge';
|