@auronui/styles 1.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 (268) hide show
  1. package/DATA_ATTRIBUTES.md +163 -0
  2. package/LICENSE +21 -0
  3. package/README.md +54 -0
  4. package/base/base.css +40 -0
  5. package/components/accordion.css +201 -0
  6. package/components/alert-dialog.css +307 -0
  7. package/components/alert.css +143 -0
  8. package/components/aspect-ratio.css +8 -0
  9. package/components/autocomplete.css +685 -0
  10. package/components/avatar.css +78 -0
  11. package/components/badge.css +186 -0
  12. package/components/breadcrumbs.css +76 -0
  13. package/components/button-group.css +126 -0
  14. package/components/button.css +282 -0
  15. package/components/calendar-year-picker.css +193 -0
  16. package/components/calendar.css +332 -0
  17. package/components/card.css +225 -0
  18. package/components/checkbox-group.css +7 -0
  19. package/components/checkbox.css +268 -0
  20. package/components/chip.css +227 -0
  21. package/components/close-button.css +65 -0
  22. package/components/collapsible-group.css +7 -0
  23. package/components/collapsible.css +74 -0
  24. package/components/color-area.css +81 -0
  25. package/components/color-field.css +99 -0
  26. package/components/color-input-group.css +153 -0
  27. package/components/color-picker.css +121 -0
  28. package/components/color-slider.css +266 -0
  29. package/components/color-swatch-picker.css +247 -0
  30. package/components/color-swatch.css +42 -0
  31. package/components/combo-box.css +203 -0
  32. package/components/date-input-group.css +125 -0
  33. package/components/date-input.css +529 -0
  34. package/components/date-picker.css +86 -0
  35. package/components/date-range-field.css +538 -0
  36. package/components/date-range-picker.css +93 -0
  37. package/components/description.css +4 -0
  38. package/components/drawer.css +222 -0
  39. package/components/dropdown.css +67 -0
  40. package/components/empty-state.css +4 -0
  41. package/components/error-message.css +13 -0
  42. package/components/field-error.css +19 -0
  43. package/components/fieldset.css +39 -0
  44. package/components/header.css +7 -0
  45. package/components/index.css +164 -0
  46. package/components/input-otp.css +124 -0
  47. package/components/input.css +603 -0
  48. package/components/kbd.css +27 -0
  49. package/components/label.css +28 -0
  50. package/components/link.css +144 -0
  51. package/components/list-box-item.css +29 -0
  52. package/components/list-box-section.css +13 -0
  53. package/components/list-box.css +11 -0
  54. package/components/menu-item.css +68 -0
  55. package/components/menu-section.css +18 -0
  56. package/components/menu.css +7 -0
  57. package/components/meter.css +104 -0
  58. package/components/modal.css +335 -0
  59. package/components/number-field.css +395 -0
  60. package/components/pagination.css +157 -0
  61. package/components/popover.css +96 -0
  62. package/components/progress-bar.css +126 -0
  63. package/components/progress-circle.css +82 -0
  64. package/components/radio-group.css +47 -0
  65. package/components/radio.css +157 -0
  66. package/components/range-calendar.css +402 -0
  67. package/components/scroll-area.css +70 -0
  68. package/components/scroll-shadow.css +77 -0
  69. package/components/select.css +649 -0
  70. package/components/separator.css +59 -0
  71. package/components/skeleton.css +48 -0
  72. package/components/slider.css +155 -0
  73. package/components/spinner.css +42 -0
  74. package/components/splitter.css +74 -0
  75. package/components/stepper.css +160 -0
  76. package/components/surface.css +23 -0
  77. package/components/switch-group.css +17 -0
  78. package/components/switch.css +194 -0
  79. package/components/table.css +341 -0
  80. package/components/tabs.css +262 -0
  81. package/components/tag-group.css +66 -0
  82. package/components/tag.css +99 -0
  83. package/components/textarea.css +536 -0
  84. package/components/time-field.css +530 -0
  85. package/components/toast.css +267 -0
  86. package/components/toggle-button-group.css +174 -0
  87. package/components/toggle-button.css +149 -0
  88. package/components/toolbar.css +32 -0
  89. package/components/tooltip.css +47 -0
  90. package/components/tree.css +81 -0
  91. package/index.css +29 -0
  92. package/package.json +415 -0
  93. package/src/components/accordion/accordion.styles.ts +46 -0
  94. package/src/components/accordion/index.ts +1 -0
  95. package/src/components/alert/alert.styles.ts +37 -0
  96. package/src/components/alert/index.ts +1 -0
  97. package/src/components/alert-dialog/alert-dialog.styles.ts +72 -0
  98. package/src/components/alert-dialog/index.ts +1 -0
  99. package/src/components/aspect-ratio/aspect-ratio.styles.ts +10 -0
  100. package/src/components/aspect-ratio/index.ts +1 -0
  101. package/src/components/autocomplete/autocomplete.styles.ts +86 -0
  102. package/src/components/autocomplete/index.ts +1 -0
  103. package/src/components/avatar/avatar.styles.ts +53 -0
  104. package/src/components/avatar/index.ts +1 -0
  105. package/src/components/badge/badge.styles.ts +77 -0
  106. package/src/components/badge/index.ts +1 -0
  107. package/src/components/breadcrumbs/breadcrumbs.styles.ts +14 -0
  108. package/src/components/breadcrumbs/index.ts +1 -0
  109. package/src/components/button/__tests__/button.styles.test.ts +79 -0
  110. package/src/components/button/button.styles.ts +65 -0
  111. package/src/components/button/index.ts +1 -0
  112. package/src/components/button-group/button-group.styles.ts +32 -0
  113. package/src/components/button-group/index.ts +1 -0
  114. package/src/components/calendar/calendar.styles.ts +60 -0
  115. package/src/components/calendar/index.ts +1 -0
  116. package/src/components/calendar-year-picker/calendar-year-picker.styles.ts +15 -0
  117. package/src/components/calendar-year-picker/index.ts +1 -0
  118. package/src/components/card/card.styles.ts +65 -0
  119. package/src/components/card/index.ts +1 -0
  120. package/src/components/checkbox/checkbox.styles.ts +27 -0
  121. package/src/components/checkbox/index.ts +1 -0
  122. package/src/components/checkbox-group/checkbox-group.styles.ts +18 -0
  123. package/src/components/checkbox-group/index.ts +1 -0
  124. package/src/components/chip/chip.styles.ts +65 -0
  125. package/src/components/chip/index.ts +1 -0
  126. package/src/components/close-button/close-button.styles.ts +17 -0
  127. package/src/components/close-button/index.ts +1 -0
  128. package/src/components/collapsible/collapsible.styles.ts +25 -0
  129. package/src/components/collapsible/index.ts +1 -0
  130. package/src/components/collapsible-group/collapsible-group.styles.ts +13 -0
  131. package/src/components/collapsible-group/index.ts +1 -0
  132. package/src/components/color-area/color-area.styles.ts +23 -0
  133. package/src/components/color-area/index.ts +1 -0
  134. package/src/components/color-field/color-field.styles.ts +18 -0
  135. package/src/components/color-field/index.ts +1 -0
  136. package/src/components/color-input-group/color-input-group.styles.ts +34 -0
  137. package/src/components/color-input-group/index.ts +1 -0
  138. package/src/components/color-picker/color-picker.styles.ts +13 -0
  139. package/src/components/color-picker/index.ts +1 -0
  140. package/src/components/color-slider/color-slider.styles.ts +14 -0
  141. package/src/components/color-slider/index.ts +1 -0
  142. package/src/components/color-swatch/color-swatch.styles.ts +26 -0
  143. package/src/components/color-swatch/index.ts +1 -0
  144. package/src/components/color-swatch-picker/color-swatch-picker.styles.ts +54 -0
  145. package/src/components/color-swatch-picker/index.ts +1 -0
  146. package/src/components/combo-box/combo-box.styles.ts +26 -0
  147. package/src/components/combo-box/index.ts +1 -0
  148. package/src/components/date-input/date-input.styles.ts +86 -0
  149. package/src/components/date-input/index.ts +1 -0
  150. package/src/components/date-picker/date-picker.styles.ts +14 -0
  151. package/src/components/date-picker/index.ts +1 -0
  152. package/src/components/date-range-field/date-range-field.styles.ts +87 -0
  153. package/src/components/date-range-field/index.ts +1 -0
  154. package/src/components/date-range-picker/date-range-picker.styles.ts +14 -0
  155. package/src/components/date-range-picker/index.ts +1 -0
  156. package/src/components/description/description.styles.ts +9 -0
  157. package/src/components/description/index.ts +1 -0
  158. package/src/components/drawer/drawer.styles.ts +55 -0
  159. package/src/components/drawer/index.ts +1 -0
  160. package/src/components/dropdown/dropdown.styles.ts +14 -0
  161. package/src/components/dropdown/index.ts +1 -0
  162. package/src/components/empty-state/empty-state.styles.ts +9 -0
  163. package/src/components/empty-state/index.ts +1 -0
  164. package/src/components/error-message/error-message.styles.ts +9 -0
  165. package/src/components/error-message/index.ts +1 -0
  166. package/src/components/fieldset/fieldset.styles.ts +29 -0
  167. package/src/components/fieldset/index.ts +1 -0
  168. package/src/components/header/header.styles.ts +5 -0
  169. package/src/components/header/index.ts +1 -0
  170. package/src/components/index.ts +84 -0
  171. package/src/components/input/index.ts +1 -0
  172. package/src/components/input/input.styles.ts +87 -0
  173. package/src/components/input-otp/index.ts +1 -0
  174. package/src/components/input-otp/input-otp.styles.ts +30 -0
  175. package/src/components/kbd/index.ts +1 -0
  176. package/src/components/kbd/kbd.styles.ts +20 -0
  177. package/src/components/label/index.ts +1 -0
  178. package/src/components/label/label.styles.ts +25 -0
  179. package/src/components/link/index.ts +1 -0
  180. package/src/components/link/link.styles.ts +38 -0
  181. package/src/components/list-box/index.ts +1 -0
  182. package/src/components/list-box/list-box.styles.ts +18 -0
  183. package/src/components/list-box-item/index.ts +1 -0
  184. package/src/components/list-box-item/list-box-item.styles.ts +25 -0
  185. package/src/components/list-box-section/index.ts +1 -0
  186. package/src/components/list-box-section/list-box-section.styles.ts +13 -0
  187. package/src/components/menu/index.ts +1 -0
  188. package/src/components/menu/menu.styles.ts +9 -0
  189. package/src/components/menu-item/index.ts +1 -0
  190. package/src/components/menu-item/menu-item.styles.ts +26 -0
  191. package/src/components/menu-section/index.ts +1 -0
  192. package/src/components/menu-section/menu-section.styles.ts +14 -0
  193. package/src/components/meter/index.ts +1 -0
  194. package/src/components/meter/meter.styles.ts +48 -0
  195. package/src/components/modal/index.ts +1 -0
  196. package/src/components/modal/modal.styles.ts +70 -0
  197. package/src/components/number-field/index.ts +1 -0
  198. package/src/components/number-field/number-field.styles.ts +80 -0
  199. package/src/components/pagination/index.ts +1 -0
  200. package/src/components/pagination/pagination.styles.ts +32 -0
  201. package/src/components/popover/index.ts +1 -0
  202. package/src/components/popover/popover.styles.ts +14 -0
  203. package/src/components/progress-bar/index.ts +1 -0
  204. package/src/components/progress-bar/progress-bar.styles.ts +97 -0
  205. package/src/components/progress-circle/index.ts +1 -0
  206. package/src/components/progress-circle/progress-circle.styles.ts +74 -0
  207. package/src/components/radio/index.ts +1 -0
  208. package/src/components/radio/radio.styles.ts +14 -0
  209. package/src/components/radio-group/index.ts +1 -0
  210. package/src/components/radio-group/radio-group.styles.ts +18 -0
  211. package/src/components/range-calendar/index.ts +1 -0
  212. package/src/components/range-calendar/range-calendar.styles.ts +60 -0
  213. package/src/components/scroll-shadow/index.ts +1 -0
  214. package/src/components/scroll-shadow/scroll-shadow.styles.ts +37 -0
  215. package/src/components/select/index.ts +1 -0
  216. package/src/components/select/select.styles.ts +86 -0
  217. package/src/components/separator/index.ts +1 -0
  218. package/src/components/separator/separator.styles.ts +25 -0
  219. package/src/components/skeleton/index.ts +1 -0
  220. package/src/components/skeleton/skeleton.styles.ts +21 -0
  221. package/src/components/slider/index.ts +1 -0
  222. package/src/components/slider/slider.styles.ts +40 -0
  223. package/src/components/spinner/index.ts +1 -0
  224. package/src/components/spinner/spinner.styles.ts +28 -0
  225. package/src/components/splitter/index.ts +1 -0
  226. package/src/components/splitter/splitter.styles.ts +28 -0
  227. package/src/components/stepper/index.ts +1 -0
  228. package/src/components/stepper/stepper.styles.ts +57 -0
  229. package/src/components/surface/index.ts +1 -0
  230. package/src/components/surface/surface.styles.ts +20 -0
  231. package/src/components/switch/index.ts +1 -0
  232. package/src/components/switch/switch.styles.ts +31 -0
  233. package/src/components/switch-group/index.ts +1 -0
  234. package/src/components/switch-group/switch-group.styles.ts +25 -0
  235. package/src/components/table/index.ts +1 -0
  236. package/src/components/table/table.styles.ts +47 -0
  237. package/src/components/tabs/index.ts +1 -0
  238. package/src/components/tabs/tabs.styles.ts +31 -0
  239. package/src/components/tag/index.ts +1 -0
  240. package/src/components/tag/tag.styles.ts +37 -0
  241. package/src/components/tag-group/index.ts +1 -0
  242. package/src/components/tag-group/tag-group.styles.ts +12 -0
  243. package/src/components/text/index.ts +1 -0
  244. package/src/components/text/text.styles.ts +29 -0
  245. package/src/components/textarea/index.ts +1 -0
  246. package/src/components/textarea/textarea.styles.ts +86 -0
  247. package/src/components/time-field/index.ts +1 -0
  248. package/src/components/time-field/time-field.styles.ts +86 -0
  249. package/src/components/toast/index.ts +1 -0
  250. package/src/components/toast/toast.styles.ts +67 -0
  251. package/src/components/toggle-button/index.ts +1 -0
  252. package/src/components/toggle-button/toggle-button.styles.ts +28 -0
  253. package/src/components/toggle-button-group/index.ts +1 -0
  254. package/src/components/toggle-button-group/toggle-button-group.styles.ts +39 -0
  255. package/src/components/toolbar/index.ts +1 -0
  256. package/src/components/toolbar/toolbar.styles.ts +23 -0
  257. package/src/components/tooltip/index.ts +1 -0
  258. package/src/components/tooltip/tooltip.styles.ts +12 -0
  259. package/src/components/tree/index.ts +1 -0
  260. package/src/components/tree/tree.styles.ts +33 -0
  261. package/src/index.ts +5 -0
  262. package/src/utils/index.ts +15 -0
  263. package/themes/default/components/index.css +6 -0
  264. package/themes/default/index.css +8 -0
  265. package/themes/default/variables.css +168 -0
  266. package/themes/shared/theme.css +196 -0
  267. package/utilities/index.css +244 -0
  268. package/variants/index.css +106 -0
