@accelint/design-toolkit 9.5.0 → 9.7.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 (245) hide show
  1. package/catalog-info.yaml +3 -3
  2. package/dist/components/accordion/context.d.ts +2 -2
  3. package/dist/components/accordion/group.d.ts +2 -2
  4. package/dist/components/accordion/header.d.ts +2 -2
  5. package/dist/components/accordion/panel.d.ts +2 -2
  6. package/dist/components/action-bar/index.d.ts +2 -2
  7. package/dist/components/audio/index.d.ts +2 -2
  8. package/dist/components/avatar/context.d.ts +4 -4
  9. package/dist/components/avatar/index.d.ts +2 -2
  10. package/dist/components/badge/context.d.ts +4 -4
  11. package/dist/components/badge/index.d.ts +2 -2
  12. package/dist/components/breadcrumbs/index.d.ts +2 -2
  13. package/dist/components/breadcrumbs/item.d.ts +2 -2
  14. package/dist/components/button/__internal__/styles.module.css +1 -1
  15. package/dist/components/button/context.d.ts +8 -8
  16. package/dist/components/button/index.d.ts +2 -2
  17. package/dist/components/button/link.d.ts +2 -2
  18. package/dist/components/button/styles.module.css +1 -1
  19. package/dist/components/button/toggle.d.ts +2 -2
  20. package/dist/components/checkbox/context.d.ts +3 -3
  21. package/dist/components/checkbox/group.d.ts +2 -2
  22. package/dist/components/checkbox/index.d.ts +2 -2
  23. package/dist/components/chip/context.d.ts +4 -4
  24. package/dist/components/chip/deletable.d.ts +2 -2
  25. package/dist/components/chip/index.d.ts +2 -2
  26. package/dist/components/chip/list.d.ts +4 -4
  27. package/dist/components/chip/selectable.d.ts +2 -2
  28. package/dist/components/chip/styles.module.css +2 -2
  29. package/dist/components/classification-badge/context.d.ts +4 -4
  30. package/dist/components/classification-badge/index.d.ts +2 -2
  31. package/dist/components/classification-banner/context.d.ts +4 -4
  32. package/dist/components/classification-banner/index.d.ts +2 -2
  33. package/dist/components/clock/index.d.ts +2 -2
  34. package/dist/components/color-picker/index.d.ts +2 -2
  35. package/dist/components/combobox-field/context.d.ts +4 -4
  36. package/dist/components/combobox-field/index.d.ts +2 -2
  37. package/dist/components/coordinate-field/context.d.ts +6 -6
  38. package/dist/components/coordinate-field/index.d.ts +2 -2
  39. package/dist/components/coordinate-field/segment.d.ts +2 -2
  40. package/dist/components/date-field/index.d.ts +2 -2
  41. package/dist/components/deferred-collection/index.d.ts +2 -2
  42. package/dist/components/details-list/context.d.ts +2 -2
  43. package/dist/components/details-list/index.d.ts +2 -2
  44. package/dist/components/details-list/label.d.ts +2 -2
  45. package/dist/components/details-list/value.d.ts +2 -2
  46. package/dist/components/dialog/content.d.ts +2 -2
  47. package/dist/components/dialog/context.d.ts +2 -2
  48. package/dist/components/dialog/footer.d.ts +2 -2
  49. package/dist/components/dialog/index.d.ts +2 -2
  50. package/dist/components/dialog/title.d.ts +2 -2
  51. package/dist/components/divider/context.d.ts +4 -4
  52. package/dist/components/divider/index.d.ts +2 -2
  53. package/dist/components/drawer/back.d.ts +2 -2
  54. package/dist/components/drawer/close.d.ts +2 -2
  55. package/dist/components/drawer/content.d.ts +2 -2
  56. package/dist/components/drawer/context.d.ts +2 -2
  57. package/dist/components/drawer/footer.d.ts +2 -2
  58. package/dist/components/drawer/header.d.ts +2 -2
  59. package/dist/components/drawer/index.d.ts +2 -2
  60. package/dist/components/drawer/layout-main.d.ts +2 -2
  61. package/dist/components/drawer/layout.d.ts +2 -2
  62. package/dist/components/drawer/menu-item.d.ts +2 -2
  63. package/dist/components/drawer/menu.d.ts +2 -2
  64. package/dist/components/drawer/panel.d.ts +2 -2
  65. package/dist/components/drawer/trigger.d.ts +2 -2
  66. package/dist/components/drawer/view.d.ts +2 -2
  67. package/dist/components/flashcard/index.d.ts +9 -9
  68. package/dist/components/hero/context.d.ts +2 -2
  69. package/dist/components/hero/index.d.ts +2 -2
  70. package/dist/components/hero/subtitle.d.ts +2 -2
  71. package/dist/components/hero/title.d.ts +2 -2
  72. package/dist/components/hotkey/context.d.ts +4 -4
  73. package/dist/components/hotkey/index.d.ts +2 -2
  74. package/dist/components/hotkey/set.d.ts +2 -2
  75. package/dist/components/icon/context.d.ts +4 -4
  76. package/dist/components/icon/index.d.ts +2 -2
  77. package/dist/components/input/context.d.ts +2 -2
  78. package/dist/components/input/index.d.ts +2 -2
  79. package/dist/components/kanban/card-body.d.ts +2 -2
  80. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  81. package/dist/components/kanban/card-header-title.d.ts +2 -2
  82. package/dist/components/kanban/card-header.d.ts +2 -2
  83. package/dist/components/kanban/card.d.ts +2 -2
  84. package/dist/components/kanban/column-actions.d.ts +2 -2
  85. package/dist/components/kanban/column-container.d.ts +2 -2
  86. package/dist/components/kanban/column-content.d.ts +2 -2
  87. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  88. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  89. package/dist/components/kanban/column-header-title.d.ts +2 -2
  90. package/dist/components/kanban/column-header.d.ts +2 -2
  91. package/dist/components/kanban/column.d.ts +2 -2
  92. package/dist/components/kanban/context.d.ts +2 -2
  93. package/dist/components/kanban/header-actions.d.ts +2 -2
  94. package/dist/components/kanban/header-search.d.ts +2 -2
  95. package/dist/components/kanban/header-title.d.ts +2 -2
  96. package/dist/components/kanban/header.d.ts +2 -2
  97. package/dist/components/kanban/kanban.d.ts +4 -4
  98. package/dist/components/label/context.d.ts +4 -4
  99. package/dist/components/label/index.d.ts +2 -2
  100. package/dist/components/lines/index.d.ts +2 -2
  101. package/dist/components/link/context.d.ts +2 -2
  102. package/dist/components/link/index.d.ts +2 -2
  103. package/dist/components/list/context.d.ts +2 -2
  104. package/dist/components/list/index.d.ts +2 -2
  105. package/dist/components/list/item-content.d.ts +2 -2
  106. package/dist/components/list/item-description.d.ts +2 -2
  107. package/dist/components/list/item-title.d.ts +2 -2
  108. package/dist/components/list/item.d.ts +2 -2
  109. package/dist/components/media-controls/context.d.ts +4 -4
  110. package/dist/components/media-controls/fullscreen-button.d.ts +55 -0
  111. package/dist/components/media-controls/fullscreen-button.js +80 -0
  112. package/dist/components/media-controls/fullscreen-button.js.map +1 -0
  113. package/dist/components/media-controls/index.d.ts +2 -2
  114. package/dist/components/media-controls/mute-button.d.ts +2 -2
  115. package/dist/components/media-controls/play-button.d.ts +2 -2
  116. package/dist/components/media-controls/playback-rate.d.ts +2 -2
  117. package/dist/components/media-controls/seek-button.d.ts +2 -2
  118. package/dist/components/media-controls/time-display.d.ts +2 -2
  119. package/dist/components/media-controls/time-range.d.ts +2 -2
  120. package/dist/components/media-controls/types.d.ts +6 -1
  121. package/dist/components/media-controls/volume-slider.d.ts +2 -2
  122. package/dist/components/menu/context.d.ts +2 -2
  123. package/dist/components/menu/index.d.ts +2 -2
  124. package/dist/components/menu/item-description.d.ts +2 -2
  125. package/dist/components/menu/item-label.d.ts +2 -2
  126. package/dist/components/menu/item.d.ts +2 -2
  127. package/dist/components/menu/section.d.ts +2 -2
  128. package/dist/components/menu/separator.d.ts +2 -2
  129. package/dist/components/menu/submenu.d.ts +2 -2
  130. package/dist/components/notice/index.d.ts +2 -2
  131. package/dist/components/notice/list.d.ts +2 -2
  132. package/dist/components/notice/notice-icon.d.ts +2 -2
  133. package/dist/components/options/context.d.ts +2 -2
  134. package/dist/components/options/index.d.ts +2 -2
  135. package/dist/components/options/item-content.d.ts +2 -2
  136. package/dist/components/options/item-description.d.ts +2 -2
  137. package/dist/components/options/item-label.d.ts +2 -2
  138. package/dist/components/options/item.d.ts +2 -2
  139. package/dist/components/options/section.d.ts +2 -2
  140. package/dist/components/options/styles.module.css +52 -4
  141. package/dist/components/pagination/context.d.ts +2 -2
  142. package/dist/components/pagination/index.d.ts +2 -2
  143. package/dist/components/pagination/next.d.ts +2 -2
  144. package/dist/components/pagination/pages.d.ts +2 -2
  145. package/dist/components/pagination/prev.d.ts +2 -2
  146. package/dist/components/popover/content.d.ts +2 -2
  147. package/dist/components/popover/footer.d.ts +2 -2
  148. package/dist/components/popover/index.d.ts +2 -2
  149. package/dist/components/popover/title.d.ts +2 -2
  150. package/dist/components/popover/trigger.d.ts +2 -2
  151. package/dist/components/query-builder/action-element.d.ts +2 -2
  152. package/dist/components/query-builder/actions.d.ts +4 -4
  153. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  154. package/dist/components/query-builder/index.d.ts +2 -2
  155. package/dist/components/query-builder/index.js +1 -1
  156. package/dist/components/query-builder/index.js.map +1 -1
  157. package/dist/components/query-builder/rule-group.d.ts +4 -4
  158. package/dist/components/query-builder/rule.d.ts +2 -2
  159. package/dist/components/query-builder/styles.module.css +10 -1
  160. package/dist/components/query-builder/value-editor.d.ts +2 -2
  161. package/dist/components/query-builder/value-selector.d.ts +2 -2
  162. package/dist/components/query-builder/value-selector.js +11 -4
  163. package/dist/components/query-builder/value-selector.js.map +1 -1
  164. package/dist/components/radio/context.d.ts +2 -2
  165. package/dist/components/radio/group.d.ts +2 -2
  166. package/dist/components/radio/index.d.ts +2 -2
  167. package/dist/components/search-field/context.d.ts +4 -4
  168. package/dist/components/search-field/index.d.ts +2 -2
  169. package/dist/components/search-field/styles.module.css +1 -1
  170. package/dist/components/select-field/context.d.ts +4 -4
  171. package/dist/components/select-field/index.d.ts +2 -2
  172. package/dist/components/sidenav/avatar.d.ts +2 -2
  173. package/dist/components/sidenav/content.d.ts +2 -2
  174. package/dist/components/sidenav/context.d.ts +2 -2
  175. package/dist/components/sidenav/footer.d.ts +2 -2
  176. package/dist/components/sidenav/header.d.ts +2 -2
  177. package/dist/components/sidenav/index.d.ts +2 -2
  178. package/dist/components/sidenav/item.d.ts +2 -2
  179. package/dist/components/sidenav/link.d.ts +2 -2
  180. package/dist/components/sidenav/menu-item.d.ts +2 -2
  181. package/dist/components/sidenav/menu.d.ts +2 -2
  182. package/dist/components/sidenav/trigger.d.ts +2 -2
  183. package/dist/components/skeleton/index.d.ts +2 -2
  184. package/dist/components/skeleton/styles.module.css +2 -4
  185. package/dist/components/skeleton/types.d.ts +1 -1
  186. package/dist/components/slider/index.d.ts +2 -2
  187. package/dist/components/status-indicator/index.d.ts +2 -2
  188. package/dist/components/switch/context.d.ts +4 -4
  189. package/dist/components/switch/index.d.ts +2 -2
  190. package/dist/components/table/body.d.ts +2 -2
  191. package/dist/components/table/cell.d.ts +2 -2
  192. package/dist/components/table/context.d.ts +2 -2
  193. package/dist/components/table/header-cell.d.ts +2 -2
  194. package/dist/components/table/header.d.ts +2 -2
  195. package/dist/components/table/index.d.ts +2 -2
  196. package/dist/components/table/row.d.ts +2 -2
  197. package/dist/components/table/styles.module.css +5 -1
  198. package/dist/components/tabs/constants.d.ts +19 -0
  199. package/dist/components/tabs/constants.js +23 -0
  200. package/dist/components/tabs/constants.js.map +1 -0
  201. package/dist/components/tabs/context.d.ts +11 -6
  202. package/dist/components/tabs/context.js +8 -1
  203. package/dist/components/tabs/context.js.map +1 -1
  204. package/dist/components/tabs/index.d.ts +4 -2
  205. package/dist/components/tabs/index.js +17 -7
  206. package/dist/components/tabs/index.js.map +1 -1
  207. package/dist/components/tabs/list.d.ts +2 -2
  208. package/dist/components/tabs/panel.d.ts +2 -2
  209. package/dist/components/tabs/styles.module.css +27 -5
  210. package/dist/components/tabs/tab.d.ts +7 -6
  211. package/dist/components/tabs/tab.js +12 -3
  212. package/dist/components/tabs/tab.js.map +1 -1
  213. package/dist/components/tabs/types.d.ts +25 -3
  214. package/dist/components/text-area-field/context.d.ts +4 -4
  215. package/dist/components/text-area-field/index.d.ts +2 -2
  216. package/dist/components/text-field/context.d.ts +4 -4
  217. package/dist/components/text-field/index.d.ts +2 -2
  218. package/dist/components/time-field/index.d.ts +2 -2
  219. package/dist/components/tooltip/context.d.ts +2 -2
  220. package/dist/components/tooltip/index.d.ts +2 -2
  221. package/dist/components/tooltip/trigger.d.ts +2 -2
  222. package/dist/components/tree/context.d.ts +3 -3
  223. package/dist/components/tree/index.d.ts +2 -2
  224. package/dist/components/tree/item-actions.d.ts +2 -2
  225. package/dist/components/tree/item-content.d.ts +2 -2
  226. package/dist/components/tree/item-description.d.ts +2 -2
  227. package/dist/components/tree/item-label.d.ts +2 -2
  228. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  229. package/dist/components/tree/item.d.ts +2 -2
  230. package/dist/components/tree/lines.d.ts +2 -2
  231. package/dist/components/video/index.d.ts +97 -0
  232. package/dist/components/video/index.js +261 -0
  233. package/dist/components/video/index.js.map +1 -0
  234. package/dist/components/video/styles.module.css +99 -0
  235. package/dist/components/video/types.d.ts +52 -0
  236. package/dist/components/video/types.js +12 -0
  237. package/dist/components/view-stack/context.d.ts +2 -2
  238. package/dist/components/view-stack/index.d.ts +2 -2
  239. package/dist/components/view-stack/trigger.d.ts +2 -2
  240. package/dist/components/view-stack/view.d.ts +2 -2
  241. package/dist/index.d.ts +8 -4
  242. package/dist/index.js +5 -2
  243. package/dist/providers/portal.d.ts +2 -2
  244. package/dist/providers/theme-provider.d.ts +2 -2
  245. package/package.json +12 -8
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavTriggerProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime141 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime129 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/trigger.d.ts
18
18
 
