@slotted/react 0.1.0-beta.10 → 0.1.0-beta.11

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 (336) hide show
  1. package/dist/action-bar-z2DPc1Wy.js +285 -0
  2. package/dist/action-bar.js +1 -1
  3. package/dist/action-sheet-BnedGewu.js +360 -0
  4. package/dist/action-sheet.js +1 -1
  5. package/dist/{alert-BTcqbG8w.js → alert-BTAXJ69M.js} +5 -5
  6. package/dist/alert.js +1 -1
  7. package/dist/{app-shell-BlkqQrOx.js → app-shell-Cb_kDBeV.js} +232 -173
  8. package/dist/app-shell.js +1 -1
  9. package/dist/{attachment-zlOPJvIm.js → attachment-D1O4qS8H.js} +28 -28
  10. package/dist/attachment.js +1 -1
  11. package/dist/{breadcrumb-DCGynpkb.js → breadcrumb-CnFjxxI2.js} +10 -10
  12. package/dist/breadcrumb.js +1 -1
  13. package/dist/{button-BCVjdzkn.js → button-D31perSu.js} +2 -2
  14. package/dist/button.js +2 -2
  15. package/dist/{calendar-qGUJ-kAy.js → calendar-DZyC1gAT.js} +8 -8
  16. package/dist/calendar.js +1 -1
  17. package/dist/{carousel-CjRTu8m7.js → carousel-Dso3gcYd.js} +14 -14
  18. package/dist/carousel.js +1 -1
  19. package/dist/cascader-BbajBwsX.js +1157 -0
  20. package/dist/cascader.js +1 -1
  21. package/dist/{chart-CPFq3jIE.js → chart-Bb6ctahn.js} +9 -9
  22. package/dist/chart.js +1 -1
  23. package/dist/{checkbox-CMY2KIih.js → checkbox-C_8GVtjD.js} +3 -3
  24. package/dist/{checkbox-group-DzMtLF7f.js → checkbox-group-DXCcusol.js} +2 -2
  25. package/dist/checkbox-group.js +1 -1
  26. package/dist/checkbox.js +1 -1
  27. package/dist/{code-block-Bh_2Eg3M.js → code-block-C4mtsROE.js} +8 -8
  28. package/dist/code-block.js +1 -1
  29. package/dist/{color-picker-DlepH5co.js → color-picker-JZPnPb7s.js} +49 -49
  30. package/dist/color-picker.js +1 -1
  31. package/dist/{column-manager-CV9tCnKa.js → column-manager-BDUj-WIs.js} +31 -31
  32. package/dist/column-manager.js +1 -1
  33. package/dist/combobox-Dn69QwGX.js +904 -0
  34. package/dist/combobox.js +1 -1
  35. package/dist/command-palette-Dh1HKz_F.js +744 -0
  36. package/dist/command-palette.js +1 -1
  37. package/dist/{context-menu-Dbc0KkFp.js → context-menu-uJjEmAN3.js} +1 -1
  38. package/dist/context-menu.js +1 -1
  39. package/dist/{currency-field--wIfgVAx.js → currency-field-lHcrNJ7X.js} +13 -13
  40. package/dist/currency-field.js +1 -1
  41. package/dist/{dashboard-grid-D_LbWfdZ.js → dashboard-grid-z-SOm9H0.js} +65 -65
  42. package/dist/dashboard-grid.js +1 -1
  43. package/dist/{data-grid-XH5fGoGj.js → data-grid-DQCvXMJA.js} +1330 -1278
  44. package/dist/data-grid.js +1 -1
  45. package/dist/data-list-BgdkA3bD.js +587 -0
  46. package/dist/data-list.js +1 -1
  47. package/dist/{date-field-BrNyJBiJ.js → date-field-B2lQzE3p.js} +5 -5
  48. package/dist/date-field.js +1 -1
  49. package/dist/{date-picker-Nl55so0C.js → date-picker-DpTRb-Y1.js} +16 -16
  50. package/dist/date-picker.js +1 -1
  51. package/dist/{date-range-picker-DLkvfUJD.js → date-range-picker-CBUPJep5.js} +17 -17
  52. package/dist/date-range-picker.js +1 -1
  53. package/dist/{datetime-field-CZRhRDPb.js → datetime-field-BZ44uJ_B.js} +7 -7
  54. package/dist/datetime-field.js +1 -1
  55. package/dist/{datetime-picker-_GHra2WL.js → datetime-picker-BK_bV3Yr.js} +21 -21
  56. package/dist/datetime-picker.js +1 -1
  57. package/dist/{datetime-range-picker-Dy1A0Wqy.js → datetime-range-picker-ChdbRgzQ.js} +21 -21
  58. package/dist/datetime-range-picker.js +1 -1
  59. package/dist/{description-list-Cc4JYZ-3.js → description-list-CYlfHDwx.js} +11 -11
  60. package/dist/description-list.js +1 -1
  61. package/dist/{detail-panel-BI_wHSoz.js → detail-panel-DimjnPI8.js} +91 -91
  62. package/dist/detail-panel.js +1 -1
  63. package/dist/{dialog-B6MP7GYI.js → dialog-BB5MdJex.js} +108 -108
  64. package/dist/dialog.js +1 -1
  65. package/dist/docs/action-bar.json +4 -4
  66. package/dist/docs/action-bar.md +3 -3
  67. package/dist/docs/calendar.md +2 -2
  68. package/dist/docs/command-palette.json +1 -0
  69. package/dist/docs/command-palette.md +1 -1
  70. package/dist/docs/data-grid.examples.md +8 -2
  71. package/dist/docs/data-grid.json +25 -3
  72. package/dist/docs/data-grid.md +4 -1
  73. package/dist/docs/data-grid.props.md +2 -1
  74. package/dist/docs/detail-panel.json +4 -2
  75. package/dist/docs/detail-panel.md +15 -5
  76. package/dist/docs/dialog.json +1 -0
  77. package/dist/docs/dialog.md +1 -1
  78. package/dist/docs/drawer.json +6 -4
  79. package/dist/docs/drawer.md +3 -3
  80. package/dist/docs/event-calendar.md +2 -2
  81. package/dist/docs/guidelines/index.md +4 -3
  82. package/dist/docs/guidelines/layout-alignment.md +17 -7
  83. package/dist/docs/guidelines/list-pages.md +3 -3
  84. package/dist/docs/page-header.json +18 -2
  85. package/dist/docs/page-header.md +5 -3
  86. package/dist/docs/page.json +1 -0
  87. package/dist/docs/page.md +1 -1
  88. package/dist/docs/rating.md +1 -1
  89. package/dist/docs/section.json +1 -1
  90. package/dist/docs/section.md +1 -1
  91. package/dist/docs/skills/compose-screen/SKILL.md +12 -4
  92. package/dist/docs/skills/review-screen/SKILL.md +20 -18
  93. package/dist/docs/skills/theme-app/SKILL.md +12 -1
  94. package/dist/docs/toast.json +1 -0
  95. package/dist/docs/toast.md +1 -1
  96. package/dist/docs/tokens.md +1 -1
  97. package/dist/docs/toolbar.json +1 -1
  98. package/dist/docs/toolbar.md +1 -1
  99. package/dist/docs/typography.md +1 -1
  100. package/dist/{drawer-CkpFlKYa.js → drawer-fyPyxnYQ.js} +216 -206
  101. package/dist/drawer.js +1 -1
  102. package/dist/entity-picker-ClyhBTyK.js +1283 -0
  103. package/dist/entity-picker.js +1 -1
  104. package/dist/{event-calendar-BDjI5T44.js → event-calendar-COgC24UG.js} +23 -23
  105. package/dist/event-calendar.js +1 -1
  106. package/dist/{field-group-CCM2vPKL.js → field-group-Bj-EbPIU.js} +2 -2
  107. package/dist/field-group.js +1 -1
  108. package/dist/{field-CzSGs7wo.js → field-tnEZiRLg.js} +19 -19
  109. package/dist/field.js +1 -1
  110. package/dist/filter-bar-BRuCz79-.js +1342 -0
  111. package/dist/filter-bar.js +1 -1
  112. package/dist/{form-CDq04WDY.js → form-DEcJ7tHf.js} +1 -1
  113. package/dist/form.js +1 -1
  114. package/dist/{fullscreen-6GW4naDP.js → fullscreen-BwweNj3-.js} +13 -13
  115. package/dist/fullscreen.js +1 -1
  116. package/dist/{hover-card-aadyPXzF.js → hover-card-BWcU37Yp.js} +1 -1
  117. package/dist/hover-card.js +1 -1
  118. package/dist/{i18n-DpW8lqJ1.js → i18n-D7xXDd8-.js} +11 -4
  119. package/dist/i18n.js +1 -1
  120. package/dist/{icon-button-CRB218_z.js → icon-button-DbSZKGT4.js} +73 -71
  121. package/dist/{import-export-center-DUrNwRKP.js → import-export-center-CYf0Qxl_.js} +291 -289
  122. package/dist/import-export-center.js +1 -1
  123. package/dist/index.js +100 -100
  124. package/dist/{kbd-Z4YmSPRy.js → kbd-dNz8QHfL.js} +1 -1
  125. package/dist/kbd.js +1 -1
  126. package/dist/{link-BsSlZ1ts.js → link-DLPyg54C.js} +5 -5
  127. package/dist/link.js +1 -1
  128. package/dist/{listbox-VFcfZT70.js → listbox-BSqx_ARf.js} +1 -1
  129. package/dist/listbox.js +1 -1
  130. package/dist/{loading-overlay-BZPBDK4w.js → loading-overlay-BLIrcaoj.js} +9 -9
  131. package/dist/loading-overlay.js +1 -1
  132. package/dist/{markdown-BmCU_sOv.js → markdown-DccRb1xf.js} +17 -17
  133. package/dist/markdown.js +1 -1
  134. package/dist/{menu-parts-DS9JEUCt.js → menu-parts-CNNHRduK.js} +42 -42
  135. package/dist/menu.js +1 -1
  136. package/dist/{menubar-BV43BKep.js → menubar-Bdr6zigi.js} +1 -1
  137. package/dist/menubar.js +1 -1
  138. package/dist/message-BkTiWsUp.js +436 -0
  139. package/dist/message-scroller-akQEtQLn.js +218 -0
  140. package/dist/message-scroller.js +1 -1
  141. package/dist/message.js +1 -1
  142. package/dist/{multi-select-YaxhhH9y.js → multi-select-BvlJIEtz.js} +445 -443
  143. package/dist/multi-select.js +1 -1
  144. package/dist/{navigation-menu-parts-B64gKl8B.js → navigation-menu-parts-CEW4fgCo.js} +12 -12
  145. package/dist/navigation-menu.js +1 -1
  146. package/dist/{notification-center-Ci-OLWTO.js → notification-center-BQO0Ey3h.js} +40 -40
  147. package/dist/notification-center.js +1 -1
  148. package/dist/{number-field-BYQmPyM-.js → number-field-D1MqT8_A.js} +13 -13
  149. package/dist/number-field.js +1 -1
  150. package/dist/{otp-input-BKO0WPZc.js → otp-input-Cub9H9Di.js} +1 -1
  151. package/dist/otp-input.js +1 -1
  152. package/dist/{page-CfjGviUA.js → page-CwYmBoZQ.js} +1 -1
  153. package/dist/{page-header-w_PFLnLG.js → page-header-CMxCQqu_.js} +117 -114
  154. package/dist/page-header.js +1 -1
  155. package/dist/page.js +1 -1
  156. package/dist/{pagination-Cm9665gb.js → pagination-IEuos7H1.js} +12 -12
  157. package/dist/pagination.js +1 -1
  158. package/dist/{popover-D1krYeP-.js → popover-C7NpEzq6.js} +22 -22
  159. package/dist/popover.js +1 -1
  160. package/dist/prompt-composer-Cu8bj1Vb.js +276 -0
  161. package/dist/prompt-composer.js +1 -1
  162. package/dist/{prose-Bl5OjXTb.js → prose-CQN4Bqqh.js} +1 -1
  163. package/dist/prose.js +1 -1
  164. package/dist/{radio-group-D9VTBLUB.js → radio-group-BHlDgCLk.js} +2 -2
  165. package/dist/radio-group.js +1 -1
  166. package/dist/{rating-BRqsV5OF.js → rating-Cr0lXaAV.js} +15 -15
  167. package/dist/rating.js +1 -1
  168. package/dist/{saved-views-C_76obIv.js → saved-views-CyLSn8a2.js} +151 -151
  169. package/dist/saved-views.js +1 -1
  170. package/dist/{scroll-area-vrm2bbtZ.js → scroll-area-Fr0PmnRS.js} +1 -1
  171. package/dist/scroll-area.js +1 -1
  172. package/dist/{segmented-control-5DTOKO3g.js → segmented-control-uPnQYklX.js} +2 -2
  173. package/dist/segmented-control.js +1 -1
  174. package/dist/select-C0JYHwBy.js +1020 -0
  175. package/dist/select.js +1 -1
  176. package/dist/{side-navigation-MNMSkj9b.js → side-navigation-D8lRpHwj.js} +64 -64
  177. package/dist/side-navigation.js +1 -1
  178. package/dist/{skeleton-DyOwgYmF.js → skeleton-DeEOmm1y.js} +1 -1
  179. package/dist/skeleton.js +1 -1
  180. package/dist/{slider-OMe1DAC-.js → slider-BSI1xvjw.js} +2 -2
  181. package/dist/slider.js +1 -1
  182. package/dist/{sparkline-ChkaLVdY.js → sparkline-CYU4_lCD.js} +1 -1
  183. package/dist/sparkline.js +1 -1
  184. package/dist/spinner-ring-DyfaYloA.js +19 -0
  185. package/dist/{split-button-DbmRwfMC.js → split-button-CkbylOMN.js} +2 -2
  186. package/dist/split-button.js +1 -1
  187. package/dist/{stat-card-BSnsTmsq.js → stat-card-CAh4SdeY.js} +16 -16
  188. package/dist/stat-card.js +1 -1
  189. package/dist/{status-indicator-CyKhBdvN.js → status-indicator-BVMnpcm8.js} +4 -4
  190. package/dist/status-indicator.js +1 -1
  191. package/dist/{stepper-Cw1Auv3n.js → stepper-BLfvMz04.js} +16 -16
  192. package/dist/stepper.js +1 -1
  193. package/dist/styles/action-bar.css +1 -1
  194. package/dist/styles/action-sheet.css +2 -2
  195. package/dist/styles/button.css +2 -2
  196. package/dist/styles/cascader.css +2 -2
  197. package/dist/styles/chart.css +1 -1
  198. package/dist/styles/column-manager.css +3 -3
  199. package/dist/styles/command-palette.css +3 -3
  200. package/dist/styles/dashboard-grid.css +2 -2
  201. package/dist/styles/data-grid.css +3 -3
  202. package/dist/styles/data-list.css +2 -2
  203. package/dist/styles/detail-panel.css +4 -4
  204. package/dist/styles/dialog.css +1 -1
  205. package/dist/styles/drawer.css +1 -1
  206. package/dist/styles/entity-picker.css +1 -1
  207. package/dist/styles/event-calendar.css +1 -1
  208. package/dist/styles/filter-bar.css +3 -3
  209. package/dist/styles/import-export-center.css +4 -4
  210. package/dist/styles/index.css +12 -12
  211. package/dist/styles/markdown.css +2 -2
  212. package/dist/styles/multi-select.css +1 -1
  213. package/dist/styles/notification-center.css +3 -3
  214. package/dist/styles/page-header.css +2 -2
  215. package/dist/styles/page.css +1 -1
  216. package/dist/styles/prompt-composer.css +1 -1
  217. package/dist/styles/saved-views.css +2 -2
  218. package/dist/styles/split-button.css +2 -2
  219. package/dist/styles/table.css +2 -2
  220. package/dist/styles/tabs.css +1 -1
  221. package/dist/styles/timeline.css +1 -1
  222. package/dist/styles/toast.css +1 -1
  223. package/dist/styles/tour.css +2 -2
  224. package/dist/styles/transfer.css +2 -2
  225. package/dist/styles/upload.css +1 -1
  226. package/dist/styles/wizard.css +2 -2
  227. package/dist/styles.css +1 -1
  228. package/dist/{switch-CQ1rpuKa.js → switch-BHyKHqeI.js} +5 -5
  229. package/dist/switch.js +1 -1
  230. package/dist/{table-DpGTPtnb.js → table-C8zOHDcY.js} +30 -30
  231. package/dist/{table-of-contents-BFVERMZy.js → table-of-contents-BAIuPCdy.js} +8 -8
  232. package/dist/table-of-contents.js +1 -1
  233. package/dist/table.js +1 -1
  234. package/dist/{tag-aX7uyAN0.js → tag-XYGEPUHR.js} +14 -14
  235. package/dist/tag.js +1 -1
  236. package/dist/{tags-input-BgpS22sf.js → tags-input-ClYSd-No.js} +40 -40
  237. package/dist/tags-input.js +1 -1
  238. package/dist/text-field-Cguj75tn.js +205 -0
  239. package/dist/text-field.js +1 -1
  240. package/dist/{textarea-DNCjsQYd.js → textarea-BKsh_jAo.js} +1 -1
  241. package/dist/textarea.js +1 -1
  242. package/dist/{time-field-Cm6iBjwH.js → time-field-BIE4WMpS.js} +7 -7
  243. package/dist/time-field.js +1 -1
  244. package/dist/{time-picker-Ce18FSO2.js → time-picker-CNfafRDF.js} +18 -18
  245. package/dist/time-picker.js +1 -1
  246. package/dist/{time-range-picker-kDnw4PQ3.js → time-range-picker-D7gM_Wno.js} +20 -20
  247. package/dist/time-range-picker.js +1 -1
  248. package/dist/timeline-BLadNUkS.js +449 -0
  249. package/dist/timeline.js +1 -1
  250. package/dist/{toast-58ex8PDK.js → toast-CjbiXiza.js} +16 -16
  251. package/dist/toast.js +1 -1
  252. package/dist/{toggle-group-YxVJlCnI.js → toggle-group-BZmghKac.js} +1 -1
  253. package/dist/toggle-group.js +1 -1
  254. package/dist/toolbar-BI4ZepBs.js +243 -0
  255. package/dist/toolbar.js +1 -1
  256. package/dist/{top-navigation-DorkYBnR.js → top-navigation-BTZpx5VA.js} +13 -13
  257. package/dist/top-navigation.js +1 -1
  258. package/dist/{tour-CwK_m_Jp.js → tour-_CQ1kYov.js} +23 -23
  259. package/dist/tour.js +1 -1
  260. package/dist/{transfer-DxGDWIEt.js → transfer-BVhBdIGp.js} +59 -59
  261. package/dist/transfer.js +1 -1
  262. package/dist/tree-DfI9UWLA.js +794 -0
  263. package/dist/tree.js +1 -1
  264. package/dist/types/action-bar/action-bar-overflow.d.ts.map +1 -1
  265. package/dist/types/action-bar/action-bar.types.d.ts +2 -2
  266. package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
  267. package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
  268. package/dist/types/app-shell/app-shell.d.ts.map +1 -1
  269. package/dist/types/app-shell/app-shell.types.d.ts +21 -14
  270. package/dist/types/app-shell/app-shell.types.d.ts.map +1 -1
  271. package/dist/types/app-shell/index.d.ts +1 -1
  272. package/dist/types/app-shell/index.d.ts.map +1 -1
  273. package/dist/types/button/button-indicator.d.ts.map +1 -1
  274. package/dist/types/button/spinner-ring.d.ts +8 -0
  275. package/dist/types/button/spinner-ring.d.ts.map +1 -0
  276. package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
  277. package/dist/types/cascader/cascader.d.ts.map +1 -1
  278. package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
  279. package/dist/types/command-palette/command-palette.d.ts.map +1 -1
  280. package/dist/types/data-grid/data-grid-body.d.ts +7 -2
  281. package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
  282. package/dist/types/data-grid/data-grid-context.d.ts +2 -1
  283. package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
  284. package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
  285. package/dist/types/data-grid/data-grid.d.ts +1 -1
  286. package/dist/types/data-grid/data-grid.d.ts.map +1 -1
  287. package/dist/types/data-grid/data-grid.types.d.ts +12 -0
  288. package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
  289. package/dist/types/data-grid/index.d.ts +1 -1
  290. package/dist/types/data-grid/index.d.ts.map +1 -1
  291. package/dist/types/detail-panel/detail-panel-parts.d.ts +2 -1
  292. package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
  293. package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
  294. package/dist/types/entity-picker/entity-picker-control.d.ts.map +1 -1
  295. package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
  296. package/dist/types/i18n/slotted-provider.d.ts +6 -0
  297. package/dist/types/i18n/slotted-provider.d.ts.map +1 -1
  298. package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
  299. package/dist/types/message/message-parts.d.ts.map +1 -1
  300. package/dist/types/message-scroller/message-scroller.d.ts.map +1 -1
  301. package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
  302. package/dist/types/page-header/page-header-defaults.d.ts +1 -1
  303. package/dist/types/page-header/page-header-defaults.d.ts.map +1 -1
  304. package/dist/types/page-header/page-header.d.ts +1 -1
  305. package/dist/types/page-header/page-header.d.ts.map +1 -1
  306. package/dist/types/page-header/page-header.types.d.ts +9 -0
  307. package/dist/types/page-header/page-header.types.d.ts.map +1 -1
  308. package/dist/types/prompt-composer/prompt-composer.d.ts.map +1 -1
  309. package/dist/types/select/select-parts.d.ts.map +1 -1
  310. package/dist/types/text-field/text-field.d.ts.map +1 -1
  311. package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
  312. package/dist/types/timeline/timeline.d.ts.map +1 -1
  313. package/dist/types/toolbar/toolbar-overflow.d.ts.map +1 -1
  314. package/dist/types/toolbar/toolbar.types.d.ts +2 -2
  315. package/dist/types/tree/tree-parts.d.ts.map +1 -1
  316. package/dist/{upload-CEDsfMWz.js → upload-N2-nyO8x.js} +65 -65
  317. package/dist/upload.js +1 -1
  318. package/dist/{wizard-B3p7zCSj.js → wizard-CK1x2fs3.js} +16 -16
  319. package/dist/wizard.js +1 -1
  320. package/package.json +6 -6
  321. package/dist/action-bar-CJgBierN.js +0 -283
  322. package/dist/action-sheet-tRrjm7WQ.js +0 -358
  323. package/dist/cascader-DqlC1z5b.js +0 -1154
  324. package/dist/combobox-YWFkxaQ3.js +0 -902
  325. package/dist/command-palette-DXNq-zKN.js +0 -741
  326. package/dist/data-list-DZCN_uW1.js +0 -587
  327. package/dist/entity-picker-CFwLGQeU.js +0 -1281
  328. package/dist/filter-bar-G50WdRac.js +0 -1340
  329. package/dist/message-Dtck9RJy.js +0 -434
  330. package/dist/message-scroller-niUJ8RoL.js +0 -216
  331. package/dist/prompt-composer-sh_TXKYZ.js +0 -273
  332. package/dist/select-BFx5EgAa.js +0 -1018
  333. package/dist/text-field-DL_uhNXV.js +0 -203
  334. package/dist/timeline-pEL30Jp8.js +0 -446
  335. package/dist/toolbar-BtIyVbs4.js +0 -241
  336. package/dist/tree-DbLRyItM.js +0 -792
