@accelint/design-toolkit 9.11.2 → 9.11.3

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 (250) hide show
  1. package/catalog-info.yaml +2 -2
  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 +2 -2
  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 +2 -2
  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/context.d.ts +2 -2
  63. package/dist/components/drawer/footer.d.ts +2 -2
  64. package/dist/components/drawer/header-title.d.ts +2 -2
  65. package/dist/components/drawer/header.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/styles.module.css +18 -0
  72. package/dist/components/drawer/trigger.d.ts +2 -2
  73. package/dist/components/drawer/view.d.ts +2 -2
  74. package/dist/components/flashcard/index.d.ts +9 -9
  75. package/dist/components/floating-card/context.d.ts +2 -2
  76. package/dist/components/floating-card/index.d.ts +2 -2
  77. package/dist/components/floating-card/provider.d.ts +2 -2
  78. package/dist/components/gantt/components/base-elements/point.d.ts +2 -2
  79. package/dist/components/gantt/components/base-elements/range.d.ts +2 -2
  80. package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +2 -2
  81. package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +2 -2
  82. package/dist/components/gantt/components/containers/internal/index.d.ts +2 -2
  83. package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +2 -2
  84. package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +2 -2
  85. package/dist/components/gantt/components/content-row/block.d.ts +2 -2
  86. package/dist/components/gantt/components/content-row/bracket.d.ts +3 -3
  87. package/dist/components/gantt/components/content-row/icon-marker.d.ts +2 -2
  88. package/dist/components/gantt/components/content-row/index.d.ts +2 -2
  89. package/dist/components/gantt/components/content-row/marker.d.ts +2 -2
  90. package/dist/components/gantt/components/content-row/spacer.d.ts +2 -2
  91. package/dist/components/gantt/components/current-time/index.d.ts +2 -2
  92. package/dist/components/gantt/components/header/index.d.ts +3 -3
  93. package/dist/components/gantt/components/panel-row/index.d.ts +2 -2
  94. package/dist/components/gantt/components/rows-virtualizer/index.d.ts +3 -3
  95. package/dist/components/gantt/components/timeline/index.d.ts +2 -2
  96. package/dist/components/gantt/components/timeline-chunk/index.d.ts +3 -3
  97. package/dist/components/gantt/context/index.d.ts +4 -4
  98. package/dist/components/gantt/context/store/index.d.ts +4 -4
  99. package/dist/components/gantt/context/temporal-data/index.d.ts +4 -4
  100. package/dist/components/hero/context.d.ts +2 -2
  101. package/dist/components/hero/index.d.ts +2 -2
  102. package/dist/components/hero/subtitle.d.ts +3 -3
  103. package/dist/components/hero/title.d.ts +2 -2
  104. package/dist/components/hotkey/context.d.ts +4 -4
  105. package/dist/components/hotkey/index.d.ts +2 -2
  106. package/dist/components/hotkey/set.d.ts +2 -2
  107. package/dist/components/icon/context.d.ts +4 -4
  108. package/dist/components/icon/index.d.ts +2 -2
  109. package/dist/components/input/context.d.ts +2 -2
  110. package/dist/components/input/index.d.ts +2 -2
  111. package/dist/components/kanban/card-body.d.ts +2 -2
  112. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  113. package/dist/components/kanban/card-header-title.d.ts +2 -2
  114. package/dist/components/kanban/card-header.d.ts +2 -2
  115. package/dist/components/kanban/card.d.ts +2 -2
  116. package/dist/components/kanban/column-actions.d.ts +2 -2
  117. package/dist/components/kanban/column-container.d.ts +2 -2
  118. package/dist/components/kanban/column-content.d.ts +2 -2
  119. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  120. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  121. package/dist/components/kanban/column-header-title.d.ts +2 -2
  122. package/dist/components/kanban/column-header.d.ts +2 -2
  123. package/dist/components/kanban/column.d.ts +2 -2
  124. package/dist/components/kanban/context.d.ts +2 -2
  125. package/dist/components/kanban/header-actions.d.ts +2 -2
  126. package/dist/components/kanban/header-search.d.ts +2 -2
  127. package/dist/components/kanban/header-title.d.ts +2 -2
  128. package/dist/components/kanban/header.d.ts +2 -2
  129. package/dist/components/kanban/kanban.d.ts +4 -4
  130. package/dist/components/label/context.d.ts +2 -2
  131. package/dist/components/label/index.d.ts +2 -2
  132. package/dist/components/lines/index.d.ts +2 -2
  133. package/dist/components/link/context.d.ts +2 -2
  134. package/dist/components/link/index.d.ts +2 -2
  135. package/dist/components/list/context.d.ts +2 -2
  136. package/dist/components/list/index.d.ts +2 -2
  137. package/dist/components/list/item-content.d.ts +2 -2
  138. package/dist/components/list/item-description.d.ts +2 -2
  139. package/dist/components/list/item-title.d.ts +2 -2
  140. package/dist/components/list/item.d.ts +2 -2
  141. package/dist/components/media-controls/context.d.ts +4 -4
  142. package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
  143. package/dist/components/media-controls/index.d.ts +2 -2
  144. package/dist/components/media-controls/mute-button.d.ts +2 -2
  145. package/dist/components/media-controls/play-button.d.ts +2 -2
  146. package/dist/components/media-controls/playback-rate.d.ts +2 -2
  147. package/dist/components/media-controls/seek-button.d.ts +2 -2
  148. package/dist/components/media-controls/time-display.d.ts +2 -2
  149. package/dist/components/media-controls/time-range.d.ts +2 -2
  150. package/dist/components/media-controls/volume-slider.d.ts +2 -2
  151. package/dist/components/menu/index.d.ts +2 -2
  152. package/dist/components/menu/item-description.d.ts +2 -2
  153. package/dist/components/menu/item-label.d.ts +2 -2
  154. package/dist/components/menu/item.d.ts +2 -2
  155. package/dist/components/menu/section.d.ts +2 -2
  156. package/dist/components/menu/separator.d.ts +2 -2
  157. package/dist/components/menu/submenu.d.ts +2 -2
  158. package/dist/components/notice/index.d.ts +2 -2
  159. package/dist/components/notice/list.d.ts +2 -2
  160. package/dist/components/notice/list.js +7 -9
  161. package/dist/components/notice/list.js.map +1 -1
  162. package/dist/components/notice/notice-icon.d.ts +2 -2
  163. package/dist/components/options/context.d.ts +2 -2
  164. package/dist/components/options/index.d.ts +2 -2
  165. package/dist/components/options/item-content.d.ts +2 -2
  166. package/dist/components/options/item-description.d.ts +2 -2
  167. package/dist/components/options/item-label.d.ts +2 -2
  168. package/dist/components/options/item.d.ts +2 -2
  169. package/dist/components/options/section.d.ts +2 -2
  170. package/dist/components/pagination/context.d.ts +2 -2
  171. package/dist/components/pagination/index.d.ts +2 -2
  172. package/dist/components/pagination/next.d.ts +2 -2
  173. package/dist/components/pagination/pages.d.ts +2 -2
  174. package/dist/components/pagination/prev.d.ts +2 -2
  175. package/dist/components/popover/content.d.ts +2 -2
  176. package/dist/components/popover/footer.d.ts +2 -2
  177. package/dist/components/popover/index.d.ts +2 -2
  178. package/dist/components/popover/title.d.ts +2 -2
  179. package/dist/components/popover/trigger.d.ts +2 -2
  180. package/dist/components/query-builder/action-element.d.ts +2 -2
  181. package/dist/components/query-builder/actions.d.ts +4 -4
  182. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  183. package/dist/components/query-builder/index.d.ts +2 -2
  184. package/dist/components/query-builder/rule-group.d.ts +4 -4
  185. package/dist/components/query-builder/rule.d.ts +2 -2
  186. package/dist/components/query-builder/value-editor.d.ts +2 -2
  187. package/dist/components/query-builder/value-selector.d.ts +2 -2
  188. package/dist/components/radio/context.d.ts +3 -3
  189. package/dist/components/radio/group.d.ts +2 -2
  190. package/dist/components/radio/index.d.ts +2 -2
  191. package/dist/components/search-field/context.d.ts +4 -4
  192. package/dist/components/search-field/index.d.ts +2 -2
  193. package/dist/components/select-field/context.d.ts +4 -4
  194. package/dist/components/select-field/index.d.ts +2 -2
  195. package/dist/components/sidenav/avatar.d.ts +2 -2
  196. package/dist/components/sidenav/content.d.ts +2 -2
  197. package/dist/components/sidenav/context.d.ts +2 -2
  198. package/dist/components/sidenav/footer.d.ts +2 -2
  199. package/dist/components/sidenav/header.d.ts +2 -2
  200. package/dist/components/sidenav/index.d.ts +2 -2
  201. package/dist/components/sidenav/item.d.ts +2 -2
  202. package/dist/components/sidenav/link.d.ts +2 -2
  203. package/dist/components/sidenav/menu-item.d.ts +2 -2
  204. package/dist/components/sidenav/menu.d.ts +2 -2
  205. package/dist/components/sidenav/styles.module.css +14 -8
  206. package/dist/components/sidenav/trigger.d.ts +2 -2
  207. package/dist/components/skeleton/index.d.ts +2 -2
  208. package/dist/components/slider/index.d.ts +2 -2
  209. package/dist/components/status-indicator/index.d.ts +2 -2
  210. package/dist/components/switch/context.d.ts +4 -4
  211. package/dist/components/switch/index.d.ts +2 -2
  212. package/dist/components/table/body.d.ts +2 -2
  213. package/dist/components/table/cell.d.ts +2 -2
  214. package/dist/components/table/context.d.ts +2 -2
  215. package/dist/components/table/header-cell.d.ts +2 -2
  216. package/dist/components/table/header.d.ts +2 -2
  217. package/dist/components/table/index.d.ts +2 -2
  218. package/dist/components/table/row.d.ts +2 -2
  219. package/dist/components/tabs/context.d.ts +6 -6
  220. package/dist/components/tabs/index.d.ts +2 -2
  221. package/dist/components/tabs/list.d.ts +2 -2
  222. package/dist/components/tabs/panel.d.ts +2 -2
  223. package/dist/components/tabs/tab.d.ts +2 -2
  224. package/dist/components/text-area-field/context.d.ts +4 -4
  225. package/dist/components/text-area-field/index.d.ts +2 -2
  226. package/dist/components/text-field/context.d.ts +4 -4
  227. package/dist/components/text-field/index.d.ts +2 -2
  228. package/dist/components/time-field/index.d.ts +2 -2
  229. package/dist/components/tooltip/context.d.ts +2 -2
  230. package/dist/components/tooltip/index.d.ts +2 -2
  231. package/dist/components/tooltip/trigger.d.ts +2 -2
  232. package/dist/components/tree/context.d.ts +3 -3
  233. package/dist/components/tree/index.d.ts +2 -2
  234. package/dist/components/tree/item-actions.d.ts +2 -2
  235. package/dist/components/tree/item-content.d.ts +2 -2
  236. package/dist/components/tree/item-description.d.ts +2 -2
  237. package/dist/components/tree/item-label.d.ts +2 -2
  238. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  239. package/dist/components/tree/item.d.ts +2 -2
  240. package/dist/components/tree/lines.d.ts +2 -2
  241. package/dist/components/video/index.d.ts +2 -2
  242. package/dist/components/view-stack/context.d.ts +2 -2
  243. package/dist/components/view-stack/index.d.ts +2 -2
  244. package/dist/components/view-stack/trigger.d.ts +2 -2
  245. package/dist/components/view-stack/view.d.ts +2 -2
  246. package/dist/hooks/coordinate-field/use-coordinate-field-state.js +5 -1
  247. package/dist/hooks/coordinate-field/use-coordinate-field-state.js.map +1 -1
  248. package/dist/providers/portal.d.ts +2 -2
  249. package/dist/providers/theme-provider.d.ts +2 -2
  250. package/package.json +6 -6
