@jfrader/ui 0.5.1 → 0.7.0

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/README.md +28 -7
  2. package/dist/{accordion-DLul6vIl.js → accordion-D6myONB9.js} +36 -35
  3. package/dist/accordion.js +1 -1
  4. package/dist/activity-rings-Uszvwqdl.js +528 -0
  5. package/dist/activity-rings.js +2 -0
  6. package/dist/{alert-DS_einpy.js → alert-Bhj-qSMs.js} +15 -14
  7. package/dist/alert.js +1 -1
  8. package/dist/{announcement-bar-Dlbq5-9D.js → announcement-bar-B5J33QUh.js} +132 -131
  9. package/dist/announcement-bar.js +1 -1
  10. package/dist/{avatar-group-M1opAQEG.js → avatar-group-BlMLNw4J.js} +10 -9
  11. package/dist/avatar-group.js +1 -1
  12. package/dist/avatar-sPxDqFiZ.js +133 -0
  13. package/dist/avatar.js +1 -1
  14. package/dist/{badge-CjM5Agqk.js → badge-CfhTcA-Z.js} +10 -9
  15. package/dist/badge.js +1 -1
  16. package/dist/billing-toggle-CgC7yxxo.js +349 -0
  17. package/dist/billing-toggle.js +2 -0
  18. package/dist/{bottom-sheet-DjZOPq4k.js → bottom-sheet-BFQKO0Wo.js} +282 -264
  19. package/dist/bottom-sheet.js +1 -1
  20. package/dist/{breadcrumbs-BDK_LiwH.js → breadcrumbs-CG3akw-b.js} +19 -18
  21. package/dist/breadcrumbs.js +1 -1
  22. package/dist/{button-NLY0h6EJ.js → button-C6OV0C7J.js} +14 -13
  23. package/dist/button-group-B9wP2ddS.js +611 -0
  24. package/dist/button-group.js +2 -0
  25. package/dist/button.js +1 -1
  26. package/dist/calendar-Bg6D2sul.js +377 -0
  27. package/dist/calendar.js +1 -1
  28. package/dist/calendar.utils-azmB4Ej7.js +79 -0
  29. package/dist/card-C008OQCp.js +164 -0
  30. package/dist/card.js +1 -1
  31. package/dist/{carousel-B7OrvD6J.js → carousel-lTH4Foke.js} +13 -12
  32. package/dist/carousel.js +1 -1
  33. package/dist/chat-thread-DkB-WMWJ.js +864 -0
  34. package/dist/chat-thread.js +2 -0
  35. package/dist/{checkbox-DKSzExj2.js → checkbox-CClE61GV.js} +9 -8
  36. package/dist/checkbox.js +1 -1
  37. package/dist/{chip-group-DjQ0_6Y9.js → chip-group-BZUX9KPF.js} +17 -16
  38. package/dist/chip-group.js +1 -1
  39. package/dist/{choice-control-5kJkLXgv.js → choice-control-BsWOZPc9.js} +1 -1
  40. package/dist/{code-block-B5we2lZa.js → code-block-CYP89_6h.js} +35 -34
  41. package/dist/code-block.js +1 -1
  42. package/dist/{combobox-DFFqOBCi.js → combobox-D2Oc-co7.js} +21 -20
  43. package/dist/combobox.js +1 -1
  44. package/dist/command-palette-BrT1n9bb.js +394 -0
  45. package/dist/command-palette.js +1 -1
  46. package/dist/comment-thread-DXfqgRNI.js +772 -0
  47. package/dist/comment-thread.js +1 -1
  48. package/dist/{container-BOaSptJa.js → container-BxtwJSSD.js} +3 -2
  49. package/dist/container.js +1 -1
  50. package/dist/{context-menu-__1c2Dk9.js → context-menu-I4i0LRpm.js} +52 -51
  51. package/dist/context-menu.js +1 -1
  52. package/dist/{copy-button-DCSLcYS-.js → copy-button-C0p_qrgf.js} +4 -4
  53. package/dist/copy-button.js +1 -1
  54. package/dist/{countdown-Dp_TD1VP.js → countdown-EcpV6rXy.js} +18 -17
  55. package/dist/countdown.js +1 -1
  56. package/dist/css-BYJhdGh-.js +2 -0
  57. package/dist/{date-picker-BiPN7yeK.js → date-picker-D-bn-iHs.js} +14 -13
  58. package/dist/date-picker.js +1 -1
  59. package/dist/date-range-picker-rXcZsI1Y.js +589 -0
  60. package/dist/date-range-picker.js +1 -1
  61. package/dist/dialog-CR1xdkrC.js +222 -0
  62. package/dist/dialog.js +1 -1
  63. package/dist/{divider-Cp7aNbhM.js → divider-zOJzkcHh.js} +7 -6
  64. package/dist/divider.js +1 -1
  65. package/dist/drawer-CceaEhCr.js +590 -0
  66. package/dist/drawer.js +1 -1
  67. package/dist/emblem-DnXmpZCh.js +166 -0
  68. package/dist/emblem.js +2 -0
  69. package/dist/{empty-state-CDgrjPPf.js → empty-state-DO0ApylK.js} +2 -1
  70. package/dist/empty-state.js +1 -1
  71. package/dist/{expandable-card-rUATve0o.js → expandable-card-W97vjix9.js} +52 -51
  72. package/dist/expandable-card.js +1 -1
  73. package/dist/{expanding-search-BxOwtdwt.js → expanding-search-Bb2_YfNx.js} +16 -15
  74. package/dist/expanding-search.js +1 -1
  75. package/dist/{field-anatomy-COVdNpf5.js → field-anatomy-BDIP42MI.js} +2 -1
  76. package/dist/{file-dropzone-BuXm3Tea.js → file-dropzone-Bi5ikRIz.js} +14 -13
  77. package/dist/file-dropzone.js +1 -1
  78. package/dist/{filter-toolbar-Cy5Hqur-.js → filter-toolbar-QRnC4S_H.js} +33 -32
  79. package/dist/filter-toolbar.js +1 -1
  80. package/dist/{flex-Dh-_J5-U.js → flex-CS7eMRcK.js} +2 -2
  81. package/dist/flex.js +1 -1
  82. package/dist/game-card-Oeu74giK.js +194 -0
  83. package/dist/game-card.js +2 -0
  84. package/dist/{hold-to-confirm-DjB2EVjM.js → hold-to-confirm-CVBA0wNT.js} +18 -17
  85. package/dist/hold-to-confirm.js +1 -1
  86. package/dist/{hover-card-CoMJKg1g.js → hover-card-Dgu2CwMD.js} +20 -19
  87. package/dist/hover-card.js +1 -1
  88. package/dist/{icon-wrapper-stN8sD7R.js → icon-wrapper-C-zMD0uL.js} +1 -1
  89. package/dist/{image-compare-BxY8Ykzt.js → image-compare-Ln2UUqTU.js} +20 -19
  90. package/dist/image-compare.js +1 -1
  91. package/dist/in-view-title-BUZCMqge.js +225 -0
  92. package/dist/in-view-title.js +2 -0
  93. package/dist/index.js +102 -83
  94. package/dist/initials-DEdwNe9_.js +18 -0
  95. package/dist/{inline-edit-C0eeml65.js → inline-edit-D-pR2RPC.js} +22 -21
  96. package/dist/inline-edit.js +1 -1
  97. package/dist/{input-control-DmMuAuPS.js → input-control-B6HVBgwl.js} +1 -1
  98. package/dist/{json-viewer-DgWqyU75.js → json-viewer-Dro3WrjS.js} +31 -30
  99. package/dist/json-viewer.js +1 -1
  100. package/dist/{kbd-C3ACoMoE.js → kbd-BI_9qzYr.js} +2 -1
  101. package/dist/kbd.js +1 -1
  102. package/dist/keycap-keyboard-Cdx-OAS1.js +311 -0
  103. package/dist/keycap-keyboard.js +2 -0
  104. package/dist/{layout-style-Cbd1Vilw.js → layout-style-BE0gSqrH.js} +1 -1
  105. package/dist/lightbox-gallery-D0YaSTut.js +777 -0
  106. package/dist/lightbox-gallery.js +2 -0
  107. package/dist/link-unfurl-CReyIjyy.js +695 -0
  108. package/dist/link-unfurl.js +2 -0
  109. package/dist/{listbox-style-WX-RASp1.js → listbox-style-DNOxAulu.js} +1 -1
  110. package/dist/{loading-ring-B8-30Dl1.js → loading-ring-D0lGrK8z.js} +1 -1
  111. package/dist/locale-switcher-DTkySKsM.js +375 -0
  112. package/dist/locale-switcher.js +2 -0
  113. package/dist/{mention-input-sq61si9L.js → mention-input-BjjAbJCf.js} +6 -6
  114. package/dist/mention-input.js +1 -1
  115. package/dist/{menu-DDKgmK2F.js → menu-CVzpsyXn.js} +113 -96
  116. package/dist/menu.js +1 -1
  117. package/dist/{metric-card--lVTz5Wn.js → metric-card-BnFssTXj.js} +12 -11
  118. package/dist/metric-card.js +1 -1
  119. package/dist/{multi-select-DG1BCFX7.js → multi-select-B3puEVo0.js} +67 -66
  120. package/dist/multi-select.js +1 -1
  121. package/dist/{navigation-CC26JDr-.js → navigation-C_JD43gA.js} +41 -40
  122. package/dist/navigation.js +1 -1
  123. package/dist/next.js +65 -0
  124. package/dist/now-playing-DjVm1Phm.js +439 -0
  125. package/dist/now-playing.js +2 -0
  126. package/dist/overlay-motion-Cr77ihn2.js +90 -0
  127. package/dist/{overlay-portal-C4JZFq2M.js → overlay-portal-C9igMHnC.js} +1 -1
  128. package/dist/{pagination-BfkeWbmP.js → pagination-Dkh4bJQh.js} +10 -9
  129. package/dist/pagination.js +1 -1
  130. package/dist/{password-field-03pWRkuY.js → password-field-Da58GP1g.js} +4 -4
  131. package/dist/password-field.js +1 -1
  132. package/dist/photo-grid-Dtl17D74.js +830 -0
  133. package/dist/photo-grid.js +2 -0
  134. package/dist/{pill-BaS-uIbn.js → pill-Dd7pog19.js} +10 -9
  135. package/dist/pill.js +1 -1
  136. package/dist/{popover-CErIw2q3.js → popover-CUMOcMtj.js} +5 -4
  137. package/dist/popover.js +1 -1
  138. package/dist/presence-spring-4zwtUDQN.js +12 -0
  139. package/dist/{progress-DAQkfhPd.js → progress-Bcuz3Ob4.js} +11 -10
  140. package/dist/progress.js +1 -1
  141. package/dist/{radio-cards-Cu9cBssN.js → radio-cards-FkAhESb5.js} +35 -34
  142. package/dist/radio-cards.js +1 -1
  143. package/dist/{radio-group-TIK0-iPX.js → radio-group-DItMf2YM.js} +18 -17
  144. package/dist/radio-group.js +1 -1
  145. package/dist/{resizable-panels-DUpQEpwG.js → resizable-panels-61h9hA3B.js} +13 -12
  146. package/dist/resizable-panels.js +1 -1
  147. package/dist/{scroll-area-CcZyiSOQ.js → scroll-area-B8KkCPOM.js} +16 -15
  148. package/dist/scroll-area.js +1 -1
  149. package/dist/{search-field-DMvho0KQ.js → search-field-CbsajaZb.js} +93 -92
  150. package/dist/search-field.js +1 -1
  151. package/dist/{segmented-control-8ZUGnsZm.js → segmented-control-DCh-4ca-.js} +26 -25
  152. package/dist/segmented-control.js +1 -1
  153. package/dist/{select-D5rhJ8gi.js → select-SrcQqZjo.js} +27 -26
  154. package/dist/select.js +1 -1
  155. package/dist/sheet-stack-DYX1SGSB.js +820 -0
  156. package/dist/sheet-stack.js +2 -0
  157. package/dist/shortcut-recorder-VgTQdjjn.js +688 -0
  158. package/dist/shortcut-recorder.js +2 -0
  159. package/dist/{signature-pad-_bTeguN9.js → signature-pad-khL2yhQI.js} +15 -14
  160. package/dist/signature-pad.js +1 -1
  161. package/dist/{skeleton-XQQDkCHd.js → skeleton-LJsQsveI.js} +9 -8
  162. package/dist/skeleton.js +1 -1
  163. package/dist/slider-DjAnGmlC.js +535 -0
  164. package/dist/slider.js +1 -1
  165. package/dist/{sortable-data-table-CYKT_Ng7.js → sortable-data-table-Bpitup_d.js} +29 -28
  166. package/dist/sortable-data-table.js +1 -1
  167. package/dist/{spinner-DtxvDPdM.js → spinner-CvzajSg9.js} +11 -10
  168. package/dist/spinner.js +1 -1
  169. package/dist/{split-button-BCw4zZom.js → split-button-Bu41f2AY.js} +20 -19
  170. package/dist/split-button.js +1 -1
  171. package/dist/{stack-DC3IbtWk.js → stack-Bac4sJeI.js} +2 -2
  172. package/dist/stack.js +1 -1
  173. package/dist/{stepper-CruHbXxX.js → stepper-C8Ncavbr.js} +22 -21
  174. package/dist/stepper.js +1 -1
  175. package/dist/stretch-refresh-OrnTEj7P.js +349 -0
  176. package/dist/stretch-refresh.js +2 -0
  177. package/dist/{surface-DZ4d-2aL.js → surface-C69kwSuk.js} +13 -3
  178. package/dist/{swipe-actions-CBuJREU1.js → swipe-actions-1H5UOZKE.js} +26 -25
  179. package/dist/swipe-actions.js +1 -1
  180. package/dist/{switch-C1WrKrf-.js → switch-79-hkQqg.js} +15 -14
  181. package/dist/switch.js +1 -1
  182. package/dist/sx-BJXJ2xJK.js +23 -0
  183. package/dist/{tabs-XluwRjgg.js → tabs-Bb5-noYE.js} +43 -42
  184. package/dist/tabs.js +1 -1
  185. package/dist/{tag-input-DSRCyrX2.js → tag-input-BQaueKEb.js} +5 -5
  186. package/dist/tag-input.js +1 -1
  187. package/dist/{text-field-hU72iSVS.js → text-field-D0VP7b4P.js} +3 -3
  188. package/dist/text-field.js +1 -1
  189. package/dist/{textarea-3k4Y0QQ3.js → textarea-D1YwEPmn.js} +3 -3
  190. package/dist/textarea.js +1 -1
  191. package/dist/theme-provider-BvcY-iJu.js +20 -0
  192. package/dist/theme-root-BrYVcTzt.js +163 -0
  193. package/dist/theme-root.js +1 -1
  194. package/dist/theme-scope-DGWy4H0C.js +62 -0
  195. package/dist/{theme-switch-C505TtU8.js → theme-switch-CP42mVDb.js} +12 -11
  196. package/dist/theme-switch.js +1 -1
  197. package/dist/thread-parts-Cpktor6D.js +683 -0
  198. package/dist/{time-picker-CPlhW0tr.js → time-picker-Tnd-JBLC.js} +16 -15
  199. package/dist/time-picker.js +1 -1
  200. package/dist/{timeline-B0uAAVfT.js → timeline-BcF46lG9.js} +22 -21
  201. package/dist/timeline.js +1 -1
  202. package/dist/{toast-B7wo3sX1.js → toast-CSAbl5yK.js} +12 -11
  203. package/dist/{toast-stack-B40VpS4M.js → toast-stack-BCR4Cu7V.js} +10 -9
  204. package/dist/toast-stack.js +1 -1
  205. package/dist/toast.js +1 -1
  206. package/dist/{toggle-group-B2fpFZwV.js → toggle-group-C7ye1v4s.js} +23 -22
  207. package/dist/toggle-group.js +1 -1
  208. package/dist/{tooltip-BvgVTCTN.js → tooltip-IajLwdUb.js} +48 -39
  209. package/dist/tooltip.js +1 -1
  210. package/dist/{tree-view-j8qLqkb_.js → tree-view-CoW4oJIZ.js} +15 -14
  211. package/dist/tree-view.js +1 -1
  212. package/dist/{trigger-style-B1KVC8O1.js → trigger-style-CtOrdPk4.js} +1 -1
  213. package/dist/types/components/activity-rings/activity-rings.d.ts +113 -0
  214. package/dist/types/components/activity-rings/index.d.ts +2 -0
  215. package/dist/types/components/avatar-group/avatar-group.d.ts +3 -3
  216. package/dist/types/components/billing-toggle/billing-toggle.d.ts +57 -0
  217. package/dist/types/components/billing-toggle/index.d.ts +2 -0
  218. package/dist/types/components/button/button.d.ts +7 -7
  219. package/dist/types/components/button-group/button-group.d.ts +72 -0
  220. package/dist/types/components/button-group/index.d.ts +2 -0
  221. package/dist/types/components/card/card.d.ts +7 -1
  222. package/dist/types/components/chat-thread/chat-thread.d.ts +130 -0
  223. package/dist/types/components/chat-thread/index.d.ts +2 -0
  224. package/dist/types/components/chip-group/chip-group.d.ts +2 -2
  225. package/dist/types/components/combobox/combobox.d.ts +2 -2
  226. package/dist/types/components/command-palette/command-palette.d.ts +1 -1
  227. package/dist/types/components/comment-thread/comment-thread.d.ts +7 -7
  228. package/dist/types/components/copy-button/copy-button.d.ts +6 -6
  229. package/dist/types/components/countdown/countdown.d.ts +2 -2
  230. package/dist/types/components/dialog/dialog.d.ts +18 -20
  231. package/dist/types/components/drawer/drawer.d.ts +7 -1
  232. package/dist/types/components/emblem/emblem.d.ts +59 -0
  233. package/dist/types/components/emblem/index.d.ts +2 -0
  234. package/dist/types/components/empty-state/empty-state.d.ts +2 -2
  235. package/dist/types/components/file-dropzone/file-dropzone.d.ts +3 -4
  236. package/dist/types/components/filter-toolbar/filter-toolbar.d.ts +2 -2
  237. package/dist/types/components/game-card/card-frame.d.ts +16 -0
  238. package/dist/types/components/game-card/decks.d.ts +27 -0
  239. package/dist/types/components/game-card/game-card.d.ts +37 -0
  240. package/dist/types/components/game-card/index.d.ts +4 -0
  241. package/dist/types/components/hold-to-confirm/hold-to-confirm.d.ts +1 -1
  242. package/dist/types/components/hover-card/hover-card.d.ts +5 -5
  243. package/dist/types/components/in-view-title/in-view-title.d.ts +23 -0
  244. package/dist/types/components/in-view-title/index.d.ts +1 -0
  245. package/dist/types/components/inline-edit/inline-edit.d.ts +6 -6
  246. package/dist/types/components/json-viewer/json-viewer.d.ts +7 -9
  247. package/dist/types/components/keycap-keyboard/index.d.ts +2 -0
  248. package/dist/types/components/keycap-keyboard/keycap-keyboard.d.ts +32 -0
  249. package/dist/types/components/lightbox-gallery/index.d.ts +2 -0
  250. package/dist/types/components/lightbox-gallery/lightbox-gallery.d.ts +74 -0
  251. package/dist/types/components/link-unfurl/index.d.ts +2 -0
  252. package/dist/types/components/link-unfurl/link-unfurl.d.ts +104 -0
  253. package/dist/types/components/locale-switcher/index.d.ts +2 -0
  254. package/dist/types/components/locale-switcher/locale-switcher.d.ts +64 -0
  255. package/dist/types/components/mention-input/mention-input.d.ts +7 -7
  256. package/dist/types/components/menu/menu.d.ts +29 -5
  257. package/dist/types/components/metric-card/metric-card.d.ts +2 -2
  258. package/dist/types/components/navigation/navigation.d.ts +1 -1
  259. package/dist/types/components/next/emotion-registry.d.ts +14 -0
  260. package/dist/types/components/next/index.d.ts +2 -0
  261. package/dist/types/components/next/registry.d.ts +21 -0
  262. package/dist/types/components/now-playing/index.d.ts +1 -0
  263. package/dist/types/components/now-playing/now-playing.d.ts +88 -0
  264. package/dist/types/components/password-field/password-field.d.ts +1 -1
  265. package/dist/types/components/photo-grid/index.d.ts +2 -0
  266. package/dist/types/components/photo-grid/photo-grid.d.ts +82 -0
  267. package/dist/types/components/progress/progress.d.ts +1 -1
  268. package/dist/types/components/select/select.d.ts +1 -1
  269. package/dist/types/components/sheet-stack/index.d.ts +2 -0
  270. package/dist/types/components/sheet-stack/sheet-stack.d.ts +81 -0
  271. package/dist/types/components/shortcut-recorder/index.d.ts +2 -0
  272. package/dist/types/components/shortcut-recorder/shortcut-recorder.d.ts +117 -0
  273. package/dist/types/components/signature-pad/signature-pad.d.ts +2 -2
  274. package/dist/types/components/split-button/split-button.d.ts +3 -4
  275. package/dist/types/components/stretch-refresh/index.d.ts +1 -0
  276. package/dist/types/components/stretch-refresh/stretch-refresh.d.ts +49 -0
  277. package/dist/types/components/swipe-actions/swipe-actions.d.ts +1 -2
  278. package/dist/types/components/tag-input/tag-input.d.ts +2 -3
  279. package/dist/types/components/theme-root/index.d.ts +1 -0
  280. package/dist/types/components/theme-root/theme-root.d.ts +10 -3
  281. package/dist/types/components/theme-switch/theme-switch.d.ts +3 -3
  282. package/dist/types/components/{comment-thread → thread}/thread-parts.d.ts +7 -2
  283. package/dist/types/components/time-picker/time-picker.d.ts +2 -2
  284. package/dist/types/components/timeline/timeline.d.ts +4 -4
  285. package/dist/types/components/toast/toast.d.ts +3 -3
  286. package/dist/types/components/tooltip/tooltip.d.ts +8 -1
  287. package/dist/types/components/tree-view/tree-view.d.ts +4 -3
  288. package/dist/types/components/typewriter-terminal/index.d.ts +2 -0
  289. package/dist/types/components/typewriter-terminal/typewriter-terminal.d.ts +87 -0
  290. package/dist/types/components/usage-meter/usage-meter.d.ts +6 -16
  291. package/dist/types/components/usage-meter/usage-model.d.ts +30 -0
  292. package/dist/types/components/user-menu/index.d.ts +2 -0
  293. package/dist/types/components/user-menu/user-menu.d.ts +118 -0
  294. package/dist/types/index.d.ts +18 -1
  295. package/dist/types/overlay/exit-motion.d.ts +24 -0
  296. package/dist/types/overlay/presence-spring.d.ts +12 -0
  297. package/dist/types/overlay/use-native-dialog.d.ts +10 -1
  298. package/dist/types/styling/create-theme.d.ts +24 -0
  299. package/dist/types/styling/css.d.ts +1 -1
  300. package/dist/types/styling/motion-timings.d.ts +5 -0
  301. package/dist/types/styling/overlay-motion.d.ts +95 -0
  302. package/dist/types/styling/surface.d.ts +7 -0
  303. package/dist/types/styling/sx.d.ts +1 -1
  304. package/dist/types/styling/theme-scope.d.ts +29 -3
  305. package/dist/types/styling/theme.d.ts +15 -0
  306. package/dist/types/utils/initials.d.ts +2 -0
  307. package/dist/typewriter-terminal-BUEsMzo3.js +588 -0
  308. package/dist/typewriter-terminal.js +2 -0
  309. package/dist/{usage-meter-qyQ3rYVv.js → usage-meter-CYvlB6l3.js} +165 -175
  310. package/dist/usage-meter.js +1 -1
  311. package/dist/usage-model-C0fS47w4.js +32 -0
  312. package/dist/use-native-dialog-FB0p7lkg.js +93 -0
  313. package/dist/use-scroll-lock-40gXwwAy.js +23 -0
  314. package/dist/user-menu-MctRu_Lh.js +757 -0
  315. package/dist/user-menu.js +2 -0
  316. package/dist/{visually-hidden-BJdvqqvn.js → visually-hidden-DgVO3NaB.js} +1 -1
  317. package/package.json +87 -5
  318. package/dist/avatar-CaGJHy1N.js +0 -145
  319. package/dist/calendar-BzJdv_SZ.js +0 -449
  320. package/dist/card-Ca4KQKYQ.js +0 -154
  321. package/dist/command-palette-BmQu2w4H.js +0 -391
  322. package/dist/comment-thread-ASaXDcGo.js +0 -1410
  323. package/dist/date-range-picker-DQpUeKqV.js +0 -570
  324. package/dist/dialog-BX1zYMs-.js +0 -219
  325. package/dist/drawer-DsASTiP-.js +0 -553
  326. package/dist/elastic-slider-BG6K019r.js +0 -395
  327. package/dist/elastic-slider.js +0 -2
  328. package/dist/slider-DVG6-Awh.js +0 -308
  329. package/dist/sx-Dx9JUKp5.js +0 -23
  330. package/dist/theme-root-Bs1U3uPA.js +0 -46
  331. package/dist/theme-scope-t7nAKc2c.js +0 -27
  332. package/dist/types/components/elastic-slider/elastic-slider.d.ts +0 -53
  333. package/dist/types/components/elastic-slider/index.d.ts +0 -1
  334. package/dist/use-native-dialog-DWpIUVO1.js +0 -84
  335. package/dist/use-slider-interaction-ChL-208h.js +0 -234
  336. /package/dist/types/components/{comment-thread → thread}/thread-core.d.ts +0 -0
