@accelint/design-toolkit 9.4.1 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/catalog-info.yaml +2 -2
  2. package/dist/components/accordion/group.d.ts +2 -2
  3. package/dist/components/accordion/header.d.ts +2 -2
  4. package/dist/components/accordion/index.d.ts +2 -2
  5. package/dist/components/accordion/panel.d.ts +2 -2
  6. package/dist/components/accordion/styles.module.css +1 -1
  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 +104 -0
  10. package/dist/components/audio/index.js +242 -0
  11. package/dist/components/audio/index.js.map +1 -0
  12. package/dist/components/audio/styles.module.css +77 -0
  13. package/dist/components/audio/types.d.ts +45 -0
  14. package/dist/components/audio/types.js +12 -0
  15. package/dist/components/avatar/context.d.ts +4 -4
  16. package/dist/components/avatar/index.d.ts +2 -2
  17. package/dist/components/badge/context.d.ts +4 -4
  18. package/dist/components/badge/index.d.ts +2 -2
  19. package/dist/components/breadcrumbs/index.d.ts +2 -2
  20. package/dist/components/breadcrumbs/item.d.ts +2 -2
  21. package/dist/components/breadcrumbs/styles.module.css +1 -0
  22. package/dist/components/button/__internal__/clear.js +42 -0
  23. package/dist/components/button/__internal__/clear.js.map +1 -0
  24. package/dist/components/button/__internal__/styles.module.css +23 -0
  25. package/dist/components/button/context.d.ts +8 -8
  26. package/dist/components/button/index.d.ts +2 -2
  27. package/dist/components/button/link.d.ts +2 -2
  28. package/dist/components/button/styles.module.css +1 -1
  29. package/dist/components/button/toggle.d.ts +2 -2
  30. package/dist/components/checkbox/context.d.ts +3 -3
  31. package/dist/components/checkbox/group.d.ts +2 -2
  32. package/dist/components/checkbox/index.d.ts +2 -2
  33. package/dist/components/chip/context.d.ts +4 -4
  34. package/dist/components/chip/deletable.d.ts +2 -2
  35. package/dist/components/chip/index.d.ts +2 -2
  36. package/dist/components/chip/list.d.ts +4 -4
  37. package/dist/components/chip/selectable.d.ts +2 -2
  38. package/dist/components/chip/styles.module.css +4 -4
  39. package/dist/components/classification-badge/context.d.ts +4 -4
  40. package/dist/components/classification-badge/index.d.ts +2 -2
  41. package/dist/components/classification-banner/context.d.ts +4 -4
  42. package/dist/components/classification-banner/index.d.ts +2 -2
  43. package/dist/components/clock/index.d.ts +2 -2
  44. package/dist/components/clock/index.js +1 -0
  45. package/dist/components/clock/index.js.map +1 -1
  46. package/dist/components/color-picker/index.d.ts +2 -2
  47. package/dist/components/combobox-field/context.d.ts +4 -4
  48. package/dist/components/combobox-field/index.d.ts +2 -2
  49. package/dist/components/combobox-field/index.js +42 -14
  50. package/dist/components/combobox-field/index.js.map +1 -1
  51. package/dist/components/combobox-field/styles.module.css +15 -3
  52. package/dist/components/combobox-field/types.d.ts +4 -0
  53. package/dist/components/coordinate-field/context.d.ts +6 -6
  54. package/dist/components/coordinate-field/index.d.ts +2 -2
  55. package/dist/components/coordinate-field/segment.d.ts +2 -2
  56. package/dist/components/date-field/index.d.ts +2 -2
  57. package/dist/components/deferred-collection/index.d.ts +2 -2
  58. package/dist/components/details-list/context.d.ts +4 -4
  59. package/dist/components/details-list/index.d.ts +2 -2
  60. package/dist/components/details-list/label.d.ts +2 -2
  61. package/dist/components/details-list/value.d.ts +2 -2
  62. package/dist/components/dialog/content.d.ts +2 -2
  63. package/dist/components/dialog/context.d.ts +2 -2
  64. package/dist/components/dialog/footer.d.ts +2 -2
  65. package/dist/components/dialog/index.d.ts +2 -2
  66. package/dist/components/dialog/title.d.ts +2 -2
  67. package/dist/components/divider/context.d.ts +4 -4
  68. package/dist/components/divider/index.d.ts +2 -2
  69. package/dist/components/drawer/back.d.ts +2 -2
  70. package/dist/components/drawer/close.d.ts +2 -2
  71. package/dist/components/drawer/content.d.ts +2 -2
  72. package/dist/components/drawer/context.d.ts +2 -2
  73. package/dist/components/drawer/footer.d.ts +2 -2
  74. package/dist/components/drawer/header-title.d.ts +2 -2
  75. package/dist/components/drawer/header.d.ts +2 -2
  76. package/dist/components/drawer/header.js +1 -1
  77. package/dist/components/drawer/index.d.ts +2 -2
  78. package/dist/components/drawer/layout-main.d.ts +2 -2
  79. package/dist/components/drawer/layout.d.ts +2 -2
  80. package/dist/components/drawer/menu-item.d.ts +2 -2
  81. package/dist/components/drawer/menu.d.ts +2 -2
  82. package/dist/components/drawer/panel.d.ts +2 -2
  83. package/dist/components/drawer/trigger.d.ts +2 -2
  84. package/dist/components/drawer/view.d.ts +2 -2
  85. package/dist/components/flashcard/index.d.ts +9 -9
  86. package/dist/components/hero/context.d.ts +2 -2
  87. package/dist/components/hero/index.d.ts +2 -2
  88. package/dist/components/hero/subtitle.d.ts +2 -2
  89. package/dist/components/hero/title.d.ts +3 -3
  90. package/dist/components/hotkey/context.d.ts +2 -2
  91. package/dist/components/hotkey/index.d.ts +2 -2
  92. package/dist/components/hotkey/set.d.ts +2 -2
  93. package/dist/components/icon/context.d.ts +4 -4
  94. package/dist/components/icon/index.d.ts +2 -2
  95. package/dist/components/input/context.d.ts +2 -2
  96. package/dist/components/input/index.d.ts +2 -2
  97. package/dist/components/input/index.js +10 -14
  98. package/dist/components/input/index.js.map +1 -1
  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/kanban/styles.module.css +1 -1
  119. package/dist/components/label/context.d.ts +4 -4
  120. package/dist/components/label/index.d.ts +2 -2
  121. package/dist/components/lines/index.d.ts +2 -2
  122. package/dist/components/link/context.d.ts +2 -2
  123. package/dist/components/link/index.d.ts +2 -2
  124. package/dist/components/list/context.d.ts +2 -2
  125. package/dist/components/list/index.d.ts +2 -2
  126. package/dist/components/list/item-content.d.ts +2 -2
  127. package/dist/components/list/item-description.d.ts +2 -2
  128. package/dist/components/list/item-title.d.ts +2 -2
  129. package/dist/components/list/item.d.ts +2 -2
  130. package/dist/components/list/styles.module.css +1 -1
  131. package/dist/components/media-controls/context.d.ts +66 -0
  132. package/dist/components/media-controls/context.js +77 -0
  133. package/dist/components/media-controls/context.js.map +1 -0
  134. package/dist/components/media-controls/fullscreen-button.d.ts +55 -0
  135. package/dist/components/media-controls/fullscreen-button.js +80 -0
  136. package/dist/components/media-controls/fullscreen-button.js.map +1 -0
  137. package/dist/components/media-controls/index.d.ts +68 -0
  138. package/dist/components/media-controls/index.js +78 -0
  139. package/dist/components/media-controls/index.js.map +1 -0
  140. package/dist/components/media-controls/mute-button.d.ts +47 -0
  141. package/dist/components/media-controls/mute-button.js +73 -0
  142. package/dist/components/media-controls/mute-button.js.map +1 -0
  143. package/dist/components/media-controls/play-button.d.ts +47 -0
  144. package/dist/components/media-controls/play-button.js +71 -0
  145. package/dist/components/media-controls/play-button.js.map +1 -0
  146. package/dist/components/media-controls/playback-rate.d.ts +58 -0
  147. package/dist/components/media-controls/playback-rate.js +114 -0
  148. package/dist/components/media-controls/playback-rate.js.map +1 -0
  149. package/dist/components/media-controls/seek-button.d.ts +60 -0
  150. package/dist/components/media-controls/seek-button.js +116 -0
  151. package/dist/components/media-controls/seek-button.js.map +1 -0
  152. package/dist/components/media-controls/styles.module.css +145 -0
  153. package/dist/components/media-controls/time-display.d.ts +69 -0
  154. package/dist/components/media-controls/time-display.js +95 -0
  155. package/dist/components/media-controls/time-display.js.map +1 -0
  156. package/dist/components/media-controls/time-range.d.ts +46 -0
  157. package/dist/components/media-controls/time-range.js +63 -0
  158. package/dist/components/media-controls/time-range.js.map +1 -0
  159. package/dist/components/media-controls/types.d.ts +127 -0
  160. package/dist/components/media-controls/types.js +12 -0
  161. package/dist/components/media-controls/volume-slider.d.ts +54 -0
  162. package/dist/components/media-controls/volume-slider.js +70 -0
  163. package/dist/components/media-controls/volume-slider.js.map +1 -0
  164. package/dist/components/menu/context.d.ts +2 -2
  165. package/dist/components/menu/index.d.ts +2 -2
  166. package/dist/components/menu/item-description.d.ts +2 -2
  167. package/dist/components/menu/item-label.d.ts +2 -2
  168. package/dist/components/menu/item.d.ts +2 -2
  169. package/dist/components/menu/section.d.ts +2 -2
  170. package/dist/components/menu/separator.d.ts +2 -2
  171. package/dist/components/menu/styles.module.css +1 -1
  172. package/dist/components/menu/submenu.d.ts +3 -3
  173. package/dist/components/notice/index.d.ts +2 -2
  174. package/dist/components/notice/list.d.ts +2 -2
  175. package/dist/components/notice/notice-icon.d.ts +2 -2
  176. package/dist/components/options/context.d.ts +2 -2
  177. package/dist/components/options/index.d.ts +2 -2
  178. package/dist/components/options/item-content.d.ts +2 -2
  179. package/dist/components/options/item-description.d.ts +2 -2
  180. package/dist/components/options/item-label.d.ts +2 -2
  181. package/dist/components/options/item.d.ts +2 -2
  182. package/dist/components/options/section.d.ts +2 -2
  183. package/dist/components/options/styles.module.css +1 -1
  184. package/dist/components/pagination/context.d.ts +2 -2
  185. package/dist/components/pagination/index.d.ts +2 -2
  186. package/dist/components/pagination/next.d.ts +2 -2
  187. package/dist/components/pagination/pages.d.ts +2 -2
  188. package/dist/components/pagination/prev.d.ts +2 -2
  189. package/dist/components/popover/content.d.ts +2 -2
  190. package/dist/components/popover/footer.d.ts +2 -2
  191. package/dist/components/popover/index.d.ts +2 -2
  192. package/dist/components/popover/title.d.ts +2 -2
  193. package/dist/components/popover/trigger.d.ts +2 -2
  194. package/dist/components/query-builder/action-element.d.ts +2 -2
  195. package/dist/components/query-builder/actions.d.ts +4 -4
  196. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  197. package/dist/components/query-builder/combinator-selector.js +5 -4
  198. package/dist/components/query-builder/combinator-selector.js.map +1 -1
  199. package/dist/components/query-builder/index.d.ts +2 -2
  200. package/dist/components/query-builder/rule-group.d.ts +4 -4
  201. package/dist/components/query-builder/rule.d.ts +2 -2
  202. package/dist/components/query-builder/value-editor.d.ts +2 -2
  203. package/dist/components/query-builder/value-selector.d.ts +2 -2
  204. package/dist/components/radio/context.d.ts +2 -2
  205. package/dist/components/radio/group.d.ts +2 -2
  206. package/dist/components/radio/index.d.ts +2 -2
  207. package/dist/components/search-field/context.d.ts +4 -4
  208. package/dist/components/search-field/index.d.ts +2 -2
  209. package/dist/components/search-field/styles.module.css +1 -1
  210. package/dist/components/select-field/context.d.ts +4 -4
  211. package/dist/components/select-field/index.d.ts +2 -2
  212. package/dist/components/sidenav/avatar.d.ts +2 -2
  213. package/dist/components/sidenav/content.d.ts +2 -2
  214. package/dist/components/sidenav/context.d.ts +2 -2
  215. package/dist/components/sidenav/footer.d.ts +2 -2
  216. package/dist/components/sidenav/header.d.ts +2 -2
  217. package/dist/components/sidenav/index.d.ts +2 -2
  218. package/dist/components/sidenav/item.d.ts +2 -2
  219. package/dist/components/sidenav/link.d.ts +2 -2
  220. package/dist/components/sidenav/menu-item.d.ts +2 -2
  221. package/dist/components/sidenav/menu.d.ts +2 -2
  222. package/dist/components/sidenav/trigger.d.ts +2 -2
  223. package/dist/components/skeleton/index.d.ts +2 -2
  224. package/dist/components/slider/index.d.ts +2 -2
  225. package/dist/components/status-indicator/index.d.ts +41 -0
  226. package/dist/components/status-indicator/index.js +49 -0
  227. package/dist/components/status-indicator/index.js.map +1 -0
  228. package/dist/components/status-indicator/styles.module.css +34 -0
  229. package/dist/components/status-indicator/types.d.ts +21 -0
  230. package/dist/components/status-indicator/types.js +12 -0
  231. package/dist/components/switch/context.d.ts +4 -4
  232. package/dist/components/switch/index.d.ts +2 -2
  233. package/dist/components/table/body.d.ts +2 -2
  234. package/dist/components/table/cell.d.ts +2 -2
  235. package/dist/components/table/context.d.ts +2 -2
  236. package/dist/components/table/header-cell.d.ts +2 -2
  237. package/dist/components/table/header.d.ts +2 -2
  238. package/dist/components/table/index.d.ts +2 -2
  239. package/dist/components/table/row.d.ts +2 -2
  240. package/dist/components/table/styles.module.css +5 -1
  241. package/dist/components/tabs/context.d.ts +4 -4
  242. package/dist/components/tabs/index.d.ts +2 -2
  243. package/dist/components/tabs/list.d.ts +2 -2
  244. package/dist/components/tabs/panel.d.ts +2 -2
  245. package/dist/components/tabs/styles.module.css +1 -1
  246. package/dist/components/tabs/tab.d.ts +2 -2
  247. package/dist/components/text-area-field/context.d.ts +4 -4
  248. package/dist/components/text-area-field/index.d.ts +2 -2
  249. package/dist/components/text-field/context.d.ts +4 -4
  250. package/dist/components/text-field/index.d.ts +2 -2
  251. package/dist/components/time-field/index.d.ts +2 -2
  252. package/dist/components/tooltip/context.d.ts +2 -2
  253. package/dist/components/tooltip/index.d.ts +2 -2
  254. package/dist/components/tooltip/styles.module.css +1 -1
  255. package/dist/components/tooltip/trigger.d.ts +2 -2
  256. package/dist/components/tree/index.d.ts +2 -2
  257. package/dist/components/tree/item-actions.d.ts +2 -2
  258. package/dist/components/tree/item-content.d.ts +2 -2
  259. package/dist/components/tree/item-description.d.ts +2 -2
  260. package/dist/components/tree/item-label.d.ts +2 -2
  261. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  262. package/dist/components/tree/lines.d.ts +2 -2
  263. package/dist/components/tree/styles.module.css +1 -1
  264. package/dist/components/video/index.d.ts +97 -0
  265. package/dist/components/video/index.js +261 -0
  266. package/dist/components/video/index.js.map +1 -0
  267. package/dist/components/video/styles.module.css +99 -0
  268. package/dist/components/video/types.d.ts +52 -0
  269. package/dist/components/video/types.js +12 -0
  270. package/dist/components/view-stack/index.d.ts +2 -2
  271. package/dist/components/view-stack/trigger.d.ts +2 -2
  272. package/dist/components/view-stack/view.d.ts +2 -2
  273. package/dist/index.d.ts +18 -1
  274. package/dist/index.js +14 -1
  275. package/dist/providers/portal.d.ts +2 -2
  276. package/dist/providers/theme-provider.d.ts +2 -2
  277. package/package.json +29 -11
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react_jsx_runtime114 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime21 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/back.d.ts
17
17
 
