@accelint/design-toolkit 9.5.0 → 9.6.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 (226) hide show
  1. package/catalog-info.yaml +1 -1
  2. package/dist/components/accordion/group.d.ts +2 -2
  3. package/dist/components/accordion/header.d.ts +2 -2
  4. package/dist/components/accordion/index.d.ts +2 -2
  5. package/dist/components/accordion/panel.d.ts +2 -2
  6. package/dist/components/accordion/trigger.d.ts +2 -2
  7. package/dist/components/action-bar/index.d.ts +2 -2
  8. package/dist/components/audio/index.d.ts +2 -2
  9. package/dist/components/avatar/context.d.ts +4 -4
  10. package/dist/components/avatar/index.d.ts +2 -2
  11. package/dist/components/badge/context.d.ts +4 -4
  12. package/dist/components/badge/index.d.ts +2 -2
  13. package/dist/components/breadcrumbs/index.d.ts +2 -2
  14. package/dist/components/breadcrumbs/item.d.ts +2 -2
  15. package/dist/components/button/__internal__/styles.module.css +1 -1
  16. package/dist/components/button/context.d.ts +8 -8
  17. package/dist/components/button/index.d.ts +2 -2
  18. package/dist/components/button/link.d.ts +2 -2
  19. package/dist/components/button/styles.module.css +1 -1
  20. package/dist/components/button/toggle.d.ts +2 -2
  21. package/dist/components/checkbox/context.d.ts +3 -3
  22. package/dist/components/checkbox/group.d.ts +2 -2
  23. package/dist/components/checkbox/index.d.ts +2 -2
  24. package/dist/components/chip/context.d.ts +4 -4
  25. package/dist/components/chip/deletable.d.ts +2 -2
  26. package/dist/components/chip/index.d.ts +2 -2
  27. package/dist/components/chip/list.d.ts +4 -4
  28. package/dist/components/chip/selectable.d.ts +2 -2
  29. package/dist/components/chip/styles.module.css +2 -2
  30. package/dist/components/classification-badge/context.d.ts +4 -4
  31. package/dist/components/classification-badge/index.d.ts +2 -2
  32. package/dist/components/classification-banner/context.d.ts +4 -4
  33. package/dist/components/classification-banner/index.d.ts +2 -2
  34. package/dist/components/clock/index.d.ts +2 -2
  35. package/dist/components/color-picker/index.d.ts +2 -2
  36. package/dist/components/combobox-field/context.d.ts +4 -4
  37. package/dist/components/combobox-field/index.d.ts +2 -2
  38. package/dist/components/coordinate-field/context.d.ts +6 -6
  39. package/dist/components/coordinate-field/index.d.ts +2 -2
  40. package/dist/components/coordinate-field/segment.d.ts +2 -2
  41. package/dist/components/date-field/index.d.ts +2 -2
  42. package/dist/components/details-list/context.d.ts +4 -4
  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/close.d.ts +2 -2
  54. package/dist/components/drawer/content.d.ts +2 -2
  55. package/dist/components/drawer/context.d.ts +2 -2
  56. package/dist/components/drawer/footer.d.ts +2 -2
  57. package/dist/components/drawer/header-title.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/pagination/context.d.ts +2 -2
  141. package/dist/components/pagination/index.d.ts +2 -2
  142. package/dist/components/pagination/next.d.ts +2 -2
  143. package/dist/components/pagination/pages.d.ts +2 -2
  144. package/dist/components/pagination/prev.d.ts +2 -2
  145. package/dist/components/popover/content.d.ts +2 -2
  146. package/dist/components/popover/footer.d.ts +2 -2
  147. package/dist/components/popover/index.d.ts +2 -2
  148. package/dist/components/popover/title.d.ts +2 -2
  149. package/dist/components/popover/trigger.d.ts +2 -2
  150. package/dist/components/query-builder/action-element.d.ts +2 -2
  151. package/dist/components/query-builder/actions.d.ts +4 -4
  152. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  153. package/dist/components/query-builder/index.d.ts +2 -2
  154. package/dist/components/query-builder/rule-group.d.ts +4 -4
  155. package/dist/components/query-builder/rule.d.ts +2 -2
  156. package/dist/components/query-builder/value-editor.d.ts +2 -2
  157. package/dist/components/query-builder/value-selector.d.ts +2 -2
  158. package/dist/components/radio/context.d.ts +2 -2
  159. package/dist/components/radio/group.d.ts +2 -2
  160. package/dist/components/radio/index.d.ts +2 -2
  161. package/dist/components/search-field/context.d.ts +4 -4
  162. package/dist/components/search-field/index.d.ts +2 -2
  163. package/dist/components/search-field/styles.module.css +1 -1
  164. package/dist/components/select-field/context.d.ts +4 -4
  165. package/dist/components/select-field/index.d.ts +2 -2
  166. package/dist/components/sidenav/avatar.d.ts +2 -2
  167. package/dist/components/sidenav/content.d.ts +2 -2
  168. package/dist/components/sidenav/context.d.ts +2 -2
  169. package/dist/components/sidenav/footer.d.ts +2 -2
  170. package/dist/components/sidenav/header.d.ts +2 -2
  171. package/dist/components/sidenav/index.d.ts +2 -2
  172. package/dist/components/sidenav/item.d.ts +2 -2
  173. package/dist/components/sidenav/link.d.ts +2 -2
  174. package/dist/components/sidenav/menu-item.d.ts +2 -2
  175. package/dist/components/sidenav/menu.d.ts +2 -2
  176. package/dist/components/sidenav/trigger.d.ts +2 -2
  177. package/dist/components/skeleton/index.d.ts +2 -2
  178. package/dist/components/slider/index.d.ts +2 -2
  179. package/dist/components/status-indicator/index.d.ts +2 -2
  180. package/dist/components/switch/context.d.ts +4 -4
  181. package/dist/components/switch/index.d.ts +2 -2
  182. package/dist/components/table/body.d.ts +2 -2
  183. package/dist/components/table/cell.d.ts +2 -2
  184. package/dist/components/table/context.d.ts +2 -2
  185. package/dist/components/table/header-cell.d.ts +2 -2
  186. package/dist/components/table/header.d.ts +2 -2
  187. package/dist/components/table/index.d.ts +2 -2
  188. package/dist/components/table/row.d.ts +2 -2
  189. package/dist/components/table/styles.module.css +5 -1
  190. package/dist/components/tabs/context.d.ts +4 -4
  191. package/dist/components/tabs/index.d.ts +2 -2
  192. package/dist/components/tabs/list.d.ts +2 -2
  193. package/dist/components/tabs/panel.d.ts +2 -2
  194. package/dist/components/tabs/styles.module.css +1 -1
  195. package/dist/components/tabs/tab.d.ts +2 -2
  196. package/dist/components/text-area-field/context.d.ts +4 -4
  197. package/dist/components/text-area-field/index.d.ts +2 -2
  198. package/dist/components/text-field/context.d.ts +4 -4
  199. package/dist/components/text-field/index.d.ts +2 -2
  200. package/dist/components/time-field/index.d.ts +2 -2
  201. package/dist/components/tooltip/context.d.ts +2 -2
  202. package/dist/components/tooltip/index.d.ts +2 -2
  203. package/dist/components/tooltip/trigger.d.ts +2 -2
  204. package/dist/components/tree/context.d.ts +3 -3
  205. package/dist/components/tree/index.d.ts +2 -2
  206. package/dist/components/tree/item-actions.d.ts +2 -2
  207. package/dist/components/tree/item-content.d.ts +2 -2
  208. package/dist/components/tree/item-description.d.ts +2 -2
  209. package/dist/components/tree/item-label.d.ts +2 -2
  210. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  211. package/dist/components/tree/item.d.ts +2 -2
  212. package/dist/components/tree/lines.d.ts +2 -2
  213. package/dist/components/video/index.d.ts +97 -0
  214. package/dist/components/video/index.js +261 -0
  215. package/dist/components/video/index.js.map +1 -0
  216. package/dist/components/video/styles.module.css +99 -0
  217. package/dist/components/video/types.d.ts +52 -0
  218. package/dist/components/video/types.js +12 -0
  219. package/dist/components/view-stack/context.d.ts +2 -2
  220. package/dist/components/view-stack/index.d.ts +2 -2
  221. package/dist/components/view-stack/trigger.d.ts +2 -2
  222. package/dist/components/view-stack/view.d.ts +2 -2
  223. package/dist/index.d.ts +5 -2
  224. package/dist/index.js +3 -1
  225. package/dist/providers/portal.d.ts +2 -2
  226. package/package.json +8 -5
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { KanbanSearchProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime35 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime126 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/header-search.d.ts
18
18
  /**
@@ -25,7 +25,7 @@ import * as react_jsx_runtime35 from "react/jsx-runtime";
25
25
  declare function KanbanHeaderSearch({
26
26
  classNames,
27
27
  ...rest
28
- }: KanbanSearchProps): react_jsx_runtime35.JSX.Element;
28
+ }: KanbanSearchProps): react_jsx_runtime126.JSX.Element;
29
29
  //#endregion
30
30
  export { KanbanHeaderSearch };
31
31
  //# sourceMappingURL=header-search.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime46 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime127 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/header-title.d.ts
18
18
  /**
@@ -27,7 +27,7 @@ declare function KanbanHeaderTitle({
27
27
  children,
28
28
  className,
29
29
  ...rest
30
- }: KanbanComponentProps): react_jsx_runtime46.JSX.Element;
30
+ }: KanbanComponentProps): react_jsx_runtime127.JSX.Element;
31
31
  //#endregion
32
32
  export { KanbanHeaderTitle };
33
33
  //# sourceMappingURL=header-title.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { KanbanComponentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime39 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime129 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/kanban/header.d.ts
18
18
  /**
@@ -29,7 +29,7 @@ declare function KanbanHeader({
29
29
  children,
30
30
  className,
31
31
  ...rest
32
- }: KanbanComponentProps): react_jsx_runtime39.JSX.Element;
32
+ }: KanbanComponentProps): react_jsx_runtime129.JSX.Element;
33
33
  //#endregion
34
34
  export { KanbanHeader };
35
35
  //# sourceMappingURL=header.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { KanbanProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react20 from "react";
16
- import * as react_jsx_runtime91 from "react/jsx-runtime";
15
+ import * as react31 from "react";
16
+ import * as react_jsx_runtime130 from "react/jsx-runtime";
17
17
 
18
18
  //#region src/components/kanban/kanban.d.ts
19
19
  /**
20
20
  * Context for sharing active drag state across Kanban components.
21
21
  */
22
- declare const DragContext: react20.Context<{
22
+ declare const DragContext: react31.Context<{
23
23
  activeId: string | null;
24
24
  } | null>;
25
25
  /**
@@ -55,7 +55,7 @@ declare function Kanban({
55
55
  children,
56
56
  className,
57
57
  ...rest
58
- }: KanbanProps): react_jsx_runtime91.JSX.Element;
58
+ }: KanbanProps): react_jsx_runtime130.JSX.Element;
59
59
  //#endregion
60
60
  export { DragContext, Kanban, useDragContext };
61
61
  //# sourceMappingURL=kanban.d.ts.map
@@ -13,15 +13,15 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { LabelProps as LabelProps$1 } from "./types.js";
15
15
  import "client-only";
16
- import * as react23 from "react";
16
+ import * as react32 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime98 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime134 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/label/context.d.ts
21
21
  /**
22
22
  * Context for sharing Label props across component tree.
23
23
  */
24
- declare const LabelContext: react23.Context<ContextValue<LabelProps$1, HTMLLabelElement>>;
24
+ declare const LabelContext: react32.Context<ContextValue<LabelProps$1, HTMLLabelElement>>;
25
25
  /**
26
26
  * LabelProvider - Context provider for setting default Label props.
27
27
  *
@@ -43,7 +43,7 @@ declare const LabelContext: react23.Context<ContextValue<LabelProps$1, HTMLLabel
43
43
  declare function LabelProvider({
44
44
  children,
45
45
  ...props
46
- }: ProviderProps<LabelProps$1>): react_jsx_runtime98.JSX.Element;
46
+ }: ProviderProps<LabelProps$1>): react_jsx_runtime134.JSX.Element;
47
47
  //#endregion
48
48
  export { LabelContext, LabelProvider };
49
49
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { LabelProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime113 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime155 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/label/index.d.ts
18
18
 
@@ -52,7 +52,7 @@ import * as react_jsx_runtime113 from "react/jsx-runtime";
52
52
  declare function Label({
53
53
  ref,
54
54
  ...props
55
- }: LabelProps): react_jsx_runtime113.JSX.Element;
55
+ }: LabelProps): react_jsx_runtime155.JSX.Element;
56
56
  //#endregion
57
57
  export { Label };
58
58
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { LinesProps } from "./types.js";
14
- import * as react_jsx_runtime115 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime135 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/lines/index.d.ts
17
17
 
@@ -38,7 +38,7 @@ declare function Lines({
38
38
  size,
39
39
  variant,
40
40
  isVisible
41
- }: LinesProps): react_jsx_runtime115.JSX.Element;
41
+ }: LinesProps): react_jsx_runtime135.JSX.Element;
42
42
  //#endregion
43
43
  export { Lines };
44
44
  //# sourceMappingURL=index.d.ts.map
@@ -13,7 +13,7 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { LinkProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react_jsx_runtime40 from "react/jsx-runtime";
16
+ import * as react_jsx_runtime137 from "react/jsx-runtime";
17
17
 
18
18
  //#region src/components/link/context.d.ts
19
19
 
@@ -38,7 +38,7 @@ import * as react_jsx_runtime40 from "react/jsx-runtime";
38
38
  declare function LinkProvider({
39
39
  children,
40
40
  ...props
41
- }: ProviderProps<LinkProps>): react_jsx_runtime40.JSX.Element;
41
+ }: ProviderProps<LinkProps>): react_jsx_runtime137.JSX.Element;
42
42
  //#endregion
43
43
  export { LinkProvider };
44
44
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { LinkProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime41 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime131 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/link/index.d.ts
18
18
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime41 from "react/jsx-runtime";
37
37
  declare function Link({
38
38
  ref,
39
39
  ...props
40
- }: LinkProps): react_jsx_runtime41.JSX.Element;
40
+ }: LinkProps): react_jsx_runtime131.JSX.Element;
41
41
  //#endregion
42
42
  export { Link };
43
43
  //# sourceMappingURL=index.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { ListItemVariant, ListProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react11 from "react";
15
+ import * as react38 from "react";
16
16
  import { ContextValue } from "react-aria-components";
17
17
 
18
18
  //#region src/components/list/context.d.ts
19
19
  /**
20
20
  * Context for sharing List variant across component tree.
21
21
  */
22
- declare const ListContext: react11.Context<ContextValue<ListProps<object>, HTMLDivElement>>;
22
+ declare const ListContext: react38.Context<ContextValue<ListProps<object>, HTMLDivElement>>;
23
23
  /**
24
24
  * Hook to get the current list item variant from context.
25
25
  * Used internally by ListItemTitle and ListItemDescription for sizing.
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { ListProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime47 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime157 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/list/index.d.ts
18
18
 
@@ -47,7 +47,7 @@ import * as react_jsx_runtime47 from "react/jsx-runtime";
47
47
  declare function List<T extends object>({
48
48
  ref,
49
49
  ...props
50
- }: ListProps<T>): react_jsx_runtime47.JSX.Element;
50
+ }: ListProps<T>): react_jsx_runtime157.JSX.Element;
51
51
  //#endregion
52
52
  export { List };
53
53
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { ListItemContentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime52 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime158 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/list/item-content.d.ts
18
18
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime52 from "react/jsx-runtime";
37
37
  declare function ListItemContent({
38
38
  className,
39
39
  ...rest
40
- }: ListItemContentProps): react_jsx_runtime52.JSX.Element;
40
+ }: ListItemContentProps): react_jsx_runtime158.JSX.Element;
41
41
  //#endregion
42
42
  export { ListItemContent };
43
43
  //# sourceMappingURL=item-content.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { ListItemDescriptionProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime50 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime138 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/list/item-description.d.ts
18
18
  /**
@@ -35,7 +35,7 @@ declare function ListItemDescription({
35
35
  children,
36
36
  className,
37
37
  ...rest
38
- }: ListItemDescriptionProps): react_jsx_runtime50.JSX.Element;
38
+ }: ListItemDescriptionProps): react_jsx_runtime138.JSX.Element;
39
39
  //#endregion
40
40
  export { ListItemDescription };
41
41
  //# sourceMappingURL=item-description.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { ListItemTitleProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime53 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime148 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/list/item-title.d.ts
18
18
  /**
@@ -35,7 +35,7 @@ declare function ListItemTitle({
35
35
  children,
36
36
  className,
37
37
  ...rest
38
- }: ListItemTitleProps): react_jsx_runtime53.JSX.Element;
38
+ }: ListItemTitleProps): react_jsx_runtime148.JSX.Element;
39
39
  //#endregion
40
40
  export { ListItemTitle };
41
41
  //# sourceMappingURL=item-title.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { ListItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime60 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime151 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/list/item.d.ts
18
18
 
@@ -46,7 +46,7 @@ declare function ListItem<T extends object>({
46
46
  classNames,
47
47
  textValue,
48
48
  ...rest
49
- }: ListItemProps<T>): react_jsx_runtime60.JSX.Element;
49
+ }: ListItemProps<T>): react_jsx_runtime151.JSX.Element;
50
50
  //#endregion
51
51
  export { ListItem };
52
52
  //# sourceMappingURL=item.d.ts.map
@@ -12,9 +12,9 @@
12
12
 
13
13
  import { MediaControlsContextValue } from "./types.js";
14
14
  import "client-only";
15
- import * as react13 from "react";
15
+ import * as react39 from "react";
16
16
  import { PropsWithChildren } from "react";
17
- import * as react_jsx_runtime61 from "react/jsx-runtime";
17
+ import * as react_jsx_runtime154 from "react/jsx-runtime";
18
18
 
19
19
  //#region src/components/media-controls/context.d.ts
20
20
  /**
@@ -22,7 +22,7 @@ import * as react_jsx_runtime61 from "react/jsx-runtime";
22
22
  *
23
23
  * Provides shared configuration values (isDisabled) to all child controls.
24
24
  */
25
- declare const MediaControlsContext: react13.Context<MediaControlsContextValue>;
25
+ declare const MediaControlsContext: react39.Context<MediaControlsContextValue>;
26
26
  /**
27
27
  * Validates that media-chrome's MediaProvider is present.
28
28
  *
@@ -60,7 +60,7 @@ declare function useMediaControlsDisabled(propIsDisabled?: boolean): boolean;
60
60
  declare function MediaControlsProvider({
61
61
  children,
62
62
  isDisabled
63
- }: PropsWithChildren<Partial<MediaControlsContextValue>>): react_jsx_runtime61.JSX.Element;
63
+ }: PropsWithChildren<Partial<MediaControlsContextValue>>): react_jsx_runtime154.JSX.Element;
64
64
  //#endregion
65
65
  export { MediaControlsContext, MediaControlsProvider, useMediaControlsDisabled, useMediaProviderGuard };
66
66
  //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1,55 @@
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 { FullscreenButtonProps } from "./types.js";
14
+ import "client-only";
15
+ import * as react_jsx_runtime147 from "react/jsx-runtime";
16
+
17
+ //#region src/components/media-controls/fullscreen-button.d.ts
18
+
19
+ /**
20
+ * A media control button for entering/exiting fullscreen.
21
+ *
22
+ * Integrates with media-chrome's media store to control fullscreen state.
23
+ * Automatically shows the appropriate icon based on the current fullscreen state.
24
+ *
25
+ * @param props - The button props.
26
+ * @param props.className - CSS class name for the button.
27
+ * @param props.isDisabled - Whether the button is disabled.
28
+ * @param props.ref - Ref to the button element.
29
+ * @returns The rendered fullscreen button.
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * // Usage within Video component (recommended)
34
+ * <Video src="video.mp4">
35
+ * <FullscreenButton />
36
+ * </Video>
37
+ *
38
+ * // Or with explicit provider hierarchy
39
+ * <MediaProvider>
40
+ * <MediaController>
41
+ * <video slot="media" />
42
+ * <FullscreenButton />
43
+ * </MediaController>
44
+ * </MediaProvider>
45
+ * ```
46
+ */
47
+ declare function FullscreenButton({
48
+ className,
49
+ isDisabled: isDisabledProp,
50
+ ref,
51
+ ...rest
52
+ }: FullscreenButtonProps): react_jsx_runtime147.JSX.Element;
53
+ //#endregion
54
+ export { FullscreenButton };
55
+ //# sourceMappingURL=fullscreen-button.d.ts.map
@@ -0,0 +1,80 @@
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
+ 'use client';
15
+
16
+ import { Icon } from "../icon/index.js";
17
+ import { Button } from "../button/index.js";
18
+ import { useMediaControlsDisabled } from "./context.js";
19
+ import "client-only";
20
+ import { useCallback } from "react";
21
+ import { jsx } from "react/jsx-runtime";
22
+ import { MediaActionTypes, useMediaDispatch, useMediaSelector } from "media-chrome/react/media-store";
23
+ import { CollapseWindow, FullScreen } from "@accelint/icons";
24
+
25
+ //#region src/components/media-controls/fullscreen-button.tsx
26
+ const selectIsFullscreen = (state) => state.mediaIsFullscreen;
27
+ /**
28
+ * A media control button for entering/exiting fullscreen.
29
+ *
30
+ * Integrates with media-chrome's media store to control fullscreen state.
31
+ * Automatically shows the appropriate icon based on the current fullscreen state.
32
+ *
33
+ * @param props - The button props.
34
+ * @param props.className - CSS class name for the button.
35
+ * @param props.isDisabled - Whether the button is disabled.
36
+ * @param props.ref - Ref to the button element.
37
+ * @returns The rendered fullscreen button.
38
+ *
39
+ * @example
40
+ * ```tsx
41
+ * // Usage within Video component (recommended)
42
+ * <Video src="video.mp4">
43
+ * <FullscreenButton />
44
+ * </Video>
45
+ *
46
+ * // Or with explicit provider hierarchy
47
+ * <MediaProvider>
48
+ * <MediaController>
49
+ * <video slot="media" />
50
+ * <FullscreenButton />
51
+ * </MediaController>
52
+ * </MediaProvider>
53
+ * ```
54
+ */
55
+ function FullscreenButton({ className, isDisabled: isDisabledProp, ref, ...rest }) {
56
+ const dispatch = useMediaDispatch();
57
+ const mediaIsFullscreen = useMediaSelector(selectIsFullscreen);
58
+ const isDisabled = useMediaControlsDisabled(isDisabledProp);
59
+ const handleClick = useCallback(() => {
60
+ dispatch({ type: mediaIsFullscreen ? MediaActionTypes.MEDIA_EXIT_FULLSCREEN_REQUEST : MediaActionTypes.MEDIA_ENTER_FULLSCREEN_REQUEST });
61
+ }, [dispatch, mediaIsFullscreen]);
62
+ return /* @__PURE__ */ jsx(Button, {
63
+ ...rest,
64
+ ref,
65
+ className,
66
+ variant: "icon",
67
+ size: "medium",
68
+ isDisabled,
69
+ onPress: handleClick,
70
+ "aria-label": mediaIsFullscreen ? "Exit fullscreen" : "Enter fullscreen",
71
+ children: /* @__PURE__ */ jsx(Icon, {
72
+ size: "medium",
73
+ children: mediaIsFullscreen ? /* @__PURE__ */ jsx(CollapseWindow, {}) : /* @__PURE__ */ jsx(FullScreen, {})
74
+ })
75
+ });
76
+ }
77
+
78
+ //#endregion
79
+ export { FullscreenButton };
80
+ //# sourceMappingURL=fullscreen-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fullscreen-button.js","names":[],"sources":["../../../src/components/media-controls/fullscreen-button.tsx"],"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'use client';\n\nimport 'client-only';\nimport { CollapseWindow, FullScreen } from '@accelint/icons';\nimport {\n MediaActionTypes,\n useMediaDispatch,\n useMediaSelector,\n} from 'media-chrome/react/media-store';\nimport { useCallback } from 'react';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { useMediaControlsDisabled } from './context';\nimport type { FullscreenButtonProps } from './types';\nimport type { MediaState } from 'media-chrome/react/media-store';\n\nconst selectIsFullscreen = (state: MediaState) => state.mediaIsFullscreen;\n\n/**\n * A media control button for entering/exiting fullscreen.\n *\n * Integrates with media-chrome's media store to control fullscreen state.\n * Automatically shows the appropriate icon based on the current fullscreen state.\n *\n * @param props - The button props.\n * @param props.className - CSS class name for the button.\n * @param props.isDisabled - Whether the button is disabled.\n * @param props.ref - Ref to the button element.\n * @returns The rendered fullscreen button.\n *\n * @example\n * ```tsx\n * // Usage within Video component (recommended)\n * <Video src=\"video.mp4\">\n * <FullscreenButton />\n * </Video>\n *\n * // Or with explicit provider hierarchy\n * <MediaProvider>\n * <MediaController>\n * <video slot=\"media\" />\n * <FullscreenButton />\n * </MediaController>\n * </MediaProvider>\n * ```\n */\nexport function FullscreenButton({\n className,\n isDisabled: isDisabledProp,\n ref,\n ...rest\n}: FullscreenButtonProps) {\n const dispatch = useMediaDispatch();\n const mediaIsFullscreen = useMediaSelector(selectIsFullscreen);\n const isDisabled = useMediaControlsDisabled(isDisabledProp);\n\n const handleClick = useCallback(() => {\n const type = mediaIsFullscreen\n ? MediaActionTypes.MEDIA_EXIT_FULLSCREEN_REQUEST\n : MediaActionTypes.MEDIA_ENTER_FULLSCREEN_REQUEST;\n dispatch({ type });\n }, [dispatch, mediaIsFullscreen]);\n\n return (\n <Button\n {...rest}\n ref={ref}\n className={className}\n variant='icon'\n size='medium'\n isDisabled={isDisabled}\n onPress={handleClick}\n aria-label={mediaIsFullscreen ? 'Exit fullscreen' : 'Enter fullscreen'}\n >\n <Icon size='medium'>\n {mediaIsFullscreen ? <CollapseWindow /> : <FullScreen />}\n </Icon>\n </Button>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA2BA,MAAM,sBAAsB,UAAsB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BxD,SAAgB,iBAAiB,EAC/B,WACA,YAAY,gBACZ,KACA,GAAG,QACqB;CACxB,MAAM,WAAW,kBAAkB;CACnC,MAAM,oBAAoB,iBAAiB,mBAAmB;CAC9D,MAAM,aAAa,yBAAyB,eAAe;CAE3D,MAAM,cAAc,kBAAkB;AAIpC,WAAS,EAAE,MAHE,oBACT,iBAAiB,gCACjB,iBAAiB,gCACJ,CAAC;IACjB,CAAC,UAAU,kBAAkB,CAAC;AAEjC,QACE,oBAAC;EACC,GAAI;EACC;EACM;EACX,SAAQ;EACR,MAAK;EACO;EACZ,SAAS;EACT,cAAY,oBAAoB,oBAAoB;YAEpD,oBAAC;GAAK,MAAK;aACR,oBAAoB,oBAAC,mBAAiB,GAAG,oBAAC,eAAa;IACnD;GACA"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MediaControlsProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime62 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime149 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/index.d.ts
18
18
 
@@ -62,7 +62,7 @@ declare function MediaControls({
62
62
  children,
63
63
  isDisabled,
64
64
  ...rest
65
- }: MediaControlsProps): react_jsx_runtime62.JSX.Element;
65
+ }: MediaControlsProps): react_jsx_runtime149.JSX.Element;
66
66
  //#endregion
