@nuxt/ui 2.12.3 → 2.14.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 (148) hide show
  1. package/README.md +8 -8
  2. package/dist/module.d.mts +170 -40
  3. package/dist/module.d.ts +170 -40
  4. package/dist/module.json +2 -2
  5. package/dist/module.mjs +136 -146
  6. package/dist/runtime/components/data/Table.vue +16 -4
  7. package/dist/runtime/components/data/Table.vue.d.ts +21 -3
  8. package/dist/runtime/components/elements/Accordion.vue +11 -2
  9. package/dist/runtime/components/elements/Accordion.vue.d.ts +1 -1
  10. package/dist/runtime/components/elements/Alert.vue +2 -2
  11. package/dist/runtime/components/elements/Alert.vue.d.ts +4 -3
  12. package/dist/runtime/components/elements/Avatar.vue.d.ts +1 -1
  13. package/dist/runtime/components/elements/AvatarGroup.d.ts +1 -1
  14. package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
  15. package/dist/runtime/components/elements/Button.vue.d.ts +63 -37
  16. package/dist/runtime/components/elements/ButtonGroup.d.ts +1 -1
  17. package/dist/runtime/components/elements/Carousel.vue +156 -0
  18. package/dist/runtime/components/elements/Carousel.vue.d.ts +104 -0
  19. package/dist/runtime/components/elements/Chip.vue.d.ts +5 -5
  20. package/dist/runtime/components/elements/Dropdown.vue +5 -3
  21. package/dist/runtime/components/elements/Dropdown.vue.d.ts +7 -7
  22. package/dist/runtime/components/elements/Icon.vue.d.ts +1 -1
  23. package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
  24. package/dist/runtime/components/elements/Link.vue +3 -3
  25. package/dist/runtime/components/elements/Link.vue.d.ts +62 -36
  26. package/dist/runtime/components/elements/Meter.vue +4 -0
  27. package/dist/runtime/components/elements/Meter.vue.d.ts +4 -4
  28. package/dist/runtime/components/elements/MeterGroup.d.ts +4 -4
  29. package/dist/runtime/components/elements/Progress.vue +4 -1
  30. package/dist/runtime/components/elements/Progress.vue.d.ts +8 -8
  31. package/dist/runtime/components/forms/Checkbox.vue +1 -6
  32. package/dist/runtime/components/forms/Checkbox.vue.d.ts +6 -15
  33. package/dist/runtime/components/forms/Form.vue +13 -6
  34. package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
  35. package/dist/runtime/components/forms/FormGroup.vue +20 -17
  36. package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
  37. package/dist/runtime/components/forms/Input.vue +1 -0
  38. package/dist/runtime/components/forms/Input.vue.d.ts +6 -6
  39. package/dist/runtime/components/forms/InputMenu.vue +12 -1
  40. package/dist/runtime/components/forms/InputMenu.vue.d.ts +16 -7
  41. package/dist/runtime/components/forms/Radio.vue +5 -11
  42. package/dist/runtime/components/forms/Radio.vue.d.ts +6 -6
  43. package/dist/runtime/components/forms/RadioGroup.vue +1 -0
  44. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +4 -4
  45. package/dist/runtime/components/forms/Range.vue.d.ts +4 -4
  46. package/dist/runtime/components/forms/Select.vue +5 -1
  47. package/dist/runtime/components/forms/Select.vue.d.ts +6 -6
  48. package/dist/runtime/components/forms/SelectMenu.vue +5 -2
  49. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +7 -7
  50. package/dist/runtime/components/forms/Textarea.vue +5 -1
  51. package/dist/runtime/components/forms/Textarea.vue.d.ts +15 -6
  52. package/dist/runtime/components/forms/Toggle.vue +4 -2
  53. package/dist/runtime/components/forms/Toggle.vue.d.ts +6 -6
  54. package/dist/runtime/components/layout/Card.vue +1 -1
  55. package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
  56. package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
  57. package/dist/runtime/components/layout/Divider.vue +8 -1
  58. package/dist/runtime/components/layout/Divider.vue.d.ts +15 -4
  59. package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
  60. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
  61. package/dist/runtime/components/navigation/CommandPalette.vue +3 -1
  62. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +2 -2
  63. package/dist/runtime/components/navigation/CommandPaletteGroup.vue +3 -1
  64. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +1 -1
  65. package/dist/runtime/components/navigation/HorizontalNavigation.vue +102 -0
  66. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +44 -0
  67. package/dist/runtime/components/navigation/Pagination.vue.d.ts +3 -3
  68. package/dist/runtime/components/navigation/Tabs.vue +8 -8
  69. package/dist/runtime/components/navigation/Tabs.vue.d.ts +10 -1
  70. package/dist/runtime/components/navigation/VerticalNavigation.vue +12 -3
  71. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1 -1
  72. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +3 -3
  73. package/dist/runtime/components/overlays/Modal.vue +9 -3
  74. package/dist/runtime/components/overlays/Modal.vue.d.ts +6 -5
  75. package/dist/runtime/components/overlays/Modals.client.vue +12 -0
  76. package/dist/runtime/components/overlays/Notification.vue +2 -2
  77. package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -3
  78. package/dist/runtime/components/overlays/Notifications.vue.d.ts +1 -1
  79. package/dist/runtime/components/overlays/Popover.vue +5 -3
  80. package/dist/runtime/components/overlays/Popover.vue.d.ts +7 -7
  81. package/dist/runtime/components/overlays/Slideover.vue +9 -3
  82. package/dist/runtime/components/overlays/Slideover.vue.d.ts +6 -5
  83. package/dist/runtime/components/overlays/Tooltip.vue +2 -2
  84. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +6 -6
  85. package/dist/runtime/composables/useCarouselScroll.d.ts +2 -0
  86. package/dist/runtime/composables/useCarouselScroll.mjs +35 -0
  87. package/dist/runtime/composables/useFormGroup.d.ts +1 -1
  88. package/dist/runtime/composables/useFormGroup.mjs +9 -12
  89. package/dist/runtime/composables/useModal.d.ts +12 -0
  90. package/dist/runtime/composables/useModal.mjs +37 -0
  91. package/dist/runtime/composables/usePopper.d.ts +3 -3
  92. package/dist/runtime/plugins/modals.d.ts +2 -0
  93. package/dist/runtime/plugins/modals.mjs +10 -0
  94. package/dist/runtime/types/component.d.ts +14 -0
  95. package/dist/runtime/types/divider.d.ts +3 -0
  96. package/dist/runtime/types/form.d.ts +2 -1
  97. package/dist/runtime/types/horizontal-navigation.d.ts +13 -0
  98. package/dist/runtime/types/index.d.ts +3 -0
  99. package/dist/runtime/types/modal.d.ts +18 -0
  100. package/dist/runtime/types/progress.d.ts +2 -0
  101. package/dist/runtime/types/range.d.ts +2 -0
  102. package/dist/runtime/types/toggle.d.ts +2 -0
  103. package/dist/runtime/types/vertical-navigation.d.ts +2 -1
  104. package/dist/runtime/ui.config/data/table.d.ts +7 -0
  105. package/dist/runtime/ui.config/data/table.mjs +10 -3
  106. package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
  107. package/dist/runtime/ui.config/elements/accordion.mjs +1 -0
  108. package/dist/runtime/ui.config/elements/carousel.d.ts +27 -0
  109. package/dist/runtime/ui.config/elements/carousel.mjs +26 -0
  110. package/dist/runtime/ui.config/elements/dropdown.d.ts +5 -1
  111. package/dist/runtime/ui.config/elements/dropdown.mjs +8 -4
  112. package/dist/runtime/ui.config/forms/formGroup.d.ts +1 -0
  113. package/dist/runtime/ui.config/forms/formGroup.mjs +1 -0
  114. package/dist/runtime/ui.config/forms/input.d.ts +11 -0
  115. package/dist/runtime/ui.config/forms/input.mjs +11 -0
  116. package/dist/runtime/ui.config/forms/inputMenu.d.ts +1 -1
  117. package/dist/runtime/ui.config/forms/inputMenu.mjs +5 -5
  118. package/dist/runtime/ui.config/forms/select.d.ts +11 -0
  119. package/dist/runtime/ui.config/forms/select.mjs +1 -1
  120. package/dist/runtime/ui.config/forms/selectMenu.d.ts +1 -1
  121. package/dist/runtime/ui.config/forms/textarea.d.ts +11 -0
  122. package/dist/runtime/ui.config/index.d.ts +2 -0
  123. package/dist/runtime/ui.config/index.mjs +2 -0
  124. package/dist/runtime/ui.config/layout/divider.d.ts +19 -2
  125. package/dist/runtime/ui.config/layout/divider.mjs +20 -3
  126. package/dist/runtime/ui.config/navigation/breadcrumb.mjs +4 -4
  127. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
  128. package/dist/runtime/ui.config/navigation/commandPalette.mjs +8 -8
  129. package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +27 -0
  130. package/dist/runtime/ui.config/navigation/horizontalNavigation.mjs +26 -0
  131. package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +4 -3
  132. package/dist/runtime/ui.config/navigation/verticalNavigation.mjs +8 -7
  133. package/dist/runtime/ui.config/overlays/popover.d.ts +4 -0
  134. package/dist/runtime/ui.config/overlays/popover.mjs +4 -0
  135. package/dist/runtime/ui.config/overlays/slideover.mjs +2 -2
  136. package/dist/runtime/ui.config/overlays/tooltip.d.ts +4 -0
  137. package/dist/runtime/ui.config/overlays/tooltip.mjs +4 -0
  138. package/dist/runtime/ui.css +1 -1
  139. package/dist/runtime/utils/colors.d.ts +3 -0
  140. package/dist/runtime/utils/colors.mjs +261 -0
  141. package/dist/runtime/utils/index.mjs +9 -0
  142. package/dist/runtime/utils/link.d.ts +24 -11
  143. package/dist/runtime/utils/link.mjs +26 -13
  144. package/dist/types.d.mts +1 -1
  145. package/dist/types.d.ts +1 -1
  146. package/package.json +24 -22
  147. package/dist/runtime/utils/uid.d.ts +0 -1
  148. package/dist/runtime/utils/uid.mjs +0 -5
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ wrapper: string;
3
+ container: string;
4
+ item: string;
5
+ arrows: {
6
+ wrapper: string;
7
+ };
8
+ indicators: {
9
+ wrapper: string;
10
+ base: string;
11
+ active: string;
12
+ inactive: string;
13
+ };
14
+ default: {
15
+ prevButton: {
16
+ color: "black";
17
+ class: string;
18
+ icon: string;
19
+ };
20
+ nextButton: {
21
+ color: "black";
22
+ class: string;
23
+ icon: string;
24
+ };
25
+ };
26
+ };
27
+ export default _default;
@@ -0,0 +1,26 @@
1
+ export default {
2
+ wrapper: "relative",
3
+ container: "relative w-full flex overflow-x-auto snap-x snap-mandatory scroll-smooth",
4
+ item: "flex flex-none snap-center",
5
+ arrows: {
6
+ wrapper: "flex items-center justify-between"
7
+ },
8
+ indicators: {
9
+ wrapper: "absolute flex items-center justify-center gap-3 bottom-4 inset-x-0",
10
+ base: "rounded-full h-3 w-3",
11
+ active: "bg-primary-500 dark:bg-primary-400",
12
+ inactive: "bg-gray-100 dark:bg-gray-800 mix-blend-overlay"
13
+ },
14
+ default: {
15
+ prevButton: {
16
+ color: "black",
17
+ class: "rtl:[&_span:first-child]:rotate-180 absolute left-4 top-1/2 transform -translate-y-1/2 rounded-full",
18
+ icon: "i-heroicons-chevron-left-20-solid"
19
+ },
20
+ nextButton: {
21
+ color: "black",
22
+ class: "rtl:[&_span:last-child]:rotate-180 absolute right-4 top-1/2 transform -translate-y-1/2 rounded-full",
23
+ icon: "i-heroicons-chevron-right-20-solid "
24
+ }
25
+ }
26
+ };
@@ -26,7 +26,7 @@ declare const _default: {
26
26
  };