@@ -39,7 +39,7 @@ declare function SidenavTrigger({
39
39
  children,
40
40
  for: type,
41
41
  ...rest
42
- }: SidenavTriggerProps): react_jsx_runtime141.JSX.Element;
42
+ }: SidenavTriggerProps): react_jsx_runtime129.JSX.Element;
43
43
  //#endregion
44
44
  export { SidenavTrigger };
45
45
  //# sourceMappingURL=trigger.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { SkeletonProps } from "./types.js";
14
- import * as react_jsx_runtime195 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime131 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/skeleton/index.d.ts
17
17
  /**
@@ -34,7 +34,7 @@ declare function Skeleton({
34
34
  className,
35
35
  variant,
36
36
  ...rest
37
- }: SkeletonProps): react_jsx_runtime195.JSX.Element;
37
+ }: SkeletonProps): react_jsx_runtime131.JSX.Element;
38
38
  //#endregion
39
39
  export { Skeleton };
40
40
  //# sourceMappingURL=index.d.ts.map
@@ -14,10 +14,8 @@
14
14
 
15
15
  @layer components.l1 {
16
16
  .skeleton {
17
- /* TODO: bg-[color]/[opacity] isn't working, nesting of Skeleton isn't working ATM */
18
- @apply fg-primary-bold bg-interactive-disabled px-l py-s;
17
+ @apply fg-primary-bold bg-interactive-disabled;
19
18
 