67
67
  export { MediaControls };
68
68
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MuteButtonProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime63 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime159 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/mute-button.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function MuteButton({
41
41
  isDisabled: isDisabledProp,
42
42
  ref,
43
43
  ...rest
44
- }: MuteButtonProps): react_jsx_runtime63.JSX.Element;
44
+ }: MuteButtonProps): react_jsx_runtime159.JSX.Element;
45
45
  //#endregion
46
46
  export { MuteButton };
47
47
  //# sourceMappingURL=mute-button.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PlayButtonProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime66 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime160 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/play-button.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function PlayButton({
41
41
  isDisabled: isDisabledProp,
42
42
  ref,
43
43
  ...rest
44
- }: PlayButtonProps): react_jsx_runtime66.JSX.Element;
44
+ }: PlayButtonProps): react_jsx_runtime160.JSX.Element;
45
45
  //#endregion
46
46
  export { PlayButton };
47
47
  //# sourceMappingURL=play-button.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PlaybackRateButtonProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime67 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime161 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/playback-rate.d.ts
18
18
 
@@ -52,7 +52,7 @@ declare function PlaybackRateButton({
52
52
  isDisabled: isDisabledProp,
53
53
  ref,
54
54
  ...rest
55
- }: PlaybackRateButtonProps): react_jsx_runtime67.JSX.Element;
55
+ }: PlaybackRateButtonProps): react_jsx_runtime161.JSX.Element;
56
56
  //#endregion