@@ -0,0 +1,243 @@
1
+ import { r as e } from "./i18n-D7xXDd8-.js";
2
+ import { n as t, t as n } from "./icon-DjqSEQ-o.js";
3
+ import { _ as r, g as i, n as a, t as o } from "./menu-parts-CNNHRduK.js";
4
+ import { keyedProps as s } from "@slotted/core/selector-key";
5
+ import { TOOLBAR_ITEM_SELECTOR as c, createRovingTabindex as l, toolbarOwnedKeys as u } from "@slotted/core/focus";
6
+ import { Fragment as d, createContext as f, useCallback as p, useContext as m, useEffect as h, useId as g, useMemo as _, useRef as v, useState as y } from "react";
7
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
8
+ import { createCollapse as S } from "@slotted/core/overflow";
9
+ import { toolbarMessages as C } from "@slotted/core/i18n";
10
+ var w = f({
11
+ collapsed: [],
12
+ counterpart: () => null,
13
+ declare: () => void 0,
14
+ orientation: "horizontal",
15
+ registerTrigger: () => void 0,
16
+ release: () => void 0
17
+ });
18
+ function T() {
19
+ return m(w);
20
+ }
21
+ var E = "data-unit", D = f({
22
+ loop: !0,
23
+ orientation: "horizontal",
24
+ overflow: "wrap",
25
+ size: "md",
26
+ variant: "plain"
27
+ });
28
+ function O() {
29
+ return m(D);
30
+ }
31
+ function k({ children: e, ...t }) {
32
+ let n = O();
33
+ return /* @__PURE__ */ b(D.Provider, {
34
+ value: {
35
+ loop: t.loop ?? n.loop,
36
+ orientation: t.orientation ?? n.orientation,
37
+ overflow: t.overflow ?? n.overflow,
38
+ size: t.size ?? n.size,
39
+ variant: t.variant ?? n.variant
40
+ },
41
+ children: e
42
+ });
43
+ }
44
+ //#endregion
45
+ //#region src/toolbar/toolbar.tsx
46
+ var A = ":scope > *:not([data-part=\"overflow\"])", j = Object.freeze([]);
47
+ function M(e, t) {
48
+ for (let n = e.nextElementSibling; n !== null && n !== t; n = n.nextElementSibling) if (n.getAttribute("data-part") === "separator") return !0;
49
+ return !1;
50
+ }
51
+ function N({ children: e, className: t, loop: n, onOverflowChange: r, orientation: i, overflow: a, ref: o, render: d, size: f, style: m, variant: g, ...x }) {
52
+ let C = O(), T = v(null), D = v(null), k = v(null), N = v(/* @__PURE__ */ new Map()), [P, F] = y(null), [I, L] = y(j), R = v(r);
53
+ R.current = r;
54
+ let z = n ?? C.loop, B = i ?? C.orientation, V = a ?? C.overflow, H = f ?? C.size, U = g ?? C.variant, W = p((e) => F(e), []), G = _(() => ({
55
+ collapsed: I,
56
+ counterpart: (e) => N.current.get(e) ?? null,
57
+ declare: (e, t) => {
58
+ N.current.set(e, t);
59
+ },
60
+ orientation: B,
61
+ registerTrigger: W,
62
+ release: (e) => {
63
+ N.current.delete(e);
64
+ }
65
+ }), [
66
+ I,
67
+ W,
68
+ B
69
+ ]), K = p((e) => {
70
+ if (T.current = e, typeof o == "function") return o(e);
71
+ o && (o.current = e);
72
+ }, [o]);
73
+ h(() => {
74
+ let e = T.current;
75
+ if (e === null) return;
76
+ let t = l(e, {
77
+ crossAxis: !0,
78
+ includeAriaDisabled: !0,
79
+ itemSelector: c,
80
+ loop: z,
81
+ orientation: () => B,
82
+ ownedKeys: (e) => u(e, B)
83
+ });
84
+ D.current = t;
85
+ let n = new MutationObserver(() => {
86
+ t.refresh(), k.current?.refresh();
87
+ });
88
+ return n.observe(e, {
89
+ childList: !0,
90
+ subtree: !0
91
+ }), () => {
92
+ n.disconnect(), t.destroy(), D.current = null;
93
+ };
94
+ }, [z, B]), h(() => {
95
+ let e = T.current;
96
+ if (e === null || V !== "menu") return;
97
+ let t = S(e, {
98
+ collapsible: (e) => e.hasAttribute(E),
99
+ divides: (e) => e.getAttribute("data-part") === "separator",
100
+ fixedSize: (e) => e.getAttribute("data-part") === "spacer" ? 0 : void 0,
101
+ onChange: (e) => {
102
+ let t = e.filter((e) => e.hasAttribute(E));
103
+ L(t.map((e, n) => {
104
+ let r = t[n - 1];
105
+ return {
106
+ id: e.getAttribute("data-unit") ?? "",
107
+ separatorBefore: r !== void 0 && M(r, e)
108
+ };
109
+ })), D.current?.refresh(), R.current?.(t.length);
110
+ },
111
+ orientation: () => B,
112
+ trigger: () => P,
113
+ units: () => [...e.querySelectorAll(A)]
114
+ });
115
+ return k.current = t, () => {
116
+ t.destroy(), k.current = null, L(j);
117
+ };
118
+ }, [
119
+ B,
120
+ V,
121
+ P
122
+ ]);
123
+ let q = s({
124
+ ...x,
125
+ ...V === "menu" ? { "data-collapsed": String(I.length) } : {},
126
+ ...B === "vertical" ? { "aria-orientation": "vertical" } : {},
127
+ children: e,
128
+ className: t,
129
+ "data-orientation": B,
130
+ "data-overflow": V,
131
+ "data-part": "root",
132
+ "data-size": H,
133
+ "data-ui": "toolbar",
134
+ "data-variant": U,
135
+ role: "toolbar",
136
+ style: m
137
+ });
138
+ return /* @__PURE__ */ b(w.Provider, {
139
+ value: G,
140
+ children: d === void 0 ? /* @__PURE__ */ b("div", {
141
+ ...q,
142
+ ref: K
143
+ }) : d({
144
+ ...q,
145
+ ref: K
146
+ })
147
+ });
148
+ }
149
+ //#endregion
150
+ //#region src/toolbar/toolbar-overflow.tsx
151
+ function P(e, ...t) {
152
+ for (let n of t) typeof n == "function" ? n(e) : n != null && (n.current = e);
153
+ }
154
+ function F(e, t, n) {
155
+ return typeof e == "function" ? e(t) : e === void 0 ? n : e;
156
+ }
157
+ function I({ align: c, label: l, menuRef: u, ref: f, render: m, side: h, size: g, ..._ }) {
158
+ let y = T(), S = e(C), w = y.collapsed, { registerTrigger: E } = y, D = v(void 0), O = p((e) => {
159
+ E(e), P(e, D.current, f);
160
+ }, [f, E]);
161
+ return /* @__PURE__ */ x(r, {
162
+ ...c === void 0 ? {} : { align: c },
163
+ ...u === void 0 ? {} : { ref: u },
164
+ ...h === void 0 ? {} : { side: h },
165
+ ...g === void 0 ? {} : { size: g },
166
+ children: [/* @__PURE__ */ b(a, { render: ({ ref: e, ...r }) => {
167
+ D.current = e;
168
+ let i = s({
169
+ ...r,
170
+ ..._,
171
+ "aria-label": F(l, w.length, S("more", { count: w.length })),
172
+ children: /* @__PURE__ */ b(n, { children: /* @__PURE__ */ b(t, { name: "ellipsis" }) }),
173
+ "data-part": "overflow"
174
+ });
175
+ return m === void 0 ? /* @__PURE__ */ b("button", {
176
+ ...i,
177
+ ref: O,
178
+ type: "button"
179
+ }) : m({
180
+ ...i,
181
+ ref: O
182
+ });
183
+ } }), /* @__PURE__ */ b(o, { children: w.map((e) => /* @__PURE__ */ x(d, { children: [e.separatorBefore ? /* @__PURE__ */ b(i, {}) : null, y.counterpart(e.id)] }, e.id)) })]
184
+ });
185
+ }
186
+ //#endregion
187
+ //#region src/toolbar/toolbar-parts.tsx
188
+ function L(e) {
189
+ let t = T(), n = g(), r = e != null && e !== !1;
190
+ r && t.declare(n, e);
191
+ let { release: i } = t;
192
+ return h(() => () => i(n), [n, i]), r ? { [E]: n } : {};
193
+ }
194
+ function R({ children: e, counterpart: t, ref: n, render: r, ...i }) {
195
+ let a = L(t), o = s({
196
+ ...i,
197
+ ...a,
198
+ children: e,
199
+ "data-part": "item"
200
+ });
201
+ return r === void 0 ? /* @__PURE__ */ b("div", {
202
+ ...o,
203
+ ref: n
204
+ }) : r(o);
205
+ }
206
+ function z({ children: e, counterpart: t, ref: n, render: r, ...i }) {
207
+ let a = L(t), o = s({
208
+ ...i,
209
+ ...a,
210
+ children: e,
211
+ "data-part": "group",
212
+ role: "group"
213
+ });
214
+ return r === void 0 ? /* @__PURE__ */ b("div", {
215
+ ...o,
216
+ ref: n
217
+ }) : r(o);
218
+ }
219
+ function B({ ref: e, render: t, ...n }) {
220
+ let { orientation: r } = T(), i = s({
221
+ ...n,
222
+ "aria-orientation": r === "vertical" ? "horizontal" : "vertical",
223
+ "data-part": "separator",
224
+ role: "separator"
225
+ });
226
+ return t === void 0 ? /* @__PURE__ */ b("div", {
227
+ ...i,
228
+ ref: e
229
+ }) : t(i);
230
+ }
231
+ function V({ ref: e, render: t, ...n }) {
232
+ let r = s({
233
+ "aria-hidden": !0,
234
+ ...n,
235
+ "data-part": "spacer"
236
+ });
237
+ return t === void 0 ? /* @__PURE__ */ b("div", {
238
+ ...r,
239
+ ref: e
240
+ }) : t(r);
241
+ }
242
+ //#endregion
243
+ export { I as a, O as c, V as i, T as l, R as n, N as o, B as r, k as s, z as t };
package/dist/toolbar.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./toolbar-BtIyVbs4.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./toolbar-BI4ZepBs.js";
2
2
  export { a as Toolbar, s as ToolbarDefaultsProvider, c as ToolbarGroup, i as ToolbarItem, e as ToolbarOverflow, o as ToolbarSeparator, n as ToolbarSpacer, t as useToolbarDefaults, r as useToolbarOverflow };
