@accelint/design-toolkit 9.8.0 → 9.9.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 (243) hide show
  1. package/catalog-info.yaml +3 -3
  2. package/dist/components/accordion/context.d.ts +2 -2
  3. package/dist/components/accordion/group.d.ts +2 -2
  4. package/dist/components/accordion/header.d.ts +2 -2
  5. package/dist/components/accordion/index.d.ts +2 -2
  6. package/dist/components/accordion/trigger.d.ts +2 -2
  7. package/dist/components/action-bar/index.d.ts +2 -2
  8. package/dist/components/audio/index.d.ts +2 -2
  9. package/dist/components/avatar/context.d.ts +4 -4
  10. package/dist/components/avatar/index.d.ts +2 -2
  11. package/dist/components/badge/context.d.ts +2 -2
  12. package/dist/components/badge/index.d.ts +2 -2
  13. package/dist/components/breadcrumbs/index.d.ts +2 -2
  14. package/dist/components/breadcrumbs/item.d.ts +2 -2
  15. package/dist/components/button/__internal__/clear.js +1 -0
  16. package/dist/components/button/__internal__/clear.js.map +1 -1
  17. package/dist/components/button/context.d.ts +8 -8
  18. package/dist/components/button/index.d.ts +2 -2
  19. package/dist/components/button/link.d.ts +2 -2
  20. package/dist/components/button/toggle.d.ts +2 -2
  21. package/dist/components/checkbox/context.d.ts +3 -3
  22. package/dist/components/checkbox/group.d.ts +2 -2
  23. package/dist/components/checkbox/index.d.ts +2 -2
  24. package/dist/components/chip/context.d.ts +4 -4
  25. package/dist/components/chip/deletable.d.ts +2 -2
  26. package/dist/components/chip/index.d.ts +2 -2
  27. package/dist/components/chip/list.d.ts +2 -2
  28. package/dist/components/chip/selectable.d.ts +2 -2
  29. package/dist/components/classification-badge/context.d.ts +4 -4
  30. package/dist/components/classification-badge/index.d.ts +2 -2
  31. package/dist/components/classification-banner/context.d.ts +4 -4
  32. package/dist/components/classification-banner/index.d.ts +2 -2
  33. package/dist/components/clock/index.d.ts +2 -2
  34. package/dist/components/color-picker/index.d.ts +7 -45
  35. package/dist/components/color-picker/index.js +34 -52
  36. package/dist/components/color-picker/index.js.map +1 -1
  37. package/dist/components/color-picker/styles.module.css +5 -1
  38. package/dist/components/color-picker/types.d.ts +17 -4
  39. package/dist/components/combobox-field/context.d.ts +4 -4
  40. package/dist/components/combobox-field/index.d.ts +2 -2
  41. package/dist/components/combobox-field/index.js +19 -1
  42. package/dist/components/combobox-field/index.js.map +1 -1
  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/index.js +49 -42
  46. package/dist/components/coordinate-field/index.js.map +1 -1
  47. package/dist/components/coordinate-field/segment.d.ts +2 -2
  48. package/dist/components/coordinate-field/types.d.ts +5 -0
  49. package/dist/components/coordinate-field/types.js.map +1 -1
  50. package/dist/components/date-field/index.d.ts +2 -2
  51. package/dist/components/deferred-collection/index.d.ts +2 -2
  52. package/dist/components/details-list/context.d.ts +4 -4
  53. package/dist/components/details-list/index.d.ts +2 -2
  54. package/dist/components/details-list/label.d.ts +2 -2
  55. package/dist/components/details-list/value.d.ts +2 -2
  56. package/dist/components/dialog/content.d.ts +2 -2
  57. package/dist/components/dialog/context.d.ts +2 -2
  58. package/dist/components/dialog/footer.d.ts +2 -2
  59. package/dist/components/dialog/index.d.ts +2 -2
  60. package/dist/components/dialog/title.d.ts +2 -2
  61. package/dist/components/divider/context.d.ts +4 -4
  62. package/dist/components/divider/index.d.ts +2 -2
  63. package/dist/components/drawer/back.d.ts +2 -2
  64. package/dist/components/drawer/close.d.ts +2 -2
  65. package/dist/components/drawer/content.d.ts +2 -2
  66. package/dist/components/drawer/context.d.ts +3 -3
  67. package/dist/components/drawer/footer.d.ts +2 -2
  68. package/dist/components/drawer/header-title.d.ts +2 -2
  69. package/dist/components/drawer/header.d.ts +2 -2
  70. package/dist/components/drawer/index.d.ts +2 -2
  71. package/dist/components/drawer/layout-main.d.ts +2 -2
  72. package/dist/components/drawer/layout.d.ts +2 -2
  73. package/dist/components/drawer/menu-item.d.ts +2 -2
  74. package/dist/components/drawer/menu-item.js +2 -2
  75. package/dist/components/drawer/menu.d.ts +2 -2
  76. package/dist/components/drawer/panel.d.ts +2 -2
  77. package/dist/components/drawer/trigger.d.ts +2 -2
  78. package/dist/components/drawer/types.d.ts +1 -1
  79. package/dist/components/drawer/view.d.ts +2 -2
  80. package/dist/components/flashcard/index.d.ts +9 -9
  81. package/dist/components/floating-card/context.d.ts +2 -2
  82. package/dist/components/floating-card/index.d.ts +2 -2
  83. package/dist/components/floating-card/provider.d.ts +2 -2
  84. package/dist/components/floating-card/provider.js +2 -2
  85. package/dist/components/floating-card/provider.js.map +1 -1
  86. package/dist/components/floating-card/styles.module.css +1 -1
  87. package/dist/components/hero/context.d.ts +2 -2
  88. package/dist/components/hero/index.d.ts +2 -2
  89. package/dist/components/hero/subtitle.d.ts +2 -2
  90. package/dist/components/hero/title.d.ts +2 -2
  91. package/dist/components/hotkey/context.d.ts +2 -2
  92. package/dist/components/hotkey/index.d.ts +2 -2
  93. package/dist/components/hotkey/set.d.ts +2 -2
  94. package/dist/components/icon/context.d.ts +4 -4
  95. package/dist/components/icon/index.d.ts +2 -2
  96. package/dist/components/input/context.d.ts +2 -2
  97. package/dist/components/input/index.d.ts +2 -2
  98. package/dist/components/input/styles.module.css +8 -0
  99. package/dist/components/kanban/card-body.d.ts +2 -2
  100. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  101. package/dist/components/kanban/card-header-title.d.ts +2 -2
  102. package/dist/components/kanban/card-header.d.ts +2 -2
  103. package/dist/components/kanban/card.d.ts +2 -2
  104. package/dist/components/kanban/column-actions.d.ts +2 -2
  105. package/dist/components/kanban/column-container.d.ts +2 -2
  106. package/dist/components/kanban/column-content.d.ts +2 -2
  107. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  108. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  109. package/dist/components/kanban/column-header-title.d.ts +2 -2
  110. package/dist/components/kanban/column-header.d.ts +2 -2
  111. package/dist/components/kanban/column.d.ts +2 -2
  112. package/dist/components/kanban/context.d.ts +2 -2
  113. package/dist/components/kanban/header-actions.d.ts +2 -2
  114. package/dist/components/kanban/header-search.d.ts +2 -2
  115. package/dist/components/kanban/header-title.d.ts +2 -2
  116. package/dist/components/kanban/header.d.ts +2 -2
  117. package/dist/components/kanban/kanban.d.ts +4 -4
  118. package/dist/components/label/context.d.ts +4 -4
  119. package/dist/components/label/index.d.ts +2 -2
  120. package/dist/components/lines/index.d.ts +2 -2
  121. package/dist/components/link/context.d.ts +2 -2
  122. package/dist/components/link/index.d.ts +2 -2
  123. package/dist/components/list/context.d.ts +2 -2
  124. package/dist/components/list/index.d.ts +2 -2
  125. package/dist/components/list/item-content.d.ts +2 -2
  126. package/dist/components/list/item-description.d.ts +2 -2
  127. package/dist/components/list/item-title.d.ts +2 -2
  128. package/dist/components/list/item.d.ts +2 -2
  129. package/dist/components/media-controls/context.d.ts +4 -4
  130. package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
  131. package/dist/components/media-controls/index.d.ts +2 -2
  132. package/dist/components/media-controls/mute-button.d.ts +2 -2
  133. package/dist/components/media-controls/play-button.d.ts +2 -2
  134. package/dist/components/media-controls/playback-rate.d.ts +2 -2
  135. package/dist/components/media-controls/seek-button.d.ts +2 -2
  136. package/dist/components/media-controls/time-display.d.ts +2 -2
  137. package/dist/components/media-controls/time-range.d.ts +2 -2
  138. package/dist/components/media-controls/volume-slider.d.ts +2 -2
  139. package/dist/components/menu/context.d.ts +2 -2
  140. package/dist/components/menu/index.d.ts +2 -2
  141. package/dist/components/menu/item-description.d.ts +2 -2
  142. package/dist/components/menu/item-label.d.ts +2 -2
  143. package/dist/components/menu/item.d.ts +2 -2
  144. package/dist/components/menu/section.d.ts +2 -2
  145. package/dist/components/menu/separator.d.ts +2 -2
  146. package/dist/components/menu/submenu.d.ts +2 -2
  147. package/dist/components/notice/index.d.ts +2 -2
  148. package/dist/components/notice/list.d.ts +2 -2
  149. package/dist/components/notice/list.js +1 -1
  150. package/dist/components/notice/notice-icon.d.ts +2 -2
  151. package/dist/components/notice/types.d.ts +1 -1
  152. package/dist/components/options/context.d.ts +2 -2
  153. package/dist/components/options/index.d.ts +2 -2
  154. package/dist/components/options/item-content.d.ts +2 -2
  155. package/dist/components/options/item-description.d.ts +2 -2
  156. package/dist/components/options/item-label.d.ts +3 -2
  157. package/dist/components/options/item-label.js +20 -4
  158. package/dist/components/options/item-label.js.map +1 -1
  159. package/dist/components/options/item.d.ts +2 -2
  160. package/dist/components/options/section.d.ts +2 -2
  161. package/dist/components/options/styles.module.css +20 -0
  162. package/dist/components/pagination/context.d.ts +2 -2
  163. package/dist/components/pagination/index.d.ts +2 -2
  164. package/dist/components/pagination/next.d.ts +2 -2
  165. package/dist/components/pagination/pages.d.ts +2 -2
  166. package/dist/components/pagination/prev.d.ts +2 -2
  167. package/dist/components/popover/content.d.ts +2 -2
  168. package/dist/components/popover/footer.d.ts +2 -2
  169. package/dist/components/popover/index.d.ts +2 -2
  170. package/dist/components/popover/title.d.ts +2 -2
  171. package/dist/components/popover/trigger.d.ts +2 -2
  172. package/dist/components/query-builder/action-element.d.ts +2 -2
  173. package/dist/components/query-builder/actions.d.ts +4 -4
  174. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  175. package/dist/components/query-builder/index.d.ts +2 -2
  176. package/dist/components/query-builder/rule-group.d.ts +4 -4
  177. package/dist/components/query-builder/rule.d.ts +2 -2
  178. package/dist/components/query-builder/value-editor.d.ts +2 -2
  179. package/dist/components/query-builder/value-selector.d.ts +2 -2
  180. package/dist/components/radio/group.d.ts +2 -2
  181. package/dist/components/radio/index.d.ts +2 -2
  182. package/dist/components/search-field/context.d.ts +4 -4
  183. package/dist/components/search-field/index.d.ts +2 -2
  184. package/dist/components/select-field/context.d.ts +4 -4
  185. package/dist/components/select-field/index.d.ts +2 -2
  186. package/dist/components/sidenav/avatar.d.ts +2 -2
  187. package/dist/components/sidenav/content.d.ts +2 -2
  188. package/dist/components/sidenav/context.d.ts +2 -2
  189. package/dist/components/sidenav/footer.d.ts +2 -2
  190. package/dist/components/sidenav/header.d.ts +2 -2
  191. package/dist/components/sidenav/index.d.ts +2 -2
  192. package/dist/components/sidenav/item.d.ts +2 -2
  193. package/dist/components/sidenav/link.d.ts +2 -2
  194. package/dist/components/sidenav/menu.d.ts +2 -2
  195. package/dist/components/sidenav/trigger.js +1 -1
  196. package/dist/components/sidenav/types.d.ts +1 -1
  197. package/dist/components/slider/index.d.ts +2 -2
  198. package/dist/components/slider/styles.module.css +3 -2
  199. package/dist/components/status-indicator/index.d.ts +2 -2
  200. package/dist/components/switch/context.d.ts +2 -2
  201. package/dist/components/switch/index.d.ts +2 -2
  202. package/dist/components/table/body.d.ts +2 -2
  203. package/dist/components/table/cell.d.ts +2 -2
  204. package/dist/components/table/header-cell.d.ts +2 -2
  205. package/dist/components/table/header.d.ts +2 -2
  206. package/dist/components/table/index.d.ts +2 -2
  207. package/dist/components/table/row.d.ts +2 -2
  208. package/dist/components/tabs/context.d.ts +6 -6
  209. package/dist/components/tabs/index.d.ts +2 -2
  210. package/dist/components/tabs/list.d.ts +2 -2
  211. package/dist/components/tabs/panel.d.ts +2 -2
  212. package/dist/components/tabs/tab.d.ts +2 -2
  213. package/dist/components/text-area-field/context.d.ts +4 -4
  214. package/dist/components/text-area-field/index.d.ts +2 -2
  215. package/dist/components/text-field/context.d.ts +4 -4
  216. package/dist/components/text-field/index.d.ts +2 -2
  217. package/dist/components/time-field/index.d.ts +2 -2
  218. package/dist/components/tooltip/index.d.ts +2 -2
  219. package/dist/components/tooltip/trigger.d.ts +2 -2
  220. package/dist/components/tooltip/trigger.js +1 -1
  221. package/dist/components/tree/context.d.ts +3 -3
  222. package/dist/components/tree/index.d.ts +2 -2
  223. package/dist/components/tree/item-actions.d.ts +2 -2
  224. package/dist/components/tree/item-content.d.ts +2 -2
  225. package/dist/components/tree/item-description.d.ts +2 -2
  226. package/dist/components/tree/item-label.d.ts +2 -2
  227. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  228. package/dist/components/tree/item.d.ts +2 -2
  229. package/dist/components/tree/lines.d.ts +2 -2
  230. package/dist/components/video/index.d.ts +2 -2
  231. package/dist/components/view-stack/context.d.ts +2 -2
  232. package/dist/components/view-stack/index.d.ts +2 -2
  233. package/dist/components/view-stack/index.js +1 -1
  234. package/dist/components/view-stack/trigger.d.ts +2 -2
  235. package/dist/components/view-stack/types.d.ts +1 -1
  236. package/dist/components/view-stack/view.d.ts +2 -2
  237. package/dist/index.js +3 -3
  238. package/dist/node_modules/.pnpm/@react-aria_collections@3.0.0-rc.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/collections/dist/BaseCollection.js +134 -0
  239. package/dist/node_modules/.pnpm/@react-aria_collections@3.0.0-rc.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/collections/dist/BaseCollection.js.map +1 -0
  240. package/dist/providers/portal.d.ts +2 -2
  241. package/dist/providers/portal.js +1 -1
  242. package/dist/providers/theme-provider.d.ts +2 -2
  243. package/package.json +12 -7
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { ViewStackViewProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime198 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime185 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/view-stack/view.d.ts
18
18
 
@@ -43,7 +43,7 @@ import * as react_jsx_runtime198 from "react/jsx-runtime";
43
43
  declare function ViewStackView({
44
44
  id,
45
45
  children
46
- }: ViewStackViewProps): react_jsx_runtime198.JSX.Element | null;
46
+ }: ViewStackViewProps): react_jsx_runtime185.JSX.Element | null;
47
47
  //#endregion
