@accelint/design-toolkit 9.11.3 → 9.13.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 (263) hide show
  1. package/catalog-info.yaml +1 -1
  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/index.d.ts +2 -2
  6. package/dist/components/accordion/panel.d.ts +2 -2
  7. package/dist/components/accordion/trigger.d.ts +2 -2
  8. package/dist/components/action-bar/index.d.ts +2 -2
  9. package/dist/components/audio/index.d.ts +2 -2
  10. package/dist/components/avatar/context.d.ts +4 -4
  11. package/dist/components/avatar/index.d.ts +2 -2
  12. package/dist/components/badge/context.d.ts +4 -4
  13. package/dist/components/badge/index.d.ts +2 -2
  14. package/dist/components/breadcrumbs/index.d.ts +2 -2
  15. package/dist/components/breadcrumbs/item.d.ts +2 -2
  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/carousel/context.d.ts +4 -4
  22. package/dist/components/carousel/gallery.d.ts +2 -2
  23. package/dist/components/carousel/index.d.ts +2 -2
  24. package/dist/components/carousel/navigation.d.ts +3 -3
  25. package/dist/components/carousel/position.d.ts +2 -2
  26. package/dist/components/carousel/select.d.ts +2 -2
  27. package/dist/components/carousel/viewer.d.ts +2 -2
  28. package/dist/components/checkbox/context.d.ts +3 -3
  29. package/dist/components/checkbox/group.d.ts +2 -2
  30. package/dist/components/checkbox/index.d.ts +2 -2
  31. package/dist/components/chip/context.d.ts +4 -4
  32. package/dist/components/chip/deletable.d.ts +2 -2
  33. package/dist/components/chip/index.d.ts +2 -2
  34. package/dist/components/chip/list.d.ts +4 -4
  35. package/dist/components/chip/selectable.d.ts +2 -2
  36. package/dist/components/classification-badge/context.d.ts +4 -4
  37. package/dist/components/classification-badge/index.d.ts +2 -2
  38. package/dist/components/classification-banner/context.d.ts +4 -4
  39. package/dist/components/classification-banner/index.d.ts +2 -2
  40. package/dist/components/clock/index.d.ts +2 -2
  41. package/dist/components/color-picker/index.d.ts +2 -2
  42. package/dist/components/combobox-field/context.d.ts +4 -4
  43. package/dist/components/combobox-field/index.d.ts +2 -2
  44. package/dist/components/coordinate-field/context.d.ts +6 -6
  45. package/dist/components/coordinate-field/index.d.ts +2 -2
  46. package/dist/components/coordinate-field/segment.d.ts +2 -2
  47. package/dist/components/date-field/index.d.ts +2 -2
  48. package/dist/components/deferred-collection/index.d.ts +2 -2
  49. package/dist/components/details-list/context.d.ts +4 -4
  50. package/dist/components/details-list/index.d.ts +2 -2
  51. package/dist/components/details-list/label.d.ts +2 -2
  52. package/dist/components/details-list/value.d.ts +2 -2
  53. package/dist/components/dialog/content.d.ts +2 -2
  54. package/dist/components/dialog/context.d.ts +2 -2
  55. package/dist/components/dialog/footer.d.ts +2 -2
  56. package/dist/components/dialog/index.d.ts +2 -2
  57. package/dist/components/dialog/title.d.ts +2 -2
  58. package/dist/components/divider/context.d.ts +4 -4
  59. package/dist/components/divider/index.d.ts +2 -2
  60. package/dist/components/drawer/back.d.ts +2 -2
  61. package/dist/components/drawer/close.d.ts +2 -2
  62. package/dist/components/drawer/content.d.ts +2 -2
  63. package/dist/components/drawer/context.d.ts +2 -2
  64. package/dist/components/drawer/footer.d.ts +2 -2
  65. package/dist/components/drawer/header-title.d.ts +2 -2
  66. package/dist/components/drawer/header.d.ts +2 -2
  67. package/dist/components/drawer/index.d.ts +2 -2
  68. package/dist/components/drawer/layout-main.d.ts +2 -2
  69. package/dist/components/drawer/layout.d.ts +2 -2
  70. package/dist/components/drawer/menu-item.d.ts +2 -2
  71. package/dist/components/drawer/menu.d.ts +2 -2
  72. package/dist/components/drawer/panel.d.ts +2 -2
  73. package/dist/components/drawer/trigger.d.ts +2 -2
  74. package/dist/components/drawer/view.d.ts +2 -2
  75. package/dist/components/flashcard/index.d.ts +9 -9
  76. package/dist/components/flashcard/index.js +1 -1
  77. package/dist/components/flashcard/index.js.map +1 -1
  78. package/dist/components/flashcard/styles.module.css +4 -0
  79. package/dist/components/floating-card/context.d.ts +2 -2
  80. package/dist/components/floating-card/index.d.ts +2 -2
  81. package/dist/components/floating-card/provider.d.ts +2 -2
  82. package/dist/components/gantt/components/base-elements/point.d.ts +2 -2
  83. package/dist/components/gantt/components/base-elements/range.d.ts +2 -2
  84. package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +2 -2
  85. package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +2 -2
  86. package/dist/components/gantt/components/containers/internal/index.d.ts +2 -2
  87. package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +2 -2
  88. package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +2 -2
  89. package/dist/components/gantt/components/content-row/block.d.ts +2 -2
  90. package/dist/components/gantt/components/content-row/bracket.d.ts +3 -3
  91. package/dist/components/gantt/components/content-row/icon-marker.d.ts +2 -2
  92. package/dist/components/gantt/components/content-row/index.d.ts +2 -2
  93. package/dist/components/gantt/components/content-row/marker.d.ts +2 -2
  94. package/dist/components/gantt/components/content-row/spacer.d.ts +2 -2
  95. package/dist/components/gantt/components/current-time/index.d.ts +2 -2
  96. package/dist/components/gantt/components/header/index.d.ts +3 -3
  97. package/dist/components/gantt/components/panel-row/index.d.ts +2 -2
  98. package/dist/components/gantt/components/rows-virtualizer/index.d.ts +3 -3
  99. package/dist/components/gantt/components/timeline/index.d.ts +2 -2
  100. package/dist/components/gantt/components/timeline-chunk/index.d.ts +3 -3
  101. package/dist/components/gantt/context/index.d.ts +4 -4
  102. package/dist/components/gantt/context/store/index.d.ts +4 -4
  103. package/dist/components/gantt/context/temporal-data/index.d.ts +4 -4
  104. package/dist/components/hero/context.d.ts +2 -2
  105. package/dist/components/hero/index.d.ts +2 -2
  106. package/dist/components/hero/subtitle.d.ts +3 -3
  107. package/dist/components/hero/title.d.ts +2 -2
  108. package/dist/components/hotkey/context.d.ts +4 -4
  109. package/dist/components/hotkey/index.d.ts +2 -2
  110. package/dist/components/hotkey/set.d.ts +2 -2
  111. package/dist/components/icon/context.d.ts +4 -4
  112. package/dist/components/icon/index.d.ts +2 -2
  113. package/dist/components/input/context.d.ts +2 -2
  114. package/dist/components/input/index.d.ts +2 -2
  115. package/dist/components/kanban/card-body.d.ts +2 -2
  116. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  117. package/dist/components/kanban/card-header-title.d.ts +2 -2
  118. package/dist/components/kanban/card-header.d.ts +2 -2
  119. package/dist/components/kanban/card.d.ts +2 -2
  120. package/dist/components/kanban/column-actions.d.ts +2 -2
  121. package/dist/components/kanban/column-container.d.ts +2 -2
  122. package/dist/components/kanban/column-content.d.ts +2 -2
  123. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  124. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  125. package/dist/components/kanban/column-header-title.d.ts +2 -2
  126. package/dist/components/kanban/column-header.d.ts +2 -2
  127. package/dist/components/kanban/column.d.ts +2 -2
  128. package/dist/components/kanban/context.d.ts +2 -2
  129. package/dist/components/kanban/header-actions.d.ts +2 -2
  130. package/dist/components/kanban/header-search.d.ts +2 -2
  131. package/dist/components/kanban/header-title.d.ts +2 -2
  132. package/dist/components/kanban/header.d.ts +2 -2
  133. package/dist/components/kanban/kanban.d.ts +2 -2
  134. package/dist/components/label/context.d.ts +4 -4
  135. package/dist/components/label/index.d.ts +2 -2
  136. package/dist/components/lines/index.d.ts +2 -2
  137. package/dist/components/link/context.d.ts +2 -2
  138. package/dist/components/link/index.d.ts +2 -2
  139. package/dist/components/list/context.d.ts +2 -2
  140. package/dist/components/list/index.d.ts +2 -2
  141. package/dist/components/list/item-content.d.ts +2 -2
  142. package/dist/components/list/item-description.d.ts +2 -2
  143. package/dist/components/list/item-title.d.ts +2 -2
  144. package/dist/components/list/item.d.ts +2 -2
  145. package/dist/components/media-controls/context.d.ts +4 -4
  146. package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
  147. package/dist/components/media-controls/index.d.ts +2 -2
  148. package/dist/components/media-controls/mute-button.d.ts +2 -2
  149. package/dist/components/media-controls/play-button.d.ts +2 -2
  150. package/dist/components/media-controls/playback-rate.d.ts +2 -2
  151. package/dist/components/media-controls/seek-button.d.ts +2 -2
  152. package/dist/components/media-controls/time-display.d.ts +2 -2
  153. package/dist/components/media-controls/time-range.d.ts +2 -2
  154. package/dist/components/media-controls/volume-slider.d.ts +2 -2
  155. package/dist/components/menu/context.d.ts +2 -2
  156. package/dist/components/menu/index.d.ts +2 -2
  157. package/dist/components/menu/item-description.d.ts +2 -2
  158. package/dist/components/menu/item-label.d.ts +2 -2
  159. package/dist/components/menu/item.d.ts +2 -2
  160. package/dist/components/menu/section.d.ts +2 -2
  161. package/dist/components/menu/separator.d.ts +2 -2
  162. package/dist/components/menu/submenu.d.ts +2 -2
  163. package/dist/components/notice/index.d.ts +3 -2
  164. package/dist/components/notice/index.js +3 -3
  165. package/dist/components/notice/index.js.map +1 -1
  166. package/dist/components/notice/list.d.ts +2 -2
  167. package/dist/components/notice/list.js +14 -5
  168. package/dist/components/notice/list.js.map +1 -1
  169. package/dist/components/notice/notice-icon.d.ts +2 -2
  170. package/dist/components/notice/types.d.ts +6 -5
  171. package/dist/components/notice/utils.d.ts +11 -1
  172. package/dist/components/notice/utils.js +16 -1
  173. package/dist/components/notice/utils.js.map +1 -1
  174. package/dist/components/options/context.d.ts +2 -2
  175. package/dist/components/options/index.d.ts +2 -2
  176. package/dist/components/options/item-content.d.ts +2 -2
  177. package/dist/components/options/item-description.d.ts +2 -2
  178. package/dist/components/options/item-label.d.ts +2 -2
  179. package/dist/components/options/item.d.ts +2 -2
  180. package/dist/components/options/section.d.ts +2 -2
  181. package/dist/components/pagination/context.d.ts +2 -2
  182. package/dist/components/pagination/index.d.ts +2 -2
  183. package/dist/components/pagination/next.d.ts +2 -2
  184. package/dist/components/pagination/pages.d.ts +2 -2
  185. package/dist/components/pagination/prev.d.ts +2 -2
  186. package/dist/components/popover/content.d.ts +2 -2
  187. package/dist/components/popover/footer.d.ts +2 -2
  188. package/dist/components/popover/index.d.ts +2 -2
  189. package/dist/components/popover/title.d.ts +2 -2
  190. package/dist/components/query-builder/action-element.d.ts +2 -2
  191. package/dist/components/query-builder/actions.d.ts +4 -4
  192. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  193. package/dist/components/query-builder/index.d.ts +2 -2
  194. package/dist/components/query-builder/rule-group.d.ts +4 -4
  195. package/dist/components/query-builder/rule.d.ts +2 -2
  196. package/dist/components/query-builder/value-editor.d.ts +2 -2
  197. package/dist/components/query-builder/value-selector.d.ts +2 -2
  198. package/dist/components/radio/context.d.ts +3 -3
  199. package/dist/components/radio/group.d.ts +2 -2
  200. package/dist/components/radio/index.d.ts +2 -2
  201. package/dist/components/search-field/context.d.ts +4 -4
  202. package/dist/components/search-field/index.d.ts +2 -2
  203. package/dist/components/select-field/context.d.ts +4 -4
  204. package/dist/components/select-field/index.d.ts +2 -2
  205. package/dist/components/select-field/styles.module.css +5 -1
  206. package/dist/components/sidenav/avatar.d.ts +2 -2
  207. package/dist/components/sidenav/content.d.ts +2 -2
  208. package/dist/components/sidenav/context.d.ts +2 -2
  209. package/dist/components/sidenav/footer.d.ts +2 -2
  210. package/dist/components/sidenav/header.d.ts +2 -2
  211. package/dist/components/sidenav/index.d.ts +2 -2
  212. package/dist/components/sidenav/item.d.ts +2 -2
  213. package/dist/components/sidenav/link.d.ts +2 -2
  214. package/dist/components/sidenav/menu-item.d.ts +2 -2
  215. package/dist/components/sidenav/menu.d.ts +2 -2
  216. package/dist/components/sidenav/trigger.d.ts +2 -2
  217. package/dist/components/skeleton/index.d.ts +2 -2
  218. package/dist/components/slider/index.d.ts +2 -2
  219. package/dist/components/status-indicator/index.d.ts +10 -4
  220. package/dist/components/status-indicator/index.js +18 -5
  221. package/dist/components/status-indicator/index.js.map +1 -1
  222. package/dist/components/status-indicator/styles.module.css +8 -0
  223. package/dist/components/status-indicator/types.d.ts +2 -1
  224. package/dist/components/switch/context.d.ts +4 -4
  225. package/dist/components/switch/index.d.ts +2 -2
  226. package/dist/components/table/body.d.ts +2 -2
  227. package/dist/components/table/cell.d.ts +2 -2
  228. package/dist/components/table/context.d.ts +2 -2
  229. package/dist/components/table/header-cell.d.ts +2 -2
  230. package/dist/components/table/header.d.ts +2 -2
  231. package/dist/components/table/index.d.ts +2 -2
  232. package/dist/components/table/row.d.ts +2 -2
  233. package/dist/components/tabs/context.d.ts +6 -6
  234. package/dist/components/tabs/index.d.ts +2 -2
  235. package/dist/components/tabs/list.d.ts +2 -2
  236. package/dist/components/tabs/panel.d.ts +2 -2
  237. package/dist/components/tabs/tab.d.ts +2 -2
  238. package/dist/components/text-area-field/context.d.ts +4 -4
  239. package/dist/components/text-area-field/index.d.ts +2 -2
  240. package/dist/components/text-field/context.d.ts +4 -4
  241. package/dist/components/text-field/index.d.ts +2 -2
  242. package/dist/components/time-field/index.d.ts +2 -2
  243. package/dist/components/time-field/styles.module.css +4 -0
  244. package/dist/components/tooltip/context.d.ts +2 -2
  245. package/dist/components/tooltip/index.d.ts +2 -2
  246. package/dist/components/tooltip/trigger.d.ts +2 -2
  247. package/dist/components/tree/context.d.ts +3 -3
  248. package/dist/components/tree/index.d.ts +2 -2
  249. package/dist/components/tree/item-actions.d.ts +2 -2
  250. package/dist/components/tree/item-content.d.ts +2 -2
  251. package/dist/components/tree/item-description.d.ts +2 -2
  252. package/dist/components/tree/item-label.d.ts +2 -2
  253. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  254. package/dist/components/tree/item.d.ts +2 -2
  255. package/dist/components/tree/lines.d.ts +2 -2
  256. package/dist/components/view-stack/context.d.ts +2 -2
  257. package/dist/components/view-stack/index.d.ts +2 -2
  258. package/dist/components/view-stack/trigger.d.ts +2 -2
  259. package/dist/components/view-stack/view.d.ts +2 -2
  260. package/dist/index.d.ts +2 -2
  261. package/dist/index.js +2 -2
  262. package/dist/providers/theme-provider.d.ts +2 -2
  263. package/package.json +9 -9
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MenuItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime196 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime152 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/menu/item.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function MenuItem({
41
41
  classNames,
42
42
  color,
43
43
  ...rest
44
- }: MenuItemProps): react_jsx_runtime196.JSX.Element;
44
+ }: MenuItemProps): react_jsx_runtime152.JSX.Element;
45
45
  //#endregion
