@accelint/design-toolkit 9.13.0 → 10.1.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 (317) hide show
  1. package/catalog-info.yaml +1 -1
  2. package/dist/components/accordion/group.d.ts +2 -2
  3. package/dist/components/accordion/index.d.ts +2 -2
  4. package/dist/components/accordion/panel.d.ts +2 -2
  5. package/dist/components/accordion/trigger.d.ts +2 -2
  6. package/dist/components/action-bar/index.d.ts +2 -2
  7. package/dist/components/audio/index.d.ts +2 -2
  8. package/dist/components/avatar/context.d.ts +2 -2
  9. package/dist/components/avatar/index.d.ts +2 -2
  10. package/dist/components/badge/context.d.ts +4 -4
  11. package/dist/components/breadcrumbs/index.d.ts +2 -2
  12. package/dist/components/breadcrumbs/item.d.ts +2 -2
  13. package/dist/components/button/context.d.ts +8 -8
  14. package/dist/components/button/index.d.ts +2 -2
  15. package/dist/components/button/link.d.ts +2 -2
  16. package/dist/components/button/toggle.d.ts +2 -2
  17. package/dist/components/carousel/context.d.ts +4 -4
  18. package/dist/components/carousel/gallery.d.ts +2 -2
  19. package/dist/components/carousel/index.d.ts +2 -2
  20. package/dist/components/carousel/navigation.d.ts +3 -3
  21. package/dist/components/carousel/position.d.ts +2 -2
  22. package/dist/components/carousel/select.d.ts +2 -2
  23. package/dist/components/carousel/viewer.d.ts +2 -2
  24. package/dist/components/checkbox/context.d.ts +3 -3
  25. package/dist/components/checkbox/group.d.ts +2 -2
  26. package/dist/components/checkbox/index.d.ts +2 -2
  27. package/dist/components/chip/context.d.ts +4 -4
  28. package/dist/components/chip/deletable.d.ts +2 -2
  29. package/dist/components/chip/index.d.ts +2 -2
  30. package/dist/components/chip/list.d.ts +4 -4
  31. package/dist/components/chip/selectable.d.ts +2 -2
  32. package/dist/components/classification-badge/context.d.ts +4 -4
  33. package/dist/components/classification-badge/index.d.ts +2 -2
  34. package/dist/components/classification-banner/context.d.ts +4 -4
  35. package/dist/components/classification-banner/index.d.ts +2 -2
  36. package/dist/components/clock/index.d.ts +2 -2
  37. package/dist/components/color-picker/index.d.ts +2 -2
  38. package/dist/components/combobox-field/context.d.ts +4 -4
  39. package/dist/components/combobox-field/index.d.ts +2 -2
  40. package/dist/components/coordinate-field/context.d.ts +6 -6
  41. package/dist/components/coordinate-field/index.d.ts +2 -2
  42. package/dist/components/coordinate-field/segment.d.ts +2 -2
  43. package/dist/components/date-field/index.d.ts +2 -2
  44. package/dist/components/date-field/index.js.map +1 -1
  45. package/dist/components/deferred-collection/index.d.ts +2 -2
  46. package/dist/components/details-list/context.d.ts +4 -4
  47. package/dist/components/details-list/index.d.ts +2 -2
  48. package/dist/components/details-list/label.d.ts +2 -2
  49. package/dist/components/details-list/value.d.ts +2 -2
  50. package/dist/components/dialog/content.d.ts +2 -2
  51. package/dist/components/dialog/context.d.ts +2 -2
  52. package/dist/components/dialog/footer.d.ts +2 -2
  53. package/dist/components/dialog/index.d.ts +2 -2
  54. package/dist/components/dialog/title.d.ts +2 -2
  55. package/dist/components/divider/context.d.ts +4 -4
  56. package/dist/components/divider/index.d.ts +2 -2
  57. package/dist/components/drawer/back.d.ts +2 -2
  58. package/dist/components/drawer/close.d.ts +2 -2
  59. package/dist/components/drawer/content.d.ts +2 -2
  60. package/dist/components/drawer/context.d.ts +2 -2
  61. package/dist/components/drawer/footer.d.ts +2 -2
  62. package/dist/components/drawer/header-title.d.ts +2 -2
  63. package/dist/components/drawer/header.d.ts +2 -2
  64. package/dist/components/drawer/index.d.ts +2 -2
  65. package/dist/components/drawer/layout-main.d.ts +2 -2
  66. package/dist/components/drawer/layout.d.ts +2 -2
  67. package/dist/components/drawer/menu-item.d.ts +2 -2
  68. package/dist/components/drawer/menu.d.ts +2 -2
  69. package/dist/components/drawer/panel.d.ts +2 -2
  70. package/dist/components/drawer/trigger.d.ts +2 -2
  71. package/dist/components/drawer/view.d.ts +2 -2
  72. package/dist/components/flashcard/index.d.ts +9 -9
  73. package/dist/components/floating-card/constants.d.ts +26 -0
  74. package/dist/components/floating-card/constants.js +40 -0
  75. package/dist/components/floating-card/constants.js.map +1 -0
  76. package/dist/components/floating-card/context.d.ts +38 -6
  77. package/dist/components/floating-card/context.js +24 -3
  78. package/dist/components/floating-card/context.js.map +1 -1
  79. package/dist/components/floating-card/hooks/use-card-layout.d.ts +36 -0
  80. package/dist/components/floating-card/hooks/use-card-layout.js +106 -0
  81. package/dist/components/floating-card/hooks/use-card-layout.js.map +1 -0
  82. package/dist/components/floating-card/hooks/use-drag.d.ts +62 -0
  83. package/dist/components/floating-card/hooks/use-drag.js +100 -0
  84. package/dist/components/floating-card/hooks/use-drag.js.map +1 -0
  85. package/dist/components/floating-card/hooks/use-mouse-interaction.d.ts +58 -0
  86. package/dist/components/floating-card/hooks/use-mouse-interaction.js +91 -0
  87. package/dist/components/floating-card/hooks/use-mouse-interaction.js.map +1 -0
  88. package/dist/components/floating-card/hooks/use-resize.d.ts +56 -0
  89. package/dist/components/floating-card/hooks/use-resize.js +98 -0
  90. package/dist/components/floating-card/hooks/use-resize.js.map +1 -0
  91. package/dist/components/floating-card/index.d.ts +6 -2
  92. package/dist/components/floating-card/index.js +24 -32
  93. package/dist/components/floating-card/index.js.map +1 -1
  94. package/dist/components/floating-card/panel.d.ts +69 -0
  95. package/dist/components/floating-card/panel.js +111 -0
  96. package/dist/components/floating-card/panel.js.map +1 -0
  97. package/dist/components/floating-card/provider.d.ts +10 -6
  98. package/dist/components/floating-card/provider.js +159 -153
  99. package/dist/components/floating-card/provider.js.map +1 -1
  100. package/dist/components/floating-card/styles.module.css +93 -39
  101. package/dist/components/floating-card/types.d.ts +51 -10
  102. package/dist/components/floating-card/utils.d.ts +8 -85
  103. package/dist/components/floating-card/utils.js +12 -38
  104. package/dist/components/floating-card/utils.js.map +1 -1
  105. package/dist/components/gantt/components/base-elements/range.d.ts +2 -2
  106. package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +2 -2
  107. package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +2 -2
  108. package/dist/components/gantt/components/containers/internal/index.d.ts +2 -2
  109. package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +2 -2
  110. package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +2 -2
  111. package/dist/components/gantt/components/content-row/block.d.ts +2 -2
  112. package/dist/components/gantt/components/content-row/bracket.d.ts +3 -3
  113. package/dist/components/gantt/components/content-row/icon-marker.d.ts +2 -2
  114. package/dist/components/gantt/components/content-row/index.d.ts +2 -2
  115. package/dist/components/gantt/components/content-row/marker.d.ts +2 -2
  116. package/dist/components/gantt/components/content-row/spacer.d.ts +2 -2
  117. package/dist/components/gantt/components/current-time/index.d.ts +2 -2
  118. package/dist/components/gantt/components/header/index.d.ts +3 -3
  119. package/dist/components/gantt/components/panel-row/index.d.ts +2 -2
  120. package/dist/components/gantt/components/rows-virtualizer/index.d.ts +3 -3
  121. package/dist/components/gantt/components/timeline/index.d.ts +2 -2
  122. package/dist/components/gantt/components/timeline-chunk/index.d.ts +3 -3
  123. package/dist/components/gantt/context/index.d.ts +4 -4
  124. package/dist/components/gantt/context/store/index.d.ts +4 -4
  125. package/dist/components/gantt/context/temporal-data/index.d.ts +4 -4
  126. package/dist/components/gantt/hooks/use-layout-subscription/index.js +8 -8
  127. package/dist/components/gantt/hooks/use-layout-subscription/index.js.map +1 -1
  128. package/dist/components/hero/context.d.ts +2 -2
  129. package/dist/components/hero/index.d.ts +2 -2
  130. package/dist/components/hero/subtitle.d.ts +3 -3
  131. package/dist/components/hero/title.d.ts +2 -2
  132. package/dist/components/hotkey/context.d.ts +4 -4
  133. package/dist/components/hotkey/index.d.ts +2 -2
  134. package/dist/components/hotkey/set.d.ts +2 -2
  135. package/dist/components/icon/context.d.ts +4 -4
  136. package/dist/components/icon/index.d.ts +2 -2
  137. package/dist/components/input/index.d.ts +2 -2
  138. package/dist/components/kanban/card-body.d.ts +2 -2
  139. package/dist/components/kanban/card-header-actions.d.ts +2 -2
  140. package/dist/components/kanban/card-header-title.d.ts +2 -2
  141. package/dist/components/kanban/card-header.d.ts +2 -2
  142. package/dist/components/kanban/card.d.ts +2 -2
  143. package/dist/components/kanban/column-actions.d.ts +2 -2
  144. package/dist/components/kanban/column-container.d.ts +2 -2
  145. package/dist/components/kanban/column-content.d.ts +2 -2
  146. package/dist/components/kanban/column-header-actions.d.ts +2 -2
  147. package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
  148. package/dist/components/kanban/column-header-title.d.ts +2 -2
  149. package/dist/components/kanban/column-header.d.ts +2 -2
  150. package/dist/components/kanban/column.d.ts +2 -2
  151. package/dist/components/kanban/context.d.ts +2 -2
  152. package/dist/components/kanban/header-actions.d.ts +2 -2
  153. package/dist/components/kanban/header-search.d.ts +2 -2
  154. package/dist/components/kanban/header-title.d.ts +2 -2
  155. package/dist/components/kanban/header.d.ts +2 -2
  156. package/dist/components/kanban/kanban.d.ts +2 -2
  157. package/dist/components/label/context.d.ts +4 -4
  158. package/dist/components/label/index.d.ts +2 -2
  159. package/dist/components/lines/index.d.ts +2 -2
  160. package/dist/components/link/context.d.ts +2 -2
  161. package/dist/components/link/index.d.ts +2 -2
  162. package/dist/components/list/context.d.ts +2 -2
  163. package/dist/components/list/index.d.ts +2 -2
  164. package/dist/components/list/item-content.d.ts +2 -2
  165. package/dist/components/list/item-description.d.ts +2 -2
  166. package/dist/components/list/item-title.d.ts +2 -2
  167. package/dist/components/list/item.d.ts +2 -2
  168. package/dist/components/media-controls/context.d.ts +4 -4
  169. package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
  170. package/dist/components/media-controls/index.d.ts +2 -2
  171. package/dist/components/media-controls/mute-button.d.ts +2 -2
  172. package/dist/components/media-controls/play-button.d.ts +2 -2
  173. package/dist/components/media-controls/playback-rate.d.ts +2 -2
  174. package/dist/components/media-controls/seek-button.d.ts +2 -2
  175. package/dist/components/media-controls/time-display.d.ts +2 -2
  176. package/dist/components/media-controls/time-range.d.ts +2 -2
  177. package/dist/components/media-controls/volume-slider.d.ts +2 -2
  178. package/dist/components/menu/context.d.ts +2 -2
  179. package/dist/components/menu/index.d.ts +2 -2
  180. package/dist/components/menu/item-description.d.ts +2 -2
  181. package/dist/components/menu/item-label.d.ts +2 -2
  182. package/dist/components/menu/item.d.ts +2 -2
  183. package/dist/components/menu/section.d.ts +2 -2
  184. package/dist/components/menu/separator.d.ts +2 -2
  185. package/dist/components/menu/submenu.d.ts +2 -2
  186. package/dist/components/notice/index.d.ts +2 -2
  187. package/dist/components/notice/list.d.ts +2 -2
  188. package/dist/components/notice/notice-icon.d.ts +2 -2
  189. package/dist/components/options/context.d.ts +2 -2
  190. package/dist/components/options/index.d.ts +2 -2
  191. package/dist/components/options/item-content.d.ts +2 -2
  192. package/dist/components/options/item-description.d.ts +2 -2
  193. package/dist/components/options/item-label.d.ts +2 -2
  194. package/dist/components/options/item.d.ts +2 -2
  195. package/dist/components/options/section.d.ts +2 -2
  196. package/dist/components/pagination/context.d.ts +2 -2
  197. package/dist/components/pagination/index.d.ts +2 -2
  198. package/dist/components/pagination/next.d.ts +2 -2
  199. package/dist/components/pagination/pages.d.ts +2 -2
  200. package/dist/components/pagination/prev.d.ts +2 -2
  201. package/dist/components/popover/content.d.ts +2 -2
  202. package/dist/components/popover/footer.d.ts +2 -2
  203. package/dist/components/popover/index.d.ts +2 -2
  204. package/dist/components/popover/title.d.ts +2 -2
  205. package/dist/components/popover/trigger.d.ts +2 -2
  206. package/dist/components/query-builder/action-element.d.ts +2 -2
  207. package/dist/components/query-builder/combinator-selector.d.ts +2 -2
  208. package/dist/components/query-builder/index.d.ts +2 -2
  209. package/dist/components/query-builder/rule-group.d.ts +4 -4
  210. package/dist/components/query-builder/rule.d.ts +2 -2
  211. package/dist/components/query-builder/value-editor.d.ts +2 -2
  212. package/dist/components/query-builder/value-selector.d.ts +2 -2
  213. package/dist/components/radio/context.d.ts +3 -3
  214. package/dist/components/radio/group.d.ts +2 -2
  215. package/dist/components/radio/index.d.ts +2 -2
  216. package/dist/components/search-field/context.d.ts +2 -2
  217. package/dist/components/search-field/index.d.ts +2 -2
  218. package/dist/components/select-field/context.d.ts +4 -4
  219. package/dist/components/select-field/index.d.ts +2 -2
  220. package/dist/components/sidenav/avatar.d.ts +2 -2
  221. package/dist/components/sidenav/content.d.ts +2 -2
  222. package/dist/components/sidenav/context.d.ts +2 -2
  223. package/dist/components/sidenav/footer.d.ts +2 -2
  224. package/dist/components/sidenav/header.d.ts +2 -2
  225. package/dist/components/sidenav/index.d.ts +2 -2
  226. package/dist/components/sidenav/item.d.ts +2 -2
  227. package/dist/components/sidenav/link.d.ts +2 -2
  228. package/dist/components/sidenav/menu-item.d.ts +2 -2
  229. package/dist/components/sidenav/menu.d.ts +2 -2
  230. package/dist/components/sidenav/trigger.d.ts +2 -2
  231. package/dist/components/skeleton/index.d.ts +2 -2
  232. package/dist/components/slider/index.d.ts +2 -2
  233. package/dist/components/status-indicator/index.d.ts +2 -2
  234. package/dist/components/stepper/back.d.ts +71 -0
  235. package/dist/components/stepper/back.js +82 -0
  236. package/dist/components/stepper/back.js.map +1 -0
  237. package/dist/components/stepper/context.d.ts +49 -0
  238. package/dist/components/stepper/context.js +56 -0
  239. package/dist/components/stepper/context.js.map +1 -0
  240. package/dist/components/stepper/index.d.ts +22 -0
  241. package/dist/components/stepper/index.js +23 -0
  242. package/dist/components/stepper/list.d.ts +65 -0
  243. package/dist/components/stepper/list.js +121 -0
  244. package/dist/components/stepper/list.js.map +1 -0
  245. package/dist/components/stepper/next.d.ts +80 -0
  246. package/dist/components/stepper/next.js +91 -0
  247. package/dist/components/stepper/next.js.map +1 -0
  248. package/dist/components/stepper/panel.d.ts +66 -0
  249. package/dist/components/stepper/panel.js +77 -0
  250. package/dist/components/stepper/panel.js.map +1 -0
  251. package/dist/components/stepper/step.d.ts +49 -0
  252. package/dist/components/stepper/step.js +89 -0
  253. package/dist/components/stepper/step.js.map +1 -0
  254. package/dist/components/stepper/stepper.d.ts +130 -0
  255. package/dist/components/stepper/stepper.js +154 -0
  256. package/dist/components/stepper/stepper.js.map +1 -0
  257. package/dist/components/stepper/styles.module.css +126 -0
  258. package/dist/components/stepper/types.d.ts +205 -0
  259. package/dist/components/stepper/types.js +12 -0
  260. package/dist/components/stepper/use-stepper-state.d.ts +175 -0
  261. package/dist/components/stepper/use-stepper-state.js +225 -0
  262. package/dist/components/stepper/use-stepper-state.js.map +1 -0
  263. package/dist/components/switch/context.d.ts +4 -4
  264. package/dist/components/switch/index.d.ts +2 -2
  265. package/dist/components/table/body.d.ts +4 -3
  266. package/dist/components/table/body.js.map +1 -1
  267. package/dist/components/table/cell.d.ts +4 -3
  268. package/dist/components/table/cell.js.map +1 -1
  269. package/dist/components/table/context.d.ts +2 -2
  270. package/dist/components/table/features.d.ts +80 -0
  271. package/dist/components/table/features.js +61 -0
  272. package/dist/components/table/features.js.map +1 -0
  273. package/dist/components/table/header-cell.d.ts +4 -3
  274. package/dist/components/table/header-cell.js.map +1 -1
  275. package/dist/components/table/header.d.ts +4 -3
  276. package/dist/components/table/header.js.map +1 -1
  277. package/dist/components/table/index.d.ts +2 -2
  278. package/dist/components/table/index.js +40 -49
  279. package/dist/components/table/index.js.map +1 -1
  280. package/dist/components/table/row-ordering-feature.d.ts +88 -0
  281. package/dist/components/table/row-ordering-feature.js +115 -0
  282. package/dist/components/table/row-ordering-feature.js.map +1 -0
  283. package/dist/components/table/row.d.ts +4 -3
  284. package/dist/components/table/row.js.map +1 -1
  285. package/dist/components/table/types.d.ts +15 -13
  286. package/dist/components/tabs/context.d.ts +6 -6
  287. package/dist/components/tabs/index.d.ts +2 -2
  288. package/dist/components/tabs/list.d.ts +2 -2
  289. package/dist/components/tabs/panel.d.ts +2 -2
  290. package/dist/components/tabs/tab.d.ts +2 -2
  291. package/dist/components/text-area-field/context.d.ts +4 -4
  292. package/dist/components/text-area-field/index.d.ts +2 -2
  293. package/dist/components/text-field/context.d.ts +4 -4
  294. package/dist/components/text-field/index.d.ts +2 -2
  295. package/dist/components/time-field/index.d.ts +2 -2
  296. package/dist/components/tooltip/context.d.ts +2 -2
  297. package/dist/components/tooltip/index.d.ts +2 -2
  298. package/dist/components/tooltip/trigger.d.ts +2 -2
  299. package/dist/components/tree/context.d.ts +3 -3
  300. package/dist/components/tree/index.d.ts +2 -2
  301. package/dist/components/tree/item-actions.d.ts +2 -2
  302. package/dist/components/tree/item-content.d.ts +2 -2
  303. package/dist/components/tree/item-description.d.ts +2 -2
  304. package/dist/components/tree/item-label.d.ts +2 -2
  305. package/dist/components/tree/item-prefix-icon.d.ts +2 -2
  306. package/dist/components/tree/item.d.ts +2 -2
  307. package/dist/components/tree/lines.d.ts +2 -2
  308. package/dist/components/video/index.d.ts +2 -2
  309. package/dist/components/view-stack/context.d.ts +2 -2
  310. package/dist/components/view-stack/index.d.ts +2 -2
  311. package/dist/components/view-stack/trigger.d.ts +2 -2
  312. package/dist/components/view-stack/view.d.ts +2 -2
  313. package/dist/index.d.ts +13 -2
  314. package/dist/index.js +11 -1
  315. package/dist/providers/portal.d.ts +2 -2
  316. package/dist/providers/theme-provider.d.ts +2 -2
  317. package/package.json +28 -12
