@jfrader/ui 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/README.md +2 -0
  2. package/dist/accordion-DLul6vIl.js +205 -0
  3. package/dist/accordion.js +1 -1
  4. package/dist/{alert-BBqaKI4k.js → alert-DS_einpy.js} +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/announcement-bar-Dlbq5-9D.js +382 -0
  7. package/dist/announcement-bar.js +2 -0
  8. package/dist/avatar-CaGJHy1N.js +145 -0
  9. package/dist/avatar-group-M1opAQEG.js +138 -0
  10. package/dist/avatar-group.js +2 -0
  11. package/dist/avatar.js +1 -1
  12. package/dist/badge-CjM5Agqk.js +119 -0
  13. package/dist/badge.js +1 -1
  14. package/dist/bottom-sheet-DjZOPq4k.js +674 -0
  15. package/dist/bottom-sheet.js +2 -0
  16. package/dist/{breadcrumbs-DVAOxfvL.js → breadcrumbs-BDK_LiwH.js} +11 -4
  17. package/dist/breadcrumbs.js +1 -1
  18. package/dist/{button-P2e7_44z.js → button-NLY0h6EJ.js} +8 -8
  19. package/dist/button.js +1 -1
  20. package/dist/calendar-BzJdv_SZ.js +449 -0
  21. package/dist/calendar.js +1 -1
  22. package/dist/card-Ca4KQKYQ.js +154 -0
  23. package/dist/card.js +1 -1
  24. package/dist/carousel-B7OrvD6J.js +474 -0
  25. package/dist/carousel.js +2 -0
  26. package/dist/{checkbox-COYG6L7d.js → checkbox-DKSzExj2.js} +17 -16
  27. package/dist/checkbox.js +1 -1
  28. package/dist/chip-group-DjQ0_6Y9.js +290 -0
  29. package/dist/chip-group.js +2 -0
  30. package/dist/code-block/shiki.js +147 -0
  31. package/dist/code-block-B5we2lZa.js +293 -0
  32. package/dist/code-block.js +2 -0
  33. package/dist/collection-registry-k6JcD3Jr.js +44 -0
  34. package/dist/combobox-DFFqOBCi.js +339 -0
  35. package/dist/combobox.js +1 -1
  36. package/dist/command-palette-BmQu2w4H.js +391 -0
  37. package/dist/command-palette.js +1 -1
  38. package/dist/comment-thread-ASaXDcGo.js +1410 -0
  39. package/dist/comment-thread.js +2 -0
  40. package/dist/context-menu-__1c2Dk9.js +370 -0
  41. package/dist/context-menu.js +2 -0
  42. package/dist/copy-button-DCSLcYS-.js +252 -0
  43. package/dist/copy-button.js +2 -0
  44. package/dist/countdown-Dp_TD1VP.js +293 -0
  45. package/dist/countdown.js +2 -0
  46. package/dist/date-picker-BiPN7yeK.js +255 -0
  47. package/dist/date-picker.js +1 -1
  48. package/dist/date-range-picker-DQpUeKqV.js +570 -0
  49. package/dist/date-range-picker.js +2 -0
  50. package/dist/{dialog-xaydbXl2.js → dialog-BX1zYMs-.js} +21 -20
  51. package/dist/dialog.js +1 -1
  52. package/dist/{divider-DYoJf0I_.js → divider-Cp7aNbhM.js} +21 -20
  53. package/dist/divider.js +1 -1
  54. package/dist/drawer-DsASTiP-.js +553 -0
  55. package/dist/drawer.js +2 -0
  56. package/dist/elastic-slider-BG6K019r.js +395 -0
  57. package/dist/elastic-slider.js +2 -0
  58. package/dist/empty-state-CDgrjPPf.js +142 -0
  59. package/dist/empty-state.js +2 -0
  60. package/dist/expandable-card-rUATve0o.js +347 -0
  61. package/dist/expandable-card.js +2 -0
  62. package/dist/expanding-search-BxOwtdwt.js +238 -0
  63. package/dist/expanding-search.js +2 -0
  64. package/dist/field-anatomy-COVdNpf5.js +84 -0
  65. package/dist/file-dropzone-BuXm3Tea.js +457 -0
  66. package/dist/file-dropzone.js +2 -0
  67. package/dist/filter-toolbar-Cy5Hqur-.js +314 -0
  68. package/dist/filter-toolbar.js +2 -0
  69. package/dist/hold-to-confirm-DjB2EVjM.js +294 -0
  70. package/dist/hold-to-confirm.js +2 -0
  71. package/dist/hover-card-CoMJKg1g.js +347 -0
  72. package/dist/hover-card.js +2 -0
  73. package/dist/image-compare-BxY8Ykzt.js +415 -0
  74. package/dist/image-compare.js +2 -0
  75. package/dist/index.js +84 -38
  76. package/dist/inline-edit-C0eeml65.js +535 -0
  77. package/dist/inline-edit.js +2 -0
  78. package/dist/input-control-DmMuAuPS.js +34 -0
  79. package/dist/json-viewer-DgWqyU75.js +802 -0
  80. package/dist/json-viewer.js +2 -0
  81. package/dist/listbox-style-WX-RASp1.js +59 -0
  82. package/dist/{media-D_eA_I-e.js → media-8yrN85VT.js} +2 -2
  83. package/dist/mention-input-sq61si9L.js +600 -0
  84. package/dist/mention-input.js +2 -0
  85. package/dist/menu-DDKgmK2F.js +295 -0
  86. package/dist/menu.js +1 -1
  87. package/dist/metric-card--lVTz5Wn.js +118 -0
  88. package/dist/metric-card.js +2 -0
  89. package/dist/multi-select-DG1BCFX7.js +598 -0
  90. package/dist/multi-select.js +2 -0
  91. package/dist/{navigation-DhnKriOp.js → navigation-CC26JDr-.js} +24 -18
  92. package/dist/navigation.js +1 -1
  93. package/dist/overlay-layer-qEbpEtb8.js +78 -0
  94. package/dist/overlay-portal-C4JZFq2M.js +15 -0
  95. package/dist/{pagination-DYdwsxwe.js → pagination-BfkeWbmP.js} +24 -23
  96. package/dist/pagination.js +1 -1
  97. package/dist/password-field-03pWRkuY.js +250 -0
  98. package/dist/password-field.js +2 -0
  99. package/dist/pill-BaS-uIbn.js +58 -0
  100. package/dist/pill.js +1 -1
  101. package/dist/popover-CErIw2q3.js +125 -0
  102. package/dist/popover.js +1 -1
  103. package/dist/{progress-BpJswTG4.js → progress-DAQkfhPd.js} +5 -5
  104. package/dist/progress.js +1 -1
  105. package/dist/radio-cards-Cu9cBssN.js +456 -0
  106. package/dist/radio-cards.js +2 -0
  107. package/dist/{radio-group-Ce0_IWQr.js → radio-group-TIK0-iPX.js} +22 -19
  108. package/dist/radio-group.js +1 -1
  109. package/dist/resizable-panels-DUpQEpwG.js +520 -0
  110. package/dist/resizable-panels.js +2 -0
  111. package/dist/scroll-area-CcZyiSOQ.js +371 -0
  112. package/dist/scroll-area.js +2 -0
  113. package/dist/search-field-DMvho0KQ.js +274 -0
  114. package/dist/search-field.js +2 -0
  115. package/dist/segmented-control-8ZUGnsZm.js +327 -0
  116. package/dist/segmented-control.js +2 -0
  117. package/dist/select-D5rhJ8gi.js +293 -0
  118. package/dist/select.js +1 -1
  119. package/dist/signature-pad-_bTeguN9.js +645 -0
  120. package/dist/signature-pad.js +2 -0
  121. package/dist/{skeleton-OoFlOEXO.js → skeleton-XQQDkCHd.js} +1 -1
  122. package/dist/skeleton.js +1 -1
  123. package/dist/slider-DVG6-Awh.js +308 -0
  124. package/dist/slider.js +2 -0
  125. package/dist/sortable-data-table-CYKT_Ng7.js +365 -0
  126. package/dist/sortable-data-table.js +2 -0
  127. package/dist/{spinner-C2YDoiMn.js → spinner-DtxvDPdM.js} +1 -1
  128. package/dist/spinner.js +1 -1
  129. package/dist/split-button-BCw4zZom.js +262 -0
  130. package/dist/split-button.js +2 -0
  131. package/dist/stepper-CruHbXxX.js +480 -0
  132. package/dist/stepper.js +2 -0
  133. package/dist/swipe-actions-CBuJREU1.js +420 -0
  134. package/dist/swipe-actions.js +2 -0
  135. package/dist/switch-C1WrKrf-.js +145 -0
  136. package/dist/switch.js +1 -1
  137. package/dist/tabs-XluwRjgg.js +210 -0
  138. package/dist/tabs.js +1 -1
  139. package/dist/tag-input-DSRCyrX2.js +418 -0
  140. package/dist/tag-input.js +2 -0
  141. package/dist/{text-field-D60ok14S.js → text-field-hU72iSVS.js} +20 -17
  142. package/dist/text-field.js +1 -1
  143. package/dist/{textarea-DyfjtP0A.js → textarea-3k4Y0QQ3.js} +23 -20
  144. package/dist/textarea.js +1 -1
  145. package/dist/theme-root.js +1 -1
  146. package/dist/theme-switch-C505TtU8.js +166 -0
  147. package/dist/theme-switch.js +2 -0
  148. package/dist/time-picker-CPlhW0tr.js +311 -0
  149. package/dist/time-picker.js +2 -0
  150. package/dist/timeline-B0uAAVfT.js +624 -0
  151. package/dist/timeline.js +2 -0
  152. package/dist/toast-B7wo3sX1.js +371 -0
  153. package/dist/toast-stack-B40VpS4M.js +197 -0
  154. package/dist/toast-stack.js +2 -0
  155. package/dist/toast.js +1 -1
  156. package/dist/{toggle-group-CI0e7hFm.js → toggle-group-B2fpFZwV.js} +5 -5
  157. package/dist/toggle-group.js +1 -1
  158. package/dist/tooltip-BvgVTCTN.js +120 -0
  159. package/dist/tooltip.js +1 -1
  160. package/dist/tree-view-j8qLqkb_.js +364 -0
  161. package/dist/tree-view.js +2 -0
  162. package/dist/types/components/announcement-bar/announcement-bar.d.ts +75 -0
  163. package/dist/types/components/announcement-bar/index.d.ts +2 -0
  164. package/dist/types/components/avatar-group/avatar-group.d.ts +43 -0
  165. package/dist/types/components/avatar-group/index.d.ts +2 -0
  166. package/dist/types/components/bottom-sheet/bottom-sheet.d.ts +60 -0
  167. package/dist/types/components/bottom-sheet/index.d.ts +2 -0
  168. package/dist/types/components/calendar/calendar.d.ts +25 -1
  169. package/dist/types/components/calendar/index.d.ts +1 -1
  170. package/dist/types/components/carousel/carousel.d.ts +73 -0
  171. package/dist/types/components/carousel/index.d.ts +2 -0
  172. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  173. package/dist/types/components/chip-group/chip-group.d.ts +54 -0
  174. package/dist/types/components/chip-group/index.d.ts +1 -0
  175. package/dist/types/components/code-block/code-block.d.ts +58 -0
  176. package/dist/types/components/code-block/index.d.ts +1 -0
  177. package/dist/types/components/code-block/shiki.d.ts +3 -0
  178. package/dist/types/components/combobox/combobox.d.ts +1 -1
  179. package/dist/types/components/command-palette/command-palette.d.ts +2 -2
  180. package/dist/types/components/comment-thread/comment-thread.d.ts +118 -0
  181. package/dist/types/components/comment-thread/index.d.ts +1 -0
  182. package/dist/types/components/comment-thread/thread-core.d.ts +96 -0
  183. package/dist/types/components/comment-thread/thread-parts.d.ts +114 -0
  184. package/dist/types/components/context-menu/context-menu.d.ts +55 -0
  185. package/dist/types/components/context-menu/index.d.ts +2 -0
  186. package/dist/types/components/copy-button/copy-button.d.ts +49 -0
  187. package/dist/types/components/copy-button/index.d.ts +2 -0
  188. package/dist/types/components/countdown/countdown.d.ts +37 -0
  189. package/dist/types/components/countdown/index.d.ts +1 -0
  190. package/dist/types/components/date-picker/date-picker.d.ts +1 -1
  191. package/dist/types/components/date-range-picker/date-range-picker.d.ts +103 -0
  192. package/dist/types/components/date-range-picker/index.d.ts +2 -0
  193. package/dist/types/components/drawer/drawer.d.ts +59 -0
  194. package/dist/types/components/drawer/index.d.ts +2 -0
  195. package/dist/types/components/elastic-slider/elastic-slider.d.ts +53 -0
  196. package/dist/types/components/elastic-slider/index.d.ts +1 -0
  197. package/dist/types/components/empty-state/empty-state.d.ts +36 -0
  198. package/dist/types/components/empty-state/index.d.ts +2 -0
  199. package/dist/types/components/expandable-card/expandable-card.d.ts +28 -0
  200. package/dist/types/components/expandable-card/index.d.ts +2 -0
  201. package/dist/types/components/expanding-search/expanding-search.d.ts +22 -0
  202. package/dist/types/components/expanding-search/index.d.ts +1 -0
  203. package/dist/types/components/field/field-anatomy.d.ts +4 -2
  204. package/dist/types/components/file-dropzone/file-dropzone.d.ts +93 -0
  205. package/dist/types/components/file-dropzone/index.d.ts +2 -0
  206. package/dist/types/components/filter-toolbar/filter-toolbar.d.ts +70 -0
  207. package/dist/types/components/filter-toolbar/index.d.ts +1 -0
  208. package/dist/types/components/hold-to-confirm/hold-to-confirm.d.ts +32 -0
  209. package/dist/types/components/hold-to-confirm/index.d.ts +2 -0
  210. package/dist/types/components/hover-card/hover-card.d.ts +97 -0
  211. package/dist/types/components/hover-card/index.d.ts +2 -0
  212. package/dist/types/components/image-compare/image-compare.d.ts +54 -0
  213. package/dist/types/components/image-compare/index.d.ts +1 -0
  214. package/dist/types/components/inline-edit/index.d.ts +2 -0
  215. package/dist/types/components/inline-edit/inline-edit.d.ts +93 -0
  216. package/dist/types/components/json-viewer/index.d.ts +2 -0
  217. package/dist/types/components/json-viewer/json-viewer.d.ts +82 -0
  218. package/dist/types/components/mention-input/index.d.ts +2 -0
  219. package/dist/types/components/mention-input/mention-input.d.ts +87 -0
  220. package/dist/types/components/menu/menu.d.ts +68 -7
  221. package/dist/types/components/metric-card/index.d.ts +1 -0
  222. package/dist/types/components/metric-card/metric-card.d.ts +37 -0
  223. package/dist/types/components/multi-select/index.d.ts +2 -0
  224. package/dist/types/components/multi-select/multi-select.d.ts +73 -0
  225. package/dist/types/components/pagination/pagination.d.ts +1 -1
  226. package/dist/types/components/password-field/index.d.ts +2 -0
  227. package/dist/types/components/password-field/password-field.d.ts +34 -0
  228. package/dist/types/components/popover/popover.d.ts +1 -1
  229. package/dist/types/components/radio-cards/index.d.ts +1 -0
  230. package/dist/types/components/radio-cards/radio-cards.d.ts +42 -0
  231. package/dist/types/components/radio-group/radio-group.d.ts +1 -1
  232. package/dist/types/components/resizable-panels/index.d.ts +2 -0
  233. package/dist/types/components/resizable-panels/resizable-panels.d.ts +42 -0
  234. package/dist/types/components/scroll-area/index.d.ts +2 -0
  235. package/dist/types/components/scroll-area/scroll-area.d.ts +34 -0
  236. package/dist/types/components/search-field/index.d.ts +1 -0
  237. package/dist/types/components/search-field/search-field.d.ts +31 -0
  238. package/dist/types/components/segmented-control/index.d.ts +2 -0
  239. package/dist/types/components/segmented-control/segmented-control.d.ts +32 -0
  240. package/dist/types/components/select/select.d.ts +1 -1
  241. package/dist/types/components/signature-pad/index.d.ts +2 -0
  242. package/dist/types/components/signature-pad/signature-pad.d.ts +104 -0
  243. package/dist/types/components/slider/index.d.ts +1 -0
  244. package/dist/types/components/slider/slider-style.d.ts +14 -0
  245. package/dist/types/components/slider/slider.d.ts +62 -0
  246. package/dist/types/components/slider/use-slider-interaction.d.ts +79 -0
  247. package/dist/types/components/sortable-data-table/index.d.ts +1 -0
  248. package/dist/types/components/sortable-data-table/sortable-data-table.d.ts +76 -0
  249. package/dist/types/components/split-button/index.d.ts +2 -0
  250. package/dist/types/components/split-button/split-button.d.ts +55 -0
  251. package/dist/types/components/stepper/index.d.ts +2 -0
  252. package/dist/types/components/stepper/stepper.d.ts +85 -0
  253. package/dist/types/components/swipe-actions/index.d.ts +2 -0
  254. package/dist/types/components/swipe-actions/swipe-actions.d.ts +44 -0
  255. package/dist/types/components/tabs/tabs.d.ts +1 -1
  256. package/dist/types/components/tag-input/index.d.ts +2 -0
  257. package/dist/types/components/tag-input/tag-input.d.ts +66 -0
  258. package/dist/types/components/text-field/text-field.d.ts +1 -1
  259. package/dist/types/components/textarea/textarea.d.ts +1 -1
  260. package/dist/types/components/theme-switch/index.d.ts +1 -0
  261. package/dist/types/components/theme-switch/theme-switch.d.ts +33 -0
  262. package/dist/types/components/time-picker/index.d.ts +2 -0
  263. package/dist/types/components/time-picker/time-picker.d.ts +48 -0
  264. package/dist/types/components/timeline/index.d.ts +2 -0
  265. package/dist/types/components/timeline/timeline.d.ts +66 -0
  266. package/dist/types/components/toast/toast.d.ts +37 -2
  267. package/dist/types/components/toast-stack/index.d.ts +2 -0
  268. package/dist/types/components/toast-stack/toast-stack.d.ts +28 -0
  269. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  270. package/dist/types/components/tree-view/index.d.ts +1 -0
  271. package/dist/types/components/tree-view/tree-view.d.ts +47 -0
  272. package/dist/types/components/usage-meter/index.d.ts +2 -0
  273. package/dist/types/components/usage-meter/usage-meter.d.ts +83 -0
  274. package/dist/types/index.d.ts +45 -0
  275. package/dist/types/overlay/overlay-layer.d.ts +53 -0
  276. package/dist/types/overlay/use-overlay-floating.d.ts +19 -2
  277. package/dist/types/styling/media.d.ts +1 -0
  278. package/dist/types/styling/theme.d.ts +12 -0
  279. package/dist/types/utils/use-controlled-state.d.ts +2 -1
  280. package/dist/usage-meter-qyQ3rYVv.js +463 -0
  281. package/dist/usage-meter.js +2 -0
  282. package/dist/use-controlled-state-DpeVQZNR.js +20 -0
  283. package/dist/use-latest-callback-cj1OOQL6.js +11 -0
  284. package/dist/use-overlay-floating-Bx2jBKAA.js +33 -0
  285. package/dist/use-slider-interaction-ChL-208h.js +234 -0
  286. package/package.json +195 -3
  287. package/dist/accordion-Bd-j04hW.js +0 -198
  288. package/dist/avatar-BahDVO9t.js +0 -132
  289. package/dist/badge-B_sLygxU.js +0 -108
  290. package/dist/calendar-C9Yad_-w.js +0 -394
  291. package/dist/card-D-aI2QHx.js +0 -158
  292. package/dist/collection-registry-BTYi6zGh.js +0 -98
  293. package/dist/combobox-DiMC2g_u.js +0 -327
  294. package/dist/command-palette-V_2pEay7.js +0 -379
  295. package/dist/date-picker-C29Uo4Tx.js +0 -250
  296. package/dist/field-anatomy-D2ToMeRa.js +0 -109
  297. package/dist/menu-CGPTNRnF.js +0 -216
  298. package/dist/pill-DO2gHzMb.js +0 -56
  299. package/dist/popover-CdRXjQqI.js +0 -113
  300. package/dist/select-BgG7WgSh.js +0 -286
  301. package/dist/switch-Dr-qjmT4.js +0 -142
  302. package/dist/tabs-CK_g1RKa.js +0 -203
  303. package/dist/toast-CjmELMZZ.js +0 -283
  304. package/dist/tooltip-CaL3rKbV.js +0 -108
  305. package/dist/use-controlled-state-CVXDa-qM.js +0 -21
  306. package/dist/use-overlay-floating-Bit-f0FU.js +0 -31
  307. package/dist/{theme-root-BbTBuLMQ.js → theme-root-Bs1U3uPA.js} +2 -2
