@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.
Files changed (139) hide show
  1. package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
  2. package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
  3. package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
  4. package/dist/chunk-BETLBSSF.mjs +23 -0
  5. package/dist/chunk-BWB7MWRC.mjs +22 -0
  6. package/dist/chunk-CPERWXKN.mjs +21 -0
  7. package/dist/chunk-DI54XTS5.mjs +56 -0
  8. package/dist/chunk-GRPMKEI2.mjs +34 -0
  9. package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
  10. package/dist/chunk-HWEYNK3O.mjs +25 -0
  11. package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
  12. package/dist/chunk-IHW4FWFB.mjs +71 -0
  13. package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
  14. package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
  15. package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
  16. package/dist/chunk-LMCM4CW2.mjs +22 -0
  17. package/dist/chunk-M3GQ563Q.mjs +33 -0
  18. package/dist/chunk-NFOF75HQ.mjs +106 -0
  19. package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
  20. package/dist/chunk-SPQE7K66.mjs +18 -0
  21. package/dist/chunk-TVC4THD6.mjs +16 -0
  22. package/dist/chunk-URGRCBNW.mjs +27 -0
  23. package/dist/chunk-VSVGOX3P.mjs +48 -0
  24. package/dist/chunk-XGUDXC5P.mjs +26 -0
  25. package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
  26. package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
  27. package/dist/chunk-Z7D56R5U.mjs +70 -0
  28. package/dist/components/alert-dialog.d.mts +9 -9
  29. package/dist/components/alert-dialog.d.ts +9 -9
  30. package/dist/components/alert-dialog.js +11 -2
  31. package/dist/components/alert-dialog.mjs +1 -1
  32. package/dist/components/autocomplete.d.mts +73 -0
  33. package/dist/components/autocomplete.d.ts +73 -0
  34. package/dist/components/autocomplete.js +173 -0
  35. package/dist/components/autocomplete.mjs +8 -0
  36. package/dist/components/avatar.mjs +2 -2
  37. package/dist/components/button.d.mts +15 -0
  38. package/dist/components/button.d.ts +15 -0
  39. package/dist/components/button.js +12 -6
  40. package/dist/components/button.mjs +2 -2
  41. package/dist/components/chip.d.mts +3 -0
  42. package/dist/components/chip.d.ts +3 -0
  43. package/dist/components/chip.js +4 -2
  44. package/dist/components/chip.mjs +1 -1
  45. package/dist/components/color-highlight-button.d.mts +36 -0
  46. package/dist/components/color-highlight-button.d.ts +36 -0
  47. package/dist/components/color-highlight-button.js +45 -0
  48. package/dist/components/color-highlight-button.mjs +6 -0
  49. package/dist/components/command.d.mts +9 -9
  50. package/dist/components/command.d.ts +9 -9
  51. package/dist/components/dialog.js +7 -9
  52. package/dist/components/dialog.mjs +1 -1
  53. package/dist/components/drawer.d.mts +3 -3
  54. package/dist/components/drawer.d.ts +3 -3
  55. package/dist/components/drawer.js +21 -17
  56. package/dist/components/drawer.mjs +2 -2
  57. package/dist/components/dropdown-menu.js +1 -1
  58. package/dist/components/dropdown-menu.mjs +1 -1
  59. package/dist/components/editor-basic.d.mts +44 -0
  60. package/dist/components/editor-basic.d.ts +44 -0
  61. package/dist/components/editor-basic.js +58 -0
  62. package/dist/components/editor-basic.mjs +6 -0
  63. package/dist/components/editor-spinner.d.mts +60 -0
  64. package/dist/components/editor-spinner.d.ts +60 -0
  65. package/dist/components/editor-spinner.js +40 -0
  66. package/dist/components/editor-spinner.mjs +6 -0
  67. package/dist/components/hover-card.mjs +2 -2
  68. package/dist/components/index.d.mts +13 -0
  69. package/dist/components/index.d.ts +13 -0
  70. package/dist/components/index.js +678 -198
  71. package/dist/components/index.mjs +93 -41
  72. package/dist/components/input-group.d.mts +5 -0
  73. package/dist/components/input-group.d.ts +5 -0
  74. package/dist/components/input-group.js +49 -0
  75. package/dist/components/input-group.mjs +6 -0
  76. package/dist/components/input-wrapper.d.mts +25 -0
  77. package/dist/components/input-wrapper.d.ts +25 -0
  78. package/dist/components/input-wrapper.js +72 -0
  79. package/dist/components/input-wrapper.mjs +6 -0
  80. package/dist/components/input.d.mts +30 -129
  81. package/dist/components/input.d.ts +30 -129
  82. package/dist/components/input.js +58 -71
  83. package/dist/components/input.mjs +2 -2
  84. package/dist/components/kbd.d.mts +35 -0
  85. package/dist/components/kbd.d.ts +35 -0
  86. package/dist/components/kbd.js +47 -0
  87. package/dist/components/kbd.mjs +6 -0
  88. package/dist/components/label.d.mts +22 -0
  89. package/dist/components/label.d.ts +22 -0
  90. package/dist/components/label.js +46 -0
  91. package/dist/components/label.mjs +6 -0
  92. package/dist/components/popover.d.mts +79 -14
  93. package/dist/components/popover.d.ts +79 -14
  94. package/dist/components/popover.js +41 -4
  95. package/dist/components/popover.mjs +2 -2
  96. package/dist/components/scroll-area.d.mts +50 -0
  97. package/dist/components/scroll-area.d.ts +50 -0
  98. package/dist/components/scroll-area.js +42 -0
  99. package/dist/components/scroll-area.mjs +6 -0
  100. package/dist/components/select.d.mts +76 -0
  101. package/dist/components/select.d.ts +76 -0
  102. package/dist/components/select.js +145 -0
  103. package/dist/components/select.mjs +7 -0
  104. package/dist/components/separator.d.mts +2 -2
  105. package/dist/components/separator.d.ts +2 -2
  106. package/dist/components/separator.js +7 -1
  107. package/dist/components/separator.mjs +1 -1
  108. package/dist/components/skeleton-avatar.mjs +3 -3
  109. package/dist/components/slash-dropdown-menu.d.mts +54 -0
  110. package/dist/components/slash-dropdown-menu.d.ts +54 -0
  111. package/dist/components/slash-dropdown-menu.js +55 -0
  112. package/dist/components/slash-dropdown-menu.mjs +7 -0
  113. package/dist/components/standard-chip.d.mts +4 -0
  114. package/dist/components/standard-chip.d.ts +4 -0
  115. package/dist/components/standard-chip.js +4 -2
  116. package/dist/components/standard-chip.mjs +2 -2
  117. package/dist/components/textarea.d.mts +25 -0
  118. package/dist/components/textarea.d.ts +25 -0
  119. package/dist/components/textarea.js +72 -0
  120. package/dist/components/textarea.mjs +7 -0
  121. package/dist/components/toolbar.d.mts +34 -0
  122. package/dist/components/toolbar.d.ts +34 -0
  123. package/dist/components/toolbar.js +46 -0
  124. package/dist/components/toolbar.mjs +6 -0
  125. package/dist/editor.css +784 -0
  126. package/dist/index.css +28 -1
  127. package/dist/index.d.mts +13 -0
  128. package/dist/index.d.ts +13 -0
  129. package/dist/index.js +678 -198
  130. package/dist/index.mjs +93 -41
  131. package/dist/utils/classes.d.mts +13 -1
  132. package/dist/utils/classes.d.ts +13 -1
  133. package/dist/utils/classes.js +14 -0
  134. package/dist/utils/classes.mjs +3 -1
  135. package/package.json +24 -18
  136. package/dist/chunk-CPEP2RO4.mjs +0 -17
  137. package/dist/chunk-IKJHZT2S.mjs +0 -19
  138. package/dist/chunk-UMSU2ZEG.mjs +0 -96
  139. /package/dist/{chunk-3ZVSVLZD.mjs → chunk-UWWO4AVU.mjs} +0 -0