@@ -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_runtime190 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_runtime193.JSX.Element;
36
+ declare function Rule(props: RuleProps): react_jsx_runtime190.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_runtime196 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime192 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_runtime196.JSX.Element | null;
39
+ declare function ValueEditor(props: ValueEditorProps): react_jsx_runtime192.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_runtime155 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime193 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_runtime155.JSX.Element;
39
+ declare function ValueSelector(props: ValueSelectorProps): react_jsx_runtime193.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 react52 from "react";
15
+ import * as react43 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: react52.Context<ContextValue<RadioGroupProps, HTMLDivElement>>;
24
+ declare const RadioGroupContext: react43.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: react52.Context<ContextValue<RadioProps, HTMLLabelElement>>;
30
+ declare const RadioContext: react43.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_runtime204 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime194 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_runtime204 from "react/jsx-runtime";
41
41
  declare function RadioGroup({
42
42
  ref,
43
43
  ...props
44
- }: RadioGroupProps): react_jsx_runtime204.JSX.Element;
44
+ }: RadioGroupProps): react_jsx_runtime194.JSX.Element;
45
45
  //#endregion
46
46
  export { RadioGroup };
47
47
  //# sourceMappingURL=group.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { RadioProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime208 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime173 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/radio/index.d.ts
