@slotted/react 0.1.0-beta.42 → 0.1.0-beta.43

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 (298) hide show
  1. package/dist/{app-shell-D54YkU7E.js → app-shell-DsWhsSMU.js} +3 -2
  2. package/dist/app-shell.js +1 -1
  3. package/dist/attachment-TZykYNu5.js +300 -0
  4. package/dist/attachment.js +2 -2
  5. package/dist/{avatar-group-bJaZE1_C.js → avatar-group-Bzmmj2HI.js} +2 -1
  6. package/dist/avatar-group.js +1 -1
  7. package/dist/{carousel-B9nMK7Yf.js → carousel-CRNz-T3g.js} +1 -1
  8. package/dist/carousel.js +1 -1
  9. package/dist/{command-palette-C90CzfQi.js → command-palette-Bgf5tfCI.js} +160 -156
  10. package/dist/command-palette.js +1 -1
  11. package/dist/{data-grid-D106baPp.js → data-grid-DUft3rJb.js} +1 -1
  12. package/dist/data-grid.js +1 -1
  13. package/dist/{data-list-BA0xrySM.js → data-list-Dv3orBtf.js} +15 -15
  14. package/dist/data-list.js +1 -1
  15. package/dist/detail-panel-Cke3ZFU3.js +342 -0
  16. package/dist/detail-panel.js +2 -2
  17. package/dist/docs/action-bar.examples.md +768 -0
  18. package/dist/docs/action-bar.json +74 -50
  19. package/dist/docs/action-bar.md +49 -311
  20. package/dist/docs/app-shell.examples.md +1221 -64
  21. package/dist/docs/app-shell.json +92 -60
  22. package/dist/docs/app-shell.md +92 -57
  23. package/dist/docs/attachment.examples.md +689 -0
  24. package/dist/docs/attachment.json +69 -37
  25. package/dist/docs/attachment.md +44 -203
  26. package/dist/docs/avatar-group.json +111 -23
  27. package/dist/docs/avatar-group.md +487 -28
  28. package/dist/docs/button-group.json +98 -2
  29. package/dist/docs/button-group.md +411 -8
  30. package/dist/docs/calendar.examples.md +512 -0
  31. package/dist/docs/calendar.json +72 -24
  32. package/dist/docs/calendar.md +18 -147
  33. package/dist/docs/carousel.examples.md +868 -0
  34. package/dist/docs/carousel.json +58 -50
  35. package/dist/docs/carousel.md +66 -300
  36. package/dist/docs/cascader.examples.md +1269 -0
  37. package/dist/docs/cascader.json +72 -16
  38. package/dist/docs/cascader.md +78 -154
  39. package/dist/docs/chart.examples.md +734 -24
  40. package/dist/docs/chart.json +93 -13
  41. package/dist/docs/chart.md +28 -7
  42. package/dist/docs/clock.json +71 -15
  43. package/dist/docs/clock.md +326 -21
  44. package/dist/docs/code-block.json +79 -55
  45. package/dist/docs/code-block.md +417 -74
  46. package/dist/docs/color-picker.json +60 -12
  47. package/dist/docs/color-picker.md +245 -22
  48. package/dist/docs/column-manager.examples.md +764 -0
  49. package/dist/docs/column-manager.json +68 -12
  50. package/dist/docs/column-manager.md +44 -203
  51. package/dist/docs/command-palette.examples.md +747 -0
  52. package/dist/docs/command-palette.json +48 -24
  53. package/dist/docs/command-palette.md +60 -339
  54. package/dist/docs/currency-field.examples.md +355 -73
  55. package/dist/docs/currency-field.json +96 -64
  56. package/dist/docs/currency-field.md +57 -50
  57. package/dist/docs/dashboard-grid.examples.md +629 -0
  58. package/dist/docs/dashboard-grid.json +64 -16
  59. package/dist/docs/dashboard-grid.md +34 -152
  60. package/dist/docs/data-list.examples.md +1556 -0
  61. package/dist/docs/data-list.json +58 -18
  62. package/dist/docs/data-list.md +139 -224
  63. package/dist/docs/date-field.examples.md +543 -0
  64. package/dist/docs/date-field.json +64 -24
  65. package/dist/docs/date-field.md +22 -168
  66. package/dist/docs/datetime-field.examples.md +699 -0
  67. package/dist/docs/datetime-field.json +79 -31
  68. package/dist/docs/datetime-field.md +24 -269
  69. package/dist/docs/datetime-range-picker.examples.md +682 -0
  70. package/dist/docs/datetime-range-picker.json +117 -61
  71. package/dist/docs/datetime-range-picker.md +59 -224
  72. package/dist/docs/description-list.examples.md +652 -0
  73. package/dist/docs/description-list.json +49 -25
  74. package/dist/docs/description-list.md +33 -188
  75. package/dist/docs/detail-panel.examples.md +1177 -0
  76. package/dist/docs/detail-panel.json +69 -53
  77. package/dist/docs/detail-panel.md +114 -324
  78. package/dist/docs/entity-picker.examples.md +1037 -0
  79. package/dist/docs/entity-picker.json +66 -18
  80. package/dist/docs/entity-picker.md +56 -246
  81. package/dist/docs/event-calendar.examples.md +749 -49
  82. package/dist/docs/event-calendar.json +46 -22
  83. package/dist/docs/event-calendar.md +81 -11
  84. package/dist/docs/field-group.examples.md +554 -0
  85. package/dist/docs/field-group.json +98 -34
  86. package/dist/docs/field-group.md +55 -133
  87. package/dist/docs/filter-bar.examples.md +772 -0
  88. package/dist/docs/filter-bar.json +41 -25
  89. package/dist/docs/filter-bar.md +42 -246
  90. package/dist/docs/form.examples.md +579 -0
  91. package/dist/docs/form.json +87 -39
  92. package/dist/docs/form.md +53 -177
  93. package/dist/docs/fullscreen.examples.md +558 -0
  94. package/dist/docs/fullscreen.json +58 -18
  95. package/dist/docs/fullscreen.md +50 -169
  96. package/dist/docs/highlight.json +57 -25
  97. package/dist/docs/highlight.md +402 -50
  98. package/dist/docs/icon.json +85 -5
  99. package/dist/docs/icon.md +401 -10
  100. package/dist/docs/image.examples.md +670 -0
  101. package/dist/docs/image.json +44 -28
  102. package/dist/docs/image.md +24 -176
  103. package/dist/docs/import-export-center.examples.md +1280 -0
  104. package/dist/docs/import-export-center.json +67 -27
  105. package/dist/docs/import-export-center.md +121 -226
  106. package/dist/docs/list-item.examples.md +769 -0
  107. package/dist/docs/list-item.json +110 -38
  108. package/dist/docs/list-item.md +84 -201
  109. package/dist/docs/listbox.examples.md +858 -0
  110. package/dist/docs/listbox.json +76 -28
  111. package/dist/docs/listbox.md +41 -263
  112. package/dist/docs/markdown.json +79 -55
  113. package/dist/docs/markdown.md +581 -85
  114. package/dist/docs/media-viewer.examples.md +1038 -0
  115. package/dist/docs/media-viewer.json +70 -15
  116. package/dist/docs/media-viewer.md +84 -135
  117. package/dist/docs/message-scroller.examples.md +1193 -0
  118. package/dist/docs/message-scroller.json +41 -17
  119. package/dist/docs/message-scroller.md +80 -134
  120. package/dist/docs/message.examples.md +944 -0
  121. package/dist/docs/message.json +64 -16
  122. package/dist/docs/message.md +34 -326
  123. package/dist/docs/meter.json +58 -26
  124. package/dist/docs/meter.md +312 -32
  125. package/dist/docs/navigation-menu.examples.md +1107 -0
  126. package/dist/docs/navigation-menu.json +57 -41
  127. package/dist/docs/navigation-menu.md +105 -298
  128. package/dist/docs/notification-center.examples.md +1045 -0
  129. package/dist/docs/notification-center.json +71 -15
  130. package/dist/docs/notification-center.md +76 -266
  131. package/dist/docs/otp-input.examples.md +490 -0
  132. package/dist/docs/otp-input.json +65 -25
  133. package/dist/docs/otp-input.md +20 -191
  134. package/dist/docs/page-header.examples.md +1041 -0
  135. package/dist/docs/page-header.json +75 -43
  136. package/dist/docs/page-header.md +79 -291
  137. package/dist/docs/page.examples.md +633 -0
  138. package/dist/docs/page.json +48 -16
  139. package/dist/docs/page.md +62 -129
  140. package/dist/docs/prompt-composer.examples.md +630 -0
  141. package/dist/docs/prompt-composer.json +66 -18
  142. package/dist/docs/prompt-composer.md +35 -161
  143. package/dist/docs/prose.json +69 -37
  144. package/dist/docs/prose.md +393 -75
  145. package/dist/docs/rating.examples.md +525 -0
  146. package/dist/docs/rating.json +92 -28
  147. package/dist/docs/rating.md +27 -241
  148. package/dist/docs/saved-views.examples.md +1108 -0
  149. package/dist/docs/saved-views.json +53 -21
  150. package/dist/docs/saved-views.md +86 -171
  151. package/dist/docs/scroll-area.examples.md +837 -0
  152. package/dist/docs/scroll-area.json +64 -24
  153. package/dist/docs/scroll-area.md +57 -140
  154. package/dist/docs/section.examples.md +676 -0
  155. package/dist/docs/section.json +68 -20
  156. package/dist/docs/section.md +39 -162
  157. package/dist/docs/segmented-control.examples.md +480 -0
  158. package/dist/docs/segmented-control.json +76 -28
  159. package/dist/docs/segmented-control.md +20 -191
  160. package/dist/docs/side-navigation.examples.md +1468 -0
  161. package/dist/docs/side-navigation.json +53 -53
  162. package/dist/docs/side-navigation.md +79 -354
  163. package/dist/docs/slider.examples.md +505 -0
  164. package/dist/docs/slider.json +91 -51
  165. package/dist/docs/slider.md +47 -212
  166. package/dist/docs/sparkline.json +60 -36
  167. package/dist/docs/sparkline.md +447 -71
  168. package/dist/docs/split-button.examples.md +509 -0
  169. package/dist/docs/split-button.json +73 -41
  170. package/dist/docs/split-button.md +64 -194
  171. package/dist/docs/splitter.examples.md +921 -0
  172. package/dist/docs/splitter.json +94 -46
  173. package/dist/docs/splitter.md +75 -182
  174. package/dist/docs/stat-card.examples.md +725 -0
  175. package/dist/docs/stat-card.json +89 -41
  176. package/dist/docs/stat-card.md +55 -227
  177. package/dist/docs/status-indicator.json +80 -32
  178. package/dist/docs/status-indicator.md +409 -65
  179. package/dist/docs/stepper.json +53 -21
  180. package/dist/docs/stepper.md +369 -48
  181. package/dist/docs/table-of-contents.examples.md +550 -0
  182. package/dist/docs/table-of-contents.json +60 -28
  183. package/dist/docs/table-of-contents.md +70 -205
  184. package/dist/docs/tags-input.examples.md +541 -0
  185. package/dist/docs/tags-input.json +64 -16
  186. package/dist/docs/tags-input.md +15 -262
  187. package/dist/docs/time-field.examples.md +587 -0
  188. package/dist/docs/time-field.json +69 -29
  189. package/dist/docs/time-field.md +21 -223
  190. package/dist/docs/time-picker.json +117 -53
  191. package/dist/docs/time-picker.md +499 -54
  192. package/dist/docs/time-range-picker.examples.md +750 -0
  193. package/dist/docs/time-range-picker.json +139 -75
  194. package/dist/docs/time-range-picker.md +63 -225
  195. package/dist/docs/timeline.examples.md +617 -0
  196. package/dist/docs/timeline.json +44 -28
  197. package/dist/docs/timeline.md +34 -208
  198. package/dist/docs/toolbar.json +56 -16
  199. package/dist/docs/toolbar.md +357 -63
  200. package/dist/docs/top-navigation.examples.md +1206 -140
  201. package/dist/docs/top-navigation.json +49 -33
  202. package/dist/docs/top-navigation.md +87 -36
  203. package/dist/docs/tour.examples.md +960 -0
  204. package/dist/docs/tour.json +57 -25
  205. package/dist/docs/tour.md +60 -244
  206. package/dist/docs/transfer.examples.md +631 -0
  207. package/dist/docs/transfer.json +80 -16
  208. package/dist/docs/transfer.md +41 -170
  209. package/dist/docs/typography.json +96 -0
  210. package/dist/docs/typography.md +352 -4
  211. package/dist/docs/upload.examples.md +555 -53
  212. package/dist/docs/upload.json +62 -30
  213. package/dist/docs/upload.md +46 -11
  214. package/dist/docs/wizard.examples.md +1389 -0
  215. package/dist/docs/wizard.json +89 -49
  216. package/dist/docs/wizard.md +122 -263
  217. package/dist/{entity-picker-CC4VoC3p.js → entity-picker-C78f3Z0o.js} +9 -6
  218. package/dist/entity-picker.js +1 -1
  219. package/dist/{event-calendar-CjmF_e0H.js → event-calendar-DJPoCi-O.js} +1 -1
  220. package/dist/event-calendar.js +1 -1
  221. package/dist/{filter-bar-B3QJD7SZ.js → filter-bar-D61wiQFP.js} +1 -1
  222. package/dist/filter-bar.js +1 -1
  223. package/dist/{import-export-center-CW8YVZev.js → import-export-center-mqvmlzwB.js} +44 -36
  224. package/dist/import-export-center.js +1 -1
  225. package/dist/index.js +58 -58
  226. package/dist/{markdown-BdskE4-L.js → markdown-8CtV4k44.js} +2 -2
  227. package/dist/markdown.js +1 -1
  228. package/dist/{media-viewer-zEXcwfEY.js → media-viewer-C_cbuAq-.js} +64 -60
  229. package/dist/media-viewer.js +2 -2
  230. package/dist/message-P91bEGyV.js +455 -0
  231. package/dist/message.js +2 -2
  232. package/dist/{page-header-DmwBGwlm.js → page-header-jeAIQSZM.js} +103 -108
  233. package/dist/page-header.js +1 -1
  234. package/dist/section-CVTQdWBl.js +216 -0
  235. package/dist/section.js +2 -2
  236. package/dist/{segmented-control-CbK7SurB.js → segmented-control-BSMVjukr.js} +1 -1
  237. package/dist/segmented-control.js +1 -1
  238. package/dist/{side-navigation-CKRETc8E.js → side-navigation-BQzBxz2B.js} +179 -179
  239. package/dist/side-navigation.js +1 -1
  240. package/dist/{stat-card-CL3Xe6pV.js → stat-card-BpGZiFbG.js} +12 -14
  241. package/dist/stat-card.js +1 -1
  242. package/dist/{stepper-DHdrANZI.js → stepper-Cxb_tHnA.js} +130 -127
  243. package/dist/stepper.js +2 -2
  244. package/dist/styles/carousel.css +1 -1
  245. package/dist/styles/index.css +1 -1
  246. package/dist/styles.css +1 -1
  247. package/dist/{timeline-BiL2CXfn.js → timeline-ZngK6zLC.js} +9 -6
  248. package/dist/timeline.js +1 -1
  249. package/dist/top-navigation-YSEQzBhD.js +744 -0
  250. package/dist/top-navigation.js +2 -2
  251. package/dist/{transfer-sKUvmEKe.js → transfer-Cv5yQuTN.js} +1 -1
  252. package/dist/transfer.js +1 -1
  253. package/dist/types/attachment/attachment-parts.d.ts +24 -11
  254. package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
  255. package/dist/types/attachment/attachment.d.ts +3 -3
  256. package/dist/types/attachment/attachment.d.ts.map +1 -1
  257. package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
  258. package/dist/types/carousel/carousel-parts.d.ts +2 -2
  259. package/dist/types/command-palette/command-palette.d.ts.map +1 -1
  260. package/dist/types/data-list/data-list.d.ts.map +1 -1
  261. package/dist/types/detail-panel/detail-panel-parts.d.ts +10 -3
  262. package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
  263. package/dist/types/detail-panel/detail-panel.d.ts.map +1 -1
  264. package/dist/types/detail-panel/detail-panel.types.d.ts +7 -0
  265. package/dist/types/detail-panel/detail-panel.types.d.ts.map +1 -1
  266. package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
  267. package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
  268. package/dist/types/media-viewer/index.d.ts +2 -2
  269. package/dist/types/media-viewer/index.d.ts.map +1 -1
  270. package/dist/types/media-viewer/media-viewer-bar.d.ts +3 -1
  271. package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -1
  272. package/dist/types/media-viewer/media-viewer.types.d.ts +1 -0
  273. package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -1
  274. package/dist/types/message/message-parts.d.ts +7 -0
  275. package/dist/types/message/message-parts.d.ts.map +1 -1
  276. package/dist/types/message/message.d.ts.map +1 -1
  277. package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
  278. package/dist/types/section/section-parts.d.ts +16 -8
  279. package/dist/types/section/section-parts.d.ts.map +1 -1
  280. package/dist/types/section/section.d.ts.map +1 -1
  281. package/dist/types/segmented-control/segmented-control-parts.d.ts.map +1 -1
  282. package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
  283. package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
  284. package/dist/types/stat-card/stat-card-parts.d.ts +3 -3
  285. package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
  286. package/dist/types/stepper/stepper-parts.d.ts +11 -2
  287. package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
  288. package/dist/types/stepper/stepper.d.ts.map +1 -1
  289. package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
  290. package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
  291. package/dist/{wizard-4c0X7Bx_.js → wizard-Dfryz1id.js} +214 -214
  292. package/dist/wizard.js +1 -1
  293. package/package.json +6 -6
  294. package/dist/attachment-MqczA38F.js +0 -292
  295. package/dist/detail-panel-EImAtksY.js +0 -327
  296. package/dist/message-D1Dd6Y2k.js +0 -452
  297. package/dist/section-D_qOfdxR.js +0 -213
  298. package/dist/top-navigation-D8IHPOmm.js +0 -744