@@ -78,12 +78,12 @@ function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll
78
78
  const emitActionSecondary = useEmit$1(NoticeEventTypes.actionSecondary);
79
79
  const emitClose = useEmit$1(NoticeEventTypes.close);
80
80
  useOn$1(NoticeEventTypes.queue, (data) => {
81
- if (id && data.payload.target === id || !id) {
82
- const timeout = defaultTimeout ?? data.payload.timeout;
81
+ if (id ? data.payload.target === id : !data.payload.target) {
82
+ const timeout = data.payload.timeout ?? defaultTimeout;
83
83
  queue.add({
84
84
  ...data.payload,
85
85
  id: data.payload.id || uuid(),
86
- color: defaultColor || data.payload.color
86
+ color: data.payload.color || defaultColor
87
87
  }, { timeout });
88
88
  if (timeout) queue.resumeAll();
89
89
  }
@@ -94,15 +94,13 @@ function NoticeList({ id, classNames, defaultColor, defaultTimeout, hideClearAll
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
  });
97
- useEffect(() => {
98
- queue.subscribe(() => {
99
- setHasNotices(queue.visibleToasts.length > 0);
100
- });
101
- });
97
+ useEffect(() => queue.subscribe(() => {
98
+ setHasNotices(queue.visibleToasts.length > 0);
99
+ }), [queue]);
102
100
  const children = /* @__PURE__ */ jsxs(Fragment$1, { children: [!hideClearAll && hasNotices && /* @__PURE__ */ jsx(Button, {
103
101
  className: composeRenderProps(classNames?.button, (className) => className ?? ""),
104
102
  variant: "outline",
105
- onPress: queue.clear,
103
+ onPress: () => queue.clear(),
106
104
  children: "Clear All"
107
105
  }), /* @__PURE__ */ jsx(UNSTABLE_ToastList, {
108
106
  className: composeRenderProps(classNames?.list, (className) => clsx(styles.list, className)),
@@ -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) || !id) {\n const timeout = defaultTimeout ?? data.payload.timeout;\n queue.add(\n {\n ...data.payload,\n id: data.payload.id || uuid(),\n color: defaultColor || data.payload.color,\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 queue.subscribe(() => {\n setHasNotices(queue.visibleToasts.length > 0);\n });\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,MAAK,MAAM,KAAK,QAAQ,WAAW,MAAO,CAAC,IAAI;GAC7C,MAAM,UAAU,kBAAkB,KAAK,QAAQ;AAC/C,SAAM,IACJ;IACE,GAAG,KAAK;IACR,IAAI,KAAK,QAAQ,MAAM,MAAM;IAC7B,OAAO,gBAAgB,KAAK,QAAQ;IACrC,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,iBAAgB;AACd,QAAM,gBAAgB;AACpB,iBAAc,MAAM,cAAc,SAAS,EAAE;IAC7C;GACF;CAEF,MAAM,WACJ,8CACG,CAAC,gBAAgB,cAChB,oBAAC;EACC,WAAW,mBACT,YAAY,SACX,cAAc,aAAa,GAC7B;EACD,SAAQ;EACR,SAAS,MAAM;YAChB;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 { 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"}
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { NoticeIconProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime134 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime206 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_runtime134 from "react/jsx-runtime";
38
38
  declare function NoticeIcon({
39
39
  color,
40
40
  size
41
- }: NoticeIconProps): react_jsx_runtime134.JSX.Element;
41
+ }: NoticeIconProps): react_jsx_runtime206.JSX.Element;
42
42
  //#endregion
43
43
  export { NoticeIcon };
44
44
  //# sourceMappingURL=notice-icon.d.ts.map
@@ -12,12 +12,12 @@
12
12
 
13
13
  import { OptionsDataItem, OptionsProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react35 from "react";
15
+ import * as react51 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: react35.Context<ContextValue<OptionsProps<OptionsDataItem>, HTMLDivElement>>;
20
+ declare const OptionsContext: react51.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_runtime136 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime212 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_runtime136 from "react/jsx-runtime";
73
73
  declare function Options<T extends OptionsDataItem>({
74
74
  ref,
75
75
  ...props
76
- }: OptionsProps<T>): react_jsx_runtime136.JSX.Element;
76
+ }: OptionsProps<T>): react_jsx_runtime212.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_runtime135 from "react/jsx-runtime";
13
+ import * as react_jsx_runtime217 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_runtime135.JSX.Element;
40
+ }: TextProps): react_jsx_runtime217.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_runtime142 from "react/jsx-runtime";
13
+ import * as react_jsx_runtime203 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_runtime142.JSX.Element;
32
+ }: TextProps): react_jsx_runtime203.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_runtime138 from "react/jsx-runtime";
13
+ import * as react_jsx_runtime205 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_runtime138.JSX.Element;
33
+ }: TextProps): react_jsx_runtime205.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_runtime139 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime223 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_runtime139.JSX.Element;
46
+ }: OptionsItemProps<T>): react_jsx_runtime223.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_runtime141 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime234 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_runtime141.JSX.Element;
41
+ }: OptionsSectionProps<T>): react_jsx_runtime234.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 react42 from "react";
15
+ import * as react52 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: react42.Context<PaginationContextValue>;
19
+ declare const PaginationContext: react52.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_runtime171 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime230 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_runtime171.JSX.Element;
49
+ }: PaginationProps): react_jsx_runtime230.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_runtime172 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime222 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_runtime172 from "react/jsx-runtime";
33
33
  declare function PaginationNext({
34
34
  className,
35
35
  onPress
36
- }: PaginationNextProps): react_jsx_runtime172.JSX.Element;
36
+ }: PaginationNextProps): react_jsx_runtime222.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_runtime173 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime232 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_runtime173 from "react/jsx-runtime";
37
37
  declare function PaginationPages({
38
38
  className,
39
39
  onPress
40
- }: PaginationPagesProps): react_jsx_runtime173.JSX.Element[] | null;
40
+ }: PaginationPagesProps): react_jsx_runtime232.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_runtime175 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime233 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_runtime175 from "react/jsx-runtime";
33
33
  declare function PaginationPrev({
34
34
  className,
35
35
  onPress
36
- }: PaginationPrevProps): react_jsx_runtime175.JSX.Element;
36
+ }: PaginationPrevProps): react_jsx_runtime233.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_runtime176 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime174 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_runtime176 from "react/jsx-runtime";
36
36
  declare function PopoverContent({
37
37
  className,
38
38
  ...rest
39
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime176.JSX.Element;
39
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime174.JSX.Element;
40
40
  //#endregion
41
41
  export { PopoverContent };
42
42
  //# sourceMappingURL=content.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_runtime177 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime176 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/popover/footer.d.ts
18
18
 
@@ -38,7 +38,7 @@ import * as react_jsx_runtime177 from "react/jsx-runtime";
38
38
  declare function PopoverFooter({
39
39
  children,
40
40
  className
41
- }: ComponentPropsWithRef<'footer'>): react_jsx_runtime177.JSX.Element;
41
+ }: ComponentPropsWithRef<'footer'>): react_jsx_runtime176.JSX.Element;
42
42
  //#endregion
