@nuxt/ui 2.11.0 → 2.11.1

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 (140) hide show
  1. package/dist/module.d.mts +196 -22
  2. package/dist/module.d.ts +196 -22
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +5 -3
  5. package/dist/runtime/components/data/Table.vue +3 -3
  6. package/dist/runtime/components/data/Table.vue.d.ts +7 -7
  7. package/dist/runtime/components/elements/Accordion.vue +2 -2
  8. package/dist/runtime/components/elements/Accordion.vue.d.ts +7 -7
  9. package/dist/runtime/components/elements/Alert.vue +6 -6
  10. package/dist/runtime/components/elements/Alert.vue.d.ts +7 -7
  11. package/dist/runtime/components/elements/Avatar.vue +2 -2
  12. package/dist/runtime/components/elements/Avatar.vue.d.ts +7 -7
  13. package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -7
  14. package/dist/runtime/components/elements/AvatarGroup.mjs +2 -2
  15. package/dist/runtime/components/elements/Badge.vue +2 -2
  16. package/dist/runtime/components/elements/Badge.vue.d.ts +7 -7
  17. package/dist/runtime/components/elements/Button.vue +8 -6
  18. package/dist/runtime/components/elements/Button.vue.d.ts +8 -7
  19. package/dist/runtime/components/elements/ButtonGroup.d.ts +7 -7
  20. package/dist/runtime/components/elements/ButtonGroup.mjs +3 -16
  21. package/dist/runtime/components/elements/Chip.vue +2 -2
  22. package/dist/runtime/components/elements/Chip.vue.d.ts +7 -7
  23. package/dist/runtime/components/elements/Dropdown.vue +5 -5
  24. package/dist/runtime/components/elements/Dropdown.vue.d.ts +7 -7
  25. package/dist/runtime/components/elements/Kbd.vue +2 -2
  26. package/dist/runtime/components/elements/Kbd.vue.d.ts +7 -7
  27. package/dist/runtime/components/elements/Meter.vue +2 -2
  28. package/dist/runtime/components/elements/Meter.vue.d.ts +7 -7
  29. package/dist/runtime/components/elements/MeterGroup.d.ts +9 -9
  30. package/dist/runtime/components/elements/MeterGroup.mjs +8 -21
  31. package/dist/runtime/components/elements/Progress.vue +5 -94
  32. package/dist/runtime/components/elements/Progress.vue.d.ts +123 -1
  33. package/dist/runtime/components/forms/Checkbox.vue +7 -7
  34. package/dist/runtime/components/forms/Checkbox.vue.d.ts +8 -8
  35. package/dist/runtime/components/forms/Form.vue +1 -1
  36. package/dist/runtime/components/forms/FormGroup.vue +2 -2
  37. package/dist/runtime/components/forms/FormGroup.vue.d.ts +7 -7
  38. package/dist/runtime/components/forms/Input.vue +7 -7
  39. package/dist/runtime/components/forms/Input.vue.d.ts +10 -10
  40. package/dist/runtime/components/forms/Radio.vue +7 -7
  41. package/dist/runtime/components/forms/Radio.vue.d.ts +7 -7
  42. package/dist/runtime/components/forms/RadioGroup.vue +4 -4
  43. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +13 -13
  44. package/dist/runtime/components/forms/Range.vue +5 -5
  45. package/dist/runtime/components/forms/Range.vue.d.ts +8 -8
  46. package/dist/runtime/components/forms/Select.vue +7 -7
  47. package/dist/runtime/components/forms/Select.vue.d.ts +9 -9
  48. package/dist/runtime/components/forms/SelectMenu.vue +18 -18
  49. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +13 -13
  50. package/dist/runtime/components/forms/Textarea.vue +3 -3
  51. package/dist/runtime/components/forms/Textarea.vue.d.ts +10 -10
  52. package/dist/runtime/components/forms/Toggle.vue +9 -9
  53. package/dist/runtime/components/forms/Toggle.vue.d.ts +14 -14
  54. package/dist/runtime/components/layout/Card.vue +2 -2
  55. package/dist/runtime/components/layout/Card.vue.d.ts +7 -7
  56. package/dist/runtime/components/layout/Container.vue +2 -2
  57. package/dist/runtime/components/layout/Container.vue.d.ts +7 -7
  58. package/dist/runtime/components/layout/Divider.vue +3 -8
  59. package/dist/runtime/components/layout/Divider.vue.d.ts +7 -7
  60. package/dist/runtime/components/layout/Skeleton.vue +2 -2
  61. package/dist/runtime/components/layout/Skeleton.vue.d.ts +7 -7
  62. package/dist/runtime/components/navigation/Breadcrumb.vue +2 -2
  63. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +7 -7
  64. package/dist/runtime/components/navigation/CommandPalette.vue +42 -33
  65. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +15 -8
  66. package/dist/runtime/components/navigation/CommandPaletteGroup.vue +1 -3
  67. package/dist/runtime/components/navigation/Pagination.vue +7 -7
  68. package/dist/runtime/components/navigation/Pagination.vue.d.ts +7 -7
  69. package/dist/runtime/components/navigation/Tabs.vue +8 -5
  70. package/dist/runtime/components/navigation/Tabs.vue.d.ts +9 -9
  71. package/dist/runtime/components/navigation/VerticalNavigation.vue +2 -2
  72. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +7 -7
  73. package/dist/runtime/components/overlays/ContextMenu.vue +4 -3
  74. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +7 -7
  75. package/dist/runtime/components/overlays/Modal.vue +3 -6
  76. package/dist/runtime/components/overlays/Modal.vue.d.ts +7 -7
  77. package/dist/runtime/components/overlays/Notification.vue +7 -7
  78. package/dist/runtime/components/overlays/Notification.vue.d.ts +7 -7
  79. package/dist/runtime/components/overlays/Notifications.vue +2 -2
  80. package/dist/runtime/components/overlays/Notifications.vue.d.ts +7 -7
  81. package/dist/runtime/components/overlays/Popover.vue +5 -4
  82. package/dist/runtime/components/overlays/Popover.vue.d.ts +7 -7
  83. package/dist/runtime/components/overlays/Slideover.vue +6 -6
  84. package/dist/runtime/components/overlays/Slideover.vue.d.ts +7 -7
  85. package/dist/runtime/components/overlays/Tooltip.vue +6 -5
  86. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +7 -7
  87. package/dist/runtime/composables/useFormGroup.d.ts +3 -3
  88. package/dist/runtime/composables/useFormGroup.mjs +1 -1
  89. package/dist/runtime/composables/useUI.d.ts +3 -3
  90. package/dist/runtime/types/breadcrumb.d.ts +2 -0
  91. package/dist/runtime/types/form.d.ts +1 -1
  92. package/dist/runtime/types/popper.d.ts +2 -0
  93. package/dist/runtime/types/utils.d.ts +4 -4
  94. package/dist/runtime/ui.config/data/table.d.ts +2 -2
  95. package/dist/runtime/ui.config/elements/accordion.d.ts +1 -1
  96. package/dist/runtime/ui.config/elements/alert.d.ts +5 -4
  97. package/dist/runtime/ui.config/elements/alert.mjs +1 -0
  98. package/dist/runtime/ui.config/elements/button.d.ts +4 -0
  99. package/dist/runtime/ui.config/elements/button.mjs +4 -0
  100. package/dist/runtime/ui.config/elements/buttonGroup.d.ts +92 -0
  101. package/dist/runtime/ui.config/elements/buttonGroup.mjs +12 -1
  102. package/dist/runtime/ui.config/elements/dropdown.d.ts +3 -1
  103. package/dist/runtime/ui.config/elements/dropdown.mjs +4 -2
  104. package/dist/runtime/ui.config/elements/meterGroup.d.ts +40 -0
  105. package/dist/runtime/ui.config/elements/meterGroup.mjs +14 -1
  106. package/dist/runtime/ui.config/forms/checkbox.d.ts +3 -0
  107. package/dist/runtime/ui.config/forms/checkbox.mjs +3 -0
  108. package/dist/runtime/ui.config/forms/input.d.ts +2 -0
  109. package/dist/runtime/ui.config/forms/input.mjs +2 -0
  110. package/dist/runtime/ui.config/forms/radio.d.ts +3 -0
  111. package/dist/runtime/ui.config/forms/radio.mjs +3 -0
  112. package/dist/runtime/ui.config/forms/select.d.ts +2 -0
  113. package/dist/runtime/ui.config/forms/select.mjs +1 -0
  114. package/dist/runtime/ui.config/forms/selectMenu.d.ts +6 -1
  115. package/dist/runtime/ui.config/forms/selectMenu.mjs +7 -2
  116. package/dist/runtime/ui.config/forms/textarea.d.ts +2 -0
  117. package/dist/runtime/ui.config/forms/textarea.mjs +1 -0
  118. package/dist/runtime/ui.config/layout/divider.d.ts +6 -1
  119. package/dist/runtime/ui.config/layout/divider.mjs +5 -0
  120. package/dist/runtime/ui.config/navigation/breadcrumb.mjs +1 -1
  121. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +5 -1
  122. package/dist/runtime/ui.config/navigation/commandPalette.mjs +5 -1
  123. package/dist/runtime/ui.config/navigation/pagination.d.ts +6 -6
  124. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +1 -1
  125. package/dist/runtime/ui.config/overlays/contextMenu.mjs +1 -1
  126. package/dist/runtime/ui.config/overlays/modal.d.ts +1 -0
  127. package/dist/runtime/ui.config/overlays/modal.mjs +3 -2
  128. package/dist/runtime/ui.config/overlays/notification.d.ts +5 -4
  129. package/dist/runtime/ui.config/overlays/notification.mjs +1 -0
  130. package/dist/runtime/ui.config/overlays/popover.d.ts +1 -0
  131. package/dist/runtime/ui.config/overlays/popover.mjs +2 -1
  132. package/dist/runtime/ui.config/overlays/slideover.d.ts +5 -0
  133. package/dist/runtime/ui.config/overlays/slideover.mjs +5 -0
  134. package/dist/runtime/ui.config/overlays/tooltip.d.ts +1 -0
  135. package/dist/runtime/ui.config/overlays/tooltip.mjs +2 -1
  136. package/dist/runtime/ui.config/{_popperArrow.d.ts → popper.d.ts} +1 -2
  137. package/dist/runtime/ui.config/{_popperArrow.mjs → popper.mjs} +2 -2
  138. package/dist/runtime/ui.css +1 -13
  139. package/dist/runtime/utils/index.mjs +1 -1
  140. package/package.json +12 -14