@@ -66,36 +66,36 @@ function Ce(e, t) {
66
66
  function x(e, t) {
67
67
  return `${e}-${t.replace(/[^\w-]/g, (e) => `_${e.charCodeAt(0).toString(16)}`)}`;
68
68
  }
69
- function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, closeOnSelect: ye, container: b, defaultHighlightedId: we, defaultOpen: Te, defaultPages: Ee, defaultQuery: De, defaultRecent: Oe, disabled: ke, empty: Ae, footer: S, groups: je, highlightMatch: Me, highlightedId: C, hotkey: Ne, inputProps: Pe, items: Fe, limit: Ie, loading: Le, locale: Re, loop: ze, messages: Be, onHighlightedIdChange: Ve, onOpenChange: He, onPagesChange: Ue, onQueryChange: We, onRecentChange: Ge, onSelect: Ke, open: w, outsidePress: qe, pages: T, presentation: Je, query: E, rank: D, recent: Ye, recentLimit: Xe, ref: Ze, renderItem: Qe, size: $e, style: et, ...tt }) {
70
- let O = be(), k = {
71
- presentation: Je ?? O.presentation,
72
- size: $e ?? O.size,
73
- outsidePress: qe ?? O.outsidePress,
74
- loop: ze ?? O.loop,
75
- autoHighlight: o ?? O.autoHighlight,
76
- closeOnSelect: ye ?? O.closeOnSelect,
77
- clearOnClose: ve ?? O.clearOnClose,
78
- highlightMatch: Me ?? O.highlightMatch,
79
- hotkey: Ne === void 0 ? O.hotkey : Ne,
80
- recentLimit: Xe ?? O.recentLimit,
81
- loading: Le ?? !1,
82
- disabled: ke ?? !1
83
- }, A = t(oe, Be), nt = e(), rt = Re ?? nt, j = k.presentation === "inline", M = i(void 0), N = re(), it = `${N}-list`, [at, ot] = _(Te ?? !1), [st, ct] = _(De ?? ""), [lt, ut] = _(we ?? null), [dt, ft] = _(Ee ?? []), [pt, mt] = _(Oe ?? []), P = j ? !0 : w ?? at, F = E ?? st, I = C === void 0 ? lt : C, L = T ?? dt, R = Ye ?? pt, z = g({
69
+ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, closeOnSelect: ye, container: b, defaultHighlightedId: we, defaultOpen: Te, defaultPages: De, defaultQuery: Oe, defaultRecent: ke, disabled: Ae, empty: je, footer: S, groups: Me, highlightMatch: Ne, highlightedId: C, hotkey: Pe, inputProps: Fe, items: Ie, limit: Le, loading: Re, locale: ze, loop: Be, messages: Ve, onHighlightedIdChange: He, onOpenChange: Ue, onPagesChange: We, onQueryChange: Ge, onRecentChange: Ke, onSelect: qe, open: w, outsidePress: Je, pages: T, presentation: Ye, query: E, rank: D, recent: O, recentLimit: Xe, ref: Ze, renderItem: Qe, size: $e, style: et, ...tt }) {
70
+ let k = be(), A = {
71
+ presentation: Ye ?? k.presentation,
72
+ size: $e ?? k.size,
73
+ outsidePress: Je ?? k.outsidePress,
74
+ loop: Be ?? k.loop,
75
+ autoHighlight: o ?? k.autoHighlight,
76
+ closeOnSelect: ye ?? k.closeOnSelect,
77
+ clearOnClose: ve ?? k.clearOnClose,
78
+ highlightMatch: Ne ?? k.highlightMatch,
79
+ hotkey: Pe === void 0 ? k.hotkey : Pe,
80
+ recentLimit: Xe ?? k.recentLimit,
81
+ loading: Re ?? !1,
82
+ disabled: Ae ?? !1
83
+ }, j = t(oe, Ve), nt = e(), rt = ze ?? nt, M = A.presentation === "inline", it = i(void 0), N = re(), at = `${N}-list`, [ot, st] = _(Te ?? !1), [ct, lt] = _(Oe ?? ""), [ut, dt] = _(we ?? null), [ft, pt] = _(De ?? []), [mt, ht] = _(ke ?? []), P = M ? !0 : w ?? ot, F = E ?? ct, I = C === void 0 ? ut : C, L = T ?? ft, R = O ?? mt, z = g({
84
84
  currentHighlighted: I,
85
85
  currentOpen: P,
86
86
  currentPages: L,
87
87
  currentQuery: F,
88
88
  currentRecent: R,
89
89
  highlightedId: C,
90
- onHighlightedIdChange: Ve,
91
- onOpenChange: He,
92
- onPagesChange: Ue,
93
- onQueryChange: We,
94
- onRecentChange: Ge,
90
+ onHighlightedIdChange: He,
91
+ onOpenChange: Ue,
92
+ onPagesChange: We,
93
+ onQueryChange: Ge,
94
+ onRecentChange: Ke,
95
95
  open: w,
96
96
  pages: T,
97
97
  query: E,
98
- recent: Ye
98
+ recent: O
99
99
  });
100
100
  z.current = {
101
101
  currentHighlighted: I,
@@ -104,30 +104,30 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
104
104
  currentQuery: F,
105
105
  currentRecent: R,
106
106
  highlightedId: C,
107
- onHighlightedIdChange: Ve,
108
- onOpenChange: He,
109
- onPagesChange: Ue,
110
- onQueryChange: We,
111
- onRecentChange: Ge,
107
+ onHighlightedIdChange: He,
108
+ onOpenChange: Ue,
109
+ onPagesChange: We,
110
+ onQueryChange: Ge,
111
+ onRecentChange: Ke,
112
112
  open: w,
113
113
  pages: T,
114
114
  query: E,
115
- recent: Ye
115
+ recent: O
116
116
  };
117
- let ht = g(null), B = p((e, t, n) => {
117
+ let gt = g(null), B = p((e, t, n) => {
118
118
  let r = z.current;
119
- e !== r.currentHighlighted && (ht.current = t === "pointer" ? e : null, d({
119
+ e !== r.currentHighlighted && (gt.current = t === "pointer" ? e : null, d({
120
120
  controlled: r.highlightedId,
121
121
  initial: r.currentHighlighted,
122
122
  onRequest: (e) => r.onHighlightedIdChange?.(e.value, e)
123
- }).request(e, t, n) && ut(e));
123
+ }).request(e, t, n) && dt(e));
124
124
  }, []), V = p((e, t, n) => {
125
125
  let r = z.current;
126
126
  e !== r.currentQuery && d({
127
127
  controlled: r.query,
128
128
  initial: r.currentQuery,
129
129
  onRequest: (e) => r.onQueryChange?.(e.value, e)
130
- }).request(e, t, n) && ct(e);
130
+ }).request(e, t, n) && lt(e);
131
131
  }, []), H = p((e, t, n) => {
132
132
  let r = z.current;
133
133
  e.length === r.currentPages.length && e.every((e, t) => e === r.currentPages[t]) || d({
@@ -135,97 +135,90 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
135
135
  initial: r.currentPages,
136
136
  onRequest: (e) => r.onPagesChange?.(e.value, e),
137
137
  equals: () => !1
138
- }).request(e, t, n) && ft(e);
139
- }, []), gt = p((e, t) => {
138
+ }).request(e, t, n) && pt(e);
139
+ }, []), _t = p((e, t) => {
140
140
  let n = z.current;
141
141
  d({
142
142
  controlled: n.recent,
143
143
  initial: n.currentRecent,
144
144
  onRequest: (e) => n.onRecentChange?.(e.value, e),
145
145
  equals: (e, t) => e.length === t.length && e.every((e, n) => e === t[n])
146
- }).request(e, "select", t) && mt(e);
146
+ }).request(e, "select", t) && ht(e);
147
147
  }, []), U = g(null), W = p((e, t, n) => {
148
148
  let r = z.current;
149
- j || e === r.currentOpen || d({
149
+ M || e === r.currentOpen || d({
150
150
  controlled: r.open,
151
151
  initial: r.currentOpen,
152
152
  onRequest: (e) => r.onOpenChange?.(e.value, e)
153
- }).request(e, t, n) && ot(e);
154
- }, [j]), _t = g(P);
153
+ }).request(e, t, n) && st(e);
154
+ }, [M]), vt = g(P);
155
155
  m(() => {
156
- _t.current && !P && k.clearOnClose && (V("", "programmatic"), H([], "programmatic"), B(null, "programmatic")), _t.current = P;
156
+ vt.current && !P && A.clearOnClose && (V("", "programmatic"), H([], "programmatic"), B(null, "programmatic")), vt.current = P;
157
157
  }, [
158
158
  P,
159
- k.clearOnClose,
159
+ A.clearOnClose,
160
160
  B,
161
161
  H,
162
162
  V
163
163
  ]);