43
43
  export { PopoverFooter };
44
44
  //# sourceMappingURL=footer.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PopoverProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime178 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime175 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/popover/index.d.ts
18
18
 
@@ -58,7 +58,7 @@ declare function Popover({
58
58
  classNames,
59
59
  dialogProps,
60
60
  ...rest
61
- }: PopoverProps): react_jsx_runtime178.JSX.Element;
61
+ }: PopoverProps): react_jsx_runtime175.JSX.Element;
62
62
  //#endregion
63
63
  export { Popover };
64
64
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime174 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime170 from "react/jsx-runtime";
15
15
  import { HeadingProps } from "react-aria-components/Heading";
16
16
 
17
17
  //#region src/components/popover/title.d.ts
@@ -33,7 +33,7 @@ import { HeadingProps } from "react-aria-components/Heading";
33
33
  declare function PopoverTitle({
34
34
  className,
35
35
  ...rest
36
- }: HeadingProps): react_jsx_runtime174.JSX.Element;
36
+ }: HeadingProps): react_jsx_runtime170.JSX.Element;
37
37
  //#endregion
38
38
  export { PopoverTitle };
39
39
  //# sourceMappingURL=title.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { PopoverTriggerProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime179 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime180 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/popover/trigger.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function PopoverTrigger({
