@accelint/design-toolkit 9.12.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) 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/toggle.d.ts +2 -2
  20. package/dist/components/carousel/context.d.ts +4 -4
  21. package/dist/components/carousel/gallery.d.ts +2 -2
  22. package/dist/components/carousel/index.d.ts +2 -2
  23. package/dist/components/carousel/navigation.d.ts +3 -3
  24. package/dist/components/carousel/position.d.ts +2 -2
  25. package/dist/components/carousel/select.d.ts +2 -2
  26. package/dist/components/carousel/viewer.d.ts +2 -2
  27. package/dist/components/checkbox/context.d.ts +3 -3
  28. package/dist/components/checkbox/group.d.ts +2 -2
  29. package/dist/components/checkbox/index.d.ts +2 -2
  30. package/dist/components/chip/context.d.ts +4 -4
  31. package/dist/components/chip/deletable.d.ts +2 -2
  32. package/dist/components/chip/index.d.ts +2 -2
  33. package/dist/components/chip/list.d.ts +4 -4
  34. package/dist/components/chip/selectable.d.ts +2 -2
  35. package/dist/components/classification-badge/context.d.ts +4 -4
  36. package/dist/components/classification-badge/index.d.ts +2 -2
  37. package/dist/components/classification-banner/context.d.ts +4 -4
  38. package/dist/components/classification-banner/index.d.ts +2 -2
  39. package/dist/components/clock/index.d.ts +2 -2
  40. package/dist/components/color-picker/index.d.ts +2 -2
  41. package/dist/components/combobox-field/context.d.ts +4 -4
  42. package/dist/components/combobox-field/index.d.ts +2 -2
  43. package/dist/components/coordinate-field/context.d.ts +6 -6
  44. package/dist/components/coordinate-field/index.d.ts +2 -2
  45. package/dist/components/coordinate-field/segment.d.ts +2 -2
  46. package/dist/components/date-field/index.d.ts +2 -2
  47. package/dist/components/deferred-collection/index.d.ts +2 -2
  48. package/dist/components/details-list/context.d.ts +4 -4
  49. package/dist/components/details-list/index.d.ts +2 -2
  50. package/dist/components/details-list/label.d.ts +2 -2
  51. package/dist/components/details-list/value.d.ts +2 -2
  52. package/dist/components/dialog/content.d.ts +2 -2
  53. package/dist/components/dialog/context.d.ts +2 -2
  54. package/dist/components/dialog/footer.d.ts +2 -2
  55. package/dist/components/dialog/index.d.ts +2 -2
  56. package/dist/components/dialog/title.d.ts +2 -2
  57. package/dist/components/divider/context.d.ts +4 -4
  58. package/dist/components/divider/index.d.ts +2 -2
  59. package/dist/components/drawer/back.d.ts +2 -2
  60. package/dist/components/drawer/close.d.ts +2 -2
  61. package/dist/components/drawer/content.d.ts +2 -2
  62. package/dist/components/drawer/footer.d.ts +2 -2
  63. package/dist/components/drawer/header-title.d.ts +2 -2
  64. package/dist/components/drawer/header.d.ts +2 -2
  65. package/dist/components/drawer/index.d.ts +2 -2
  66. package/dist/components/drawer/layout-main.d.ts +2 -2
  67. package/dist/components/drawer/layout.d.ts +2 -2
  68. package/dist/components/drawer/menu-item.d.ts +2 -2
  69. package/dist/components/drawer/menu.d.ts +2 -2
  70. package/dist/components/drawer/panel.d.ts +2 -2
  71. package/dist/components/drawer/trigger.d.ts +2 -2
  72. package/dist/components/drawer/view.d.ts +2 -2
  73. package/dist/components/flashcard/index.d.ts +9 -9
  74. package/dist/components/flashcard/index.js +1 -1
  75. package/dist/components/flashcard/index.js.map +1 -1
  76. package/dist/components/flashcard/styles.module.css +4 -0
  77. package/dist/components/floating-card/constants.d.ts +26 -0
  78. package/dist/components/floating-card/constants.js +40 -0
  79. package/dist/components/floating-card/constants.js.map +1 -0
  80. package/dist/components/floating-card/context.d.ts +38 -6
  81. package/dist/components/floating-card/context.js +24 -3
  82. package/dist/components/floating-card/context.js.map +1 -1
  83. package/dist/components/floating-card/hooks/use-card-layout.d.ts +36 -0
  84. package/dist/components/floating-card/hooks/use-card-layout.js +106 -0
  85. package/dist/components/floating-card/hooks/use-card-layout.js.map +1 -0
  86. package/dist/components/floating-card/hooks/use-drag.d.ts +62 -0
  87. package/dist/components/floating-card/hooks/use-drag.js +100 -0
  88. package/dist/components/floating-card/hooks/use-drag.js.map +1 -0
  89. package/dist/components/floating-card/hooks/use-mouse-interaction.d.ts +58 -0
  90. package/dist/components/floating-card/hooks/use-mouse-interaction.js +91 -0
  91. package/dist/components/floating-card/hooks/use-mouse-interaction.js.map +1 -0
  92. package/dist/components/floating-card/hooks/use-resize.d.ts +56 -0
  93. package/dist/components/floating-card/hooks/use-resize.js +98 -0
  94. package/dist/components/floating-card/hooks/use-resize.js.map +1 -0
  95. package/dist/components/floating-card/index.d.ts +6 -2
  96. package/dist/components/floating-card/index.js +24 -32
  97. package/dist/components/floating-card/index.js.map +1 -1
  98. package/dist/components/floating-card/panel.d.ts +69 -0
  99. package/dist/components/floating-card/panel.js +111 -0
  100. package/dist/components/floating-card/panel.js.map +1 -0
  101. package/dist/components/floating-card/provider.d.ts +10 -6
  102. package/dist/components/floating-card/provider.js +159 -153
  103. package/dist/components/floating-card/provider.js.map +1 -1
  104. package/dist/components/floating-card/styles.module.css +93 -39
  105. package/dist/components/floating-card/types.d.ts +51 -10
  106. package/dist/components/floating-card/utils.d.ts +8 -85
  107. package/dist/components/floating-card/utils.js +12 -38
  108. package/dist/components/floating-card/utils.js.map +1 -1
  109. package/dist/components/gantt/components/base-elements/range.d.ts +2 -2
  110. package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +2 -2
  111. package/dist/components/gantt/components/containers/internal/index.d.ts +2 -2
  112. package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +2 -2
  113. package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +2 -2
  114. package/dist/components/gantt/components/content-row/block.d.ts +2 -2
  115. package/dist/components/gantt/components/content-row/bracket.d.ts +3 -3
  116. package/dist/components/gantt/components/content-row/icon-marker.d.ts +2 -2
  117. package/dist/components/gantt/components/content-row/index.d.ts +2 -2
  118. package/dist/components/gantt/components/content-row/marker.d.ts +2 -2
  119. package/dist/components/gantt/components/content-row/spacer.d.ts +2 -2
  120. package/dist/components/gantt/components/current-time/index.d.ts +2 -2
  121. package/dist/components/gantt/components/header/index.d.ts +3 -3
  122. package/dist/components/gantt/components/panel-row/index.d.ts +2 -2
  123. package/dist/components/gantt/components/rows-virtualizer/index.d.ts +3 -3
  124. package/dist/components/gantt/components/timeline/index.d.ts +2 -2
  125. package/dist/components/gantt/context/index.d.ts +4 -4
  126. package/dist/components/gantt/context/store/index.d.ts +4 -4
  127. package/dist/components/gantt/context/temporal-data/index.d.ts +4 -4
  128. package/dist/components/gantt/hooks/use-layout-subscription/index.js +8 -8
  129. package/dist/components/gantt/hooks/use-layout-subscription/index.js.map +1 -1
  130. package/dist/components/hero/context.d.ts +2 -2
  131. package/dist/components/hero/index.d.ts +2 -2
  132. package/dist/components/hero/subtitle.d.ts +3 -3
  133. package/dist/components/hotkey/context.d.ts +2 -2
  134. package/dist/components/hotkey/index.d.ts +2 -2
  135. package/dist/components/hotkey/set.d.ts +2 -2
  136. package/dist/components/icon/context.d.ts +4 -4
  137. package/dist/components/icon/index.d.ts +2 -2
  138. package/dist/components/input/context.d.ts +2 -2
  139. package/dist/components/input/index.d.ts +2 -2
  140. package/dist/components/kanban/card-body.d.ts +2 -2
  141. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  142. package/dist/components/kanban/card-header-title.d.ts +2 -2
  143. package/dist/components/kanban/card-header.d.ts +2 -2
  144. package/dist/components/kanban/card.d.ts +2 -2
  145. package/dist/components/kanban/column-actions.d.ts +2 -2
  146. package/dist/components/kanban/column-container.d.ts +2 -2
  147. package/dist/components/kanban/column-content.d.ts +2 -2
  148. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  149. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  150. package/dist/components/kanban/column-header-title.d.ts +2 -2
  151. package/dist/components/kanban/column-header.d.ts +2 -2
  152. package/dist/components/kanban/column.d.ts +2 -2
  153. package/dist/components/kanban/context.d.ts +2 -2
  154. package/dist/components/kanban/header-actions.d.ts +2 -2
  155. package/dist/components/kanban/header-search.d.ts +2 -2
  156. package/dist/components/kanban/header-title.d.ts +2 -2
  157. package/dist/components/kanban/header.d.ts +2 -2
  158. package/dist/components/kanban/kanban.d.ts +4 -4
  159. package/dist/components/label/context.d.ts +4 -4
  160. package/dist/components/label/index.d.ts +2 -2
  161. package/dist/components/lines/index.d.ts +2 -2
  162. package/dist/components/link/context.d.ts +2 -2
  163. package/dist/components/link/index.d.ts +2 -2
  164. package/dist/components/list/context.d.ts +2 -2
  165. package/dist/components/list/index.d.ts +2 -2
  166. package/dist/components/list/item-content.d.ts +2 -2
  167. package/dist/components/list/item-description.d.ts +2 -2
  168. package/dist/components/list/item-title.d.ts +2 -2
  169. package/dist/components/list/item.d.ts +2 -2
  170. package/dist/components/media-controls/context.d.ts +4 -4
  171. package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
  172. package/dist/components/media-controls/index.d.ts +2 -2
  173. package/dist/components/media-controls/mute-button.d.ts +2 -2
  174. package/dist/components/media-controls/play-button.d.ts +2 -2
  175. package/dist/components/media-controls/playback-rate.d.ts +2 -2
  176. package/dist/components/media-controls/seek-button.d.ts +2 -2
  177. package/dist/components/media-controls/time-display.d.ts +2 -2
  178. package/dist/components/media-controls/time-range.d.ts +2 -2
  179. package/dist/components/media-controls/volume-slider.d.ts +2 -2
  180. package/dist/components/menu/context.d.ts +2 -2
  181. package/dist/components/menu/index.d.ts +2 -2
  182. package/dist/components/menu/item-description.d.ts +2 -2
  183. package/dist/components/menu/item-label.d.ts +2 -2
  184. package/dist/components/menu/item.d.ts +2 -2
  185. package/dist/components/menu/section.d.ts +2 -2
  186. package/dist/components/menu/separator.d.ts +2 -2
  187. package/dist/components/menu/submenu.d.ts +2 -2
  188. package/dist/components/notice/index.d.ts +3 -2
  189. package/dist/components/notice/index.js +3 -3
  190. package/dist/components/notice/index.js.map +1 -1
  191. package/dist/components/notice/list.d.ts +2 -2
  192. package/dist/components/notice/list.js +14 -5
  193. package/dist/components/notice/list.js.map +1 -1
  194. package/dist/components/notice/notice-icon.d.ts +2 -2
  195. package/dist/components/notice/types.d.ts +6 -5
  196. package/dist/components/notice/utils.d.ts +11 -1
  197. package/dist/components/notice/utils.js +16 -1
  198. package/dist/components/notice/utils.js.map +1 -1
  199. package/dist/components/options/context.d.ts +2 -2
  200. package/dist/components/options/index.d.ts +2 -2
  201. package/dist/components/options/item-content.d.ts +2 -2
  202. package/dist/components/options/item-description.d.ts +2 -2
  203. package/dist/components/options/item-label.d.ts +2 -2
  204. package/dist/components/options/item.d.ts +2 -2
  205. package/dist/components/options/section.d.ts +2 -2
  206. package/dist/components/pagination/context.d.ts +2 -2
  207. package/dist/components/pagination/index.d.ts +2 -2
  208. package/dist/components/pagination/next.d.ts +2 -2
  209. package/dist/components/pagination/pages.d.ts +2 -2
  210. package/dist/components/pagination/prev.d.ts +2 -2
  211. package/dist/components/popover/content.d.ts +2 -2
  212. package/dist/components/popover/footer.d.ts +2 -2
  213. package/dist/components/popover/index.d.ts +2 -2
  214. package/dist/components/popover/title.d.ts +2 -2
  215. package/dist/components/popover/trigger.d.ts +2 -2
  216. package/dist/components/query-builder/action-element.d.ts +2 -2
  217. package/dist/components/query-builder/actions.d.ts +4 -4
  218. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  219. package/dist/components/query-builder/index.d.ts +2 -2
  220. package/dist/components/query-builder/rule-group.d.ts +4 -4
  221. package/dist/components/query-builder/rule.d.ts +2 -2
  222. package/dist/components/query-builder/value-editor.d.ts +2 -2
  223. package/dist/components/query-builder/value-selector.d.ts +2 -2
  224. package/dist/components/radio/context.d.ts +3 -3
  225. package/dist/components/radio/group.d.ts +2 -2
  226. package/dist/components/radio/index.d.ts +2 -2
  227. package/dist/components/search-field/context.d.ts +4 -4
  228. package/dist/components/search-field/index.d.ts +2 -2
  229. package/dist/components/select-field/context.d.ts +4 -4
  230. package/dist/components/select-field/index.d.ts +2 -2
  231. package/dist/components/sidenav/avatar.d.ts +2 -2
  232. package/dist/components/sidenav/content.d.ts +2 -2
  233. package/dist/components/sidenav/context.d.ts +2 -2
  234. package/dist/components/sidenav/footer.d.ts +2 -2
  235. package/dist/components/sidenav/header.d.ts +2 -2
  236. package/dist/components/sidenav/index.d.ts +2 -2
  237. package/dist/components/sidenav/item.d.ts +2 -2
  238. package/dist/components/sidenav/link.d.ts +2 -2
  239. package/dist/components/sidenav/menu-item.d.ts +2 -2
  240. package/dist/components/sidenav/menu.d.ts +2 -2
  241. package/dist/components/sidenav/trigger.d.ts +2 -2
  242. package/dist/components/skeleton/index.d.ts +2 -2
  243. package/dist/components/slider/index.d.ts +2 -2
  244. package/dist/components/status-indicator/index.d.ts +2 -2
  245. package/dist/components/switch/context.d.ts +4 -4
  246. package/dist/components/switch/index.d.ts +2 -2
  247. package/dist/components/table/body.d.ts +4 -3
  248. package/dist/components/table/body.js.map +1 -1
  249. package/dist/components/table/cell.d.ts +4 -3
  250. package/dist/components/table/cell.js.map +1 -1
  251. package/dist/components/table/context.d.ts +2 -2
  252. package/dist/components/table/features.d.ts +80 -0
  253. package/dist/components/table/features.js +61 -0
  254. package/dist/components/table/features.js.map +1 -0
  255. package/dist/components/table/header-cell.d.ts +4 -3
  256. package/dist/components/table/header-cell.js.map +1 -1
  257. package/dist/components/table/header.d.ts +4 -3
  258. package/dist/components/table/header.js.map +1 -1
  259. package/dist/components/table/index.d.ts +2 -2
  260. package/dist/components/table/index.js +40 -49
  261. package/dist/components/table/index.js.map +1 -1
  262. package/dist/components/table/row-ordering-feature.d.ts +88 -0
  263. package/dist/components/table/row-ordering-feature.js +115 -0
  264. package/dist/components/table/row-ordering-feature.js.map +1 -0
  265. package/dist/components/table/row.d.ts +4 -3
  266. package/dist/components/table/row.js.map +1 -1
  267. package/dist/components/table/types.d.ts +15 -13
  268. package/dist/components/tabs/context.d.ts +6 -6
  269. package/dist/components/tabs/index.d.ts +2 -2
  270. package/dist/components/tabs/list.d.ts +2 -2
  271. package/dist/components/tabs/panel.d.ts +2 -2
  272. package/dist/components/tabs/tab.d.ts +2 -2
  273. package/dist/components/text-area-field/context.d.ts +4 -4
  274. package/dist/components/text-area-field/index.d.ts +2 -2
  275. package/dist/components/text-field/context.d.ts +4 -4
  276. package/dist/components/text-field/index.d.ts +2 -2
  277. package/dist/components/time-field/index.d.ts +2 -2
  278. package/dist/components/time-field/styles.module.css +4 -0
  279. package/dist/components/tooltip/context.d.ts +2 -2
  280. package/dist/components/tooltip/index.d.ts +2 -2
  281. package/dist/components/tooltip/trigger.d.ts +2 -2
  282. package/dist/components/tree/context.d.ts +3 -3
  283. package/dist/components/tree/index.d.ts +2 -2
  284. package/dist/components/tree/item-actions.d.ts +2 -2
  285. package/dist/components/tree/item-content.d.ts +2 -2
  286. package/dist/components/tree/item-description.d.ts +2 -2
  287. package/dist/components/tree/item-label.d.ts +2 -2
  288. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  289. package/dist/components/tree/item.d.ts +2 -2
  290. package/dist/components/tree/lines.d.ts +2 -2
  291. package/dist/components/video/index.d.ts +2 -2
  292. package/dist/components/view-stack/context.d.ts +2 -2
  293. package/dist/components/view-stack/index.d.ts +2 -2
  294. package/dist/components/view-stack/trigger.d.ts +2 -2
  295. package/dist/components/view-stack/view.d.ts +2 -2
  296. package/dist/index.d.ts +5 -3
  297. package/dist/index.js +4 -2
  298. package/dist/providers/portal.d.ts +2 -2
  299. package/dist/providers/theme-provider.d.ts +2 -2
  300. package/package.json +20 -14