57
57
  export { PlaybackRateButton };
58
58
  //# sourceMappingURL=playback-rate.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SeekButtonProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime70 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime162 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/seek-button.d.ts
18
18
 
@@ -54,7 +54,7 @@ declare function SeekButton({
54
54
  isDisabled: isDisabledProp,
55
55
  ref,
56
56
  ...rest
57
- }: SeekButtonProps): react_jsx_runtime70.JSX.Element;
57
+ }: SeekButtonProps): react_jsx_runtime162.JSX.Element;
58
58
  //#endregion
59
59
  export { SeekButton };
60
60
  //# sourceMappingURL=seek-button.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { TimeDisplayProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime69 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime172 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/time-display.d.ts
18
18
 
@@ -63,7 +63,7 @@ declare function TimeDisplay({
63
63
  isDisabled: isDisabledProp,
64
64
  mode,
65
65
  ref
66
- }: TimeDisplayProps): react_jsx_runtime69.JSX.Element;
66
+ }: TimeDisplayProps): react_jsx_runtime172.JSX.Element;
67
67
  //#endregion
68
68
  export { TimeDisplay };
69
69
  //# sourceMappingURL=time-display.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { TimeRangeProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime71 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime173 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/time-range.d.ts
18
18
 