20
- /* TODO: animation styles non-functional with @apply directive */
21
19
  @variant motion-safe {
22
20
  @apply animate-pulse;
23
21
  }
@@ -27,7 +25,7 @@
27
25
  }
28
26
 
29
27
  &.rectangle {
30
- @apply rounded-small min-h-lh w-full;
28
+ @apply rounded-small h-lh w-full;
31
29
  }
32
30
  }
33
31
  }
@@ -16,7 +16,7 @@ import { ComponentPropsWithRef } from "react";
16
16
  /**
17
17
  * Props for the Skeleton component.
18
18
  */
19
- type SkeletonProps = ComponentPropsWithRef<'div'> & {
19
+ type SkeletonProps = Omit<ComponentPropsWithRef<'div'>, 'children'> & {
20
20
  /** Shape variant of the skeleton. */
21
21
  variant?: 'rectangle' | 'circle';
22
22
  };
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SliderProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime194 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime133 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/slider/index.d.ts
18
18
 
@@ -71,7 +71,7 @@ declare function Slider({
71
71
  step: stepProp,
72
72
  value: valueProp,
73
73
  ...rest
74
- }: SliderProps): react_jsx_runtime194.JSX.Element;
74
+ }: SliderProps): react_jsx_runtime133.JSX.Element;
75
75
  //#endregion