@@ -0,0 +1,65 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const chipVariants = tv({
6
+ defaultVariants: {
7
+ color: "default",
8
+ variant: "solid",
9
+ size: "md",
10
+ },
11
+ slots: {
12
+ base: "chip",
13
+ label: "chip__label",
14
+ dot: "chip__dot",
15
+ startContent: "chip__start-content",
16
+ endContent: "chip__end-content",
17
+ closeButton: "chip__close-button",
18
+ },
19
+ variants: {
20
+ color: {
21
+ accent: {
22
+ base: "chip--accent",
23
+ },
24
+ danger: {
25
+ base: "chip--danger",
26
+ },
27
+ default: {
28
+ base: "chip--default",
29
+ },
30
+ success: {
31
+ base: "chip--success",
32
+ },
33
+ warning: {
34
+ base: "chip--warning",
35
+ },
36
+ },
37
+ size: {
38
+ lg: {
39
+ base: "chip--lg",
40
+ },
41
+ md: {
42
+ base: "chip--md",
43
+ },
44
+ sm: {
45
+ base: "chip--sm",
46
+ },
47
+ },
48
+ variant: {
49
+ solid: {
50
+ base: "chip--solid",
51
+ },
52
+ soft: {
53
+ base: "chip--soft",
54
+ },
55
+ outlined: {
56
+ base: "chip--outlined",
57
+ },
58
+ text: {
59
+ base: "chip--text",
60
+ },
61
+ },
62
+ },
63
+ });
64
+
65
+ export type ChipVariants = VariantProps<typeof chipVariants>;
@@ -0,0 +1 @@
1
+ export * from "./chip.styles";
@@ -0,0 +1,17 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const closeButtonVariants = tv({
6
+ base: "close-button",
7
+ defaultVariants: {
8
+ variant: "default",
9
+ },
10
+ variants: {
11
+ variant: {
12
+ default: "close-button--default",
13
+ },
14
+ },
15
+ });
16
+
17
+ export type CloseButtonVariants = VariantProps<typeof closeButtonVariants>;
@@ -0,0 +1 @@
1
+ export * from "./close-button.styles";
@@ -0,0 +1,25 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const collapsibleVariants = tv({
6
+ defaultVariants: {},
7
+ slots: {
8
+ base: "collapsible",
9
+ body: "collapsible__body",
10
+ bodyInner: "collapsible__body-inner",
11
+ content: "collapsible__content",
12
+ heading: "collapsible__heading",
13
+ indicator: "collapsible__indicator",
14
+ trigger: "collapsible__trigger",
15
+ },
16
+ variants: {},
17
+ });
18
+
19
+ // Render props that should be excluded from CollapsibleVariants (framework-specific)
20
+ type CollapsibleRenderPropsKeys = "isExpanded" | "isDisabled" | "state";
21
+
22
+ export type CollapsibleVariants = Omit<
23
+ VariantProps<typeof collapsibleVariants>,
24
+ CollapsibleRenderPropsKeys
25
+ >;
@@ -0,0 +1 @@
1
+ export * from "./collapsible.styles";
@@ -0,0 +1,13 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const collapsibleGroupVariants = tv({
6
+ defaultVariants: {},
7
+ slots: {
8
+ base: "collapsible-group",
9
+ },
10
+ variants: {},
11
+ });
12
+
13
+ export type CollapsibleGroupVariants = VariantProps<typeof collapsibleGroupVariants>;
@@ -0,0 +1 @@
1
+ export * from "./collapsible-group.styles";
@@ -0,0 +1,23 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorAreaVariants = tv({
6
+ defaultVariants: {
7
+ showDots: false,
8
+ },
9
+ slots: {
10
+ base: "color-area",
11
+ thumb: "color-area__thumb",
12
+ },
13
+ variants: {
14
+ showDots: {
15
+ false: {},
16
+ true: {
17
+ base: "color-area--show-dots",
18
+ },
19
+ },
20
+ },
21
+ });
22
+
23
+ export type ColorAreaVariants = VariantProps<typeof colorAreaVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-area.styles";
@@ -0,0 +1,18 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorFieldVariants = tv({
6
+ base: "color-field",
7
+ defaultVariants: {
8
+ fullWidth: false,
9
+ },
10
+ variants: {
11
+ fullWidth: {
12
+ false: "",
13
+ true: "color-field--full-width",
14
+ },
15
+ },
16
+ });
17
+
18
+ export type ColorFieldVariants = VariantProps<typeof colorFieldVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-field.styles";
@@ -0,0 +1,34 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorInputGroupVariants = tv({
6
+ defaultVariants: {
7
+ fullWidth: false,
8
+ variant: "primary",
9
+ },
10
+ slots: {
11
+ base: "color-input-group",
12
+ input: "color-input-group__input",
13
+ prefix: "color-input-group__prefix",
14
+ suffix: "color-input-group__suffix",
15
+ },
16
+ variants: {
17
+ fullWidth: {
18
+ false: {},
19
+ true: {
20
+ base: "color-input-group--full-width",
21
+ },
22
+ },
23
+ variant: {
24
+ primary: {
25
+ base: "color-input-group--primary",
26
+ },
27
+ secondary: {
28
+ base: "color-input-group--secondary",
29
+ },
30
+ },
31
+ },
32
+ });
33
+
34
+ export type ColorInputGroupVariants = VariantProps<typeof colorInputGroupVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-input-group.styles";
@@ -0,0 +1,13 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorPickerVariants = tv({
6
+ slots: {
7
+ base: "color-picker",
8
+ popover: "color-picker__popover",
9
+ trigger: "color-picker__trigger",
10
+ },
11
+ });
12
+
13
+ export type ColorPickerVariants = VariantProps<typeof colorPickerVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-picker.styles";
@@ -0,0 +1,14 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorSliderVariants = tv({
6
+ slots: {
7
+ base: "color-slider",
8
+ output: "color-slider__output",
9
+ thumb: "color-slider__thumb",
10
+ track: "color-slider__track",
11
+ },
12
+ });
13
+
14
+ export type ColorSliderVariants = VariantProps<typeof colorSliderVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-slider.styles";
@@ -0,0 +1,26 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorSwatchVariants = tv({
6
+ base: "color-swatch",
7
+ defaultVariants: {
8
+ shape: "circle",
9
+ size: "md",
10
+ },
11
+ variants: {
12
+ shape: {
13
+ circle: "color-swatch--circle",
14
+ square: "color-swatch--square",
15
+ },
16
+ size: {
17
+ lg: "color-swatch--lg",
18
+ md: "color-swatch--md",
19
+ sm: "color-swatch--sm",
20
+ xl: "color-swatch--xl",
21
+ xs: "color-swatch--xs",
22
+ },
23
+ },
24
+ });
25
+
26
+ export type ColorSwatchVariants = VariantProps<typeof colorSwatchVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-swatch.styles";
@@ -0,0 +1,54 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const colorSwatchPickerVariants = tv({
6
+ defaultVariants: {
7
+ layout: "grid",
8
+ size: "md",
9
+ variant: "circle",
10
+ },
11
+ slots: {
12
+ base: "color-swatch-picker",
13
+ indicator: "color-swatch-picker__indicator",
14
+ item: "color-swatch-picker__item",
15
+ swatch: "color-swatch-picker__swatch",
16
+ },
17
+ variants: {
18
+ layout: {
19
+ grid: {
20
+ base: "color-swatch-picker--grid",
21
+ },
22
+ stack: {
23
+ base: "color-swatch-picker--stack",
24
+ },
25
+ },
26
+ size: {
27
+ lg: {
28
+ base: "color-swatch-picker--lg",
29
+ },
30
+ md: {
31
+ base: "color-swatch-picker--md",
32
+ },
33
+ sm: {
34
+ base: "color-swatch-picker--sm",
35
+ },
36
+ xl: {
37
+ base: "color-swatch-picker--xl",
38
+ },
39
+ xs: {
40
+ base: "color-swatch-picker--xs",
41
+ },
42
+ },
43
+ variant: {
44
+ circle: {
45
+ base: "color-swatch-picker--circle",
46
+ },
47
+ square: {
48
+ base: "color-swatch-picker--square",
49
+ },
50
+ },
51
+ },
52
+ });
53
+
54
+ export type ColorSwatchPickerVariants = VariantProps<typeof colorSwatchPickerVariants>;
@@ -0,0 +1 @@
1
+ export * from "./color-swatch-picker.styles";
@@ -0,0 +1,26 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const comboBoxVariants = tv({
6
+ defaultVariants: {
7
+ fullWidth: false,
8
+ },
9
+ slots: {
10
+ base: "combo-box",
11
+ inputGroup: "combo-box__input-group",
12
+ popover: "combo-box__popover",
13
+ trigger: "combo-box__trigger",
14
+ },
15
+ variants: {
16
+ fullWidth: {
17
+ false: {},
18
+ true: {
19
+ base: "combo-box--full-width",
20
+ inputGroup: "combo-box__input-group--full-width",
21
+ },
22
+ },
23
+ },
24
+ });
25
+
26
+ export type ComboBoxVariants = VariantProps<typeof comboBoxVariants>;
@@ -0,0 +1 @@
1
+ export * from "./combo-box.styles";
@@ -0,0 +1,86 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const dateInputVariants = tv({
6
+ slots: {
7
+ base: "date-input-root",
8
+ mainWrapper: "date-input__main-wrapper",
9
+ inputWrapper: "date-input",
10
+ segmentList: "date-input__segment-list",
11
+ segment: "date-input__segment",
12
+ startContent: "date-input__start-content",
13
+ endContent: "date-input__end-content",
14
+ label: "date-input__label",
15
+ helperWrapper: "date-input__helper-wrapper",
16
+ description: "date-input__description",
17
+ errorMessage: "date-input__error-message",
18
+ },
19
+ defaultVariants: {
20
+ variant: "flat",
21
+ size: "md",
22
+ color: "default",
23
+ fullWidth: false,
24
+ isInvalid: false,
25
+ isDisabled: false,
26
+ isReadonly: false,
27
+ hasLabel: false,
28
+ labelPlacement: "inside",
29
+ },
30
+ variants: {
31
+ variant: {
32
+ flat: { inputWrapper: "date-input--flat" },
33
+ bordered: { inputWrapper: "date-input--bordered" },
34
+ faded: { inputWrapper: "date-input--faded" },
35
+ underlined: { inputWrapper: "date-input--underlined" },
36
+ raised: { inputWrapper: "date-input--raised" },
37
+ },
38
+ size: {
39
+ sm: { inputWrapper: "date-input--sm" },
40
+ md: {},
41
+ lg: { inputWrapper: "date-input--lg" },
42
+ },
43
+ color: {
44
+ default: { inputWrapper: "date-input--default" },
45
+ primary: { inputWrapper: "date-input--primary" },
46
+ secondary: { inputWrapper: "date-input--secondary" },
47
+ success: { inputWrapper: "date-input--success" },
48
+ warning: { inputWrapper: "date-input--warning" },
49
+ danger: { inputWrapper: "date-input--danger" },
50
+ },
51
+ fullWidth: {
52
+ false: {},
53
+ true: { base: "date-input-root--full-width", inputWrapper: "date-input--full-width" },
54
+ },
55
+ isInvalid: {
56
+ false: {},
57
+ true: { base: "date-input-root--invalid", inputWrapper: "date-input--invalid" },
58
+ },
59
+ isDisabled: {
60
+ false: {},
61
+ true: { base: "date-input-root--disabled", inputWrapper: "date-input--disabled" },
62
+ },
63
+ isReadonly: {
64
+ false: {},
65
+ true: { inputWrapper: "date-input--readonly" },
66
+ },
67
+ hasLabel: {
68
+ false: {},
69
+ true: {},
70
+ },
71
+ labelPlacement: {
72
+ inside: { base: "date-input-root--label-inside" },
73
+ outside: { base: "date-input-root--label-outside" },
74
+ "outside-left": { base: "date-input-root--label-outside-left" },
75
+ },
76
+ },
77
+ compoundVariants: [
78
+ {
79
+ hasLabel: true,
80
+ labelPlacement: "inside",
81
+ class: { inputWrapper: "date-input--label-inside" },
82
+ },
83
+ ],
84
+ });
85
+
86
+ export type DateInputVariants = VariantProps<typeof dateInputVariants>;
@@ -0,0 +1 @@
1
+ export * from "./date-input.styles";
@@ -0,0 +1,14 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const datePickerVariants = tv({
6
+ slots: {
7
+ base: "date-picker",
8
+ popover: "date-picker__popover",
9
+ trigger: "date-picker__trigger",
10
+ triggerIndicator: "date-picker__trigger-indicator",
11
+ },
12
+ });
13
+
14
+ export type DatePickerVariants = VariantProps<typeof datePickerVariants>;
@@ -0,0 +1 @@
1
+ export * from "./date-picker.styles";
@@ -0,0 +1,87 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import { tv } from "tailwind-variants";
4
+
5
+ export const dateRangeFieldVariants = tv({
6
+ slots: {
7
+ base: "date-range-field-root",
8
+ mainWrapper: "date-range-field__main-wrapper",
9
+ inputWrapper: "date-range-field",
10
+ segmentList: "date-range-field__segment-list",
11
+ segment: "date-range-field__segment",
12
+ separator: "date-range-field__separator",
13
+ startContent: "date-range-field__start-content",
14
+ endContent: "date-range-field__end-content",
15
+ label: "date-range-field__label",
16
+ helperWrapper: "date-range-field__helper-wrapper",
17
+ description: "date-range-field__description",
18
+ errorMessage: "date-range-field__error-message",
19
+ },
20
+ defaultVariants: {
21
+ variant: "flat",
22
+ size: "md",
23
+ color: "default",
24
+ fullWidth: false,
25
+ isInvalid: false,
26
+ isDisabled: false,
27
+ isReadonly: false,
28
+ hasLabel: false,
29
+ labelPlacement: "inside",
30
+ },
31
+ variants: {
32
+ variant: {
33
+ flat: { inputWrapper: "date-range-field--flat" },
34
+ bordered: { inputWrapper: "date-range-field--bordered" },
35
+ faded: { inputWrapper: "date-range-field--faded" },
36
+ underlined: { inputWrapper: "date-range-field--underlined" },
37
+ raised: { inputWrapper: "date-range-field--raised" },
38
+ },
39
+ size: {
40
+ sm: { inputWrapper: "date-range-field--sm" },
41
+ md: {},
42
+ lg: { inputWrapper: "date-range-field--lg" },
43
+ },
44
+ color: {
45
+ default: { inputWrapper: "date-range-field--default" },
46
+ primary: { inputWrapper: "date-range-field--primary" },
47
+ secondary: { inputWrapper: "date-range-field--secondary" },
48
+ success: { inputWrapper: "date-range-field--success" },
49
+ warning: { inputWrapper: "date-range-field--warning" },
50
+ danger: { inputWrapper: "date-range-field--danger" },
51
+ },
52
+ fullWidth: {
53
+ false: {},
54
+ true: { base: "date-range-field-root--full-width", inputWrapper: "date-range-field--full-width" },
55
+ },
56
+ isInvalid: {
57
+ false: {},
58
+ true: { base: "date-range-field-root--invalid", inputWrapper: "date-range-field--invalid" },
59
+ },
60
+ isDisabled: {
61
+ false: {},
62
+ true: { base: "date-range-field-root--disabled", inputWrapper: "date-range-field--disabled" },
63
+ },
64
+ isReadonly: {
65
+ false: {},
66
+ true: { inputWrapper: "date-range-field--readonly" },
67
+ },
68
+ hasLabel: {
69
+ false: {},
70
+ true: {},
71
+ },
72
+ labelPlacement: {
73
+ inside: { base: "date-range-field-root--label-inside" },
74
+ outside: { base: "date-range-field-root--label-outside" },
75
+ "outside-left": { base: "date-range-field-root--label-outside-left" },
76
+ },
77
+ },
78
+ compoundVariants: [
79
+ {
80
+ hasLabel: true,
81
+ labelPlacement: "inside",
82
+ class: { inputWrapper: "date-range-field--label-inside" },
83
+ },
84
+ ],
85
+ });
86
+
87
+ export type DateRangeFieldVariants = VariantProps<typeof dateRangeFieldVariants>;
@@ -0,0 +1 @@
1
+ export * from "./date-range-field.styles";
@@ -0,0 +1,14 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const dateRangePickerVariants = tv({
6
+ slots: {
7
+ base: "date-range-picker",
8
+ popover: "date-range-picker__popover",
9
+ trigger: "date-range-picker__trigger",
10
+ triggerIndicator: "date-range-picker__trigger-indicator",
11
+ },
12
+ });
13
+
14
+ export type DateRangePickerVariants = VariantProps<typeof dateRangePickerVariants>;
@@ -0,0 +1 @@
1
+ export * from "./date-range-picker.styles";
@@ -0,0 +1,9 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const descriptionVariants = tv({
6
+ base: "description",
7
+ });
8
+
9
+ export type DescriptionVariants = VariantProps<typeof descriptionVariants>;
@@ -0,0 +1 @@
1
+ export * from "./description.styles";
@@ -0,0 +1,55 @@
1
+ import type {VariantProps} from "../../utils";
2
+
3
+ import {tv} from "tailwind-variants";
4
+
5
+ export const drawerVariants = tv({
6
+ defaultVariants: {
7
+ placement: "bottom",
8
+ variant: "opaque",
9
+ },
10
+ slots: {
11
+ backdrop: "drawer__backdrop",
12
+ body: "drawer__body",
13
+ closeTrigger: "drawer__close-trigger",
14
+ content: "drawer__content",
15
+ dialog: "drawer__dialog",
16
+ footer: "drawer__footer",
17
+ handle: "drawer__handle",
18
+ header: "drawer__header",
19
+ heading: "drawer__heading",
20
+ trigger: "drawer__trigger",
21
+ },
22
+ variants: {
23
+ placement: {
24
+ bottom: {
25
+ content: "drawer__content--bottom",
26
+ dialog: "drawer__dialog--bottom",
27
+ },
28
+ left: {
29
+ content: "drawer__content--left",
30
+ dialog: "drawer__dialog--left",
31
+ },
32
+ right: {
33
+ content: "drawer__content--right",
34
+ dialog: "drawer__dialog--right",
35
+ },
36
+ top: {
37
+ content: "drawer__content--top",
38
+ dialog: "drawer__dialog--top",
39
+ },
40
+ },
41
+ variant: {
42
+ blur: {
43
+ backdrop: "drawer__backdrop--blur",
44
+ },
45
+ opaque: {
46
+ backdrop: "drawer__backdrop--opaque",
47
+ },
48
+ transparent: {
49
+ backdrop: "drawer__backdrop--transparent",
50
+ },
51
+ },
52
+ },
53
+ });
54
+
55
+ export type DrawerVariants = VariantProps<typeof drawerVariants>;
@@ -0,0 +1 @@
1
+ export * from "./drawer.styles";