18
18
 
@@ -37,7 +37,7 @@ import * as react_jsx_runtime208 from "react/jsx-runtime";
37
37
  declare function Radio({
38
38
  ref,
39
39
  ...props
40
- }: RadioProps): react_jsx_runtime208.JSX.Element;
40
+ }: RadioProps): react_jsx_runtime173.JSX.Element;
41
41
  //#endregion
42
42
  export { Radio };
43
43
  //# sourceMappingURL=index.d.ts.map
@@ -14,7 +14,7 @@ import { ProviderProps } from "../../lib/types.js";
14
14
  import { SearchFieldProps } from "./types.js";
15
15
  import "client-only";
16
16
  import * as react51 from "react";
17
- import * as react_jsx_runtime212 from "react/jsx-runtime";
17
+ import * as react_jsx_runtime218 from "react/jsx-runtime";
18
18
  import { ContextValue } from "react-aria-components/slots";
19
19
 
20
20
  //#region src/components/search-field/context.d.ts
@@ -35,7 +35,7 @@ declare const SearchFieldContext: react51.Context<ContextValue<SearchFieldProps,
35
35
  declare function SearchFieldProvider({
36
36
  children,
37
37
  ...props
38
- }: ProviderProps<SearchFieldProps>): react_jsx_runtime212.JSX.Element;
38
+ }: ProviderProps<SearchFieldProps>): react_jsx_runtime218.JSX.Element;
39
39
  //#endregion