41
41
  ref,
42
42
  children,
43
43
  ...rest
44
- }: PopoverTriggerProps): react_jsx_runtime179.JSX.Element;
44
+ }: PopoverTriggerProps): react_jsx_runtime180.JSX.Element;
45
45
  //#endregion
46
46
  export { PopoverTrigger };
47
47
  //# sourceMappingURL=trigger.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime184 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime204 from "react/jsx-runtime";
15
15
  import { ActionProps } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/action-element.d.ts
@@ -38,7 +38,7 @@ declare function ActionElement({
38
38
  disabledTranslation,
39
39
  title: titleProp,
40
40
  handleOnClick
41
- }: ActionProps): react_jsx_runtime184.JSX.Element;
41
+ }: ActionProps): react_jsx_runtime204.JSX.Element;
42
42
  //#endregion
43
43
  export { ActionElement };
44
44
  //# sourceMappingURL=action-element.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime185 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime219 from "react/jsx-runtime";
15
15
  import { ActionProps } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/actions.d.ts
@@ -30,7 +30,7 @@ declare function RemoveRuleAction({
30
30
  handleOnClick,
31
31
  className,
32
32
  ...rest
33
- }: ActionProps): react_jsx_runtime185.JSX.Element;
33
+ }: ActionProps): react_jsx_runtime219.JSX.Element;
34
34
  /**
35
35
  * Lock/unlock toggle button for rules or groups
36
36
  *
@@ -46,7 +46,7 @@ declare function LockAction({
46
46
  handleOnClick,
47
47
  className,
48
48
  ...rest
49
- }: ActionProps): react_jsx_runtime185.JSX.Element;
49
+ }: ActionProps): react_jsx_runtime219.JSX.Element;
50
50
  /**
51
51
  * Duplicate button for cloning rules or groups
52
52
  *
@@ -62,7 +62,7 @@ declare function CloneAction({
62
62
  handleOnClick,
63
63
  className,
64
64
  ...rest
65
- }: ActionProps): react_jsx_runtime185.JSX.Element;
65
+ }: ActionProps): react_jsx_runtime219.JSX.Element;
66
66
  //#endregion
67
67
  export { CloneAction, LockAction, RemoveRuleAction };
68
68
  //# sourceMappingURL=actions.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime188 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime202 from "react/jsx-runtime";
15
15
  import { CombinatorSelectorProps } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/combinator-selector.d.ts
@@ -27,7 +27,7 @@ declare function CombinatorSelector({
27
27
  options,
28
28
  value,
29
29
  handleOnChange
30
- }: CombinatorSelectorProps): react_jsx_runtime188.JSX.Element;
30
+ }: CombinatorSelectorProps): react_jsx_runtime202.JSX.Element;
31
31
  //#endregion
32
32
  export { CombinatorSelector };
33
33
  //# sourceMappingURL=combinator-selector.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { QueryBuilderProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime189 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime199 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/query-builder/index.d.ts
18
18
 
@@ -55,7 +55,7 @@ declare function QueryBuilder({
55
55
  orientation,
56
56
  showRuleLines,
57
57
  ...rest
58
- }: QueryBuilderProps): react_jsx_runtime189.JSX.Element;
58
+ }: QueryBuilderProps): react_jsx_runtime199.JSX.Element;
59
59
  //#endregion
60
60
  export { QueryBuilder };
61
61
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime190 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime207 from "react/jsx-runtime";
15
15
  import { RuleGroupProps, useRuleGroup } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/rule-group.d.ts
@@ -33,7 +33,7 @@ import { RuleGroupProps, useRuleGroup } from "react-querybuilder";
33
33
  * @param props - RuleGroupProps from react-querybuilder.
34
34
  * @returns The rendered RuleGroup component.
35
35
  */