@@ -13,15 +13,15 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { LabelProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react10 from "react";
17
- import * as react_jsx_runtime48 from "react/jsx-runtime";
16
+ import * as react3 from "react";
17
+ import * as react_jsx_runtime31 from "react/jsx-runtime";
18
18
  import { ContextValue } from "react-aria-components/slots";
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: react10.Context<ContextValue<LabelProps, HTMLLabelElement>>;
24
+ declare const LabelContext: react3.Context<ContextValue<LabelProps, HTMLLabelElement>>;
25
25
  /**
26
26
  * LabelProvider - Context provider for setting default Label props.
27
27
  *
@@ -43,7 +43,7 @@ declare const LabelContext: react10.Context<ContextValue<LabelProps, HTMLLabelEl
43
43
  declare function LabelProvider({
44
44
  children,
45
45
  ...props
46
- }: ProviderProps<LabelProps>): react_jsx_runtime48.JSX.Element;
46
+ }: ProviderProps<LabelProps>): react_jsx_runtime31.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_runtime49 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime33 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_runtime49 from "react/jsx-runtime";
52
52
  declare function Label({
53
53
  ref,
54
54
  ...props
55
- }: LabelProps): react_jsx_runtime49.JSX.Element;
55
+ }: LabelProps): react_jsx_runtime33.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_runtime50 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime38 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_runtime50.JSX.Element;
41
+ }: LinesProps): react_jsx_runtime38.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_runtime51 from "react/jsx-runtime";
16
+ import * as react_jsx_runtime39 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_runtime51 from "react/jsx-runtime";
38
38
  declare function LinkProvider({
39
39
  children,
40
40
  ...props
41
- }: ProviderProps<LinkProps>): react_jsx_runtime51.JSX.Element;
41
+ }: ProviderProps<LinkProps>): react_jsx_runtime39.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_runtime52 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime41 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_runtime52 from "react/jsx-runtime";
37
37
  declare function Link({
38
38
  ref,
39
39
  ...props
40
- }: LinkProps): react_jsx_runtime52.JSX.Element;
40
+ }: LinkProps): react_jsx_runtime41.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 react0 from "react";
16
16
  import { ContextValue } from "react-aria-components/slots";
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: react0.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_runtime53 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime14 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_runtime53 from "react/jsx-runtime";
47
47
  declare function List<T extends object>({
48
48
  ref,
49
49
  ...props
50
- }: ListProps<T>): react_jsx_runtime53.JSX.Element;
50
+ }: ListProps<T>): react_jsx_runtime14.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_runtime54 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime16 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_runtime54 from "react/jsx-runtime";
37
37
  declare function ListItemContent({
38
38
  className,
39
39
  ...rest
40
- }: ListItemContentProps): react_jsx_runtime54.JSX.Element;
40
+ }: ListItemContentProps): react_jsx_runtime16.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_runtime55 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime18 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_runtime55.JSX.Element;
38
+ }: ListItemDescriptionProps): react_jsx_runtime18.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_runtime56 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime20 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_runtime56.JSX.Element;
38
+ }: ListItemTitleProps): react_jsx_runtime20.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_runtime57 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime22 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_runtime57.JSX.Element;
49
+ }: ListItemProps<T>): react_jsx_runtime22.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 react12 from "react";
15
+ import * as react1 from "react";
16
16
  import { PropsWithChildren } from "react";
17
- import * as react_jsx_runtime59 from "react/jsx-runtime";
17
+ import * as react_jsx_runtime24 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_runtime59 from "react/jsx-runtime";
22
22
  *
23
23
  * Provides shared configuration values (isDisabled) to all child controls.
24
24
  */
25
- declare const MediaControlsContext: react12.Context<MediaControlsContextValue>;
25
+ declare const MediaControlsContext: react1.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_runtime59.JSX.Element;
63
+ }: PropsWithChildren<Partial<MediaControlsContextValue>>): react_jsx_runtime24.JSX.Element;
64
64
  //#endregion