40
40
  export { SearchFieldContext, SearchFieldProvider };
41
41
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SearchFieldProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime213 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime222 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/search-field/index.d.ts
18
18
 
@@ -41,7 +41,7 @@ import * as react_jsx_runtime213 from "react/jsx-runtime";
41
41
  declare function SearchField({
42
42
  ref,
43
43
  ...props
44
- }: SearchFieldProps): react_jsx_runtime213.JSX.Element;
44
+ }: SearchFieldProps): react_jsx_runtime222.JSX.Element;
45
45
  //#endregion
46
46
  export { SearchField };
47
47
  //# sourceMappingURL=index.d.ts.map
@@ -13,13 +13,13 @@
13
13
  import { ProviderProps } from "../../lib/types.js";
14
14
  import { SelectFieldProps } from "./types.js";
15
15
  import "client-only";
16
- import * as react50 from "react";
17
- import * as react_jsx_runtime199 from "react/jsx-runtime";
16
+ import * as react52 from "react";
17
+ import * as react_jsx_runtime223 from "react/jsx-runtime";
18
18
  import { ContextValue } from "react-aria-components/slots";
19
19
 
20
20
  //#region src/components/select-field/context.d.ts
21
21
  /** Context for SelectField component */
22
- declare const SelectFieldContext: react50.Context<ContextValue<SelectFieldProps, HTMLDivElement>>;
22
+ declare const SelectFieldContext: react52.Context<ContextValue<SelectFieldProps, HTMLDivElement>>;
23
23
  /**
24
24
  * Provider for setting default props across multiple SelectField components
25
25
  *
@@ -29,7 +29,7 @@ declare const SelectFieldContext: react50.Context<ContextValue<SelectFieldProps,
29
29
  declare function SelectFieldProvider({
30
30
  children,
31
31
  ...props
32
- }: ProviderProps<SelectFieldProps>): react_jsx_runtime199.JSX.Element;
32
+ }: ProviderProps<SelectFieldProps>): react_jsx_runtime223.JSX.Element;
33
33
  //#endregion
34
34
  export { SelectFieldContext, SelectFieldProvider };
35
35
  //# sourceMappingURL=context.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SelectFieldProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime200 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime221 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/select-field/index.d.ts
18
18
 
@@ -43,7 +43,7 @@ import * as react_jsx_runtime200 from "react/jsx-runtime";
43
43
  declare function SelectField({
44
44
  ref,
45
45
  ...props
46
- }: SelectFieldProps): react_jsx_runtime200.JSX.Element;
46
+ }: SelectFieldProps): react_jsx_runtime221.JSX.Element;
47
47
  //#endregion
48
48
  export { SelectField };
49
49
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavAvatarProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime215 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime224 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/avatar.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function SidenavAvatar({
41
41
  children,
42
42
  className,
43
43
  ...rest
44
- }: SidenavAvatarProps): react_jsx_runtime215.JSX.Element;
44
+ }: SidenavAvatarProps): react_jsx_runtime224.JSX.Element;
45
45
  //#endregion
46
46
  export { SidenavAvatar };
47
47
  //# sourceMappingURL=avatar.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavContentProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime214 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime225 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/content.d.ts
18
18
 
@@ -45,7 +45,7 @@ declare function SidenavContent({
45
45
  className,
46
46
  children,
47
47
  ...rest
48
- }: SidenavContentProps): react_jsx_runtime214.JSX.Element;
48
+ }: SidenavContentProps): react_jsx_runtime225.JSX.Element;
49
49
  //#endregion
50
50
  export { SidenavContent };
51
51
  //# sourceMappingURL=content.d.ts.map
@@ -12,11 +12,11 @@
12
12
 
13
13
  import { SidenavContextValue } from "./types.js";
14
14
  import "client-only";
15
- import * as react56 from "react";
15
+ import * as react57 from "react";
16
16
 
17
17
  //#region src/components/sidenav/context.d.ts
18
18
  /** Context for sidenav state and identification */