46
46
  export { MenuItem };
47
47
  //# sourceMappingURL=item.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MenuSectionProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime237 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime154 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/menu/section.d.ts
18
18
 
@@ -42,7 +42,7 @@ declare function MenuSection<T extends object>({
42
42
  items,
43
43
  title,
44
44
  ...rest
45
- }: MenuSectionProps<T>): react_jsx_runtime237.JSX.Element;
45
+ }: MenuSectionProps<T>): react_jsx_runtime154.JSX.Element;
46
46
  //#endregion
47
47
  export { MenuSection };
48
48
  //# sourceMappingURL=section.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime197 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime124 from "react/jsx-runtime";
15
15
  import { SeparatorProps } from "react-aria-components/Separator";
16
16
 
17
17
  //#region src/components/menu/separator.d.ts
@@ -32,7 +32,7 @@ import { SeparatorProps } from "react-aria-components/Separator";
32
32
  declare function MenuSeparator({
33
33
  className,
34
34
  ...rest
35
- }: SeparatorProps): react_jsx_runtime197.JSX.Element;
35
+ }: SeparatorProps): react_jsx_runtime124.JSX.Element;
36
36
  //#endregion
37
37
  export { MenuSeparator };
38
38
  //# sourceMappingURL=separator.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react49 from "react";