@@ -0,0 +1,18 @@
1
+ // src/components/scroll-area.ts
2
+ import { tv } from "tailwind-variants";
3
+ var scrollArea = tv({
4
+ slots: {
5
+ root: "relative",
6
+ viewport: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
7
+ scrollbar: [
8
+ "flex touch-none p-px transition-[colors,opacity] select-none opacity-0 data-[hovering]:opacity-100 data-[scrolling]:opacity-100 duration-150 delay-300 data-[hovering]:duration-75 data-[scrolling]:duration-75 data-[hovering]:delay-0 data-[scrolling]:delay-0",
9
+ "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-2 data-[orientation=vertical]:border-l data-[orientation=vertical]:border-l-transparent",
10
+ "data-[orientation=horizontal]:h-2 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:border-t data-[orientation=horizontal]:border-t-transparent"
11
+ ],
12
+ thumb: "bg-border relative flex-1 rounded-full"
13
+ }
14
+ });
15
+
16
+ export {
17
+ scrollArea
18
+ };
@@ -0,0 +1,16 @@
1
+ // src/components/editor-spinner.ts
2
+ import { tv } from "tailwind-variants";
3
+ var editorSpinner = tv({
4
+ slots: {
5
+ root: "size-full grow shrink flex items-center justify-center",
6
+ content: ["flex", "flex-col", "items-center", "justify-center", "gap-2"],
7
+ svg: ["animate-spin size-5"],
8
+ circle: ["opacity-25 stroke-current stroke-4"],
9
+ path: ["opacity-75 fill-current"],
10
+ text: "text-center text-sm text-muted-foreground"
11
+ }
12
+ });
13
+
14
+ export {
15
+ editorSpinner
16
+ };
@@ -0,0 +1,27 @@
1
+ import {
2
+ popoverContentClasses
3
+ } from "./chunk-5DOB3IBE.mjs";
4
+
5
+ // src/components/slash-dropdown-menu.ts
6
+ import { tv } from "tailwind-variants";
7
+ var slashDropdownMenu = tv({
8
+ slots: {
9
+ card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
10
+ body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full"],
11
+ cardItemGroup: [
12
+ "relative flex align-middle min-w-max",
13
+ "flex-col justify-center"
14
+ ],
15
+ cardGroupLabel: [
16
+ "text-xs font-bold text-muted-foreground capitalize",
17
+ "pt-3 pb-1 px-2"
18
+ ],
19
+ cardGroup: [
20
+ "flex relative align-middle max-w-max justify-center items-start flex-col"
21
+ ]
22
+ }
23
+ });
24
+
25
+ export {
26
+ slashDropdownMenu
27
+ };
@@ -0,0 +1,48 @@
1
+ // src/components/input-wrapper.ts
2
+ import { tv } from "tailwind-variants";
3
+ var inputWrapper = tv({
4
+ base: [
5
+ "flex items-center gap-1.5",
6
+ "has-[:focus-visible]:ring-ring/30",
7
+ "has-[:focus-visible]:border-ring",
8
+ "has-[:focus-visible]:outline-none",
9
+ "has-[:focus-visible]:ring-[3px]",
10
+ "[&_[data-slot=datefield]]:grow",
11
+ "[&_[data-slot=input]]:data-focus-within:ring-transparent",
12
+ "[&_[data-slot=input]]:data-focus-within:ring-0",
13
+ "[&_[data-slot=input]]:data-focus-within:border-0",
14
+ "[&_[data-slot=input]]:flex",
15
+ "[&_[data-slot=input]]:w-full",
16
+ "[&_[data-slot=input]]:outline-none",
17
+ "[&_[data-slot=input]]:transition-colors",
18
+ "[&_[data-slot=input]]:text-foreground",
19
+ "[&_[data-slot=input]]:placeholder:text-muted-foreground",
20
+ "[&_[data-slot=input]]:border-0 ",
21
+ "[&_[data-slot=input]]:bg-transparent",
22
+ "[&_[data-slot=input]]:p-0",
23
+ "[&_[data-slot=input]]:shadow-none",
24
+ "[&_[data-slot=input]]:focus-visible:ring-0",
25
+ "[&_[data-slot=input]]:h-auto ",
26
+ "[&_[data-slot=input]]:disabled:cursor-not-allowed",
27
+ "[&_[data-slot=input]]:disabled:opacity-50",
28
+ "[&_svg]:text-muted-foreground",
29
+ "has-[[aria-invalid=true]]:border-destructive/60 ",
30
+ "has-[[aria-invalid=true]]:ring-destructive/10 ",
31
+ "dark:has-[[aria-invalid=true]]:border-destructive",
32
+ "dark:has-[[aria-invalid=true]]:ring-destructive/20 "
33
+ ],
34
+ variants: {
35
+ size: {
36
+ sm: "gap-1.25 [&_svg:not([class*=size-])]:size-3.5",
37
+ md: "gap-1.5 [&_svg:not([class*=size-])]:size-4",
38
+ lg: "gap-1.5 [&_svg:not([class*=size-])]:size-4"
39
+ }
40
+ },
41
+ defaultVariants: {
42
+ size: "md"
43
+ }
44
+ });
45
+
46
+ export {
47
+ inputWrapper
48
+ };
@@ -0,0 +1,26 @@
1
+ // src/components/alert-dialog.ts
2
+ import { tv } from "tailwind-variants";
3
+ var alertDialog = tv({
4
+ slots: {
5
+ overlay: [
6
+ "transition-all duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0",
7
+ "fixed inset-0 bg-black/50 [backdrop-filter:blur(4px)]"
8
+ ],
9
+ content: [
10
+ "bg-background left-[50%] top-[50%] fixed",
11
+ "grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
12
+ "transition-all duration-150",
13
+ "data-[ending-style]:scale-90 data-[ending-style]:opacity-0 data-[starting-style]:scale-90 data-[starting-style]:opacity-0",
14
+ "gap-4 rounded-lg border p-6 shadow-lg sm:max-w-lg"
15
+ ],
16
+ header: "flex flex-col gap-2 text-center sm:text-left",
17
+ footer: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
18
+ title: "text-lg font-semibold",
19
+ description: "text-muted-foreground text-sm",
20
+ action: ""
21
+ }
22
+ });
23
+
24
+ export {
25
+ alertDialog
26
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  popoverContentClasses
3
- } from "./chunk-UEMJVVVF.mjs";
3
+ } from "./chunk-5DOB3IBE.mjs";
4
4
 