65
65
  export { MediaControlsContext, MediaControlsProvider, useMediaControlsDisabled, useMediaProviderGuard };
66
66
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { FullscreenButtonProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime29 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/media-controls/fullscreen-button.d.ts
18
18
 
@@ -49,7 +49,7 @@ declare function FullscreenButton({
49
49
  isDisabled: isDisabledProp,
50
50
  ref,
51
51
  ...rest
52
- }: FullscreenButtonProps): react_jsx_runtime29.JSX.Element;
52
+ }: FullscreenButtonProps): react_jsx_runtime26.JSX.Element;
53
53
  //#endregion
54
54
  export { FullscreenButton };
55
55
  //# sourceMappingURL=fullscreen-button.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MediaControlsProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime31 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime28 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_runtime31.JSX.Element;
65
+ }: MediaControlsProps): react_jsx_runtime28.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_runtime33 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime29 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_runtime33.JSX.Element;
44
+ }: MuteButtonProps): react_jsx_runtime29.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_runtime36 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime30 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_runtime36.JSX.Element;
44
+ }: PlayButtonProps): react_jsx_runtime30.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_runtime38 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime32 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_runtime38.JSX.Element;
55
+ }: PlaybackRateButtonProps): react_jsx_runtime32.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_runtime41 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime34 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_runtime41.JSX.Element;
57
+ }: SeekButtonProps): react_jsx_runtime34.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_runtime45 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime36 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_runtime45.JSX.Element;
66
+ }: TimeDisplayProps): react_jsx_runtime36.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_runtime47 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime37 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_runtime47.JSX.Element;
43
+ }: TimeRangeProps): react_jsx_runtime37.JSX.Element;
44
44
  //#endregion