14
+ import * as react40 from "react";
15
15
  import * as react_aria_components_Menu0 from "react-aria-components/Menu";
16
16
 
17
17
  //#region src/components/menu/submenu.d.ts
@@ -31,7 +31,7 @@ import * as react_aria_components_Menu0 from "react-aria-components/Menu";
31
31
  * </MenuSubmenu>
32
32
  * ```
33
33
  */
34
- declare const MenuSubmenu: (props: react_aria_components_Menu0.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react49.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
34
+ declare const MenuSubmenu: (props: react_aria_components_Menu0.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react40.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
35
35
  //#endregion
36
36
  export { MenuSubmenu };
37
37
  //# sourceMappingURL=submenu.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { NoticeProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime236 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime159 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/notice/index.d.ts
18
18
 
@@ -54,6 +54,7 @@ declare function Notice({
54
54
  message,
55
55
  primary,
56
56
  secondary,
57
+ metadata,
57
58
  hideIcon,
58
59
  showClose,
59
60
  shouldCloseOnAction,
@@ -61,7 +62,7 @@ declare function Notice({
61
62
  onPrimaryAction,
62
63
  onSecondaryAction,
63
64
  onClose
64
- }: NoticeProps): react_jsx_runtime236.JSX.Element;
65
+ }: NoticeProps): react_jsx_runtime159.JSX.Element;
65
66
  //#endregion
66
67
  export { Notice };
67
68
  //# sourceMappingURL=index.d.ts.map
@@ -62,7 +62,7 @@ const ButtonColorMap = {
62
62
  * @param props.onClose - Callback when the notice is closed.
63
63
  * @returns The rendered Notice component.
64
64
  */
65
- function Notice({ id, classNames, color = "info", message, primary, secondary, hideIcon, showClose, shouldCloseOnAction, size = "medium", onPrimaryAction, onSecondaryAction, onClose }) {
65
+ function Notice({ id, classNames, color = "info", message, primary, secondary, metadata, hideIcon, showClose, shouldCloseOnAction, size = "medium", onPrimaryAction, onSecondaryAction, onClose }) {
66
66
  return /* @__PURE__ */ jsx(UNSTABLE_Toast, {
67
67
  className: clsx("group/notice", styles.notice, classNames?.notice),
68
68
  toast: {
@@ -93,7 +93,7 @@ function Notice({ id, classNames, color = "info", message, primary, secondary, h
93
93
  ...primary,
94
94
  size,
95
95
  onPress: () => {
96
- onPrimaryAction?.();
96
+ onPrimaryAction?.(metadata);
97
97
  if (shouldCloseOnAction) onClose?.();
98
98
  }
99
99
  }), secondary && /* @__PURE__ */ jsx(Button, {
@@ -102,7 +102,7 @@ function Notice({ id, classNames, color = "info", message, primary, secondary, h
102
102
  ...secondary,
103
103
  size,
104
104
  onPress: () => {
105
- onSecondaryAction?.();
105
+ onSecondaryAction?.(metadata);
106
106
  if (shouldCloseOnAction) onClose?.();
107
107
  }
108
108
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ButtonColorMap: Record<NoticeColor, ButtonProps['color']>","Toast","ToastContent"],"sources":["../../../src/components/notice/index.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\n'use client';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport Cancel from '@accelint/icons/cancel';\nimport {\n Text,\n UNSTABLE_Toast as Toast,\n UNSTABLE_ToastContent as ToastContent,\n} from 'react-aria-components/Toast';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { NoticeIcon } from './notice-icon';\nimport styles from './styles.module.css';\nimport type { ButtonProps } from '../button/types';\nimport type { NoticeColor, NoticeProps } from './types';\n\nconst ButtonColorMap: Record<NoticeColor, ButtonProps['color']> = {\n normal: 'mono-bold',\n advisory: 'mono-bold',\n info: 'mono-bold',\n serious: 'serious',\n critical: 'critical',\n};\n\n/**\n * Notice - Notification component for temporary messages and alerts\n *\n * Displays messages with optional action buttons and close functionality.\n * Icons are automatically displayed based on the color variant.\n *\n * @example\n * ```tsx\n * <Notice\n * id=\"notice-1\"\n * message=\"Operation completed\"\n * color=\"normal\"\n * />\n * ```\n *\n * @param props - {@link NoticeProps}\n * @param props.id - Unique identifier for the notice.\n * @param props.classNames - CSS class names for notice elements.\n * @param props.color - Color variant indicating severity.\n * @param props.message - Message text to display.\n * @param props.primary - Primary action button configuration.\n * @param props.secondary - Secondary action button configuration.\n * @param props.hideIcon - Whether to hide the status icon.\n * @param props.showClose - Whether to show the close button.\n * @param props.shouldCloseOnAction - Whether to close the notice when an action button is pressed.\n * @param props.size - Size variant for the notice.\n * @param props.onPrimaryAction - Callback when primary action button is pressed.\n * @param props.onSecondaryAction - Callback when secondary action button is pressed.\n * @param props.onClose - Callback when the notice is closed.\n * @returns The rendered Notice component.\n */\nexport function Notice({\n id,\n classNames,\n color = 'info',\n message,\n primary,\n secondary,\n hideIcon,\n showClose,\n shouldCloseOnAction,\n size = 'medium',\n onPrimaryAction,\n onSecondaryAction,\n onClose,\n}: NoticeProps) {\n return (\n <Toast\n className={clsx('group/notice', styles.notice, classNames?.notice)}\n toast={{ key: id, content: message, onClose }}\n data-color={color}\n data-size={size}\n style={{ viewTransitionName: id }}\n >\n <ToastContent className={clsx(styles.content, classNames?.content)}>\n {!hideIcon && size === 'medium' && (\n <NoticeIcon color={color} size={size} />\n )}\n <Text\n slot='description'\n className={clsx(styles.message, classNames?.message)}\n >\n {message}\n </Text>\n {(primary || secondary) && (\n <div className={clsx(styles.actions, classNames?.actions)}>\n {primary && (\n <Button\n color={ButtonColorMap[color]}\n variant='filled'\n {...primary}\n size={size}\n onPress={() => {\n onPrimaryAction?.();\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n {secondary && (\n <Button\n color={ButtonColorMap[color]}\n variant='outline'\n {...secondary}\n size={size}\n onPress={() => {\n onSecondaryAction?.();\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n </div>\n )}\n {showClose && (\n <Button\n color={ButtonColorMap[color]}\n variant='icon'\n onPress={onClose}\n >\n <Icon>\n <Cancel />\n </Icon>\n </Button>\n )}\n </ToastContent>\n </Toast>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,MAAMA,iBAA4D;CAChE,QAAQ;CACR,UAAU;CACV,MAAM;CACN,SAAS;CACT,UAAU;CACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCD,SAAgB,OAAO,EACrB,IACA,YACA,QAAQ,QACR,SACA,SACA,WACA,UACA,WACA,qBACA,OAAO,UACP,iBACA,mBACA,WACc;AACd,QACE,oBAACC;EACC,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,OAAO;GAAE,KAAK;GAAI,SAAS;GAAS;GAAS;EAC7C,cAAY;EACZ,aAAW;EACX,OAAO,EAAE,oBAAoB,IAAI;YAEjC,qBAACC;GAAa,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;;IAC/D,CAAC,YAAY,SAAS,YACrB,oBAAC;KAAkB;KAAa;MAAQ;IAE1C,oBAAC;KACC,MAAK;KACL,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;eAEnD;MACI;KACL,WAAW,cACX,qBAAC;KAAI,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;gBACtD,WACC,oBAAC;MACC,OAAO,eAAe;MACtB,SAAQ;MACR,GAAI;MACE;MACN,eAAe;AACb,0BAAmB;AAEnB,WAAI,oBACF,YAAW;;OAGf,EAEH,aACC,oBAAC;MACC,OAAO,eAAe;MACtB,SAAQ;MACR,GAAI;MACE;MACN,eAAe;AACb,4BAAqB;AAErB,WAAI,oBACF,YAAW;;OAGf;MAEA;IAEP,aACC,oBAAC;KACC,OAAO,eAAe;KACtB,SAAQ;KACR,SAAS;eAET,oBAAC,kBACC,oBAAC,WAAS,GACL;MACA;;IAEE;GACT"}
1
+ {"version":3,"file":"index.js","names":["ButtonColorMap: Record<NoticeColor, ButtonProps['color']>","Toast","ToastContent"],"sources":["../../../src/components/notice/index.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\n'use client';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport Cancel from '@accelint/icons/cancel';\nimport {\n Text,\n UNSTABLE_Toast as Toast,\n UNSTABLE_ToastContent as ToastContent,\n} from 'react-aria-components/Toast';\nimport { Button } from '../button';\nimport { Icon } from '../icon';\nimport { NoticeIcon } from './notice-icon';\nimport styles from './styles.module.css';\nimport type { ButtonProps } from '../button/types';\nimport type { NoticeColor, NoticeProps } from './types';\n\nconst ButtonColorMap: Record<NoticeColor, ButtonProps['color']> = {\n normal: 'mono-bold',\n advisory: 'mono-bold',\n info: 'mono-bold',\n serious: 'serious',\n critical: 'critical',\n};\n\n/**\n * Notice - Notification component for temporary messages and alerts\n *\n * Displays messages with optional action buttons and close functionality.\n * Icons are automatically displayed based on the color variant.\n *\n * @example\n * ```tsx\n * <Notice\n * id=\"notice-1\"\n * message=\"Operation completed\"\n * color=\"normal\"\n * />\n * ```\n *\n * @param props - {@link NoticeProps}\n * @param props.id - Unique identifier for the notice.\n * @param props.classNames - CSS class names for notice elements.\n * @param props.color - Color variant indicating severity.\n * @param props.message - Message text to display.\n * @param props.primary - Primary action button configuration.\n * @param props.secondary - Secondary action button configuration.\n * @param props.hideIcon - Whether to hide the status icon.\n * @param props.showClose - Whether to show the close button.\n * @param props.shouldCloseOnAction - Whether to close the notice when an action button is pressed.\n * @param props.size - Size variant for the notice.\n * @param props.onPrimaryAction - Callback when primary action button is pressed.\n * @param props.onSecondaryAction - Callback when secondary action button is pressed.\n * @param props.onClose - Callback when the notice is closed.\n * @returns The rendered Notice component.\n */\nexport function Notice({\n id,\n classNames,\n color = 'info',\n message,\n primary,\n secondary,\n metadata,\n hideIcon,\n showClose,\n shouldCloseOnAction,\n size = 'medium',\n onPrimaryAction,\n onSecondaryAction,\n onClose,\n}: NoticeProps) {\n return (\n <Toast\n className={clsx('group/notice', styles.notice, classNames?.notice)}\n toast={{ key: id, content: message, onClose }}\n data-color={color}\n data-size={size}\n style={{ viewTransitionName: id }}\n >\n <ToastContent className={clsx(styles.content, classNames?.content)}>\n {!hideIcon && size === 'medium' && (\n <NoticeIcon color={color} size={size} />\n )}\n <Text\n slot='description'\n className={clsx(styles.message, classNames?.message)}\n >\n {message}\n </Text>\n {(primary || secondary) && (\n <div className={clsx(styles.actions, classNames?.actions)}>\n {primary && (\n <Button\n color={ButtonColorMap[color]}\n variant='filled'\n {...primary}\n size={size}\n onPress={() => {\n onPrimaryAction?.(metadata);\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n {secondary && (\n <Button\n color={ButtonColorMap[color]}\n variant='outline'\n {...secondary}\n size={size}\n onPress={() => {\n onSecondaryAction?.(metadata);\n\n if (shouldCloseOnAction) {\n onClose?.();\n }\n }}\n />\n )}\n </div>\n )}\n {showClose && (\n <Button\n color={ButtonColorMap[color]}\n variant='icon'\n onPress={onClose}\n >\n <Icon>\n <Cancel />\n </Icon>\n </Button>\n )}\n </ToastContent>\n </Toast>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,MAAMA,iBAA4D;CAChE,QAAQ;CACR,UAAU;CACV,MAAM;CACN,SAAS;CACT,UAAU;CACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCD,SAAgB,OAAO,EACrB,IACA,YACA,QAAQ,QACR,SACA,SACA,WACA,UACA,UACA,WACA,qBACA,OAAO,UACP,iBACA,mBACA,WACc;AACd,QACE,oBAACC;EACC,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,OAAO;GAAE,KAAK;GAAI,SAAS;GAAS;GAAS;EAC7C,cAAY;EACZ,aAAW;EACX,OAAO,EAAE,oBAAoB,IAAI;YAEjC,qBAACC;GAAa,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;;IAC/D,CAAC,YAAY,SAAS,YACrB,oBAAC;KAAkB;KAAa;MAAQ;IAE1C,oBAAC;KACC,MAAK;KACL,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;eAEnD;MACI;KACL,WAAW,cACX,qBAAC;KAAI,WAAW,KAAK,OAAO,SAAS,YAAY,QAAQ;gBACtD,WACC,oBAAC;MACC,OAAO,eAAe;MACtB,SAAQ;MACR,GAAI;MACE;MACN,eAAe;AACb,yBAAkB,SAAS;AAE3B,WAAI,oBACF,YAAW;;OAGf,EAEH,aACC,oBAAC;MACC,OAAO,eAAe;MACtB,SAAQ;MACR,GAAI;MACE;MACN,eAAe;AACb,2BAAoB,SAAS;AAE7B,WAAI,oBACF,YAAW;;OAGf;MAEA;IAEP,aACC,oBAAC;KACC,OAAO,eAAe;KACtB,SAAQ;KACR,SAAS;eAET,oBAAC,kBACC,oBAAC,WAAS,GACL;MACA;;IAEE;GACT"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { NoticeListProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime201 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime161 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/notice/list.d.ts
18
18
 
@@ -55,7 +55,7 @@ declare function NoticeList({
55
55
  placement,
56
56
  size,
57
57
  ...rest
58
- }: NoticeListProps): react_jsx_runtime201.JSX.Element;
58
+ }: NoticeListProps): react_jsx_runtime161.JSX.Element;
59
59
  //#endregion
60
60
  export { NoticeList };
61
61
  //# sourceMappingURL=list.d.ts.map
@@ -16,7 +16,7 @@
16
16
  import { Button } from "../button/index.js";
17
17
  import { NoticeEventTypes } from "./events.js";
18
18
  import { Notice } from "./index.js";
19
- import { matchesMetadata } from "./utils.js";
19
+ import { matchesDequeueFilter } from "./utils.js";
20
20
  import "client-only";
21
21
  import { createElement, useEffect, useMemo, useRef, useState } from "react";
22
22
  import { clsx } from "@accelint/design-foundation/lib/utils";
@@ -90,7 +90,7 @@ function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll
90
90
  });