76
76
  export { Slider };
77
77
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { StatusIndicatorProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime193 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime134 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/status-indicator/index.d.ts
18
18
  /**
@@ -35,7 +35,7 @@ declare function StatusIndicator({
35
35
  className,
36
36
  status,
37
37
  ...rest
38
- }: StatusIndicatorProps): react_jsx_runtime193.JSX.Element;
38
+ }: StatusIndicatorProps): react_jsx_runtime134.JSX.Element;
39
39
  //#endregion
40
40
  export { StatusIndicator };
41
41
  //# sourceMappingURL=index.d.ts.map
@@ -13,13 +13,13 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { SwitchProps as SwitchProps$1 } from "./types.js";
15
15
  import "client-only";
16
- import * as react38 from "react";
16
+ import * as react32 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime156 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime135 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/switch/context.d.ts
21
21
  /** Context for sharing props across Switch components */
22
- declare const SwitchContext: react38.Context<ContextValue<SwitchProps$1, HTMLLabelElement>>;
22
+ declare const SwitchContext: react32.Context<ContextValue<SwitchProps$1, HTMLLabelElement>>;
23
23
  /**
24
24
  * Sets default props for all Switch components within.
25
25
  *
@@ -38,7 +38,7 @@ declare const SwitchContext: react38.Context<ContextValue<SwitchProps$1, HTMLLab
38
38
  declare function SwitchProvider({
39
39
  children,
40
40
  ...props
41
- }: ProviderProps<SwitchProps$1>): react_jsx_runtime156.JSX.Element;
41
+ }: ProviderProps<SwitchProps$1>): react_jsx_runtime135.JSX.Element;
42
42
  //#endregion
43
43
  export { SwitchContext, SwitchProvider };
44
44
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SwitchProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime200 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime136 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/switch/index.d.ts
18
18
 
@@ -38,7 +38,7 @@ import * as react_jsx_runtime200 from "react/jsx-runtime";
38
38
  declare function Switch({
39
39
  ref,
40
40
  ...props
41
- }: SwitchProps): react_jsx_runtime200.JSX.Element;
41
+ }: SwitchProps): react_jsx_runtime136.JSX.Element;
42
42
  //#endregion
43
43
  export { Switch };
44
44
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { TableBodyProps } from "./types.js";
14
- import * as react_jsx_runtime157 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime138 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/table/body.d.ts
17
17
 
@@ -39,7 +39,7 @@ declare function TableBody<T>({
39
39
  ref,
40
40
  rows,
41
41
  ...rest
42
- }: TableBodyProps<T>): react_jsx_runtime157.JSX.Element;
42
+ }: TableBodyProps<T>): react_jsx_runtime138.JSX.Element;
43
43
  //#endregion
44
44
  export { TableBody };
45
45
  //# sourceMappingURL=body.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { TableCellProps } from "./types.js";
14
- import * as react_jsx_runtime158 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime137 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/table/cell.d.ts
17
17
 
@@ -40,7 +40,7 @@ declare function TableCell<T>({
40
40
  className,
41
41
  cell,
42
42
  ...rest
43
- }: TableCellProps<T>): react_jsx_runtime158.JSX.Element;
43
+ }: TableCellProps<T>): react_jsx_runtime137.JSX.Element;
44
44
  //#endregion
45
45
  export { TableCell };
46
46
  //# sourceMappingURL=cell.d.ts.map
@@ -11,11 +11,11 @@
11
11
  */
12
12
 
13
13
  import { TableContextValue } from "./types.js";
14
- import * as react47 from "react";
14
+ import * as react33 from "react";
15
15
 
16
16
  //#region src/components/table/context.d.ts
17
17
  /** Context for sharing table configuration across subcomponents */
18
- declare const TableContext: react47.Context<TableContextValue>;
18
+ declare const TableContext: react33.Context<TableContextValue>;
19
19
  //#endregion
20
20
  export { TableContext };
21
21
  //# sourceMappingURL=context.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { TableHeaderCellProps } from "./types.js";
14
- import * as react_jsx_runtime165 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime132 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/table/header-cell.d.ts
17
17
 
@@ -42,7 +42,7 @@ declare function TableHeaderCell<T>({
42
42
  className,
43
43
  header,
44
44
  ...rest
45
- }: TableHeaderCellProps<T>): react_jsx_runtime165.JSX.Element;
45
+ }: TableHeaderCellProps<T>): react_jsx_runtime132.JSX.Element;
46
46
  //#endregion
