@slotted/react 0.1.0-beta.1 → 0.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/README.md +4 -0
  2. package/dist/{action-bar-C7cGnEyJ.js → action-bar-OACchRZw.js} +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/{action-sheet-D8Glxl7l.js → action-sheet-C60BWUW8.js} +1 -1
  5. package/dist/action-sheet.js +1 -1
  6. package/dist/{app-shell-CXwma4XA.js → app-shell-CmYvnu_7.js} +310 -310
  7. package/dist/app-shell.js +1 -1
  8. package/dist/button-Db9f3Bxn.js +99 -0
  9. package/dist/button.js +2 -2
  10. package/dist/cascader-D1AhTyBL.js +1097 -0
  11. package/dist/cascader.js +1 -1
  12. package/dist/chart-O0ZhkzJe.js +966 -0
  13. package/dist/chart.js +1 -1
  14. package/dist/{checkbox-CwUOc-3u.js → checkbox-DfxFHZaU.js} +3 -3
  15. package/dist/{checkbox-group-BYTjgAcX.js → checkbox-group-9sDgrV5Z.js} +2 -2
  16. package/dist/checkbox-group.js +1 -1
  17. package/dist/checkbox.js +1 -1
  18. package/dist/{color-picker-BlPR4g4H.js → color-picker-CwbWzCKg.js} +4 -4
  19. package/dist/color-picker.js +1 -1
  20. package/dist/{column-manager-CNZ7Xk5_.js → column-manager-CTtizVhm.js} +6 -6
  21. package/dist/column-manager.js +1 -1
  22. package/dist/{combobox-C46GRqAA.js → combobox-BVMI9lg8.js} +296 -292
  23. package/dist/combobox.js +1 -1
  24. package/dist/{command-palette-BqRyNR9Y.js → command-palette-DFLbSOiv.js} +1 -1
  25. package/dist/command-palette.js +1 -1
  26. package/dist/{context-menu-DMiHdggw.js → context-menu-BuST6W94.js} +1 -1
  27. package/dist/context-menu.js +1 -1
  28. package/dist/currency-field-DD9A5U3D.js +455 -0
  29. package/dist/currency-field.js +1 -1
  30. package/dist/dashboard-grid-CBMP_-JV.js +1043 -0
  31. package/dist/dashboard-grid.js +1 -1
  32. package/dist/{data-grid-BUgOJuGp.js → data-grid-BKaGMqIm.js} +19 -19
  33. package/dist/data-grid.js +1 -1
  34. package/dist/{data-list-2xfDpHVC.js → data-list-oICmxGkA.js} +5 -5
  35. package/dist/data-list.js +1 -1
  36. package/dist/{date-field-D_kLLTfL.js → date-field-CYcN6diW.js} +1 -1
  37. package/dist/date-field.js +1 -1
  38. package/dist/date-picker-4X-_2ltN.js +264 -0
  39. package/dist/date-picker.js +1 -1
  40. package/dist/date-range-picker-CNOAtHwU.js +471 -0
  41. package/dist/date-range-picker.js +1 -1
  42. package/dist/{datetime-field-T1gNdJ7t.js → datetime-field-B8TrmsDK.js} +1 -1
  43. package/dist/datetime-field.js +1 -1
  44. package/dist/datetime-picker-HDVlUhzy.js +629 -0
  45. package/dist/datetime-picker.js +1 -1
  46. package/dist/datetime-range-picker-IqOFJtdW.js +994 -0
  47. package/dist/datetime-range-picker.js +1 -1
  48. package/dist/{dialog-Dmy-m_pe.js → dialog-BHYDDj1S.js} +112 -113
  49. package/dist/dialog.js +1 -1
  50. package/dist/docs/AGENTS.snippet.md +10 -0
  51. package/dist/docs/app-shell.json +1 -1
  52. package/dist/docs/button-group.json +1 -0
  53. package/dist/docs/button-group.md +1 -1
  54. package/dist/docs/button.json +45 -11
  55. package/dist/docs/button.md +10 -6
  56. package/dist/docs/chart.json +7 -0
  57. package/dist/docs/chart.md +1 -0
  58. package/dist/docs/currency-field.json +32 -1
  59. package/dist/docs/currency-field.md +4 -1
  60. package/dist/docs/dialog.examples.md +26 -0
  61. package/dist/docs/dialog.json +14 -2
  62. package/dist/docs/dialog.md +1 -1
  63. package/dist/docs/event-calendar.json +7 -0
  64. package/dist/docs/event-calendar.md +1 -0
  65. package/dist/docs/guidelines/README.md +27 -0
  66. package/dist/docs/guidelines/async-feedback.md +108 -0
  67. package/dist/docs/guidelines/browsing.md +74 -0
  68. package/dist/docs/guidelines/builders.md +97 -0
  69. package/dist/docs/guidelines/composition.md +129 -0
  70. package/dist/docs/guidelines/conversations.md +59 -0
  71. package/dist/docs/guidelines/errors-and-conflicts.md +71 -0
  72. package/dist/docs/guidelines/forms.md +192 -0
  73. package/dist/docs/guidelines/index.md +121 -0
  74. package/dist/docs/guidelines/layout-alignment.md +95 -0
  75. package/dist/docs/guidelines/ledgers.md +45 -0
  76. package/dist/docs/guidelines/list-pages.md +165 -0
  77. package/dist/docs/guidelines/overviews.md +66 -0
  78. package/dist/docs/guidelines/own-elements.md +115 -0
  79. package/dist/docs/guidelines/reading-permissions.md +55 -0
  80. package/dist/docs/guidelines/record-pages.md +178 -0
  81. package/dist/docs/guidelines/reports.md +123 -0
  82. package/dist/docs/guidelines/shell-composition.md +94 -0
  83. package/dist/docs/guidelines/workspaces.md +46 -0
  84. package/dist/docs/index.md +12 -0
  85. package/dist/docs/list.json +26 -1
  86. package/dist/docs/list.md +4 -1
  87. package/dist/docs/popover.json +1 -1
  88. package/dist/docs/progress-indicator.json +1 -2
  89. package/dist/docs/progress-indicator.md +2 -2
  90. package/dist/docs/segmented-control.json +29 -1
  91. package/dist/docs/segmented-control.md +17 -1
  92. package/dist/docs/side-navigation.json +2 -2
  93. package/dist/docs/side-navigation.md +19 -4
  94. package/dist/docs/skills/build-own-element/SKILL.md +90 -0
  95. package/dist/docs/skills/compose-screen/SKILL.md +76 -0
  96. package/dist/docs/skills/index.md +9 -0
  97. package/dist/docs/skills/review-screen/SKILL.md +70 -0
  98. package/dist/docs/skills/theme-app/SKILL.md +79 -0
  99. package/dist/docs/skills/waiting-states/SKILL.md +139 -0
  100. package/dist/docs/split-button.json +1 -0
  101. package/dist/docs/split-button.md +1 -1
  102. package/dist/docs/stat-card.json +2 -0
  103. package/dist/docs/stat-card.md +1 -1
  104. package/dist/docs/table.examples.md +1 -1
  105. package/dist/docs/table.json +78 -2
  106. package/dist/docs/table.md +12 -1
  107. package/dist/docs/tabs.examples.md +1 -1
  108. package/dist/docs/tabs.json +2 -5
  109. package/dist/docs/tabs.md +1 -1
  110. package/dist/docs/toggle-group.json +14 -3
  111. package/dist/docs/toggle-group.md +3 -3
  112. package/dist/docs/toggle.json +12 -3
  113. package/dist/docs/toggle.md +3 -3
  114. package/dist/docs/tokens.md +448 -0
  115. package/dist/docs/top-navigation.examples.md +23 -5
  116. package/dist/docs/top-navigation.json +2 -2
  117. package/dist/docs/tour.json +1 -1
  118. package/dist/drawer-LXM44eso.js +757 -0
  119. package/dist/drawer.js +1 -1
  120. package/dist/entity-picker-CPDd73JR.js +1110 -0
  121. package/dist/entity-picker.js +1 -1
  122. package/dist/{event-calendar-BFdeGfC-.js → event-calendar-CnF3iIZD.js} +391 -390
  123. package/dist/event-calendar.js +1 -1
  124. package/dist/{field-BJh5HI7w.js → field-NJaCxl2h.js} +1 -1
  125. package/dist/{field-group-BDaspQPh.js → field-group-hAzVa2O9.js} +1 -1
  126. package/dist/field-group.js +1 -1
  127. package/dist/field.js +1 -1
  128. package/dist/{filter-bar-b2Q9BZHf.js → filter-bar-D_xDcAp2.js} +20 -20
  129. package/dist/filter-bar.js +1 -1
  130. package/dist/{hover-card-CSDbA6zd.js → hover-card-BJE5dtaQ.js} +1 -1
  131. package/dist/hover-card.js +1 -1
  132. package/dist/{icon-button-TnvMhK4o.js → icon-button-CCWkCDMs.js} +26 -24
  133. package/dist/import-export-center-DpY2DGBZ.js +813 -0
  134. package/dist/import-export-center.js +1 -1
  135. package/dist/index.js +85 -84
  136. package/dist/{list-C1Y8MWp2.js → list-WsQ6ZzCa.js} +16 -12
  137. package/dist/{list-item-DN_mcouU.js → list-item-DpCwZIrd.js} +1 -1
  138. package/dist/list-item.js +1 -1
  139. package/dist/list.js +1 -1
  140. package/dist/{listbox-4WvqR0JF.js → listbox-Dv856z9I.js} +1 -1
  141. package/dist/listbox.js +1 -1
  142. package/dist/{loading-overlay-B83XFctM.js → loading-overlay-COfnckse.js} +73 -73
  143. package/dist/loading-overlay.js +1 -1
  144. package/dist/{markdown-CpfDn1LF.js → markdown-CeG8mUbI.js} +2 -2
  145. package/dist/markdown.js +1 -1
  146. package/dist/menu-parts-W58pVNUt.js +786 -0
  147. package/dist/menu.js +1 -1
  148. package/dist/{menubar-CtGavUTO.js → menubar-b2CruimJ.js} +1 -1
  149. package/dist/menubar.js +1 -1
  150. package/dist/{multi-select-CfzsvAeI.js → multi-select-DQ5ds0fX.js} +432 -437
  151. package/dist/multi-select.js +1 -1
  152. package/dist/{notification-center-C4pEHJ3h.js → notification-center-Sz54IziY.js} +2 -2
  153. package/dist/notification-center.js +1 -1
  154. package/dist/{number-field-J_koud1r.js → number-field-BFIAmv-z.js} +1 -1
  155. package/dist/number-field.js +1 -1
  156. package/dist/{otp-input-Bf8JUiVR.js → otp-input-BNQhuKaT.js} +1 -1
  157. package/dist/otp-input.js +1 -1
  158. package/dist/popover-Be7JWbGJ.js +475 -0
  159. package/dist/popover.js +1 -1
  160. package/dist/press-selection-DjOllE2B.js +29 -0
  161. package/dist/press-selection.js +2 -0
  162. package/dist/{prompt-composer-B7MMcER0.js → prompt-composer-BxpdkTpZ.js} +1 -1
  163. package/dist/prompt-composer.js +1 -1
  164. package/dist/{radio-group-BFpjhDkV.js → radio-group-BaVIP9UH.js} +2 -2
  165. package/dist/radio-group.js +1 -1
  166. package/dist/{rating-D1EsADFM.js → rating-DYBQBzwB.js} +1 -1
  167. package/dist/rating.js +1 -1
  168. package/dist/{saved-views-BueW-Lyb.js → saved-views-DlE_--Z9.js} +5 -5
  169. package/dist/saved-views.js +1 -1
  170. package/dist/{segmented-control-Cy_5D3Nj.js → segmented-control-DmuOGiu6.js} +28 -24
  171. package/dist/segmented-control.js +1 -1
  172. package/dist/{select-UTwKjheK.js → select-DOFqPy26.js} +334 -347
  173. package/dist/select.js +1 -1
  174. package/dist/{side-navigation-YUiJRpng.js → side-navigation-CBLtCzuJ.js} +186 -187
  175. package/dist/side-navigation.js +1 -1
  176. package/dist/{slider-B432T6nD.js → slider-DTes4HLF.js} +1 -1
  177. package/dist/slider.js +1 -1
  178. package/dist/{split-button-DHF3v3PJ.js → split-button-CPgHiy9G.js} +2 -2
  179. package/dist/split-button.js +1 -1
  180. package/dist/styles.css +1 -1
  181. package/dist/{switch-4MHwKmkz.js → switch-DQzuIhPX.js} +1 -1
  182. package/dist/switch.js +1 -1
  183. package/dist/{table-CzBIw9ng.js → table-Cipi2c5X.js} +206 -173
  184. package/dist/table.js +2 -2
  185. package/dist/{tags-input-DLdHLWrH.js → tags-input-CcOkm0AW.js} +1 -1
  186. package/dist/tags-input.js +1 -1
  187. package/dist/{text-field-BktZbmzD.js → text-field-DLfIZ0fk.js} +1 -1
  188. package/dist/text-field.js +1 -1
  189. package/dist/{textarea-JAK2RJl0.js → textarea-CBJBJBi6.js} +1 -1
  190. package/dist/textarea.js +1 -1
  191. package/dist/{time-field-DCG_VtGO.js → time-field-DrhiCtUl.js} +1 -1
  192. package/dist/time-field.js +1 -1
  193. package/dist/{time-picker-DuT1tf5-.js → time-picker-CRQsMJbQ.js} +102 -102
  194. package/dist/time-picker.js +1 -1
  195. package/dist/{time-range-picker-HwBvrrXN.js → time-range-picker-DlZJsj1e.js} +202 -202
  196. package/dist/time-range-picker.js +1 -1
  197. package/dist/{toast-wI8BtPY5.js → toast-Bf3e0AgC.js} +157 -157
  198. package/dist/toast.js +1 -1
  199. package/dist/toggle-group-7iBR9Rn1.js +142 -0
  200. package/dist/toggle-group.js +1 -1
  201. package/dist/{toolbar-CDQTydDx.js → toolbar-DDZpEftQ.js} +1 -1
  202. package/dist/toolbar.js +1 -1
  203. package/dist/{tooltip-BggqPDcW.js → tooltip-DbKTPe_i.js} +108 -109
  204. package/dist/tooltip.js +1 -1
  205. package/dist/{top-navigation-COQZsNqW.js → top-navigation-e-tWMGNr.js} +255 -256
  206. package/dist/top-navigation.js +1 -1
  207. package/dist/{tour-C11DmYTC.js → tour-BTdt716T.js} +180 -180
  208. package/dist/tour.js +1 -1
  209. package/dist/{transfer-JA9TWjAw.js → transfer-CqZOTLMP.js} +6 -6
  210. package/dist/transfer.js +1 -1
  211. package/dist/types/app-shell/app-shell.d.ts.map +1 -1
  212. package/dist/types/button/button-link.d.ts +1 -1
  213. package/dist/types/button/button-link.d.ts.map +1 -1
  214. package/dist/types/button/button-root.d.ts +5 -3
  215. package/dist/types/button/button-root.d.ts.map +1 -1
  216. package/dist/types/button/button.constants.d.ts +2 -1
  217. package/dist/types/button/button.constants.d.ts.map +1 -1
  218. package/dist/types/button/button.d.ts +1 -1
  219. package/dist/types/button/button.d.ts.map +1 -1
  220. package/dist/types/button/button.types.d.ts +9 -2
  221. package/dist/types/button/button.types.d.ts.map +1 -1
  222. package/dist/types/button/index.d.ts +1 -1
  223. package/dist/types/button/index.d.ts.map +1 -1
  224. package/dist/types/button/toggle-button.d.ts +1 -1
  225. package/dist/types/button/toggle-button.d.ts.map +1 -1
  226. package/dist/types/chart/chart.d.ts.map +1 -1
  227. package/dist/types/combobox/combobox-collection.d.ts +1 -0
  228. package/dist/types/combobox/combobox-collection.d.ts.map +1 -1
  229. package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
  230. package/dist/types/combobox/combobox.d.ts.map +1 -1
  231. package/dist/types/currency-field/currency-field.d.ts +1 -1
  232. package/dist/types/currency-field/currency-field.d.ts.map +1 -1
  233. package/dist/types/currency-field/currency-field.types.d.ts +14 -0
  234. package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
  235. package/dist/types/currency-field/index.d.ts +1 -1
  236. package/dist/types/currency-field/index.d.ts.map +1 -1
  237. package/dist/types/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  238. package/dist/types/dashboard-grid/dashboard-widget.d.ts +1 -1
  239. package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
  240. package/dist/types/dialog/dialog-demo.d.ts +8 -0
  241. package/dist/types/dialog/dialog-demo.d.ts.map +1 -1
  242. package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
  243. package/dist/types/event-calendar/event-calendar.d.ts +1 -1
  244. package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
  245. package/dist/types/event-calendar/event-calendar.types.d.ts +6 -0
  246. package/dist/types/event-calendar/event-calendar.types.d.ts.map +1 -1
  247. package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
  248. package/dist/types/index.d.ts +1 -0
  249. package/dist/types/index.d.ts.map +1 -1
  250. package/dist/types/list/index.d.ts +1 -1
  251. package/dist/types/list/index.d.ts.map +1 -1
  252. package/dist/types/list/list-parts.d.ts +1 -1
  253. package/dist/types/list/list-parts.d.ts.map +1 -1
  254. package/dist/types/list/list.types.d.ts +12 -0
  255. package/dist/types/list/list.types.d.ts.map +1 -1
  256. package/dist/types/menu/menu.types.d.ts +3 -1
  257. package/dist/types/menu/menu.types.d.ts.map +1 -1
  258. package/dist/types/multi-select/multi-select-collection.d.ts +0 -2
  259. package/dist/types/multi-select/multi-select-collection.d.ts.map +1 -1
  260. package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
  261. package/dist/types/multi-select/multi-select.d.ts.map +1 -1
  262. package/dist/types/press-selection/index.d.ts +3 -0
  263. package/dist/types/press-selection/index.d.ts.map +1 -0
  264. package/dist/types/press-selection/press-selection.d.ts +23 -0
  265. package/dist/types/press-selection/press-selection.d.ts.map +1 -0
  266. package/dist/types/segmented-control/index.d.ts +1 -1
  267. package/dist/types/segmented-control/index.d.ts.map +1 -1
  268. package/dist/types/segmented-control/segmented-control-defaults.d.ts.map +1 -1
  269. package/dist/types/segmented-control/segmented-control.d.ts +1 -1
  270. package/dist/types/segmented-control/segmented-control.d.ts.map +1 -1
  271. package/dist/types/segmented-control/segmented-control.types.d.ts +10 -0
  272. package/dist/types/segmented-control/segmented-control.types.d.ts.map +1 -1
  273. package/dist/types/select/select-collection.d.ts +0 -2
  274. package/dist/types/select/select-collection.d.ts.map +1 -1
  275. package/dist/types/select/select.d.ts.map +1 -1
  276. package/dist/types/table/index.d.ts +2 -2
  277. package/dist/types/table/index.d.ts.map +1 -1
  278. package/dist/types/table/table-parts.d.ts +8 -2
  279. package/dist/types/table/table-parts.d.ts.map +1 -1
  280. package/dist/types/table/table.types.d.ts +28 -1
  281. package/dist/types/table/table.types.d.ts.map +1 -1
  282. package/dist/types/toggle/toggle.types.d.ts +1 -1
  283. package/dist/types/toggle/toggle.types.d.ts.map +1 -1
  284. package/dist/types/toggle-group/toggle-group.d.ts.map +1 -1
  285. package/dist/types/toggle-group/toggle-group.types.d.ts +6 -1
  286. package/dist/types/toggle-group/toggle-group.types.d.ts.map +1 -1
  287. package/dist/{upload-Bq_UiyMr.js → upload-DjnlVR8y.js} +2 -2
  288. package/dist/upload.js +1 -1
  289. package/dist/{wizard-B4GrlEqh.js → wizard-BxA08vXt.js} +1 -1
  290. package/dist/wizard.js +1 -1
  291. package/package.json +12 -7
  292. package/dist/button-DakQ-7Tm.js +0 -97
  293. package/dist/cascader-CARCYdHh.js +0 -1097
  294. package/dist/chart-BNzfIfQe.js +0 -948
  295. package/dist/currency-field-B7OZ0hk7.js +0 -436
  296. package/dist/dashboard-grid-nfhEewA4.js +0 -1005
  297. package/dist/date-picker-DQ5SIhdA.js +0 -264
  298. package/dist/date-range-picker-lpB08hK_.js +0 -471
  299. package/dist/datetime-picker-0F0kDW-8.js +0 -629
  300. package/dist/datetime-range-picker-ClnEleth.js +0 -994
  301. package/dist/drawer-Ci3wuCVa.js +0 -758
  302. package/dist/entity-picker-UGhbVwkC.js +0 -1111
  303. package/dist/import-export-center-D8xbCLWs.js +0 -813
  304. package/dist/menu-parts-BQej6eU9.js +0 -787
  305. package/dist/popover-DE22lSpV.js +0 -476
  306. package/dist/react-dom-DzrKNxo6.js +0 -273
  307. package/dist/toggle-group-DQBlI1TV.js +0 -140