91
91
  useOn$1(NoticeEventTypes.dequeue, (data) => {
92
92
  const queuedNotices = queue.queue;
93
- const dequeue = queuedNotices.filter((toast) => matchesMetadata(data.payload, toast.content));
93
+ const dequeue = queuedNotices.filter((toast) => matchesDequeueFilter(data.payload, toast.content));
94
94
  if (dequeue.length && dequeue.length === queuedNotices.length) queue.clear();
95
95
  else for (const toast of dequeue) queue.close(toast.key);
96
96
  });
@@ -110,12 +110,21 @@ function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll
110
110
  showClose: !(toast.timeout && toast.content.primary && toast.content.secondary),
111
111
  classNames: classNames?.notice,
112
112
  size,
113
- onPrimaryAction: () => emitActionPrimary({ id: toast.content.id }),
114
- onSecondaryAction: () => emitActionSecondary({ id: toast.content.id }),
113
+ onPrimaryAction: () => emitActionPrimary({
114
+ id: toast.content.id,
115
+ metadata: toast.content.metadata
116
+ }),
117
+ onSecondaryAction: () => emitActionSecondary({
118
+ id: toast.content.id,
119
+ metadata: toast.content.metadata
120
+ }),
115
121
  onClose: () => {
116
122
  toast.onClose?.();
117
123
  queue.close(toast.key);
118
- emitClose({ id: toast.content.id });
124
+ emitClose({
125
+ id: toast.content.id,
126
+ metadata: toast.content.metadata
127
+ });
119
128
  }
120
129
  })
121
130
  })] });
