frontile 0.18.0-beta.0 → 0.18.0-beta.2

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 (262) hide show
  1. package/declarations/-private/deprecated-args.d.ts +18 -0
  2. package/declarations/-private/notification.d.ts +4 -4
  3. package/declarations/-private/types.d.ts +10 -8
  4. package/declarations/components/buttons/button-group.d.ts +3 -1
  5. package/declarations/components/buttons/button.d.ts +12 -3
  6. package/declarations/components/buttons/chip.d.ts +15 -8
  7. package/declarations/components/buttons/close-button.d.ts +5 -2
  8. package/declarations/components/buttons/segmented-control/segmented-control.d.ts +9 -9
  9. package/declarations/components/buttons/toggle-button.d.ts +9 -1
  10. package/declarations/components/collections/calendar/calendar.d.ts +49 -49
  11. package/declarations/components/collections/calendar/utils.d.ts +1 -0
  12. package/declarations/components/collections/dropdown/dropdown.d.ts +13 -2
  13. package/declarations/components/collections/dropdown/menu-context.d.ts +3 -3
  14. package/declarations/components/collections/listbox/group.d.ts +7 -2
  15. package/declarations/components/collections/listbox/item.d.ts +27 -6
  16. package/declarations/components/collections/listbox/listbox.d.ts +31 -4
  17. package/declarations/components/collections/simple-table/body.d.ts +72 -72
  18. package/declarations/components/collections/simple-table/cell.d.ts +72 -72
  19. package/declarations/components/collections/simple-table/column.d.ts +72 -72
  20. package/declarations/components/collections/simple-table/footer.d.ts +72 -72
  21. package/declarations/components/collections/simple-table/header.d.ts +72 -72
  22. package/declarations/components/collections/simple-table/index.d.ts +84 -72
  23. package/declarations/components/collections/simple-table/row.d.ts +72 -72
  24. package/declarations/components/collections/table/column-visibility.d.ts +72 -72
  25. package/declarations/components/collections/table/sort-button.d.ts +72 -72
  26. package/declarations/components/collections/table/table.d.ts +73 -72
  27. package/declarations/components/disclosure/accordion/accordion.d.ts +23 -23
  28. package/declarations/components/forms/autocomplete.d.ts +24 -12
  29. package/declarations/components/forms/date-picker/date-picker.d.ts +268 -0
  30. package/declarations/components/forms/date-picker/end-content.d.ts +29 -0
  31. package/declarations/components/forms/date-picker/trigger.d.ts +40 -0
  32. package/declarations/components/forms/date-picker/types.d.ts +149 -0
  33. package/declarations/components/forms/date-picker/value.d.ts +43 -0
  34. package/declarations/components/forms/date-picker.d.ts +3 -0
  35. package/declarations/components/forms/field.d.ts +5 -0
  36. package/declarations/components/forms/form-control.d.ts +1 -1
  37. package/declarations/components/forms/form-feedback.d.ts +17 -2
  38. package/declarations/components/forms/icons.d.ts +4 -1
  39. package/declarations/components/forms/index.d.ts +2 -0
  40. package/declarations/components/forms/input.d.ts +10 -10
  41. package/declarations/components/forms/native-select.d.ts +7 -7
  42. package/declarations/components/forms/select/select.d.ts +30 -17
  43. package/declarations/components/forms/select/trigger.d.ts +5 -3
  44. package/declarations/components/forms/select/types.d.ts +42 -12
  45. package/declarations/components/forms/switch.d.ts +22 -18
  46. package/declarations/components/forms/textarea.d.ts +6 -6
  47. package/declarations/components/navigation/pagination/pagination.d.ts +21 -20
  48. package/declarations/components/navigation/tab-nav/tab-nav.d.ts +12 -12
  49. package/declarations/components/navigation/tabs/tabs.d.ts +12 -12
  50. package/declarations/components/notifications/index.d.ts +2 -2
  51. package/declarations/components/notifications/notification-card.d.ts +5 -5
  52. package/declarations/components/notifications/notifications-container.d.ts +2 -2
  53. package/declarations/components/overlays/drawer.d.ts +32 -32
  54. package/declarations/components/overlays/popover.d.ts +1 -1
  55. package/declarations/components/overlays/tooltip.d.ts +2 -2
  56. package/declarations/components/status/alert.d.ts +10 -10
  57. package/declarations/components/status/progress-bar.d.ts +5 -1
  58. package/declarations/components/utilities/kbd.d.ts +4 -4
  59. package/declarations/components/utilities/spinner.d.ts +14 -7
  60. package/declarations/index.d.ts +1 -1
  61. package/declarations/template-registry.d.ts +2 -1
  62. package/declarations/test-support.d.ts +22 -0
  63. package/declarations/utils/selection-indicator.d.ts +4 -0
  64. package/dist/components/buttons/button-group.js +26 -1
  65. package/dist/components/buttons/button-group.js.map +1 -1
  66. package/dist/components/buttons/button.js +23 -4
  67. package/dist/components/buttons/button.js.map +1 -1
  68. package/dist/components/buttons/chip.js +20 -3
  69. package/dist/components/buttons/chip.js.map +1 -1
  70. package/dist/components/buttons/close-button.js +18 -2
  71. package/dist/components/buttons/close-button.js.map +1 -1
  72. package/dist/components/buttons/segmented-control/item.js +1 -1
  73. package/dist/components/buttons/segmented-control/item.js.map +1 -1
  74. package/dist/components/buttons/segmented-control/segmented-control.js +2 -2
  75. package/dist/components/buttons/segmented-control/segmented-control.js.map +1 -1
  76. package/dist/components/buttons/toggle-button.js +37 -3
  77. package/dist/components/buttons/toggle-button.js.map +1 -1
  78. package/dist/components/collections/calendar/calendar.js +43 -6
  79. package/dist/components/collections/calendar/calendar.js.map +1 -1
  80. package/dist/components/collections/calendar/day-cell.js +1 -1
  81. package/dist/components/collections/calendar/day-cell.js.map +1 -1
  82. package/dist/components/collections/calendar/header.js +1 -1
  83. package/dist/components/collections/calendar/header.js.map +1 -1
  84. package/dist/components/collections/calendar/month-grid.js +1 -1
  85. package/dist/components/collections/calendar/month-grid.js.map +1 -1
  86. package/dist/components/collections/calendar/utils.js +1 -1
  87. package/dist/components/collections/calendar/utils.js.map +1 -1
  88. package/dist/components/collections/calendar/year-grid.js +15 -3
  89. package/dist/components/collections/calendar/year-grid.js.map +1 -1
  90. package/dist/components/collections/command/command.js +1 -1
  91. package/dist/components/collections/command/command.js.map +1 -1
  92. package/dist/components/collections/command/dialog.js +1 -1
  93. package/dist/components/collections/command/dialog.js.map +1 -1
  94. package/dist/components/collections/command/footer.js +3 -3
  95. package/dist/components/collections/command/footer.js.map +1 -1
  96. package/dist/components/collections/command/input.js +1 -1
  97. package/dist/components/collections/command/input.js.map +1 -1
  98. package/dist/components/collections/command/list.js +1 -1
  99. package/dist/components/collections/command/list.js.map +1 -1
  100. package/dist/components/collections/dropdown/dropdown.js +45 -7
  101. package/dist/components/collections/dropdown/dropdown.js.map +1 -1
  102. package/dist/components/collections/dropdown/menu-context.js.map +1 -1
  103. package/dist/components/collections/listbox/group.js +1 -1
  104. package/dist/components/collections/listbox/group.js.map +1 -1
  105. package/dist/components/collections/listbox/item.js +47 -8
  106. package/dist/components/collections/listbox/item.js.map +1 -1
  107. package/dist/components/collections/listbox/listbox.js +53 -2
  108. package/dist/components/collections/listbox/listbox.js.map +1 -1
  109. package/dist/components/collections/simple-table/body.js +1 -1
  110. package/dist/components/collections/simple-table/body.js.map +1 -1
  111. package/dist/components/collections/simple-table/cell.js +1 -1
  112. package/dist/components/collections/simple-table/cell.js.map +1 -1
  113. package/dist/components/collections/simple-table/column.js +1 -1
  114. package/dist/components/collections/simple-table/column.js.map +1 -1
  115. package/dist/components/collections/simple-table/footer.js +1 -1
  116. package/dist/components/collections/simple-table/footer.js.map +1 -1
  117. package/dist/components/collections/simple-table/header.js +1 -1
  118. package/dist/components/collections/simple-table/header.js.map +1 -1
  119. package/dist/components/collections/simple-table/index.js +5 -3
  120. package/dist/components/collections/simple-table/index.js.map +1 -1
  121. package/dist/components/collections/simple-table/row.js +1 -1
  122. package/dist/components/collections/simple-table/row.js.map +1 -1
  123. package/dist/components/collections/table/checkbox.js +1 -1
  124. package/dist/components/collections/table/checkbox.js.map +1 -1
  125. package/dist/components/collections/table/column-visibility.js +1 -1
  126. package/dist/components/collections/table/column-visibility.js.map +1 -1
  127. package/dist/components/collections/table/sort-button.js +1 -1
  128. package/dist/components/collections/table/sort-button.js.map +1 -1
  129. package/dist/components/collections/table/table.js +7 -3
  130. package/dist/components/collections/table/table.js.map +1 -1
  131. package/dist/components/disclosure/accordion/accordion.js +3 -2
  132. package/dist/components/disclosure/accordion/accordion.js.map +1 -1
  133. package/dist/components/disclosure/accordion/item.js +1 -1
  134. package/dist/components/disclosure/accordion/item.js.map +1 -1
  135. package/dist/components/forms/autocomplete.js +47 -2
  136. package/dist/components/forms/autocomplete.js.map +1 -1
  137. package/dist/components/forms/checkbox-group.js +1 -1
  138. package/dist/components/forms/checkbox-group.js.map +1 -1
  139. package/dist/components/forms/checkbox.js +1 -1
  140. package/dist/components/forms/checkbox.js.map +1 -1
  141. package/dist/components/forms/date-picker/date-picker.js +301 -0
  142. package/dist/components/forms/date-picker/date-picker.js.map +1 -0
  143. package/dist/components/forms/date-picker/end-content.js +21 -0
  144. package/dist/components/forms/date-picker/end-content.js.map +1 -0
  145. package/dist/components/forms/date-picker/trigger.js +14 -0
  146. package/dist/components/forms/date-picker/trigger.js.map +1 -0
  147. package/dist/components/forms/date-picker/types.js +2 -0
  148. package/dist/components/forms/date-picker/types.js.map +1 -0
  149. package/dist/components/forms/date-picker/value.js +97 -0
  150. package/dist/components/forms/date-picker/value.js.map +1 -0
  151. package/dist/components/forms/date-picker.js +2 -0
  152. package/dist/components/forms/date-picker.js.map +1 -0
  153. package/dist/components/forms/field.js +3 -1
  154. package/dist/components/forms/field.js.map +1 -1
  155. package/dist/components/forms/form-control.js +1 -1
  156. package/dist/components/forms/form-control.js.map +1 -1
  157. package/dist/components/forms/form-description.js +1 -1
  158. package/dist/components/forms/form-description.js.map +1 -1
  159. package/dist/components/forms/form-feedback.js +26 -3
  160. package/dist/components/forms/form-feedback.js.map +1 -1
  161. package/dist/components/forms/icons.js +4 -1
  162. package/dist/components/forms/icons.js.map +1 -1
  163. package/dist/components/forms/index.js +2 -0
  164. package/dist/components/forms/index.js.map +1 -1
  165. package/dist/components/forms/input-otp.js +1 -1
  166. package/dist/components/forms/input-otp.js.map +1 -1
  167. package/dist/components/forms/input.js +1 -1
  168. package/dist/components/forms/input.js.map +1 -1
  169. package/dist/components/forms/label.js +1 -1
  170. package/dist/components/forms/label.js.map +1 -1
  171. package/dist/components/forms/native-select.js +2 -2
  172. package/dist/components/forms/native-select.js.map +1 -1
  173. package/dist/components/forms/radio-group.js +1 -1
  174. package/dist/components/forms/radio-group.js.map +1 -1
  175. package/dist/components/forms/radio.js +1 -1
  176. package/dist/components/forms/radio.js.map +1 -1
  177. package/dist/components/forms/select/end-content.js +1 -1
  178. package/dist/components/forms/select/end-content.js.map +1 -1
  179. package/dist/components/forms/select/select.js +61 -7
  180. package/dist/components/forms/select/select.js.map +1 -1
  181. package/dist/components/forms/select/selected-items.js +1 -1
  182. package/dist/components/forms/select/selected-items.js.map +1 -1
  183. package/dist/components/forms/select/trigger.js +6 -4
  184. package/dist/components/forms/select/trigger.js.map +1 -1
  185. package/dist/components/forms/switch.js +10 -2
  186. package/dist/components/forms/switch.js.map +1 -1
  187. package/dist/components/forms/textarea.js +1 -1
  188. package/dist/components/forms/textarea.js.map +1 -1
  189. package/dist/components/navigation/external-link.js +2 -2
  190. package/dist/components/navigation/external-link.js.map +1 -1
  191. package/dist/components/navigation/pagination/pagination.js +2 -2
  192. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  193. package/dist/components/navigation/tab-nav/item.js +1 -1
  194. package/dist/components/navigation/tab-nav/item.js.map +1 -1
  195. package/dist/components/navigation/tab-nav/tab-nav.js +2 -2
  196. package/dist/components/navigation/tab-nav/tab-nav.js.map +1 -1
  197. package/dist/components/navigation/tabs/panel.js +1 -1
  198. package/dist/components/navigation/tabs/panel.js.map +1 -1
  199. package/dist/components/navigation/tabs/tab.js +1 -1
  200. package/dist/components/navigation/tabs/tab.js.map +1 -1
  201. package/dist/components/navigation/tabs/tabs.js +3 -3
  202. package/dist/components/navigation/tabs/tabs.js.map +1 -1
  203. package/dist/components/notifications/index.js +2 -2
  204. package/dist/components/notifications/notification-card.js +1 -1
  205. package/dist/components/notifications/notifications-container.js +2 -2
  206. package/dist/components/notifications/notifications-container.js.map +1 -1
  207. package/dist/components/overlays/drawer/body.js +1 -1
  208. package/dist/components/overlays/drawer/body.js.map +1 -1
  209. package/dist/components/overlays/drawer/drag-handle.js +1 -1
  210. package/dist/components/overlays/drawer/drag-handle.js.map +1 -1
  211. package/dist/components/overlays/drawer/footer.js +1 -1
  212. package/dist/components/overlays/drawer/footer.js.map +1 -1
  213. package/dist/components/overlays/drawer/header.js +4 -4
  214. package/dist/components/overlays/drawer/header.js.map +1 -1
  215. package/dist/components/overlays/drawer.js +4 -4
  216. package/dist/components/overlays/drawer.js.map +1 -1
  217. package/dist/components/overlays/modal/body.js +1 -1
  218. package/dist/components/overlays/modal/body.js.map +1 -1
  219. package/dist/components/overlays/modal/footer.js +1 -1
  220. package/dist/components/overlays/modal/footer.js.map +1 -1
  221. package/dist/components/overlays/modal/header.js +1 -1
  222. package/dist/components/overlays/modal/header.js.map +1 -1
  223. package/dist/components/overlays/modal.js +1 -1
  224. package/dist/components/overlays/modal.js.map +1 -1
  225. package/dist/components/overlays/overlay.js +1 -1
  226. package/dist/components/overlays/overlay.js.map +1 -1
  227. package/dist/components/overlays/popover.js.map +1 -1
  228. package/dist/components/overlays/tooltip.js +14 -2
  229. package/dist/components/overlays/tooltip.js.map +1 -1
  230. package/dist/components/status/alert.js +19 -15
  231. package/dist/components/status/alert.js.map +1 -1
  232. package/dist/components/status/progress-bar.js +10 -2
  233. package/dist/components/status/progress-bar.js.map +1 -1
  234. package/dist/components/utilities/avatar.js +1 -1
  235. package/dist/components/utilities/avatar.js.map +1 -1
  236. package/dist/components/utilities/divider.js +1 -1
  237. package/dist/components/utilities/divider.js.map +1 -1
  238. package/dist/components/utilities/kbd.js +3 -3
  239. package/dist/components/utilities/kbd.js.map +1 -1
  240. package/dist/components/utilities/skeleton.js +1 -1
  241. package/dist/components/utilities/skeleton.js.map +1 -1
  242. package/dist/components/utilities/spinner.js +26 -7
  243. package/dist/components/utilities/spinner.js.map +1 -1
  244. package/dist/deprecated-args-BIUjLA8y.js +32 -0
  245. package/dist/deprecated-args-BIUjLA8y.js.map +1 -0
  246. package/dist/forms.js +2 -0
  247. package/dist/forms.js.map +1 -1
  248. package/dist/index.js +4 -2
  249. package/dist/index.js.map +1 -1
  250. package/dist/{manager-CDIZzrQ9.js → manager-B-PnYqDs.js} +28 -22
  251. package/dist/manager-B-PnYqDs.js.map +1 -0
  252. package/dist/{notification-card-D5fd-Sxa.js → notification-card-CYmWQ35W.js} +25 -22
  253. package/dist/notification-card-CYmWQ35W.js.map +1 -0
  254. package/dist/notifications.js +2 -2
  255. package/dist/services/notifications.js +1 -1
  256. package/dist/test-support.js +40 -2
  257. package/dist/test-support.js.map +1 -1
  258. package/dist/utils/selection-indicator.js +30 -2
  259. package/dist/utils/selection-indicator.js.map +1 -1
  260. package/package.json +3 -3
  261. package/dist/manager-CDIZzrQ9.js.map +0 -1
  262. package/dist/notification-card-D5fd-Sxa.js.map +0 -1