@@ -40,7 +40,7 @@ declare function TimeRange({
40
40
  className,
41
41
  isDisabled: isDisabledProp,
42
42
  ref
43
- }: TimeRangeProps): react_jsx_runtime71.JSX.Element;
43
+ }: TimeRangeProps): react_jsx_runtime173.JSX.Element;
44
44
  //#endregion
45
45
  export { TimeRange };
46
46
  //# sourceMappingURL=time-range.d.ts.map
@@ -41,6 +41,10 @@ type PlayButtonProps = MediaButtonProps;
41
41
  * Props for the MuteButton component.
42
42
  */
43
43
  type MuteButtonProps = MediaButtonProps;
44
+ /**
45
+ * Props for the FullscreenButton component.
46
+ */
47
+ type FullscreenButtonProps = MediaButtonProps;
44
48
  /**
45
49
  * Props for the SeekButton component.
46
50
  */
@@ -106,6 +110,7 @@ type TimeDisplayProps = MediaControlBaseProps & AriaAttributesWithRef<HTMLDivEle
106
110
  * - 'duration': Shows total duration
107
111
  */
108
112
  mode?: TimeDisplayMode;
113
+ /** Text shown when time value is unavailable or loading (e.g., "--:--"). */
109
114
  placeholder?: string;
110
115
  };
