@alfadocs/ui-kit 0.1.9 → 0.2.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 (281) hide show
  1. package/README.md +30 -0
  2. package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
  3. package/dist/_chunks/{agenda-card-DwLIxgi7.js → agenda-card-CalZqycc.js} +12 -3
  4. package/dist/_chunks/{agenda-tray-DUvengGQ.js → agenda-tray-3ffFDQZC.js} +54 -51
  5. package/dist/_chunks/{ai-prompt-input.agent-0NHYLTWD.js → ai-prompt-input-BBiDlEIS.js} +231 -231
  6. package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
  7. package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
  8. package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
  9. package/dist/_chunks/{audio-recorder.agent--VKeykUp.js → audio-recorder-B4U1LuiQ.js} +161 -162
  10. package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
  11. package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
  12. package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
  13. package/dist/_chunks/{balance-cell-renderer-5CA7zpAi.js → balance-cell-renderer-B8zgIM-m.js} +63 -44
  14. package/dist/_chunks/{breadcrumb.agent-GM2hAKFX.js → breadcrumb-D1snXjPb.js} +165 -157
  15. package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
  16. package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
  17. package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
  18. package/dist/_chunks/{chart.agent-_pRYS17d.js → chart-BLvFl169.js} +147 -131
  19. package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
  20. package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
  21. package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
  22. package/dist/_chunks/{collapsible.agent-DkS1jVyn.js → collapsible-CuxUBoHJ.js} +97 -99
  23. package/dist/_chunks/{color-picker-94qcBZqZ.js → color-picker-CTIcHlDF.js} +111 -45
  24. package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
  25. package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
  26. package/dist/_chunks/{date-picker-BqPTn7bO.js → date-picker-B1PO1ZQP.js} +190 -181
  27. package/dist/_chunks/{date-range-picker-B2hGsffw.js → date-range-picker-mix2nEVC.js} +21 -8
  28. package/dist/_chunks/{date-time-picker-Bzt0S8yO.js → date-time-picker-Dnong_BY.js} +30 -15
  29. package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
  30. package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
  31. package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
  32. package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
  33. package/dist/_chunks/file-upload-C947ACDK.js +829 -0
  34. package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
  35. package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
  36. package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
  37. package/dist/_chunks/{freemium-paywall.agent-_nQqLyRF.js → freemium-paywall-CnvceDav.js} +124 -117
  38. package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
  39. package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
  40. package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
  41. package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
  42. package/dist/_chunks/{leo-sidebar-BwINPdix.js → leo-sidebar-CfEY-xi2.js} +16 -20
  43. package/dist/_chunks/{link-QheANk74.js → link-8QmFjIz2.js} +2 -5
  44. package/dist/_chunks/list-qP6p0NTw.js +434 -0
  45. package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
  46. package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
  47. package/dist/_chunks/{message-card-qhoGv947.js → message-card-ChCX9Iv6.js} +63 -60
  48. package/dist/_chunks/{message-tray-xHUCra-Y.js → message-tray-n8q9ITXI.js} +71 -76
  49. package/dist/_chunks/{multi-select.agent-Do6CeQUT.js → multi-select-wqqrgjUQ.js} +326 -291
  50. package/dist/_chunks/{navigation-menu.agent-D69ND6Qq.js → navigation-menu-ClbHeawy.js} +136 -123
  51. package/dist/_chunks/{notification-card-CsVEYJE-.js → notification-card-hBlPN1-c.js} +3 -3
  52. package/dist/_chunks/{notification-tray-DTXMq42J.js → notification-tray-C5cnXbl9.js} +70 -66
  53. package/dist/_chunks/{number-input-fvGmnRy9.js → number-input-Q7wkHnvQ.js} +7 -3
  54. package/dist/_chunks/{otp-input-EglXOUue.js → otp-input-C9gUByF0.js} +6 -3
  55. package/dist/_chunks/{pagination.agent-BkZQl45y.js → pagination-3AC4zTsi.js} +234 -194
  56. package/dist/_chunks/{password-input-D6kuYXmr.js → password-input-C4LmjIH1.js} +6 -9
  57. package/dist/_chunks/{patient-shell-BRmrrUUW.js → patient-shell-BlsEUKWB.js} +10 -15
  58. package/dist/_chunks/{payment-form-BWaXas8z.js → payment-form-C3vT_npe.js} +195 -186
  59. package/dist/_chunks/{pdf-viewer.agent-BaGEDheA.js → pdf-viewer-CZIfY08H.js} +270 -241
  60. package/dist/_chunks/{phone-input-C8Op4sEc.js → phone-input-CSHJOJ13.js} +4 -9
  61. package/dist/_chunks/popover-DekUKNBk.js +293 -0
  62. package/dist/_chunks/{privacy-lock.agent-C1i1-T58.js → privacy-lock-BKsI6ReN.js} +117 -109
  63. package/dist/_chunks/progress-C11tqhoI.js +298 -0
  64. package/dist/_chunks/{recaptcha-widget.agent-BGHpU5zD.js → recaptcha-widget-NyfOfLII.js} +95 -86
  65. package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
  66. package/dist/_chunks/{rich-text-editor.agent-DnE125Tz.js → rich-text-editor-C7TCIlQO.js} +298 -209
  67. package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
  68. package/dist/_chunks/{search-bar.agent-DxFAxctc.js → search-bar-BTDfgYtg.js} +291 -268
  69. package/dist/_chunks/{search-input-Xw3cdWXW.js → search-input-CdJIEjFo.js} +116 -107
  70. package/dist/_chunks/{select-DY1Cb2Tg.js → select-y6bXV1f1.js} +84 -83
  71. package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
  72. package/dist/_chunks/{sheet-B9kH9pcI.js → sheet-4tgMFwj0.js} +135 -60
  73. package/dist/_chunks/{sidebar-CHF5xr_P.js → sidebar-Bx3wCDyy.js} +546 -457
  74. package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
  75. package/dist/_chunks/{signature-capture.agent-BpeDwFht.js → signature-capture-DjMlFOzS.js} +210 -212
  76. package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
  77. package/dist/_chunks/{slider-CcsQTZTA.js → slider-BT2bZWsy.js} +138 -134
  78. package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
  79. package/dist/_chunks/{sparkline.agent-56Sj7nOP.js → sparkline-_gy8aJDG.js} +107 -100
  80. package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
  81. package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
  82. package/dist/_chunks/{stepper-calendar.agent-9iT3ClIB.js → stepper-calendar-BLOJUE0-.js} +189 -187
  83. package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
  84. package/dist/_chunks/{suggestion-chip-DhFrkRPj.js → suggestion-chip-C4Jz0LrM.js} +50 -52
  85. package/dist/_chunks/{switch-BYEH8I53.js → switch-C0psfIQF.js} +2 -2
  86. package/dist/_chunks/{tabs.agent-h7NvsTR1.js → tabs-DaFA3Muo.js} +183 -155
  87. package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
  88. package/dist/_chunks/{task-card-CY5ztNkU.js → task-card-Dw_ZJDL8.js} +5 -2
  89. package/dist/_chunks/{task-tray-CCoUdorl.js → task-tray-XlIW9ueh.js} +50 -49
  90. package/dist/_chunks/{text-area-C_M8wliK.js → text-area-CO9Dz0qX.js} +2 -2
  91. package/dist/_chunks/{text-input-BX39e6T6.js → text-input-DZwt9L8H.js} +65 -62
  92. package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
  93. package/dist/_chunks/{theme-toggle.agent-btmXTWdW.js → theme-toggle-B9zzCnvl.js} +179 -177
  94. package/dist/_chunks/{time-picker-B8AMIrX7.js → time-picker-DvPUmHH-.js} +95 -93
  95. package/dist/_chunks/{timeline.agent-CRPza9wc.js → timeline-BvmnQadS.js} +96 -96
  96. package/dist/_chunks/{toast.agent-BjEGuq1Z.js → toast.agent-BwKXA0km.js} +46 -8
  97. package/dist/_chunks/{tooth-scheme.agent-CWrQBjJM.js → tooth-scheme-3mITSXiZ.js} +146 -162
  98. package/dist/_chunks/{transcript-panel.agent-BXEYP6w-.js → transcript-panel-Bx5ANMsv.js} +110 -101
  99. package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
  100. package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
  101. package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
  102. package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
  103. package/dist/_chunks/{workflow-map-D2A7rTEG.js → workflow-map-C-nlogPC.js} +430 -452
  104. package/dist/agent-catalog.json +580 -15
  105. package/dist/components/_shared/index.d.ts +2 -2
  106. package/dist/components/accordion/index.d.ts +1 -1
  107. package/dist/components/accordion/index.js +5 -6
  108. package/dist/components/agenda-card/index.js +1 -1
  109. package/dist/components/agenda-tray/agenda-tray.d.ts +1 -1
  110. package/dist/components/agenda-tray/index.js +1 -1
  111. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +1 -1
  112. package/dist/components/ai-prompt-input/index.js +1 -1
  113. package/dist/components/alert/index.d.ts +1 -1
  114. package/dist/components/alert/index.js +1 -1
  115. package/dist/components/app-frame/index.js +1 -1
  116. package/dist/components/audio-recorder/index.js +1 -1
  117. package/dist/components/audio-visualiser/index.js +1 -1
  118. package/dist/components/autocomplete/index.js +1 -1
  119. package/dist/components/badge/index.js +1 -1
  120. package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
  121. package/dist/components/breadcrumb/index.js +1 -1
  122. package/dist/components/button/index.js +2 -2
  123. package/dist/components/calendar/index.js +1 -1
  124. package/dist/components/card/index.js +1 -1
  125. package/dist/components/chart/index.d.ts +1 -1
  126. package/dist/components/chart/index.js +1 -1
  127. package/dist/components/chat-container/chat-container.d.ts +1 -1
  128. package/dist/components/chat-container/index.js +2 -3
  129. package/dist/components/chat-input/chat-input.d.ts +1 -1
  130. package/dist/components/chat-input/index.js +3 -4
  131. package/dist/components/chat-message/index.js +1 -1
  132. package/dist/components/checkbox-group/index.d.ts +1 -1
  133. package/dist/components/collapsible/collapsible.d.ts +1 -1
  134. package/dist/components/collapsible/index.d.ts +1 -1
  135. package/dist/components/collapsible/index.js +1 -1
  136. package/dist/components/color-picker/index.js +1 -1
  137. package/dist/components/combobox/index.d.ts +1 -1
  138. package/dist/components/combobox/index.js +1 -1
  139. package/dist/components/command-palette/command-palette.d.ts +46 -13
  140. package/dist/components/command-palette/index.js +1 -1
  141. package/dist/components/data-table/data-table.d.ts +3 -1
  142. package/dist/components/data-table/index.js +1 -1
  143. package/dist/components/data-table/toolbar.d.ts +6 -5
  144. package/dist/components/date-picker/date-picker.d.ts +1 -1
  145. package/dist/components/date-picker/index.d.ts +1 -1
  146. package/dist/components/date-picker/index.js +1 -1
  147. package/dist/components/date-range-picker/index.js +1 -1
  148. package/dist/components/date-time-picker/index.d.ts +1 -1
  149. package/dist/components/date-time-picker/index.js +1 -1
  150. package/dist/components/description-list/description-list.d.ts +1 -2
  151. package/dist/components/description-list/index.js +1 -1
  152. package/dist/components/dialog/dialog.d.ts +2 -2
  153. package/dist/components/dialog/index.js +1 -1
  154. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -16
  155. package/dist/components/dropdown-menu/index.js +3 -4
  156. package/dist/components/empty-state/index.js +1 -1
  157. package/dist/components/file-upload/index.d.ts +1 -1
  158. package/dist/components/file-upload/index.js +1 -1
  159. package/dist/components/floating-action-button/index.js +1 -1
  160. package/dist/components/form-field/index.js +2 -2
  161. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  162. package/dist/components/freemium-paywall/index.js +1 -1
  163. package/dist/components/header/index.js +1 -1
  164. package/dist/components/icon-button/index.js +1 -1
  165. package/dist/components/kbd/index.js +1 -1
  166. package/dist/components/key-value-pair/index.js +1 -1
  167. package/dist/components/link/index.js +1 -1
  168. package/dist/components/list/index.js +1 -1
  169. package/dist/components/logo/index.js +1 -1
  170. package/dist/components/matrix-rain/index.js +1 -1
  171. package/dist/components/message-card/index.d.ts +1 -1
  172. package/dist/components/message-card/index.js +1 -1
  173. package/dist/components/message-tray/index.js +1 -1
  174. package/dist/components/message-tray/message-tray.d.ts +1 -1
  175. package/dist/components/multi-select/index.js +1 -1
  176. package/dist/components/navigation-menu/index.js +1 -1
  177. package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
  178. package/dist/components/notification-card/index.d.ts +1 -1
  179. package/dist/components/notification-card/index.js +1 -1
  180. package/dist/components/notification-tray/index.js +1 -1
  181. package/dist/components/notification-tray/notification-tray.d.ts +1 -1
  182. package/dist/components/number-input/index.js +1 -1
  183. package/dist/components/otp-input/index.js +1 -1
  184. package/dist/components/pagination/index.js +1 -1
  185. package/dist/components/pagination/pagination.d.ts +4 -6
  186. package/dist/components/password-input/index.js +1 -1
  187. package/dist/components/payment-form/index.js +7 -8
  188. package/dist/components/payment-form/payment-form.d.ts +1 -1
  189. package/dist/components/pdf-viewer/index.js +1 -1
  190. package/dist/components/phone-input/index.d.ts +1 -1
  191. package/dist/components/phone-input/index.js +1 -1
  192. package/dist/components/popover/index.js +3 -4
  193. package/dist/components/privacy-lock/index.js +1 -1
  194. package/dist/components/privacy-lock/privacy-lock.d.ts +1 -1
  195. package/dist/components/progress/index.js +3 -4
  196. package/dist/components/recaptcha-widget/index.js +1 -1
  197. package/dist/components/resizable/index.d.ts +1 -1
  198. package/dist/components/resizable/index.js +1 -1
  199. package/dist/components/rich-text-editor/index.js +1 -1
  200. package/dist/components/scroll-area/index.js +1 -1
  201. package/dist/components/search-bar/index.js +1 -1
  202. package/dist/components/search-bar/search-bar.d.ts +1 -1
  203. package/dist/components/search-input/index.js +1 -1
  204. package/dist/components/select/index.js +1 -1
  205. package/dist/components/select/select.d.ts +1 -1
  206. package/dist/components/separator/index.js +1 -1
  207. package/dist/components/sheet/index.js +3 -4
  208. package/dist/components/sheet/sheet.d.ts +2 -2
  209. package/dist/components/sidebar/index.js +7 -8
  210. package/dist/components/sidebar/sidebar.d.ts +0 -2
  211. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  212. package/dist/components/signature-capture/index.js +1 -1
  213. package/dist/components/skeleton/index.js +1 -1
  214. package/dist/components/slider/index.js +1 -1
  215. package/dist/components/slot-grid/index.js +1 -1
  216. package/dist/components/sparkline/index.js +1 -1
  217. package/dist/components/spinner/index.js +1 -1
  218. package/dist/components/stat/index.js +1 -1
  219. package/dist/components/stepper-calendar/index.js +1 -1
  220. package/dist/components/stepper-calendar/stepper-calendar.d.ts +1 -1
  221. package/dist/components/stepper-progress/index.d.ts +1 -1
  222. package/dist/components/stepper-progress/index.js +1 -2
  223. package/dist/components/stepper-progress/stepper-progress.d.ts +1 -1
  224. package/dist/components/suggestion-chip/index.js +1 -1
  225. package/dist/components/switch/index.js +1 -1
  226. package/dist/components/tabs/index.d.ts +1 -1
  227. package/dist/components/tabs/index.js +1 -1
  228. package/dist/components/tag/index.js +1 -1
  229. package/dist/components/task-card/index.js +1 -1
  230. package/dist/components/task-tray/index.js +1 -1
  231. package/dist/components/task-tray/task-tray.d.ts +1 -1
  232. package/dist/components/text-area/index.js +1 -1
  233. package/dist/components/text-input/index.js +1 -1
  234. package/dist/components/theme-root/index.js +1 -1
  235. package/dist/components/theme-toggle/index.js +1 -1
  236. package/dist/components/theme-toggle/theme-toggle.d.ts +1 -1
  237. package/dist/components/time-picker/index.js +1 -1
  238. package/dist/components/time-picker/time-picker.d.ts +1 -1
  239. package/dist/components/timeline/index.js +1 -1
  240. package/dist/components/timeline/timeline.d.ts +1 -1
  241. package/dist/components/toast/index.js +1 -1
  242. package/dist/components/tooth-scheme/index.js +1 -1
  243. package/dist/components/tooth-scheme/tooth-scheme.d.ts +1 -1
  244. package/dist/components/transcript-panel/index.js +1 -1
  245. package/dist/components/transcript-panel/transcript-panel.d.ts +1 -1
  246. package/dist/components/typing-indicator/index.js +1 -1
  247. package/dist/components/visually-hidden/index.js +1 -1
  248. package/dist/components/warning-stack/index.js +1 -1
  249. package/dist/components/workflow/index.js +1 -1
  250. package/dist/components/workflow/workflow-editor.d.ts +1 -1
  251. package/dist/hooks/index.js +1 -1
  252. package/dist/index.js +392 -402
  253. package/dist/patterns/leo-assistant/index.js +1 -1
  254. package/dist/patterns/patient-shell/index.js +1 -1
  255. package/dist/safe-html/index.js +20 -3
  256. package/dist/tokens.css +2 -2
  257. package/package.json +12 -2
  258. package/dist/_chunks/accordion-BEnrZmAn.js +0 -120
  259. package/dist/_chunks/accordion.agent-BTjeO1Sx.js +0 -52
  260. package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +0 -432
  261. package/dist/_chunks/chat-container-Dl0Kfy5a.js +0 -175
  262. package/dist/_chunks/chat-container.agent-CM4WModE.js +0 -27
  263. package/dist/_chunks/chat-input-C_tMQv92.js +0 -252
  264. package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +0 -69
  265. package/dist/_chunks/combobox.agent-CAvUkkIe.js +0 -410
  266. package/dist/_chunks/command-palette.agent-HatEt_EM.js +0 -391
  267. package/dist/_chunks/dialog.agent-Daf1TTko.js +0 -179
  268. package/dist/_chunks/dropdown-menu-C7AZipNz.js +0 -219
  269. package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +0 -43
  270. package/dist/_chunks/file-upload.agent-DJaH2dHg.js +0 -681
  271. package/dist/_chunks/list.agent-D0iWt4VI.js +0 -420
  272. package/dist/_chunks/payment-form.agent-kuIfodCj.js +0 -31
  273. package/dist/_chunks/popover-kFN8s84V.js +0 -229
  274. package/dist/_chunks/popover.agent-K_d1cfbj.js +0 -39
  275. package/dist/_chunks/progress-wNsqkw8I.js +0 -253
  276. package/dist/_chunks/progress.agent-C68rDOXL.js +0 -27
  277. package/dist/_chunks/resizable.agent-CMwZzvsi.js +0 -456
  278. package/dist/_chunks/sheet.agent-QAyTOxgk.js +0 -46
  279. package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +0 -49
  280. package/dist/_chunks/stepper-progress-Bmen-YXB.js +0 -149
  281. package/dist/_chunks/stepper-progress.agent-q9InWca4.js +0 -61