@@ -0,0 +1,18 @@
1
+ export interface RenamedArgOptions {
2
+ /** Component name as it appears to a consumer, e.g. `'Button'`. */
3
+ component: string;
4
+ /** The old argument name, without the `@`. */
5
+ from: string;
6
+ /** The new argument name, without the `@`. */
7
+ to: string;
8
+ /** Deprecation id, e.g. `'frontile.button.appearance'`. */
9
+ id: string;
10
+ }
11
+ /**
12
+ * Resolve an argument whose name *and* values moved.
13
+ *
14
+ * `values` maps old spellings to new ones. A legacy value absent from the map
15
+ * kept its name (e.g. Button's `custom`) and passes through untouched — so the
16
+ * map only lists what actually changed.
17
+ */
18
+ export declare function renamedArgValue<Old extends string, New extends string>(next: New | undefined, legacy: Old | undefined, values: Partial<Record<Old, New>>, options: RenamedArgOptions): New | undefined;
@@ -1,5 +1,5 @@
1
1
  import Timer from './timer';
2
- import type { NotificationOptions, NotificationContent, NotificationIntent, NotificationUpdate, CustomAction, DefaultConfig } from './types';
2
+ import type { NotificationOptions, NotificationContent, NotificationStatus, NotificationUpdate, CustomAction, DefaultConfig } from './types';
3
3
  export default class Notification<TMetadata extends Record<string, unknown> = Record<string, unknown>> {
4
4
  /**
5
5
  * The title of the notification. Named `message` for backwards
@@ -7,7 +7,7 @@ export default class Notification<TMetadata extends Record<string, unknown> = Re
7
7
  */
8
8
  message: string;
9
9
  description?: string;
10
- intent: NotificationIntent;
10
+ status: NotificationStatus;
11
11
  allowClosing: boolean;
12
12
  isLoading: boolean;
13
13
  customActions?: CustomAction[];
@@ -21,12 +21,12 @@ export default class Notification<TMetadata extends Record<string, unknown> = Re
21
21
  /** Read-only alias of `message` — do not add a setter. */
22
22
  get title(): string;
23
23
  /**
24
- * @deprecated Read `intent` instead.
24
+ * @deprecated Read `status` instead.
25
25
  *
26
26
  * The return type is widened to include `'default'` because `default` is
27
27
  * new vocabulary introduced alongside this getter's deprecation — it has
28
28
  * no equivalent in the old `NotificationAppearance` names, so mapping it
29
- * onto `'info'` here would silently lie about the notification's intent.
29
+ * onto `'info'` here would silently lie about the notification's status.
30
30
  * Everything else keeps the old four-value shape.
31
31
  */
32
32
  get appearance(): 'default' | 'info' | 'success' | 'warning' | 'error';
@@ -9,9 +9,9 @@ export interface CustomAction {
9
9
  */
10
10
  onClick: () => void;
11
11
  }
12
- export type NotificationIntent = 'default' | 'info' | 'success' | 'warning' | 'danger';
12
+ export type NotificationStatus = 'neutral' | 'primary' | 'success' | 'warning' | 'danger';
13
13
  /**
14
- * The deprecated intent names. `error` maps onto `danger`.
14
+ * The deprecated status names. `error` maps onto `danger`.
15
15
  */
16
16
  export type NotificationAppearance = 'info' | 'success' | 'warning' | 'error';
17
17
  export interface NotificationContent {
@@ -27,7 +27,7 @@ export interface NotificationContent {
27
27
  export interface NotificationUpdate {
28
28
  title?: string;
29
29
  description?: string;
30
- intent?: NotificationIntent;
30
+ status?: NotificationStatus;
31
31
  allowClosing?: boolean;
32
32
  isLoading?: boolean;
33
33
  }
@@ -58,15 +58,17 @@ export interface NotificationOptions<TMetadata extends Record<string, unknown> =
58
58
  */
59
59
  description?: string;
60
60
  /**
61
- * The intent of the notification.
61
+ * The status of the notification. Drives the glyph, the ARIA role and
62
+ * the action button's colour — not only the colour, which is why it is
63
+ * `status` rather than `color`.
62
64
  *
63
- * @defaultValue 'default'
65
+ * @defaultValue 'neutral'
64
66
  */
65
- intent?: NotificationIntent;
67
+ status?: NotificationStatus;
66
68
  /**
67
69
  * The appearance of the notification.
68
70
  *
69
- * @deprecated Use `intent` instead. `error` maps onto `danger`.
71
+ * @deprecated Use `status` instead. `error` maps onto `danger`.
70
72
  * @defaultValue undefined
71
73
  */
72
74
  appearance?: NotificationAppearance;
@@ -77,7 +79,7 @@ export interface NotificationOptions<TMetadata extends Record<string, unknown> =
77
79
  */
78
80
  hideIcon?: boolean;
79
81
  /**
80
- * Render a spinner in place of the intent icon. Set by `promise()`.
82
+ * Render a spinner in place of the status icon. Set by `promise()`.
81
83
  *
82
84
  * @defaultValue false
83
85
  */
@@ -3,7 +3,7 @@ import { type ButtonSignature } from './button';
3
3
  import type { ButtonArgs } from './button';
4
4
  import { type ToggleButtonSignature } from './toggle-button';
5
5
  import type { ComponentLike, WithBoundArgs } from '@glint/template';
6
- interface ButtonGroupArgs extends Pick<ButtonArgs, 'appearance' | 'intent' | 'size' | 'class'> {
6
+ interface ButtonGroupArgs extends Pick<ButtonArgs, 'variant' | 'appearance' | 'color' | 'intent' | 'size' | 'class'> {
7
7
  }
8
8
  interface ButtonGroupSignature {
9
9
  Args: ButtonGroupArgs;
@@ -18,6 +18,8 @@ interface ButtonGroupSignature {
18
18
  Element: HTMLDivElement;
19
19
  }
20
20
  declare class ButtonGroup extends Component<ButtonGroupSignature> {
21
+ get variant(): "solid" | "soft" | "subtle" | "outline" | "ghost" | "plain" | "custom" | undefined;
22
+ get color(): "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
21
23
  get classNames(): string;
22
24
  }
23
25
  export { ButtonGroup, type ButtonGroupSignature };
@@ -8,13 +8,22 @@ export interface ButtonArgs {
8
8
  */
9
9
  type?: 'button' | 'submit' | 'reset';
10
10
  /**
11
- * The button appearance
11
+ * The button variant.
12
12
  *
13
- * @defaultValue 'default'
13
+ * @defaultValue 'solid'
14
+ */
15
+ variant?: 'solid' | 'soft' | 'subtle' | 'outline' | 'ghost' | 'plain' | 'custom';
16
+ /**
17
+ * @deprecated Use `variant`. `default` is now `solid`, `outlined` is
18
+ * `outline`, and `minimal` is `plain`.
14
19
  */
15
20
  appearance?: 'default' | 'soft' | 'outlined' | 'minimal' | 'tonal' | 'custom';
16
21
  /**
17
- * The intent of the button
22
+ * The color of the button
23
+ */
24
+ color?: 'neutral' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
25
+ /**
26
+ * @deprecated Use `color`. `default` is now `neutral`.
18
27
  */
19
28
  intent?: 'default' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
20
29
  /**
@@ -2,15 +2,22 @@ import Component from '@glimmer/component';
2
2
  interface ChipSignature {
3
3
  Args: {
4
4
  /**
5
- * The chip appearance
5
+ * The chip variant.
6
6
  *
7
- * @defaultValue 'default'
7
+ * @defaultValue 'solid'
8
+ */
9
+ variant?: 'solid' | 'outline' | 'soft';
10
+ /**
11
+ * @deprecated Use `variant`. `default` is now `solid`, `outlined` is
12
+ * `outline`, and `faded` is `soft`.
8
13
  */
9
14
  appearance?: 'default' | 'outlined' | 'faded';
10
15
  /**
11
- * The intent of the chip, which drives its color
12
- *
13
- * @defaultValue 'default'
16
+ * The color of the chip.
17
+ */
18
+ color?: 'neutral' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
19
+ /**
20
+ * @deprecated Use `color`. `default` is now `neutral`.
14
21
  */
15
22
  intent?: 'default' | 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
16
23
  /**
@@ -26,9 +33,9 @@ interface ChipSignature {
26
33
  */
27
34
  radius?: 'none' | 'sm' | 'lg' | 'full';
28
35
  /**
29
- * Adds a dot before the content, colored by `@intent`. On the `default`
30
- * appearance the dot takes the chip's text color, since the chip's
31
- * background is already the intent color.
36
+ * Adds a dot before the content, colored by `@color`. On the `solid`
37
+ * variant the dot takes the chip's text color, since the chip's
38
+ * background is already the chip's color.
32
39
  *
33
40
  * @defaultValue false
34
41
  */
@@ -17,9 +17,11 @@ interface CloseButtonSignature {
17
17
  */
18
18
  size?: CloseButtonVariants['size'];
19
19
  /**
20
- * @defaultValue 'transparent'
20
+ * @defaultValue 'ghost'
21
+ *
22
+ * `transparent` and `subtle` are @deprecated — use `ghost` and `soft` instead.
21
23
  */
22
- variant?: CloseButtonVariants['variant'];
24
+ variant?: 'ghost' | 'soft' | 'transparent' | 'subtle';
23
25
  /**
24
26
  * The function to call when button is pressed
25
27
  */
@@ -43,6 +45,7 @@ interface CloseButtonSignature {
43
45
  declare class CloseButton extends Component<CloseButtonSignature> {
44
46
  isPressed: boolean;
45
47
  constructor(owner: Owner, args: CloseButtonSignature['Args']);
48
+ get variant(): 'ghost' | 'soft';
46
49
  get classes(): {
47
50
  base: string;
48
51
  icon: string;
@@ -35,11 +35,11 @@ interface SegmentedControlArgs<T> {
35
35
  */
36
36
  name?: string;
37
37
  /**
38
- * The colour intent applied to the selected item's indicator and label.
38
+ * The colour applied to the selected item's indicator and label.
39
39
  *
40
- * @defaultValue 'default'
40
+ * @defaultValue 'neutral'
41
41
  */
42
- intent?: SegmentedControlVariants['intent'];
42
+ color?: SegmentedControlVariants['color'];
43
43
  /**
44
44
  * The visual style of the control's track and indicator.
45
45
  *
@@ -113,8 +113,8 @@ declare class SegmentedControl<T> extends Component<SegmentedControlSignature<T>
113
113
  constructor(owner: Owner, args: SegmentedControlSignature<T>['Args']);
114
114
  get styles(): {
115
115
  base: (slotProps?: ({
116
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
116
117
  size?: "sm" | "md" | "lg" | undefined;
117
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
118
118
  variant?: "solid" | "ghost" | undefined;
119
119
  isDisabled?: boolean | undefined;
120
120
  orientation?: "horizontal" | "vertical" | undefined;
@@ -122,8 +122,8 @@ declare class SegmentedControl<T> extends Component<SegmentedControlSignature<T>
122
122
  hasSeparators?: boolean | undefined;
123
123
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
124
124
  indicator: (slotProps?: ({
125
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
125
126
  size?: "sm" | "md" | "lg" | undefined;
126
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
127
127
  variant?: "solid" | "ghost" | undefined;
128
128
  isDisabled?: boolean | undefined;
129
129
  orientation?: "horizontal" | "vertical" | undefined;
@@ -131,8 +131,8 @@ declare class SegmentedControl<T> extends Component<SegmentedControlSignature<T>
131
131
  hasSeparators?: boolean | undefined;
132
132
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
133
133
  item: (slotProps?: ({
134
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
134
135
  size?: "sm" | "md" | "lg" | undefined;
135
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
136
136
  variant?: "solid" | "ghost" | undefined;
137
137
  isDisabled?: boolean | undefined;
138
138
  orientation?: "horizontal" | "vertical" | undefined;
@@ -141,8 +141,8 @@ declare class SegmentedControl<T> extends Component<SegmentedControlSignature<T>
141
141
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
142
142
  } & {
143
143
  base: (slotProps?: ({
144
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
144
145
  size?: "sm" | "md" | "lg" | undefined;
145
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
146
146
  variant?: "solid" | "ghost" | undefined;
147
147
  isDisabled?: boolean | undefined;
148
148
  orientation?: "horizontal" | "vertical" | undefined;
@@ -150,8 +150,8 @@ declare class SegmentedControl<T> extends Component<SegmentedControlSignature<T>
150
150
  hasSeparators?: boolean | undefined;
151
151
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
152
152
  indicator: (slotProps?: ({
153
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
153
154
  size?: "sm" | "md" | "lg" | undefined;
154
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
155
155
  variant?: "solid" | "ghost" | undefined;
156
156
  isDisabled?: boolean | undefined;
157
157
  orientation?: "horizontal" | "vertical" | undefined;
@@ -159,8 +159,8 @@ declare class SegmentedControl<T> extends Component<SegmentedControlSignature<T>
159
159
  hasSeparators?: boolean | undefined;
160
160
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
161
161
  item: (slotProps?: ({
162
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
162
163
  size?: "sm" | "md" | "lg" | undefined;
163
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
164
164
  variant?: "solid" | "ghost" | undefined;
165
165
  isDisabled?: boolean | undefined;
166
166
  orientation?: "horizontal" | "vertical" | undefined;
@@ -1,6 +1,6 @@
1
1
  import Component from '@glimmer/component';
2
2
  import type { ButtonArgs } from './button';
3
- interface ToggleButtonArgs extends Pick<ButtonArgs, 'intent' | 'size' | 'class' | 'isInGroup'> {
3
+ interface ToggleButtonArgs extends Pick<ButtonArgs, 'variant' | 'appearance' | 'color' | 'intent' | 'size' | 'class' | 'isInGroup'> {
4
4
  /**
5
5
  * If the button is currently selected
6
6
  *
@@ -20,6 +20,14 @@ interface ToggleButtonSignature {
20
20
  Element: HTMLButtonElement;
21
21
  }
22
22
  declare class ToggleButton extends Component<ToggleButtonSignature> {
23
+ /**
24
+ * ToggleButton's theme only ever renders the `outline` variant — reading
25
+ * this getter resolves (and, when needed, deprecates) `@appearance` /
26
+ * `@variant` so a consumer still migrating gets the warning, even though
27
+ * the resolved value itself has nowhere else to go.
28
+ */
29
+ get variant(): "solid" | "soft" | "subtle" | "outline" | "ghost" | "plain" | "custom" | undefined;
30
+ get color(): "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
23
31
  get classNames(): string;
24
32
  get isSelected(): boolean;
25
33
  onChange: () => void;
@@ -70,7 +70,7 @@ export interface CalendarArgs<M extends CalendarMode = 'single'> {
70
70
  *
71
71
  * @defaultValue 'primary'
72
72
  */
73
- intent?: CalendarVariants['intent'];
73
+ color?: CalendarVariants['color'];
74
74
  /**
75
75
  * The size of the calendar cells and caption text.
76
76
  *
@@ -316,244 +316,244 @@ declare class Calendar<M extends CalendarMode = 'single'> extends Component<Cale
316
316
  get isReadOnly(): boolean;
317
317
  get styles(): {
318
318
  base: (slotProps?: ({
319
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
319
320
  size?: "sm" | "md" | "lg" | undefined;
320
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
321
321
  isDisabled?: boolean | undefined;
322
322
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
323
323
  body: (slotProps?: ({
324
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
324
325
  size?: "sm" | "md" | "lg" | undefined;
325
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
326
326
  isDisabled?: boolean | undefined;
327
327
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
328
328
  header: (slotProps?: ({
329
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
329
330
  size?: "sm" | "md" | "lg" | undefined;
330
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
331
331
  isDisabled?: boolean | undefined;
332
332
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
333
333
  title: (slotProps?: ({
334
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
334
335
  size?: "sm" | "md" | "lg" | undefined;
335
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
336
336
  isDisabled?: boolean | undefined;
337
337
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
338
338
  nav: (slotProps?: ({
339
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
339
340
  size?: "sm" | "md" | "lg" | undefined;
340
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
341
341
  isDisabled?: boolean | undefined;
342
342
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
343
343
  monthSelectWrapper: (slotProps?: ({
344
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
344
345
  size?: "sm" | "md" | "lg" | undefined;
345
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
346
346
  isDisabled?: boolean | undefined;
347
347
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
348
348
  monthSelectValue: (slotProps?: ({
349
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
349
350
  size?: "sm" | "md" | "lg" | undefined;
350
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
351
351
  isDisabled?: boolean | undefined;
352
352
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
353
353
  monthSelect: (slotProps?: ({
354
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
354
355
  size?: "sm" | "md" | "lg" | undefined;
355
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
356
356
  isDisabled?: boolean | undefined;
357
357
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
358
358
  monthSelectIcon: (slotProps?: ({
359
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
359
360
  size?: "sm" | "md" | "lg" | undefined;
360
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
361
361
  isDisabled?: boolean | undefined;
362
362
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
363
363
  yearTrigger: (slotProps?: ({
364
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
364
365
  size?: "sm" | "md" | "lg" | undefined;
365
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
366
366
  isDisabled?: boolean | undefined;
367
367
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
368
368
  navButton: (slotProps?: ({
369
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
369
370
  size?: "sm" | "md" | "lg" | undefined;
370
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
371
371
  isDisabled?: boolean | undefined;
372
372
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
373
373
  monthsWrapper: (slotProps?: ({
374
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
374
375
  size?: "sm" | "md" | "lg" | undefined;
375
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
376
376
  isDisabled?: boolean | undefined;
377
377
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
378
378
  monthGrid: (slotProps?: ({
379
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
379
380
  size?: "sm" | "md" | "lg" | undefined;
380
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
381
381
  isDisabled?: boolean | undefined;
382
382
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
383
383
  weekdaysRow: (slotProps?: ({
384
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
384
385
  size?: "sm" | "md" | "lg" | undefined;
385
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
386
386
  isDisabled?: boolean | undefined;
387
387
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
388
388
  weekday: (slotProps?: ({
389
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
389
390
  size?: "sm" | "md" | "lg" | undefined;
390
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
391
391
  isDisabled?: boolean | undefined;
392
392
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
393
393
  week: (slotProps?: ({
394
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
394
395
  size?: "sm" | "md" | "lg" | undefined;
395
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
396
396
  isDisabled?: boolean | undefined;
397
397
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
398
398
  cell: (slotProps?: ({
399
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
399
400
  size?: "sm" | "md" | "lg" | undefined;
400
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
401
401
  isDisabled?: boolean | undefined;
402
402
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
403
403
  cellBand: (slotProps?: ({
404
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
404
405
  size?: "sm" | "md" | "lg" | undefined;
405
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
406
406
  isDisabled?: boolean | undefined;
407
407
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
408
408
  day: (slotProps?: ({
409
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
409
410
  size?: "sm" | "md" | "lg" | undefined;
410
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
411
411
  isDisabled?: boolean | undefined;
412
412
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
413
413
  dayContent: (slotProps?: ({
414
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
414
415
  size?: "sm" | "md" | "lg" | undefined;
415
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
416
416
  isDisabled?: boolean | undefined;
417
417
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
418
418
  footer: (slotProps?: ({
419
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
419
420
  size?: "sm" | "md" | "lg" | undefined;
420
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
421
421
  isDisabled?: boolean | undefined;
422
422
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
423
423
  indicator: (slotProps?: ({
424
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
424
425
  size?: "sm" | "md" | "lg" | undefined;
425
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
426
426
  isDisabled?: boolean | undefined;
427
427
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
428
428
  yearGrid: (slotProps?: ({
429
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
429
430
  size?: "sm" | "md" | "lg" | undefined;
430
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
431
431
  isDisabled?: boolean | undefined;
432
432
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
433
433
  yearCell: (slotProps?: ({
434
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
434
435
  size?: "sm" | "md" | "lg" | undefined;
435
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
436
436
  isDisabled?: boolean | undefined;
437
437
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
438
438
  } & {
439
439
  base: (slotProps?: ({
440
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
440
441
  size?: "sm" | "md" | "lg" | undefined;
441
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
442
442
  isDisabled?: boolean | undefined;
443
443
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
444
444
  body: (slotProps?: ({
445
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
445
446
  size?: "sm" | "md" | "lg" | undefined;
446
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
447
447
  isDisabled?: boolean | undefined;
448
448
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
449
449
  header: (slotProps?: ({
450
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
450
451
  size?: "sm" | "md" | "lg" | undefined;
451
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
452
452
  isDisabled?: boolean | undefined;
453
453
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
454
454
  title: (slotProps?: ({
455
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
455
456
  size?: "sm" | "md" | "lg" | undefined;
456
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
457
457
  isDisabled?: boolean | undefined;
458
458
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
459
459
  nav: (slotProps?: ({
460
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
460
461
  size?: "sm" | "md" | "lg" | undefined;
461
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
462
462
  isDisabled?: boolean | undefined;
463
463
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
464
464
  monthSelectWrapper: (slotProps?: ({
465
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
465
466
  size?: "sm" | "md" | "lg" | undefined;
466
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
467
467
  isDisabled?: boolean | undefined;
468
468
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
469
469
  monthSelectValue: (slotProps?: ({
470
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
470
471
  size?: "sm" | "md" | "lg" | undefined;
471
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
472
472
  isDisabled?: boolean | undefined;
473
473
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
474
474
  monthSelect: (slotProps?: ({
475
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
475
476
  size?: "sm" | "md" | "lg" | undefined;
476
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
477
477
  isDisabled?: boolean | undefined;
478
478
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
479
479
  monthSelectIcon: (slotProps?: ({
480
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
480
481
  size?: "sm" | "md" | "lg" | undefined;
481
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
482
482
  isDisabled?: boolean | undefined;
483
483
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
484
484
  yearTrigger: (slotProps?: ({
485
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
485
486
  size?: "sm" | "md" | "lg" | undefined;
486
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
487
487
  isDisabled?: boolean | undefined;
488
488
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
489
489
  navButton: (slotProps?: ({
490
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
490
491
  size?: "sm" | "md" | "lg" | undefined;
491
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
492
492
  isDisabled?: boolean | undefined;
493
493
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
494
494
  monthsWrapper: (slotProps?: ({
495
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
495
496
  size?: "sm" | "md" | "lg" | undefined;
496
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
497
497
  isDisabled?: boolean | undefined;
498
498
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
499
499
  monthGrid: (slotProps?: ({
500
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
500
501
  size?: "sm" | "md" | "lg" | undefined;
501
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
502
502
  isDisabled?: boolean | undefined;
503
503
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
504
504
  weekdaysRow: (slotProps?: ({
505
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
505
506
  size?: "sm" | "md" | "lg" | undefined;
506
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
507
507
  isDisabled?: boolean | undefined;
508
508
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
509
509
  weekday: (slotProps?: ({
510
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
510
511
  size?: "sm" | "md" | "lg" | undefined;
511
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
512
512
  isDisabled?: boolean | undefined;
513
513
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
514
514
  week: (slotProps?: ({
515
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
515
516
  size?: "sm" | "md" | "lg" | undefined;
516
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
517
517
  isDisabled?: boolean | undefined;
518
518
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
519
519
  cell: (slotProps?: ({
520
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
520
521
  size?: "sm" | "md" | "lg" | undefined;
521
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
522
522
  isDisabled?: boolean | undefined;
523
523
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
524
524
  cellBand: (slotProps?: ({
525
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
525
526
  size?: "sm" | "md" | "lg" | undefined;
526
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
527
527
  isDisabled?: boolean | undefined;
528
528
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
529
529
  day: (slotProps?: ({
530
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
530
531
  size?: "sm" | "md" | "lg" | undefined;
531
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
532
532
  isDisabled?: boolean | undefined;
533
533
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
534
534
  dayContent: (slotProps?: ({
535
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
535
536
  size?: "sm" | "md" | "lg" | undefined;
536
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
537
537
  isDisabled?: boolean | undefined;
538
538
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
539
539
  footer: (slotProps?: ({
540
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
540
541
  size?: "sm" | "md" | "lg" | undefined;
541
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
542
542
  isDisabled?: boolean | undefined;
543
543
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
544
544
  indicator: (slotProps?: ({
545
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
545
546
  size?: "sm" | "md" | "lg" | undefined;
546
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
547
547
  isDisabled?: boolean | undefined;
548
548
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
549
549
  yearGrid: (slotProps?: ({
550
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
550
551
  size?: "sm" | "md" | "lg" | undefined;
551
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
552
552
  isDisabled?: boolean | undefined;
553
553
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
554
554
  yearCell: (slotProps?: ({
555
+ color?: "neutral" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
555
556
  size?: "sm" | "md" | "lg" | undefined;
556
- intent?: "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | undefined;
557
557
  isDisabled?: boolean | undefined;
558
558
  } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
559
559
  } & {};