36
- declare function RuleGroup(props: RuleGroupProps): react_jsx_runtime190.JSX.Element;
36
+ declare function RuleGroup(props: RuleGroupProps): react_jsx_runtime207.JSX.Element;
37
37
  /**
38
38
  * Header section with combinator selector and group actions (clone, lock, remove)
39
39
  *
@@ -49,7 +49,7 @@ declare function RuleGroup(props: RuleGroupProps): react_jsx_runtime190.JSX.Elem
49
49
  * @param ruleGroup - Combined RuleGroupProps and useRuleGroup return value.
50
50
  * @returns The rendered header with combinator and action controls.
51
51
  */
52
- declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>): react_jsx_runtime190.JSX.Element;
52
+ declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>): react_jsx_runtime207.JSX.Element;
53
53
  /**
54
54
  * Footer section with add rule and add group actions
55
55
  *
@@ -65,7 +65,7 @@ declare function RuleGroupHeaderComponent(ruleGroup: RuleGroupProps & ReturnType
65
65
  * @param ruleGroup - Combined RuleGroupProps and useRuleGroup return value.
66
66
  * @returns The rendered footer with add rule and add group buttons.
67
67
  */
68
- declare function RuleGroupFooterComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>): react_jsx_runtime190.JSX.Element;
68
+ declare function RuleGroupFooterComponent(ruleGroup: RuleGroupProps & ReturnType<typeof useRuleGroup>): react_jsx_runtime207.JSX.Element;
69
69
  //#endregion