47
47
  export { TableHeaderCell };
48
48
  //# sourceMappingURL=header-cell.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { TableHeaderProps } from "./types.js";
14
- import * as react_jsx_runtime160 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime139 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/table/header.d.ts
17
17
 
@@ -41,7 +41,7 @@ declare function TableHeader<T>({
41
41
  headerGroups,
42
42
  columnSelection,
43
43
  ...rest
44
- }: TableHeaderProps<T>): react_jsx_runtime160.JSX.Element;
44
+ }: TableHeaderProps<T>): react_jsx_runtime139.JSX.Element;
45
45
  //#endregion
46
46
  export { TableHeader };
47
47
  //# sourceMappingURL=header.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { TableProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime162 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime140 from "react/jsx-runtime";
16
16
  import { Key } from "@react-types/shared";
17
17
 
18
18
  //#region src/components/table/index.d.ts
@@ -68,7 +68,7 @@ declare function Table<T extends {
68
68
  onRowSelectionChange,
69
69
  fullWidth,
70
70
  ...rest
71
- }: TableProps<T>): react_jsx_runtime162.JSX.Element;
71
+ }: TableProps<T>): react_jsx_runtime140.JSX.Element;
72
72
  //#endregion
73
73
  export { Table };
74
74
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { TableRowProps } from "./types.js";
14
- import * as react_jsx_runtime164 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime141 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/table/row.d.ts
17
17
 
@@ -44,7 +44,7 @@ declare function TableRow<T>({
44
44
  className,
45
45
  row,
46
46
  ...rest
47
- }: TableRowProps<T>): react_jsx_runtime164.JSX.Element;
47
+ }: TableRowProps<T>): react_jsx_runtime141.JSX.Element;
48
48
  //#endregion
49
49
  export { TableRow };
50
50
  //# sourceMappingURL=row.d.ts.map
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  @variant selected {
24
- @apply bg-accent-primary-muted;
24
+ @apply bg-accent-primary-muted visible;
25
25
 
26
26
  border-top-color: var(--outline-accent-primary-bold);
27
27
  box-shadow:
@@ -94,5 +94,9 @@
94
94
  @variant group-hover/header-cell {
95
95
  @apply visible;
96
96
  }
97
+
98
+ @variant group-selected/header-cell {
99
+ @apply visible;
100
+ }
97
101
  }
98
102
  }
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at https://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+ import { TabStyleProps } from "./types.js";
14
+
15
+ //#region src/components/tabs/constants.d.ts
16
+ declare const TabStyleDefaults: Required<TabStyleProps>;
17
+ //#endregion
18
+ export { TabStyleDefaults };
19
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at https://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+
14
+ //#region src/components/tabs/constants.ts
15
+ const TabStyleDefaults = {
16
+ orientation: "horizontal",
17
+ align: "start",
18
+ flex: true
19
+ };
20
+
21
+ //#endregion
22
+ export { TabStyleDefaults };
23
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","names":["TabStyleDefaults: Required<TabStyleProps>"],"sources":["../../../src/components/tabs/constants.ts"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport type { TabStyleProps } from './types';\n\nexport const TabStyleDefaults: Required<TabStyleProps> = {\n orientation: 'horizontal',\n align: 'start',\n flex: true,\n};\n"],"mappings":";;;;;;;;;;;;;;AAcA,MAAaA,mBAA4C;CACvD,aAAa;CACb,OAAO;CACP,MAAM;CACP"}
@@ -11,15 +11,15 @@
11
11
  */
12
12
 
13
13
  import { ProviderProps } from "../../lib/types.js";
14
- import { TabsProps as TabsProps$1 } from "./types.js";
14
+ import { TabProps as TabProps$1, TabsProps as TabsProps$1 } from "./types.js";
15
15
  import "client-only";
16
- import * as react39 from "react";
16
+ import * as react38 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime170 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime151 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/tabs/context.d.ts
21
21
  /** Context for sharing props across Tabs components */