27
27
  avatar: {
28
28
  base: string;
29
- size: "3xs";
29
+ size: "2xs";
30
30
  };
31
31
  label: string;
32
32
  shortcuts: string;
@@ -43,6 +43,10 @@ declare const _default: {
43
43
  placement: string;
44
44
  strategy: string;
45
45
  };
46
+ default: {
47
+ openDelay: number;
48
+ closeDelay: number;
49
+ };
46
50
  arrow: {
47
51
  ring: string;
48
52
  background: string;
@@ -13,21 +13,21 @@ export default {
13
13
  divide: "divide-y divide-gray-200 dark:divide-gray-700",
14
14
  padding: "p-1",
15
15
  item: {
16
- base: "group flex items-center gap-2 w-full",
16
+ base: "group flex items-center gap-1.5 w-full",
17
17
  rounded: "rounded-md",
18
- padding: "px-2 py-1.5",
18
+ padding: "px-1.5 py-1.5",
19
19
  size: "text-sm",
20
20
  active: "bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-white",
21
21
  inactive: "text-gray-700 dark:text-gray-200",
22
22
  disabled: "cursor-not-allowed opacity-50",
23
23
  icon: {
24
- base: "flex-shrink-0 h-4 w-4",
24
+ base: "flex-shrink-0 w-5 h-5",
25
25
  active: "text-gray-500 dark:text-gray-400",
26
26
  inactive: "text-gray-400 dark:text-gray-500"
27
27
  },
28
28
  avatar: {
29
29
  base: "flex-shrink-0",
30
- size: "3xs"
30
+ size: "2xs"
31
31
  },
32
32
  label: "truncate",
33
33
  shortcuts: "hidden md:inline-flex flex-shrink-0 gap-0.5 ms-auto"
@@ -45,6 +45,10 @@ export default {
45
45
  placement: "bottom-end",
46
46
  strategy: "fixed"
47
47
  },
48
+ default: {
49
+ openDelay: 0,
50
+ closeDelay: 0
51
+ },
48
52
  arrow: {
49
53
  ...arrow,
50
54
  ring: "before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  wrapper: string;
3
+ inner: string;
3
4
  label: {
4
5
  wrapper: string;
5
6
  base: string;
@@ -1,5 +1,6 @@
1
1
  export default {
2
2
  wrapper: "",
3
+ inner: "",
3
4
  label: {
4
5
  wrapper: "flex content-center items-center justify-between",
5
6
  base: "block font-medium text-gray-700 dark:text-gray-200",
@@ -4,6 +4,17 @@ declare const _default: {
4
4
  form: string;
5
5
  rounded: string;
6
6
  placeholder: string;
7
+ file: {
8
+ base: string;
9
+ padding: {
10
+ '2xs': string;
11
+ xs: string;
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ xl: string;
16
+ };
17
+ };
7
18
  size: {
8
19
  '2xs': string;
9
20
  xs: string;
@@ -4,6 +4,17 @@ export default {
4
4
  form: "form-input",
5
5
  rounded: "rounded-md",
6
6
  placeholder: "placeholder-gray-400 dark:placeholder-gray-500",
7
+ file: {
8
+ base: "file:cursor-pointer file:rounded-l-md file:absolute file:left-0 file:inset-y-0 file:font-medium file:m-0 file:border-0 file:ring-1 file:ring-gray-300 dark:file:ring-gray-700 file:text-gray-900 dark:file:text-white file:bg-gray-50 hover:file:bg-gray-100 dark:file:bg-gray-800 dark:hover:file:bg-gray-700/50",
9
+ padding: {
10
+ "2xs": "ps-[85px]",
11
+ xs: "ps-[87px]",
12
+ sm: "ps-[96px]",
13
+ md: "ps-[98px]",
14
+ lg: "ps-[100px]",
15
+ xl: "ps-[109px]"
16
+ }
17
+ },
7
18
  size: {
8
19
  "2xs": "text-xs",
9
20
  xs: "text-xs",
@@ -34,7 +34,7 @@ declare const _default: {
34
34
  };
35
35
  avatar: {
36
36
  base: string;
37
- size: "3xs";
37
+ size: "2xs";
38
38
  };
39
39
  chip: {
40
40
  base: string;
@@ -14,28 +14,28 @@ export default {
14
14
  option: {
15
15
  base: "cursor-default select-none relative flex items-center justify-between gap-1",
16
16
  rounded: "rounded-md",
17
- padding: "px-2 py-1.5",
17
+ padding: "px-1.5 py-1.5",
18
18
  size: "text-sm",
19
19
  color: "text-gray-900 dark:text-white",
20
- container: "flex items-center gap-2 min-w-0",
20
+ container: "flex items-center gap-1.5 min-w-0",
21
21
  active: "bg-gray-100 dark:bg-gray-900",
22
22
  inactive: "",
23
23
  selected: "pe-7",
24
24
  disabled: "cursor-not-allowed opacity-50",
25
25
  empty: "text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",
26
26
  icon: {
27
- base: "flex-shrink-0 h-4 w-4",
27
+ base: "flex-shrink-0 h-5 w-5",
28
28
  active: "text-gray-900 dark:text-white",
29
29
  inactive: "text-gray-400 dark:text-gray-500"
30
30
  },
31
31
  selectedIcon: {
32
32
  wrapper: "absolute inset-y-0 end-0 flex items-center",
33
33
  padding: "pe-2",
34
- base: "h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"
34
+ base: "h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"
35
35
  },
36
36
  avatar: {
37
37
  base: "flex-shrink-0",
38
- size: "3xs"
38
+ size: "2xs"
39
39
  },
40
40
  chip: {
41
41
  base: "flex-shrink-0 w-2 h-2 mx-1 rounded-full"
@@ -11,6 +11,17 @@ declare const _default: {
11
11
  wrapper: string;
12
12
  base: string;
13
13
  rounded: string;
14
+ file: {
15
+ base: string;
16
+ padding: {
17
+ '2xs': string;
18
+ xs: string;
19
+ sm: string;
20
+ md: string;
21
+ lg: string;
22
+ xl: string;
23
+ };
24
+ };
14
25
  size: {
15
26
  '2xs': string;
16
27
  xs: string;
@@ -2,7 +2,7 @@ import input from "./input.mjs";
2
2
  export default {
3
3
  ...input,
4
4
  form: "form-select",
5
- placeholder: "text-gray-900 dark:text-white",
5
+ placeholder: "text-gray-400 dark:text-gray-500",
6
6
  default: {
7
7
  size: "sm",
8
8
  color: "white",
@@ -28,7 +28,7 @@ declare const _default: {
28
28
  };
29
29
  avatar: {
30
30
  base: string;
31
- size: "3xs";
31
+ size: "2xs";
32
32
  };
33
33
  chip: {
34
34
  base: string;
@@ -9,6 +9,17 @@ declare const _default: {
9
9
  base: string;
10
10
  rounded: string;
11
11
  placeholder: string;
12
+ file: {
13
+ base: string;
14
+ padding: {
15
+ '2xs': string;
16
+ xs: string;
17
+ sm: string;
18
+ md: string;
19
+ lg: string;
20
+ xl: string;
21
+ };
22
+ };
12
23
  size: {
13
24
  '2xs': string;
14
25
  xs: string;
@@ -12,6 +12,7 @@ export { default as kbd } from './elements/kbd';
12
12
  export { default as progress } from './elements/progress';
13
13
  export { default as meter } from './elements/meter';
14
14
  export { default as meterGroup } from './elements/meterGroup';
15
+ export { default as carousel } from './elements/carousel';
15
16
  export { default as input } from './forms/input';
16
17
  export { default as inputMenu } from './forms/inputMenu';
17
18
  export { default as formGroup } from './forms/formGroup';
@@ -28,6 +29,7 @@ export { default as container } from './layout/container';
28
29
  export { default as skeleton } from './layout/skeleton';
29
30
  export { default as divider } from './layout/divider';
30
31
  export { default as verticalNavigation } from './navigation/verticalNavigation';
32
+ export { default as horizontalNavigation } from './navigation/horizontalNavigation';
31
33
  export { default as commandPalette } from './navigation/commandPalette';
32
34
  export { default as pagination } from './navigation/pagination';
33
35
  export { default as tabs } from './navigation/tabs';
@@ -12,6 +12,7 @@ export { default as kbd } from "./elements/kbd.mjs";
12
12
  export { default as progress } from "./elements/progress.mjs";
13
13
  export { default as meter } from "./elements/meter.mjs";
14
14
  export { default as meterGroup } from "./elements/meterGroup.mjs";
15
+ export { default as carousel } from "./elements/carousel.mjs";
15
16
  export { default as input } from "./forms/input.mjs";
16
17
  export { default as inputMenu } from "./forms/inputMenu.mjs";
17
18
  export { default as formGroup } from "./forms/formGroup.mjs";
@@ -28,6 +29,7 @@ export { default as container } from "./layout/container.mjs";
28
29
  export { default as skeleton } from "./layout/skeleton.mjs";
29
30
  export { default as divider } from "./layout/divider.mjs";
30
31
  export { default as verticalNavigation } from "./navigation/verticalNavigation.mjs";
32
+ export { default as horizontalNavigation } from "./navigation/horizontalNavigation.mjs";
31
33
  export { default as commandPalette } from "./navigation/commandPalette.mjs";
32
34
  export { default as pagination } from "./navigation/pagination.mjs";
33
35
  export { default as tabs } from "./navigation/tabs.mjs";
@@ -14,8 +14,22 @@ declare const _default: {
14
14
  horizontal: string;
15
15
  vertical: string;
16
16
  size: {
17
- horizontal: string;
18
- vertical: string;
17
+ horizontal: {
18
+ '2xs': string;
19
+ xs: string;
20
+ sm: string;
21
+ md: string;
22
+ lg: string;
23
+ xl: string;
24
+ };
25
+ vertical: {
26
+ '2xs': string;
27
+ xs: string;
28
+ sm: string;
29
+ md: string;
30
+ lg: string;
31
+ xl: string;
32
+ };
19
33
  };
20
34
  type: {
21
35
  solid: string;
@@ -31,5 +45,8 @@ declare const _default: {
31
45
  size: "2xs";
32
46
  };
33
47
  label: string;
48
+ default: {
49
+ size: "2xs";
50
+ };
34
51
  };
35
52
  export default _default;
@@ -14,8 +14,22 @@ export default {
14
14
  horizontal: "w-full",
15
15
  vertical: "h-full",
16
16
  size: {
17
- horizontal: "border-t",
18
- vertical: "border-s"
17
+ horizontal: {
18
+ "2xs": "border-t",
19
+ xs: "border-t-[2px]",
20
+ sm: "border-t-[3px]",
21
+ md: "border-t-[4px]",
22
+ lg: "border-t-[5px]",
23
+ xl: "border-t-[6px]"
24
+ },
25
+ vertical: {
26
+ "2xs": "border-s",
27
+ xs: "border-s-[2px]",
28
+ sm: "border-s-[3px]",
29
+ md: "border-s-[4px]",
30
+ lg: "border-s-[5px]",
31
+ xl: "border-s-[6px]"
32
+ }
19
33
  },
20
34
  type: {
21
35
  solid: "border-solid",
@@ -30,5 +44,8 @@ export default {
30
44
  base: "flex-shrink-0",
31
45
  size: "2xs"
32
46
  },
33
- label: "text-sm"
47
+ label: "text-sm",
48
+ default: {
49
+ size: "2xs"
50
+ }
34
51
  };
@@ -1,11 +1,11 @@
1
1
  export default {
2
2
  wrapper: "relative",
3
3
  ol: "flex items-center gap-x-1.5",
4
- li: "flex items-center gap-x-1.5 text-gray-500 dark:text-gray-400 text-sm",
5
- base: "flex items-center gap-x-1.5 group font-semibold",
6
- label: "",
4
+ li: "flex items-center gap-x-1.5 text-gray-500 dark:text-gray-400 text-sm leading-6 min-w-0",
5
+ base: "flex items-center gap-x-1.5 group font-semibold min-w-0",
6
+ label: "block truncate",
7
7
  icon: {
8
- base: "flex-shrink-0 w-4 h-4",
8
+ base: "flex-shrink-0 w-5 h-5",
9
9
  active: "",
10
10
  inactive: ""
11
11
  },
@@ -46,7 +46,7 @@ declare const _default: {
46
46
  };
47
47
  avatar: {
48
48
  base: string;
49
- size: "3xs";
49
+ size: "2xs";
50
50
  };
51
51
  chip: {
52
52
  base: string;
@@ -10,8 +10,8 @@ export default {
10
10
  icon: {
11
11
  base: "pointer-events-none absolute start-4 text-gray-400 dark:text-gray-500",
12
12
  loading: "animate-spin",
13
- size: "h-4 w-4",
14
- padding: "ps-10"
13
+ size: "h-5 w-5",
14
+ padding: "ps-11"
15
15
  },
16
16
  closeButton: {
17
17
  base: "absolute end-4",
@@ -26,27 +26,27 @@ export default {
26
26
  },
27
27
  group: {
28
28
  wrapper: "p-2",
29
- label: "px-2 my-2 text-xs font-semibold text-gray-900 dark:text-white",
29
+ label: "px-2.5 my-2 text-xs font-semibold text-gray-900 dark:text-white",
30
30
  container: "text-sm text-gray-700 dark:text-gray-200",
31
31
  command: {
32
- base: "flex justify-between select-none items-center rounded-md px-2 py-1.5 gap-2 relative",
32
+ base: "flex justify-between select-none items-center rounded-md px-2.5 py-1.5 gap-2 relative",
33
33
  active: "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",
34
34
  inactive: "",
35
35
  label: "flex items-center gap-1.5 min-w-0",
36
36
  prefix: "text-gray-400 dark:text-gray-500",
37
37
  suffix: "text-gray-400 dark:text-gray-500",
38
- container: "flex items-center gap-2 min-w-0",
38
+ container: "flex items-center gap-1.5 min-w-0",
39
39
  icon: {
40
- base: "flex-shrink-0 w-4 h-4",
40
+ base: "flex-shrink-0 w-5 h-5",
41
41
  active: "text-gray-900 dark:text-white",
42
42
  inactive: "text-gray-400 dark:text-gray-500"
43
43
  },
44
44
  selectedIcon: {
45
- base: "h-4 w-4 text-gray-900 dark:text-white flex-shrink-0"
45
+ base: "h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"
46
46
  },
47
47
  avatar: {
48
48
  base: "flex-shrink-0",
49
- size: "3xs"
49
+ size: "2xs"
50
50
  },
51
51
  chip: {
52
52
  base: "flex-shrink-0 w-2 h-2 mx-1 rounded-full"
@@ -0,0 +1,27 @@
1
+ declare const _default: {
2
+ wrapper: string;
3
+ container: string;
4
+ inner: string;
5
+ base: string;
6
+ before: string;
7
+ after: string;
8
+ active: string;
9
+ inactive: string;
10
+ label: string;
11
+ icon: {
12
+ base: string;
13
+ active: string;
14
+ inactive: string;
15
+ };
16
+ avatar: {
17
+ base: string;
18
+ size: "2xs";
19
+ };
20
+ badge: {
21
+ base: string;
22
+ color: "gray";
23
+ variant: "solid";
24
+ size: "xs";
25
+ };
26
+ };
27
+ export default _default;
@@ -0,0 +1,26 @@
1
+ export default {
2
+ wrapper: "relative w-full flex items-center justify-between",
3
+ container: "flex items-center min-w-0",
4
+ inner: "min-w-0",
5
+ base: "group relative w-full flex items-center gap-1.5 px-2.5 py-3.5 rounded-md font-medium text-sm focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400 disabled:cursor-not-allowed disabled:opacity-75",
6
+ before: "before:absolute before:inset-x-0 before:inset-y-2 before:inset-px before:rounded-md hover:before:bg-gray-50 dark:hover:before:bg-gray-800/50",
7
+ after: "after:absolute after:bottom-0 after:inset-x-2.5 after:block after:h-[2px] after:mt-2",
8
+ active: "text-gray-900 dark:text-white after:bg-primary-500 dark:after:bg-primary-400 after:rounded-full",
9
+ inactive: "text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white",
10
+ label: "truncate relative",
11
+ icon: {
12
+ base: "flex-shrink-0 w-5 h-5",
13
+ active: "text-gray-700 dark:text-gray-200",
14
+ inactive: "text-gray-400 dark:text-gray-500 group-hover:text-gray-700 dark:group-hover:text-gray-200"
15
+ },
16
+ avatar: {
17
+ base: "flex-shrink-0",
18
+ size: "2xs"
19
+ },
20
+ badge: {
21
+ base: "flex-shrink-0 ml-auto relative rounded",
22
+ color: "gray",
23
+ variant: "solid",
24
+ size: "xs"
25
+ }
26
+ };
@@ -17,12 +17,13 @@ declare const _default: {
17
17
  };
18
18
  avatar: {
19
19
  base: string;
20
- size: "3xs";
20
+ size: "2xs";
21
21
  };
22
22
  badge: {
23
23
  base: string;
24
- active: string;
25
- inactive: string;
24
+ color: "gray";
25
+ variant: "solid";
26
+ size: "xs";
26
27
  };
27
28
  divider: {
28
29
  wrapper: {
@@ -1,8 +1,8 @@
1
1
  export default {
2
2
  wrapper: "relative",
3
- base: "group relative flex items-center gap-2 focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-1 focus-visible:before:ring-primary-500 dark:focus-visible:before:ring-primary-400 before:absolute before:inset-px before:rounded-md disabled:cursor-not-allowed disabled:opacity-75",
3
+ base: "group relative flex items-center gap-1.5 focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-1 focus-visible:before:ring-primary-500 dark:focus-visible:before:ring-primary-400 before:absolute before:inset-px before:rounded-md disabled:cursor-not-allowed disabled:opacity-75",
4
4
  ring: "focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
5
- padding: "px-3 py-1.5",
5
+ padding: "px-2.5 py-1.5",
6
6
  width: "w-full",
7
7
  rounded: "rounded-md",
8
8
  font: "font-medium",
@@ -11,18 +11,19 @@ export default {
11
11
  inactive: "text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:before:bg-gray-50 dark:hover:before:bg-gray-800/50",
12
12
  label: "truncate relative",
13
13
  icon: {
14
- base: "flex-shrink-0 w-4 h-4",
14
+ base: "flex-shrink-0 w-5 h-5",
15
15
  active: "text-gray-700 dark:text-gray-200",
16
16
  inactive: "text-gray-400 dark:text-gray-500 group-hover:text-gray-700 dark:group-hover:text-gray-200"
17
17
  },
18
18
  avatar: {
19
19
  base: "flex-shrink-0",
20
- size: "3xs"
20
+ size: "2xs"
21
21
  },
22
22
  badge: {
23
- base: "relative ms-auto inline-block py-0.5 px-2 text-xs rounded-md -me-1 -my-0.5",
24
- active: "bg-white dark:bg-gray-900",
25
- inactive: "bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white group-hover:bg-white dark:group-hover:bg-gray-900"
23
+ base: "flex-shrink-0 ml-auto relative rounded",
24
+ color: "gray",
25
+ variant: "solid",
26
+ size: "xs"
26
27
  },
27
28
  divider: {
28
29
  wrapper: {
@@ -31,6 +31,10 @@ declare const _default: {
31
31
  popper: {
32
32
  strategy: string;
33
33
  };
34
+ default: {
35
+ openDelay: number;
36
+ closeDelay: number;
37
+ };
34
38
  arrow: {
35
39
  base: string;
36
40
  ring: string;
@@ -33,5 +33,9 @@ export default {
33
33
  popper: {
34
34
  strategy: "fixed"
35
35
  },
36
+ default: {
37
+ openDelay: 0,
38
+ closeDelay: 0
39
+ },
36
40
  arrow
37
41
  };
@@ -22,8 +22,8 @@ export default {
22
22
  width: "w-screen max-w-md",
23
23
  translate: {
24
24
  base: "translate-x-0",
25
- left: "-translate-x-full",
26
- right: "translate-x-full"
25
+ left: "-translate-x-full rtl:translate-x-full",
26
+ right: "translate-x-full rtl:-translate-x-full"
27
27
  },
28
28
  // Syntax for `<TransitionRoot>` component https://headlessui.com/vue/transition#basic-example
29
29
  transition: {
@@ -21,6 +21,10 @@ declare const _default: {
21
21
  popper: {
22
22
  strategy: string;
23
23
  };
24
+ default: {
25
+ openDelay: number;
26
+ closeDelay: number;
27
+ };
24
28
  arrow: {
25
29
  base: string;
26
30
  ring: string;
@@ -23,5 +23,9 @@ export default {
23
23
  popper: {
24
24
  strategy: "fixed"
25
25
  },
26
+ default: {
27
+ openDelay: 0,
28
+ closeDelay: 0
29
+ },
26
30
  arrow
27
31
  };
@@ -1 +1 @@
1
- .dark{color-scheme:dark}a:focus-visible{@apply outline-primary}::-moz-selection{@apply bg-primary/40}::selection{@apply bg-primary/40}select{background-image:none}
1
+ .dark{color-scheme:dark}a:focus-visible{@apply outline-primary}::-moz-selection{@apply bg-primary/40}::selection{@apply bg-primary/40}
@@ -0,0 +1,3 @@
1
+ export declare const excludeColors: (colors: object) => string[];
2
+ export declare const generateSafelist: (colors: string[], globalColors: any) => any[];
3
+ export declare const customSafelistExtractor: (prefix: any, content: string, colors: string[], safelistColors: string[]) => string[];