70
70
  export { RuleGroup, RuleGroupFooterComponent, RuleGroupHeaderComponent };
71
71
  //# sourceMappingURL=rule-group.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime194 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime210 from "react/jsx-runtime";
15
15
  import { RuleProps } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/rule.d.ts
@@ -33,7 +33,7 @@ import { RuleProps } from "react-querybuilder";
33
33
  * @param props - RuleProps from react-querybuilder.
34
34
  * @returns The rendered Rule component with all selectors and actions.
35
35
  */
36
- declare function Rule(props: RuleProps): react_jsx_runtime194.JSX.Element;
36
+ declare function Rule(props: RuleProps): react_jsx_runtime210.JSX.Element;
37
37
  //#endregion
38
38
  export { Rule };
39
39
  //# sourceMappingURL=rule.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime193 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime214 from "react/jsx-runtime";
15
15
  import { ValueEditorProps } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/value-editor.d.ts
@@ -36,7 +36,7 @@ import { ValueEditorProps } from "react-querybuilder";
36
36
  * @param props - ValueEditorProps from react-querybuilder.
37
37
  * @returns The rendered value editor, or null for null/notNull operators.
38
38
  */
39
- declare function ValueEditor(props: ValueEditorProps): react_jsx_runtime193.JSX.Element | null;
39
+ declare function ValueEditor(props: ValueEditorProps): react_jsx_runtime214.JSX.Element | null;
40
40
  //#endregion