@@ -1,16 +1,16 @@
1
- import { n as e, t } from "./icon-DjqSEQ-o.js";
2
- import { r as n } from "./i18n-DpW8lqJ1.js";
3
- import { i as r } from "./app-shell-BlkqQrOx.js";
1
+ import { r as e } from "./i18n-D7xXDd8-.js";
2
+ import { n as t, t as n } from "./icon-DjqSEQ-o.js";
3
+ import { i as r } from "./app-shell-Cb_kDBeV.js";
4
4
  import { a as i, i as a, n as o, r as s } from "./tooltip-DrFiRlH8.js";
5
- import { f as c, m as l, s as u } from "./navigation-menu-parts-B64gKl8B.js";
5
+ import { f as c, m as l, s as u } from "./navigation-menu-parts-CEW4fgCo.js";
6
6
  import { definedProps as d, keyedProps as f, withSelectorKey as p } from "@slotted/core/selector-key";
7
7
  import { createControllable as m } from "@slotted/core/state";
8
8
  import { createContext as h, useCallback as g, useContext as _, useEffect as v, useId as ee, useImperativeHandle as te, useMemo as y, useRef as b, useState as x } from "react";
9
9
  import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
10
10
  import { createPresence as ne } from "@slotted/core/presence";
11
- import { createDismissableLayer as re } from "@slotted/core/dismissable-layer";
11
+ import { topNavigationMessages as re } from "@slotted/core/i18n";
12
+ import { createDismissableLayer as ie } from "@slotted/core/dismissable-layer";
12
13
  import { createPortal as T } from "react-dom";