@@ -1,27 +1,27 @@
1
- import { t as e } from "./react-dom-DzrKNxo6.js";
2
- import { n as t, t as n } from "./icon-T9Yt4tnm.js";
3
- import { r } from "./i18n-DpW8lqJ1.js";
4
- import { i } from "./app-shell-CXwma4XA.js";
5
- import { a, i as o, n as s, r as c } from "./tooltip-BggqPDcW.js";
6
- import { f as l, m as u, s as d } from "./navigation-menu-parts-D8qFAwHX.js";
7
- import { createControllable as f } from "@slotted/core/state";
8
- import { createContext as p, useCallback as m, useContext as h, useEffect as g, useId as ee, useImperativeHandle as te, useMemo as _, useRef as v, useState as y } from "react";
1
+ import { n as e, t } from "./icon-T9Yt4tnm.js";
2
+ import { r as n } from "./i18n-DpW8lqJ1.js";
3
+ import { i as r } from "./app-shell-CmYvnu_7.js";
4
+ import { a as i, i as a, n as o, r as s } from "./tooltip-DbKTPe_i.js";
5
+ import { f as c, m as l, s as u } from "./navigation-menu-parts-D8qFAwHX.js";
6
+ import { createControllable as d } from "@slotted/core/state";
7
+ import { createContext as f, useCallback as p, useContext as m, useEffect as h, useId as g, useImperativeHandle as ee, useMemo as _, useRef as v, useState as y } from "react";
9
8
  import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