45
45
  export { TimeRange };
46
46
  //# sourceMappingURL=time-range.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_runtime66 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime40 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_runtime66.JSX.Element;
51
+ }: VolumeSliderProps): react_jsx_runtime40.JSX.Element;
52
52
  //#endregion
53
53
  export { VolumeSlider };
54
54
  //# sourceMappingURL=volume-slider.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MenuProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react14 from "react";
15
+ import * as react4 from "react";
16
16
  import { ContextValue } from "react-aria-components/slots";
17
17
 
18
18
  //#region src/components/menu/context.d.ts
@@ -20,7 +20,7 @@ import { ContextValue } from "react-aria-components/slots";
20
20
  * Context for sharing Menu props across component tree.
21
21
  * Used internally by Menu subcomponents for variant and state coordination.
22
22
  */
23
- declare const MenuContext: react14.Context<ContextValue<MenuProps<unknown>, HTMLDivElement>>;
23
+ declare const MenuContext: react4.Context<ContextValue<MenuProps<unknown>, HTMLDivElement>>;
24
24
  //#endregion
25
25
  export { MenuContext };
26
26
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MenuProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime67 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime42 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/menu/index.d.ts
18
18
 
@@ -126,7 +126,7 @@ import * as react_jsx_runtime67 from "react/jsx-runtime";
126
126
  declare function Menu<T extends object>({
127
127
  ref,
128
128
  ...props
129
- }: MenuProps<T>): react_jsx_runtime67.JSX.Element;
129
+ }: MenuProps<T>): react_jsx_runtime42.JSX.Element;
130
130
  //#endregion