5
5
  // src/components/hover-card.ts
6
6
  import { tv } from "tailwind-variants";
@@ -1,10 +1,10 @@
1
- import {
2
- focusVisibleClasses,
3
- translateCenterClasses
4
- } from "./chunk-UEMJVVVF.mjs";
5
1
  import {
6
2
  colorVariants
7
3
  } from "./chunk-WSEO3MLK.mjs";
4
+ import {
5
+ focusVisibleClasses,
6
+ translateCenterClasses
7
+ } from "./chunk-5DOB3IBE.mjs";
8
8
 
9
9
  // src/components/avatar.ts
10
10
  import { tv } from "tailwind-variants";
@@ -0,0 +1,70 @@
1
+ import {
2
+ input
3
+ } from "./chunk-IHW4FWFB.mjs";
4
+ import {
5
+ popoverContentClasses
6
+ } from "./chunk-5DOB3IBE.mjs";
7
+
8
+ // src/components/autocomplete.ts
9
+ import { tv } from "tailwind-variants";
10
+ var autocomplete = tv({
11
+ slots: {
12
+ input: input.base,
13
+ content: "",
14
+ positioner: "outline-none",
15
+ popup: [
16
+ ...popoverContentClasses,
17
+ "p-0 py-1 w-[var(--anchor-width)] max-h-[min(var(--available-height),23rem)] max-w-[var(--available-width)]",
18
+ "overflow-y-auto scroll-pt-2 scroll-pb-2 overscroll-contain bg-[canvas]",
19
+ "shadow-black/5",
20
+ "origin-[var(--transform-origin)] transition-[transform,scale,opacity] data-[ending-style]:scale-90",
21
+ "data-[ending-style]:opacity-0 data-[starting-style]:scale-90 data-[starting-style]:opacity-0"
22
+ ],
23
+ empty: ["px-2 py-1.5 text-sm text-muted-foreground empty:m-0 empty:p-0"],
24
+ list: "space-y-0.5",
25
+ item: [
26
+ "text-foreground relative flex cursor-default select-none items-center gap-2 rounded-md px-4 py-2 text-sm outline-hidden transition-colors",
27
+ "data-disabled:pointer-events-none data-disabled:opacity-50",
28
+ "[&_svg]:pointer-events-none [&_svg:not([role=img]):not([class*=text-])]:opacity-60 [&_svg:not([class*=size-])]:size-4 [&_svg]:shrink-0",
29
+ "data-[highlighted]:relative data-[highlighted]:z-0 data-[highlighted]:text-foreground data-[highlighted]:before:absolute",
30
+ "data-[highlighted]:before:inset-x-1 data-[highlighted]:before:inset-y-0 data-[highlighted]:before:z-[-1] data-[highlighted]:before:rounded-sm data-[highlighted]:before:bg-accent"
31
+ ],
32
+ clear: [
33
+ "absolute cursor-pointer top-1/2 -translate-y-1/2",
34
+ "rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100",
35
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
36
+ "data-[disabled]:pointer-events-none",
37
+ "[&_svg]:size-3.5"
38
+ ],
39
+ control: "relative"
40
+ },
41
+ variants: {
42
+ size: {
43
+ sm: {
44
+ input: [
45
+ input.variants.size.sm,
46
+ "[&~[data-slot=autocomplete-clear]]:end-1.75"
47
+ ]
48
+ },
49
+ md: {
50
+ input: [
51
+ input.variants.size.md,
52
+ "[&~[data-slot=autocomplete-clear]]:end-2"
53
+ ]
54
+ },
55
+ lg: {
56
+ input: [
57
+ input.variants.size.lg,
58
+ "[&~[data-slot=autocomplete-clear]]:end-2.5"
59
+ ]
60
+ }
61
+ }
62
+ },
63
+ defaultVariants: {
64
+ size: "md"
65
+ }
66
+ });
67
+
68
+ export {
69
+ autocomplete
70
+ };
@@ -6,29 +6,29 @@ declare const alertDialog: tailwind_variants.TVReturnType<{
6
6
  [key: string]: {
7
7
  [key: string]: tailwind_merge.ClassNameValue | {
8
8
  content?: tailwind_merge.ClassNameValue;
9
- overlay?: tailwind_merge.ClassNameValue;
10
9
  header?: tailwind_merge.ClassNameValue;
11
10
  footer?: tailwind_merge.ClassNameValue;
12
11
  title?: tailwind_merge.ClassNameValue;
13
12
  description?: tailwind_merge.ClassNameValue;
14
13
  action?: tailwind_merge.ClassNameValue;
14
+ overlay?: tailwind_merge.ClassNameValue;
15
15
  };
16
16
  };
17
17
  } | {
18
18
  [x: string]: {
19
19
  [x: string]: tailwind_merge.ClassNameValue | {
20
20
  content?: tailwind_merge.ClassNameValue;
21
- overlay?: tailwind_merge.ClassNameValue;
22
21
  header?: tailwind_merge.ClassNameValue;
23
22
  footer?: tailwind_merge.ClassNameValue;
24
23
  title?: tailwind_merge.ClassNameValue;
25
24
  description?: tailwind_merge.ClassNameValue;
26
25
  action?: tailwind_merge.ClassNameValue;
26
+ overlay?: tailwind_merge.ClassNameValue;
27
27
  };
28
28
  };
29
29
  } | {}, {
30
- overlay: string;
31
- content: string;
30
+ overlay: string[];
31
+ content: string[];
32
32
  header: string;
33
33
  footer: string;
34
34
  title: string;
@@ -38,25 +38,25 @@ declare const alertDialog: tailwind_variants.TVReturnType<{
38
38
  [key: string]: {
39
39
  [key: string]: tailwind_merge.ClassNameValue | {
40
40
  content?: tailwind_merge.ClassNameValue;
41
- overlay?: tailwind_merge.ClassNameValue;
42
41
  header?: tailwind_merge.ClassNameValue;
43
42
  footer?: tailwind_merge.ClassNameValue;
44
43
  title?: tailwind_merge.ClassNameValue;
45
44
  description?: tailwind_merge.ClassNameValue;
46
45
  action?: tailwind_merge.ClassNameValue;
46
+ overlay?: tailwind_merge.ClassNameValue;
47
47
  };
48
48
  };
49
49
  } | {}, {
50
- overlay: string;
51
- content: string;
50
+ overlay: string[];
51
+ content: string[];
52
52
  header: string;
53
53
  footer: string;
54
54
  title: string;
55
55
  description: string;
56
56
  action: string;
57
57
  }, tailwind_variants.TVReturnType<unknown, {
58
- overlay: string;
59
- content: string;
58
+ overlay: string[];
59
+ content: string[];
60
60
  header: string;
61
61
  footer: string;
62
62
  title: string;
@@ -6,29 +6,29 @@ declare const alertDialog: tailwind_variants.TVReturnType<{
6
6
  [key: string]: {
7
7
  [key: string]: tailwind_merge.ClassNameValue | {
8
8
  content?: tailwind_merge.ClassNameValue;
9
- overlay?: tailwind_merge.ClassNameValue;
10
9
  header?: tailwind_merge.ClassNameValue;
11
10
  footer?: tailwind_merge.ClassNameValue;
12
11
  title?: tailwind_merge.ClassNameValue;
13
12
  description?: tailwind_merge.ClassNameValue;
14
13
  action?: tailwind_merge.ClassNameValue;
14
+ overlay?: tailwind_merge.ClassNameValue;
15
15
  };
16
16
  };
17
17
  } | {
18
18
  [x: string]: {
19
19
  [x: string]: tailwind_merge.ClassNameValue | {
20
20
  content?: tailwind_merge.ClassNameValue;
21
- overlay?: tailwind_merge.ClassNameValue;
22
21
  header?: tailwind_merge.ClassNameValue;
23
22
  footer?: tailwind_merge.ClassNameValue;
24
23
  title?: tailwind_merge.ClassNameValue;
25
24
  description?: tailwind_merge.ClassNameValue;
26
25
  action?: tailwind_merge.ClassNameValue;
26
+ overlay?: tailwind_merge.ClassNameValue;
27
27
  };
28
28
  };
29
29
  } | {}, {
30
- overlay: string;
31
- content: string;
30
+ overlay: string[];
31
+ content: string[];
32
32
  header: string;
33
33
  footer: string;
34
34
  title: string;
@@ -38,25 +38,25 @@ declare const alertDialog: tailwind_variants.TVReturnType<{
38
38
  [key: string]: {
39
39
  [key: string]: tailwind_merge.ClassNameValue | {
40
40
  content?: tailwind_merge.ClassNameValue;
41
- overlay?: tailwind_merge.ClassNameValue;
42
41
  header?: tailwind_merge.ClassNameValue;
43
42
  footer?: tailwind_merge.ClassNameValue;
44
43
  title?: tailwind_merge.ClassNameValue;
45
44
  description?: tailwind_merge.ClassNameValue;
46
45
  action?: tailwind_merge.ClassNameValue;
46
+ overlay?: tailwind_merge.ClassNameValue;
47
47
  };
48
48
  };
49
49
  } | {}, {
50
- overlay: string;
51
- content: string;
50
+ overlay: string[];
51
+ content: string[];
52
52
  header: string;
53
53
  footer: string;
54
54
  title: string;
55
55
  description: string;
56
56
  action: string;
57
57
  }, tailwind_variants.TVReturnType<unknown, {
58
- overlay: string;
59
- content: string;
58
+ overlay: string[];
59
+ content: string[];
60
60
  header: string;
61
61
  footer: string;
62
62
  title: string;
@@ -26,8 +26,17 @@ module.exports = __toCommonJS(alert_dialog_exports);
26
26
  var import_tailwind_variants = require("tailwind-variants");
27
27
  var alertDialog = (0, import_tailwind_variants.tv)({
28
28
  slots: {
29
- overlay: "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
30
- content: "bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
29
+ overlay: [
30
+ "transition-all duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0",
31
+ "fixed inset-0 bg-black/50 [backdrop-filter:blur(4px)]"
32
+ ],
33
+ content: [
34
+ "bg-background left-[50%] top-[50%] fixed",
35
+ "grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%]",
36
+ "transition-all duration-150",
37
+ "data-[ending-style]:scale-90 data-[ending-style]:opacity-0 data-[starting-style]:scale-90 data-[starting-style]:opacity-0",
38
+ "gap-4 rounded-lg border p-6 shadow-lg sm:max-w-lg"
39
+ ],
31
40
  header: "flex flex-col gap-2 text-center sm:text-left",
32
41
  footer: "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
33
42
  title: "text-lg font-semibold",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  alertDialog
3
- } from "../chunk-CPEP2RO4.mjs";
3
+ } from "../chunk-XGUDXC5P.mjs";
4
4
  export {
5
5
  alertDialog
6
6
  };
@@ -0,0 +1,73 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const autocomplete: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ input: (string | string[])[];
8
+ };
9
+ md: {
10
+ input: (string | string[])[];
11
+ };
12
+ lg: {
13
+ input: (string | string[])[];
14
+ };
15
+ };
16
+ }, {
17
+ input: string[];
18
+ content: string;
19
+ positioner: string;
20
+ popup: string[];
21
+ empty: string[];
22
+ list: string;
23
+ item: string[];
24
+ clear: string[];
25
+ control: string;
26
+ }, undefined, {
27
+ size: {
28
+ sm: {
29
+ input: (string | string[])[];
30
+ };
31
+ md: {
32
+ input: (string | string[])[];
33
+ };
34
+ lg: {
35
+ input: (string | string[])[];
36
+ };
37
+ };
38
+ }, {
39
+ input: string[];
40
+ content: string;
41
+ positioner: string;
42
+ popup: string[];
43
+ empty: string[];
44
+ list: string;
45
+ item: string[];
46
+ clear: string[];
47
+ control: string;
48
+ }, tailwind_variants.TVReturnType<{
49
+ size: {
50
+ sm: {
51
+ input: (string | string[])[];
52
+ };
53
+ md: {
54
+ input: (string | string[])[];
55
+ };
56
+ lg: {
57
+ input: (string | string[])[];
58
+ };
59
+ };
60
+ }, {
61
+ input: string[];
62
+ content: string;
63
+ positioner: string;
64
+ popup: string[];
65
+ empty: string[];
66
+ list: string;
67
+ item: string[];
68
+ clear: string[];
69
+ control: string;
70
+ }, undefined, unknown, unknown, undefined>>;
71
+ type AutocompleteVariantProps = VariantProps<typeof autocomplete>;
72
+
73
+ export { type AutocompleteVariantProps, autocomplete };
@@ -0,0 +1,73 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const autocomplete: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ input: (string | string[])[];
8
+ };
9
+ md: {
10
+ input: (string | string[])[];
11
+ };
12
+ lg: {
13
+ input: (string | string[])[];
14
+ };
15
+ };
16
+ }, {
17
+ input: string[];
18
+ content: string;
19
+ positioner: string;
20
+ popup: string[];
21
+ empty: string[];
22
+ list: string;
23
+ item: string[];
24
+ clear: string[];
25
+ control: string;
26
+ }, undefined, {
27
+ size: {
28
+ sm: {
29
+ input: (string | string[])[];
30
+ };
31
+ md: {
32
+ input: (string | string[])[];
33
+ };
34
+ lg: {
35
+ input: (string | string[])[];
36
+ };
37
+ };
38
+ }, {
39
+ input: string[];
40
+ content: string;
41
+ positioner: string;
42
+ popup: string[];
43
+ empty: string[];
44
+ list: string;
45
+ item: string[];
46
+ clear: string[];
47
+ control: string;
48
+ }, tailwind_variants.TVReturnType<{
49
+ size: {
50
+ sm: {
51
+ input: (string | string[])[];
52
+ };
53
+ md: {
54
+ input: (string | string[])[];
55
+ };
56
+ lg: {
57
+ input: (string | string[])[];
58
+ };
59
+ };
60
+ }, {
61
+ input: string[];
62
+ content: string;
63
+ positioner: string;
64
+ popup: string[];
65
+ empty: string[];
66
+ list: string;
67
+ item: string[];
68
+ clear: string[];
69
+ control: string;
70
+ }, undefined, unknown, unknown, undefined>>;
71
+ type AutocompleteVariantProps = VariantProps<typeof autocomplete>;
72
+
73
+ export { type AutocompleteVariantProps, autocomplete };