10
- import { createPresence as ne } from "@slotted/core/presence";
11
- import { createDismissableLayer as re } from "@slotted/core/dismissable-layer";
12
- import { topNavigationMessages as ie } from "@slotted/core/i18n";
13
- import { COMPACT_BELOW as ae, createWidthGate as oe } from "@slotted/core/measure";
9
+ import { createPresence as te } from "@slotted/core/presence";
10
+ import { createDismissableLayer as ne } from "@slotted/core/dismissable-layer";
11
+ import { createPortal as C } from "react-dom";
12
+ import { topNavigationMessages as re } from "@slotted/core/i18n";
13
+ import { COMPACT_BELOW as ie, createWidthGate as ae } from "@slotted/core/measure";
14
14
  //#region src/top-navigation/top-navigation-defaults.tsx
15
- var se = {
15
+ var oe = {
16
16
  frame: !0,
17
17
  landmark: !0,
18
18
  size: "md"
19
- }, C = p(se);
20
- function ce() {
21
- return h(C);
19
+ }, w = f(oe);
20
+ function se() {
21
+ return m(w);
22
22
  }
23
- function w({ children: e, ...t }) {
24
- let n = ce(), r = _(() => ({
23
+ function T({ children: e, ...t }) {
24
+ let n = se(), r = _(() => ({
25
25
  frame: t.frame ?? n.frame,
26
26
  landmark: t.landmark ?? n.landmark,
27
27
  size: t.size ?? n.size
@@ -31,293 +31,292 @@ function w({ children: e, ...t }) {
31
31
  t.size,
32
32
  n
33
33
  ]);
34
- return /* @__PURE__ */ x(C.Provider, {
34
+ return /* @__PURE__ */ x(w.Provider, {
35
35
  value: r,
36
36
  children: e
37
37
  });
38
38
  }
39
39
  //#endregion
40
40
  //#region src/top-navigation/top-navigation.tsx
41
- var T = {
41
+ var E = {
42
42
  high: 480,
43
43
  low: 1024,
44
- medium: ae
45
- }, le = "[data-part=\"skip\"], [data-part=\"home\"][href], [data-part=\"link\"], [data-part=\"trigger\"], [data-part=\"more\"], [data-part=\"search\"] input, [data-part=\"search-toggle\"], [data-part=\"help\"], [data-part=\"notifications\"], [data-part=\"account\"]", ue = p(void 0);
46
- function E() {
47
- let e = h(ue);
44
+ medium: ie
45
+ }, ce = "[data-part=\"skip\"], [data-part=\"home\"][href], [data-part=\"link\"], [data-part=\"trigger\"], [data-part=\"more\"], [data-part=\"search\"] input, [data-part=\"search-toggle\"], [data-part=\"help\"], [data-part=\"notifications\"], [data-part=\"account\"]", le = f(void 0);
46
+ function D() {
47
+ let e = m(le);
48
48
  if (e === void 0) throw Error("Every top-navigation part must be rendered inside TopNavigation.");
49
49
  return e;
50
50
  }
51
- function de({ children: e, className: t, defaultMoreOpen: n, defaultSearchOpen: a, defaultValue: o, frame: s, landmark: c, messages: l, moreOpen: u, onCollapseChange: d, onMoreOpenChange: p, onSearchOpenChange: h, onValueChange: ae, ref: se, render: C, searchOpen: w, size: E, skipTo: de, style: D, value: O, ...k }) {
52
- let A = ce(), j = i(), M = ee(), fe = c ?? (j === void 0 && A.landmark), pe = s ?? (j === void 0 && A.frame), N = r(ie, l), P = E ?? A.size, [me, he] = y(o ?? null), [ge, _e] = y(n ?? !1), [ve, ye] = y(a ?? !1), F = O === void 0 ? me : O, I = u === void 0 ? ge : u, L = w === void 0 ? ve : w, [R, be] = y(null), [xe, z] = y(!1), [B, Se] = y(!1), [V, Ce] = y(!1), [H, we] = y(null), [Te, Ee] = y(null), [U, De] = y(null), [W, Oe] = y(null), [ke, Ae] = y(null), [je, Me] = y(!1), [Ne, Pe] = y(!1), [Fe, Ie] = y(!1), [Le, Re] = y("unmounted"), G = _(() => {
51
+ function ue({ children: e, className: t, defaultMoreOpen: i, defaultSearchOpen: a, defaultValue: o, frame: s, landmark: c, messages: l, moreOpen: u, onCollapseChange: f, onMoreOpenChange: m, onSearchOpenChange: C, onValueChange: ie, ref: oe, render: w, searchOpen: T, size: D, skipTo: ue, style: O, value: k, ...de }) {
52
+ let A = se(), j = r(), M = g(), fe = c ?? (j === void 0 && A.landmark), pe = s ?? (j === void 0 && A.frame), N = n(re, l), P = D ?? A.size, [me, he] = y(o ?? null), [ge, _e] = y(i ?? !1), [ve, ye] = y(a ?? !1), F = k === void 0 ? me : k, I = u === void 0 ? ge : u, L = T === void 0 ? ve : T, [R, be] = y(null), [z, B] = y(!1), [V, xe] = y(!1), [H, Se] = y(!1), [U, Ce] = y(null), [we, Te] = y(null), [W, Ee] = y(null), [G, De] = y(null), [Oe, ke] = y(null), [Ae, je] = y(!1), [Me, Ne] = y(!1), [Pe, Fe] = y(!1), [Ie, Le] = y("unmounted"), K = _(() => {
53
53
  let e = /* @__PURE__ */ new Set();
54
- return xe && e.add("low"), B && e.add("medium"), V && e.add("high"), e;
54
+ return z && e.add("low"), V && e.add("medium"), H && e.add("high"), e;
55
55
  }, [
56
- V,
57
- xe,
58
- B
59
- ]), [ze, Be] = y(() => /* @__PURE__ */ new Map()), Ve = v(0), He = m((e, t, n) => (Be((r) => {
56
+ H,
57
+ z,
58
+ V
59
+ ]), [Re, ze] = y(() => /* @__PURE__ */ new Map()), Be = v(0), Ve = p((e, t, n) => (ze((r) => {
60
60
  let i = new Map(r);
61
61
  return i.set(e, {
62
62
  current: n,
63
- order: r.get(e)?.order ?? (Ve.current += 1),
63
+ order: r.get(e)?.order ?? (Be.current += 1),
64
64
  priority: t
65
65
  }), i;
66
66
  }), () => {
67
- Be((t) => {
67
+ ze((t) => {
68
68
  if (!t.has(e)) return t;
69
69
  let n = new Map(t);
70
70
  return n.delete(e), n;
71
71
  });
72
- }), []), { collapsed: K, currentFolded: Ue } = _(() => {
73
- let e = [...ze.entries()].filter(([, e]) => G.has(e.priority)).sort(([, e], [, t]) => e.order - t.order);
72
+ }), []), { collapsed: q, currentFolded: He } = _(() => {
73
+ let e = [...Re.entries()].filter(([, e]) => K.has(e.priority)).sort(([, e], [, t]) => e.order - t.order);
74
74
  return {
75
75
  collapsed: e.map(([e]) => e),
76
76
  currentFolded: e.some(([e, t]) => t.current || e === F)
77
77
  };
78
78
  }, [
79
79
  F,
80
- G,
81
- ze
82
- ]), q = v({
80
+ K,
81
+ Re
82
+ ]), J = v({
83
83
  currentMoreOpen: I,
84
84
  currentSearchOpen: L,
85
85
  currentValue: F,
86
86
  moreOpen: u,
87
- searchOpen: w,
88
- value: O
87
+ searchOpen: T,
88
+ value: k
89
89
  });
90
- q.current = {
90
+ J.current = {
91
91
  currentMoreOpen: I,
92
92
  currentSearchOpen: L,
93
93
  currentValue: F,
94
94
  moreOpen: u,
95
- searchOpen: w,
96
- value: O
95
+ searchOpen: T,
96
+ value: k
97
97
  };
98
- let J = m((e, t, n) => {
99
- f({
100
- controlled: q.current.moreOpen,
101
- initial: q.current.currentMoreOpen,
102
- onRequest: (e) => p?.(e.value, e)
98
+ let Y = p((e, t, n) => {
99
+ d({
100
+ controlled: J.current.moreOpen,
101
+ initial: J.current.currentMoreOpen,
102
+ onRequest: (e) => m?.(e.value, e)
103
103
  }).request(e, t, n) && _e(e);
104
- }, [p]), Y = m((e, t, n) => {
105
- f({
106
- controlled: q.current.searchOpen,
107
- initial: q.current.currentSearchOpen,
108
- onRequest: (e) => h?.(e.value, e)
104
+ }, [m]), X = p((e, t, n) => {
105
+ d({
106
+ controlled: J.current.searchOpen,
107
+ initial: J.current.currentSearchOpen,
108
+ onRequest: (e) => C?.(e.value, e)
109
109
  }).request(e, t, n) && ye(e);
110
- }, [h]), We = m((e, t, n) => {
111
- f({
112
- controlled: q.current.value,
113
- initial: q.current.currentValue,
114
- onRequest: (e) => ae?.(e.value, e)
110
+ }, [C]), Ue = p((e, t, n) => {
111
+ d({
112
+ controlled: J.current.value,
113
+ initial: J.current.currentValue,
114
+ onRequest: (e) => ie?.(e.value, e)
115
115
  }).request(e, t, n) && he(e);
116
- }, [ae]);
117
- g(() => {
116
+ }, [ie]);
117
+ h(() => {
118
118
  if (R === null) return;
119
119
  let e = [
120
- oe(R, {
121
- at: T.low,
122
- onChange: z
120
+ ae(R, {
121
+ at: E.low,
122
+ onChange: B
123
123
  }),
124
- oe(R, {
125
- at: T.medium,
126
- onChange: Se
124
+ ae(R, {
125
+ at: E.medium,
126
+ onChange: xe
127
127
  }),
128
- oe(R, {
129
- at: T.high,
130
- onChange: Ce
128
+ ae(R, {
129
+ at: E.high,
130
+ onChange: Se
131
131
  })
132
132
  ];
133
- return z(e[0].narrow()), Se(e[1].narrow()), Ce(e[2].narrow()), () => {
133
+ return B(e[0].narrow()), xe(e[1].narrow()), Se(e[2].narrow()), () => {
134
134
  for (let t of e) t.destroy();
135
135
  };
136
136
  }, [R]);
137
- let X = v(null);
138
- g(() => {
137
+ let Z = v(null);
138
+ h(() => {
139
139
  if (R === null) return;
140
- let e = K.join("\0");
141
- if (X.current === e) return;
142
- let t = X.current === null;
143
- X.current = e, (!t || K.length > 0) && d?.(K, "resize");
140
+ let e = q.join("\0");
141
+ if (Z.current === e) return;
142
+ let t = Z.current === null;
143
+ Z.current = e, (!t || q.length > 0) && f?.(q, "resize");
144
144
  }, [
145
- K,
146
- d,
145
+ q,
146
+ f,
147
147
  R
148
148
  ]);
149
- let Z = K.length > 0 || B && Ne || V && Fe, Ge = v(Z);
150
- g(() => {
149
+ let Q = q.length > 0 || V && Me || H && Pe, We = v(Q);
150
+ h(() => {
151
+ let e = We.current;
152
+ We.current = Q, e && !Q && J.current.currentMoreOpen && Y(!1, "resize");
153
+ }, [Q, Y]);
154
+ let Ge = v(V);
155
+ h(() => {
151
156
  let e = Ge.current;
152
- Ge.current = Z, e && !Z && q.current.currentMoreOpen && J(!1, "resize");
153
- }, [Z, J]);
154
- let Ke = v(B);
155
- g(() => {
156
- let e = Ke.current;
157
- Ke.current = B, e && !B && q.current.currentSearchOpen && Y(!1, "resize");
158
- }, [Y, B]);
159
- let Q = v(null);
160
- g(() => {
161
- let e = ne({
157
+ Ge.current = V, e && !V && J.current.currentSearchOpen && X(!1, "resize");
158
+ }, [X, V]);
159
+ let $ = v(null);
160
+ h(() => {
161
+ let e = te({
162
162
  present: !1,
163
- onStatusChange: Re
163
+ onStatusChange: Le
164
164
  });
165
- return Q.current = e, () => {
166
- e.destroy(), Q.current = null;
165
+ return $.current = e, () => {
166
+ e.destroy(), $.current = null;
167
167
  };
168
- }, []), g(() => {
169
- Q.current?.setNode(H);
170
- }, [H]), g(() => {
171
- Q.current?.sync(I);
172
- }, [I]), g(() => {
173
- if (H === null || !I) return;
174
- let e = re(H, {
168
+ }, []), h(() => {
169
+ $.current?.setNode(U);
170
+ }, [U]), h(() => {
171
+ $.current?.sync(I);
172
+ }, [I]), h(() => {
173
+ if (U === null || !I) return;
174
+ let e = ne(U, {
175
175
  escape: !0,
176
176
  focusOutside: !1,
177
177
  modal: !1,
178
178
  outsidePress: !0,
179
179
  scrollLock: !1,
180
- ...U ? { branches: [U] } : {},
180
+ ...W ? { branches: [W] } : {},
181
181
  onDismiss: (e) => {
182
182
  let t = e.reason === "escape" ? "escape" : "outsidePress";
183
- J(!1, t, e.source), t === "escape" && U?.focus();
183
+ Y(!1, t, e.source), t === "escape" && W?.focus();
184
184
  }
185
185
  });
186
186
  return () => e.destroy();
187
187
  }, [
188
188
  I,
189
+ W,
189
190
  U,
190
- H,
191
- J
191
+ Y
192
192
  ]);
193
- let $ = B && je;
194
- te(se, () => ({
195
- focus: () => R?.querySelector(le)?.focus(),
193
+ let Ke = V && Ae;
194
+ ee(oe, () => ({
195
+ focus: () => R?.querySelector(ce)?.focus(),
196
196
  focusSearch: () => {
197
- if ($ && !q.current.currentSearchOpen) {
198
- Y(!0, "programmatic");
197
+ if (Ke && !J.current.currentSearchOpen) {
198
+ X(!0, "programmatic");
199
199
  return;
200
200
  }
201
- W?.querySelector("input, [contenteditable]")?.focus();
201
+ G?.querySelector("input, [contenteditable]")?.focus();
202
202
  },
203
- openMore: () => J(!0, "programmatic"),
204
- closeMore: () => J(!1, "programmatic"),
203
+ openMore: () => Y(!0, "programmatic"),
204
+ closeMore: () => Y(!1, "programmatic"),
205
205
  root: R
206
206
  }), [
207
207
  R,
208
- $,
209
- W,
210
- J,
211
- Y
208
+ Ke,
209
+ G,
210
+ Y,
211
+ X
212
212
  ]);
213
213
  let qe = _(() => ({
214
214
  moreId: `${M}-more`,
215
215
  panelId: `${M}-panel`
216
216
  }), [M]), Je = _(() => ({
217
- collapsed: K,
218
- currentFolded: Ue,
219
- folded: G,
220
- hasContext: Ne,
221
- hasHelp: Fe,
222
- hasSearch: je,
217
+ collapsed: q,
218
+ currentFolded: He,
219
+ folded: K,
220
+ hasContext: Me,
221
+ hasHelp: Pe,
222
+ hasSearch: Ae,
223
223
  ids: qe,
224
- panelHolds: Z,
225
- moreNode: U,
224
+ panelHolds: Q,
225
+ moreNode: W,
226
226
  moreOpen: I,
227
- narrow: B,
228
- narrowest: V,
229
- panelListNode: Te,
230
- panelNode: H,
231
- panelPresent: Le !== "unmounted",
232
- registerItem: He,
233
- searchNode: W,
227
+ narrow: V,
228
+ narrowest: H,
229
+ panelListNode: we,
230
+ panelNode: U,
231
+ panelPresent: Ie !== "unmounted",
232
+ registerItem: Ve,
233
+ searchNode: G,
234
234
  searchOpen: L,
235
- searchToggleNode: ke,
236
- select: We,
237
- setHasContext: Pe,
238
- setHasHelp: Ie,
239
- setHasSearch: Me,
240
- setMoreNode: De,
241
- setMoreOpen: J,
242
- setPanelListNode: Ee,
243
- setPanelNode: we,
244
- setSearchNode: Oe,
245
- setSearchOpen: Y,
246
- setSearchToggleNode: Ae,
235
+ searchToggleNode: Oe,
236
+ select: Ue,
237
+ setHasContext: Ne,
238
+ setHasHelp: Fe,
239
+ setHasSearch: je,
240
+ setMoreNode: Ee,
241
+ setMoreOpen: Y,
242
+ setPanelListNode: Te,
243
+ setPanelNode: Ce,
244
+ setSearchNode: De,
245
+ setSearchOpen: X,
246
+ setSearchToggleNode: ke,
247
247
  size: P,
248
248
  t: N,
249
249
  value: F
250
250
  }), [
251
- K,
252
- Ue,
251
+ q,
252
+ He,
253
253
  I,
254
254
  L,
255
255
  F,
256
- G,
257
- Ne,
258
- Fe,
259
- je,
256
+ K,
257
+ Me,
258
+ Pe,
259
+ Ae,
260
260
  qe,
261
+ W,
262
+ Q,
263
+ we,
261
264
  U,
262
- Z,
263
- Te,
264
- H,
265
- Le,
266
- He,
265
+ Ie,
266
+ Ve,
267
267
  P,
268
- W,
269
- ke,
270
- We,
271
- J,
268
+ G,
269
+ Oe,
270
+ Ue,
272
271
  Y,
272
+ X,
273
273
  N,
274
- V,
275
- B
274
+ H,
275
+ V
276
276
  ]), Ye = {
277
- ...k,
278
- children: /* @__PURE__ */ S(b, { children: [de === void 0 ? null : /* @__PURE__ */ x("a", {
277
+ ...de,
278
+ children: /* @__PURE__ */ S(b, { children: [ue === void 0 ? null : /* @__PURE__ */ x("a", {
279
279
  "data-part": "skip",
280
- href: `#${de}`,
280
+ href: `#${ue}`,
281
281
  children: N("skip")
282
282
  }), e] }),
283
283
  className: t,
284
284
  ...pe ? { "data-frame": "" } : {},
285
285
  "data-part": "root",
286
- ...$ && L ? { "data-search-open": "" } : {},
286
+ ...Ke && L ? { "data-search-open": "" } : {},
287
287
  "data-size": P,
288
288
  "data-ui": "top-navigation",
289
289
  ref: be,
290
- style: D
290
+ style: O
291
291
  }, Xe = fe ? "header" : "div";
292
- return /* @__PURE__ */ x(ue.Provider, {
292
+ return /* @__PURE__ */ x(le.Provider, {
293
293
  value: Je,
294
- children: C === void 0 ? /* @__PURE__ */ x(Xe, { ...Ye }) : C(Ye)
294
+ children: w === void 0 ? /* @__PURE__ */ x(Xe, { ...Ye }) : w(Ye)
295
295
  });
296
296
  }
297
297
  //#endregion
298
298
  //#region src/top-navigation/top-navigation-parts.tsx
299
- var D = e();
300
299
  function O(e, ...t) {
301
300
  for (let n of t) typeof n == "function" ? n(e) : n != null && (n.current = e);
302
301
  }
303
302
  function k(e) {
304
303
  return e.detail === 0 ? "keyboard" : "pointer";
305
304
  }
306
- var A = p(void 0);
307
- function j() {
308
- let e = h(A);
305
+ var de = f(void 0);
306
+ function A() {
307
+ let e = m(de);
309
308
  if (e === void 0) throw Error("TopNavigationLink and TopNavigationTrigger must be rendered inside TopNavigationItem.");
310
309
  return e;
311
310
  }
312
- function M({ children: e, disabled: t = !1, text: n }) {
313
- return /* @__PURE__ */ S(a, {
311
+ function j({ children: e, disabled: t = !1, text: n }) {
312
+ return /* @__PURE__ */ S(i, {
314
313
  disabled: t,
315
314
  openOn: "hover",
316
315
  side: "bottom",
317
- children: [e, /* @__PURE__ */ x(c, { children: /* @__PURE__ */ x(s, { children: n }) })]
316
+ children: [e, /* @__PURE__ */ x(s, { children: /* @__PURE__ */ x(o, { children: n }) })]
318
317
  });
319
318
  }
320
- function fe({ children: e, ref: t, render: n, ...r }) {
319
+ function M({ children: e, ref: t, render: n, ...r }) {
321
320
  let i = {
322
321
  ...r,
323
322
  children: e,
@@ -328,7 +327,7 @@ function fe({ children: e, ref: t, render: n, ...r }) {
328
327
  ref: t
329
328
  }) : n(i);
330
329
  }
331
- function pe({ children: e, href: t, ref: n, render: r, ...i }) {
330
+ function fe({ children: e, href: t, ref: n, render: r, ...i }) {
332
331
  let a = {
333
332
  ...i,
334
333
  children: e,
@@ -340,7 +339,7 @@ function pe({ children: e, href: t, ref: n, render: r, ...i }) {
340
339
  ref: n
341
340
  }) : r(a);
342
341
  }
343
- function N({ children: e, ref: t, render: n, ...r }) {
342
+ function pe({ children: e, ref: t, render: n, ...r }) {
344
343
  let i = {
345
344
  ...r,
346
345
  "aria-hidden": !0,
@@ -352,7 +351,7 @@ function N({ children: e, ref: t, render: n, ...r }) {
352
351
  ref: t
353
352
  }) : n(i);
354
353
  }
355
- function P({ children: e, ref: t, render: n, ...r }) {
354
+ function N({ children: e, ref: t, render: n, ...r }) {
356
355
  let i = {
357
356
  ...r,
358
357
  children: e,
@@ -363,9 +362,9 @@ function P({ children: e, ref: t, render: n, ...r }) {
363
362
  ref: t
364
363
  }) : n(i);
365
364
  }
366
- function me({ children: e, ref: t, render: n, ...r }) {
367
- let i = E();
368
- g(() => (i.setHasContext(!0), () => i.setHasContext(!1)), [i.setHasContext]);
365
+ function P({ children: e, ref: t, render: n, ...r }) {
366
+ let i = D();
367
+ h(() => (i.setHasContext(!0), () => i.setHasContext(!1)), [i.setHasContext]);
369
368
  let a = {
370
369
  ...r,
371
370
  children: e,
@@ -374,11 +373,11 @@ function me({ children: e, ref: t, render: n, ...r }) {
374
373
  ...a,
375
374
  ref: t
376
375
  }) : n(a);
377
- return i.narrow && i.panelPresent && i.panelNode !== null ? (0, D.createPortal)(o, i.panelNode) : o;
376
+ return i.narrow && i.panelPresent && i.panelNode !== null ? C(o, i.panelNode) : o;
378
377
  }
379
- function he({ arrow: e, children: t, closeDelay: n, closeOnSelect: r, defaultValue: i, "aria-label": a, onValueChange: o, openDelay: s, ref: c, render: l, value: d, ...f }) {
380
- let p = E();
381
- return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(u, {
378
+ function me({ arrow: e, children: t, closeDelay: n, closeOnSelect: r, defaultValue: i, "aria-label": a, onValueChange: o, openDelay: s, ref: c, render: u, value: d, ...f }) {
379
+ let p = D();
380
+ return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(l, {
382
381
  "aria-label": a ?? p.t("navigation"),
383
382
  arrow: e,
384
383
  closeDelay: n,
@@ -394,18 +393,18 @@ function he({ arrow: e, children: t, closeDelay: n, closeOnSelect: r, defaultVal
394
393
  ...e,
395
394
  "data-part": "nav"
396
395
  };
397
- return l === void 0 ? /* @__PURE__ */ x("nav", {
396
+ return u === void 0 ? /* @__PURE__ */ x("nav", {
398
397
  ...t,
399
398
  ref: (t) => O(t, e.ref, c)
400
- }) : l(t);
399
+ }) : u(t);
401
400
  },
402
401
  size: p.size,
403
402
  value: d,
404
403
  children: t
405
- }), /* @__PURE__ */ x(ge, {})] });
404
+ }), /* @__PURE__ */ x(he, {})] });
406
405
  }
407
- function ge() {
408
- let e = E();
406
+ function he() {
407
+ let e = D();
409
408
  return /* @__PURE__ */ x("div", {
410
409
  ...e.moreOpen ? { "data-open": "" } : {},
411
410
  "data-part": "panel",
@@ -417,12 +416,12 @@ function ge() {
417
416
  })
418
417
  });
419
418
  }
420
- function _e({ children: e, ref: t, render: n, ...r }) {
419
+ function ge({ children: e, ref: t, render: n, ...r }) {
421
420
  let i = {
422
421
  ...r,
423
422
  children: /* @__PURE__ */ S(b, { children: [e, /* @__PURE__ */ x("li", {
424
423
  "data-part": "item",
425
- children: /* @__PURE__ */ x(ve, {})
424
+ children: /* @__PURE__ */ x(_e, {})
426
425
  })] }),
427
426
  "data-part": "list"
428
427
  };
@@ -431,8 +430,8 @@ function _e({ children: e, ref: t, render: n, ...r }) {
431
430
  ref: t
432
431
  }) : n(i);
433
432
  }
434
- function ve() {
435
- let e = E(), t = e.collapsed.length > 0 ? e.t("moreCount", { count: e.collapsed.length }) : e.t("more"), n = (t) => {
433
+ function _e() {
434
+ let e = D(), t = e.collapsed.length > 0 ? e.t("moreCount", { count: e.collapsed.length }) : e.t("more"), n = (t) => {
436
435
  e.setMoreOpen(!e.moreOpen, k(t), t.nativeEvent);
437
436
  }, r = {
438
437
  "aria-controls": e.ids.panelId,
@@ -447,9 +446,9 @@ function ve() {
447
446
  onClick: n,
448
447
  type: "button"
449
448
  };
450
- return /* @__PURE__ */ x(M, {
449
+ return /* @__PURE__ */ x(j, {
451
450
  text: t,
452
- children: /* @__PURE__ */ x(o, {
451
+ children: /* @__PURE__ */ x(a, {
453
452
  ...r,
454
453
  render: (t) => /* @__PURE__ */ x("button", {
455
454
  ...t,
@@ -460,16 +459,16 @@ function ve() {
460
459
  })
461
460
  });
462
461
  }
463
- function ye({ children: e, disabled: t = !1, priority: n = "medium", ref: r, render: i, value: a, ...o }) {
464
- let s = E(), [c, l] = y(!1), u = s.folded.has(n), f = c || s.value === a;
465
- g(() => s.registerItem(a, n, c), [
462
+ function ve({ children: e, disabled: t = !1, priority: n = "medium", ref: r, render: i, value: a, ...o }) {
463
+ let s = D(), [c, l] = y(!1), d = s.folded.has(n), f = c || s.value === a;
464
+ h(() => s.registerItem(a, n, c), [
466
465
  c,
467
466
  s.registerItem,
468
467
  n,
469
468
  a
470
469
  ]);
471
470
  let p = {
472
- collapsed: u,
471
+ collapsed: d,
473
472
  current: f,
474
473
  disabled: t,
475
474
  priority: n,
@@ -478,16 +477,16 @@ function ye({ children: e, disabled: t = !1, priority: n = "medium", ref: r, ren
478
477
  }, m = {
479
478
  ...o,
480
479
  children: e,
481
- ...u ? { "data-collapsed": "" } : {},
480
+ ...d ? { "data-collapsed": "" } : {},
482
481
  ...f ? { "data-current": "" } : {},
483
482
  ...t ? { "data-disabled": "" } : {},
484
483
  "data-part": "item",
485
484
  "data-priority": n,
486
485
  "data-value": a
487
- }, h = u && s.panelPresent && s.panelListNode !== null;
488
- return /* @__PURE__ */ x(A.Provider, {
486
+ }, g = d && s.panelPresent && s.panelListNode !== null;
487
+ return /* @__PURE__ */ x(de.Provider, {
489
488
  value: p,
490
- children: /* @__PURE__ */ x(d, {
489
+ children: /* @__PURE__ */ x(u, {
491
490
  disabled: t,
492
491
  render: (e) => {
493
492
  let t = {
@@ -497,15 +496,15 @@ function ye({ children: e, disabled: t = !1, priority: n = "medium", ref: r, ren
497
496
  ...t,
498
497
  ref: r
499
498
  }) : i(t);
500
- return h ? (0, D.createPortal)(n, s.panelListNode) : n;
499
+ return g ? C(n, s.panelListNode) : n;
501
500
  },
502
501
  value: a
503
502
  })
504
503
  });
505
504
  }
506
- function F({ children: e, current: t, href: n, onClick: r, ref: i, render: a, ...o }) {
507
- let s = E(), c = j();
508
- g(() => {
505
+ function ye({ children: e, current: t, href: n, onClick: r, ref: i, render: a, ...o }) {
506
+ let s = D(), c = A();
507
+ h(() => {
509
508
  if (t !== void 0) return c.setCurrent(t), () => c.setCurrent(!1);
510
509
  }, [t, c.setCurrent]);
511
510
  let l = t ?? c.current, u = (e) => {
@@ -531,18 +530,18 @@ function F({ children: e, current: t, href: n, onClick: r, ref: i, render: a, ..
531
530
  ref: i
532
531
  }) : a(d);
533
532
  }
534
- function I({ disabled: e, ...t }) {
535
- let n = j();
536
- return /* @__PURE__ */ x(l, {
533
+ function F({ disabled: e, ...t }) {
534
+ let n = A();
535
+ return /* @__PURE__ */ x(c, {
537
536
  ...t,
538
537
  disabled: e ?? n.disabled
539
538
  });
540
539
  }
541
- function L({ children: e, onBlur: t, onKeyDown: n, ref: r, render: i, ...a }) {
542
- let o = E(), [s, c] = y(null), l = o.narrow && o.searchOpen;
543
- g(() => (o.setHasSearch(!0), () => o.setHasSearch(!1)), [o.setHasSearch]), g(() => (o.setSearchNode(s), () => o.setSearchNode(null)), [o.setSearchNode, s]);
540
+ function I({ children: e, onBlur: t, onKeyDown: n, ref: r, render: i, ...a }) {
541
+ let o = D(), [s, c] = y(null), l = o.narrow && o.searchOpen;
542
+ h(() => (o.setHasSearch(!0), () => o.setHasSearch(!1)), [o.setHasSearch]), h(() => (o.setSearchNode(s), () => o.setSearchNode(null)), [o.setSearchNode, s]);
544
543
  let u = v(l);
545
- g(() => {
544
+ h(() => {
546
545
  let e = u.current;
547
546
  if (u.current = l, s === null) return;
548
547
  if (l) {
@@ -561,29 +560,29 @@ function L({ children: e, onBlur: t, onKeyDown: n, ref: r, render: i, ...a }) {
561
560
  o.setSearchOpen(!1, e, t);
562
561
  }, f = (e) => {
563
562
  n?.(e), !e.defaultPrevented && l && e.key === "Escape" && (e.preventDefault(), d("escape", e.nativeEvent));
564
- }, p = (e) => {
563
+ }, m = (e) => {
565
564
  if (t?.(e), e.defaultPrevented || !l || s === null) return;
566
565
  let n = e.relatedTarget;
567
566
  n === null || s.contains(n) || d("blur", e.nativeEvent);
568
- }, h = {
567
+ }, g = {
569
568
  ...a,
570
- children: /* @__PURE__ */ S(b, { children: [e, /* @__PURE__ */ x(R, { onClose: (e, t) => d(e, t) })] }),
569
+ children: /* @__PURE__ */ S(b, { children: [e, /* @__PURE__ */ x(L, { onClose: (e, t) => d(e, t) })] }),
571
570
  "data-part": "search",
572
- onBlur: p,
571
+ onBlur: m,
573
572
  onKeyDown: f
574
- }, ee = m((e) => {
573
+ }, ee = p((e) => {
575
574
  c(e), O(e, r);
576
575
  }, [r]);
577
576
  return i === void 0 ? /* @__PURE__ */ x("div", {
578
- ...h,
577
+ ...g,
579
578
  ref: ee
580
- }) : i(h);
579
+ }) : i(g);
581
580
  }
582
- function R({ onClose: e }) {
583
- let t = E().t("closeSearch");
584
- return /* @__PURE__ */ x(M, {
581
+ function L({ onClose: e }) {
582
+ let t = D().t("closeSearch");
583
+ return /* @__PURE__ */ x(j, {
585
584
  text: t,
586
- children: /* @__PURE__ */ x(o, {
585
+ children: /* @__PURE__ */ x(a, {
587
586
  "aria-label": t,
588
587
  "data-part": "search-close",
589
588
  children: /* @__PURE__ */ x(z, { glyph: "x" }),
@@ -593,11 +592,11 @@ function R({ onClose: e }) {
593
592
  })
594
593
  });
595
594
  }
596
- function be() {
597
- let e = E(), t = e.t("search");
598
- return /* @__PURE__ */ x(M, {
595
+ function R() {
596
+ let e = D(), t = e.t("search");
597
+ return /* @__PURE__ */ x(j, {
599
598
  text: t,
600
- children: /* @__PURE__ */ x(o, {
599
+ children: /* @__PURE__ */ x(a, {
601
600
  "aria-label": t,
602
601
  "data-part": "search-toggle",
603
602
  children: /* @__PURE__ */ x(z, { glyph: "search" }),
@@ -612,10 +611,10 @@ function be() {
612
611
  })
613
612
  });
614
613
  }
615
- function xe({ children: e, ref: t, render: n, ...r }) {
616
- let i = E(), a = {
614
+ function be({ children: e, ref: t, render: n, ...r }) {
615
+ let i = D(), a = {
617
616
  ...r,
618
- children: /* @__PURE__ */ S(b, { children: [i.hasSearch ? /* @__PURE__ */ x(be, {}) : null, e] }),
617
+ children: /* @__PURE__ */ S(b, { children: [i.hasSearch ? /* @__PURE__ */ x(R, {}) : null, e] }),
619
618
  "data-part": "actions"
620
619
  };
621
620
  return n === void 0 ? /* @__PURE__ */ x("div", {
@@ -623,10 +622,10 @@ function xe({ children: e, ref: t, render: n, ...r }) {
623
622
  ref: t
624
623
  }) : n(a);
625
624
  }
626
- function z({ glyph: e }) {
627
- return /* @__PURE__ */ x(n, { children: /* @__PURE__ */ x(t, { name: e }) });
625
+ function z({ glyph: n }) {
626
+ return /* @__PURE__ */ x(t, { children: /* @__PURE__ */ x(e, { name: n }) });
628
627
  }
629
- function B({ "aria-label": e, children: t, glyph: n, message: r, part: i, ref: a, render: s, ...c }) {
628
+ function B({ "aria-label": e, children: t, glyph: n, message: r, part: i, ref: o, render: s, ...c }) {
630
629
  let l = e ?? r, u = {
631
630
  ...c,
632
631
  "aria-label": l,
@@ -634,15 +633,15 @@ function B({ "aria-label": e, children: t, glyph: n, message: r, part: i, ref: a
634
633
  "data-part": i,
635
634
  type: "button"
636
635
  };
637
- return /* @__PURE__ */ x(M, {
636
+ return /* @__PURE__ */ x(j, {
638
637
  text: l,
639
- children: /* @__PURE__ */ x(o, {
638
+ children: /* @__PURE__ */ x(a, {
640
639
  ...u,
641
640
  render: (e) => {
642
641
  let t = {
643
642
  ...e,
644
643
  ref: (t) => {
645
- e.ref?.(t), O(t, a);
644
+ e.ref?.(t), O(t, o);
646
645
  }
647
646
  };
648
647
  return s === void 0 ? /* @__PURE__ */ x("button", { ...t }) : s(t);
@@ -650,19 +649,19 @@ function B({ "aria-label": e, children: t, glyph: n, message: r, part: i, ref: a
650
649
  })
651
650
  });
652
651
  }
653
- function Se({ "aria-label": e, children: t, href: n, ref: r, render: i, ...a }) {
654
- let s = E();
655
- g(() => (s.setHasHelp(!0), () => s.setHasHelp(!1)), [s.setHasHelp]);
652
+ function V({ "aria-label": e, children: t, href: n, ref: r, render: i, ...o }) {
653
+ let s = D();
654
+ h(() => (s.setHasHelp(!0), () => s.setHasHelp(!1)), [s.setHasHelp]);
656
655
  let c = e ?? s.t("help"), l = s.narrowest && s.panelPresent && s.panelNode !== null, u = {
657
- ...a,
656
+ ...o,
658
657
  ...e === void 0 ? {} : { "aria-label": e },
659
658
  children: /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(z, { glyph: "circle-question" }), t ?? c] }),
660
659
  "data-part": "help",
661
660
  ...n === void 0 ? {} : { href: n }
662
- }, d = /* @__PURE__ */ x(M, {
661
+ }, d = /* @__PURE__ */ x(j, {
663
662
  disabled: l,
664
663
  text: c,
665
- children: /* @__PURE__ */ x(o, {
664
+ children: /* @__PURE__ */ x(a, {
666
665
  ...u,
667
666
  render: (e) => {
668
667
  let t = {
@@ -678,10 +677,10 @@ function Se({ "aria-label": e, children: t, href: n, ref: r, render: i, ...a })
678
677
  }
679
678
  })
680
679
  });
681
- return l ? (0, D.createPortal)(d, s.panelNode) : d;
680
+ return l ? C(d, s.panelNode) : d;
682
681
  }
683
- function V(e) {
684
- let t = E();
682
+ function xe(e) {
683
+ let t = D();
685
684
  return /* @__PURE__ */ x(B, {
686
685
  ...e,
687
686
  glyph: "bell",
@@ -689,18 +688,18 @@ function V(e) {
689
688
  part: "notifications"
690
689
  });
691
690
  }
692
- function Ce({ "aria-label": e, children: t, href: n, ref: r, render: i, ...a }) {
691
+ function H({ "aria-label": e, children: t, href: n, ref: r, render: i, ...o }) {
693
692
  let s = e ?? "", c = {
694
- ...a,
693
+ ...o,
695
694
  ...e === void 0 ? {} : { "aria-label": e },
696
695
  children: t,
697
696
  "data-part": "action",
698
697
  ...n === void 0 ? {} : { href: n }
699
698
  };
700
- return /* @__PURE__ */ x(M, {
699
+ return /* @__PURE__ */ x(j, {
701
700
  disabled: s === "",
702
701
  text: s,
703
- children: /* @__PURE__ */ x(o, {
702
+ children: /* @__PURE__ */ x(a, {
704
703
  ...c,
705
704
  render: (e) => {
706
705
  let t = {
@@ -717,7 +716,7 @@ function Ce({ "aria-label": e, children: t, href: n, ref: r, render: i, ...a })
717
716
  })
718
717
  });
719
718
  }
720
- function H({ children: e, ref: t, render: n, ...r }) {
719
+ function Se({ children: e, ref: t, render: n, ...r }) {
721
720
  let i = {
722
721
  ...r,
723
722
  children: e,
@@ -728,8 +727,8 @@ function H({ children: e, ref: t, render: n, ...r }) {
728
727
  ref: t
729
728
  }) : n(i);
730
729
  }
731
- function we(e) {
732
- let t = E();
730
+ function U(e) {
731
+ let t = D();
733
732
  return /* @__PURE__ */ x(B, {
734
733
  ...e,
735
734
  message: t.t("account"),
@@ -737,4 +736,4 @@ function we(e) {
737
736
  });
738
737
  }
739
738
  //#endregion
740
- export { se as C, E as S, ce as T, I as _, me as a, le as b, pe as c, _e as d, N as f, L as g, V as h, fe as i, ye as l, he as m, Ce as n, H as o, P as p, xe as r, Se as s, we as t, F as u, j as v, w, de as x, T as y };
739
+ export { oe as C, D as S, se as T, F as _, P as a, ce as b, fe as c, ge as d, pe as f, I as g, xe as h, M as i, ve as l, me as m, H as n, Se as o, N as p, be as r, V as s, U as t, ye as u, A as v, T as w, ue as x, E as y };