22
- declare const TabsContext: react39.Context<ContextValue<TabsProps$1, HTMLDivElement>>;
22
+ declare const TabsContext: react38.Context<ContextValue<TabsProps$1, HTMLDivElement>>;
23
23
  /**
24
24
  * Sets default props for all Tabs components within.
25
25
  *
@@ -42,7 +42,12 @@ declare const TabsContext: react39.Context<ContextValue<TabsProps$1, HTMLDivElem
42
42
  declare function TabsProvider({
43
43
  children,
44
44
  ...props
45
- }: ProviderProps<TabsProps$1>): react_jsx_runtime170.JSX.Element;
45
+ }: ProviderProps<TabsProps$1>): react_jsx_runtime151.JSX.Element;
46
+ declare const TabContext: react38.Context<ContextValue<TabProps$1, Element>>;
47
+ declare function TabProvider({
48
+ children,
49
+ ...props
50
+ }: ProviderProps<TabProps$1>): react_jsx_runtime151.JSX.Element;
46
51
  //#endregion
47
- export { TabsContext, TabsProvider };
52
+ export { TabContext, TabProvider, TabsContext, TabsProvider };
48
53
  //# sourceMappingURL=context.d.ts.map
@@ -45,7 +45,14 @@ function TabsProvider({ children, ...props }) {
45
45
  children
46
46
  });
47
47
  }
48
+ const TabContext = createContext(null);
49
+ function TabProvider({ children, ...props }) {
50
+ return /* @__PURE__ */ jsx(TabContext.Provider, {
51
+ value: props,
52
+ children
53
+ });
54
+ }
48
55
 
49
56
  //#endregion