19
- declare const SidenavContext: react56.Context<SidenavContextValue>;
19
+ declare const SidenavContext: react57.Context<SidenavContextValue>;
20
20
  //#endregion
21
21
  export { SidenavContext };
22
22
  //# sourceMappingURL=context.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { SidenavFooterProps } from "./types.js";
14
- import * as react_jsx_runtime198 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime215 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/sidenav/footer.d.ts
17
17
 
@@ -33,7 +33,7 @@ import * as react_jsx_runtime198 from "react/jsx-runtime";
33
33
  * @param props - {@link SidenavFooterProps}
34
34
  * @returns The rendered SidenavFooter component.
35
35
  */
36
- declare function SidenavFooter(props: SidenavFooterProps): react_jsx_runtime198.JSX.Element;
36
+ declare function SidenavFooter(props: SidenavFooterProps): react_jsx_runtime215.JSX.Element;
37
37
  //#endregion
38
38
  export { SidenavFooter };
39
39
  //# sourceMappingURL=footer.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavHeaderProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime236 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime245 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/header.d.ts
18
18
 
@@ -42,7 +42,7 @@ declare function SidenavHeader({
42
42
  children,
43
43
  classNames,
44
44
  ...rest
45
- }: SidenavHeaderProps): react_jsx_runtime236.JSX.Element;
45
+ }: SidenavHeaderProps): react_jsx_runtime245.JSX.Element;
46
46
  //#endregion