@@ -1,9 +1,10 @@
1
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, r as i } from "./media-8yrN85VT.js";
2
+ import { i as e } from "./css-BYJhdGh-.js";
3
+ import { n as t } from "./focus-ring-BK5W5_NY.js";
4
+ import { n, r } from "./media-8yrN85VT.js";
5
+ import { t as i } from "./sx-BJXJ2xJK.js";
5
6
  import { t as a } from "./use-controlled-state-DpeVQZNR.js";
6
- import { t as o } from "./button-NLY0h6EJ.js";
7
+ import { t as o } from "./button-C6OV0C7J.js";
7
8
  import { useEffect as s, useId as ee, useMemo as te, useRef as c, useState as l } from "react";
8
9
  import { vars as u } from "@jfrader/tokens/vars";
9
10
  import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
@@ -32,7 +33,7 @@ var m = 0, h = 100, g = 50, ne = 1, re = 10, ie = ["Before", "After"], ae = "Ima
32
33
  background: u.color.surfaceInset,
33
34
  userSelect: "none",
34
35
  "&[data-disabled]": { cursor: "default" },
35
- [r]: { borderColor: "CanvasText" }
36
+ [n]: { borderColor: "CanvasText" }
36
37
  }), me = {
37
38
  horizontal: e({
38
39
  touchAction: "pan-y",
@@ -71,7 +72,7 @@ var m = 0, h = 100, g = 50, ne = 1, re = 10, ie = ["Before", "After"], ae = "Ima
71
72
  fontSize: u.textSize.xs,
72
73
  fontWeight: u.fontWeight.medium,
73
74
  pointerEvents: "none",
74
- [r]: { borderColor: "CanvasText" }
75
+ [n]: { borderColor: "CanvasText" }
75
76
  }), ge = e({
76
77
  insetBlockStart: u.space[3],
77
78
  insetInlineStart: u.space[3]
@@ -89,7 +90,7 @@ var m = 0, h = 100, g = 50, ne = 1, re = 10, ie = ["Before", "After"], ae = "Ima
89
90
  boxSizing: "border-box",
90
91
  background: u.color.text,
91
92
  pointerEvents: "none",
92
- [r]: {
93
+ [n]: {
93
94
  forcedColorAdjust: "none",
94
95
  background: "CanvasText",
95
96
  borderColor: "Canvas"
@@ -132,9 +133,9 @@ var m = 0, h = 100, g = 50, ne = 1, re = 10, ie = ["Before", "After"], ae = "Ima
132
133
  cursor: "default",
133
134
  color: u.color.textMuted
134
135
  },
135
- "&:focus-visible": n,
136
- [i]: { transitionDuration: "0s" },
137
- [r]: {
136
+ "&:focus-visible": t,
137
+ [r]: { transitionDuration: "0s" },
138
+ [n]: {
138
139
  forcedColorAdjust: "none",
139
140
  background: "Canvas",
140
141
  borderColor: "CanvasText",
@@ -184,11 +185,11 @@ function D(e, t) {
184
185
  function O(e) {
185
186
  return e !== void 0 && Number.isFinite(e) ? E(e) : g;
186
187
  }
187
- function k({ ref: e, before: n, after: r, value: i, defaultValue: u, onValueChange: le, onValueCommit: y, orientation: b = "horizontal", step: x, largeStep: S, labels: C = ie, label: k = ae, valueText: Ee = de, locale: A, aspectRatio: De = se, disabled: j = !1, showReset: Oe = !0, resetLabel: ke = oe, slotProps: M, className: Ae, sx: je, onKeyDown: Me, ...Ne }) {
188
- let N = ee(), P = D(x, ne), F = D(S, re), [Pe] = l(() => O(u)), [Fe, Ie] = a(i, Pe, le), I = O(Fe), Le = te(() => new Intl.NumberFormat(A, ce), [A]), L = c(null), R = c(null), Re = p([L, M?.frame?.ref]), ze = p([R, M?.handle?.ref]), z = c(null), [Be, B] = l(!1), V = b === "horizontal";
188
+ function k({ ref: e, before: t, after: n, value: r, defaultValue: u, onValueChange: le, onValueCommit: y, orientation: b = "horizontal", step: x, largeStep: S, labels: C = ie, label: k = ae, valueText: Ee = de, locale: A, aspectRatio: De = se, disabled: j = !1, showReset: Oe = !0, resetLabel: ke = oe, slotProps: M, className: Ae, sx: je, onKeyDown: Me, ...Ne }) {
189
+ let N = ee(), P = D(x, ne), F = D(S, re), [Pe] = l(() => O(u)), [Fe, Ie] = a(r, Pe, le), I = O(Fe), Le = te(() => new Intl.NumberFormat(A, ce), [A]), L = c(null), R = c(null), Re = p([L, M?.frame?.ref]), ze = p([R, M?.handle?.ref]), z = c(null), [Be, B] = l(!1), V = b === "horizontal";
189
190
  s(() => {
190
- if (process.env.NODE_ENV !== "production") for (let [e, t] of [["value", i], ["defaultValue", u]]) t !== void 0 && !Number.isFinite(t) && console.warn(`ImageCompare: ${e} ${t} is not finite; showing ${g}%.`);
191
- }, [i, u]);
191
+ if (process.env.NODE_ENV !== "production") for (let [e, t] of [["value", r], ["defaultValue", u]]) t !== void 0 && !Number.isFinite(t) && console.warn(`ImageCompare: ${e} ${t} is not finite; showing ${g}%.`);
192
+ }, [r, u]);
192
193
  let H = (e) => e !== I && (Ie(e), !0), U = (e) => {
193
194
  H(e) && y?.(e);
194
195
  }, W = (e) => {
@@ -267,14 +268,14 @@ function k({ ref: e, before: n, after: r, value: i, defaultValue: u, onValueChan
267
268
  aspectRatio: De,
268
269
  [_]: `${I}%`
269
270
  }, Ye = Le.format(I / h);
270
- return /* @__PURE__ */ d(t, {
271
+ return /* @__PURE__ */ d(i, {
271
272
  className: Ae,
272
273
  styles: fe,
273
274
  sx: je,
274
- children: (t) => /* @__PURE__ */ f("div", {
275
+ children: (r) => /* @__PURE__ */ f("div", {
275
276
  ...Ne,
276
277
  ref: e,
277
- className: t,
278
+ className: r,
278
279
  "data-ui": "image-compare",
279
280
  "data-orientation": b,
280
281
  "data-disabled": j || void 0,
@@ -315,7 +316,7 @@ function k({ ref: e, before: n, after: r, value: i, defaultValue: u, onValueChan
315
316
  ...M?.after,
316
317
  "data-ui": "image-compare-after",
317
318
  css: [w, M?.after?.css],
318
- children: [r, X && /* @__PURE__ */ d("span", {
319
+ children: [n, X && /* @__PURE__ */ d("span", {
319
320
  ...M?.afterLabel,
320
321
  id: X,
321
322
  "aria-hidden": "true",
@@ -336,7 +337,7 @@ function k({ ref: e, before: n, after: r, value: i, defaultValue: u, onValueChan
336
337
  he[b],
337
338
  M?.before?.css
338
339
  ],
339
- children: [n, Y && /* @__PURE__ */ d("span", {
340
+ children: [t, Y && /* @__PURE__ */ d("span", {
340
341
  ...M?.beforeLabel,
341
342
  id: Y,
342
343
  "aria-hidden": "true",
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- export { t as ImageCompare } from "./image-compare-BxY8Ykzt.js";
2
+ export { t as ImageCompare } from "./image-compare-Ln2UUqTU.js";
@@ -0,0 +1,225 @@
1
+ 'use client';
2
+ import { a as e, i as t } from "./css-BYJhdGh-.js";
3
+ import { n, r } from "./media-8yrN85VT.js";
4
+ import { t as i } from "./sx-BJXJ2xJK.js";
5
+ import { t as a } from "./visually-hidden-DgVO3NaB.js";
6
+ import { useCallback as o, useEffect as s, useMemo as c, useState as l } from "react";
7
+ import { vars as u } from "@jfrader/tokens/vars";
8
+ import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
9
+ //#region src/components/in-view-title/in-view-title.tsx
10
+ var p = {
11
+ 1: "h1",
12
+ 2: "h2",
13
+ 3: "h3",
14
+ 4: "h4",
15
+ 5: "h5",
16
+ 6: "h6"
17
+ }, m = .45, h = "0.15em", g = e({
18
+ from: { transform: "translateY(0.6em)" },
19
+ to: { transform: "none" }
20
+ }), _ = e({
21
+ from: { opacity: 0 },
22
+ to: { opacity: 1 }
23
+ }), v = e({
24
+ from: { filter: "blur(0.12em)" },
25
+ to: { filter: "none" }
26
+ }), y = e({
27
+ from: { letterSpacing: "-0.04em" },
28
+ to: { letterSpacing: "inherit" }
29
+ }), b = e({
30
+ from: {
31
+ maskImage: `linear-gradient(to right, ${u.color.text} 50%, transparent 50%)`,
32
+ maskSize: "200% 100%",
33
+ maskPosition: "100% 0"
34
+ },
35
+ to: {
36
+ maskImage: `linear-gradient(to right, ${u.color.text} 50%, transparent 50%)`,
37
+ maskSize: "200% 100%",
38
+ maskPosition: "0% 0"
39
+ }
40
+ }), x = e({
41
+ from: {
42
+ maskImage: `linear-gradient(to left, ${u.color.text} 50%, transparent 50%)`,
43
+ maskSize: "200% 100%",
44
+ maskPosition: "0% 0"
45
+ },
46
+ to: {
47
+ maskImage: `linear-gradient(to left, ${u.color.text} 50%, transparent 50%)`,
48
+ maskSize: "200% 100%",
49
+ maskPosition: "100% 0"
50
+ }
51
+ }), S = (e, t) => `${e} ${t} ${u.motion.easeStandard} var(--in-view-delay, 0ms) backwards`, C = {
52
+ word: t({ animation: `${S(g, u.motion.duration.slow)}, ${S(_, u.motion.duration.fast)}` }),
53
+ line: t({ animation: `${S(g, u.motion.duration.slow)}, ${S(_, u.motion.duration.fast)}` }),
54
+ blur: t({ animation: `${S(g, u.motion.duration.base)}, ${S(v, u.motion.duration.base)}, ${S(_, u.motion.duration.fast)}` }),
55
+ tracking: t({ animation: `${S(y, u.motion.duration.base)}, ${S(_, u.motion.duration.fast)}` }),
56
+ wipe: t({
57
+ animation: S(b, u.motion.duration.slow),
58
+ "&:dir(rtl)": { animation: S(x, u.motion.duration.slow) }
59
+ })
60
+ }, w = t({
61
+ position: "relative",
62
+ margin: 0,
63
+ minInlineSize: 0,
64
+ maxInlineSize: "100%",
65
+ color: u.color.text,
66
+ font: "inherit",
67
+ "& [data-in-view-plain]": { display: "none" },
68
+ "&:not([data-state=\"revealing\"]) [data-in-view-segment]": { animation: "none" },
69
+ [r]: {
70
+ "& [data-in-view-parts]": { display: "none" },
71
+ "& [data-in-view-plain]": {
72
+ display: "inline",
73
+ whiteSpace: "pre-wrap"
74
+ },
75
+ "& [data-in-view-segment]": {
76
+ animation: "none",
77
+ transform: "none",
78
+ filter: "none",
79
+ maskImage: "none",
80
+ opacity: 1
81
+ }
82
+ },
83
+ [n]: {
84
+ color: "CanvasText",
85
+ "& [data-in-view-parts]": { display: "none" },
86
+ "& [data-in-view-plain]": {
87
+ display: "inline",
88
+ whiteSpace: "pre-wrap"
89
+ },
90
+ "& [data-in-view-segment]": {
91
+ animation: "none",
92
+ transform: "none",
93
+ filter: "none",
94
+ maskImage: "none",
95
+ opacity: 1
96
+ }
97
+ }
98
+ }), T = t({
99
+ whiteSpace: "pre-wrap",
100
+ overflowWrap: "anywhere"
101
+ }), E = t({
102
+ display: "block",
103
+ minInlineSize: 0,
104
+ maxInlineSize: "100%"
105
+ }), D = {
106
+ word: !0,
107
+ line: !0,
108
+ blur: !0,
109
+ tracking: !1,
110
+ wipe: !1
111
+ }, O = t({
112
+ display: "inline-block",
113
+ verticalAlign: "bottom",
114
+ maxInlineSize: "100%",
115
+ overflowX: "visible",
116
+ overflowY: "clip",
117
+ paddingBlock: h,
118
+ marginBlock: `-${h}`
119
+ }), k = t({
120
+ display: "inline-block",
121
+ maxInlineSize: "100%",
122
+ verticalAlign: "bottom"
123
+ });
124
+ function A({ text: e, level: t = 2, variant: n = "blur", once: r = !0, locale: h, slotProps: g, ref: v, className: y, sx: b, ...x }) {
125
+ let [S, A] = l(null), j = o((e) => {
126
+ A(e);
127
+ let t = typeof v == "function" ? v(e) : void 0;
128
+ return v && typeof v != "function" && (v.current = e), () => {
129
+ A(null), typeof t == "function" ? t() : typeof v == "function" ? v(null) : v && (v.current = null);
130
+ };
131
+ }, [v]);
132
+ s(() => {
133
+ if (!S) return;
134
+ let t = S.ownerDocument.defaultView;
135
+ if (S.dataset.state = "settled", !t) return;
136
+ let n = !0, i = !1, a, o = !1, s = S.getBoundingClientRect().top > t.innerHeight, c = !s, l, u, d = () => {
137
+ n && (S.dataset.state = "settled");
138
+ }, f = () => {
139
+ d(), a?.disconnect(), s = !1, i = !0;
140
+ }, p = (e) => {
141
+ let n = e.target;
142
+ n instanceof t.HTMLElement && n.hasAttribute("data-in-view-last") && S.dataset.state === "revealing" && e.animationName !== _.name && (d(), r && a?.disconnect());
143
+ }, h = () => {
144
+ (l?.matches || u?.matches) && f();
145
+ }, g = () => {
146
+ S.id && t.location.hash.slice(1) === S.id && f();
147
+ }, v = () => {
148
+ let e = S.ownerDocument.getSelection();
149
+ e?.anchorNode && S.contains(e.anchorNode) && f();
150
+ };
151
+ try {
152
+ if (l = t.matchMedia("(prefers-reduced-motion: reduce)"), u = t.matchMedia("(forced-colors: active)"), !e.trim() || !t.IntersectionObserver || !t.CSS?.supports("animation-name", "none") || l.matches || u.matches || (g(), i || !s && r)) return;
153
+ a = new t.IntersectionObserver((e) => {
154
+ if (n && !i) for (let t of e) t.target === S && (!t.isIntersecting || t.intersectionRatio === 0 ? (c && (d(), r ? o && a?.disconnect() : s = !0), o = !1) : (c = !0, t.intersectionRatio >= m && !o && (o = !0, s &&= (S.dataset.state = "revealing", !1))));
155
+ }, { threshold: [0, m] }), s && (S.dataset.state = "idle"), a.observe(S), S.addEventListener("animationend", p), S.addEventListener("focusin", f), S.ownerDocument.addEventListener("selectionchange", v), t.addEventListener("hashchange", g), l.addEventListener("change", h), u.addEventListener("change", h);
156
+ } catch {
157
+ f();
158
+ }
159
+ return () => {
160
+ n = !1, a?.disconnect(), S.removeEventListener("animationend", p), S.removeEventListener("focusin", f), S.ownerDocument.removeEventListener("selectionchange", v), t.removeEventListener("hashchange", g), l?.removeEventListener("change", h), u?.removeEventListener("change", h);
161
+ };
162
+ }, [
163
+ S,
164
+ e,
165
+ n,
166
+ r,
167
+ h
168
+ ]);
169
+ let M = p[t], N = n === "tracking" || n === "wipe", P = c(() => typeof Intl.Segmenter == "function" ? new Intl.Segmenter(h, { granularity: "word" }) : void 0, [h]), F = (N ? [e] : e.split("\n")).map((e) => n === "line" || N || !P ? [e] : Array.from(P.segment(e), ({ segment: e }) => e)), I = F.flat().filter((e) => e.trim()).length;
170
+ return /* @__PURE__ */ d(i, {
171
+ className: y,
172
+ styles: w,
173
+ sx: b,
174
+ children: (t) => {
175
+ let r = 0;
176
+ return /* @__PURE__ */ f(M, {
177
+ ...x,
178
+ ref: j,
179
+ "data-ui": "in-view-title",
180
+ "data-state": "settled",
181
+ className: t,
182
+ children: [/* @__PURE__ */ d("span", {
183
+ css: a,
184
+ children: e.replace(/\s+/gu, " ").trim()
185
+ }), /* @__PURE__ */ f("span", {
186
+ "data-ui": "in-view-title-visual",
187
+ "aria-hidden": "true",
188
+ className: g?.visual?.className,
189
+ css: [T, g?.visual?.css],
190
+ children: [/* @__PURE__ */ d("span", {
191
+ "data-in-view-plain": "",
192
+ children: e
193
+ }), /* @__PURE__ */ d("span", {
194
+ "data-in-view-parts": "",
195
+ children: F.map((e, t) => /* @__PURE__ */ d("span", {
196
+ css: !N && E,
197
+ children: e.map((e, t) => {
198
+ if (!e.trim()) return /* @__PURE__ */ d("span", { children: e || "​" }, t);
199
+ let i = r++;
200
+ return /* @__PURE__ */ d("span", {
201
+ css: D[n] && O,
202
+ children: /* @__PURE__ */ d("span", {
203
+ "data-in-view-segment": "",
204
+ "data-in-view-last": i === I - 1 ? "" : void 0,
205
+ className: g?.segment?.className,
206
+ style: { "--in-view-delay": `calc(${u.motion.duration.slow} * ${I > 1 ? i / (I - 1) : 0})` },
207
+ css: [
208
+ k,
209
+ C[n],
210
+ g?.segment?.css
211
+ ],
212
+ children: e
213
+ })
214
+ }, t);
215
+ })
216
+ }, t))
217
+ })]
218
+ })]
219
+ });
220
+ }
221
+ });
222
+ }
223
+ A.displayName = "InViewTitle";
224
+ //#endregion
225
+ export { A as t };
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ export { t as InViewTitle } from "./in-view-title-BUZCMqge.js";
package/dist/index.js CHANGED
@@ -1,85 +1,104 @@
1
1
  'use client';
2
- import { t as e } from "./accordion-DLul6vIl.js";
3
- import { t } from "./alert-DS_einpy.js";
4
- import { t as n } from "./button-NLY0h6EJ.js";
5
- import { t as r } from "./countdown-Dp_TD1VP.js";
6
- import { t as i } from "./announcement-bar-Dlbq5-9D.js";
7
- import { t as a } from "./avatar-CaGJHy1N.js";
8
- import { t as o } from "./avatar-group-M1opAQEG.js";
9
- import { t as s } from "./badge-CjM5Agqk.js";
10
- import { t as c } from "./bottom-sheet-DjZOPq4k.js";
11
- import { t as l } from "./breadcrumbs-BDK_LiwH.js";
12
- import { t as u } from "./calendar-BzJdv_SZ.js";
13
- import { t as d } from "./card-Ca4KQKYQ.js";
14
- import { t as f } from "./carousel-B7OrvD6J.js";
15
- import { t as p } from "./checkbox-DKSzExj2.js";
16
- import { t as m } from "./chip-group-DjQ0_6Y9.js";
17
- import { t as h } from "./copy-button-DCSLcYS-.js";
18
- import { t as g } from "./code-block-B5we2lZa.js";
19
- import { t as _ } from "./command-palette-BmQu2w4H.js";
20
- import { t as v } from "./text-field-hU72iSVS.js";
21
- import { t as y } from "./combobox-DFFqOBCi.js";
22
- import { t as b } from "./comment-thread-ASaXDcGo.js";
23
- import { t as x } from "./textarea-3k4Y0QQ3.js";
24
- import { t as S } from "./container-BOaSptJa.js";
25
- import { t as C } from "./menu-DDKgmK2F.js";
26
- import { t as w } from "./context-menu-__1c2Dk9.js";
27
- import { t as T } from "./date-picker-BiPN7yeK.js";
28
- import { t as E } from "./date-range-picker-DQpUeKqV.js";
29
- import { t as D } from "./dialog-BX1zYMs-.js";
30
- import { t as O } from "./divider-Cp7aNbhM.js";
31
- import { t as k } from "./drawer-DsASTiP-.js";
32
- import { t as A } from "./elastic-slider-BG6K019r.js";
33
- import { t as j } from "./empty-state-CDgrjPPf.js";
34
- import { t as M } from "./expandable-card-rUATve0o.js";
35
- import { t as N } from "./search-field-DMvho0KQ.js";
36
- import { t as P } from "./expanding-search-BxOwtdwt.js";
37
- import { t as F } from "./progress-DAQkfhPd.js";
38
- import { t as I } from "./file-dropzone-BuXm3Tea.js";
39
- import { t as L } from "./filter-toolbar-Cy5Hqur-.js";
40
- import { t as R } from "./flex-Dh-_J5-U.js";
41
- import { t as z } from "./hold-to-confirm-DjB2EVjM.js";
42
- import { t as B } from "./image-compare-BxY8Ykzt.js";
43
- import { t as V } from "./inline-edit-C0eeml65.js";
44
- import { t as H } from "./hover-card-CoMJKg1g.js";
45
- import { t as U } from "./json-viewer-DgWqyU75.js";
46
- import { t as W } from "./kbd-C3ACoMoE.js";
47
- import { n as G, r as K, t as q } from "./mention-input-sq61si9L.js";
48
- import { t as J } from "./pill-BaS-uIbn.js";
49
- import { t as Y } from "./metric-card--lVTz5Wn.js";
50
- import { t as X } from "./multi-select-DG1BCFX7.js";
51
- import { t as Z } from "./navigation-CC26JDr-.js";
52
- import { t as Q } from "./pagination-BfkeWbmP.js";
53
- import { t as $ } from "./password-field-03pWRkuY.js";
54
- import { t as ee } from "./popover-CErIw2q3.js";
55
- import { t as te } from "./radio-cards-Cu9cBssN.js";
56
- import { t as ne } from "./radio-group-TIK0-iPX.js";
57
- import { t as re } from "./resizable-panels-DUpQEpwG.js";
58
- import { t as ie } from "./scroll-area-CcZyiSOQ.js";
59
- import { t as ae } from "./segmented-control-8ZUGnsZm.js";
60
- import { t as oe } from "./select-D5rhJ8gi.js";
61
- import { i as se, n as ce, r as le, t as ue } from "./signature-pad-_bTeguN9.js";
62
- import { t as de } from "./skeleton-XQQDkCHd.js";
63
- import { t as fe } from "./slider-DVG6-Awh.js";
64
- import { t as pe } from "./sortable-data-table-CYKT_Ng7.js";
65
- import { t as me } from "./spinner-DtxvDPdM.js";
66
- import { t as he } from "./split-button-BCw4zZom.js";
67
- import { t as ge } from "./stack-DC3IbtWk.js";
68
- import { t as _e } from "./stepper-CruHbXxX.js";
69
- import { t as ve } from "./swipe-actions-CBuJREU1.js";
70
- import { t as ye } from "./switch-C1WrKrf-.js";
71
- import { t as be } from "./tabs-XluwRjgg.js";
72
- import { t as xe } from "./tag-input-DSRCyrX2.js";
73
- import { i as Se, n as Ce, r as we, t as Te } from "./theme-root-Bs1U3uPA.js";
74
- import { t as Ee } from "./theme-switch-C505TtU8.js";
75
- import { t as De } from "./time-picker-CPlhW0tr.js";
76
- import { t as Oe } from "./timeline-B0uAAVfT.js";
77
- import { a as ke, n as Ae } from "./toast-B7wo3sX1.js";
2
+ import { t as e } from "./accordion-D6myONB9.js";
3
+ import { t } from "./activity-rings-Uszvwqdl.js";
4
+ import { t as n } from "./alert-Bhj-qSMs.js";
5
+ import { t as r } from "./button-C6OV0C7J.js";
6
+ import { t as i } from "./countdown-EcpV6rXy.js";
7
+ import { t as a } from "./announcement-bar-B5J33QUh.js";
8
+ import { t as o } from "./avatar-sPxDqFiZ.js";
9
+ import { t as s } from "./avatar-group-BlMLNw4J.js";
10
+ import { t as c } from "./badge-CfhTcA-Z.js";
11
+ import { t as l } from "./segmented-control-DCh-4ca-.js";
12
+ import { t as u } from "./billing-toggle-CgC7yxxo.js";
13
+ import { t as d } from "./bottom-sheet-BFQKO0Wo.js";
14
+ import { t as f } from "./breadcrumbs-CG3akw-b.js";
15
+ import { t as p } from "./menu-CVzpsyXn.js";
16
+ import { t as m } from "./tooltip-IajLwdUb.js";
17
+ import { t as h } from "./button-group-B9wP2ddS.js";
18
+ import { t as g } from "./calendar-Bg6D2sul.js";
19
+ import { t as _ } from "./card-C008OQCp.js";
20
+ import { t as v } from "./carousel-lTH4Foke.js";
21
+ import { t as y } from "./textarea-D1YwEPmn.js";
22
+ import { t as b } from "./chat-thread-DkB-WMWJ.js";
23
+ import { t as x } from "./checkbox-CClE61GV.js";
24
+ import { t as S } from "./chip-group-BZUX9KPF.js";
25
+ import { t as C } from "./copy-button-C0p_qrgf.js";
26
+ import { t as w } from "./code-block-CYP89_6h.js";
27
+ import { t as T } from "./command-palette-BrT1n9bb.js";
28
+ import { t as E } from "./text-field-D0VP7b4P.js";
29
+ import { t as D } from "./combobox-D2Oc-co7.js";
30
+ import { t as O } from "./comment-thread-DXfqgRNI.js";
31
+ import { t as k } from "./container-BxtwJSSD.js";
32
+ import { t as A } from "./context-menu-I4i0LRpm.js";
33
+ import { t as j } from "./date-picker-D-bn-iHs.js";
34
+ import { t as M } from "./date-range-picker-rXcZsI1Y.js";
35
+ import { t as N } from "./dialog-CR1xdkrC.js";
36
+ import { t as P } from "./divider-zOJzkcHh.js";
37
+ import { t as F } from "./drawer-CceaEhCr.js";
38
+ import { t as I } from "./emblem-DnXmpZCh.js";
39
+ import { t as L } from "./empty-state-DO0ApylK.js";
40
+ import { t as R } from "./expandable-card-W97vjix9.js";
41
+ import { t as z } from "./search-field-CbsajaZb.js";
42
+ import { t as B } from "./expanding-search-Bb2_YfNx.js";
43
+ import { t as V } from "./progress-Bcuz3Ob4.js";
44
+ import { t as H } from "./file-dropzone-Bi5ikRIz.js";
45
+ import { t as U } from "./filter-toolbar-QRnC4S_H.js";
46
+ import { t as W } from "./flex-CS7eMRcK.js";
47
+ import { i as G, n as K, r as q, t as J } from "./game-card-Oeu74giK.js";
48
+ import { t as Y } from "./hold-to-confirm-CVBA0wNT.js";
49
+ import { t as X } from "./image-compare-Ln2UUqTU.js";
50
+ import { t as Z } from "./in-view-title-BUZCMqge.js";
51
+ import { t as Q } from "./inline-edit-D-pR2RPC.js";
52
+ import { t as $ } from "./hover-card-Dgu2CwMD.js";
53
+ import { t as ee } from "./json-viewer-Dro3WrjS.js";
54
+ import { t as te } from "./kbd-BI_9qzYr.js";
55
+ import { t as ne } from "./keycap-keyboard-Cdx-OAS1.js";
56
+ import { t as re } from "./lightbox-gallery-D0YaSTut.js";
57
+ import { t as ie } from "./link-unfurl-CReyIjyy.js";
58
+ import { t as ae } from "./locale-switcher-DTkySKsM.js";
59
+ import { n as oe, r as se, t as ce } from "./mention-input-BjjAbJCf.js";
60
+ import { t as le } from "./pill-Dd7pog19.js";
61
+ import { t as ue } from "./metric-card-BnFssTXj.js";
62
+ import { t as de } from "./multi-select-B3puEVo0.js";
63
+ import { t as fe } from "./navigation-C_JD43gA.js";
64
+ import { t as pe } from "./slider-DjAnGmlC.js";
65
+ import { n as me, t as he } from "./now-playing-DjVm1Phm.js";
66
+ import { t as ge } from "./pagination-Dkh4bJQh.js";
67
+ import { t as _e } from "./password-field-Da58GP1g.js";
68
+ import { t as ve } from "./photo-grid-Dtl17D74.js";
69
+ import { t as ye } from "./popover-CUMOcMtj.js";
70
+ import { t as be } from "./radio-cards-FkAhESb5.js";
71
+ import { t as xe } from "./radio-group-DItMf2YM.js";
72
+ import { t as Se } from "./resizable-panels-61h9hA3B.js";
73
+ import { t as Ce } from "./scroll-area-B8KkCPOM.js";
74
+ import { t as we } from "./select-SrcQqZjo.js";
75
+ import { n as Te, t as Ee } from "./sheet-stack-DYX1SGSB.js";
76
+ import { a as De, i as Oe, n as ke, o as Ae, r as je, s as Me, t as Ne } from "./shortcut-recorder-VgTQdjjn.js";
77
+ import { i as Pe, n as Fe, r as Ie, t as Le } from "./signature-pad-khL2yhQI.js";
78
+ import { t as Re } from "./skeleton-LJsQsveI.js";
79
+ import { t as ze } from "./sortable-data-table-Bpitup_d.js";
80
+ import { t as Be } from "./spinner-CvzajSg9.js";
81
+ import { t as Ve } from "./split-button-Bu41f2AY.js";
82
+ import { t as He } from "./stack-Bac4sJeI.js";
83
+ import { t as Ue } from "./stepper-C8Ncavbr.js";
84
+ import { t as We } from "./stretch-refresh-OrnTEj7P.js";
85
+ import { t as Ge } from "./swipe-actions-1H5UOZKE.js";
86
+ import { t as Ke } from "./switch-79-hkQqg.js";
87
+ import { t as qe } from "./tabs-Bb5-noYE.js";
88
+ import { t as Je } from "./tag-input-BQaueKEb.js";
89
+ import { n as Ye, r as Xe, t as Ze } from "./theme-provider-BvcY-iJu.js";
90
+ import { n as Qe, r as $e, t as et } from "./theme-root-BrYVcTzt.js";
91
+ import { t as tt } from "./theme-switch-CP42mVDb.js";
92
+ import { t as nt } from "./time-picker-Tnd-JBLC.js";
93
+ import { t as rt } from "./timeline-BcF46lG9.js";
94
+ import { a as it, n as at } from "./toast-CSAbl5yK.js";
78
95
  import "./toast.js";
79
- import { t as je } from "./toast-stack-B40VpS4M.js";
80
- import { t as Me } from "./toggle-group-B2fpFZwV.js";
81
- import { t as Ne } from "./tooltip-BvgVTCTN.js";
82
- import { t as Pe } from "./tree-view-j8qLqkb_.js";
83
- import { t as Fe } from "./usage-meter-qyQ3rYVv.js";
84
- import Ie from "@emotion/styled";
85
- export { e as Accordion, t as Alert, i as AnnouncementBar, a as Avatar, o as AvatarGroup, s as Badge, c as BottomSheet, l as Breadcrumbs, n as Button, u as Calendar, d as Card, f as Carousel, p as Checkbox, m as ChipGroup, g as CodeBlock, y as Combobox, _ as CommandPalette, b as CommentThread, S as Container, w as ContextMenu, h as CopyButton, r as Countdown, T as DatePicker, E as DateRangePicker, D as Dialog, O as Divider, k as Drawer, A as ElasticSlider, j as EmptyState, M as ExpandableCard, P as ExpandingSearch, I as FileDropzone, L as FilterToolbar, R as Flex, z as HoldToConfirm, H as HoverCard, B as ImageCompare, V as InlineEdit, U as JsonViewer, W as Kbd, q as MentionInput, C as Menu, Y as MetricCard, X as MultiSelect, Z as Navigation, Q as Pagination, $ as PasswordField, J as Pill, ee as Popover, F as Progress, te as RadioCards, ne as RadioGroup, re as ResizablePanels, ie as ScrollArea, N as SearchField, ae as SegmentedControl, oe as Select, ue as SignatureExportError, ce as SignaturePad, de as Skeleton, fe as Slider, pe as SortableDataTable, me as Spinner, he as SplitButton, ge as Stack, _e as Stepper, ve as SwipeActions, ye as Switch, be as Tabs, xe as TagInput, v as TextField, x as Textarea, Ce as ThemeProvider, Te as ThemeRoot, Ee as ThemeSwitch, De as TimePicker, Oe as Timeline, Ae as Toast, je as ToastStack, Me as ToggleGroup, Ne as Tooltip, Pe as TreeView, Fe as UsageMeter, G as mentionText, K as serializeMentions, le as signatureToPng, se as signatureToSvg, Ie as styled, Se as theme, we as useTheme, ke as useToast };
96
+ import { t as ot } from "./toast-stack-BCR4Cu7V.js";
97
+ import { t as st } from "./toggle-group-C7ye1v4s.js";
98
+ import "./tooltip.js";
99
+ import { t as ct } from "./tree-view-CoW4oJIZ.js";
100
+ import { t as lt } from "./typewriter-terminal-BUEsMzo3.js";
101
+ import { t as ut } from "./usage-meter-CYvlB6l3.js";
102
+ import { t as dt } from "./user-menu-MctRu_Lh.js";
103
+ import ft from "@emotion/styled";
104
+ export { e as Accordion, t as ActivityRings, n as Alert, a as AnnouncementBar, o as Avatar, s as AvatarGroup, c as Badge, u as BillingToggle, d as BottomSheet, f as Breadcrumbs, r as Button, h as ButtonGroup, g as Calendar, _ as Card, v as Carousel, b as ChatThread, x as Checkbox, S as ChipGroup, w as CodeBlock, D as Combobox, T as CommandPalette, O as CommentThread, k as Container, A as ContextMenu, C as CopyButton, i as Countdown, j as DatePicker, M as DateRangePicker, N as Dialog, P as Divider, F as Drawer, I as Emblem, L as EmptyState, R as ExpandableCard, B as ExpandingSearch, H as FileDropzone, U as FilterToolbar, W as Flex, J as GameCard, Y as HoldToConfirm, $ as HoverCard, X as ImageCompare, Z as InViewTitle, Q as InlineEdit, ee as JsonViewer, te as Kbd, ne as KeycapKeyboard, re as LightboxGallery, ie as LinkUnfurl, ae as LocaleSwitcher, ce as MentionInput, p as Menu, ue as MetricCard, de as MultiSelect, fe as Navigation, he as NowPlaying, me as NowPlayingLevels, ge as Pagination, _e as PasswordField, ve as PhotoGrid, le as Pill, ye as Popover, V as Progress, K as RANK_MARKS, be as RadioCards, xe as RadioGroup, Se as ResizablePanels, q as SUIT_GLYPHS, G as SUIT_INK, Ce as ScrollArea, z as SearchField, l as SegmentedControl, we as Select, Ee as SheetStack, Ne as ShortcutRecorder, Le as SignatureExportError, Fe as SignaturePad, Re as Skeleton, pe as Slider, ze as SortableDataTable, Be as Spinner, Ve as SplitButton, He as Stack, Ue as Stepper, We as StretchRefresh, Ge as SwipeActions, Ke as Switch, qe as Tabs, Je as TagInput, E as TextField, y as Textarea, Ze as ThemeProvider, et as ThemeRoot, tt as ThemeSwitch, nt as TimePicker, rt as Timeline, at as Toast, ot as ToastStack, st as ToggleGroup, m as Tooltip, ct as TreeView, lt as TypewriterTerminal, ut as UsageMeter, dt as UserMenu, Qe as createTheme, ke as defaultShortcutMessages, je as formatShortcut, Oe as matchesShortcut, oe as mentionText, De as normalizeShortcut, se as serializeMentions, Ie as signatureToPng, Pe as signatureToSvg, ft as styled, Xe as theme, $e as themeTokenStyle, Ae as usePressedShortcutKeys, Te as useSheetStack, Me as useShortcutPlatform, Ye as useTheme, it as useToast };
@@ -0,0 +1,18 @@
1
+ 'use client';
2
+ //#region src/utils/initials.ts
3
+ var e = new Intl.Segmenter(void 0, { granularity: "grapheme" });
4
+ function t(t) {
5
+ let n = Array.from(e.segment(t), ({ segment: e }) => e), r = n[0] ?? "";
6
+ if (!/\p{Extended_Pictographic}/u.test(r)) return r;
7
+ let i = "";
8
+ for (let e of n) {
9
+ if (!/\p{Extended_Pictographic}/u.test(e)) break;
10
+ i += e;
11
+ }
12
+ return i;
13
+ }
14
+ function n(e, n) {
15
+ return e.trim().split(/\s+/).filter(Boolean).slice(0, n).map(t).join("").toLocaleUpperCase();
16
+ }
17
+ //#endregion
18
+ export { n as t };