13
- import { topNavigationMessages as ie } from "@slotted/core/i18n";
14
14
  import { COMPACT_BELOW as ae, createWidthGate as oe } from "@slotted/core/measure";
15
15
  //#region src/top-navigation/top-navigation-defaults.tsx
16
16
  var E = {
@@ -49,8 +49,8 @@ function O() {
49
49
  if (e === void 0) throw Error("Every top-navigation part must be rendered inside TopNavigation.");
50
50
  return e;
51
51
  }
52
- function k({ children: e, className: t, defaultMoreOpen: i, defaultSearchOpen: a, defaultValue: o, frame: s, landmark: c, messages: l, moreOpen: u, onCollapseChange: d, onMoreOpenChange: p, onSearchOpenChange: h, onValueChange: _, ref: T, render: ae, searchOpen: E, size: se, skipTo: le, style: O, value: k, ...A }) {
53
- let j = ce(), M = r(), N = ee(), P = c ?? (M === void 0 && j.landmark), fe = s ?? (M === void 0 && j.frame), F = n(ie, l), I = se ?? j.size, [pe, me] = x(o ?? null), [he, ge] = x(i ?? !1), [_e, ve] = x(a ?? !1), L = k === void 0 ? pe : k, R = u === void 0 ? he : u, z = E === void 0 ? _e : E, [B, ye] = x(null), [be, xe] = x(!1), [V, H] = x(!1), [U, Se] = x(!1), [W, Ce] = x(null), [we, Te] = x(null), [G, Ee] = x(null), [K, De] = x(null), [Oe, ke] = x(null), [Ae, je] = x(!1), [Me, Ne] = x(!1), [Pe, Fe] = x(!1), [Ie, Le] = x("unmounted"), q = y(() => {
52
+ function k({ children: t, className: n, defaultMoreOpen: i, defaultSearchOpen: a, defaultValue: o, frame: s, landmark: c, messages: l, moreOpen: u, onCollapseChange: d, onMoreOpenChange: p, onSearchOpenChange: h, onValueChange: _, ref: T, render: ae, searchOpen: E, size: se, skipTo: le, style: O, value: k, ...A }) {
53
+ let j = ce(), M = r(), N = ee(), P = c ?? (M === void 0 && j.landmark), fe = s ?? (M === void 0 && j.frame), F = e(re, l), I = se ?? j.size, [pe, me] = x(o ?? null), [he, ge] = x(i ?? !1), [_e, ve] = x(a ?? !1), L = k === void 0 ? pe : k, R = u === void 0 ? he : u, z = E === void 0 ? _e : E, [B, ye] = x(null), [be, xe] = x(!1), [V, H] = x(!1), [U, Se] = x(!1), [W, Ce] = x(null), [we, Te] = x(null), [G, Ee] = x(null), [K, De] = x(null), [Oe, ke] = x(null), [Ae, je] = x(!1), [Me, Ne] = x(!1), [Pe, Fe] = x(!1), [Ie, Le] = x("unmounted"), q = y(() => {
54
54
  let e = /* @__PURE__ */ new Set();
55
55
  return be && e.add("low"), V && e.add("medium"), U && e.add("high"), e;
56
56
  }, [
@@ -172,7 +172,7 @@ function k({ children: e, className: t, defaultMoreOpen: i, defaultSearchOpen: a
172
172
  $.current?.sync(R);
173
173
  }, [R]), v(() => {
174
174
  if (W === null || !R) return;
175
- let e = re(W, {
175
+ let e = ie(W, {
176
176
  escape: !0,
177
177
  focusOutside: !1,
178
178
  modal: !1,
@@ -281,8 +281,8 @@ function k({ children: e, className: t, defaultMoreOpen: i, defaultSearchOpen: a
281
281
  "data-part-skip": "",
282
282
  href: `#${le}`,
283
283
  children: F("skip")
284
- }), e] }),
285
- className: t,
284
+ }), t] }),
285
+ className: n,
286
286
  ...fe ? { "data-frame": "" } : {},
287
287
  "data-part": "root",
288
288
  ...qe && z ? { "data-search-open": "" } : {},
@@ -627,8 +627,8 @@ function xe({ children: e, ref: t, render: n, ...r }) {
627
627
  ref: t
628
628
  }) : n(a);
629
629
  }
630
- function V({ glyph: n }) {
631
- return /* @__PURE__ */ C(t, { children: /* @__PURE__ */ C(e, { name: n }) });
630
+ function V({ glyph: e }) {
631
+ return /* @__PURE__ */ C(n, { children: /* @__PURE__ */ C(t, { name: e }) });
632
632
  }
633
633
  function H({ "aria-label": e, children: t, glyph: n, message: r, part: i, ref: o, render: s, ...c }) {
634
634
  let l = e ?? r, u = f({
@@ -1,2 +1,2 @@
1
- import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./top-navigation-DorkYBnR.js";
1
+ import { C as e, S as t, T as n, _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./top-navigation-BTZpx5VA.js";
2
2
  export { w as TOP_NAVIGATION_COLLAPSE_AT, a as TOP_NAVIGATION_CONTROL_SELECTOR, e as TOP_NAVIGATION_FALLBACK, C as TopNavigation, y as TopNavigationAccount, m as TopNavigationAction, _ as TopNavigationActions, d as TopNavigationBrand, i as TopNavigationContext, h as TopNavigationCount, S as TopNavigationDefaultsProvider, v as TopNavigationHelp, o as TopNavigationHome, f as TopNavigationItem, b as TopNavigationLink, s as TopNavigationList, c as TopNavigationMark, g as TopNavigationName, p as TopNavigationNav, u as TopNavigationNotifications, l as TopNavigationSearch, r as TopNavigationTrigger, t as useTopNavigation, n as useTopNavigationDefaults, x as useTopNavigationItem };
@@ -1,17 +1,17 @@
1
- import { n as e, t } from "./icon-DjqSEQ-o.js";
2
- import { r as n } from "./i18n-DpW8lqJ1.js";
3
- import { n as r } from "./icon-button-CRB218_z.js";
1
+ import { r as e } from "./i18n-D7xXDd8-.js";
2
+ import { n as t, t as n } from "./icon-DjqSEQ-o.js";
3
+ import { n as r } from "./icon-button-DbSZKGT4.js";
4
4
  import { keyedProps as i } from "@slotted/core/selector-key";
5
5
  import { createFocusScope as a, tabbables as o } from "@slotted/core/focus";
6
6
  import { createControllable as s } from "@slotted/core/state";
7
7
  import { createContext as c, useCallback as l, useContext as u, useEffect as d, useId as ee, useImperativeHandle as te, useLayoutEffect as ne, useMemo as re, useRef as f, useState as p } from "react";
8
8
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
9
  import { createPresence as ie } from "@slotted/core/presence";
10
- import { createPortalRoot as ae, setPortalContainer as oe } from "@slotted/core/portal";
11
- import { createDismissableLayer as se } from "@slotted/core/dismissable-layer";
12
- import { createPositioner as ce } from "@slotted/core/positioner";
13
- import { createPortal as le } from "react-dom";
14
- import { tourMessages as ue } from "@slotted/core/i18n";
10
+ import { tourMessages as ae } from "@slotted/core/i18n";
11
+ import { createPortalRoot as oe, setPortalContainer as se } from "@slotted/core/portal";
12
+ import { createDismissableLayer as ce } from "@slotted/core/dismissable-layer";
13
+ import { createPositioner as le } from "@slotted/core/positioner";
14
+ import { createPortal as ue } from "react-dom";
15
15
  import { getLiveAnnouncer as de } from "@slotted/core/live-announcer";
16
16
  import { cardFits as fe, compactSide as pe, createTourController as me, isCompactViewport as he, isTextEntry as ge, keepOverTarget as _e, resolveTarget as ve, stageStep as ye, tourKey as be, tourProgress as xe, watchTarget as Se, writeTargetRect as Ce } from "@slotted/core/tour";
17
17
  //#region src/tour/tour-defaults.tsx
@@ -44,7 +44,7 @@ function De({ children: e, container: t, ...n }) {
44
44
  ...Oe(n)
45
45
  };
46
46
  return d(() => {
47
- if (t !== void 0) return oe(t), () => oe(null);
47
+ if (t !== void 0) return se(t), () => se(null);
48
48
  }, [t]), /* @__PURE__ */ m(Te.Provider, {
49
49
  value: r,
50
50
  children: e
@@ -135,15 +135,15 @@ function je({ children: e, ref: t, render: n, ...r }) {
135
135
  ref: (e) => _(e, t)
136
136
  });
137
137
  }
138
- function y({ children: n, onClick: r, ref: a, render: o, ...s }) {
138
+ function y({ children: e, onClick: r, ref: a, render: o, ...s }) {
139
139
  let c = w();
140
140
  if (c.step.actions?.close === !1) return null;
141
141
  let l = i({
142
142
  "aria-label": c.t("close"),
143
143
  ...s,
144
- children: n ?? /* @__PURE__ */ m(t, {
144
+ children: e ?? /* @__PURE__ */ m(n, {
145
145
  size: "sm",
146
- children: /* @__PURE__ */ m(e, { name: "x" })
146
+ children: /* @__PURE__ */ m(t, { name: "x" })
147
147
  }),
148
148
  "data-part": "close",
149
149
  onClick: g(r, (e) => c.close("close", {
@@ -306,12 +306,12 @@ var Ve = {
306
306
  outsidePress: "outsidePress",
307
307
  programmatic: "programmatic"
308
308
  };
309
- function He(e) {
310
- let { align: t, alignOffset: r, arrow: i, arrowPadding: c, autoFocus: u, children: oe, closeOnEscape: we, closeOnOutsidePress: Te, collisionPadding: De, defaultOpen: Oe, defaultStep: g, keyboardNavigation: _, layout: ke, messages: v, missing: Ae, modal: je, onOpenChange: y, onStepChange: b, open: x, ref: Me, scrollIntoView: Ne, side: S, sideOffset: Pe, size: C, spotlight: Fe, step: w, steps: T, targetTimeout: He } = e, E = Ee(), Ge = ee(), [Ke, qe] = p(Oe ?? !1), [Je, Ye] = p(g ?? null), D = x ?? Ke, O = w === void 0 ? Je : w, [k, Xe] = p(null), [A, Ze] = p(null), [j, Qe] = p({
309
+ function He(t) {
310
+ let { align: n, alignOffset: r, arrow: i, arrowPadding: c, autoFocus: u, children: se, closeOnEscape: we, closeOnOutsidePress: Te, collisionPadding: De, defaultOpen: Oe, defaultStep: g, keyboardNavigation: _, layout: ke, messages: v, missing: Ae, modal: je, onOpenChange: y, onStepChange: b, open: x, ref: Me, scrollIntoView: Ne, side: S, sideOffset: Pe, size: C, spotlight: Fe, step: w, steps: T, targetTimeout: He } = t, E = Ee(), Ge = ee(), [Ke, qe] = p(Oe ?? !1), [Je, Ye] = p(g ?? null), D = x ?? Ke, O = w === void 0 ? Je : w, [k, Xe] = p(null), [A, Ze] = p(null), [j, Qe] = p({
311
311
  target: null,
312
312
  move: "rest"
313
313
  }), [$e, et] = p(!1), [tt, nt] = p(!1), [rt, it] = p(!1), [at, ot] = p("unmounted"), [st, ct] = p(null), [M, lt] = p(null), [N, ut] = p(null), [dt, ft] = p(null), [P, pt] = p(null), [mt, ht] = p(null), [gt, _t] = p(!1), [vt, yt] = p(!1), [bt, xt] = p(!1), St = ke ?? E.layout, Ct = St === "compact" || St === "auto" && bt, [wt, Tt] = p(!0), F = {
314
- align: A?.step.align ?? t ?? E.align,
314
+ align: A?.step.align ?? n ?? E.align,
315
315
  alignOffset: r ?? E.alignOffset,
316
316
  arrow: i ?? E.arrow,
317
317
  arrowPadding: c ?? E.arrowPadding,
@@ -334,7 +334,7 @@ function He(e) {
334
334
  onOpenChange: y,
335
335
  onStepChange: b,
336
336
  open: x,
337
- props: e,
337
+ props: t,
338
338
  settings: F,
339
339
  step: w,
340
340
  steps: T
@@ -345,7 +345,7 @@ function He(e) {
345
345
  onOpenChange: y,
346
346
  onStepChange: b,
347
347
  open: x,
348
- props: e,
348
+ props: t,
349
349
  settings: F,
350
350
  step: w,
351
351
  steps: T
@@ -505,13 +505,13 @@ function He(e) {
505
505
  let W = A ?? Lt.current, G = W !== null && (U || at !== "unmounted"), Rt = W?.step.messages, zt = re(() => Rt === void 0 ? v : {
506
506
  ...v,
507
507
  ...Rt
508
- }, [v, Rt]), Bt = n(ue, zt);
508
+ }, [v, Rt]), Bt = e(ae, zt);
509
509
  d(() => {
510
510
  if (!G) {
511
511
  ct(null);
512
512
  return;
513
513
  }
514
- let e = Lt.current?.target ?? H.current ?? I.current.steps.map((e) => ve(e.target, document)).find((e) => e !== null) ?? null, t = ae({ origin: e });
514
+ let e = Lt.current?.target ?? H.current ?? I.current.steps.map((e) => ve(e.target, document)).find((e) => e !== null) ?? null, t = oe({ origin: e });
515
515
  return At.current = t, ct(t.container), () => {
516
516
  At.current = null, t.release();
517
517
  };
@@ -552,7 +552,7 @@ function He(e) {
552
552
  let e = requestAnimationFrame(() => nt(!0));
553
553
  return () => cancelAnimationFrame(e);
554
554
  }
555
- let e = ce(K, N, {
555
+ let e = le(K, N, {
556
556
  align: Kt,
557
557
  alignOffset: Ht,
558
558
  boundaryPadding: Wt,
@@ -587,7 +587,7 @@ function He(e) {
587
587
  let X = F.modal, Yt = F.closeOnEscape, Xt = F.closeOnOutsidePress, Zt = W?.step.interactive === !0 ? K : null;
588
588
  d(() => {
589
589
  if (M === null || N === null || !U) return;
590
- let e = se(M, {
590
+ let e = ce(M, {
591
591
  back: X,
592
592
  content: N,
593
593
  escape: Yt,
@@ -778,14 +778,14 @@ function He(e) {
778
778
  "data-part-arrow": "",
779
779
  ref: ft
780
780
  }),
781
- oe ?? /* @__PURE__ */ m(We, {}),
781
+ se ?? /* @__PURE__ */ m(We, {}),
782
782
  en
783
783
  ]
784
784
  })]
785
785
  });
786
786
  return /* @__PURE__ */ m(Ie.Provider, {
787
787
  value: $t,
788
- children: le(tn, st)
788
+ children: ue(tn, st)
789
789
  });
790
790
  }
791
791
  function Ue(e) {
package/dist/tour.js CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./tour-CwK_m_Jp.js";
1
+ import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./tour-_CQ1kYov.js";
2
2
  export { o as TOUR_FALLBACK, h as Tour, p as TourBody, s as TourClose, t as TourContent, a as TourDefaultsProvider, d as TourDescription, m as TourFooter, n as TourHeader, c as TourMedia, g as TourNext, r as TourPrev, i as TourProgress, f as TourSkip, l as TourTitle, u as useTour, e as useTourDefaults };