50
- export { TabsContext, TabsProvider };
57
+ export { TabContext, TabProvider, TabsContext, TabsProvider };
51
58
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/tabs/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { ProviderProps } from '@/lib/types';\nimport type { TabsProps } from './types';\n\n/** Context for sharing props across Tabs components */\nexport const TabsContext =\n createContext<ContextValue<TabsProps, HTMLDivElement>>(null);\n\n/**\n * Sets default props for all Tabs components within.\n *\n * @example\n * ```tsx\n * <TabsProvider orientation=\"vertical\">\n * <Tabs>\n * <TabList>\n * <Tab>Profile</Tab>\n * <Tab>Settings</Tab>\n * </TabList>\n * </Tabs>\n * </TabsProvider>\n * ```\n *\n * @param props - ProviderProps with TabsProps.\n * @param props.children - Child components that receive the context.\n * @returns The TabsContext provider wrapping children.\n */\nexport function TabsProvider({ children, ...props }: ProviderProps<TabsProps>) {\n return <TabsContext.Provider value={props}>{children}</TabsContext.Provider>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAa,cACX,cAAuD,KAAK;;;;;;;;;;;;;;;;;;;;AAqB9D,SAAgB,aAAa,EAAE,UAAU,GAAG,SAAmC;AAC7E,QAAO,oBAAC,YAAY;EAAS,OAAO;EAAQ;GAAgC"}
1
+ {"version":3,"file":"context.js","names":[],"sources":["../../../src/components/tabs/context.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { createContext } from 'react';\nimport type { ContextValue } from 'react-aria-components';\nimport type { ProviderProps } from '@/lib/types';\nimport type { TabProps, TabsProps } from './types';\n\n/** Context for sharing props across Tabs components */\nexport const TabsContext =\n createContext<ContextValue<TabsProps, HTMLDivElement>>(null);\n\n/**\n * Sets default props for all Tabs components within.\n *\n * @example\n * ```tsx\n * <TabsProvider orientation=\"vertical\">\n * <Tabs>\n * <TabList>\n * <Tab>Profile</Tab>\n * <Tab>Settings</Tab>\n * </TabList>\n * </Tabs>\n * </TabsProvider>\n * ```\n *\n * @param props - ProviderProps with TabsProps.\n * @param props.children - Child components that receive the context.\n * @returns The TabsContext provider wrapping children.\n */\nexport function TabsProvider({ children, ...props }: ProviderProps<TabsProps>) {\n return <TabsContext.Provider value={props}>{children}</TabsContext.Provider>;\n}\n\nexport const TabContext = createContext<ContextValue<TabProps, Element>>(null);\n\nexport function TabProvider({ children, ...props }: ProviderProps<TabProps>) {\n return <TabContext.Provider value={props}>{children}</TabContext.Provider>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA,MAAa,cACX,cAAuD,KAAK;;;;;;;;;;;;;;;;;;;;AAqB9D,SAAgB,aAAa,EAAE,UAAU,GAAG,SAAmC;AAC7E,QAAO,oBAAC,YAAY;EAAS,OAAO;EAAQ;GAAgC;;AAG9E,MAAa,aAAa,cAA+C,KAAK;AAE9E,SAAgB,YAAY,EAAE,UAAU,GAAG,SAAkC;AAC3E,QAAO,oBAAC,WAAW;EAAS,OAAO;EAAQ;GAA+B"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { TabsProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime163 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime155 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/tabs/index.d.ts
18
18
 
@@ -25,6 +25,8 @@ import * as react_jsx_runtime163 from "react/jsx-runtime";
25
25
  * @param props.ref - Ref to the tabs container element.
26
26
  * @param props.children - TabList and TabPanel components.
27
27
  * @param props.className - CSS class for the tabs container.
28
+ * @param props.align - Justification alignment passed down to Tab components. (only applicable when orientation is horizontal)
29
+ * @param props.flex - Boolean passed down to Tab components. (only applicable when orientation is horizontal)
28
30
  * @returns The rendered Tabs component.
29
31
  *
30
32
  * @example
@@ -42,7 +44,7 @@ import * as react_jsx_runtime163 from "react/jsx-runtime";
42
44
  declare function Tabs({
43
45
  ref,
44
46
  ...props
45
- }: TabsProps): react_jsx_runtime163.JSX.Element;
47
+ }: TabsProps): react_jsx_runtime155.JSX.Element;
46
48
  //#endregion
47
49
  export { Tabs };
48
50
  //# sourceMappingURL=index.d.ts.map
@@ -13,7 +13,8 @@
13
13
 
14
14
  'use client';
15
15
 
16
- import { TabsContext } from "./context.js";
16
+ import { TabStyleDefaults } from "./constants.js";
17
+ import { TabProvider, TabsContext } from "./context.js";
17
18
  import "client-only";
18
19
  import { clsx } from "@accelint/design-foundation/lib/utils";
19
20
  import { Tabs as Tabs$1, composeRenderProps, useContextProps } from "react-aria-components";
@@ -30,6 +31,8 @@ import styles from "./styles.module.css";
30
31
  * @param props.ref - Ref to the tabs container element.
31
32
  * @param props.children - TabList and TabPanel components.
32
33
  * @param props.className - CSS class for the tabs container.
34
+ * @param props.align - Justification alignment passed down to Tab components. (only applicable when orientation is horizontal)
35
+ * @param props.flex - Boolean passed down to Tab components. (only applicable when orientation is horizontal)
33
36
  * @returns The rendered Tabs component.
34
37
  *
35
38
  * @example
@@ -46,12 +49,19 @@ import styles from "./styles.module.css";
46
49
  */
47
50
  function Tabs({ ref, ...props }) {
48
51
  [props, ref] = useContextProps(props, ref ?? null, TabsContext);
49
- const { children, className, ...rest } = props;
50
- return /* @__PURE__ */ jsx(Tabs$1, {
51
- ...rest,
52
- ref,
53
- className: composeRenderProps(className, (className$1) => clsx("group/tabs", styles.tabs, className$1)),
54
- children
52
+ const { children, className, align, flex, ...rest } = {
53
+ ...TabStyleDefaults,
54
+ ...props
55
+ };
56
+ return /* @__PURE__ */ jsx(TabProvider, {
57
+ align,
58
+ flex,
59
+ children: /* @__PURE__ */ jsx(Tabs$1, {
60
+ ...rest,
61
+ ref,
62
+ className: composeRenderProps(className, (className$1) => clsx("group/tabs", styles.tabs, className$1)),
63
+ children
64
+ })
55
65
  });
56
66
  }
57
67
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["AriaTabs","className"],"sources":["../../../src/components/tabs/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Tabs as AriaTabs,\n composeRenderProps,\n useContextProps,\n} from 'react-aria-components';\nimport { TabsContext } from './context';\nimport styles from './styles.module.css';\nimport type { TabsProps } from './types';\n\n/**\n * Tabs - Tab navigation for organizing content into multiple sections\n *\n * Supports horizontal and vertical orientations with text or icon tabs.\n *\n * @param props - {@link TabsProps}\n * @param props.ref - Ref to the tabs container element.\n * @param props.children - TabList and TabPanel components.\n * @param props.className - CSS class for the tabs container.\n * @returns The rendered Tabs component.\n *\n * @example\n * ```tsx\n * <Tabs>\n * <TabList>\n * <Tab id=\"overview\">Overview</Tab>\n * <Tab id=\"settings\">Settings</Tab>\n * </TabList>\n * <TabPanel id=\"overview\">Overview content</TabPanel>\n * <TabPanel id=\"settings\">Settings content</TabPanel>\n * </Tabs>\n * ```\n */\nexport function Tabs({ ref, ...props }: TabsProps) {\n [props, ref] = useContextProps(props, ref ?? null, TabsContext);\n\n const { children, className, ...rest } = props;\n\n return (\n <AriaTabs\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n clsx('group/tabs', styles.tabs, className),\n )}\n >\n {children}\n </AriaTabs>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA,SAAgB,KAAK,EAAE,KAAK,GAAG,SAAoB;AACjD,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,YAAY;CAE/D,MAAM,EAAE,UAAU,WAAW,GAAG,SAAS;AAEzC,QACE,oBAACA;EACC,GAAI;EACC;EACL,WAAW,mBAAmB,YAAY,gBACxC,KAAK,cAAc,OAAO,MAAMC,YAAU,CAC3C;EAEA;GACQ"}
1
+ {"version":3,"file":"index.js","names":["AriaTabs","className"],"sources":["../../../src/components/tabs/index.tsx"],"sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n'use client';\n\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport {\n Tabs as AriaTabs,\n composeRenderProps,\n useContextProps,\n} from 'react-aria-components';\nimport { TabStyleDefaults } from './constants';\nimport { TabProvider, TabsContext } from './context';\nimport styles from './styles.module.css';\nimport type { TabsProps } from './types';\n\n/**\n * Tabs - Tab navigation for organizing content into multiple sections\n *\n * Supports horizontal and vertical orientations with text or icon tabs.\n *\n * @param props - {@link TabsProps}\n * @param props.ref - Ref to the tabs container element.\n * @param props.children - TabList and TabPanel components.\n * @param props.className - CSS class for the tabs container.\n * @param props.align - Justification alignment passed down to Tab components. (only applicable when orientation is horizontal)\n * @param props.flex - Boolean passed down to Tab components. (only applicable when orientation is horizontal)\n * @returns The rendered Tabs component.\n *\n * @example\n * ```tsx\n * <Tabs>\n * <TabList>\n * <Tab id=\"overview\">Overview</Tab>\n * <Tab id=\"settings\">Settings</Tab>\n * </TabList>\n * <TabPanel id=\"overview\">Overview content</TabPanel>\n * <TabPanel id=\"settings\">Settings content</TabPanel>\n * </Tabs>\n * ```\n */\nexport function Tabs({ ref, ...props }: TabsProps) {\n [props, ref] = useContextProps(props, ref ?? null, TabsContext);\n\n const { children, className, align, flex, ...rest } = {\n ...TabStyleDefaults,\n ...props,\n };\n\n return (\n <TabProvider align={align} flex={flex}>\n <AriaTabs\n {...rest}\n ref={ref}\n className={composeRenderProps(className, (className) =>\n clsx('group/tabs', styles.tabs, className),\n )}\n >\n {children}\n </AriaTabs>\n </TabProvider>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,SAAgB,KAAK,EAAE,KAAK,GAAG,SAAoB;AACjD,EAAC,OAAO,OAAO,gBAAgB,OAAO,OAAO,MAAM,YAAY;CAE/D,MAAM,EAAE,UAAU,WAAW,OAAO,MAAM,GAAG,SAAS;EACpD,GAAG;EACH,GAAG;EACJ;AAED,QACE,oBAAC;EAAmB;EAAa;YAC/B,oBAACA;GACC,GAAI;GACC;GACL,WAAW,mBAAmB,YAAY,gBACxC,KAAK,cAAc,OAAO,MAAMC,YAAU,CAC3C;GAEA;IACQ;GACC"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import "client-only";
14
14
  import { TabListProps } from "react-aria-components";
15
- import * as react_jsx_runtime166 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime142 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/tabs/list.d.ts
18
18
 
@@ -40,7 +40,7 @@ declare function TabList<T extends object>({
40
40
  children,
41
41
  className,
42
42
  ...rest
43
- }: TabListProps<T>): react_jsx_runtime166.JSX.Element;
43
+ }: TabListProps<T>): react_jsx_runtime142.JSX.Element;
44
44
  //#endregion
45
45
  export { TabList };
46
46
  //# sourceMappingURL=list.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import "client-only";
14
14
  import { TabPanelProps } from "react-aria-components";
15
- import * as react_jsx_runtime167 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime143 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/tabs/panel.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function TabPanel({
41
41
  children,
42
42
  className,
43
43
  ...rest
44
- }: TabPanelProps): react_jsx_runtime167.JSX.Element;
44
+ }: TabPanelProps): react_jsx_runtime143.JSX.Element;
45
45
  //#endregion
46
46
  export { TabPanel };
47
47
  //# sourceMappingURL=panel.d.ts.map
@@ -14,14 +14,14 @@
14
14
 
15
15
  @layer components.l1 {
16
16
  .tabs {
17
- @apply w-content flex;
17
+ @apply flex;
18
18
 
19
19
  @variant orientation-horizontal {
20
20
  @apply flex-col;
21
21
  }
22
22
 
23
23
  @variant orientation-vertical {
24
- @apply flex-row;
24
+ @apply h-full flex-row;
25
25
  }
26
26
  }
27
27
 
@@ -29,16 +29,22 @@
29
29
  @apply flex;
30
30
 
31
31
  @variant orientation-horizontal {
32
- @apply flex-row;
32
+ @apply relative w-full flex-row;
33
+
34
+ &:before {
35
+ @apply absolute bottom-0 left-0 block h-px w-full bg-(--outline-static);
36
+ content: '';
37
+ }
33
38
  }
34
39
 
35
40
  @variant orientation-vertical {
36
- @apply flex-col;
41
+ @apply h-full flex-col;
37
42
  }
38
43
  }
39
44
 
40
45
  .tab {
41
- @apply fg-primary-muted rounded-small p-s relative cursor-pointer;
46
+ @apply gap-xs fg-primary-muted rounded-small p-s relative flex cursor-pointer items-center;
47
+ max-width: 200px;
42
48
 
43
49
  @variant hover {
44
50
  @apply fg-primary-bold;
@@ -76,6 +82,18 @@
76
82
  content: '';
77
83
  }
78
84
 
85
+ &.flex {
86
+ @apply grow;
87
+ }
88
+
89
+ &.center {
90
+ @apply justify-center;
91
+ }
92
+
93
+ &.end {
94
+ @apply justify-end;
95
+ }
96
+
79
97
  @variant hover {
80
98
  &:after {
81
99
  @apply bg-(--outline-interactive-hover);
@@ -119,6 +137,10 @@
119
137
  }
120
138
  }
121
139
 
140
+ @variant group-orientation-vertical/tabs {
141
+ @apply flex-col;
142
+ }
143
+
122
144
  @variant disabled {
123
145
  @apply fg-disabled cursor-not-allowed;
124
146
 
@@ -10,9 +10,9 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
+ import { TabProps } from "./types.js";
13
14
  import "client-only";
14
- import { TabProps } from "react-aria-components";
15
- import * as react_jsx_runtime168 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime144 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/tabs/tab.d.ts
18
18
 
@@ -31,13 +31,14 @@ import * as react_jsx_runtime168 from "react/jsx-runtime";
31
31
  * @param props - TabProps from react-aria-components.
32
32
  * @param props.children - Tab label content.
33
33
  * @param props.className - CSS class for the tab.
34
+ * @param props.align - Justification alignment for content within the Tab (only applicable when orientation is horizontal)
35
+ * @param props.flex - Boolean to determine if the Tab should grow in size (up to a max width). (only applicable when orientation is horizontal)
34
36
  * @returns The rendered Tab component.
35
37
  */
36
38
  declare function Tab({
37
- children,
38
- className,
39
- ...rest
40
- }: TabProps): react_jsx_runtime168.JSX.Element;
39
+ ref,
40
+ ...props
41
+ }: TabProps): react_jsx_runtime144.JSX.Element;
41
42
  //#endregion
42
43
  export { Tab };
43
44
  //# sourceMappingURL=tab.d.ts.map