48
48
  export { ViewStackView };
49
49
  //# sourceMappingURL=view.d.ts.map
package/dist/index.js CHANGED
@@ -83,6 +83,9 @@ import { PopoverTitle } from "./components/popover/title.js";
83
83
  import { RadioContext, RadioGroupContext } from "./components/radio/context.js";
84
84
  import { Radio } from "./components/radio/index.js";
85
85
  import { RadioGroup } from "./components/radio/group.js";
86
+ import { Tooltip } from "./components/tooltip/index.js";
87
+ import { TooltipContext } from "./components/tooltip/context.js";
88
+ import { TooltipTrigger } from "./components/tooltip/trigger.js";
86
89
  import { CoordinateSegment } from "./components/coordinate-field/segment.js";
87
90
  import { CoordinateField } from "./components/coordinate-field/index.js";
88
91
  import { DateField } from "./components/date-field/index.js";
@@ -109,9 +112,6 @@ import { ViewStack } from "./components/view-stack/index.js";
109
112
  import { Drawer } from "./components/drawer/index.js";
110
113
  import { DrawerLayoutMain } from "./components/drawer/layout-main.js";
111
114
  import { DrawerLayout } from "./components/drawer/layout.js";
112
- import { Tooltip } from "./components/tooltip/index.js";
113
- import { TooltipContext } from "./components/tooltip/context.js";
114
- import { TooltipTrigger } from "./components/tooltip/trigger.js";
115
115
  import { DrawerMenuItem } from "./components/drawer/menu-item.js";