@@ -1 +1 @@
1
- {"version":3,"file":"list.js","names":["ToastQueue","useEmit","ToastList","ToastRegion","ToastStateContext"],"sources":["../../../src/components/notice/list.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\n'use client';\n\nimport { useBus } from '@accelint/bus/react';\nimport { uuid } from '@accelint/core';\nimport { useToastRegion } from 'react-aria/useToast';\nimport { useToastQueue } from 'react-stately/useToastState';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport { flushSync } from 'react-dom';\nimport {\n type QueuedToast,\n UNSTABLE_ToastList as ToastList,\n UNSTABLE_ToastQueue as ToastQueue,\n UNSTABLE_ToastRegion as ToastRegion,\n UNSTABLE_ToastStateContext as ToastStateContext,\n} from 'react-aria-components/Toast';\nimport { Button } from '../button';\nimport { Notice } from './';\nimport { NoticeEventTypes } from './events';\nimport styles from './styles.module.css';\nimport { matchesMetadata } from './utils';\nimport type {\n NoticeActionEvent,\n NoticeContent,\n NoticeDequeueEvent,\n NoticeListProps,\n NoticeQueueEvent,\n} from './types';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\n\n/**\n * NoticeList - Queue manager for displaying multiple notices\n *\n * Manages a FIFO queue of notices with automatic timeout and dismissal.\n * New notices push out older ones when the limit is reached.\n * Uses event-driven communication via the bus system.\n *\n * @example\n * ```tsx\n * <NoticeList\n * aria-label=\"notifications\"\n * placement=\"top right\"\n * limit={3}\n * />\n * ```\n *\n * @param props - {@link NoticeListProps}\n * @param props.id - Unique identifier for targeting notices to this list.\n * @param props.classNames - CSS class names for list elements.\n * @param props.defaultColor - Default color for notices without explicit color.\n * @param props.defaultTimeout - Default timeout for notices without explicit timeout.\n * @param props.hideClearAll - Whether to hide the \"Clear All\" button.\n * @param props.limit - Maximum number of visible notices.\n * @param props.global - Whether to use global ToastRegion for portal rendering.\n * @param props.placement - Position of the notice list on screen.\n * @param props.size - Size variant for notices in the list.\n * @returns The rendered NoticeList component.\n */\nexport function NoticeList({\n id,\n classNames,\n defaultColor,\n defaultTimeout,\n hideClearAll,\n limit = 3,\n global,\n placement,\n size = 'medium',\n ...rest\n}: NoticeListProps) {\n const queue = useMemo(\n () =>\n new ToastQueue<NoticeContent>({\n maxVisibleToasts: limit,\n wrapUpdate(fn) {\n if ('startViewTransition' in document) {\n document.startViewTransition(() => {\n flushSync(fn);\n });\n } else {\n fn();\n }\n },\n }),\n [limit],\n );\n const state = useToastQueue(queue);\n\n const [hasNotices, setHasNotices] = useState(false);\n const ref = useRef(null);\n const { regionProps } = useToastRegion(rest, queue, ref);\n\n const { useEmit, useOn } = useBus<\n NoticeQueueEvent | NoticeDequeueEvent | NoticeActionEvent\n >();\n const emitActionPrimary = useEmit(NoticeEventTypes.actionPrimary);\n const emitActionSecondary = useEmit(NoticeEventTypes.actionSecondary);\n const emitClose = useEmit(NoticeEventTypes.close);\n\n useOn(NoticeEventTypes.queue, (data) => {\n if (id ? data.payload.target === id : !data.payload.target) {\n const timeout = data.payload.timeout ?? defaultTimeout;\n queue.add(\n {\n ...data.payload,\n id: data.payload.id || uuid(),\n color: data.payload.color || defaultColor,\n },\n {\n timeout,\n },\n );\n if (timeout) {\n queue.resumeAll();\n }\n }\n });\n\n useOn(NoticeEventTypes.dequeue, (data) => {\n // @ts-expect-error : queue.queue exists, but is not currently documented\n const queuedNotices = queue.queue;\n\n const dequeue = queuedNotices.filter((toast: QueuedToast<NoticeContent>) =>\n matchesMetadata(data.payload, toast.content),\n );\n\n if (dequeue.length && dequeue.length === queuedNotices.length) {\n queue.clear();\n } else {\n for (const toast of dequeue) {\n queue.close(toast.key);\n }\n }\n });\n\n useEffect(\n () =>\n queue.subscribe(() => {\n setHasNotices(queue.visibleToasts.length > 0);\n }),\n [queue],\n );\n\n const children = (\n <>\n {!hideClearAll && hasNotices && (\n <Button\n className={composeRenderProps(\n classNames?.button,\n (className) => className ?? '',\n )}\n variant='outline'\n onPress={() => queue.clear()}\n >\n Clear All\n </Button>\n )}\n <ToastList\n className={composeRenderProps(classNames?.list, (className) =>\n clsx(styles.list, className),\n )}\n >\n {({ toast }: { toast: QueuedToast<NoticeContent> }) => (\n <Notice\n {...toast.content}\n key={toast.key}\n showClose={\n !(\n toast.timeout &&\n toast.content.primary &&\n toast.content.secondary\n )\n }\n classNames={classNames?.notice}\n size={size}\n onPrimaryAction={() => emitActionPrimary({ id: toast.content.id })}\n onSecondaryAction={() =>\n emitActionSecondary({ id: toast.content.id })\n }\n onClose={() => {\n toast.onClose?.();\n queue.close(toast.key);\n emitClose({ id: toast.content.id });\n }}\n />\n )}\n </ToastList>\n </>\n );\n\n return global ? (\n <ToastRegion\n className={clsx('group/region', styles.region, classNames?.region)}\n data-placement={placement}\n queue={queue}\n >\n {children}\n </ToastRegion>\n ) : (\n <div\n {...regionProps}\n className={clsx('group/region', styles.region, classNames?.region)}\n data-placement={placement}\n ref={ref}\n >\n <ToastStateContext.Provider value={state}>\n {children}\n </ToastStateContext.Provider>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,SAAgB,WAAW,EACzB,IACA,YACA,cACA,gBACA,cACA,QAAQ,GACR,QACA,WACA,OAAO,UACP,GAAG,QACe;CAClB,MAAM,QAAQ,cAEV,IAAIA,oBAA0B;EAC5B,kBAAkB;EAClB,WAAW,IAAI;AACb,OAAI,yBAAyB,SAC3B,UAAS,0BAA0B;AACjC,cAAU,GAAG;KACb;OAEF,KAAI;;EAGT,CAAC,EACJ,CAAC,MAAM,CACR;CACD,MAAM,QAAQ,cAAc,MAAM;CAElC,MAAM,CAAC,YAAY,iBAAiB,SAAS,MAAM;CACnD,MAAM,MAAM,OAAO,KAAK;CACxB,MAAM,EAAE,gBAAgB,eAAe,MAAM,OAAO,IAAI;CAExD,MAAM,EAAE,oBAAS,mBAAU,QAExB;CACH,MAAM,oBAAoBC,UAAQ,iBAAiB,cAAc;CACjE,MAAM,sBAAsBA,UAAQ,iBAAiB,gBAAgB;CACrE,MAAM,YAAYA,UAAQ,iBAAiB,MAAM;AAEjD,SAAM,iBAAiB,QAAQ,SAAS;AACtC,MAAI,KAAK,KAAK,QAAQ,WAAW,KAAK,CAAC,KAAK,QAAQ,QAAQ;GAC1D,MAAM,UAAU,KAAK,QAAQ,WAAW;AACxC,SAAM,IACJ;IACE,GAAG,KAAK;IACR,IAAI,KAAK,QAAQ,MAAM,MAAM;IAC7B,OAAO,KAAK,QAAQ,SAAS;IAC9B,EACD,EACE,SACD,CACF;AACD,OAAI,QACF,OAAM,WAAW;;GAGrB;AAEF,SAAM,iBAAiB,UAAU,SAAS;EAExC,MAAM,gBAAgB,MAAM;EAE5B,MAAM,UAAU,cAAc,QAAQ,UACpC,gBAAgB,KAAK,SAAS,MAAM,QAAQ,CAC7C;AAED,MAAI,QAAQ,UAAU,QAAQ,WAAW,cAAc,OACrD,OAAM,OAAO;MAEb,MAAK,MAAM,SAAS,QAClB,OAAM,MAAM,MAAM,IAAI;GAG1B;AAEF,iBAEI,MAAM,gBAAgB;AACpB,gBAAc,MAAM,cAAc,SAAS,EAAE;GAC7C,EACJ,CAAC,MAAM,CACR;CAED,MAAM,WACJ,8CACG,CAAC,gBAAgB,cAChB,oBAAC;EACC,WAAW,mBACT,YAAY,SACX,cAAc,aAAa,GAC7B;EACD,SAAQ;EACR,eAAe,MAAM,OAAO;YAC7B;GAEQ,EAEX,oBAACC;EACC,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,OAAO,MAAM,UAAU,CAC7B;aAEC,EAAE,YACF,8BAAC;GACC,GAAI,MAAM;GACV,KAAK,MAAM;GACX,WACE,EACE,MAAM,WACN,MAAM,QAAQ,WACd,MAAM,QAAQ;GAGlB,YAAY,YAAY;GAClB;GACN,uBAAuB,kBAAkB,EAAE,IAAI,MAAM,QAAQ,IAAI,CAAC;GAClE,yBACE,oBAAoB,EAAE,IAAI,MAAM,QAAQ,IAAI,CAAC;GAE/C,eAAe;AACb,UAAM,WAAW;AACjB,UAAM,MAAM,MAAM,IAAI;AACtB,cAAU,EAAE,IAAI,MAAM,QAAQ,IAAI,CAAC;;IAErC;GAEM,IACX;AAGL,QAAO,SACL,oBAACC;EACC,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,kBAAgB;EACT;EAEN;GACW,GAEd,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,kBAAgB;EACX;YAEL,oBAACC,2BAAkB;GAAS,OAAO;GAChC;IAC0B;GACzB"}
1
+ {"version":3,"file":"list.js","names":["ToastQueue","useEmit","ToastList","ToastRegion","ToastStateContext"],"sources":["../../../src/components/notice/list.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\n'use client';\n\nimport { useBus } from '@accelint/bus/react';\nimport { uuid } from '@accelint/core';\nimport { useToastRegion } from 'react-aria/useToast';\nimport { useToastQueue } from 'react-stately/useToastState';\nimport 'client-only';\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { useEffect, useMemo, useRef, useState } from 'react';\nimport { flushSync } from 'react-dom';\nimport {\n type QueuedToast,\n UNSTABLE_ToastList as ToastList,\n UNSTABLE_ToastQueue as ToastQueue,\n UNSTABLE_ToastRegion as ToastRegion,\n UNSTABLE_ToastStateContext as ToastStateContext,\n} from 'react-aria-components/Toast';\nimport { Button } from '../button';\nimport { Notice } from './';\nimport { NoticeEventTypes } from './events';\nimport styles from './styles.module.css';\nimport { matchesDequeueFilter } from './utils';\nimport type {\n NoticeActionEvent,\n NoticeContent,\n NoticeDequeueEvent,\n NoticeListProps,\n NoticeQueueEvent,\n} from './types';\nimport { composeRenderProps } from 'react-aria-components/composeRenderProps';\n\n/**\n * NoticeList - Queue manager for displaying multiple notices\n *\n * Manages a FIFO queue of notices with automatic timeout and dismissal.\n * New notices push out older ones when the limit is reached.\n * Uses event-driven communication via the bus system.\n *\n * @example\n * ```tsx\n * <NoticeList\n * aria-label=\"notifications\"\n * placement=\"top right\"\n * limit={3}\n * />\n * ```\n *\n * @param props - {@link NoticeListProps}\n * @param props.id - Unique identifier for targeting notices to this list.\n * @param props.classNames - CSS class names for list elements.\n * @param props.defaultColor - Default color for notices without explicit color.\n * @param props.defaultTimeout - Default timeout for notices without explicit timeout.\n * @param props.hideClearAll - Whether to hide the \"Clear All\" button.\n * @param props.limit - Maximum number of visible notices.\n * @param props.global - Whether to use global ToastRegion for portal rendering.\n * @param props.placement - Position of the notice list on screen.\n * @param props.size - Size variant for notices in the list.\n * @returns The rendered NoticeList component.\n */\nexport function NoticeList({\n id,\n classNames,\n defaultColor,\n defaultTimeout,\n hideClearAll,\n limit = 3,\n global,\n placement,\n size = 'medium',\n ...rest\n}: NoticeListProps) {\n const queue = useMemo(\n () =>\n new ToastQueue<NoticeContent>({\n maxVisibleToasts: limit,\n wrapUpdate(fn) {\n if ('startViewTransition' in document) {\n document.startViewTransition(() => {\n flushSync(fn);\n });\n } else {\n fn();\n }\n },\n }),\n [limit],\n );\n const state = useToastQueue(queue);\n\n const [hasNotices, setHasNotices] = useState(false);\n const ref = useRef(null);\n const { regionProps } = useToastRegion(rest, queue, ref);\n\n const { useEmit, useOn } = useBus<\n NoticeQueueEvent | NoticeDequeueEvent | NoticeActionEvent\n >();\n const emitActionPrimary = useEmit(NoticeEventTypes.actionPrimary);\n const emitActionSecondary = useEmit(NoticeEventTypes.actionSecondary);\n const emitClose = useEmit(NoticeEventTypes.close);\n\n useOn(NoticeEventTypes.queue, (data) => {\n if (id ? data.payload.target === id : !data.payload.target) {\n const timeout = data.payload.timeout ?? defaultTimeout;\n queue.add(\n {\n ...data.payload,\n id: data.payload.id || uuid(),\n color: data.payload.color || defaultColor,\n },\n {\n timeout,\n },\n );\n if (timeout) {\n queue.resumeAll();\n }\n }\n });\n\n useOn(NoticeEventTypes.dequeue, (data) => {\n // @ts-expect-error : queue.queue exists, but is not currently documented\n const queuedNotices = queue.queue;\n\n const dequeue = queuedNotices.filter((toast: QueuedToast<NoticeContent>) =>\n matchesDequeueFilter(data.payload, toast.content),\n );\n\n if (dequeue.length && dequeue.length === queuedNotices.length) {\n queue.clear();\n } else {\n for (const toast of dequeue) {\n queue.close(toast.key);\n }\n }\n });\n\n useEffect(\n () =>\n queue.subscribe(() => {\n setHasNotices(queue.visibleToasts.length > 0);\n }),\n [queue],\n );\n\n const children = (\n <>\n {!hideClearAll && hasNotices && (\n <Button\n className={composeRenderProps(\n classNames?.button,\n (className) => className ?? '',\n )}\n variant='outline'\n onPress={() => queue.clear()}\n >\n Clear All\n </Button>\n )}\n <ToastList\n className={composeRenderProps(classNames?.list, (className) =>\n clsx(styles.list, className),\n )}\n >\n {({ toast }: { toast: QueuedToast<NoticeContent> }) => (\n <Notice\n {...toast.content}\n key={toast.key}\n showClose={\n !(\n toast.timeout &&\n toast.content.primary &&\n toast.content.secondary\n )\n }\n classNames={classNames?.notice}\n size={size}\n onPrimaryAction={() =>\n emitActionPrimary({\n id: toast.content.id,\n metadata: toast.content.metadata,\n })\n }\n onSecondaryAction={() =>\n emitActionSecondary({\n id: toast.content.id,\n metadata: toast.content.metadata,\n })\n }\n onClose={() => {\n toast.onClose?.();\n queue.close(toast.key);\n emitClose({\n id: toast.content.id,\n metadata: toast.content.metadata,\n });\n }}\n />\n )}\n </ToastList>\n </>\n );\n\n return global ? (\n <ToastRegion\n className={clsx('group/region', styles.region, classNames?.region)}\n data-placement={placement}\n queue={queue}\n >\n {children}\n </ToastRegion>\n ) : (\n <div\n {...regionProps}\n className={clsx('group/region', styles.region, classNames?.region)}\n data-placement={placement}\n ref={ref}\n >\n <ToastStateContext.Provider value={state}>\n {children}\n </ToastStateContext.Provider>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuEA,SAAgB,WAAW,EACzB,IACA,YACA,cACA,gBACA,cACA,QAAQ,GACR,QACA,WACA,OAAO,UACP,GAAG,QACe;CAClB,MAAM,QAAQ,cAEV,IAAIA,oBAA0B;EAC5B,kBAAkB;EAClB,WAAW,IAAI;AACb,OAAI,yBAAyB,SAC3B,UAAS,0BAA0B;AACjC,cAAU,GAAG;KACb;OAEF,KAAI;;EAGT,CAAC,EACJ,CAAC,MAAM,CACR;CACD,MAAM,QAAQ,cAAc,MAAM;CAElC,MAAM,CAAC,YAAY,iBAAiB,SAAS,MAAM;CACnD,MAAM,MAAM,OAAO,KAAK;CACxB,MAAM,EAAE,gBAAgB,eAAe,MAAM,OAAO,IAAI;CAExD,MAAM,EAAE,oBAAS,mBAAU,QAExB;CACH,MAAM,oBAAoBC,UAAQ,iBAAiB,cAAc;CACjE,MAAM,sBAAsBA,UAAQ,iBAAiB,gBAAgB;CACrE,MAAM,YAAYA,UAAQ,iBAAiB,MAAM;AAEjD,SAAM,iBAAiB,QAAQ,SAAS;AACtC,MAAI,KAAK,KAAK,QAAQ,WAAW,KAAK,CAAC,KAAK,QAAQ,QAAQ;GAC1D,MAAM,UAAU,KAAK,QAAQ,WAAW;AACxC,SAAM,IACJ;IACE,GAAG,KAAK;IACR,IAAI,KAAK,QAAQ,MAAM,MAAM;IAC7B,OAAO,KAAK,QAAQ,SAAS;IAC9B,EACD,EACE,SACD,CACF;AACD,OAAI,QACF,OAAM,WAAW;;GAGrB;AAEF,SAAM,iBAAiB,UAAU,SAAS;EAExC,MAAM,gBAAgB,MAAM;EAE5B,MAAM,UAAU,cAAc,QAAQ,UACpC,qBAAqB,KAAK,SAAS,MAAM,QAAQ,CAClD;AAED,MAAI,QAAQ,UAAU,QAAQ,WAAW,cAAc,OACrD,OAAM,OAAO;MAEb,MAAK,MAAM,SAAS,QAClB,OAAM,MAAM,MAAM,IAAI;GAG1B;AAEF,iBAEI,MAAM,gBAAgB;AACpB,gBAAc,MAAM,cAAc,SAAS,EAAE;GAC7C,EACJ,CAAC,MAAM,CACR;CAED,MAAM,WACJ,8CACG,CAAC,gBAAgB,cAChB,oBAAC;EACC,WAAW,mBACT,YAAY,SACX,cAAc,aAAa,GAC7B;EACD,SAAQ;EACR,eAAe,MAAM,OAAO;YAC7B;GAEQ,EAEX,oBAACC;EACC,WAAW,mBAAmB,YAAY,OAAO,cAC/C,KAAK,OAAO,MAAM,UAAU,CAC7B;aAEC,EAAE,YACF,8BAAC;GACC,GAAI,MAAM;GACV,KAAK,MAAM;GACX,WACE,EACE,MAAM,WACN,MAAM,QAAQ,WACd,MAAM,QAAQ;GAGlB,YAAY,YAAY;GAClB;GACN,uBACE,kBAAkB;IAChB,IAAI,MAAM,QAAQ;IAClB,UAAU,MAAM,QAAQ;IACzB,CAAC;GAEJ,yBACE,oBAAoB;IAClB,IAAI,MAAM,QAAQ;IAClB,UAAU,MAAM,QAAQ;IACzB,CAAC;GAEJ,eAAe;AACb,UAAM,WAAW;AACjB,UAAM,MAAM,MAAM,IAAI;AACtB,cAAU;KACR,IAAI,MAAM,QAAQ;KAClB,UAAU,MAAM,QAAQ;KACzB,CAAC;;IAEJ;GAEM,IACX;AAGL,QAAO,SACL,oBAACC;EACC,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,kBAAgB;EACT;EAEN;GACW,GAEd,oBAAC;EACC,GAAI;EACJ,WAAW,KAAK,gBAAgB,OAAO,QAAQ,YAAY,OAAO;EAClE,kBAAgB;EACX;YAEL,oBAACC,2BAAkB;GAAS,OAAO;GAChC;IAC0B;GACzB"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { NoticeIconProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime206 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime125 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/notice/notice-icon.d.ts
18
18
 
@@ -38,7 +38,7 @@ import * as react_jsx_runtime206 from "react/jsx-runtime";
38
38
  declare function NoticeIcon({
39
39
  color,
40
40
  size
41
- }: NoticeIconProps): react_jsx_runtime206.JSX.Element;
41
+ }: NoticeIconProps): react_jsx_runtime125.JSX.Element;
42
42
  //#endregion
43
43
  export { NoticeIcon };
44
44
  //# sourceMappingURL=notice-icon.d.ts.map
@@ -89,7 +89,7 @@ type NoticeListProps = {
89
89
  /**
90
90
  * Props for the Notice component.
91
91
  */
92
- type NoticeProps = Omit<NoticeContent, 'metadata' | 'timeout' | 'target'> & {
92
+ type NoticeProps = Omit<NoticeContent, 'timeout' | 'target'> & {
93
93
  /** Unique identifier for the notice. */
94
94
  id: UniqueId;
95
95
  /** CSS class names for notice elements. */
@@ -111,10 +111,10 @@ type NoticeProps = Omit<NoticeContent, 'metadata' | 'timeout' | 'target'> & {
111
111
  shouldCloseOnAction?: boolean;
112
112
  /** Size variant for the notice. */
113
113
  size?: 'small' | 'medium';
114
- /** Callback when primary action button is pressed. */
115
- onPrimaryAction?: () => void;
116
- /** Callback when secondary action button is pressed. */
117
- onSecondaryAction?: () => void;
114
+ /** Callback when primary action button is pressed. Receives metadata for context. */
115
+ onPrimaryAction?: (metadata?: NoticeContent['metadata']) => void;
116
+ /** Callback when secondary action button is pressed. Receives metadata for context. */
117
+ onSecondaryAction?: (metadata?: NoticeContent['metadata']) => void;
118
118
  /** Callback when the notice is closed. */
119
119
  onClose?: () => void;
120
120
  };
@@ -138,6 +138,7 @@ type NoticeDequeueEvent = Payload<typeof NoticeEventTypes.dequeue, {
138
138
  */
139
139
  type NoticeActionEvent = Payload<typeof NoticeEventTypes.actionPrimary | typeof NoticeEventTypes.actionSecondary | typeof NoticeEventTypes.close, {
140
140
  id: UniqueId;
141
+ metadata?: Record<string, StructuredCloneableData>;
141
142
  }>;
142
143
  //#endregion
143
144
  export { NoticeActionEvent, NoticeColor, NoticeContent, NoticeDequeueEvent, NoticeIconProps, NoticeListProps, NoticeProps, NoticeQueueEvent };
@@ -10,6 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
+ import { NoticeContent, NoticeDequeueEvent } from "./types.js";
13
14
  import "client-only";
14
15
 
15
16
  //#region src/components/notice/utils.d.ts
@@ -22,6 +23,15 @@ import "client-only";
22
23
  * @returns True if all payload entries match corresponding metadata entries.
23
24
  */
24
25
  declare function matchesMetadata(payload: Record<string, unknown>, metadata?: Record<string, unknown>): boolean;
26
+ /**
27
+ * Checks if a dequeue payload matches a notice's content.
28
+ * Supports filtering by top-level fields (id, color, target) and nested metadata.
29
+ *
30
+ * @param dequeuePayload - Dequeue event payload with optional id, color, target, metadata.
31
+ * @param noticeContent - Notice content to match against.
32
+ * @returns True if all provided criteria match.
33
+ */
34
+ declare function matchesDequeueFilter(dequeuePayload: NoticeDequeueEvent['payload'], noticeContent: NoticeContent): boolean;
25
35
  //#endregion
26
- export { matchesMetadata };
36
+ export { matchesDequeueFilter, matchesMetadata };
27
37
  //# sourceMappingURL=utils.d.ts.map
@@ -29,7 +29,22 @@ function matchesMetadata(payload, metadata) {
29
29
  if (!metadata) return false;
30
30
  return Object.entries(payload).every(([key, value]) => key in metadata && isEqual(metadata[key], value));
31
31
  }
32
+ /**
33
+ * Checks if a dequeue payload matches a notice's content.
34
+ * Supports filtering by top-level fields (id, color, target) and nested metadata.
35
+ *
36
+ * @param dequeuePayload - Dequeue event payload with optional id, color, target, metadata.
37
+ * @param noticeContent - Notice content to match against.
38
+ * @returns True if all provided criteria match.
39
+ */
40
+ function matchesDequeueFilter(dequeuePayload, noticeContent) {
41
+ if (dequeuePayload.id && dequeuePayload.id !== noticeContent.id) return false;
42
+ if (dequeuePayload.target && dequeuePayload.target !== noticeContent.target) return false;
43
+ if (dequeuePayload.color && dequeuePayload.color !== noticeContent.color) return false;
44
+ if (!dequeuePayload.metadata) return true;
45
+ return matchesMetadata(dequeuePayload.metadata, noticeContent.metadata);
46
+ }
32
47
 
33
48
  //#endregion
34
- export { matchesMetadata };
49
+ export { matchesDequeueFilter, matchesMetadata };
35
50
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","names":[],"sources":["../../../src/components/notice/utils.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\n'use client';\n\nimport 'client-only';\nimport { isEqual } from 'radashi';\n\n/**\n * Checks if a payload matches metadata on a notice.\n * Used for filtering notices during dequeue operations.\n *\n * @param payload - Object with key-value pairs to match against.\n * @param metadata - Metadata object from a notice to check.\n * @returns True if all payload entries match corresponding metadata entries.\n */\nexport function matchesMetadata(\n payload: Record<string, unknown>,\n metadata?: Record<string, unknown>,\n) {\n if (!metadata) {\n return false;\n }\n\n return Object.entries(payload).every(\n ([key, value]) => key in metadata && isEqual(metadata[key], value),\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,SAAgB,gBACd,SACA,UACA;AACA,KAAI,CAAC,SACH,QAAO;AAGT,QAAO,OAAO,QAAQ,QAAQ,CAAC,OAC5B,CAAC,KAAK,WAAW,OAAO,YAAY,QAAQ,SAAS,MAAM,MAAM,CACnE"}
1
+ {"version":3,"file":"utils.js","names":[],"sources":["../../../src/components/notice/utils.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\n'use client';\n\nimport 'client-only';\nimport { isEqual } from 'radashi';\nimport type { NoticeContent, NoticeDequeueEvent } from './types';\n\n/**\n * Checks if a payload matches metadata on a notice.\n * Used for filtering notices during dequeue operations.\n *\n * @param payload - Object with key-value pairs to match against.\n * @param metadata - Metadata object from a notice to check.\n * @returns True if all payload entries match corresponding metadata entries.\n */\nexport function matchesMetadata(\n payload: Record<string, unknown>,\n metadata?: Record<string, unknown>,\n) {\n if (!metadata) {\n return false;\n }\n\n return Object.entries(payload).every(\n ([key, value]) => key in metadata && isEqual(metadata[key], value),\n );\n}\n\n/**\n * Checks if a dequeue payload matches a notice's content.\n * Supports filtering by top-level fields (id, color, target) and nested metadata.\n *\n * @param dequeuePayload - Dequeue event payload with optional id, color, target, metadata.\n * @param noticeContent - Notice content to match against.\n * @returns True if all provided criteria match.\n */\nexport function matchesDequeueFilter(\n dequeuePayload: NoticeDequeueEvent['payload'],\n noticeContent: NoticeContent,\n) {\n // Match top-level id\n if (dequeuePayload.id && dequeuePayload.id !== noticeContent.id) {\n return false;\n }\n\n // Match top-level target\n if (dequeuePayload.target && dequeuePayload.target !== noticeContent.target) {\n return false;\n }\n\n // Match top-level color\n if (dequeuePayload.color && dequeuePayload.color !== noticeContent.color) {\n return false;\n }\n\n // Match metadata fields using existing matchesMetadata logic\n if (!dequeuePayload.metadata) {\n return true;\n }\n\n return matchesMetadata(dequeuePayload.metadata, noticeContent.metadata);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,SAAgB,gBACd,SACA,UACA;AACA,KAAI,CAAC,SACH,QAAO;AAGT,QAAO,OAAO,QAAQ,QAAQ,CAAC,OAC5B,CAAC,KAAK,WAAW,OAAO,YAAY,QAAQ,SAAS,MAAM,MAAM,CACnE;;;;;;;;;;AAWH,SAAgB,qBACd,gBACA,eACA;AAEA,KAAI,eAAe,MAAM,eAAe,OAAO,cAAc,GAC3D,QAAO;AAIT,KAAI,eAAe,UAAU,eAAe,WAAW,cAAc,OACnE,QAAO;AAIT,KAAI,eAAe,SAAS,eAAe,UAAU,cAAc,MACjE,QAAO;AAIT,KAAI,CAAC,eAAe,SAClB,QAAO;AAGT,QAAO,gBAAgB,eAAe,UAAU,cAAc,SAAS"}
@@ -12,12 +12,12 @@
12
12
 
13
13
  import { OptionsDataItem, OptionsProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react51 from "react";
15
+ import * as react41 from "react";
16
16
  import { ContextValue } from "react-aria-components/slots";
17
17
 
18
18
  //#region src/components/options/context.d.ts
19
19
  /** Context for sharing Options props with nested components */
20
- declare const OptionsContext: react51.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
20
+ declare const OptionsContext: react41.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
21
21
  //#endregion
22
22
  export { OptionsContext };
23
23
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { OptionsDataItem, OptionsProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime212 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime174 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/options/index.d.ts
18
18
 
@@ -73,7 +73,7 @@ import * as react_jsx_runtime212 from "react/jsx-runtime";
73
73
  declare function Options<T extends OptionsDataItem>({
74
74
  ref,
75
75
  ...props
76
- }: OptionsProps<T>): react_jsx_runtime212.JSX.Element;
76
+ }: OptionsProps<T>): react_jsx_runtime174.JSX.Element;
77
77
  //#endregion
78
78
  export { Options };
79
79
  //# sourceMappingURL=index.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import * as react_jsx_runtime217 from "react/jsx-runtime";
13
+ import * as react_jsx_runtime167 from "react/jsx-runtime";
14
14
  import { TextProps } from "react-aria-components/Text";
15
15
 
16
16
  //#region src/components/options/item-content.d.ts
@@ -37,7 +37,7 @@ import { TextProps } from "react-aria-components/Text";
37
37
  declare function OptionsItemContent({
38
38
  className,
39
39
  ...rest
40
- }: TextProps): react_jsx_runtime217.JSX.Element;
40
+ }: TextProps): react_jsx_runtime167.JSX.Element;
41
41
  //#endregion
42
42
  export { OptionsItemContent };
43
43
  //# sourceMappingURL=item-content.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import * as react_jsx_runtime203 from "react/jsx-runtime";
13
+ import * as react_jsx_runtime169 from "react/jsx-runtime";
14
14
  import { TextProps } from "react-aria-components/Text";
15
15
 
16
16
  //#region src/components/options/item-description.d.ts
@@ -29,7 +29,7 @@ import { TextProps } from "react-aria-components/Text";
29
29
  declare function OptionsItemDescription({
30
30
  className,
31
31
  ...rest
32
- }: TextProps): react_jsx_runtime203.JSX.Element;
32
+ }: TextProps): react_jsx_runtime169.JSX.Element;
33
33
  //#endregion
34
34
  export { OptionsItemDescription };
35
35
  //# sourceMappingURL=item-description.d.ts.map
@@ -10,7 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import * as react_jsx_runtime205 from "react/jsx-runtime";
13
+ import * as react_jsx_runtime170 from "react/jsx-runtime";
14
14
  import { TextProps } from "react-aria-components/Text";
15
15
 
16
16
  //#region src/components/options/item-label.d.ts
@@ -30,7 +30,7 @@ declare function OptionsItemLabel({
30
30
  className,
31
31
  children,
32
32
  ...rest
33
- }: TextProps): react_jsx_runtime205.JSX.Element;
33
+ }: TextProps): react_jsx_runtime170.JSX.Element;
34
34
  //#endregion
35
35
  export { OptionsItemLabel };
36
36
  //# sourceMappingURL=item-label.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { OptionsDataItem, OptionsItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime223 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime126 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/options/item.d.ts
18
18
 
@@ -43,7 +43,7 @@ declare function OptionsItem<T extends OptionsDataItem>({
43
43
  color,
44
44
  textValue,
45
45
  ...rest
46
- }: OptionsItemProps<T>): react_jsx_runtime223.JSX.Element;
46
+ }: OptionsItemProps<T>): react_jsx_runtime126.JSX.Element;
47
47
  //#endregion
48
48
  export { OptionsItem };
49
49
  //# sourceMappingURL=item.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { OptionsDataItem, OptionsSectionProps } from "./types.js";
14
- import * as react_jsx_runtime234 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime172 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/options/section.d.ts
17
17
 
@@ -38,7 +38,7 @@ declare function OptionsSection<T extends OptionsDataItem>({
38
38
  classNames,
39
39
  header,
40
40
  items
41
- }: OptionsSectionProps<T>): react_jsx_runtime234.JSX.Element;
41
+ }: OptionsSectionProps<T>): react_jsx_runtime172.JSX.Element;
42
42
  //#endregion