41
41
  export { ValueEditor };
42
42
  //# sourceMappingURL=value-editor.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime195 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime211 from "react/jsx-runtime";
15
15
  import { ValueSelectorProps } from "react-querybuilder";
16
16
 
17
17
  //#region src/components/query-builder/value-selector.d.ts
@@ -36,7 +36,7 @@ import { ValueSelectorProps } from "react-querybuilder";
36
36
  * @param props - ValueSelectorProps from react-querybuilder.
37
37
  * @returns The rendered ValueSelector dropdown.
38
38
  */
39
- declare function ValueSelector(props: ValueSelectorProps): react_jsx_runtime195.JSX.Element;
39
+ declare function ValueSelector(props: ValueSelectorProps): react_jsx_runtime211.JSX.Element;
40
40
  //#endregion
41
41
  export { ValueSelector };
42
42
  //# sourceMappingURL=value-selector.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { RadioGroupProps, RadioProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react44 from "react";
15
+ import * as react46 from "react";
16
16
  import { ContextValue } from "react-aria-components/slots";
17
17
 
18
18
  //#region src/components/radio/context.d.ts
@@ -21,13 +21,13 @@ import { ContextValue } from "react-aria-components/slots";
21
21
  *
22
22
  * Provides context for RadioGroup component to share state with Radio components
23
23
  */
24
- declare const RadioGroupContext: react44.Context<ContextValue<RadioGroupProps, HTMLDivElement>>;
24
+ declare const RadioGroupContext: react46.Context<ContextValue<RadioGroupProps, HTMLDivElement>>;
25
25
  /**
26
26
  * Context for Radio component
27
27
  *
28
28
  * Provides context for Radio component to share configuration from RadioGroup
29
29
  */
30
- declare const RadioContext: react44.Context<ContextValue<RadioProps, HTMLLabelElement>>;
30
+ declare const RadioContext: react46.Context<ContextValue<RadioProps, HTMLLabelElement>>;
31
31
  //#endregion
32
32
  export { RadioContext, RadioGroupContext };
33
33
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { RadioGroupProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime196 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime177 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/radio/group.d.ts
18
18
 
@@ -41,7 +41,7 @@ import * as react_jsx_runtime196 from "react/jsx-runtime";
41
41
  declare function RadioGroup({
42
42
  ref,
43
43
  ...props
44
- }: RadioGroupProps): react_jsx_runtime196.JSX.Element;
44
+ }: RadioGroupProps): react_jsx_runtime177.JSX.Element;
45
45
  //#endregion
46
46
  export { RadioGroup };
47
47
  //# sourceMappingURL=group.d.ts.map