131
131
  export { Menu };
132
132
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime68 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime43 from "react/jsx-runtime";
15
15
  import { TextProps } from "react-aria-components/Text";
16
16
 
17
17
  //#region src/components/menu/item-description.d.ts
@@ -34,7 +34,7 @@ declare function MenuItemDescription({
34
34
  children,
35
35
  className,
36
36
  ...rest
37
- }: TextProps): react_jsx_runtime68.JSX.Element;
37
+ }: TextProps): react_jsx_runtime43.JSX.Element;
38
38
  //#endregion
39
39
  export { MenuItemDescription };
40
40
  //# sourceMappingURL=item-description.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime70 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime44 from "react/jsx-runtime";
15
15
  import { TextProps } from "react-aria-components/Text";
16
16
 
17
17
  //#region src/components/menu/item-label.d.ts
@@ -34,7 +34,7 @@ declare function MenuItemLabel({
34
34
  children,
35
35
  className,
36
36
  ...rest
37
- }: TextProps): react_jsx_runtime70.JSX.Element;
37
+ }: TextProps): react_jsx_runtime44.JSX.Element;
38
38
  //#endregion
39
39
  export { MenuItemLabel };
40
40
  //# sourceMappingURL=item-label.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { MenuItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime71 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime47 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_runtime71.JSX.Element;
44
+ }: MenuItemProps): react_jsx_runtime47.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_runtime73 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime50 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_runtime73.JSX.Element;
45
+ }: MenuSectionProps<T>): react_jsx_runtime50.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_runtime75 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime52 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_runtime75.JSX.Element;
35
+ }: SeparatorProps): react_jsx_runtime52.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 react22 from "react";
14
+ import * as react7 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>) => react22.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null;
34
+ declare const MenuSubmenu: (props: react_aria_components_Menu0.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react7.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_runtime79 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime48 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_runtime79.JSX.Element;
65
+ }: NoticeProps): react_jsx_runtime48.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"}