111
116
  /**
@@ -118,5 +123,5 @@ type MediaControlsContextValue = {
118
123
  isDisabled: boolean;
119
124
  };
120
125
  //#endregion
121
- export { MediaControlsContextValue, MediaControlsProps, MuteButtonProps, PlayButtonProps, PlaybackRateButtonProps, SeekButtonProps, TimeDisplayMode, TimeDisplayProps, TimeRangeProps, VolumeSliderProps };
126
+ export { FullscreenButtonProps, MediaControlsContextValue, MediaControlsProps, MuteButtonProps, PlayButtonProps, PlaybackRateButtonProps, SeekButtonProps, TimeDisplayMode, TimeDisplayProps, TimeRangeProps, VolumeSliderProps };
122
127
  //# sourceMappingURL=types.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { VolumeSliderProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime72 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime170 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/volume-slider.d.ts
18
18
 
@@ -48,7 +48,7 @@ declare function VolumeSlider({
48
48
  showLabel,
49
49
  isDisabled: isDisabledProp,
50
50
  ref
51
- }: VolumeSliderProps): react_jsx_runtime72.JSX.Element;
51
+ }: VolumeSliderProps): react_jsx_runtime170.JSX.Element;
52
52
  //#endregion
53
53
  export { VolumeSlider };
54
54
  //# sourceMappingURL=volume-slider.d.ts.map