@@ -43,8 +43,8 @@ declare const _default: {
43
43
  icon: string;
44
44
  trailing: boolean;
45
45
  square: boolean;
46
- color: string;
47
- variant: string;
46
+ color: "gray";
47
+ variant: "ghost";
48
48
  class: string;
49
49
  };
50
50
  loadingState: {
@@ -15,7 +15,7 @@ declare const _default: {
15
15
  openIcon: string;
16
16
  closeIcon: string;
17
17
  class: string;
18
- variant: string;
18
+ variant: "soft";
19
19
  };
20
20
  };
21
21
  export default _default;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  wrapper: string;
3
+ inner: string;
3
4
  title: string;
4
5
  description: string;
5
6
  actions: string;
@@ -12,7 +13,7 @@ declare const _default: {
12
13
  };
13
14
  avatar: {
14
15
  base: string;
15
- size: string;
16
+ size: "md";
16
17
  };
17
18
  color: {
18
19
  white: {
@@ -31,9 +32,9 @@ declare const _default: {
31
32
  icon: null;
32
33
  closeButton: null;
33
34
  actionButton: {
34
- size: string;
35
- color: string;
36
- variant: string;
35
+ size: "xs";
36
+ color: "primary";
37
+ variant: "link";
37
38
  };
38
39
  };
39
40
  };
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  wrapper: "w-full relative overflow-hidden",
3
+ inner: "w-0 flex-1",
3
4
  title: "text-sm font-medium",
4
5
  description: "mt-1 text-sm leading-4 opacity-90",
5
6
  actions: "flex items-center gap-2 mt-3 flex-shrink-0",
@@ -2,6 +2,9 @@ declare const _default: {
2
2
  base: string;
3
3
  font: string;
4
4
  rounded: string;
5
+ truncate: string;
6
+ block: string;
7
+ inline: string;
5
8
  size: {
6
9
  '2xs': string;
7
10
  xs: string;
@@ -58,6 +61,7 @@ declare const _default: {
58
61
  };
59
62
  icon: {
60
63
  base: string;
64
+ loading: string;
61
65
  size: {
62
66
  '2xs': string;
63
67
  xs: string;
@@ -2,6 +2,9 @@ export default {
2
2
  base: "focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",
3
3
  font: "font-medium",
4
4
  rounded: "rounded-md",
5
+ truncate: "text-left break-all line-clamp-1",
6
+ block: "w-full flex justify-center items-center",
7
+ inline: "inline-flex items-center",
5
8
  size: {
6
9
  "2xs": "text-xs",
7
10
  xs: "text-xs",
@@ -58,6 +61,7 @@ export default {
58
61
  },
59
62
  icon: {
60
63
  base: "flex-shrink-0",
64
+ loading: "animate-spin",
61
65
  size: {
62
66
  "2xs": "h-4 w-4",
63
67
  xs: "h-4 w-4",
@@ -5,5 +5,97 @@ declare const _default: {
5
5
  };
6
6
  rounded: string;
7
7
  shadow: string;
8
+ orientation: {
9
+ 'rounded-none': {
10
+ horizontal: {
11
+ start: string;
12
+ end: string;
13
+ };
14
+ vertical: {
15
+ start: string;
16
+ end: string;
17
+ };
18
+ };
19
+ 'rounded-sm': {
20
+ horizontal: {
21
+ start: string;
22
+ end: string;
23
+ };
24
+ vertical: {
25
+ start: string;
26
+ end: string;
27
+ };
28
+ };
29
+ rounded: {
30
+ horizontal: {
31
+ start: string;
32
+ end: string;
33
+ };
34
+ vertical: {
35
+ start: string;
36
+ end: string;
37
+ };
38
+ };
39
+ 'rounded-md': {
40
+ horizontal: {
41
+ start: string;
42
+ end: string;
43
+ };
44
+ vertical: {
45
+ start: string;
46
+ end: string;
47
+ };
48
+ };
49
+ 'rounded-lg': {
50
+ horizontal: {
51
+ start: string;
52
+ end: string;
53
+ };
54
+ vertical: {
55
+ start: string;
56
+ end: string;
57
+ };
58
+ };
59
+ 'rounded-xl': {
60
+ horizontal: {
61
+ start: string;
62
+ end: string;
63
+ };
64
+ vertical: {
65
+ start: string;
66
+ end: string;
67
+ };
68
+ };
69
+ 'rounded-2xl': {
70
+ horizontal: {
71
+ start: string;
72
+ end: string;
73
+ };
74
+ vertical: {
75
+ start: string;
76
+ end: string;
77
+ };
78
+ };
79
+ 'rounded-3xl': {
80
+ horizontal: {
81
+ start: string;
82
+ end: string;
83
+ };
84
+ vertical: {
85
+ start: string;
86
+ end: string;
87
+ };
88
+ };
89
+ 'rounded-full': {
90
+ horizontal: {
91
+ start: string;
92
+ end: string;
93
+ };
94
+ vertical: {
95
+ start: string;
96
+ end: string;
97
+ };
98
+ };
99
+ };
8
100
  };
9
101
  export default _default;
@@ -4,5 +4,16 @@ export default {
4
4
  vertical: "inline-flex flex-col -space-y-px"
5
5
  },
6
6
  rounded: "rounded-md",
7
- shadow: "shadow-sm"
7
+ shadow: "shadow-sm",
8
+ orientation: {
9
+ "rounded-none": { horizontal: { start: "rounded-s-none", end: "rounded-e-none" }, vertical: { start: "rounded-t-none", end: "rounded-b-none" } },
10
+ "rounded-sm": { horizontal: { start: "rounded-s-sm", end: "rounded-e-sm" }, vertical: { start: "rounded-t-sm", end: "rounded-b-sm" } },
11
+ rounded: { horizontal: { start: "rounded-s", end: "rounded-e" }, vertical: { start: "rounded-t", end: "rounded-b" } },
12
+ "rounded-md": { horizontal: { start: "rounded-s-md", end: "rounded-e-md" }, vertical: { start: "rounded-t-md", end: "rounded-b-md" } },
13
+ "rounded-lg": { horizontal: { start: "rounded-s-lg", end: "rounded-e-lg" }, vertical: { start: "rounded-t-lg", end: "rounded-b-lg" } },
14
+ "rounded-xl": { horizontal: { start: "rounded-s-xl", end: "rounded-e-xl" }, vertical: { start: "rounded-t-xl", end: "rounded-b-xl" } },
15
+ "rounded-2xl": { horizontal: { start: "rounded-s-2xl", end: "rounded-e-2xl" }, vertical: { start: "rounded-t-2xl", end: "rounded-b-2xl" } },
16
+ "rounded-3xl": { horizontal: { start: "rounded-s-3xl", end: "rounded-e-3xl" }, vertical: { start: "rounded-t-3xl", end: "rounded-b-3xl" } },
17
+ "rounded-full": { horizontal: { start: "rounded-s-full", end: "rounded-e-full" }, vertical: { start: "rounded-t-full", end: "rounded-b-full" } }
18
+ }
8
19
  };
@@ -1,6 +1,7 @@
1
1
  declare const _default: {
2
2
  wrapper: string;
3
3
  container: string;
4
+ trigger: string;
4
5
  width: string;
5
6
  height: string;
6
7
  background: string;
@@ -25,8 +26,9 @@ declare const _default: {
25
26
  };
26
27
  avatar: {
27
28
  base: string;
28
- size: string;
29
+ size: "3xs";
29
30
  };
31
+ label: string;
30
32
  shortcuts: string;
31
33
  };
32
34
  transition: {
@@ -1,7 +1,8 @@
1
- import _popperArrow from "../_popperArrow.mjs";
1
+ import { arrow } from "../popper.mjs";
2
2
  export default {
3
3
  wrapper: "relative inline-flex text-left rtl:text-right",
4
4
  container: "z-20 group",
5
+ trigger: "inline-flex w-full",
5
6
  width: "w-48",
6
7
  height: "",
7
8
  background: "bg-white dark:bg-gray-800",
@@ -28,6 +29,7 @@ export default {
28
29
  base: "flex-shrink-0",
29
30
  size: "3xs"
30
31
  },
32
+ label: "truncate",
31
33
  shortcuts: "hidden md:inline-flex flex-shrink-0 gap-0.5 ms-auto"
32
34
  },
33
35
  // Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
@@ -44,7 +46,7 @@ export default {
44
46
  strategy: "fixed"
45
47
  },
46
48
  arrow: {
47
- ..._popperArrow,
49
+ ...arrow,
48
50
  ring: "before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",
49
51
  background: "before:bg-white dark:before:bg-gray-700"
50
52
  }
@@ -5,8 +5,48 @@ declare const _default: {
5
5
  transition: string;
6
6
  rounded: string;
7
7
  shadow: string;
8
+ list: string;
9
+ orientation: {
10
+ 'rounded-none': {
11
+ left: string;
12
+ right: string;
13
+ };
14
+ 'rounded-sm': {
15
+ left: string;
16
+ right: string;
17
+ };
18
+ rounded: {
19
+ left: string;
20
+ right: string;
21
+ };
22
+ 'rounded-md': {
23
+ left: string;
24
+ right: string;
25
+ };
26
+ 'rounded-lg': {
27
+ left: string;
28
+ right: string;
29
+ };
30
+ 'rounded-xl': {
31
+ left: string;
32
+ right: string;
33
+ };
34
+ 'rounded-2xl': {
35
+ left: string;
36
+ right: string;
37
+ };
38
+ 'rounded-3xl': {
39
+ left: string;
40
+ right: string;
41
+ };
42
+ 'rounded-full': {
43
+ left: string;
44
+ right: string;
45
+ };
46
+ };
8
47
  default: {
9
48
  size: string;
49
+ icon: string;
10
50
  };
11
51
  };
12
52
  export default _default;
@@ -5,7 +5,20 @@ export default {
5
5
  transition: "transition-all",
6
6
  rounded: "rounded-full",
7
7
  shadow: "",
8
+ list: "list-disc list-inside",
9
+ orientation: {
10
+ "rounded-none": { left: "rounded-s-none", right: "rounded-e-none" },
11
+ "rounded-sm": { left: "rounded-s-sm", right: "rounded-e-sm" },
12
+ rounded: { left: "rounded-s", right: "rounded-e" },
13
+ "rounded-md": { left: "rounded-s-md", right: "rounded-e-md" },
14
+ "rounded-lg": { left: "rounded-s-lg", right: "rounded-e-lg" },
15
+ "rounded-xl": { left: "rounded-s-xl", right: "rounded-e-xl" },
16
+ "rounded-2xl": { left: "rounded-s-2xl", right: "rounded-e-2xl" },
17
+ "rounded-3xl": { left: "rounded-s-3xl", right: "rounded-e-3xl" },
18
+ "rounded-full": { left: "rounded-s-full", right: "rounded-e-full" }
19
+ },
8
20
  default: {
9
- size: "md"
21
+ size: "md",
22
+ icon: "i-heroicons-minus-20-solid"
10
23
  }
11
24
  };
@@ -1,11 +1,14 @@
1
1
  declare const _default: {
2
2
  wrapper: string;
3
+ container: string;
3
4
  base: string;
5
+ form: string;
4
6
  rounded: string;
5
7
  color: string;
6
8
  background: string;
7
9
  border: string;
8
10
  ring: string;
11
+ inner: string;
9
12
  label: string;
10
13
  required: string;
11
14
  help: string;
@@ -1,11 +1,14 @@
1
1
  export default {
2
2
  wrapper: "relative flex items-start",
3
+ container: "flex items-center h-5",
3
4
  base: "h-4 w-4 dark:checked:bg-current dark:checked:border-transparent dark:indeterminate:bg-current dark:indeterminate:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent",
5
+ form: "form-checkbox",
4
6
  rounded: "rounded",
5
7
  color: "text-{color}-500 dark:text-{color}-400",
6
8
  background: "bg-white dark:bg-gray-900",
7
9
  border: "border border-gray-300 dark:border-gray-700",
8
10
  ring: "focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",
11
+ inner: "ms-3 flex flex-col",
9
12
  label: "text-sm font-medium text-gray-700 dark:text-gray-200",
10
13
  required: "text-sm text-red-500 dark:text-red-400",
11
14
  help: "text-sm text-gray-500 dark:text-gray-400",
@@ -1,6 +1,7 @@
1
1
  declare const _default: {
2
2
  wrapper: string;
3
3
  base: string;
4
+ form: string;
4
5
  rounded: string;
5
6
  placeholder: string;
6
7
  size: {
@@ -62,6 +63,7 @@ declare const _default: {
62
63
  icon: {
63
64
  base: string;
64
65
  color: string;
66
+ loading: string;
65
67
  size: {
66
68
  '2xs': string;
67
69
  xs: string;
@@ -1,6 +1,7 @@
1
1
  export default {
2
2
  wrapper: "relative",
3
3
  base: "relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none border-0",
4
+ form: "form-input",
4
5
  rounded: "rounded-md",
5
6
  placeholder: "placeholder-gray-400 dark:placeholder-gray-500",
6
7
  size: {
@@ -62,6 +63,7 @@ export default {
62
63
  icon: {
63
64
  base: "flex-shrink-0 text-gray-400 dark:text-gray-500",
64
65
  color: "text-{color}-500 dark:text-{color}-400",
66
+ loading: "animate-spin",
65
67
  size: {
66
68
  "2xs": "h-4 w-4",
67
69
  xs: "h-4 w-4",
@@ -1,10 +1,13 @@
1
1
  declare const _default: {
2
2
  wrapper: string;
3
+ container: string;
3
4
  base: string;
5
+ form: string;
4
6
  color: string;
5
7
  background: string;
6
8
  border: string;
7
9
  ring: string;
10
+ inner: string;
8
11
  label: string;
9
12
  required: string;
10
13
  help: string;
@@ -1,10 +1,13 @@
1
1
  export default {
2
2
  wrapper: "relative flex items-start",
3
+ container: "flex items-center h-5",
3
4
  base: "h-4 w-4 dark:checked:bg-current dark:checked:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent",
5
+ form: "form-radio",
4
6
  color: "text-{color}-500 dark:text-{color}-400",
5
7
  background: "bg-white dark:bg-gray-900",
6
8
  border: "border border-gray-300 dark:border-gray-700",
7
9
  ring: "focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",
10
+ inner: "ms-3 flex flex-col",
8
11
  label: "text-sm font-medium text-gray-700 dark:text-gray-200",
9
12
  required: "text-sm text-red-500 dark:text-red-400",
10
13
  help: "text-sm text-gray-500 dark:text-gray-400",
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ form: string;
2
3
  placeholder: string;
3
4
  default: {
4
5
  size: string;
@@ -69,6 +70,7 @@ declare const _default: {
69
70
  icon: {
70
71
  base: string;
71
72
  color: string;
73
+ loading: string;
72
74
  size: {
73
75
  '2xs': string;
74
76
  xs: string;
@@ -1,6 +1,7 @@
1
1
  import input from "./input.mjs";
2
2
  export default {
3
3
  ...input,
4
+ form: "form-select",
4
5
  placeholder: "text-gray-900 dark:text-white",
5
6
  default: {
6
7
  size: "sm",
@@ -1,5 +1,7 @@
1
1
  declare const _default: {
2
2
  container: string;
3
+ trigger: string;
4
+ select: string;
3
5
  width: string;
4
6
  height: string;
5
7
  base: string;
@@ -9,6 +11,8 @@ declare const _default: {
9
11
  padding: string;
10
12
  ring: string;
11
13
  input: string;
14
+ required: string;
15
+ label: string;
12
16
  option: {
13
17
  base: string;
14
18
  rounded: string;
@@ -21,6 +25,7 @@ declare const _default: {
21
25
  selected: string;
22
26
  disabled: string;
23
27
  empty: string;
28
+ create: string;
24
29
  icon: {
25
30
  base: string;
26
31
  active: string;
@@ -33,7 +38,7 @@ declare const _default: {
33
38
  };
34
39
  avatar: {
35
40
  base: string;
36
- size: string;
41
+ size: "3xs";
37
42
  };
38
43
  chip: {
39
44
  base: string;
@@ -1,6 +1,8 @@
1
- import _popperArrow from "../_popperArrow.mjs";
1
+ import { arrow } from "../popper.mjs";
2
2
  export default {
3
3
  container: "z-20 group",
4
+ trigger: "inline-flex w-full",
5
+ select: "inline-flex items-center text-left cursor-default",
4
6
  width: "w-full",
5
7
  height: "max-h-60",
6
8
  base: "relative focus:outline-none overflow-y-auto scroll-py-1",
@@ -10,6 +12,8 @@ export default {
10
12
  padding: "p-1",
11
13
  ring: "ring-1 ring-gray-200 dark:ring-gray-700",
12
14
  input: "block w-[calc(100%+0.5rem)] focus:ring-transparent text-sm px-3 py-1.5 text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-800 border-0 border-b border-gray-200 dark:border-gray-700 focus:border-inherit sticky -top-1 -mt-1 mb-1 -mx-1 z-10 placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none",
15
+ required: "absolute inset-0 w-px opacity-0 cursor-default",
16
+ label: "block truncate",
13
17
  option: {
14
18
  base: "cursor-default select-none relative flex items-center justify-between gap-1",
15
19
  rounded: "rounded-md",
@@ -22,6 +26,7 @@ export default {
22
26
  selected: "pe-7",
23
27
  disabled: "cursor-not-allowed opacity-50",
24
28
  empty: "text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",
29
+ create: "block truncate",
25
30
  icon: {
26
31
  base: "flex-shrink-0 h-4 w-4",
27
32
  active: "text-gray-900 dark:text-white",
@@ -54,7 +59,7 @@ export default {
54
59
  clearOnClose: false
55
60
  },
56
61
  arrow: {
57
- ..._popperArrow,
62
+ ...arrow,
58
63
  ring: "before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",
59
64
  background: "before:bg-white dark:before:bg-gray-700"
60
65
  }
@@ -1,4 +1,5 @@
1
1
  declare const _default: {
2
+ form: string;
2
3
  default: {
3
4
  size: string;
4
5
  color: string;
@@ -67,6 +68,7 @@ declare const _default: {
67
68
  icon: {
68
69
  base: string;
69
70
  color: string;
71
+ loading: string;
70
72
  size: {
71
73
  '2xs': string;
72
74
  xs: string;
@@ -1,6 +1,7 @@
1
1
  import input from "./input.mjs";
2
2
  export default {
3
3
  ...input,
4
+ form: "form-textarea",
4
5
  default: {
5
6
  size: "sm",
6
7
  color: "white",
@@ -17,13 +17,18 @@ declare const _default: {
17
17
  horizontal: string;
18
18
  vertical: string;
19
19
  };
20
+ type: {
21
+ solid: string;
22
+ dotted: string;
23
+ dashed: string;
24
+ };
20
25
  };
21
26
  icon: {
22
27
  base: string;
23
28
  };
24
29
  avatar: {
25
30
  base: string;
26
- size: string;
31
+ size: "2xs";
27
32
  };
28
33
  label: string;
29
34
  };
@@ -16,6 +16,11 @@ export default {
16
16
  size: {
17
17
  horizontal: "border-t",
18
18
  vertical: "border-s"
19
+ },
20
+ type: {
21
+ solid: "border-solid",
22
+ dotted: "border-dotted",
23
+ dashed: "border-dashed"
19
24
  }
20
25
  },
21
26
  icon: {
@@ -14,6 +14,6 @@ export default {
14
14
  active: "text-primary-500 dark:text-primary-400",
15
15
  inactive: " hover:text-gray-700 dark:hover:text-gray-200",
16
16
  default: {
17
- divider: "i-heroicons-chevron-right-20-solid"
17
+ divider: "i-heroicons-chevron-right-20-solid rtl:i-heroicons-chevron-left-20-solid"
18
18
  }
19
19
  };
@@ -9,10 +9,14 @@ declare const _default: {
9
9
  size: string;
10
10
  icon: {
11
11
  base: string;
12
+ loading: string;
12
13
  size: string;
13
14
  padding: string;
14
15
  };
15
- closeButton: string;
16
+ closeButton: {
17
+ base: string;
18
+ padding: string;
19
+ };
16
20
  };
17
21
  emptyState: {
18
22
  wrapper: string;
@@ -9,10 +9,14 @@ export default {
9
9
  size: "sm:text-sm",
10
10
  icon: {
11
11
  base: "pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500",
12
+ loading: "animate-spin",
12
13
  size: "h-4 w-4",
13
14
  padding: "ps-10"
14
15
  },
15
- closeButton: "absolute end-4"
16
+ closeButton: {
17
+ base: "absolute end-4",
18
+ padding: "pe-10"
19
+ }
16
20
  },
17
21
  emptyState: {
18
22
  wrapper: "flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",
@@ -5,28 +5,28 @@ declare const _default: {
5
5
  default: {
6
6
  size: string;
7
7
  activeButton: {
8
- color: string;
8
+ color: "primary";
9
9
  };
10
10
  inactiveButton: {
11
- color: string;
11
+ color: "white";
12
12
  };
13
13
  firstButton: {
14
- color: string;
14
+ color: "white";
15
15
  class: string;
16
16
  icon: string;
17
17
  };
18
18
  lastButton: {
19
- color: string;
19
+ color: "white";
20
20
  class: string;
21
21
  icon: string;
22
22
  };
23
23
  prevButton: {
24
- color: string;
24
+ color: "white";
25
25
  class: string;
26
26
  icon: string;
27
27
  };
28
28
  nextButton: {
29
- color: string;
29
+ color: "white";
30
30
  class: string;
31
31
  icon: string;
32
32
  };
@@ -17,7 +17,7 @@ declare const _default: {
17
17
  };
18
18
  avatar: {
19
19
  base: string;
20
- size: string;
20
+ size: "3xs";
21
21
  };
22
22
  badge: {
23
23
  base: string;
@@ -1,4 +1,4 @@
1
- import arrow from "../_popperArrow.mjs";
1
+ import { arrow } from "../popper.mjs";
2
2
  export default {
3
3
  wrapper: "relative",
4
4
  container: "z-20 group",