47
47
  export { SidenavHeader };
48
48
  //# sourceMappingURL=header.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime237 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime238 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/index.d.ts
18
18
 
@@ -87,7 +87,7 @@ declare function Sidenav({
87
87
  isHiddenWhenClosed,
88
88
  children,
89
89
  ...rest
90
- }: SidenavProps): react_jsx_runtime237.JSX.Element | null;
90
+ }: SidenavProps): react_jsx_runtime238.JSX.Element | null;
91
91
  //#endregion
92
92
  export { Sidenav };
93
93
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavItemProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime225 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime239 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/item.d.ts
18
18
 
@@ -40,7 +40,7 @@ declare function SidenavItem({
40
40
  classNames,
41
41
  textValue,
42
42
  ...rest
43
- }: SidenavItemProps): react_jsx_runtime225.JSX.Element;
43
+ }: SidenavItemProps): react_jsx_runtime239.JSX.Element;
44
44
  //#endregion
45
45
  export { SidenavItem };
46
46
  //# sourceMappingURL=item.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavLinkProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime226 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime214 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/link.d.ts
18
18
 
@@ -40,7 +40,7 @@ declare function SidenavLink({
40
40
  classNames,
41
41
  textValue,
42
42
  ...rest
43
- }: SidenavLinkProps): react_jsx_runtime226.JSX.Element;
43
+ }: SidenavLinkProps): react_jsx_runtime214.JSX.Element;
44
44
  //#endregion
45
45
  export { SidenavLink };
46
46
  //# sourceMappingURL=link.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { SidenavMenuItemProps } from "./types.js";
14
- import * as react_jsx_runtime228 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime243 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/sidenav/menu-item.d.ts
17
17
 
@@ -37,7 +37,7 @@ declare function SidenavMenuItem({
37
37
  className,
38
38
  children,
39
39
  ...rest
40
- }: SidenavMenuItemProps): react_jsx_runtime228.JSX.Element;
40
+ }: SidenavMenuItemProps): react_jsx_runtime243.JSX.Element;
41
41
  //#endregion
42
42
  export { SidenavMenuItem };
43
43
  //# sourceMappingURL=menu-item.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavMenuProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime229 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime219 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/menu.d.ts
