@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
@@ -1,6 +1,6 @@
1
- import { n as e, t } from "./icon-DjqSEQ-o.js";
2
- import { r as n } from "./i18n-DpW8lqJ1.js";
3
- import { b as r } from "./field-CzSGs7wo.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 { b as r } from "./field-tnEZiRLg.js";
4
4
  import { t as i } from "./visually-hidden-BUSrFZ1_.js";
5
5
  import { keyedProps as ee } from "@slotted/core/selector-key";
6
6
  import { createControllable as te } from "@slotted/core/state";
@@ -33,7 +33,7 @@ function v(e) {
33
33
  return e.detail > 0 ? "pointer" : e.isTrusted ? "keyboard" : "programmatic";
34
34
  }
35
35
  function y({ "aria-describedby": a, "aria-invalid": o, "aria-readonly": h, "aria-required": _, checked: y, children: b, className: re, defaultChecked: x = !1, description: S, disabled: C, id: w, indicator: T, invalid: E, labelPlacement: D, loading: O = !1, messages: ie, onChange: ae, onCheckedChange: oe, onClick: se, readOnly: ce, ref: k, render: A, size: j, style: M, ...N }) {
36
- let P = r(), F = g(), I = n(p, ie), L = c(null), R = ne(), z = `${R}-pending`, B = `${R}-description`, V = w ?? P?.ids.control ?? `slotted-switch-${R}`, [H, U] = l(x), [W, G] = l(!1), K = y ?? H, q = c(K);
36
+ let P = r(), F = g(), I = e(p, ie), L = c(null), R = ne(), z = `${R}-pending`, B = `${R}-description`, V = w ?? P?.ids.control ?? `slotted-switch-${R}`, [H, U] = l(x), [W, G] = l(!1), K = y ?? H, q = c(K);
37
37
  q.current = K;
38
38
  let le = j ?? P?.size ?? F.size, J = T ?? F.indicator, ue = D ?? F.labelPlacement, Y = C ?? P?.disabled, X = ce ?? P?.readOnly, Z = E ?? P?.invalid, Q = P?.registerControl;
39
39
  s(() => Q?.(), [Q]), s(() => {
@@ -103,7 +103,7 @@ function y({ "aria-describedby": a, "aria-invalid": o, "aria-readonly": h, "aria
103
103
  children: /* @__PURE__ */ d("span", {
104
104
  "data-part": "thumb",
105
105
  "data-part-thumb": "",
106
- children: J === "mark" ? /* @__PURE__ */ d(t, { children: /* @__PURE__ */ d(e, { name: "check" }) }) : null
106
+ children: J === "mark" ? /* @__PURE__ */ d(n, { children: /* @__PURE__ */ d(t, { name: "check" }) }) : null
107
107
  })
108
108
  }),
109
109
  b === void 0 ? null : /* @__PURE__ */ d("label", {
package/dist/switch.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "./switch-CQ1rpuKa.js";
1
+ import { i as e, n as t, r as n, t as r } from "./switch-BHyKHqeI.js";
2
2
  export { t as SWITCH_LOADING_ANNOUNCE_DELAY, r as Switch, n as SwitchDefaultsProvider, e as useSwitchDefaults };
@@ -1,30 +1,30 @@
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 { a as i, i as a, n as o, r as s } from "./tooltip-DrFiRlH8.js";
5
- import { t as c } from "./checkbox-CMY2KIih.js";
6
- import { i as l } from "./skeleton-DyOwgYmF.js";
7
- import { t as u } from "./text-field-DL_uhNXV.js";
8
- import { a as d, d as f, f as p, l as m } from "./popover-D1krYeP-.js";
5
+ import { t as c } from "./checkbox-C_8GVtjD.js";
6
+ import { i as l } from "./skeleton-DeEOmm1y.js";
7
+ import { t as u } from "./text-field-Cguj75tn.js";
8
+ import { a as d, d as f, f as p, l as m } from "./popover-C7NpEzq6.js";
9
9
  import { t as h } from "./visually-hidden-BUSrFZ1_.js";
10
- import { t as g } from "./date-picker-Nl55so0C.js";
11
- import { t as _ } from "./date-range-picker-DLkvfUJD.js";
12
- import { t as ee } from "./datetime-picker-_GHra2WL.js";
13
- import { t as te } from "./datetime-range-picker-Dy1A0Wqy.js";
14
- import { t as ne } from "./number-field-BYQmPyM-.js";
15
- import { c as re, i as ie, n as ae, o as oe, s as se } from "./select-BFx5EgAa.js";
16
- import { t as v } from "./time-picker-Ce18FSO2.js";
17
- import { t as y } from "./time-range-picker-kDnw4PQ3.js";
18
- import { n as ce, t as b } from "./radio-group-D9VTBLUB.js";
19
- import { t as x } from "./tags-input-BgpS22sf.js";
10
+ import { t as g } from "./date-picker-DpTRb-Y1.js";
11
+ import { t as _ } from "./date-range-picker-CBUPJep5.js";
12
+ import { t as ee } from "./datetime-picker-BK_bV3Yr.js";
13
+ import { t as te } from "./datetime-range-picker-ChdbRgzQ.js";
14
+ import { t as ne } from "./number-field-D1MqT8_A.js";
15
+ import { c as re, i as ie, n as ae, o as oe, s as se } from "./select-C0JYHwBy.js";
16
+ import { t as v } from "./time-picker-CNfafRDF.js";
17
+ import { t as y } from "./time-range-picker-D7gM_Wno.js";
18
+ import { n as ce, t as b } from "./radio-group-BHlDgCLk.js";
19
+ import { t as x } from "./tags-input-ClYSd-No.js";
20
20
  import { keyedProps as S, withSelectorKey as C } from "@slotted/core/selector-key";
21
21
  import { createFocusOrigin as w } from "@slotted/core/focus";
22
22
  import { createControllable as le } from "@slotted/core/state";
23
23
  import { createContext as T, useCallback as E, useContext as D, useEffect as O, useId as ue, useImperativeHandle as de, useMemo as k, useRef as fe, useState as A } from "react";
24
24
  import { Fragment as j, jsx as M, jsxs as N } from "react/jsx-runtime";
25
25
  import { createScrollAffordance as pe } from "@slotted/core/overflow";
26
- import { isRowAction as me } from "@slotted/core/pointer-intent";
27
- import { tableMessages as P } from "@slotted/core/i18n";
26
+ import { tableMessages as me } from "@slotted/core/i18n";
27
+ import { isRowAction as P } from "@slotted/core/pointer-intent";
28
28
  import { getLiveAnnouncer as he } from "@slotted/core/live-announcer";
29
29
  import { isPlainDate as ge, isPlainDateTime as F, isPlainTime as I, parseISODate as L, parseISODateTime as _e, parseISOTime as R, toISODate as ve, toISOTime as ye } from "@slotted/core/date";
30
30
  import { createFilter as z, nextSelection as B } from "@slotted/core/collection";
@@ -63,8 +63,8 @@ function K() {
63
63
  function je() {
64
64
  return D(G);
65
65
  }
66
- function Me({ children: e, columns: t, defaultExpanded: r, defaultSort: i, defaultValue: a, edges: o, expanded: s, layout: c, loading: l, messages: u, onExpandedChange: d, onSortChange: f, onValueChange: p, ref: m, render: h, selectionMode: g, sort: _, cellAlign: ee, stickyFooter: te, stickyHeader: ne, stickyTo: re, striped: ie, value: ae, variant: oe, ...se }) {
67
- let v = W(), y = n(P, u), ce = ue(), [b, x] = A(i ?? null), [C, w] = A(a ?? []), [T, D] = A(r ?? []), O = fe(null), de = fe(void 0), k = _ === void 0 ? b : _, j = ae ?? C, N = s ?? T, pe = t ?? v.columns ?? 1, me = o ?? v.edges ?? "inset", ge = c ?? v.layout ?? "auto", F = g ?? v.selectionMode ?? "none", I = (ne ?? v.stickyHeader ?? !1) === !0, L = (te ?? v.stickyFooter ?? !1) === !0, _e = ee ?? v.cellAlign ?? "center", R = re ?? v.stickyTo ?? "scroll", ve = (ie ?? v.striped ?? !1) === !0, ye = oe ?? v.variant ?? "ruled", z = E((e) => {
66
+ function Me({ children: t, columns: n, defaultExpanded: r, defaultSort: i, defaultValue: a, edges: o, expanded: s, layout: c, loading: l, messages: u, onExpandedChange: d, onSortChange: f, onValueChange: p, ref: m, render: h, selectionMode: g, sort: _, cellAlign: ee, stickyFooter: te, stickyHeader: ne, stickyTo: re, striped: ie, value: ae, variant: oe, ...se }) {
67
+ let v = W(), y = e(me, u), ce = ue(), [b, x] = A(i ?? null), [C, w] = A(a ?? []), [T, D] = A(r ?? []), O = fe(null), de = fe(void 0), k = _ === void 0 ? b : _, j = ae ?? C, N = s ?? T, pe = n ?? v.columns ?? 1, P = o ?? v.edges ?? "inset", ge = c ?? v.layout ?? "auto", F = g ?? v.selectionMode ?? "none", I = (ne ?? v.stickyHeader ?? !1) === !0, L = (te ?? v.stickyFooter ?? !1) === !0, _e = ee ?? v.cellAlign ?? "center", R = re ?? v.stickyTo ?? "scroll", ve = (ie ?? v.striped ?? !1) === !0, ye = oe ?? v.variant ?? "ruled", z = E((e) => {
68
68
  O.current = e, typeof m == "function" ? m(e) : m != null && (m.current = e);
69
69
  }, [m]), be = E(() => [...O.current?.querySelectorAll("[data-part=\"body\"] > [data-part=\"row\"][data-value]") ?? []].filter((e) => !e.hasAttribute("data-disabled")).map((e) => e.getAttribute("data-value") ?? ""), []);
70
70
  function xe(e, t, n) {
@@ -135,9 +135,9 @@ function Me({ children: e, columns: t, defaultExpanded: r, defaultSort: i, defau
135
135
  value: j
136
136
  }, V = S({
137
137
  ...se,
138
- children: e,
138
+ children: t,
139
139
  "data-cell-align": _e,
140
- "data-edges": me,
140
+ "data-edges": P,
141
141
  "data-layout": ge,
142
142
  ...l === !0 ? { "data-loading": "" } : {},
143
143
  "data-part": "root",
@@ -250,7 +250,7 @@ function Ve({ ref: e, ...t }) {
250
250
  }
251
251
  function He({ children: e, current: t, disabled: n, interactive: r, onAction: i, onClick: a, ref: o, render: s, rowIndex: c, value: l, ...u }) {
252
252
  let d = K(), f = l !== void 0 && d.isSelected(l), p = l !== void 0 && d.isExpanded(l), m = r ?? i !== void 0, h = i === void 0 ? a : (e) => {
253
- a?.(e), !(e.defaultPrevented || n === !0) && me(e.currentTarget, e.target) && i(e);
253
+ a?.(e), !(e.defaultPrevented || n === !0) && P(e.currentTarget, e.target) && i(e);
254
254
  }, g = S({
255
255
  ...u,
256
256
  children: e,
@@ -355,14 +355,14 @@ function qe({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffs
355
355
  ref: r
356
356
  });
357
357
  }
358
- function Je({ children: n, column: r, onClick: i, ref: a, render: o, ...s }) {
358
+ function Je({ children: e, column: r, onClick: i, ref: a, render: o, ...s }) {
359
359
  let c = K(), l = D(Fe), u = r ?? l;
360
360
  function d(e) {
361
361
  i?.(e), !(e.defaultPrevented || u === void 0) && c.requestSort(u, e);
362
362
  }
363
363
  let f = S({
364
364
  ...s,
365
- children: /* @__PURE__ */ N(j, { children: [n, /* @__PURE__ */ M(t, { children: /* @__PURE__ */ M(e, { name: "chevron-down" }) })] }),
365
+ children: /* @__PURE__ */ N(j, { children: [e, /* @__PURE__ */ M(n, { children: /* @__PURE__ */ M(t, { name: "chevron-down" }) })] }),
366
366
  "data-part": "sort",
367
367
  onClick: d,
368
368
  type: "button"
@@ -432,17 +432,17 @@ function Ze({ align: e, blockAlign: t, numeric: n, ref: r, sticky: i, stickyOffs
432
432
  })
433
433
  });
434
434
  }
435
- function Qe({ onClick: n, ref: r, value: i, ...a }) {
435
+ function Qe({ onClick: e, ref: r, value: i, ...a }) {
436
436
  let o = K(), s = q(), c = i ?? s.value, l = c !== void 0 && o.isExpanded(c);
437
- function u(e) {
438
- n?.(e), !(e.defaultPrevented || c === void 0) && o.toggleExpanded(c, e);
437
+ function u(t) {
438
+ e?.(t), !(t.defaultPrevented || c === void 0) && o.toggleExpanded(c, t);
439
439
  }
440
440
  return /* @__PURE__ */ M("button", {
441
441
  ...a,
442
442
  "aria-controls": l ? s.detailId : void 0,
443
443
  "aria-expanded": l,
444
444
  "aria-label": a["aria-label"] ?? (l ? o.t("collapse") : o.t("expand")),
445
- children: a.children ?? /* @__PURE__ */ M(t, { children: /* @__PURE__ */ M(e, { name: "chevron-right" }) }),
445
+ children: a.children ?? /* @__PURE__ */ M(n, { children: /* @__PURE__ */ M(t, { name: "chevron-right" }) }),
446
446
  "data-part": "expander",
447
447
  "data-part-expander": "",
448
448
  onClick: u,
@@ -1,12 +1,12 @@
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 "./skeleton-DyOwgYmF.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 "./skeleton-DeEOmm1y.js";
4
4
  import { definedProps as i, keyedProps as a } from "@slotted/core/selector-key";
5
5
  import { createControllable as o } from "@slotted/core/state";
6
6
  import { createContext as s, useCallback as c, useContext as l, useEffect as u, useId as d, useImperativeHandle as f, useLayoutEffect as p, useMemo as m, useRef as h, useState as g } from "react";
7
7
  import { Fragment as ee, jsx as _, jsxs as v } from "react/jsx-runtime";
8
- import { createDismissableLayer as te } from "@slotted/core/dismissable-layer";
9
- import { tableOfContentsMessages as ne } from "@slotted/core/i18n";
8
+ import { tableOfContentsMessages as te } from "@slotted/core/i18n";
9
+ import { createDismissableLayer as ne } from "@slotted/core/dismissable-layer";
10
10
  import { DEFAULT_LEVELS as re, collectOutline as ie } from "@slotted/core/outline";
11
11
  import { createScrollSpy as ae, focusTarget as oe, landOn as se, prefersReducedMotion as ce, readStickyTop as le, resolveScroller as ue } from "@slotted/core/scroll-spy";
12
12
  //#region src/table-of-contents/table-of-contents-context.ts
@@ -153,7 +153,7 @@ function ye(e) {
153
153
  }));
154
154
  }
155
155
  function be({ children: i, className: s, defaultOpen: l, defaultValue: re, exclude: y, history: b, items: x, label: S, landmark: C, layout: w, levels: fe, loading: E = !1, messages: pe, numbered: D, offset: me, onKeyDown: he, onOpenChange: be, onValueChange: xe, open: O, ref: Se, render: Ce, scroller: we, size: Te, source: Ee, sticky: De, style: Oe, value: k, ...ke }) {
156
- let A = T(), j = b ?? A.history, Ae = C ?? A.landmark, M = w ?? A.layout, je = fe ?? A.levels, N = D ?? A.numbered, P = me ?? A.offset, F = Te ?? A.size, Me = De ?? A.sticky, Ne = n(ne, pe), [Pe, Fe] = g(re ?? null), [Ie, Le] = g(l ?? !1), I = k === void 0 ? Pe : k, L = O === void 0 ? Ie : O, R = M === "collapsed", z = !R || L, Re = d(), ze = `${Re}-panel`, B = `${Re}-label`, [V, Be] = g(null), [H, Ve] = g(null), He = h(null), U = h(null), [Ue, We] = g([]), [W, Ge] = g(0), Ke = h(!1), G = h(/* @__PURE__ */ new Map()), qe = c((e, t) => (G.current.set(e, t), Ge((e) => e + 1), () => {
156
+ let A = T(), j = b ?? A.history, Ae = C ?? A.landmark, M = w ?? A.layout, je = fe ?? A.levels, N = D ?? A.numbered, P = me ?? A.offset, F = Te ?? A.size, Me = De ?? A.sticky, Ne = e(te, pe), [Pe, Fe] = g(re ?? null), [Ie, Le] = g(l ?? !1), I = k === void 0 ? Pe : k, L = O === void 0 ? Ie : O, R = M === "collapsed", z = !R || L, Re = d(), ze = `${Re}-panel`, B = `${Re}-label`, [V, Be] = g(null), [H, Ve] = g(null), He = h(null), U = h(null), [Ue, We] = g([]), [W, Ge] = g(0), Ke = h(!1), G = h(/* @__PURE__ */ new Map()), qe = c((e, t) => (G.current.set(e, t), Ge((e) => e + 1), () => {
157
157
  G.current.delete(e), Ge((e) => e + 1);
158
158
  }), []), K = h({
159
159
  currentOpen: L,
@@ -328,7 +328,7 @@ function be({ children: i, className: s, defaultOpen: l, defaultValue: re, exclu
328
328
  M
329
329
  ]), u(() => {
330
330
  if (!R || !L || H === null) return;
331
- let e = U.current, t = te(H, {
331
+ let e = U.current, t = ne(H, {
332
332
  branches: e === null ? [] : [e],
333
333
  onDismiss: (t) => {
334
334
  (t.reason === "escape" || t.reason === "outsidePress") && (J(!1, t.reason, t.source), t.reason === "escape" && e?.focus());
@@ -426,7 +426,7 @@ function be({ children: i, className: s, defaultOpen: l, defaultValue: re, exclu
426
426
  "aria-hidden": "true",
427
427
  "data-part": "indicator",
428
428
  "data-part-indicator": "",
429
- children: /* @__PURE__ */ _(t, { children: /* @__PURE__ */ _(e, { name: "chevron-down" }) })
429
+ children: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(t, { name: "chevron-down" }) })
430
430
  })
431
431
  ]
432
432
  }) : rt ? /* @__PURE__ */ _("div", {
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./table-of-contents-BFVERMZy.js";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./table-of-contents-BAIuPCdy.js";
2
2
  export { l as TABLE_OF_CONTENTS_BOUNDS, o as TABLE_OF_CONTENTS_FALLBACK, a as TableOfContents, c as TableOfContentsDefaultsProvider, s as TableOfContentsGroup, r as TableOfContentsItem, e as TableOfContentsLink, i as platformClick, u as useTableOfContents, t as useTableOfContentsDefaults, n as useTableOfContentsItem };
package/dist/table.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, P as s, S as c, T as l, _ as u, a as d, b as f, c as p, d as m, f as h, g, h as _, i as v, j as y, k as b, l as x, m as S, n as C, o as w, p as T, r as E, s as D, t as O, u as k, v as A, w as j, x as M, y as N } from "./table-DpGTPtnb.js";
1
+ import { A as e, C as t, D as n, E as r, M as i, N as a, O as o, P as s, S as c, T as l, _ as u, a as d, b as f, c as p, d as m, f as h, g, h as _, i as v, j as y, k as b, l as x, m as S, n as C, o as w, p as T, r as E, s as D, t as O, u as k, v as A, w as j, x as M, y as N } from "./table-C8zOHDcY.js";
2
2
  export { b as TABLE_ROW_SELECTOR, e as Table, p as TableBody, O as TableBooleanFilter, x as TableCaption, k as TableCell, m as TableColumnActions, h as TableColumnHeader, o as TableContent, C as TableDateFilter, E as TableDateTimeFilter, a as TableDefaultsProvider, T as TableDetail, S as TableEmpty, _ as TableExpander, g as TableFooter, u as TableGroupRow, A as TableHead, N as TableLoader, v as TableNumberFilter, f as TableRow, M as TableRowHeader, c as TableSelect, t as TableSelectAll, d as TableSetFilter, j as TableSort, l as TableSummary, w as TableTextFilter, D as TableTimeFilter, y as useOptionalTable, i as useTable, r as useTableColumn, s as useTableDefaults, n as useTableRow };
@@ -1,5 +1,5 @@
1
- import { n as e, t } from "./icon-DjqSEQ-o.js";
2
- import { r as n } from "./i18n-DpW8lqJ1.js";
1
+ import { r as e } from "./i18n-D7xXDd8-.js";
2
+ import { n as t, t as n } from "./icon-DjqSEQ-o.js";
3
3
  /* empty css */
4
4
  import { definedProps as r, keyedProps as i, selectorKeyProps as a } from "@slotted/core/selector-key";
5
5
  import { createRemovalFocus as o, createRovingTabindex as s } from "@slotted/core/focus";
@@ -77,14 +77,14 @@ function k(e, t) {
77
77
  }
78
78
  };
79
79
  }
80
- function A(e) {
81
- let t = n(y, e.messages), r = e.disabled === !0 || e.removeDisabled === !0;
80
+ function A(t) {
81
+ let n = e(y, t.messages), r = t.disabled === !0 || t.removeDisabled === !0;
82
82
  return {
83
- removable: e.onRemove !== void 0,
83
+ removable: t.onRemove !== void 0,
84
84
  removeDisabled: r,
85
- removeLabel: t("remove"),
86
- request(t, n) {
87
- r || e.onRemove?.(k(t, n));
85
+ removeLabel: n("remove"),
86
+ request(e, n) {
87
+ r || t.onRemove?.(k(e, n));
88
88
  }
89
89
  };
90
90
  }
@@ -114,9 +114,9 @@ function M({ children: e, end: t, indicator: n, labelId: r, start: i }) {
114
114
  })
115
115
  ] });
116
116
  }
117
- function N({ labelId: n, removal: r, wordId: i }) {
117
+ function N({ labelId: e, removal: r, wordId: i }) {
118
118
  return /* @__PURE__ */ v("button", {
119
- "aria-labelledby": `${i} ${n}`,
119
+ "aria-labelledby": `${i} ${e}`,
120
120
  "data-part": "remove",
121
121
  "data-part-remove": "",
122
122
  disabled: r.removeDisabled,
@@ -124,7 +124,7 @@ function N({ labelId: n, removal: r, wordId: i }) {
124
124
  e.stopPropagation(), r.request("remove", e);
125
125
  },
126
126
  type: "button",
127
- children: [/* @__PURE__ */ _(t, { children: /* @__PURE__ */ _(e, { name: "x" }) }), /* @__PURE__ */ _("span", {
127
+ children: [/* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(t, { name: "x" }) }), /* @__PURE__ */ _("span", {
128
128
  hidden: !0,
129
129
  id: i,
130
130
  children: r.removeLabel
@@ -318,7 +318,7 @@ function R({ children: e, disabled: t = !1, end: n, href: a, onAuxClickCapture:
318
318
  function z(e) {
319
319
  return e.detail === 0 ? "keyboard" : "pointer";
320
320
  }
321
- function B({ children: n, defaultSelected: r, disabled: a = !1, end: o, onClick: s, onRemove: l, onSelectedChange: u, removeDisabled: d = !1, messages: f, render: m, rootProps: g, selected: y, shape: b, size: x, start: S, tone: C, type: w = "button", variant: T, ...E }) {
321
+ function B({ children: e, defaultSelected: r, disabled: a = !1, end: o, onClick: s, onRemove: l, onSelectedChange: u, removeDisabled: d = !1, messages: f, render: m, rootProps: g, selected: y, shape: b, size: x, start: S, tone: C, type: w = "button", variant: T, ...E }) {
322
322
  let O = D({
323
323
  shape: b,
324
324
  size: x,
@@ -342,11 +342,11 @@ function B({ children: n, defaultSelected: r, disabled: a = !1, end: o, onClick:
342
342
  "aria-hidden": "true",
343
343
  "data-part": "indicator",
344
344
  "data-part-indicator": "",
345
- children: /* @__PURE__ */ _(t, { children: /* @__PURE__ */ _(e, { name: "check" }) })
345
+ children: /* @__PURE__ */ _(n, { children: /* @__PURE__ */ _(t, { name: "check" }) })
346
346
  }),
347
347
  labelId: L,
348
348
  start: S,
349
- children: n
349
+ children: e
350
350
  }),
351
351
  "data-part": "body",
352
352
  disabled: a,
package/dist/tag.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./tag-aX7uyAN0.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./tag-XYGEPUHR.js";
2
2
  export { e as Tag, t as TagButton, r as TagDefaultsProvider, i as TagGroup, n as TagLink, o as TagToggle, a as useTagDefaults };
@@ -1,6 +1,6 @@
1
- import { n as e, t } from "./icon-DjqSEQ-o.js";
2
- import { n, r } from "./i18n-DpW8lqJ1.js";
3
- import { b as i } from "./field-CzSGs7wo.js";
1
+ import { n as e, r as t } from "./i18n-D7xXDd8-.js";
2
+ import { n, t as r } from "./icon-DjqSEQ-o.js";
3
+ import { b as i } from "./field-tnEZiRLg.js";
4
4
  /* empty css */
5
5
  import { selectorKeyProps as a } from "@slotted/core/selector-key";
6
6
  import { createArrowNavigation as o, createRemovalFocus as s } from "@slotted/core/focus";
@@ -8,8 +8,8 @@ import { createControllable as c } from "@slotted/core/state";
8
8
  import { createContext as l, createElement as u, useCallback as d, useContext as f, useEffect as p, useId as ee, useImperativeHandle as te, useLayoutEffect as m, useMemo as h, useRef as g, useState as _ } from "react";
9
9
  import { Fragment as ne, jsx as v, jsxs as y } from "react/jsx-runtime";
10
10
  import { createCollapse as re } from "@slotted/core/overflow";
11
- import { createPositioner as ie } from "@slotted/core/positioner";
12
- import { tagsInputMessages as ae } from "@slotted/core/i18n";
11
+ import { tagsInputMessages as ie } from "@slotted/core/i18n";
12
+ import { createPositioner as ae } from "@slotted/core/positioner";
13
13
  import { createWidthGate as oe } from "@slotted/core/measure";
14
14
  import { getLiveAnnouncer as se } from "@slotted/core/live-announcer";
15
15
  import { createFilter as ce, revealWithin as le } from "@slotted/core/collection";
@@ -17,60 +17,60 @@ import { writeToClipboard as ue } from "@slotted/core/clipboard";
17
17
  import { admitValues as de, joinValues as fe, judgeValue as pe, splitValues as me } from "@slotted/core/tags";
18
18
  //#region src/tags-input/tags-input-chips.tsx
19
19
  var b = "[data-part='chips'] > [role='gridcell']:not([data-part='field'])";
20
- function he({ context: n, index: r, value: i }) {
21
- let [a, o] = _(null), s = g(null), c = g(!1), l = ee(), u = n.labelFor(i), d = n.lockedValues.includes(i), f = n.disabled || n.readOnly || d, te = n.verdicts[r] ?? { valid: !0 }, m = te.valid ? null : te.message || n.t("invalid"), h = n.value.length;
20
+ function he({ context: e, index: t, value: i }) {
21
+ let [a, o] = _(null), s = g(null), c = g(!1), l = ee(), u = e.labelFor(i), d = e.lockedValues.includes(i), f = e.disabled || e.readOnly || d, te = e.verdicts[t] ?? { valid: !0 }, m = te.valid ? null : te.message || e.t("invalid"), h = e.value.length;
22
22
  p(() => {
23
- n.duplicate === i && s.current?.focus({ preventScroll: !0 });
24
- }, [n.duplicate, i]);
25
- let ne = (e, t) => {
23
+ e.duplicate === i && s.current?.focus({ preventScroll: !0 });
24
+ }, [e.duplicate, i]);
25
+ let ne = (n, r) => {
26
26
  if (c.current) {
27
27
  c.current = !1;
28
28
  return;
29
29
  }
30
- o(null), s.current?.focus({ preventScroll: !0 }), e.trim() !== "" && e !== i && n.replace(r, e, t);
31
- }, re = (e) => {
32
- if (e.defaultPrevented) return;
33
- let t = e.ctrlKey || e.metaKey;
34
- if (t && (e.key === "c" || e.key === "C")) {
35
- e.preventDefault(), n.copy(i);
30
+ o(null), s.current?.focus({ preventScroll: !0 }), n.trim() !== "" && n !== i && e.replace(t, n, r);
31
+ }, re = (n) => {
32
+ if (n.defaultPrevented) return;
33
+ let r = n.ctrlKey || n.metaKey;
34
+ if (r && (n.key === "c" || n.key === "C")) {
35
+ n.preventDefault(), e.copy(i);
36
36
  return;
37
37
  }
38
- if (t && (e.key === "x" || e.key === "X")) {
38
+ if (r && (n.key === "x" || n.key === "X")) {
39
39
  if (f) return;
40
- e.preventDefault(), n.copy(i), n.remove(r, e.nativeEvent);
40
+ n.preventDefault(), e.copy(i), e.remove(t, n.nativeEvent);
41
41
  return;
42
42
  }
43
- switch (e.key) {
43
+ switch (n.key) {
44
44
  case "Delete":
45
45
  case "Backspace":
46
46
  if (f) return;
47
- e.preventDefault(), n.remove(r, e.nativeEvent);
47
+ n.preventDefault(), e.remove(t, n.nativeEvent);
48
48
  return;
49
49
  case "Enter":
50
- if (f || !n.editable) return;
51
- e.preventDefault(), c.current = !1, o(i);
50
+ if (f || !e.editable) return;
51
+ n.preventDefault(), c.current = !1, o(i);
52
52
  return;
53
53
  case "Escape":
54
- e.preventDefault(), n.inputNode?.focus({ preventScroll: !0 });
54
+ n.preventDefault(), e.inputNode?.focus({ preventScroll: !0 });
55
55
  return;
56
56
  }
57
- if (n.reorderable && e.altKey && !f) {
58
- let t = s.current?.ownerDocument.defaultView?.getComputedStyle(s.current).direction === "rtl", i = t ? "ArrowLeft" : "ArrowRight", a = t ? "ArrowRight" : "ArrowLeft", o = e.key === i ? r + 1 : e.key === a ? r - 1 : e.key === "Home" ? 0 : e.key === "End" ? h - 1 : null;
57
+ if (e.reorderable && n.altKey && !f) {
58
+ let r = s.current?.ownerDocument.defaultView?.getComputedStyle(s.current).direction === "rtl", i = r ? "ArrowLeft" : "ArrowRight", a = r ? "ArrowRight" : "ArrowLeft", o = n.key === i ? t + 1 : n.key === a ? t - 1 : n.key === "Home" ? 0 : n.key === "End" ? h - 1 : null;
59
59
  if (o !== null) {
60
- e.preventDefault(), n.move(r, o, e.nativeEvent);
60
+ n.preventDefault(), e.move(t, o, n.nativeEvent);
61
61
  return;
62
62
  }
63
63
  }
64
- e.key.length === 1 && !t && !e.altKey && n.inputNode?.focus({ preventScroll: !0 });
65
- }, ie = (e) => {
66
- e.stopPropagation(), n.remove(r, e.nativeEvent);
64
+ n.key.length === 1 && !r && !n.altKey && e.inputNode?.focus({ preventScroll: !0 });
65
+ }, ie = (n) => {
66
+ n.stopPropagation(), e.remove(t, n.nativeEvent);
67
67
  };
68
68
  return a === null ? /* @__PURE__ */ y("span", {
69
69
  "aria-describedby": m === null ? void 0 : l,
70
70
  "aria-invalid": m !== null || void 0,
71
- "aria-label": n.reorderable ? n.t("reorder", {
71
+ "aria-label": e.reorderable ? e.t("reorder", {
72
72
  label: u,
73
- position: r + 1,
73
+ position: t + 1,
74
74
  count: h
75
75
  }) : void 0,
76
76
  "data-part": "root",
@@ -81,7 +81,7 @@ function he({ context: n, index: r, value: i }) {
81
81
  "data-value": i,
82
82
  "data-variant": "soft",
83
83
  onDoubleClick: () => {
84
- !f && n.editable && (c.current = !1, o(i));
84
+ !f && e.editable && (c.current = !1, o(i));
85
85
  },
86
86
  onKeyDown: re,
87
87
  ref: s,
@@ -92,8 +92,8 @@ function he({ context: n, index: r, value: i }) {
92
92
  "data-invalid": "",
93
93
  "data-tone": "danger"
94
94
  },
95
- ...n.duplicate === i ? { "data-current": "" } : {},
96
- ...d || n.disabled ? { "data-disabled": "" } : {},
95
+ ...e.duplicate === i ? { "data-current": "" } : {},
96
+ ...d || e.disabled ? { "data-disabled": "" } : {},
97
97
  children: [
98
98
  /* @__PURE__ */ y("span", {
99
99
  "data-part": "body",
@@ -101,7 +101,7 @@ function he({ context: n, index: r, value: i }) {
101
101
  children: [m === null ? null : /* @__PURE__ */ v("span", {
102
102
  "data-part": "start",
103
103
  "data-part-start": "",
104
- children: /* @__PURE__ */ v(t, { children: /* @__PURE__ */ v(e, { name: "circle-alert" }) })
104
+ children: /* @__PURE__ */ v(r, { children: /* @__PURE__ */ v(n, { name: "circle-alert" }) })
105
105
  }), /* @__PURE__ */ v("span", {
106
106
  "data-part": "label",
107
107
  "data-part-label": "",
@@ -115,13 +115,13 @@ function he({ context: n, index: r, value: i }) {
115
115
  children: m
116
116
  }),
117
117
  f ? null : /* @__PURE__ */ v("button", {
118
- "aria-label": n.t("remove", { label: u }),
118
+ "aria-label": e.t("remove", { label: u }),
119
119
  "data-part": "remove",
120
120
  "data-part-remove": "",
121
121
  onClick: ie,
122
122
  tabIndex: -1,
123
123
  type: "button",
124
- children: /* @__PURE__ */ v(t, { children: /* @__PURE__ */ v(e, { name: "x" }) })
124
+ children: /* @__PURE__ */ v(r, { children: /* @__PURE__ */ v(n, { name: "x" }) })
125
125
  })
126
126
  ]
127
127
  }) : /* @__PURE__ */ v("span", {
@@ -297,7 +297,7 @@ function Ce(e) {
297
297
  return Number.isFinite(n) ? t.endsWith("ms") ? n : n * 1e3 : 320;
298
298
  }
299
299
  function we({ className: o, defaultInputValue: s = "", defaultValue: l = [], formatLabel: f, handleRef: re, inputValue: b, locale: he, lockedValues: x = [], messages: S, normalize: _e, onValueCopy: ye, onInputValueChange: we, onValueChange: Te, onValueRefuse: Ee, ref: De, render: Oe, split: w, style: ke, suggestions: T, type: Ae = "text", validate: je, value: Me, ...Ne }) {
300
- let E = ve(), D = i(), O = r(ae, S), Pe = n(), Fe = he ?? Pe, k = {}, Ie = {};
300
+ let E = ve(), D = i(), O = t(ie, S), Pe = e(), Fe = he ?? Pe, k = {}, Ie = {};
301
301
  for (let [e, t] of Object.entries(Ne)) be.includes(e) ? k[e] = t : Ie[e] = t;
302
302
  let A = Ie, Le = ee(), Re = `${Le}input`, ze = `${Le}hint`, Be = `${Le}suggestions`, [Ve, He] = _(l), [Ue, We] = _(s), [j, Ge] = _(null), [Ke, qe] = _(!1), [Je, Ye] = _(!1), [M, Xe] = _(null), [Ze, N] = _(!1), [Qe, P] = _(-1), [F, $e] = _(null), I = g(null), L = { ...E };
303
303
  for (let e of be) {
@@ -317,7 +317,7 @@ function we({ className: o, defaultInputValue: s = "", defaultValue: l = [], for
317
317
  ]), U = T !== void 0 && Ze && !B && H.length > 0, W = U && Qe < H.length ? Qe : -1, nt = (e) => `${Be}-${e}`;
318
318
  m(() => {
319
319
  if (!U || F === null || I.current === null) return;
320
- let e = ie(I.current, F, {
320
+ let e = ae(I.current, F, {
321
321
  side: "bottom",
322
322
  align: "start",
323
323
  sideOffset: 4,
@@ -682,7 +682,7 @@ function we({ className: o, defaultInputValue: s = "", defaultValue: l = [], for
682
682
  "data-part-clear": "",
683
683
  onClick: yt,
684
684
  type: "button",
685
- children: /* @__PURE__ */ v(t, { children: /* @__PURE__ */ v(e, { name: "x" }) })
685
+ children: /* @__PURE__ */ v(r, { children: /* @__PURE__ */ v(n, { name: "x" }) })
686
686
  }) : null,
687
687
  /* @__PURE__ */ v("span", {
688
688
  "data-part": "hint",
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "./tags-input-BgpS22sf.js";
1
+ import { i as e, n as t, r as n, t as r } from "./tags-input-ClYSd-No.js";
2
2
  export { t as TAGS_INPUT_FALLBACK, r as TagsInput, n as TagsInputDefaultsProvider, e as useTagsInputDefaults };