@@ -0,0 +1,314 @@
1
+ 'use client';
2
+ import { r as e, t } from "./sx-Dx9JUKp5.js";
3
+ import { n } from "./focus-ring-BK5W5_NY.js";
4
+ import { n as r } from "./media-8yrN85VT.js";
5
+ import { t as i } from "./use-controlled-state-DpeVQZNR.js";
6
+ import { t as a } from "./renderable-DzcIj1Lo.js";
7
+ import { t as o } from "./button-NLY0h6EJ.js";
8
+ import { createContext as s, useContext as c, useLayoutEffect as l, useMemo as u, useRef as d } from "react";
9
+ import { vars as f } from "@jfrader/tokens/vars";
10
+ import { jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
11
+ import { useMergeRefs as h } from "@floating-ui/react";
12
+ //#region src/components/filter-toolbar/filter-toolbar.tsx
13
+ var g = [], _ = [
14
+ "button:not(:disabled)",
15
+ "input:not(:disabled)",
16
+ "select:not(:disabled)",
17
+ "textarea:not(:disabled)",
18
+ "a[href]",
19
+ "[tabindex]"
20
+ ].map((e) => `[data-ui="filter-toolbar-controls"] ${e}`).join(", "), v = {
21
+ remove: (e) => `Remove ${e.label}: ${e.valueLabel ?? e.value}`,
22
+ clear: "Clear all"
23
+ }, y = new Intl.PluralRules("en"), b = (e, t) => `${t} ${y.select(e) === "one" ? "result" : "results"}`;
24
+ function x(e) {
25
+ return Array.from(new Map(e.map((e) => [e.id, e])).values());
26
+ }
27
+ function S(e, t) {
28
+ return e.length === t.length && e.every((e, n) => {
29
+ let r = t[n];
30
+ return r !== void 0 && e.id === r.id && e.value === r.value && e.label === r.label && e.valueLabel === r.valueLabel;
31
+ });
32
+ }
33
+ var C = s(null);
34
+ function w(e) {
35
+ let t = c(C);
36
+ if (!t) throw Error(`FilterToolbar.${e} must be rendered inside <FilterToolbar>.`);
37
+ return t;
38
+ }
39
+ var T = e({
40
+ display: "flex",
41
+ flexWrap: "wrap",
42
+ alignItems: "center",
43
+ gap: f.space[2],
44
+ minInlineSize: 0,
45
+ "& > *": {
46
+ minInlineSize: 0,
47
+ maxInlineSize: "100%"
48
+ }
49
+ }), E = e({
50
+ display: "flex",
51
+ flexDirection: "column",
52
+ gap: f.space[3],
53
+ minInlineSize: 0,
54
+ padding: f.space[4],
55
+ border: `1px solid ${f.color.border}`,
56
+ borderRadius: f.radius.md,
57
+ backgroundColor: f.color.surface,
58
+ color: f.color.text,
59
+ fontFamily: f.font.sans,
60
+ fontSize: f.textSize.sm,
61
+ "&:focus": n,
62
+ [r]: {
63
+ borderColor: "CanvasText",
64
+ backgroundColor: "Canvas",
65
+ color: "CanvasText"
66
+ }
67
+ }), D = e({
68
+ margin: 0,
69
+ padding: 0,
70
+ listStyle: "none"
71
+ }), O = e({
72
+ display: "inline-flex",
73
+ alignItems: "center",
74
+ gap: f.space[2],
75
+ minInlineSize: 0,
76
+ maxInlineSize: "100%",
77
+ paddingInlineStart: f.space[3],
78
+ border: `1px solid ${f.color.borderControl}`,
79
+ borderRadius: f.radius.full,
80
+ backgroundColor: f.color.surfaceHover,
81
+ color: f.color.text,
82
+ [r]: {
83
+ borderColor: "CanvasText",
84
+ backgroundColor: "Canvas",
85
+ color: "CanvasText"
86
+ }
87
+ }), k = e({
88
+ minInlineSize: 0,
89
+ overflow: "hidden",
90
+ textOverflow: "ellipsis",
91
+ whiteSpace: "nowrap"
92
+ }), A = e({ color: f.color.textMuted }), j = e({ fontWeight: f.fontWeight.medium }), M = e({
93
+ flexShrink: 0,
94
+ minInlineSize: f.space[8],
95
+ minBlockSize: f.space[8],
96
+ blockSize: "auto",
97
+ padding: 0,
98
+ borderRadius: f.radius.full,
99
+ color: f.color.text,
100
+ [r]: { borderColor: "ButtonText" }
101
+ }), N = e({
102
+ alignSelf: "flex-start",
103
+ maxInlineSize: "100%",
104
+ blockSize: "auto",
105
+ minBlockSize: f.space[8],
106
+ paddingBlock: f.space[2],
107
+ whiteSpace: "normal",
108
+ overflowWrap: "anywhere",
109
+ borderColor: f.color.borderControl,
110
+ [r]: { borderColor: "ButtonText" }
111
+ }), P = e({
112
+ margin: 0,
113
+ minInlineSize: 0,
114
+ overflowWrap: "anywhere",
115
+ color: f.color.textMuted,
116
+ fontSize: f.textSize.sm,
117
+ lineHeight: f.lineHeight.base
118
+ });
119
+ function F({ ref: e, value: n, defaultValue: r = g, onValueChange: a, disabled: o = !1, label: s = "Filters", messages: c, className: f, sx: m, children: y, "aria-label": b, "aria-labelledby": w, tabIndex: T = -1, ...D }) {
120
+ let [O = g, k] = i(n, r, a), A = u(() => x(O), [O]), j = d(null), M = h([j, e]), N = d(null), P = u(() => ({
121
+ ...v,
122
+ ...c
123
+ }), [c]), F = u(() => {
124
+ let e = (e) => {
125
+ if (o) return;
126
+ let t = x(e);
127
+ S(A, t) || k(t);
128
+ }, t = (e, t) => {
129
+ if (N.current = null, e.ownerDocument.activeElement !== e) return;
130
+ let n = A.findIndex((e) => e.id === t);
131
+ N.current = {
132
+ source: e,
133
+ removedId: t,
134
+ neighbors: t === void 0 ? [] : [...A.slice(n + 1).map((e) => e.id), ...A.slice(0, n).reverse().map((e) => e.id)]
135
+ };
136
+ };
137
+ return {
138
+ value: A,
139
+ disabled: o,
140
+ messages: P,
141
+ onValueChange: e,
142
+ remove: (n, r) => {
143
+ o || (t(r, n.id), e(A.filter((e) => e.id !== n.id)));
144
+ },
145
+ clear: (n) => {
146
+ o || (t(n), e(g));
147
+ }
148
+ };
149
+ }, [
150
+ A,
151
+ o,
152
+ P,
153
+ k
154
+ ]);
155
+ return l(() => {
156
+ let e = N.current, t = j.current;
157
+ if (!e || !t) return;
158
+ let n = t.ownerDocument.activeElement;
159
+ if (n !== e.source && n !== t.ownerDocument.body) {
160
+ N.current = null;
161
+ return;
162
+ }
163
+ if (!(e.removedId === void 0 ? A.length === 0 : !A.some((t) => t.id === e.removedId))) return;
164
+ N.current = null;
165
+ let r = (e) => e.closest("[data-ui=\"filter-toolbar\"]") === t, i = Array.from(t.querySelectorAll("[data-ui~=\"filter-toolbar-remove\"]:not(:disabled)")).filter(r), a = e.neighbors.map((e) => i.find((t) => t.dataset.filterId === e)).find((e) => e !== void 0), o = Array.from(t.querySelectorAll(_)).find((e) => r(e) && e.tabIndex >= 0 && e.getAttribute("aria-disabled") !== "true" && !e.closest("[hidden], [inert]") && e.getClientRects().length > 0);
166
+ (a ?? o ?? t).focus();
167
+ }, [A]), /* @__PURE__ */ p(C.Provider, {
168
+ value: F,
169
+ children: /* @__PURE__ */ p(t, {
170
+ className: f,
171
+ styles: E,
172
+ sx: m,
173
+ children: (e) => /* @__PURE__ */ p("div", {
174
+ ...D,
175
+ ref: M,
176
+ role: "group",
177
+ "data-ui": "filter-toolbar",
178
+ className: e,
179
+ tabIndex: T,
180
+ "aria-label": b ?? (w ? void 0 : s),
181
+ "aria-labelledby": w,
182
+ "aria-disabled": o || D["aria-disabled"],
183
+ children: y
184
+ })
185
+ })
186
+ });
187
+ }
188
+ F.displayName = "FilterToolbar";
189
+ function I({ children: e, className: n, sx: r, ...i }) {
190
+ let { value: a, disabled: o, onValueChange: s } = w("Controls");
191
+ return /* @__PURE__ */ p(t, {
192
+ className: n,
193
+ styles: T,
194
+ sx: r,
195
+ children: (t) => /* @__PURE__ */ p("div", {
196
+ ...i,
197
+ "data-ui": "filter-toolbar-controls",
198
+ className: t,
199
+ children: typeof e == "function" ? e({
200
+ value: a,
201
+ disabled: o,
202
+ onValueChange: s
203
+ }) : e
204
+ })
205
+ });
206
+ }
207
+ I.displayName = "FilterToolbar.Controls";
208
+ function L({ empty: e, slotProps: n, className: r, sx: i, ...s }) {
209
+ let { value: c, disabled: l, messages: u, remove: d } = w("ActiveFilters");
210
+ return /* @__PURE__ */ p(t, {
211
+ className: r,
212
+ styles: T,
213
+ sx: i,
214
+ children: (t) => /* @__PURE__ */ p("div", {
215
+ ...s,
216
+ "data-ui": "filter-toolbar-active-filters",
217
+ className: t,
218
+ children: c.length > 0 ? /* @__PURE__ */ p("ul", {
219
+ className: n?.list?.className,
220
+ css: [
221
+ T,
222
+ D,
223
+ n?.list?.css
224
+ ],
225
+ children: c.map((e) => /* @__PURE__ */ m("li", {
226
+ className: n?.chip?.className,
227
+ css: [O, n?.chip?.css],
228
+ children: [/* @__PURE__ */ m("span", {
229
+ className: n?.label?.className,
230
+ css: [k, n?.label?.css],
231
+ children: [/* @__PURE__ */ m("span", {
232
+ css: A,
233
+ children: [e.label, ": "]
234
+ }), /* @__PURE__ */ p("span", {
235
+ css: j,
236
+ children: e.valueLabel ?? e.value
237
+ })]
238
+ }), /* @__PURE__ */ p(o, {
239
+ variant: "ghost",
240
+ size: "sm",
241
+ disabled: l,
242
+ "aria-label": u.remove(e),
243
+ "data-ui": "filter-toolbar-remove",
244
+ "data-filter-id": e.id,
245
+ className: n?.remove?.className,
246
+ css: [M, n?.remove?.css],
247
+ onClick: (t) => d(e, t.currentTarget),
248
+ render: (e) => /* @__PURE__ */ p("button", {
249
+ ...e,
250
+ type: "button",
251
+ disabled: l,
252
+ children: /* @__PURE__ */ p("span", {
253
+ "aria-hidden": "true",
254
+ children: "×"
255
+ })
256
+ })
257
+ })]
258
+ }, e.id))
259
+ }) : a(e) ? e : null
260
+ })
261
+ });
262
+ }
263
+ L.displayName = "FilterToolbar.ActiveFilters";
264
+ function R({ children: e, onClick: t, disabled: n = !1, css: r, ...i }) {
265
+ let { value: a, disabled: s, messages: c, clear: l } = w("Clear");
266
+ if (!a.length) return null;
267
+ let u = s || n;
268
+ return /* @__PURE__ */ p(o, {
269
+ variant: "outline",
270
+ size: "sm",
271
+ ...i,
272
+ disabled: u,
273
+ "data-ui": "filter-toolbar-clear",
274
+ css: [N, r],
275
+ onClick: (e) => {
276
+ t?.(e), e.defaultPrevented || l(e.currentTarget);
277
+ },
278
+ render: (e) => /* @__PURE__ */ p("button", {
279
+ ...e,
280
+ type: "button",
281
+ disabled: u
282
+ }),
283
+ children: e === void 0 ? c.clear : e
284
+ });
285
+ }
286
+ R.displayName = "FilterToolbar.Clear";
287
+ function z({ count: e, locale: n, formatCount: r = b, loading: i = !1, loadingLabel: a = "Loading results", unknownLabel: o = "Results unavailable", className: s, sx: c, ...l }) {
288
+ w("ResultCount");
289
+ let u = e !== null && Number.isFinite(e) && Number.isInteger(e) && e >= 0 ? r(e, new Intl.NumberFormat(n).format(e)) : o;
290
+ return /* @__PURE__ */ p(t, {
291
+ className: s,
292
+ styles: P,
293
+ sx: c,
294
+ children: (e) => /* @__PURE__ */ p("p", {
295
+ "aria-live": "polite",
296
+ "aria-atomic": "true",
297
+ ...l,
298
+ role: "status",
299
+ "aria-busy": i || l["aria-busy"],
300
+ "data-ui": "filter-toolbar-result-count",
301
+ className: e,
302
+ children: i ? a : u
303
+ })
304
+ });
305
+ }
306
+ z.displayName = "FilterToolbar.ResultCount";
307
+ var B = Object.assign(F, {
308
+ Controls: I,
309
+ ActiveFilters: L,
310
+ Clear: R,
311
+ ResultCount: z
312
+ });
313
+ //#endregion
314
+ export { B as t };
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ export { t as FilterToolbar } from "./filter-toolbar-Cy5Hqur-.js";
@@ -0,0 +1,294 @@
1
+ 'use client';
2
+ import { i as e, r as t, t as n } from "./sx-Dx9JUKp5.js";
3
+ import { n as r } from "./focus-ring-BK5W5_NY.js";
4
+ import { n as i, r as a } from "./media-8yrN85VT.js";
5
+ import { t as o } from "./use-latest-callback-cj1OOQL6.js";
6
+ import { t as s } from "./use-controlled-state-DpeVQZNR.js";
7
+ import { t as c } from "./visually-hidden-BJdvqqvn.js";
8
+ import { t as l } from "./renderable-DzcIj1Lo.js";
9
+ import { t as u } from "./icon-wrapper-stN8sD7R.js";
10
+ import { useEffect as d, useId as f, useRef as p, useState as m } from "react";
11
+ import { vars as h } from "@jfrader/tokens/vars";
12
+ import { Fragment as g, jsx as _, jsxs as v } from "@emotion/react/jsx-runtime";
13
+ import { useMergeRefs as ee } from "@floating-ui/react";
14
+ //#region src/components/hold-to-confirm/hold-to-confirm.tsx
15
+ var te = 1200, y = 24, ne = 1e3, b = 2 ** 31 - 1, x = "--hold-progress", re = t({
16
+ label: "hold-to-confirm",
17
+ position: "relative",
18
+ display: "inline-grid",
19
+ boxSizing: "border-box",
20
+ maxInlineSize: "100%",
21
+ overflow: "hidden",
22
+ padding: 0,
23
+ border: `1px solid ${h.color.borderControl}`,
24
+ borderRadius: h.radius.md,
25
+ backgroundColor: h.color.surface,
26
+ color: h.color.text,
27
+ fontFamily: h.font.sans,
28
+ fontWeight: h.fontWeight.medium,
29
+ lineHeight: h.lineHeight.base,
30
+ cursor: "pointer",
31
+ touchAction: "none",
32
+ userSelect: "none",
33
+ "&:hover:not(:disabled):not([aria-disabled=\"true\"])": { backgroundColor: h.color.surfaceHover },
34
+ "&:focus-visible": r,
35
+ "&:disabled": {
36
+ cursor: "not-allowed",
37
+ opacity: .55
38
+ },
39
+ "&[aria-disabled=\"true\"]": { cursor: "default" },
40
+ "&[data-state=\"holding\"] > [data-ui=\"hold-to-confirm-fill\"]": {
41
+ visibility: "visible",
42
+ transitionDuration: "0s"
43
+ },
44
+ "&[data-state=\"confirmed\"] > [data-ui=\"hold-to-confirm-fill\"]": {
45
+ visibility: "visible",
46
+ clipPath: "inset(0)"
47
+ },
48
+ [i]: {
49
+ borderColor: "ButtonText",
50
+ "&:focus-visible": { outlineColor: "Highlight" },
51
+ "&[data-state=\"holding\"]": { borderStyle: "double" }
52
+ }
53
+ }), ie = {
54
+ sm: t({
55
+ minBlockSize: h.space[8],
56
+ fontSize: h.textSize.sm,
57
+ "--hold-padding": h.space[3]
58
+ }),
59
+ md: t({
60
+ minBlockSize: h.space[10],
61
+ fontSize: h.textSize.sm,
62
+ "--hold-padding": h.space[4]
63
+ }),
64
+ lg: t({
65
+ minBlockSize: h.space[12],
66
+ fontSize: h.textSize.md,
67
+ "--hold-padding": h.space[5]
68
+ })
69
+ }, ae = {
70
+ accent: t({
71
+ "--hold-fill": h.color.accent,
72
+ "--hold-ink": h.color.accentContrast
73
+ }),
74
+ danger: t({
75
+ color: h.color.dangerText,
76
+ "--hold-fill": h.color.danger,
77
+ "--hold-ink": h.color.dangerContrast
78
+ }),
79
+ neutral: t({
80
+ "--hold-fill": h.color.text,
81
+ "--hold-ink": h.color.bg
82
+ })
83
+ }, S = t({
84
+ display: "flex",
85
+ alignItems: "center",
86
+ justifyContent: "center",
87
+ gap: h.space[2],
88
+ paddingInline: "var(--hold-padding)",
89
+ paddingBlock: h.space[2],
90
+ overflowWrap: "anywhere"
91
+ }), C = e({
92
+ from: { opacity: 0 },
93
+ to: { opacity: 1 }
94
+ }), w = t({
95
+ animation: `${C} ${h.motion.duration.fast} ${h.motion.easeStandard}`,
96
+ [a]: { animation: "none" }
97
+ }), oe = t({
98
+ position: "absolute",
99
+ inset: 0,
100
+ backgroundColor: "var(--hold-fill)",
101
+ color: "var(--hold-ink)",
102
+ pointerEvents: "none",
103
+ visibility: "hidden",
104
+ clipPath: "inset(0 calc(100% - var(--hold-progress, 0%)) 0 0)",
105
+ transitionProperty: "clip-path, visibility",
106
+ transitionDuration: h.motion.duration.base,
107
+ transitionTimingFunction: h.motion.easeStandard,
108
+ "&:dir(rtl)": { clipPath: "inset(0 0 0 calc(100% - var(--hold-progress, 0%)))" },
109
+ [a]: { transitionDuration: "0s" },
110
+ [i]: {
111
+ forcedColorAdjust: "none",
112
+ backgroundColor: "Highlight",
113
+ color: "HighlightText"
114
+ }
115
+ }), se = t([c, { [i]: { "&[data-holding=\"true\"]": {
116
+ position: "static",
117
+ inlineSize: "auto",
118
+ blockSize: "auto",
119
+ overflow: "visible",
120
+ clip: "auto",
121
+ clipPath: "none",
122
+ whiteSpace: "normal",
123
+ marginInlineStart: h.space[2]
124
+ } } }]);
125
+ function T({ ref: e, label: t, confirmedLabel: r, confirmationAnnouncement: i, getHoldDescription: a, locale: h, duration: C = te, value: T, defaultValue: ce = !1, onValueChange: le, onConfirm: ue, onHoldChange: de, tone: fe = "accent", size: pe = "md", icon: me, confirmedIcon: he = "✓", disabled: E = !1, slotProps: D, className: ge, sx: _e, onPointerDown: ve, onPointerMove: ye, onPointerUp: O, onPointerCancel: k, onLostPointerCapture: A, onKeyDown: j, onKeyUp: M, onBlur: N, onClick: P, onContextMenu: be, "aria-describedby": F, ...I }) {
126
+ if (!Number.isFinite(C) || C <= 0) throw Error("HoldToConfirm: duration must be a finite positive number of milliseconds.");
127
+ let L = `${f()}-hint`, [R, xe] = s(T, ce, le), [z, B] = m(!1), [Se, V] = m(""), H = p(!1), U = p(null), Ce = ee([e]), W = o(de), we = o(ue), G = I["aria-disabled"] === !0 || I["aria-disabled"] === "true", K = (e = !0) => {
128
+ let t = U.current;
129
+ t && (U.current = null, t.stop(), t.button.style.setProperty(x, "0%"), B(!1), !t.completed && e && W(!1), "pointerId" in t.origin && t.button.hasPointerCapture(t.origin.pointerId) && t.button.releasePointerCapture(t.origin.pointerId));
130
+ }, q = o(K);
131
+ d(() => {
132
+ H.current && (H.current = !1, R && V(i)), R || V("");
133
+ }, [
134
+ R,
135
+ z,
136
+ i
137
+ ]), d(() => {
138
+ q();
139
+ }, [
140
+ C,
141
+ E,
142
+ G,
143
+ q
144
+ ]), d(() => {
145
+ R && U.current && !U.current.completed && q();
146
+ }, [R, q]), d(() => () => q(!1), [q]);
147
+ let J = E || R || G, Y = (e, t) => {
148
+ let n = e.ownerDocument, r = n.defaultView;
149
+ if (J || U.current || !r || n.hidden) return;
150
+ let i = r.performance.now(), a = 0, o = 0, s = {
151
+ origin: t,
152
+ button: e,
153
+ completed: !1,
154
+ stop: () => {}
155
+ }, c = () => q(), l = () => {
156
+ n.hidden && c();
157
+ }, u = (n) => {
158
+ "pointerId" in t && n.pointerId === t.pointerId && !e.contains(n.target) && c();
159
+ }, d = (n) => {
160
+ if (!("pointerId" in t) || t.pointerId !== n.pointerId) return;
161
+ let r = e.getBoundingClientRect();
162
+ (n.clientX < r.left - y || n.clientX > r.right + y || n.clientY < r.top - y || n.clientY > r.bottom + y) && c();
163
+ }, f = () => {
164
+ r.clearTimeout(a), r.cancelAnimationFrame(o);
165
+ };
166
+ s.stop = () => {
167
+ f(), n.removeEventListener("visibilitychange", l), n.removeEventListener("pointerup", u, !0), n.removeEventListener("pointercancel", u, !0), n.removeEventListener("pointermove", d), r.removeEventListener("blur", c);
168
+ };
169
+ let p = () => {
170
+ if (U.current !== s || s.completed) return;
171
+ if (n.hidden || !e.isConnected || e.disabled || e.getAttribute("aria-disabled") === "true") {
172
+ c();
173
+ return;
174
+ }
175
+ let t = C - (r.performance.now() - i);
176
+ t > 0 ? a = r.setTimeout(p, Math.min(t, b)) : (s.completed = !0, f(), e.style.setProperty(x, "0%"), H.current = !0, B(!1), W(!1), xe(!0), we());
177
+ }, m = () => {
178
+ U.current !== s || s.completed || (e.style.setProperty(x, `${Math.min(100, (r.performance.now() - i) / C * 100)}%`), o = r.requestAnimationFrame(m));
179
+ };
180
+ U.current = s, e.style.setProperty(x, "0%"), B(!0), V(""), n.addEventListener("visibilitychange", l), n.addEventListener("pointerup", u, !0), n.addEventListener("pointercancel", u, !0), n.addEventListener("pointermove", d), r.addEventListener("blur", c), a = r.setTimeout(p, Math.min(C, b)), o = r.requestAnimationFrame(m), W(!0);
181
+ }, X = (e) => {
182
+ let t = U.current?.origin;
183
+ t && "pointerId" in t && t.pointerId === e && K();
184
+ }, Z = R ? r : t, Q = R ? he : me, $ = /* @__PURE__ */ v(g, { children: [l(Q) && /* @__PURE__ */ _("span", {
185
+ "aria-hidden": "true",
186
+ className: D?.icon?.className,
187
+ css: [
188
+ u,
189
+ w,
190
+ D?.icon?.css
191
+ ],
192
+ children: Q
193
+ }, `icon-${R}`), l(Z) && /* @__PURE__ */ _("span", {
194
+ className: D?.label?.className,
195
+ css: [w, D?.label?.css],
196
+ children: Z
197
+ }, `label-${R}`)] }), Te = new Intl.NumberFormat(h, {
198
+ style: "unit",
199
+ unit: "second",
200
+ unitDisplay: "long",
201
+ maximumFractionDigits: 3,
202
+ ...C < 1 ? { maximumSignificantDigits: 3 } : void 0
203
+ }).format(C / ne);
204
+ return /* @__PURE__ */ v(g, { children: [
205
+ /* @__PURE__ */ _(n, {
206
+ className: ge,
207
+ styles: [
208
+ re,
209
+ ie[pe],
210
+ ae[fe]
211
+ ],
212
+ sx: _e,
213
+ children: (e) => /* @__PURE__ */ v("button", {
214
+ ...I,
215
+ ref: Ce,
216
+ className: e,
217
+ type: "button",
218
+ disabled: E,
219
+ "data-ui": "hold-to-confirm",
220
+ "data-state": R ? "confirmed" : z ? "holding" : "idle",
221
+ "aria-disabled": R ? !0 : I["aria-disabled"],
222
+ "aria-describedby": [F, L].filter(Boolean).join(" "),
223
+ onPointerDown: (e) => {
224
+ if (ve?.(e), !(e.defaultPrevented || !e.isPrimary || e.button !== 0 || J || U.current) && (e.preventDefault(), e.currentTarget.focus({ preventScroll: !0 }), Y(e.currentTarget, { pointerId: e.pointerId }), U.current)) try {
225
+ e.currentTarget.setPointerCapture(e.pointerId);
226
+ } catch {}
227
+ },
228
+ onPointerMove: (e) => {
229
+ ye?.(e);
230
+ },
231
+ onPointerUp: (e) => {
232
+ O?.(e), X(e.pointerId);
233
+ },
234
+ onPointerCancel: (e) => {
235
+ k?.(e), X(e.pointerId);
236
+ },
237
+ onLostPointerCapture: (e) => {
238
+ A?.(e), X(e.pointerId);
239
+ },
240
+ onKeyDown: (e) => {
241
+ j?.(e), e.key === "Escape" || e.key === "Tab" ? K() : (e.key === " " || e.key === "Enter") && (e.defaultPrevented || (e.preventDefault(), e.repeat || Y(e.currentTarget, { key: e.key })));
242
+ },
243
+ onKeyUp: (e) => {
244
+ M?.(e);
245
+ let t = U.current?.origin;
246
+ t && "key" in t && e.key === t.key && K(), (e.key === " " || e.key === "Enter") && e.preventDefault();
247
+ },
248
+ onBlur: (e) => {
249
+ N?.(e), K();
250
+ },
251
+ onClick: (e) => {
252
+ P?.(e), e.preventDefault();
253
+ },
254
+ onContextMenu: (e) => {
255
+ be?.(e), U.current && "pointerId" in U.current.origin && !U.current.completed && e.preventDefault();
256
+ },
257
+ children: [/* @__PURE__ */ _("span", {
258
+ className: D?.face?.className,
259
+ css: [S, D?.face?.css],
260
+ children: $
261
+ }), /* @__PURE__ */ _("span", {
262
+ "data-ui": "hold-to-confirm-fill",
263
+ "aria-hidden": "true",
264
+ className: [D?.face?.className, D?.fill?.className].filter(Boolean).join(" ") || void 0,
265
+ css: [
266
+ S,
267
+ D?.face?.css,
268
+ oe,
269
+ D?.fill?.css
270
+ ],
271
+ children: $
272
+ })]
273
+ })
274
+ }),
275
+ /* @__PURE__ */ _("span", {
276
+ id: L,
277
+ "data-holding": z || void 0,
278
+ className: D?.hint?.className,
279
+ css: [se, D?.hint?.css],
280
+ children: a(Te)
281
+ }),
282
+ /* @__PURE__ */ _("span", {
283
+ role: "status",
284
+ "aria-live": "polite",
285
+ "aria-atomic": "true",
286
+ className: D?.status?.className,
287
+ css: [c, D?.status?.css],
288
+ children: Se
289
+ })
290
+ ] });
291
+ }
292
+ T.displayName = "HoldToConfirm";
293
+ //#endregion
294
+ export { T as t };
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ export { t as HoldToConfirm } from "./hold-to-confirm-DjB2EVjM.js";