18
18
 
@@ -43,7 +43,7 @@ declare function SidenavMenu({
43
43
  classNames,
44
44
  children,
45
45
  ...rest
46
- }: SidenavMenuProps): react_jsx_runtime229.JSX.Element;
46
+ }: SidenavMenuProps): react_jsx_runtime219.JSX.Element;
47
47
  //#endregion
48
48
  export { SidenavMenu };
49
49
  //# sourceMappingURL=menu.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SidenavTriggerProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime230 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime220 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/sidenav/trigger.d.ts
18
18
 
@@ -39,7 +39,7 @@ declare function SidenavTrigger({
39
39
  children,
40
40
  for: type,
41
41
  ...rest
42
- }: SidenavTriggerProps): react_jsx_runtime230.JSX.Element;
42
+ }: SidenavTriggerProps): react_jsx_runtime220.JSX.Element;
43
43
  //#endregion
44
44
  export { SidenavTrigger };
45
45
  //# sourceMappingURL=trigger.d.ts.map
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  import { SkeletonProps } from "./types.js";
14
- import * as react_jsx_runtime232 from "react/jsx-runtime";
14
+ import * as react_jsx_runtime172 from "react/jsx-runtime";
15
15
 
16
16
  //#region src/components/skeleton/index.d.ts