@@ -33,7 +33,7 @@ import * as react_jsx_runtime114 from "react/jsx-runtime";
33
33
  * </DrawerView>
34
34
  * ```
35
35
  */
36
- declare function DrawerBack(): react_jsx_runtime114.JSX.Element | null;
36
+ declare function DrawerBack(): react_jsx_runtime21.JSX.Element | null;
37
37
  //#endregion
38
38
  export { DrawerBack };
39
39
  //# sourceMappingURL=back.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DrawerCloseProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime124 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/close.d.ts
18
18
 
@@ -34,7 +34,7 @@ import * as react_jsx_runtime124 from "react/jsx-runtime";
34
34
  * </DrawerHeader>
35
35
  * ```
36
36
  */
37
- declare function DrawerClose(props: DrawerCloseProps): react_jsx_runtime124.JSX.Element;
37
+ declare function DrawerClose(props: DrawerCloseProps): react_jsx_runtime23.JSX.Element;
38
38
  declare namespace DrawerClose {
39
39
  var displayName: string;
40
40
  }
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { ComponentPropsWithRef } from "react";
14
- import * as react_jsx_runtime122 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime9 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/content.d.ts
17
17
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime122 from "react/jsx-runtime";
37
37
  declare function DrawerContent({
38
38
  className,
39
39
  ...rest
40
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime122.JSX.Element;
40
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime9.JSX.Element;
41
41
  //#endregion
42
42
  export { DrawerContent };
43
43
  //# sourceMappingURL=content.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DrawerContextValue, DrawerEvent } from "./types.js";
14
14
  import "client-only";
15
- import * as react33 from "react";
15
+ import * as react7 from "react";
16
16
  import { Broadcast } from "@accelint/bus";
17
17
  import { UniqueId } from "@accelint/core";
18
18
 
@@ -25,7 +25,7 @@ import { UniqueId } from "@accelint/core";
25
25
  * const { register, unregister, placement } = useContext(DrawerContext);
26
26
  * ```
27
27
  */
28
- declare const DrawerContext: react33.Context<DrawerContextValue>;
28
+ declare const DrawerContext: react7.Context<DrawerContextValue>;
29
29
  /**
30
30
  * Event bus instance for drawer-related events.
31
31
  *
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { ComponentPropsWithRef } from "react";
14
- import * as react_jsx_runtime35 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/footer.d.ts
17
17
 
@@ -39,7 +39,7 @@ import * as react_jsx_runtime35 from "react/jsx-runtime";
39
39
  declare function DrawerFooter({
40
40
  className,
41
41
  ...rest
42
- }: ComponentPropsWithRef<'footer'>): react_jsx_runtime35.JSX.Element;
42
+ }: ComponentPropsWithRef<'footer'>): react_jsx_runtime27.JSX.Element;
43
43
  //#endregion
44
44
  export { DrawerFooter };
45
45
  //# sourceMappingURL=footer.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { DrawerTitleProps } from "./types.js";
14
- import * as react_jsx_runtime67 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime29 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/header-title.d.ts
17
17
 
@@ -41,7 +41,7 @@ declare function DrawerHeaderTitle({
41
41
  className,
42
42
  level,
43
43
  ...rest
44
- }: DrawerTitleProps): react_jsx_runtime67.JSX.Element;
44
+ }: DrawerTitleProps): react_jsx_runtime29.JSX.Element;
45
45
  //#endregion
46
46
  export { DrawerHeaderTitle };
47
47
  //# sourceMappingURL=header-title.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_runtime68 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime31 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/header.d.ts
18
18
 
@@ -52,7 +52,7 @@ declare function DrawerHeader({
52
52
  title,
53
53
  children,
54
54
  ...rest
55
- }: ComponentPropsWithRef<'header'>): react_jsx_runtime68.JSX.Element;
55
+ }: ComponentPropsWithRef<'header'>): react_jsx_runtime31.JSX.Element;
56
56
  //#endregion
57
57
  export { DrawerHeader };
58
58
  //# sourceMappingURL=header.d.ts.map
@@ -24,8 +24,8 @@ import { useContext } from "react";
24
24
  import { clsx } from "@accelint/design-foundation/lib/utils";
25
25
  import { Header } from "react-aria-components";
26
26
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
27
- import styles from "./styles.module.css";
28
27
  import { Cancel } from "@accelint/icons";
28
+ import styles from "./styles.module.css";
29
29
 
30
30
  //#region src/components/drawer/header.tsx
31
31
  /**
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DrawerProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime70 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/index.d.ts
18
18
 
@@ -63,7 +63,7 @@ declare function Drawer({
63
63
  size,
64
64
  onChange,
65
65
  ...rest
66
- }: DrawerProps): react_jsx_runtime70.JSX.Element;
66
+ }: DrawerProps): react_jsx_runtime33.JSX.Element;
67
67
  //#endregion
68
68
  export { Drawer };
69
69
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { ComponentPropsWithRef } from "react";
14
- import * as react_jsx_runtime72 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/layout-main.d.ts
17
17
 
@@ -38,7 +38,7 @@ import * as react_jsx_runtime72 from "react/jsx-runtime";
38
38
  declare function DrawerLayoutMain({
39
39
  className,
40
40
  ...rest
41
- }: ComponentPropsWithRef<'main'>): react_jsx_runtime72.JSX.Element;
41
+ }: ComponentPropsWithRef<'main'>): react_jsx_runtime28.JSX.Element;
42
42
  //#endregion
43
43
  export { DrawerLayoutMain };
44
44
  //# sourceMappingURL=layout-main.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { DrawerLayoutProps } from "./types.js";
14
- import * as react_jsx_runtime110 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime30 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/layout.d.ts
17
17
 
@@ -42,7 +42,7 @@ declare function DrawerLayout({
42
42
  extend,
43
43
  push,
44
44
  ...rest
45
- }: DrawerLayoutProps): react_jsx_runtime110.JSX.Element;
45
+ }: DrawerLayoutProps): react_jsx_runtime30.JSX.Element;
46
46
  //#endregion
47
47
  export { DrawerLayout };
48
48
  //# sourceMappingURL=layout.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DrawerMenuItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime74 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/menu-item.d.ts
18
18
 
@@ -45,7 +45,7 @@ declare function DrawerMenuItem({
45
45
  toggle,
46
46
  textValue,
47
47
  ...rest
48
- }: DrawerMenuItemProps): react_jsx_runtime74.JSX.Element | null;
48
+ }: DrawerMenuItemProps): react_jsx_runtime32.JSX.Element | null;
49
49
  //#endregion
50
50
  export { DrawerMenuItem };
51
51
  //# sourceMappingURL=menu-item.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { DrawerMenuProps } from "./types.js";
14
- import * as react_jsx_runtime75 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime34 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/menu.d.ts
17
17
 
@@ -39,7 +39,7 @@ declare function DrawerMenu({
39
39
  position,
40
40
  children,
41
41
  ...rest
42
- }: DrawerMenuProps): react_jsx_runtime75.JSX.Element;
42
+ }: DrawerMenuProps): react_jsx_runtime34.JSX.Element;
43
43
  //#endregion
44
44
  export { DrawerMenu };
45
45
  //# sourceMappingURL=menu.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { ComponentPropsWithRef } from "react";
14
- import * as react_jsx_runtime76 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/drawer/panel.d.ts
17
17
 
@@ -36,7 +36,7 @@ import * as react_jsx_runtime76 from "react/jsx-runtime";
36
36
  declare function DrawerPanel({
37
37
  className,
38
38
  ...rest
39
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime76.JSX.Element;
39
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime35.JSX.Element;
40
40
  //#endregion
41
41
  export { DrawerPanel };
42
42
  //# sourceMappingURL=panel.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { DrawerTriggerProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime77 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/drawer/trigger.d.ts
18
18
 
@@ -47,7 +47,7 @@ import * as react_jsx_runtime77 from "react/jsx-runtime";
47
47
  declare function DrawerTrigger({
48
48
  for: events,
49
49
  ...rest
50
- }: DrawerTriggerProps): react_jsx_runtime77.JSX.Element;
50
+ }: DrawerTriggerProps): react_jsx_runtime38.JSX.Element;
51
51
  //#endregion
52
52
  export { DrawerTrigger };
53
53
  //# sourceMappingURL=trigger.d.ts.map
@@ -13,7 +13,7 @@
13
13
  import { ViewStackViewProps } from "../view-stack/types.js";
14
14
  import "client-only";
15
15
  import { ComponentPropsWithRef } from "react";
16
- import * as react_jsx_runtime78 from "react/jsx-runtime";
16
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
17
17
 
18
18
  //#region src/components/drawer/view.d.ts
19
19
 
@@ -44,7 +44,7 @@ declare function DrawerView({
44
44
  children,
45
45
  className,
46
46
  ...rest
47
- }: ViewStackViewProps & ComponentPropsWithRef<'div'>): react_jsx_runtime78.JSX.Element;
47
+ }: ViewStackViewProps & ComponentPropsWithRef<'div'>): react_jsx_runtime36.JSX.Element;
48
48
  //#endregion
49
49
  export { DrawerView };
50
50
  //# sourceMappingURL=view.d.ts.map
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { FlashcardComponentProps, FlashcardDetailsListProps, FlashcardProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react21 from "react";
16
- import * as react_jsx_runtime84 from "react/jsx-runtime";
15
+ import * as react9 from "react";
16
+ import * as react_jsx_runtime40 from "react/jsx-runtime";
17
17
 
18
18
  //#region src/components/flashcard/index.d.ts
19
19
  /**
20
20
  * Context for sharing Flashcard state across child components.
21
21
  */
22
- declare const FlashcardContext: react21.Context<FlashcardProps>;
22
+ declare const FlashcardContext: react9.Context<FlashcardProps>;
23
23
  /**
24
24
  * Flashcard - A quick visual identifier for map entity data.
25
25
  *
@@ -46,7 +46,7 @@ declare const FlashcardContext: react21.Context<FlashcardProps>;
46
46
  * </Flashcard>
47
47
  * ```
48
48
  */
49
- declare function Flashcard(props: FlashcardProps): react_jsx_runtime84.JSX.Element;
49
+ declare function Flashcard(props: FlashcardProps): react_jsx_runtime40.JSX.Element;
50
50
  declare namespace Flashcard {
51
51
  var displayName: string;
52
52
  }
@@ -68,7 +68,7 @@ declare namespace Flashcard {
68
68
  * </Flashcard>
69
69
  * ```
70
70
  */
71
- declare function FlashcardHero(props: FlashcardComponentProps): react_jsx_runtime84.JSX.Element;
71
+ declare function FlashcardHero(props: FlashcardComponentProps): react_jsx_runtime40.JSX.Element;
72
72
  declare namespace FlashcardHero {
73
73
  var displayName: string;
74
74
  }
@@ -92,7 +92,7 @@ declare namespace FlashcardHero {
92
92
  * </Flashcard>
93
93
  * ```
94
94
  */
95
- declare function FlashcardAdditionalData(props: FlashcardComponentProps): react_jsx_runtime84.JSX.Element | null;
95
+ declare function FlashcardAdditionalData(props: FlashcardComponentProps): react_jsx_runtime40.JSX.Element | null;
96
96
  declare namespace FlashcardAdditionalData {
97
97
  var displayName: string;
98
98
  }
@@ -119,7 +119,7 @@ declare namespace FlashcardAdditionalData {
119
119
  * </Flashcard>
120
120
  * ```
121
121
  */
122
- declare function FlashcardDetailsList(props: FlashcardDetailsListProps): react_jsx_runtime84.JSX.Element;
122
+ declare function FlashcardDetailsList(props: FlashcardDetailsListProps): react_jsx_runtime40.JSX.Element;
123
123
  declare namespace FlashcardDetailsList {
124
124
  var displayName: string;
125
125
  }
@@ -141,7 +141,7 @@ declare namespace FlashcardDetailsList {
141
141
  * </FlashcardDetailsList>
142
142
  * ```
143
143
  */
144
- declare function FlashcardDetailsLabel(props: FlashcardComponentProps): react_jsx_runtime84.JSX.Element;
144
+ declare function FlashcardDetailsLabel(props: FlashcardComponentProps): react_jsx_runtime40.JSX.Element;
145
145
  declare namespace FlashcardDetailsLabel {
146
146
  var displayName: string;
147
147
  }
@@ -163,7 +163,7 @@ declare namespace FlashcardDetailsLabel {
163
163
  * </FlashcardDetailsList>
164
164
  * ```
165
165
  */
166
- declare function FlashcardDetailsValue(props: FlashcardComponentProps): react_jsx_runtime84.JSX.Element;
166
+ declare function FlashcardDetailsValue(props: FlashcardComponentProps): react_jsx_runtime40.JSX.Element;
167
167
  declare namespace FlashcardDetailsValue {
168
168
  var displayName: string;
169
169
  }
@@ -12,14 +12,14 @@
12
12
 
13
13
  import { HeroProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react39 from "react";
15
+ import * as react8 from "react";
16
16
  import { ContextValue } from "react-aria-components";
17
17
 
18
18
  //#region src/components/hero/context.d.ts
19
19
  /**
20
20
  * Context for sharing Hero props across component tree.
21
21
  */
22
- declare const HeroContext: react39.Context<ContextValue<HeroProps, HTMLElement>>;
22
+ declare const HeroContext: react8.Context<ContextValue<HeroProps, HTMLElement>>;
23
23
  //#endregion
24
24
  export { HeroContext };
25
25
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { HeroProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime99 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime156 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/hero/index.d.ts
18
18
 
@@ -56,7 +56,7 @@ import * as react_jsx_runtime99 from "react/jsx-runtime";
56
56
  declare function Hero({
57
57
  ref,
58
58
  ...props
59
- }: HeroProps): react_jsx_runtime99.JSX.Element;
59
+ }: HeroProps): react_jsx_runtime156.JSX.Element;
60
60
  //#endregion
61
61
  export { Hero };
62
62
  //# sourceMappingURL=index.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react28 from "react";
14
+ import * as react33 from "react";
15
15
  import * as react_aria_components0 from "react-aria-components";
16
16
 
17
17
  //#region src/components/hero/subtitle.d.ts
@@ -30,7 +30,7 @@ import * as react_aria_components0 from "react-aria-components";
30
30
  * </Hero>
31
31
  * ```
32
32
  */
33
- declare const HeroSubtitle: react28.ForwardRefExoticComponent<react_aria_components0.TextProps & react28.RefAttributes<HTMLElement>>;
33
+ declare const HeroSubtitle: react33.ForwardRefExoticComponent<react_aria_components0.TextProps & react33.RefAttributes<HTMLElement>>;
34
34
  //#endregion
35
35
  export { HeroSubtitle };
36
36
  //# sourceMappingURL=subtitle.d.ts.map
@@ -11,8 +11,8 @@
11
11
  */
12
12
 
13
13
  import "client-only";
14
- import * as react31 from "react";
15
- import * as react_aria_components1 from "react-aria-components";
14
+ import * as react25 from "react";
15
+ import * as react_aria_components0 from "react-aria-components";
16
16
 
17
17
  //#region src/components/hero/title.d.ts
18
18
  /**
@@ -28,7 +28,7 @@ import * as react_aria_components1 from "react-aria-components";
28
28
  * </Hero>
29
29
  * ```
30
30
  */
31
- declare const HeroTitle: react31.ForwardRefExoticComponent<react_aria_components1.HeadingProps & react31.RefAttributes<HTMLHeadingElement>>;
31
+ declare const HeroTitle: react25.ForwardRefExoticComponent<react_aria_components0.HeadingProps & react25.RefAttributes<HTMLHeadingElement>>;
32
32
  //#endregion
33
33
  export { HeroTitle };
34
34
  //# sourceMappingURL=title.d.ts.map
@@ -15,7 +15,7 @@ import { HotkeyProps } from "./types.js";
15
15
  import "client-only";
16
16
  import * as react27 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime106 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime98 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/hotkey/context.d.ts
21
21
  /**
@@ -42,7 +42,7 @@ declare const HotkeyContext: react27.Context<ContextValue<HotkeyProps, HTMLEleme
42
42
  declare function HotkeyProvider({
43
43
  children,
44
44
  ...props
45
- }: ProviderProps<HotkeyProps>): react_jsx_runtime106.JSX.Element;
45
+ }: ProviderProps<HotkeyProps>): react_jsx_runtime98.JSX.Element;
46
46
  //#endregion
47
47
  export { HotkeyContext, HotkeyProvider };
48
48
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { HotkeyProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime101 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime99 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/hotkey/index.d.ts
18
18
 
@@ -66,7 +66,7 @@ declare function Hotkey({
66
66
  ref,
67
67
  children,
68
68
  ...props
69
- }: HotkeyProps): react_jsx_runtime101.JSX.Element;
69
+ }: HotkeyProps): react_jsx_runtime99.JSX.Element;
70
70
  //#endregion
71
71
  export { Hotkey };
72
72
  //# sourceMappingURL=index.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_runtime102 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime100 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/hotkey/set.d.ts
18
18
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime102 from "react/jsx-runtime";
37
37
  declare function HotkeySet({
38
38
  className,
39
39
  ...rest
40
- }: ComponentPropsWithRef<'div'>): react_jsx_runtime102.JSX.Element;
40
+ }: ComponentPropsWithRef<'div'>): react_jsx_runtime100.JSX.Element;
41
41
  //#endregion
42
42
  export { HotkeySet };
43
43
  //# sourceMappingURL=set.d.ts.map
@@ -13,15 +13,15 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { IconProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react25 from "react";
16
+ import * as react28 from "react";
17
17
  import { ContextValue } from "react-aria-components";
18
- import * as react_jsx_runtime103 from "react/jsx-runtime";
18
+ import * as react_jsx_runtime101 from "react/jsx-runtime";
19
19
 
20
20
  //#region src/components/icon/context.d.ts
21
21
  /**
22
22
  * Context for sharing Icon props across component tree.
23
23
  */
24
- declare const IconContext: react25.Context<ContextValue<IconProps, HTMLSpanElement>>;
24
+ declare const IconContext: react28.Context<ContextValue<IconProps, HTMLSpanElement>>;
25
25
  /**
26
26
  * IconProvider - Context provider for setting default Icon props.
27
27
  *
@@ -42,7 +42,7 @@ declare const IconContext: react25.Context<ContextValue<IconProps, HTMLSpanEleme
42
42
  declare function IconProvider({
43
43
  children,
44
44
  ...props
45
- }: ProviderProps<IconProps>): react_jsx_runtime103.JSX.Element;
45
+ }: ProviderProps<IconProps>): react_jsx_runtime101.JSX.Element;
46
46
  //#endregion
47
47
  export { IconContext, IconProvider };
48
48
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { IconProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime104 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime112 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/icon/index.d.ts
18
18
 
@@ -61,7 +61,7 @@ import * as react_jsx_runtime104 from "react/jsx-runtime";
61
61
  declare function Icon({
62
62
  ref,
63
63
  ...props
64
- }: IconProps): react_jsx_runtime104.JSX.Element;
64
+ }: IconProps): react_jsx_runtime112.JSX.Element;
65
65
  //#endregion
66
66
  export { Icon };
67
67
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { InputProps as InputProps$1 } from "./types.js";
14
14
  import "client-only";
15
- import * as react34 from "react";
15
+ import * as react30 from "react";
16
16
  import { ContextValue } from "react-aria-components";
17
17
 
18
18
  //#region src/components/input/context.d.ts
@@ -20,7 +20,7 @@ import { ContextValue } from "react-aria-components";
20
20
  * Context for sharing Input props across component tree.
21
21
  * Used internally by field components to pass props to Input.
22
22
  */
23
- declare const InputContext: react34.Context<ContextValue<InputProps$1, HTMLInputElement>>;
23
+ declare const InputContext: react30.Context<ContextValue<InputProps$1, HTMLInputElement>>;
24
24
  //#endregion
25
25
  export { InputContext };
26
26
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { InputProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime107 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime114 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/input/index.d.ts
18
18
 
@@ -52,7 +52,7 @@ import * as react_jsx_runtime107 from "react/jsx-runtime";
52
52
  declare function Input({
53
53
  ref,
54
54
  ...props
55
- }: InputProps): react_jsx_runtime107.JSX.Element;
55
+ }: InputProps): react_jsx_runtime114.JSX.Element;
56
56
  //#endregion
57
57
  export { Input };
58
58
  //# sourceMappingURL=index.d.ts.map
@@ -14,14 +14,13 @@
14
14
  'use client';
15
15
 
16
16
  import { IconProvider } from "../icon/context.js";
17
- import { Icon } from "../icon/index.js";
18
- import { Button as Button$1 } from "../button/index.js";
17
+ import { ClearButton } from "../button/__internal__/clear.js";
19
18
  import { InputContext as InputContext$1 } from "./context.js";
20
19
  import "client-only";
20
+ import { useCallback } from "react";
21
21
  import { clsx } from "@accelint/design-foundation/lib/utils";
22
22
  import { Input as Input$1, InputContext, composeRenderProps, useContextProps } from "react-aria-components";
23
23
  import { jsx, jsxs } from "react/jsx-runtime";
24
- import CancelFill from "@accelint/icons/cancel-fill";
25
24
  import { useControlledState } from "@react-stately/utils";
26
25
  import styles from "./styles.module.css";
27
26
 
@@ -78,10 +77,14 @@ function Input({ ref = null, ...props }) {
78
77
  const suffix = !!suffixProp && styles.hasSuffix;
79
78
  const clear = isClearable && styles.isClearable;
80
79
  const isEmpty = value == null || value === "";
81
- function handleChange(event) {
80
+ const handleChange = useCallback((event) => {
82
81
  onChange?.(event);
83
82
  if (!event.defaultPrevented) setValue(event.target.value);
84
- }
83
+ }, [onChange, setValue]);
84
+ const handleClearButtonPress = useCallback(() => {
85
+ handleChange(clearInputEvent);
86
+ ref?.current?.focus();
87
+ }, [handleChange, ref]);
85
88
  return /* @__PURE__ */ jsx(IconProvider, {
86
89
  size: "small",
87
90
  children: /* @__PURE__ */ jsxs("div", {
@@ -123,17 +126,10 @@ function Input({ ref = null, ...props }) {
123
126
  className: clsx(styles.suffix, prefix, suffix, clear, classNames?.suffix),
124
127
  children: suffixProp
125
128
  }),
126
- !readOnly && isClearable && /* @__PURE__ */ jsx(Button$1, {
129
+ !readOnly && isClearable && /* @__PURE__ */ jsx(ClearButton, {
127
130
  className: composeRenderProps(classNames?.clear, (className) => clsx(styles.clear, prefix, suffix, clear, className)),
128
- excludeFromTabOrder: true,
129
- size: "small",
130
- variant: "icon",
131
131
  isDisabled: disabled,
132
- onPress: () => {
133
- handleChange(clearInputEvent);
134
- ref?.current?.focus();
135
- },
136
- children: /* @__PURE__ */ jsx(Icon, { children: /* @__PURE__ */ jsx(CancelFill, {}) })
132
+ onPress: handleClearButtonPress
137
133
  })
138
134
  ]
139
135
  })