@@ -1,14 +1,62 @@
1
- import { jsxs as v, jsx as i } from "react/jsx-runtime";
2
- import { forwardRef as m, useState as O, useEffect as Q, useCallback as L, useMemo as W, useId as X } from "react";
3
- import * as c from "@radix-ui/react-select";
4
- import { c as Y } from "./index-D2ZczOXr.js";
1
+ import { jsxs as f, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as g, useState as D, useEffect as z, useCallback as A, useMemo as C, useRef as _, useId as ee } from "react";
3
+ import * as m from "@radix-ui/react-select";
4
+ import { c as se } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as x } from "react-i18next";
6
- import { E as Z } from "./ellipsis-rgGdiK_9.js";
7
- import { C as R } from "./chevron-right-BrpYejk0.js";
8
- import { C as D } from "./chevron-left-CX1jqD2M.js";
9
- import { C as ee, a as se } from "./chevrons-right-d9MwesPG.js";
10
- import { C as ae } from "./check-DPdL_Sm7.js";
11
- const ie = [
6
+ import { u as ae } from "./registry-C9nwlNyL.js";
7
+ import { E as ie } from "./ellipsis-rgGdiK_9.js";
8
+ import { C as F } from "./chevron-right-BrpYejk0.js";
9
+ import { C as te } from "./chevron-left-CX1jqD2M.js";
10
+ import { C as ne, a as re } from "./chevrons-right-d9MwesPG.js";
11
+ import { C as de } from "./check-DPdL_Sm7.js";
12
+ const oe = {
13
+ id: "pagination",
14
+ capabilities: ["paginate", "range_navigate"],
15
+ state: {
16
+ currentPage: {
17
+ type: "number",
18
+ description: "Current page index (1-based).",
19
+ read: (e) => e.getCurrentPage()
20
+ },
21
+ totalPages: {
22
+ type: "number",
23
+ description: "Total number of pages.",
24
+ read: (e) => e.getTotalPages()
25
+ }
26
+ },
27
+ actions: {
28
+ go_to_page: {
29
+ safety: "read",
30
+ argsType: "{ page: number }",
31
+ description: "Navigate to a specific 1-indexed page.",
32
+ invoke: (e, a) => {
33
+ e.goToPage(a.page);
34
+ }
35
+ },
36
+ next: {
37
+ safety: "read",
38
+ description: "Advance to the next page.",
39
+ invoke: (e) => {
40
+ e.next();
41
+ }
42
+ },
43
+ previous: {
44
+ safety: "read",
45
+ description: "Step back to the previous page.",
46
+ invoke: (e) => {
47
+ e.previous();
48
+ }
49
+ }
50
+ },
51
+ domHooks: {
52
+ root: { attr: "data-component", value: "pagination" },
53
+ instanceId: {
54
+ attr: "data-component-id",
55
+ sourceProp: "id",
56
+ description: "Sourced from the id prop."
57
+ }
58
+ }
59
+ }, le = [
12
60
  "ds:inline-flex ds:items-center ds:justify-center",
13
61
  "ds:rounded-[var(--radius-sm)]",
14
62
  "ds:border ds:border-transparent",
@@ -21,7 +69,7 @@ const ie = [
21
69
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
22
70
  "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
23
71
  "ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50"
24
- ].join(" "), y = Y(ie, {
72
+ ].join(" "), j = se(le, {
25
73
  variants: {
26
74
  size: {
27
75
  sm: "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:text-[length:var(--font-size-sm)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
@@ -35,138 +83,160 @@ const ie = [
35
83
  },
36
84
  defaultVariants: { size: "md", active: !1 }
37
85
  });
38
- function w(e, a) {
86
+ function y(e, a) {
39
87
  const t = [];
40
88
  for (let s = e; s <= a; s++) t.push(s);
41
89
  return t;
42
90
  }
43
- function te(e, a, t = 1, s = 1) {
91
+ function ce(e, a, t = 1, s = 1) {
44
92
  if (a <= 0) return [];
45
- if (t = Math.max(0, t), s = Math.max(1, s), s * 2 + t * 2 + 3 >= a) return w(1, a);
46
- const r = w(1, s), n = w(a - s + 1, a), p = Math.max(
47
- Math.min(e - t, a - s - t * 2 - 1),
93
+ if (t = Math.max(0, t), s = Math.max(1, s), s * 2 + t * 2 + 3 >= a) return y(1, a);
94
+ const r = y(1, s), n = y(a - s + 1, a), u = Math.max(
95
+ Math.min(
96
+ e - t,
97
+ a - s - t * 2 - 1
98
+ ),
48
99
  s + 2
49
- ), f = Math.min(
100
+ ), h = Math.min(
50
101
  Math.max(e + t, s + t * 2 + 2),
51
102
  n[0] - 2
52
103
  ), l = [...r];
53
- return p > s + 2 ? l.push("ellipsis-start") : s + 1 < a - s && l.push(s + 1), l.push(...w(p, f)), f < a - s - 1 ? l.push("ellipsis-end") : a - s > s && l.push(a - s), l.push(...n), l;
104
+ return u > s + 2 ? l.push("ellipsis-start") : s + 1 < a - s && l.push(s + 1), l.push(...y(u, h)), h < a - s - 1 ? l.push("ellipsis-end") : a - s > s && l.push(a - s), l.push(...n), l;
54
105
  }
55
- const ne = m(
106
+ const me = g(
56
107
  ({
57
108
  totalPages: e,
58
109
  page: a,
59
110
  defaultPage: t = 1,
60
111
  onPageChange: s,
61
- siblingCount: d = 1,
112
+ siblingCount: o = 1,
62
113
  boundaryCount: r = 1,
63
114
  size: n = "md",
64
- showEndpoints: p = !1,
65
- align: f = "center",
115
+ showEndpoints: u = !1,
116
+ align: h = "center",
66
117
  pageSize: l,
67
- useLocaleDigits: z = !1,
68
- locale: I,
69
- className: $,
70
- id: k,
71
- ...H
72
- }, U) => {
73
- const { t: M, i18n: T } = x(), h = a !== void 0, [q, G] = O(t), g = h ? a : q;
74
- Q(() => {
75
- h && t !== 1 && console.warn(
118
+ useLocaleDigits: T = !1,
119
+ locale: M,
120
+ className: J,
121
+ id: P,
122
+ ...K
123
+ }, O) => {
124
+ const { t: R, i18n: S } = x(), b = a !== void 0, [Q, W] = D(t), c = b ? a : Q;
125
+ z(() => {
126
+ b && t !== 1 && console.warn(
76
127
  "[Pagination] Both `page` and `defaultPage` were supplied. The `page` prop wins; remove `defaultPage` for controlled usage."
77
128
  );
78
- }, [h, t]);
79
- const b = L(
80
- (o) => {
81
- const N = Math.min(Math.max(o, 1), Math.max(1, e));
82
- h || G(N), s == null || s(N);
129
+ }, [b, t]);
130
+ const p = A(
131
+ (d) => {
132
+ const w = Math.min(Math.max(d, 1), Math.max(1, e));
133
+ b || W(w), s == null || s(w);
83
134
  },
84
- [h, s, e]
85
- ), S = L(
86
- (o) => {
87
- if (!z) return String(o);
135
+ [b, s, e]
136
+ ), E = A(
137
+ (d) => {
138
+ if (!T) return String(d);
88
139
  try {
89
- return new Intl.NumberFormat(I ?? T.language).format(o);
140
+ return new Intl.NumberFormat(M ?? S.language).format(d);
90
141
  } catch {
91
- return String(o);
142
+ return String(d);
92
143
  }
93
144
  },
94
- [T.language, I, z]
95
- ), J = W(
96
- () => te(g, e, d, r),
97
- [g, e, d, r]
98
- ), E = g <= 1, B = g >= e, K = f === "start" ? "ds:justify-start" : f === "end" ? "ds:justify-end" : "ds:justify-center";
99
- return /* @__PURE__ */ v(
145
+ [S.language, M, T]
146
+ ), X = C(
147
+ () => ce(c, e, o, r),
148
+ [c, e, o, r]
149
+ ), B = c <= 1, L = c >= e, N = _(c);
150
+ z(() => {
151
+ N.current = c;
152
+ }, [c]);
153
+ const V = _(e);
154
+ z(() => {
155
+ V.current = e;
156
+ }, [e]);
157
+ const Y = C(
158
+ () => ({
159
+ getCurrentPage: () => N.current,
160
+ getTotalPages: () => V.current,
161
+ goToPage: (d) => p(d),
162
+ next: () => p(N.current + 1),
163
+ previous: () => p(N.current - 1)
164
+ }),
165
+ [p]
166
+ );
167
+ ae(oe, Y, P);
168
+ const Z = h === "start" ? "ds:justify-start" : h === "end" ? "ds:justify-end" : "ds:justify-center";
169
+ return /* @__PURE__ */ f(
100
170
  "nav",
101
171
  {
102
- ref: U,
103
- "aria-label": M("ui.navigation.pagination.label"),
104
- id: k,
172
+ ref: O,
173
+ "aria-label": R("ui.navigation.pagination.label"),
174
+ id: P,
105
175
  "data-component": "pagination",
106
- "data-component-id": k,
176
+ "data-component-id": P,
107
177
  className: [
108
178
  "ds:flex ds:items-center",
109
- K,
179
+ Z,
110
180
  "ds:gap-[var(--spacing-sm)]",
111
181
  "ds:flex-wrap",
112
- $ ?? ""
182
+ J ?? ""
113
183
  ].filter(Boolean).join(" "),
114
- ...H,
184
+ ...K,
115
185
  children: [
116
- /* @__PURE__ */ v(V, { size: n, children: [
117
- p ? /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(
118
- j,
186
+ /* @__PURE__ */ f(H, { size: n, children: [
187
+ u ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
188
+ I,
119
189
  {
120
190
  type: "first",
121
191
  size: n,
122
- disabled: E,
123
- onClick: () => b(1)
192
+ disabled: B,
193
+ onClick: () => p(1)
124
194
  }
125
195
  ) }) : null,
126
- /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(
127
- A,
196
+ /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
197
+ U,
128
198
  {
129
199
  size: n,
130
- disabled: E,
131
- onClick: () => b(g - 1)
200
+ disabled: B,
201
+ onClick: () => p(c - 1)
132
202
  }
133
203
  ) }),
134
- J.map((o, N) => o === "ellipsis-start" || o === "ellipsis-end" ? /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(F, {}) }, `e-${N}`) : /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(
135
- _,
204
+ X.map((d, w) => d === "ellipsis-start" || d === "ellipsis-end" ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(G, {}) }, `e-${w}`) : /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
205
+ $,
136
206
  {
137
207
  size: n,
138
- isActive: o === g,
139
- "aria-label": M("ui.navigation.pagination.pageN", { n: o }),
140
- onClick: () => b(o),
141
- children: S(o)
208
+ isActive: d === c,
209
+ "aria-label": R("ui.navigation.pagination.pageN", { n: d }),
210
+ onClick: () => p(d),
211
+ children: E(d)
142
212
  }
143
- ) }, `p-${o}`)),
144
- /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(
145
- C,
213
+ ) }, `p-${d}`)),
214
+ /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
215
+ q,
146
216
  {
147
217
  size: n,
148
- disabled: B,
149
- onClick: () => b(g + 1)
218
+ disabled: L,
219
+ onClick: () => p(c + 1)
150
220
  }
151
221
  ) }),
152
- p ? /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(
153
- j,
222
+ u ? /* @__PURE__ */ i(v, { children: /* @__PURE__ */ i(
223
+ I,
154
224
  {
155
225
  type: "last",
156
226
  size: n,
157
- disabled: B,
158
- onClick: () => b(e)
227
+ disabled: L,
228
+ onClick: () => p(e)
159
229
  }
160
230
  ) }) : null
161
231
  ] }),
162
232
  l ? /* @__PURE__ */ i(
163
- le,
233
+ ve,
164
234
  {
165
235
  size: n,
166
236
  value: l.value,
167
237
  options: l.options ?? [10, 25, 50, 100],
168
238
  onChange: l.onChange,
169
- formatNumber: S
239
+ formatNumber: E
170
240
  }
171
241
  ) : null
172
242
  ]
@@ -174,8 +244,8 @@ const ne = m(
174
244
  );
175
245
  }
176
246
  );
177
- ne.displayName = "Pagination";
178
- const V = m(
247
+ me.displayName = "Pagination";
248
+ const H = g(
179
249
  ({ children: e, className: a, ...t }, s) => /* @__PURE__ */ i(
180
250
  "ul",
181
251
  {
@@ -192,32 +262,32 @@ const V = m(
192
262
  }
193
263
  )
194
264
  );
195
- V.displayName = "PaginationList";
196
- const u = m(
265
+ H.displayName = "PaginationList";
266
+ const v = g(
197
267
  ({ children: e, className: a, ...t }, s) => /* @__PURE__ */ i("li", { ref: s, className: a, ...t, children: e })
198
268
  );
199
- u.displayName = "PaginationItem";
200
- const _ = m(
201
- ({ isActive: e = !1, size: a = "md", className: t, children: s, ...d }, r) => /* @__PURE__ */ i(
269
+ v.displayName = "PaginationItem";
270
+ const $ = g(
271
+ ({ isActive: e = !1, size: a = "md", className: t, children: s, ...o }, r) => /* @__PURE__ */ i(
202
272
  "button",
203
273
  {
204
274
  ref: r,
205
275
  type: "button",
206
276
  "aria-current": e ? "page" : void 0,
207
- className: y({
277
+ className: j({
208
278
  size: a,
209
279
  active: e,
210
280
  className: t
211
281
  }),
212
- ...d,
282
+ ...o,
213
283
  children: s
214
284
  }
215
285
  )
216
286
  );
217
- _.displayName = "PaginationLink";
218
- const P = "ds:size-4 ds:rtl:-scale-x-100", A = m(
287
+ $.displayName = "PaginationLink";
288
+ const k = "ds:size-4 ds:rtl:-scale-x-100", U = g(
219
289
  ({ size: e = "md", disabled: a, onClick: t }, s) => {
220
- const { t: d } = x(), r = d("ui.navigation.pagination.previous");
290
+ const { t: o } = x(), r = o("ui.navigation.pagination.previous");
221
291
  return /* @__PURE__ */ i(
222
292
  "button",
223
293
  {
@@ -227,16 +297,16 @@ const P = "ds:size-4 ds:rtl:-scale-x-100", A = m(
227
297
  "aria-disabled": a || void 0,
228
298
  disabled: a,
229
299
  onClick: t,
230
- className: y({ size: e }),
231
- children: /* @__PURE__ */ i(D, { "aria-hidden": "true", className: P })
300
+ className: j({ size: e }),
301
+ children: /* @__PURE__ */ i(te, { "aria-hidden": "true", className: k })
232
302
  }
233
303
  );
234
304
  }
235
305
  );
236
- A.displayName = "PaginationPrevious";
237
- const C = m(
306
+ U.displayName = "PaginationPrevious";
307
+ const q = g(
238
308
  ({ size: e = "md", disabled: a, onClick: t }, s) => {
239
- const { t: d } = x(), r = d("ui.navigation.pagination.next");
309
+ const { t: o } = x(), r = o("ui.navigation.pagination.next");
240
310
  return /* @__PURE__ */ i(
241
311
  "button",
242
312
  {
@@ -246,33 +316,33 @@ const C = m(
246
316
  "aria-disabled": a || void 0,
247
317
  disabled: a,
248
318
  onClick: t,
249
- className: y({ size: e }),
250
- children: /* @__PURE__ */ i(R, { "aria-hidden": "true", className: P })
319
+ className: j({ size: e }),
320
+ children: /* @__PURE__ */ i(F, { "aria-hidden": "true", className: k })
251
321
  }
252
322
  );
253
323
  }
254
324
  );
255
- C.displayName = "PaginationNext";
256
- const j = m(
257
- ({ type: e, size: a = "md", disabled: t, onClick: s }, d) => {
258
- const { t: r } = x(), n = r(e === "first" ? "ui.navigation.pagination.first" : "ui.navigation.pagination.last"), p = e === "first" ? ee : se;
325
+ q.displayName = "PaginationNext";
326
+ const I = g(
327
+ ({ type: e, size: a = "md", disabled: t, onClick: s }, o) => {
328
+ const { t: r } = x(), n = r(e === "first" ? "ui.navigation.pagination.first" : "ui.navigation.pagination.last"), u = e === "first" ? ne : re;
259
329
  return /* @__PURE__ */ i(
260
330
  "button",
261
331
  {
262
- ref: d,
332
+ ref: o,
263
333
  type: "button",
264
334
  "aria-label": n,
265
335
  "aria-disabled": t || void 0,
266
336
  disabled: t,
267
337
  onClick: s,
268
- className: y({ size: a }),
269
- children: /* @__PURE__ */ i(p, { "aria-hidden": "true", className: P })
338
+ className: j({ size: a }),
339
+ children: /* @__PURE__ */ i(u, { "aria-hidden": "true", className: k })
270
340
  }
271
341
  );
272
342
  }
273
343
  );
274
- j.displayName = "PaginationEndpoint";
275
- const F = m(
344
+ I.displayName = "PaginationEndpoint";
345
+ const G = g(
276
346
  ({ className: e, ...a }, t) => /* @__PURE__ */ i(
277
347
  "span",
278
348
  {
@@ -286,12 +356,12 @@ const F = m(
286
356
  e ?? ""
287
357
  ].filter(Boolean).join(" "),
288
358
  ...a,
289
- children: /* @__PURE__ */ i(Z, { "aria-hidden": "true", className: "ds:size-4" })
359
+ children: /* @__PURE__ */ i(ie, { "aria-hidden": "true", className: "ds:size-4" })
290
360
  }
291
361
  )
292
362
  );
293
- F.displayName = "PaginationEllipsis";
294
- const re = [
363
+ G.displayName = "PaginationEllipsis";
364
+ const pe = [
295
365
  "ds:inline-flex ds:items-center ds:justify-between ds:gap-[var(--spacing-xs)]",
296
366
  "ds:rounded-[var(--radius-sm)] ds:border ds:border-[var(--border)] ds:bg-[var(--background)]",
297
367
  "ds:text-[var(--foreground)]",
@@ -300,13 +370,13 @@ const re = [
300
370
  "ds:text-[var(--font-size-sm)]",
301
371
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
302
372
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
303
- ].join(" "), de = [
373
+ ].join(" "), ge = [
304
374
  "ds:z-[var(--z-dropdown)] ds:overflow-hidden",
305
375
  "ds:rounded-[var(--radius-md)] ds:border ds:border-[var(--border)]",
306
376
  "ds:bg-[var(--background)] ds:text-[var(--foreground)]",
307
377
  "ds:shadow-[var(--shadow-lg)]",
308
378
  "ds:animate-in ds:fade-in ds:zoom-in-95 ds:motion-reduce:animate-none"
309
- ].join(" "), oe = [
379
+ ].join(" "), ue = [
310
380
  "ds:relative ds:flex ds:cursor-pointer ds:items-center",
311
381
  "ds:min-h-[var(--min-target-size)]",
312
382
  "ds:ps-[var(--spacing-xl)] ds:pe-[var(--spacing-sm)]",
@@ -315,108 +385,78 @@ const re = [
315
385
  "ds:data-[highlighted]:bg-[var(--muted)]/20",
316
386
  "ds:data-[disabled]:pointer-events-none ds:data-[disabled]:opacity-50"
317
387
  ].join(" ");
318
- function le({ value: e, options: a, onChange: t, formatNumber: s }) {
319
- const { t: d } = x(), r = X();
320
- return /* @__PURE__ */ v("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
388
+ function ve({
389
+ value: e,
390
+ options: a,
391
+ onChange: t,
392
+ formatNumber: s
393
+ }) {
394
+ const { t: o } = x(), r = ee();
395
+ return /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
321
396
  /* @__PURE__ */ i(
322
397
  "span",
323
398
  {
324
399
  id: r,
325
400
  className: "type-label ds:text-[var(--muted-foreground)]",
326
- children: d("ui.navigation.pagination.rowsPerPage")
401
+ children: o("ui.navigation.pagination.rowsPerPage")
327
402
  }
328
403
  ),
329
- /* @__PURE__ */ v(
330
- c.Root,
404
+ /* @__PURE__ */ f(
405
+ m.Root,
331
406
  {
332
407
  value: String(e),
333
408
  onValueChange: (n) => t(Number(n)),
334
409
  children: [
335
- /* @__PURE__ */ v(
336
- c.Trigger,
410
+ /* @__PURE__ */ f(
411
+ m.Trigger,
337
412
  {
338
413
  "aria-labelledby": r,
339
- className: re,
414
+ className: pe,
340
415
  children: [
341
- /* @__PURE__ */ i(c.Value, {}),
342
- /* @__PURE__ */ i(c.Icon, { asChild: !0, children: /* @__PURE__ */ i(R, { "aria-hidden": "true", className: "ds:size-3 ds:rotate-90" }) })
416
+ /* @__PURE__ */ i(m.Value, {}),
417
+ /* @__PURE__ */ i(m.Icon, { asChild: !0, children: /* @__PURE__ */ i(
418
+ F,
419
+ {
420
+ "aria-hidden": "true",
421
+ className: "ds:size-3 ds:rotate-90"
422
+ }
423
+ ) })
343
424
  ]
344
425
  }
345
426
  ),
346
- /* @__PURE__ */ i(c.Portal, { children: /* @__PURE__ */ i(c.Content, { className: de, position: "popper", children: /* @__PURE__ */ i(c.Viewport, { className: "ds:p-[var(--spacing-xs)]", children: a.map((n) => /* @__PURE__ */ v(
347
- c.Item,
427
+ /* @__PURE__ */ i(m.Portal, { children: /* @__PURE__ */ i(
428
+ m.Content,
348
429
  {
349
- value: String(n),
350
- className: oe,
351
- children: [
352
- /* @__PURE__ */ i(c.ItemIndicator, { className: "ds:absolute ds:inline-flex ds:items-center ds:justify-center ds:start-[var(--spacing-sm)]", children: /* @__PURE__ */ i(ae, { "aria-hidden": "true", className: "ds:size-3.5" }) }),
353
- /* @__PURE__ */ i(c.ItemText, { children: s(n) })
354
- ]
355
- },
356
- n
357
- )) }) }) })
430
+ className: ge,
431
+ position: "popper",
432
+ children: /* @__PURE__ */ i(m.Viewport, { className: "ds:p-[var(--spacing-xs)]", children: a.map((n) => /* @__PURE__ */ f(
433
+ m.Item,
434
+ {
435
+ value: String(n),
436
+ className: ue,
437
+ children: [
438
+ /* @__PURE__ */ i(m.ItemIndicator, { className: "ds:absolute ds:inline-flex ds:items-center ds:justify-center ds:start-[var(--spacing-sm)]", children: /* @__PURE__ */ i(de, { "aria-hidden": "true", className: "ds:size-3.5" }) }),
439
+ /* @__PURE__ */ i(m.ItemText, { children: s(n) })
440
+ ]
441
+ },
442
+ n
443
+ )) })
444
+ }
445
+ ) })
358
446
  ]
359
447
  }
360
448
  )
361
449
  ] });
362
450
  }
363
- const xe = {
364
- id: "pagination",
365
- capabilities: ["paginate", "range_navigate"],
366
- state: {
367
- currentPage: {
368
- type: "number",
369
- description: "Current page index (1-based).",
370
- read: (e) => e.getCurrentPage()
371
- },
372
- totalPages: {
373
- type: "number",
374
- description: "Total number of pages.",
375
- read: (e) => e.getTotalPages()
376
- }
377
- },
378
- actions: {
379
- go_to_page: {
380
- safety: "read",
381
- argsType: "{ page: number }",
382
- description: "Navigate to a specific 1-indexed page.",
383
- invoke: (e, a) => {
384
- e.goToPage(a.page);
385
- }
386
- },
387
- next: {
388
- safety: "read",
389
- description: "Advance to the next page.",
390
- invoke: (e) => {
391
- e.next();
392
- }
393
- },
394
- previous: {
395
- safety: "read",
396
- description: "Step back to the previous page.",
397
- invoke: (e) => {
398
- e.previous();
399
- }
400
- }
401
- },
402
- domHooks: {
403
- root: { attr: "data-component", value: "pagination" },
404
- instanceId: {
405
- attr: "data-component-id",
406
- sourceProp: "id",
407
- description: "Sourced from the id prop."
408
- }
409
- }
410
- };
411
451
  export {
412
- ne as P,
413
- F as a,
414
- u as b,
415
- _ as c,
416
- V as d,
417
- C as e,
418
- A as f,
419
- te as g,
420
- xe as p
452
+ me as P,
453
+ G as a,
454
+ v as b,
455
+ $ as c,
456
+ H as d,
457
+ q as e,
458
+ U as f,
459
+ ce as g,
460
+ oe as p
421
461
  };
422
- //# sourceMappingURL=pagination.agent-BkZQl45y.js.map
462
+ //# sourceMappingURL=pagination-3AC4zTsi.js.map
@@ -2,8 +2,8 @@ import { jsxs as p, jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as $, useRef as q, useState as L, useCallback as r, useMemo as B } from "react";
3
3
  import { c as y } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as G } from "react-i18next";
5
- import { T as J } from "./text-input-BX39e6T6.js";
6
- import { u as Q } from "./form-field-context-94LwgYTQ.js";
5
+ import { T as J } from "./text-input-DZwt9L8H.js";
6
+ import { u as Q } from "./form-field-context-B3APVHKx.js";
7
7
  import { c as X } from "./compose-refs-C0k0tdqF.js";
8
8
  import { u as Y } from "./registry-C9nwlNyL.js";
9
9
  import { E as Z } from "./eye-off-xEXDAh5z.js";
@@ -162,12 +162,9 @@ const ss = [
162
162
  const t = !s;
163
163
  return e == null || e(t), t;
164
164
  });
165
- }, [e]), u = r(
166
- (s) => {
167
- typeof s.getModifierState == "function" && I(s.getModifierState("CapsLock"));
168
- },
169
- []
170
- ), C = r(
165
+ }, [e]), u = r((s) => {
166
+ typeof s.getModifierState == "function" && I(s.getModifierState("CapsLock"));
167
+ }, []), C = r(
171
168
  (s) => {
172
169
  u(s), o == null || o(s);
173
170
  },
@@ -301,4 +298,4 @@ ns.displayName = "PasswordInput";
301
298
  export {
302
299
  ns as P
303
300
  };
304
- //# sourceMappingURL=password-input-D6kuYXmr.js.map
301
+ //# sourceMappingURL=password-input-C4LmjIH1.js.map