164
- let vt = h(() => D === void 0 ? me({ locale: rt }) : D, [rt, D]), G = h(() => ge({
165
- items: Fe,
164
+ let yt = h(() => D === void 0 ? me({ locale: rt }) : D, [rt, D]), G = h(() => ge({
165
+ items: Ie,
166
166
  query: F,
167
167
  pages: L,
168
168
  recent: R,
169
- groups: je,
170
- rank: vt,
171
- limit: Ie
169
+ groups: Me,
170
+ rank: yt,
171
+ limit: Le
172
172
  }), [
173
173
  L,
174
174
  F,
175
175
  R,
176
- je,
177
- Fe,
176
+ Me,
178
177
  Ie,
179
- vt
178
+ Le,
179
+ yt
180
180
  ]), K = h(() => G.rows.map((e) => e.id), [G]), q = h(() => G.rows.map((e) => e.disabled !== !0), [G]);
181
181
  m(() => {
182
182
  if (!P) return;
183
- let e = I === null ? -1 : K.indexOf(I);
184
- if (e !== -1 && q[e] === !0) return;
185
- let t = k.autoHighlight ? ce({
186
- enabled: q,
187
- from: -1,
188
- intent: "first",
189
- loop: !1
190
- }) : -1;
191
- B(t === -1 ? null : K[t] ?? null, "programmatic");
183
+ let e = Ee(I, K, q, A.autoHighlight);
184
+ e !== I && B(e, "programmatic");
192
185
  }, [
193
186
  I,
194
187
  P,
195
188
  q,
196
- k.autoHighlight,
189
+ A.autoHighlight,
197
190
  K,
198
191
  B
199
192
  ]);
200
- let J = g(null);
193
+ let bt = P && C === void 0 ? Ee(I, K, q, A.autoHighlight) : I, J = g(null);
201
194
  m(() => {
202
- if (I === null || I === ht.current) return;
195
+ if (I === null || I === gt.current) return;
203
196
  let e = J.current?.querySelector(`#${CSS.escape(x(N, I))}`);
204
197
  typeof e?.scrollIntoView == "function" && e.scrollIntoView({ block: "nearest" });
205
198
  }, [N, I]);
206
- let [yt, bt] = _(null), xt = p((e) => {
207
- J.current = e, bt(e);
199
+ let [xt, St] = _(null), Ct = p((e) => {
200
+ J.current = e, St(e);
208
201
  }, []);
209
- m(() => yt === null ? void 0 : _e(yt, "[data-part-group-label]"), [yt]);
210
- let [St, Ct] = _(() => /* @__PURE__ */ new Set()), [wt, Y] = _(null), X = g({
211
- onSelect: Ke,
212
- resolved: k,
202
+ m(() => xt === null ? void 0 : _e(xt, "[data-part-group-label]"), [xt]);
203
+ let [wt, Tt] = _(() => /* @__PURE__ */ new Set()), [Et, Y] = _(null), X = g({
204
+ onSelect: qe,
205
+ resolved: A,
213
206
  setOpen: W,
214
207
  setPages: H,
215
208
  setQuery: V,
216
- setRecent: gt
209
+ setRecent: _t
217
210
  });
218
211
  X.current = {
219
- onSelect: Ke,
220
- resolved: k,
212
+ onSelect: qe,
213
+ resolved: A,
221
214
  setOpen: W,
222
215
  setPages: H,
223
216
  setQuery: V,
224
- setRecent: gt
217
+ setRecent: _t
225
218
  };
226
- let Tt = p((e, t, n) => {
219
+ let Dt = p((e, t, n) => {
227
220
  let { onSelect: r, resolved: i, setOpen: a, setPages: ee } = X.current;
228
- if (e.disabled === !0 || St.has(e.id)) return;
221
+ if (e.disabled === !0 || wt.has(e.id)) return;
229
222
  if (e.children !== void 0) {
230
223
  ee([...z.current.currentPages, e.id], t === "pointer" ? "pointer" : "select", n), X.current.setQuery("", "select", n);
231
224
  return;
@@ -247,13 +240,13 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
247
240
  return;
248
241
  }
249
242
  if (l instanceof Promise) {
250
- Y(null), Ct((t) => new Set(t).add(e.id)), l.then(() => {
251
- Ct((t) => {
243
+ Y(null), Tt((t) => new Set(t).add(e.id)), l.then(() => {
244
+ Tt((t) => {
252
245
  let n = new Set(t);
253
246
  return n.delete(e.id), n;
254
247
  }), c();
255
248
  }, (t) => {
256
- Ct((t) => {
249
+ Tt((t) => {
257
250
  let n = new Set(t);
258
251
  return n.delete(e.id), n;
259
252
  }), Y(t instanceof Error ? t.message : String(t));
@@ -261,15 +254,15 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
261
254
  return;
262
255
  }
263
256
  c();
264
- }, [St]), Et = p((e) => e === null ? void 0 : G.rows.find((t) => t.id === e), [G]), Z = (e, t) => {
257
+ }, [wt]), Ot = p((e) => e === null ? void 0 : G.rows.find((t) => t.id === e), [G]), Z = (e, t) => {
265
258
  let n = I === null ? -1 : K.indexOf(I), r = e === "pageDown" || e === "pageUp", i = ce({
266
259
  enabled: q,
267
260
  from: n,
268
261
  intent: e,
269
- loop: k.loop && !r
262
+ loop: A.loop && !r
270
263
  });
271
264
  t.preventDefault(), i !== -1 && B(K[i] ?? null, "keyboard", t);
272
- }, Dt = (e) => {
265
+ }, kt = (e) => {
273
266
  if (!e.nativeEvent.isComposing) switch (e.key) {
274
267
  case "ArrowDown":
275
268
  Z("next", e);
@@ -290,7 +283,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
290
283
  e.ctrlKey && Z("last", e);
291
284
  return;
292
285
  case "Enter": {
293
- let t = Et(I);
286
+ let t = Ot(I);
294
287
  if (t === void 0) return;
295
288
  if (t.href !== void 0 && (e.metaKey || e.ctrlKey || e.shiftKey)) {
296
289
  (J.current?.querySelector(`#${CSS.escape(x(N, t.id))}`))?.dispatchEvent(new globalThis.MouseEvent("click", {
@@ -304,10 +297,10 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
304
297
  }
305
298
  if (e.preventDefault(), t.href !== void 0) {
306
299
  let n = J.current?.querySelector(`#${CSS.escape(x(N, t.id))}`);
307
- Tt(t, "keyboard", e), n?.click();
300
+ Dt(t, "keyboard", e), n?.click();
308
301
  return;
309
302
  }
310
- Tt(t, "keyboard", e);
303
+ Dt(t, "keyboard", e);
311
304
  return;
312
305
  }
313
306
  case "Escape":
@@ -319,7 +312,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
319
312
  e.preventDefault(), e.stopPropagation(), H(L.slice(0, -1), "keyboard", e);
320
313
  return;
321
314
  }
322
- j || (e.preventDefault(), W(!1, "escape", e));
315
+ M || (e.preventDefault(), W(!1, "escape", e));
323
316
  return;
324
317
  case "Backspace":
325
318
  F === "" && L.length > 0 && (e.preventDefault(), H(L.slice(0, -1), "keyboard", e));
@@ -331,15 +324,15 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
331
324
  e !== null && (e.focus(), e.select());
332
325
  }, []);
333
326
  m(() => {
334
- let e = k.hotkey;
335
- if (e === null || j || k.disabled) return;
327
+ let e = A.hotkey;
328
+ if (e === null || M || A.disabled) return;
336
329
  let t = fe(e)[0]?.every((e) => ![
337
330
  "mod",
338
331
  "meta",
339
332
  "ctrl",
340
333
  "alt"
341
334
  ].includes(le(e) ?? "")), n = (n) => {
342
- if (de(n, e, M) && !(t === !0 && ue(n))) {
335
+ if (de(n, e, it) && !(t === !0 && ue(n))) {
343
336
  if (n.preventDefault(), z.current.currentOpen) {
344
337
  Q();
345
338
  return;
@@ -350,16 +343,16 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
350
343
  return document.addEventListener("keydown", n, !0), () => document.removeEventListener("keydown", n, !0);
351
344
  }, [
352
345
  Q,
353
- j,
354
346
  M,
355
- k.disabled,
356
- k.hotkey,
347
+ it,
348
+ A.disabled,
349
+ A.hotkey,
357
350
  W
358
351
  ]);
359
- let Ot = k.loading ? A("loading") : wt === null ? A("count", { count: G.count }) : A("error", { message: wt });
352
+ let At = A.loading ? j("loading") : Et === null ? j("count", { count: G.count }) : j("error", { message: Et });
360
353
  m(() => {
361
- P && pe(U.current?.ownerDocument).announce(Ot);
362
- }, [P, Ot]), m(() => {
354
+ P && pe(U.current?.ownerDocument).announce(At);
355
+ }, [P, At]), m(() => {
363
356
  Y(null);
364
357
  }, [F, L]), ie(Ze, () => ({
365
358
  open: () => W(!0, "programmatic"),
@@ -377,20 +370,20 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
377
370
  W,
378
371
  V
379
372
  ]);
380
- let [kt, At] = _(null), [jt, Mt] = _(null);
373
+ let [jt, Mt] = _(null), [Nt, Pt] = _(null);
381
374
  m(() => {
382
- if (kt === null || b !== void 0 || j) return;
383
- let e = se({ origin: kt });
384
- return Mt(e.container), () => {
385
- Mt(null), e.release();
375
+ if (jt === null || b !== void 0 || M) return;
376
+ let e = se({ origin: jt });
377
+ return Pt(e.container), () => {
378
+ Pt(null), e.release();
386
379
  };
387
380
  }, [
388
381
  b,
389
- j,
390
- kt
382
+ M,
383
+ jt
391
384
  ]);
392
- let Nt = (e) => {
393
- let t = I === e.id, i = e.disabled === !0, o = St.has(e.id), s = x(N, e.id), c = k.highlightMatch && F.trim() !== "" ? /* @__PURE__ */ v(ee, {
385
+ let Ft = (e) => {
386
+ let t = bt === e.id, i = e.disabled === !0, o = wt.has(e.id), s = x(N, e.id), c = A.highlightMatch && F.trim() !== "" ? /* @__PURE__ */ v(ee, {
394
387
  locale: rt,
395
388
  query: F,
396
389
  text: e.label
@@ -453,7 +446,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
453
446
  }), f = {
454
447
  "aria-disabled": i ? !0 : void 0,
455
448
  "aria-busy": o ? !0 : void 0,
456
- "aria-keyshortcuts": u === void 0 ? void 0 : Ce(u, M),
449
+ "aria-keyshortcuts": u === void 0 ? void 0 : Ce(u, it),
457
450
  "aria-selected": t,
458
451
  "data-part": "item",
459
452
  ...te("part", "item"),
@@ -472,7 +465,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
472
465
  t.preventDefault();
473
466
  return;
474
467
  }
475
- e.href !== void 0 && (t.metaKey || t.ctrlKey || t.shiftKey) || Tt(e, "pointer", t);
468
+ e.href !== void 0 && (t.metaKey || t.ctrlKey || t.shiftKey) || Dt(e, "pointer", t);
476
469
  }
477
470
  };
478
471
  return e.href === void 0 ? /* @__PURE__ */ v("div", {
@@ -484,8 +477,8 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
484
477
  target: e.target,
485
478
  children: d
486
479
  }, e.id);
487
- }, Pt = (e, t) => {
488
- let n = e.recent ? A("recent") : e.label, r = e.items.map(Nt), i = t === 0 ? null : /* @__PURE__ */ v("div", {
480
+ }, It = (e, t) => {
481
+ let n = e.recent ? j("recent") : e.label, r = e.items.map(Ft), i = t === 0 ? null : /* @__PURE__ */ v("div", {
489
482
  "data-part": "separator",
490
483
  "data-part-separator": "",
491
484
  role: "separator"
@@ -505,7 +498,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
505
498
  children: n
506
499
  }), r]
507
500
  }, `group-${t}`)];
508
- }, Ft = S === null ? null : /* @__PURE__ */ v("div", {
501
+ }, Lt = S === null ? null : /* @__PURE__ */ v("div", {
509
502
  "aria-hidden": "true",
510
503
  "data-part": "footer",
511
504
  "data-part-footer": "",
@@ -526,7 +519,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
526
519
  size: "inherit",
527
520
  variant: "outline"
528
521
  }),
529
- /* @__PURE__ */ v("span", { children: A("hintNavigate") })
522
+ /* @__PURE__ */ v("span", { children: j("hintNavigate") })
530
523
  ]
531
524
  }),
532
525
  /* @__PURE__ */ y("span", {
@@ -537,7 +530,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
537
530
  separator: "",
538
531
  size: "inherit",
539
532
  variant: "outline"
540
- }), /* @__PURE__ */ v("span", { children: A("hintSelect") })]
533
+ }), /* @__PURE__ */ v("span", { children: j("hintSelect") })]
541
534
  }),
542
535
  L.length === 0 ? null : /* @__PURE__ */ y("span", {
543
536
  "data-part": "hint",
@@ -547,9 +540,9 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
547
540
  separator: "",
548
541
  size: "inherit",
549
542
  variant: "outline"
550
- }), /* @__PURE__ */ v("span", { children: A("hintBack") })]
543
+ }), /* @__PURE__ */ v("span", { children: j("hintBack") })]
551
544
  }),
552
- j ? null : /* @__PURE__ */ y("span", {
545
+ M ? null : /* @__PURE__ */ y("span", {
553
546
  "data-part": "hint",
554
547
  "data-part-hint": "",
555
548
  children: [/* @__PURE__ */ v(l, {
@@ -557,21 +550,21 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
557
550
  separator: "",
558
551
  size: "inherit",
559
552
  variant: "outline"
560
- }), /* @__PURE__ */ v("span", { children: A("hintClose") })]
553
+ }), /* @__PURE__ */ v("span", { children: j("hintClose") })]
561
554
  })
562
555
  ] }) : S
563
- }), { onChange: It, onKeyDown: Lt, ref: $, ...Rt } = Pe ?? {}, zt = !k.loading && G.count === 0, Bt = /* @__PURE__ */ y("div", {
556
+ }), { onChange: Rt, onKeyDown: zt, ref: $, ...Bt } = Fe ?? {}, Vt = !A.loading && G.count === 0, Ht = /* @__PURE__ */ y("div", {
564
557
  ...u(tt, "ui", "command-palette"),
565
558
  className: ne,
566
559
  "data-part": "root",
567
560
  "data-part-root": "",
568
- "data-presentation": k.presentation,
569
- "data-size": k.size,
561
+ "data-presentation": A.presentation,
562
+ "data-size": A.size,
570
563
  ...P ? { "data-open": "" } : {},
571
- ...k.loading ? { "data-loading": "" } : {},
572
- ...k.disabled ? { "data-disabled": "" } : {},
564
+ ...A.loading ? { "data-loading": "" } : {},
565
+ ...A.disabled ? { "data-disabled": "" } : {},
573
566
  ...F === "" ? {} : { "data-query": "" },
574
- ...zt ? { "data-empty": "" } : {},
567
+ ...Vt ? { "data-empty": "" } : {},
575
568
  onMouseDown: Se(tt.onMouseDown, (e) => {
576
569
  e.target !== U.current && e.preventDefault();
577
570
  }),
@@ -581,7 +574,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
581
574
  "data-part": "header",
582
575
  "data-part-header": "",
583
576
  children: [
584
- k.loading ? /* @__PURE__ */ v("span", {
577
+ A.loading ? /* @__PURE__ */ v("span", {
585
578
  "aria-hidden": "true",
586
579
  "data-part": "busy",
587
580
  "data-part-busy": "",
@@ -595,7 +588,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
595
588
  children: /* @__PURE__ */ v(r, { children: /* @__PURE__ */ v(n, { name: "search" }) })
596
589
  }),
597
590
  G.trail.length === 0 ? null : /* @__PURE__ */ v("ol", {
598
- "aria-label": A("back"),
591
+ "aria-label": j("back"),
599
592
  "data-part": "pages",
600
593
  "data-part-pages": "",
601
594
  children: G.trail.map((e, t) => /* @__PURE__ */ y("li", { children: [t === 0 ? null : /* @__PURE__ */ v(r, {
@@ -610,17 +603,17 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
610
603
  })] }, e.id))
611
604
  }),
612
605
  /* @__PURE__ */ v("input", {
613
- ...u(Rt, "part", "input"),
614
- "aria-activedescendant": I === null ? void 0 : x(N, I),
606
+ ...u(Bt, "part", "input"),
607
+ "aria-activedescendant": bt === null ? void 0 : x(N, bt),
615
608
  "aria-autocomplete": "list",
616
- "aria-controls": it,
609
+ "aria-controls": at,
617
610
  "aria-expanded": "true",
618
- "aria-label": Rt["aria-label"] ?? A("input"),
611
+ "aria-label": Bt["aria-label"] ?? j("input"),
619
612
  autoComplete: "off",
620
- disabled: k.disabled,
621
- onChange: Se(It, (e) => V(e.target.value, "keyboard", e)),
622
- onKeyDown: Se(Lt, Dt),
623
- placeholder: Rt.placeholder ?? A("placeholder"),
613
+ disabled: A.disabled,
614
+ onChange: Se(Rt, (e) => V(e.target.value, "keyboard", e)),
615
+ onKeyDown: Se(zt, kt),
616
+ placeholder: Bt.placeholder ?? j("placeholder"),
624
617
  ref: (e) => {
625
618
  U.current = e, typeof $ == "function" ? $(e) : $ != null && ($.current = e);
626
619
  },
@@ -630,7 +623,7 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
630
623
  value: F
631
624
  }),
632
625
  /* @__PURE__ */ v("button", {
633
- "aria-label": A("clear"),
626
+ "aria-label": j("clear"),
634
627
  "data-part": "clear",
635
628
  "data-part-clear": "",
636
629
  onClick: (e) => {
@@ -640,26 +633,26 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
640
633
  type: "button",
641
634
  children: /* @__PURE__ */ v(r, { children: /* @__PURE__ */ v(n, { name: "x" }) })
642
635
  }),
643
- j ? null : /* @__PURE__ */ v("button", {
636
+ M ? null : /* @__PURE__ */ v("button", {
644
637
  "data-part": "close",
645
638
  "data-part-close": "",
646
639
  onClick: (e) => W(!1, "dismiss", e),
647
640
  type: "button",
648
- children: A("close")
641
+ children: j("close")
649
642
  })
650
643
  ]
651
644
  }),
652
645
  /* @__PURE__ */ y("div", {
653
- "aria-busy": k.loading ? !0 : void 0,
654
- "aria-label": A("input"),
646
+ "aria-busy": A.loading ? !0 : void 0,
647
+ "aria-label": j("input"),
655
648
  "data-part": "list",
656
649
  "data-part-list": "",
657
- ...k.loading ? { "data-loading": "" } : {},
658
- id: it,
659
- ref: xt,
650
+ ...A.loading ? { "data-loading": "" } : {},
651
+ id: at,
652
+ ref: Ct,
660
653
  role: "listbox",
661
654
  children: [
662
- k.loading && G.count === 0 ? /* @__PURE__ */ v("div", {
655
+ A.loading && G.count === 0 ? /* @__PURE__ */ v("div", {
663
656
  "aria-hidden": "true",
664
657
  "data-part": "placeholder",
665
658
  "data-part-placeholder": "",
@@ -676,38 +669,38 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
676
669
  "data-ui-skeleton": ""
677
670
  }) }, e))
678
671
  }) : null,
679
- zt ? /* @__PURE__ */ v("div", {
672
+ Vt ? /* @__PURE__ */ v("div", {
680
673
  "data-part": "empty",
681
674
  "data-part-empty": "",
682
- children: Ae ?? A("empty")
675
+ children: je ?? j("empty")
683
676
  }) : null,
684
- G.sections.flatMap(Pt)
677
+ G.sections.flatMap(It)
685
678
  ]
686
679
  }),
687
680
  /* @__PURE__ */ v("div", {
688
681
  "data-part": "status",
689
682
  "data-part-status": "",
690
683
  role: "status",
691
- children: Ot
684
+ children: At
692
685
  }),
693
- Ft
686
+ Lt
694
687
  ]
695
- }), Vt = {
696
- presentation: k.presentation,
697
- disabled: k.disabled
688
+ }), Ut = {
689
+ presentation: A.presentation,
690
+ disabled: A.disabled
698
691
  };
699
- if (j) return /* @__PURE__ */ y(xe.Provider, {
700
- value: Vt,
701
- children: [f, Bt]
692
+ if (M) return /* @__PURE__ */ y(xe.Provider, {
693
+ value: Ut,
694
+ children: [f, Ht]
702
695
  });
703
- let Ht = b === void 0 ? /* @__PURE__ */ v("span", {
696
+ let Wt = b === void 0 ? /* @__PURE__ */ v("span", {
704
697
  hidden: !0,
705
- ref: At
706
- }) : null, Ut = b === void 0 ? jt : b;
698
+ ref: Mt
699
+ }) : null, Gt = b === void 0 ? Nt : b;
707
700
  return /* @__PURE__ */ y(xe.Provider, {
708
- value: Vt,
709
- children: [Ht, /* @__PURE__ */ y(c, {
710
- container: Ut,
701
+ value: Ut,
702
+ children: [Wt, /* @__PURE__ */ y(c, {
703
+ container: Gt,
711
704
  escape: "none",
712
705
  fullScreen: "narrow",
713
706
  initialFocus: U,
@@ -721,16 +714,16 @@ function we({ autoHighlight: o, children: f, className: ne, clearOnClose: ve, cl
721
714
  t.cancel();
722
715
  return;
723
716
  }
724
- ot(e);
717
+ st(e);
725
718
  },
726
719
  open: P,
727
- outsidePress: k.outsidePress,
720
+ outsidePress: A.outsidePress,
728
721
  placement: "top",
729
- size: k.size,
722
+ size: A.size,
730
723
  surface: "plain",
731
724
  children: [f, /* @__PURE__ */ v(s, {
732
- "aria-label": A("label"),
733
- children: Bt
725
+ "aria-label": j("label"),
726
+ children: Ht
734
727
  })]
735
728
  })]
736
729
  });
@@ -745,5 +738,16 @@ function Te({ children: e, render: t, ...n }) {
745
738
  children: e
746
739
  });
747
740
  }
741
+ function Ee(e, t, n, r) {
742
+ let i = e === null ? -1 : t.indexOf(e);
743
+ if (i !== -1 && n[i] === !0) return e;
744
+ let a = r ? ce({
745
+ enabled: n,
746
+ from: -1,
747
+ intent: "first",
748
+ loop: !1
749
+ }) : -1;
750
+ return a === -1 ? null : t[a] ?? null;
751
+ }
748
752
  //#endregion
749
753
  export { be as a, b as i, Te as n, ve as r, we as t };
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./command-palette-C90CzfQi.js";
1
+ import { a as e, i as t, n, r, t as i } from "./command-palette-Bgf5tfCI.js";
2
2
  export { r as COMMAND_PALETTE_FALLBACK, i as CommandPalette, t as CommandPaletteDefaultsProvider, n as CommandPaletteTrigger, e as useCommandPaletteDefaults };
@@ -18,7 +18,7 @@ import { t as me } from "./time-field-GyLQsxcc.js";
18
18
  import { t as he } from "./datetime-range-picker-CFTHW771.js";
19
19
  import { a as ge, i as _e, n as ve, s as ye } from "./multi-select-Dc2d6dDB.js";
20
20
  import { t as be } from "./number-field-BQ54hXmk.js";
21
- import { a as xe, t as Se } from "./segmented-control-CbK7SurB.js";
21
+ import { a as xe, t as Se } from "./segmented-control-BSMVjukr.js";
22
22
  import { c as Ce, i as we, n as Te, o as Ee, s as De } from "./select-d448Wkzb.js";
23
23
  import { t as Oe } from "./time-picker-CGHPnust.js";
24
24
  import { t as ke } from "./time-range-picker-BMRtAqPy.js";
package/dist/data-grid.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 "./data-grid-D106baPp.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./data-grid-DUft3rJb.js";
2
2
  export { e as DRAG_COLUMN, n as DataGrid, i as DataGridDefaultsProvider, r as EXPANDER_COLUMN, a as SELECTION_COLUMN, t as useDataGridDefaults, o as usePersistedGridView };