116
116
  import { DrawerMenu } from "./components/drawer/menu.js";
117
117
  import { DrawerPanel } from "./components/drawer/panel.js";
@@ -0,0 +1,134 @@
1
+ /*
2
+ * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at https://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+
13
+
14
+ //#region ../../node_modules/.pnpm/@react-aria+collections@3.0.0-rc.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/collections/dist/BaseCollection.mjs
15
+ var $23b9f4fcf0fe224b$export$d68d59712b04d9d1 = class {
16
+ get childNodes() {
17
+ throw new Error("childNodes is not supported");
18
+ }
19
+ clone() {
20
+ let node = new this.constructor(this.key);
21
+ node.value = this.value;
22
+ node.level = this.level;
23
+ node.hasChildNodes = this.hasChildNodes;
24
+ node.rendered = this.rendered;
25
+ node.textValue = this.textValue;
26
+ node["aria-label"] = this["aria-label"];
27
+ node.index = this.index;
28
+ node.parentKey = this.parentKey;
29
+ node.prevKey = this.prevKey;
30
+ node.nextKey = this.nextKey;
31
+ node.firstChildKey = this.firstChildKey;
32
+ node.lastChildKey = this.lastChildKey;
33
+ node.props = this.props;
34
+ node.render = this.render;
35
+ node.colSpan = this.colSpan;
36
+ node.colIndex = this.colIndex;
37
+ return node;
38
+ }
39
+ filter(collection, newCollection, filterFn) {
40
+ let clone = this.clone();
41
+ newCollection.addDescendants(clone, collection);
42
+ return clone;
43
+ }
44
+ constructor(key) {
45
+ this.value = null;
46
+ this.level = 0;
47
+ this.hasChildNodes = false;
48
+ this.rendered = null;
49
+ this.textValue = "";
50
+ this["aria-label"] = void 0;
51
+ this.index = 0;
52
+ this.parentKey = null;
53
+ this.prevKey = null;
54
+ this.nextKey = null;
55
+ this.firstChildKey = null;
56
+ this.lastChildKey = null;
57
+ this.props = {};
58
+ this.colSpan = null;
59
+ this.colIndex = null;
60
+ this.type = this.constructor.type;
61
+ this.key = key;
62
+ }
63
+ };
64
+ var $23b9f4fcf0fe224b$export$b1918e978f1ee46f = class extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
65
+ filter(collection, newCollection, filterFn) {
66
+ let [firstKey, lastKey] = $23b9f4fcf0fe224b$var$filterChildren(collection, newCollection, this.firstChildKey, filterFn);
67
+ let newNode = this.clone();
68
+ newNode.firstChildKey = firstKey;
69
+ newNode.lastChildKey = lastKey;
70
+ return newNode;
71
+ }
72
+ };
73
+ var $23b9f4fcf0fe224b$export$5ae2504e948afce5 = class extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {};
74
+ $23b9f4fcf0fe224b$export$5ae2504e948afce5.type = "header";
75
+ var $23b9f4fcf0fe224b$export$8258a0665a675899 = class extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {};
76
+ $23b9f4fcf0fe224b$export$8258a0665a675899.type = "loader";
77
+ var $23b9f4fcf0fe224b$export$fd11f34e1d07f134 = class extends $23b9f4fcf0fe224b$export$b1918e978f1ee46f {
78
+ filter(collection, newCollection, filterFn) {
79
+ if (filterFn(this.textValue, this)) {
80
+ let clone = this.clone();
81
+ newCollection.addDescendants(clone, collection);
82
+ return clone;
83
+ }
84
+ return null;
85
+ }
86
+ };
87
+ $23b9f4fcf0fe224b$export$fd11f34e1d07f134.type = "item";
88
+ var $23b9f4fcf0fe224b$export$437f11dc9b403b78 = class extends $23b9f4fcf0fe224b$export$b1918e978f1ee46f {
89
+ filter(collection, newCollection, filterFn) {
90
+ let filteredSection = super.filter(collection, newCollection, filterFn);
91
+ if (filteredSection) {
92
+ if (filteredSection.lastChildKey !== null) {
93
+ let lastChild = collection.getItem(filteredSection.lastChildKey);
94
+ if (lastChild && lastChild.type !== "header") return filteredSection;
95
+ }
96
+ }
97
+ return null;
98
+ }
99
+ };
100
+ $23b9f4fcf0fe224b$export$437f11dc9b403b78.type = "section";
101
+ function $23b9f4fcf0fe224b$var$filterChildren(collection, newCollection, firstChildKey, filterFn) {
102
+ if (firstChildKey == null) return [null, null];
103
+ let firstNode = null;
104
+ let lastNode = null;
105
+ let currentNode = collection.getItem(firstChildKey);
106
+ while (currentNode != null) {
107
+ let newNode = currentNode.filter(collection, newCollection, filterFn);
108
+ if (newNode != null) {
109
+ newNode.nextKey = null;
110
+ if (lastNode) {
111
+ newNode.prevKey = lastNode.key;
112
+ lastNode.nextKey = newNode.key;
113
+ }
114
+ if (firstNode == null) firstNode = newNode;
115
+ newCollection.addNode(newNode);
116
+ lastNode = newNode;
117
+ }
118
+ currentNode = currentNode.nextKey ? collection.getItem(currentNode.nextKey) : null;
119
+ }
120
+ if (lastNode && lastNode.type === "separator") {
121
+ let prevKey = lastNode.prevKey;
122
+ newCollection.removeNode(lastNode.key);
123
+ if (prevKey) {
124
+ lastNode = newCollection.getItem(prevKey);
125
+ lastNode.nextKey = null;
126
+ } else lastNode = null;
127
+ }
128
+ var _firstNode_key, _lastNode_key;
129
+ return [(_firstNode_key = firstNode === null || firstNode === void 0 ? void 0 : firstNode.key) !== null && _firstNode_key !== void 0 ? _firstNode_key : null, (_lastNode_key = lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) !== null && _lastNode_key !== void 0 ? _lastNode_key : null];
130
+ }
131
+
132
+ //#endregion
133
+ export { $23b9f4fcf0fe224b$export$d68d59712b04d9d1 };
134
+ //# sourceMappingURL=BaseCollection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseCollection.js","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/@react-aria+collections@3.0.0-rc.7_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. 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 http://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 */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new this.constructor(this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n filter(collection, newCollection, filterFn) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n constructor(key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = this.constructor.type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$b1918e978f1ee46f extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n filter(collection, newCollection, filterFn) {\n let [firstKey, lastKey] = $23b9f4fcf0fe224b$var$filterChildren(collection, newCollection, this.firstChildKey, filterFn);\n let newNode = this.clone();\n newNode.firstChildKey = firstKey;\n newNode.lastChildKey = lastKey;\n return newNode;\n }\n}\nclass $23b9f4fcf0fe224b$export$5ae2504e948afce5 extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n}\n$23b9f4fcf0fe224b$export$5ae2504e948afce5.type = 'header';\nclass $23b9f4fcf0fe224b$export$8258a0665a675899 extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n}\n$23b9f4fcf0fe224b$export$8258a0665a675899.type = 'loader';\nclass $23b9f4fcf0fe224b$export$fd11f34e1d07f134 extends $23b9f4fcf0fe224b$export$b1918e978f1ee46f {\n filter(collection, newCollection, filterFn) {\n if (filterFn(this.textValue, this)) {\n let clone = this.clone();\n newCollection.addDescendants(clone, collection);\n return clone;\n }\n return null;\n }\n}\n$23b9f4fcf0fe224b$export$fd11f34e1d07f134.type = 'item';\nclass $23b9f4fcf0fe224b$export$437f11dc9b403b78 extends $23b9f4fcf0fe224b$export$b1918e978f1ee46f {\n filter(collection, newCollection, filterFn) {\n let filteredSection = super.filter(collection, newCollection, filterFn);\n if (filteredSection) {\n if (filteredSection.lastChildKey !== null) {\n let lastChild = collection.getItem(filteredSection.lastChildKey);\n if (lastChild && lastChild.type !== 'header') return filteredSection;\n }\n }\n return null;\n }\n}\n$23b9f4fcf0fe224b$export$437f11dc9b403b78.type = 'section';\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.itemCount;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n collection.itemCount = this.itemCount;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n if (node.type === 'item' && this.keyMap.get(node.key) == null) this.itemCount++;\n this.keyMap.set(node.key, node);\n }\n // Deeply add a node and its children to the collection from another collection, primarily used when filtering a collection\n addDescendants(node, oldCollection) {\n this.addNode(node);\n let children = oldCollection.getChildren(node.key);\n for (let child of children)this.addDescendants(child, oldCollection);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n let node = this.keyMap.get(key);\n if (node != null && node.type === 'item') this.itemCount--;\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n filter(filterFn) {\n let newCollection = new this.constructor();\n let [firstKey, lastKey] = $23b9f4fcf0fe224b$var$filterChildren(this, newCollection, this.firstKey, filterFn);\n newCollection === null || newCollection === void 0 ? void 0 : newCollection.commit(firstKey, lastKey);\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n this.itemCount = 0;\n }\n}\nfunction $23b9f4fcf0fe224b$var$filterChildren(collection, newCollection, firstChildKey, filterFn) {\n // loop over the siblings for firstChildKey\n // create new nodes based on calling node.filter for each child\n // if it returns null then don't include it, otherwise update its prev/next keys\n // add them to the newCollection\n if (firstChildKey == null) return [\n null,\n null\n ];\n let firstNode = null;\n let lastNode = null;\n let currentNode = collection.getItem(firstChildKey);\n while(currentNode != null){\n let newNode = currentNode.filter(collection, newCollection, filterFn);\n if (newNode != null) {\n newNode.nextKey = null;\n if (lastNode) {\n newNode.prevKey = lastNode.key;\n lastNode.nextKey = newNode.key;\n }\n if (firstNode == null) firstNode = newNode;\n newCollection.addNode(newNode);\n lastNode = newNode;\n }\n currentNode = currentNode.nextKey ? collection.getItem(currentNode.nextKey) : null;\n }\n // TODO: this is pretty specific to dividers but doesn't feel like there is a good way to get around it since we only can know\n // to filter the last separator in a collection only after performing a filter for the rest of the contents after it\n // Its gross that it needs to live here, might be nice if somehow we could have this live in the separator code\n if (lastNode && lastNode.type === 'separator') {\n let prevKey = lastNode.prevKey;\n newCollection.removeNode(lastNode.key);\n if (prevKey) {\n lastNode = newCollection.getItem(prevKey);\n lastNode.nextKey = null;\n } else lastNode = null;\n }\n var _firstNode_key, _lastNode_key;\n return [\n (_firstNode_key = firstNode === null || firstNode === void 0 ? void 0 : firstNode.key) !== null && _firstNode_key !== void 0 ? _firstNode_key : null,\n (_lastNode_key = lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) !== null && _lastNode_key !== void 0 ? _lastNode_key : null\n ];\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$b1918e978f1ee46f as FilterableNode, $23b9f4fcf0fe224b$export$5ae2504e948afce5 as HeaderNode, $23b9f4fcf0fe224b$export$8258a0665a675899 as LoaderNode, $23b9f4fcf0fe224b$export$fd11f34e1d07f134 as ItemNode, $23b9f4fcf0fe224b$export$437f11dc9b403b78 as SectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;AAUI,IAAM,4CAAN,MAAgD;CAChD,IAAI,aAAa;AACb,QAAM,IAAI,MAAM,8BAA8B;;CAElD,QAAQ;EACJ,IAAI,OAAO,IAAI,KAAK,YAAY,KAAK,IAAI;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,UAAU,SAAS,QAAQ,mBAAmB,KAAK,IAAI,iBAAiB,OAC/I,gBAAgB,aAAa,QAAQ,aAAa,KAAK,IAAI,KAAK,IAAI,SAAS,SAAS,QAAQ,kBAAkB,KAAK,IAAI,gBAAgB,KAC7I"}
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { PropsWithChildren, RefObject } from "react";
14
- import * as react_jsx_runtime0 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime159 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/providers/portal.d.ts
17
17
  /**
@@ -30,7 +30,7 @@ declare function PortalProvider({
30
30
  }: PropsWithChildren<{
31
31
  parentRef?: RefObject<HTMLElement | null>;
32
32
  inject?: HTMLElement | null;
33
- }>): react_jsx_runtime0.JSX.Element;
33
+ }>): react_jsx_runtime159.JSX.Element;
34
34
  //#endregion
35
35
  export { PortalProvider };
36
36
  //# sourceMappingURL=portal.d.ts.map
@@ -13,8 +13,8 @@
13
13
 
14
14
  import { useEffect, useState } from "react";
15
15
  import { jsx } from "react/jsx-runtime";
16
- import { UNSAFE_PortalProvider } from "@react-aria/overlays";
17
16
  import { useIsSSR } from "@react-aria/ssr";
17
+ import { UNSAFE_PortalProvider } from "@react-aria/overlays";
18
18
 
19
19
  //#region src/providers/portal.tsx
20
20
  /**
@@ -12,7 +12,7 @@
12
12
 
13
13
  import "client-only";
14
14
  import { PropsWithChildren } from "react";
15
- import * as react_jsx_runtime1 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime100 from "react/jsx-runtime";
16
16
  import { PartialDeep } from "type-fest";
17
17
  import { SemanticColorTokens, StaticColorTokens, ThemeTokens } from "@accelint/design-foundation/tokens/types";
18
18
 
@@ -46,7 +46,7 @@ declare function ThemeProvider({
46
46
  defaultMode,
47
47
  onChange,
48
48
  overrides
49
- }: ThemeProviderProps): react_jsx_runtime1.JSX.Element;
49
+ }: ThemeProviderProps): react_jsx_runtime100.JSX.Element;
50
50
  /**
51
51
  * Access the current theme context
52
52
  *
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@accelint/design-toolkit",
3
3
  "description": "An open-source component library to serve as part of the entire ecosystem of UX for Accelint.",
4
- "version": "9.8.0",
4
+ "version": "9.9.0",
5
5
  "author": "https://hypergiant.com",
6
6
  "$schema": "https://json.schemastore.org/package",
7
7
  "devDependencies": {
8
8
  "@internationalized/date": "~3.9.0",
9
9
  "@radix-ui/react-avatar": "^1.1.10",
10
+ "@react-aria/collections": "~3.0.0-rc.7",
10
11
  "@react-aria/dnd": "~3.11.2",
11
12
  "@react-aria/interactions": "~3.25.5",
12
13
  "@react-aria/overlays": "~3.29.1",
@@ -62,16 +63,18 @@
62
63
  "zod": "^4.1.12",
63
64
  "@accelint/biome-config": "1.1.0",
64
65
  "@accelint/bus": "4.0.0",
66
+ "@accelint/converters": "1.0.1",
65
67
  "@accelint/core": "0.6.0",
66
- "@accelint/design-foundation": "3.0.1",
68
+ "@accelint/design-foundation": "3.0.2",
67
69
  "@accelint/geo": "0.6.0",
70
+ "@accelint/logger": "1.1.0",
68
71
  "@accelint/icons": "2.2.0",
69
- "@accelint/logger": "1.0.1",
70
72
  "@accelint/postcss-tailwind-css-modules": "1.0.1",
73
+ "@accelint/predicates": "0.5.2",
71
74
  "@accelint/prettier-config": "0.2.1",
72
75
  "@accelint/temporal": "0.1.4",
73
- "@accelint/typescript-config": "0.1.4",
74
- "@accelint/vitest-config": "0.1.6"
76
+ "@accelint/vitest-config": "0.1.6",
77
+ "@accelint/typescript-config": "0.1.4"
75
78
  },
76
79
  "exports": {
77
80
  ".": "./dist/index.js",
@@ -423,11 +426,13 @@
423
426
  "uuid": "^11.1.0",
424
427
  "zod": "^4.1.12",
425
428
  "@accelint/bus": "4.0.0",
429
+ "@accelint/converters": "1.0.1",
426
430
  "@accelint/core": "0.6.0",
427
- "@accelint/design-foundation": "3.0.1",
431
+ "@accelint/design-foundation": "3.0.2",
428
432
  "@accelint/geo": "0.6.0",
429
433
  "@accelint/icons": "2.2.0",
430
- "@accelint/logger": "1.0.1",
434
+ "@accelint/logger": "1.1.0",
435
+ "@accelint/predicates": "0.5.2",
431
436
  "@accelint/temporal": "0.1.4"
432
437
  },
433
438
  "private": false,