43
43
  export { OptionsSection };
44
44
  //# sourceMappingURL=section.d.ts.map
@@ -12,11 +12,11 @@
12
12
 
13
13
  import { PaginationContextValue } from "./types.js";
14
14
  import "client-only";
15
- import * as react52 from "react";
15
+ import * as react39 from "react";
16
16
 
17
17
  //#region src/components/pagination/context.d.ts
18
18
  /** Context for sharing pagination state with sub-components */
19
- declare const PaginationContext: react52.Context<PaginationContextValue>;
19
+ declare const PaginationContext: react39.Context<PaginationContextValue>;
20
20
  //#endregion
21
21
  export { PaginationContext };
22
22
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PaginationProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime230 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime127 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/pagination/index.d.ts
18
18
 
@@ -46,7 +46,7 @@ declare function Pagination({
46
46
  isLoading,
47
47
  onChange,
48
48
  ...rest
49
- }: PaginationProps): react_jsx_runtime230.JSX.Element;
49
+ }: PaginationProps): react_jsx_runtime127.JSX.Element;
50
50
  //#endregion
51
51
  export { Pagination };
52
52
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PaginationNextProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime222 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime195 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/pagination/next.d.ts
18
18
  /**
@@ -33,7 +33,7 @@ import * as react_jsx_runtime222 from "react/jsx-runtime";
33
33
  declare function PaginationNext({
34
34
  className,
35
35
  onPress
36
- }: PaginationNextProps): react_jsx_runtime222.JSX.Element;
36
+ }: PaginationNextProps): react_jsx_runtime195.JSX.Element;
37
37
  //#endregion
38
38
  export { PaginationNext };
39
39
  //# sourceMappingURL=next.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PaginationPagesProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime232 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime157 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/pagination/pages.d.ts
18
18
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime232 from "react/jsx-runtime";
37
37
  declare function PaginationPages({
38
38
  className,
39
39
  onPress
40
- }: PaginationPagesProps): react_jsx_runtime232.JSX.Element[] | null;
40
+ }: PaginationPagesProps): react_jsx_runtime157.JSX.Element[] | null;
41
41
  //#endregion
42
42
  export { PaginationPages };
43
43
  //# sourceMappingURL=pages.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PaginationPrevProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime233 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime158 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/pagination/prev.d.ts
18
18
  /**
@@ -33,7 +33,7 @@ import * as react_jsx_runtime233 from "react/jsx-runtime";
33
33
  declare function PaginationPrev({
34
34
  className,
35
35
  onPress
36
- }: PaginationPrevProps): react_jsx_runtime233.JSX.Element;
36
+ }: PaginationPrevProps): react_jsx_runtime158.JSX.Element;
37
37
  //#endregion
38
38
  export { PaginationPrev };
39
39
  //# sourceMappingURL=prev.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import "client-only";
14
14
  import { ComponentPropsWithRef } from "react";
15
- import * as react_jsx_runtime174 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime162 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/popover/content.d.ts
18
18
 
@@ -36,7 +36,7 @@ import * as react_jsx_runtime174 from "react/jsx-runtime";
36
36
  declare function PopoverContent({
37
37
  className,
38
38
  ...rest
39
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime174.JSX.Element;
39
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime162.JSX.Element;
40
40
  //#endregion
41
41
  export { PopoverContent };
42
42
  //# sourceMappingURL=content.d.ts.map