17
17
  /**
@@ -34,7 +34,7 @@ declare function Skeleton({
34
34
  className,
35
35
  variant,
36
36
  ...rest
37
- }: SkeletonProps): react_jsx_runtime232.JSX.Element;
37
+ }: SkeletonProps): react_jsx_runtime172.JSX.Element;
38
38
  //#endregion
39
39
  export { Skeleton };
40
40
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { SliderProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime231 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime196 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/slider/index.d.ts
18
18
 
@@ -71,7 +71,7 @@ declare function Slider({
71
71
  step: stepProp,
72
72
  value: valueProp,
73
73
  ...rest
74
- }: SliderProps): react_jsx_runtime231.JSX.Element;
74
+ }: SliderProps): react_jsx_runtime196.JSX.Element;
75
75
  //#endregion
76
76
  export { Slider };
77
77
  //# sourceMappingURL=index.d.ts.map
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { StatusIndicatorProps } from "./types.js";
14
14
  import "client-only";
15
- import * as react_jsx_runtime233 from "react/jsx-runtime";
15
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
16
16
 
17
17
  //#region src/components/status-indicator/index.d.ts
18
18
 
@@ -41,7 +41,7 @@ declare function StatusIndicator({
41
41
  status,
42
42
  textValue,
43
43
  ...rest
44
- }: StatusIndicatorProps): react_jsx_runtime233.JSX.Element;
44
+ }: StatusIndicatorProps): react_jsx_runtime0.JSX.Element;
45
45
  //#endregion
46
46
  export { StatusIndicator };
47
47
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,71 @@
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
+ import { StepperBackProps } from "./types.js";
14
+ import "client-only";
15
+ import * as react_jsx_runtime176 from "react/jsx-runtime";
16
+
17
+ //#region src/components/stepper/back.d.ts
18
+
19
+ /**
20
+ * Navigation button that moves to the previous step.
21
+ *
22
+ * Automatically disables on the first step unless the disabled state is
23
+ * explicitly overridden. Uses an accessible name of `Go to previous step`
24
+ * regardless of the visible button label.
25
+ *
26
+ * @param props - The back-button props.
27
+ * @param props.children - Visible button content, typically "Back" or an icon.
28
+ * @param props.isDisabled - Overrides the automatic first-step disabled state.
29
+ * @param props.className - CSS class applied to the button.
30
+ * @returns The rendered previous-step button.
31
+ *
32
+ * @example
33
+ * Basic usage:
34
+ * ```tsx
35
+ * <Stepper defaultStep="step-1">
36
+ * <StepperList>
37
+ * <StepperStep id="step-1">Step 1</StepperStep>
38
+ * <StepperStep id="step-2">Step 2</StepperStep>
39
+ * </StepperList>
40
+ * <StepperPanel id="step-1">Content 1</StepperPanel>
41
+ * <StepperPanel id="step-2">Content 2</StepperPanel>
42
+ * <StepperBack>Back</StepperBack>
43
+ * <StepperNext>Next</StepperNext>
44
+ * </Stepper>
45
+ * ```
46
+ *
47
+ * @example
48
+ * Override disabled state:
49
+ * ```tsx
50
+ * <StepperBack isDisabled={false}>
51
+ * Always Enabled Back
52
+ * </StepperBack>
53
+ * ```
54
+ *
55
+ * @example
56
+ * Custom styling:
57
+ * ```tsx
58
+ * <StepperBack className="custom-back-button">
59
+ * ← Previous
60
+ * </StepperBack>
61
+ * ```
62
+ */
63
+ declare function StepperBack({
64
+ children,
65
+ isDisabled: isDisabledProp,
66
+ className,
67
+ ...rest
68
+ }: StepperBackProps): react_jsx_runtime176.JSX.Element;
69
+ //#endregion
70
+ export { StepperBack };
71
+ //# sourceMappingURL=back.d.ts.map
@@ -0,0 +1,82 @@
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
+ 'use client';
15
+
16
+ import { Button } from "../button/index.js";
17
+ import { useStepperContext } from "./context.js";
18
+ import "client-only";
19
+ import { jsx } from "react/jsx-runtime";
20
+
21
+ //#region src/components/stepper/back.tsx
22
+ /**
23
+ * Navigation button that moves to the previous step.
24
+ *
25
+ * Automatically disables on the first step unless the disabled state is
26
+ * explicitly overridden. Uses an accessible name of `Go to previous step`
27
+ * regardless of the visible button label.
28
+ *
29
+ * @param props - The back-button props.
30
+ * @param props.children - Visible button content, typically "Back" or an icon.
31
+ * @param props.isDisabled - Overrides the automatic first-step disabled state.
32
+ * @param props.className - CSS class applied to the button.
33
+ * @returns The rendered previous-step button.
34
+ *
35
+ * @example
36
+ * Basic usage:
37
+ * ```tsx
38
+ * <Stepper defaultStep="step-1">
39
+ * <StepperList>
40
+ * <StepperStep id="step-1">Step 1</StepperStep>
41
+ * <StepperStep id="step-2">Step 2</StepperStep>
42
+ * </StepperList>
43
+ * <StepperPanel id="step-1">Content 1</StepperPanel>
44
+ * <StepperPanel id="step-2">Content 2</StepperPanel>
45
+ * <StepperBack>Back</StepperBack>
46
+ * <StepperNext>Next</StepperNext>
47
+ * </Stepper>
48
+ * ```
49
+ *
50
+ * @example
51
+ * Override disabled state:
52
+ * ```tsx
53
+ * <StepperBack isDisabled={false}>
54
+ * Always Enabled Back
55
+ * </StepperBack>
56
+ * ```
57
+ *
58
+ * @example
59
+ * Custom styling:
60
+ * ```tsx
61
+ * <StepperBack className="custom-back-button">
62
+ * ← Previous
63
+ * </StepperBack>
64
+ * ```
65
+ */
66
+ function StepperBack({ children = "Back", isDisabled: isDisabledProp, className, ...rest }) {
67
+ const { previous, isFirstStep } = useStepperContext();
68
+ const isDisabled = isDisabledProp ?? isFirstStep;
69
+ return /* @__PURE__ */ jsx(Button, {
70
+ ...rest,
71
+ className,
72
+ isDisabled,
73
+ onPress: previous,
74
+ "aria-label": "Go to previous step",
75
+ "aria-disabled": isDisabled,
76
+ children
77
+ });
78
+ }
79
+
80
+ //#endregion
81
+ export { StepperBack };
82
+ //# sourceMappingURL=back.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"back.js","names":[],"sources":["../../../src/components/stepper/back.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 'client-only';\nimport { Button } from '../button';\nimport { useStepperContext } from './context';\nimport type { StepperBackProps } from './types';\n\n/**\n * Navigation button that moves to the previous step.\n *\n * Automatically disables on the first step unless the disabled state is\n * explicitly overridden. Uses an accessible name of `Go to previous step`\n * regardless of the visible button label.\n *\n * @param props - The back-button props.\n * @param props.children - Visible button content, typically \"Back\" or an icon.\n * @param props.isDisabled - Overrides the automatic first-step disabled state.\n * @param props.className - CSS class applied to the button.\n * @returns The rendered previous-step button.\n *\n * @example\n * Basic usage:\n * ```tsx\n * <Stepper defaultStep=\"step-1\">\n * <StepperList>\n * <StepperStep id=\"step-1\">Step 1</StepperStep>\n * <StepperStep id=\"step-2\">Step 2</StepperStep>\n * </StepperList>\n * <StepperPanel id=\"step-1\">Content 1</StepperPanel>\n * <StepperPanel id=\"step-2\">Content 2</StepperPanel>\n * <StepperBack>Back</StepperBack>\n * <StepperNext>Next</StepperNext>\n * </Stepper>\n * ```\n *\n * @example\n * Override disabled state:\n * ```tsx\n * <StepperBack isDisabled={false}>\n * Always Enabled Back\n * </StepperBack>\n * ```\n *\n * @example\n * Custom styling:\n * ```tsx\n * <StepperBack className=\"custom-back-button\">\n * ← Previous\n * </StepperBack>\n * ```\n */\nexport function StepperBack({\n children = 'Back',\n isDisabled: isDisabledProp,\n className,\n ...rest\n}: StepperBackProps) {\n const { previous, isFirstStep } = useStepperContext();\n\n // Auto-disable at first step unless explicitly overridden\n const isDisabled = isDisabledProp ?? isFirstStep;\n\n return (\n <Button\n {...rest}\n className={className}\n isDisabled={isDisabled}\n onPress={previous}\n aria-label='Go to previous step'\n aria-disabled={isDisabled}\n >\n {children}\n </Button>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DA,SAAgB,YAAY,EAC1B,WAAW,QACX,YAAY,gBACZ,WACA,GAAG,QACgB;CACnB,MAAM,EAAE,UAAU,gBAAgB,mBAAmB;CAGrD,MAAM,aAAa,kBAAkB;AAErC,QACE,oBAAC;EACC,GAAI;EACO;EACC;EACZ,SAAS;EACT,cAAW;EACX,iBAAe;EAEd;GACM"}