@commercetools/nimbus 0.0.0-canary-20251031122555 → 0.0.0-canary-20251031185705

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 (740) hide show
  1. package/dist/chunks/{Button-SjGHt140.es.js → Button-CmpJG0ec.es.js} +7 -7
  2. package/dist/chunks/{Button-SjGHt140.es.js.map → Button-CmpJG0ec.es.js.map} +1 -1
  3. package/dist/chunks/{CollectionBuilder-BhYUxJYI.es.js → CollectionBuilder-ksCQul85.es.js} +2 -2
  4. package/dist/chunks/{CollectionBuilder-BhYUxJYI.es.js.map → CollectionBuilder-ksCQul85.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DMjgxual.es.js → DateField-Bpk0AwB2.es.js} +21 -21
  6. package/dist/chunks/{DateField-DMjgxual.es.js.map → DateField-Bpk0AwB2.es.js.map} +1 -1
  7. package/dist/chunks/{DatePicker-Cvad8nra.es.js → DatePicker-DqFQq16u.es.js} +17 -17
  8. package/dist/chunks/{DatePicker-Cvad8nra.es.js.map → DatePicker-DqFQq16u.es.js.map} +1 -1
  9. package/dist/chunks/{Dialog-BUtdEtlF.es.js → Dialog-hbq1ZZne.es.js} +25 -25
  10. package/dist/chunks/{Dialog-BUtdEtlF.es.js.map → Dialog-hbq1ZZne.es.js.map} +1 -1
  11. package/dist/chunks/{FocusScope-C6u6zr_m.es.js → FocusScope-bj_mamFe.es.js} +36 -36
  12. package/dist/chunks/{FocusScope-C6u6zr_m.es.js.map → FocusScope-bj_mamFe.es.js.map} +1 -1
  13. package/dist/chunks/{Group-zHIVpnch.es.js → Group-C9jsb9_m.es.js} +8 -8
  14. package/dist/chunks/{Group-zHIVpnch.es.js.map → Group-C9jsb9_m.es.js.map} +1 -1
  15. package/dist/chunks/{Header-CpF5ynyj.es.js → Header-DOAbQymP.es.js} +5 -5
  16. package/dist/chunks/{Header-CpF5ynyj.es.js.map → Header-DOAbQymP.es.js.map} +1 -1
  17. package/dist/chunks/{Heading-DXod1zoy.es.js → Heading-D804NNml.es.js} +20 -20
  18. package/dist/chunks/{Heading-DXod1zoy.es.js.map → Heading-D804NNml.es.js.map} +1 -1
  19. package/dist/chunks/{Input-DCyrVIsi.es.js → Input-aKSXZBAh.es.js} +5 -5
  20. package/dist/chunks/{Input-DCyrVIsi.es.js.map → Input-aKSXZBAh.es.js.map} +1 -1
  21. package/dist/chunks/{Label-CUlxhtnU.es.js → Label-Bu5lTMzy.es.js} +2 -2
  22. package/dist/chunks/{Label-CUlxhtnU.es.js.map → Label-Bu5lTMzy.es.js.map} +1 -1
  23. package/dist/chunks/{ListBox-CdtzuZzA.es.js → ListBox-B43JPDJW.es.js} +15 -15
  24. package/dist/chunks/{ListBox-CdtzuZzA.es.js.map → ListBox-B43JPDJW.es.js.map} +1 -1
  25. package/dist/chunks/{Modal-BgIeZMyG.es.js → Modal-BvkgbKlP.es.js} +7 -7
  26. package/dist/chunks/{Modal-BgIeZMyG.es.js.map → Modal-BvkgbKlP.es.js.map} +1 -1
  27. package/dist/chunks/{OverlayArrow-DAfsQzBF.es.js → OverlayArrow-qm-lnjhS.es.js} +2 -2
  28. package/dist/chunks/{OverlayArrow-DAfsQzBF.es.js.map → OverlayArrow-qm-lnjhS.es.js.map} +1 -1
  29. package/dist/chunks/{ProgressBar-DZzovBW5.es.js → ProgressBar-DogfCeuX.es.js} +5 -5
  30. package/dist/chunks/{ProgressBar-DZzovBW5.es.js.map → ProgressBar-DogfCeuX.es.js.map} +1 -1
  31. package/dist/chunks/{SelectionManager-S9Amkvfg.es.js → SelectionManager-D87OqHl3.es.js} +14 -14
  32. package/dist/chunks/{SelectionManager-S9Amkvfg.es.js.map → SelectionManager-D87OqHl3.es.js.map} +1 -1
  33. package/dist/chunks/{Separator-kuF-Wo1o.es.js → Separator-CAgJSVll.es.js} +4 -4
  34. package/dist/chunks/{Separator-kuF-Wo1o.es.js.map → Separator-CAgJSVll.es.js.map} +1 -1
  35. package/dist/chunks/{TextArea-DgN-Bwdv.es.js → TextArea-JHqAZ7HD.es.js} +5 -5
  36. package/dist/chunks/{TextArea-DgN-Bwdv.es.js.map → TextArea-JHqAZ7HD.es.js.map} +1 -1
  37. package/dist/chunks/{ToggleButton-BIiBT_jL.es.js → ToggleButton-B-feHlsu.es.js} +7 -7
  38. package/dist/chunks/{ToggleButton-BIiBT_jL.es.js.map → ToggleButton-B-feHlsu.es.js.map} +1 -1
  39. package/dist/chunks/{VisuallyHidden-Dkq7SL0E.es.js → VisuallyHidden-BIA5VRNP.es.js} +3 -3
  40. package/dist/chunks/{VisuallyHidden-Dkq7SL0E.es.js.map → VisuallyHidden-BIA5VRNP.es.js.map} +1 -1
  41. package/dist/chunks/accordion-CuSTyC3h.es.js +84 -0
  42. package/dist/chunks/accordion-CuSTyC3h.es.js.map +1 -0
  43. package/dist/chunks/accordion-rPPLl_-o.cjs.js +2 -0
  44. package/dist/chunks/accordion-rPPLl_-o.cjs.js.map +1 -0
  45. package/dist/chunks/accordion.content-CgYeIB2S.cjs.js +2 -0
  46. package/dist/chunks/accordion.content-CgYeIB2S.cjs.js.map +1 -0
  47. package/dist/chunks/accordion.content-Dv8UBvRU.es.js +228 -0
  48. package/dist/chunks/accordion.content-Dv8UBvRU.es.js.map +1 -0
  49. package/dist/chunks/{alert-CVXQqjXr.es.js → alert-BvJRfwDx.es.js} +86 -13
  50. package/dist/chunks/alert-BvJRfwDx.es.js.map +1 -0
  51. package/dist/chunks/{alert-BlkniDy9.cjs.js → alert-DKsg4e2z.cjs.js} +2 -2
  52. package/dist/chunks/alert-DKsg4e2z.cjs.js.map +1 -0
  53. package/dist/chunks/{avatar-DFibCsCs.es.js → avatar-Dx_Cda2J.es.js} +2 -2
  54. package/dist/chunks/avatar-Dx_Cda2J.es.js.map +1 -0
  55. package/dist/chunks/{avatar-BNhECwD5.cjs.js → avatar-wRR1leVi.cjs.js} +2 -2
  56. package/dist/chunks/avatar-wRR1leVi.cjs.js.map +1 -0
  57. package/dist/chunks/{avatar.recipe-DfyPWbFZ.es.js → avatar.recipe-BEdxgo-r.es.js} +2 -2
  58. package/dist/chunks/avatar.recipe-BEdxgo-r.es.js.map +1 -0
  59. package/dist/chunks/avatar.recipe-XvknqPJq.cjs.js +2 -0
  60. package/dist/chunks/avatar.recipe-XvknqPJq.cjs.js.map +1 -0
  61. package/dist/chunks/badge-5F6i4KSF.cjs.js +2 -0
  62. package/dist/chunks/badge-5F6i4KSF.cjs.js.map +1 -0
  63. package/dist/chunks/badge-DUiqk6w9.es.js +17 -0
  64. package/dist/chunks/badge-DUiqk6w9.es.js.map +1 -0
  65. package/dist/chunks/badge.recipe-Cu6u9yqC.cjs.js.map +1 -1
  66. package/dist/chunks/badge.recipe-DsV4A_UD.es.js.map +1 -1
  67. package/dist/chunks/{button-CrUeW0pR.cjs.js → button-B3dFVcHC.cjs.js} +2 -2
  68. package/dist/chunks/{button-CrUeW0pR.cjs.js.map → button-B3dFVcHC.cjs.js.map} +1 -1
  69. package/dist/chunks/{button-B1VvTs1w.es.js → button-BalEcUUB.es.js} +6 -6
  70. package/dist/chunks/{button-B1VvTs1w.es.js.map → button-BalEcUUB.es.js.map} +1 -1
  71. package/dist/chunks/calendar-BFZb7VzL.cjs.js +2 -0
  72. package/dist/chunks/calendar-BFZb7VzL.cjs.js.map +1 -0
  73. package/dist/chunks/{calendar-D7pzgXqX.es.js → calendar-vWKF4KRn.es.js} +124 -125
  74. package/dist/chunks/calendar-vWKF4KRn.es.js.map +1 -0
  75. package/dist/chunks/card-BMpRfvHY.es.js +120 -0
  76. package/dist/chunks/card-BMpRfvHY.es.js.map +1 -0
  77. package/dist/chunks/card-DXVbaE-3.cjs.js +2 -0
  78. package/dist/chunks/card-DXVbaE-3.cjs.js.map +1 -0
  79. package/dist/chunks/{checkbox-CjR64WWv.es.js → checkbox-Cj4oO-ah.es.js} +14 -11
  80. package/dist/chunks/{checkbox-CjR64WWv.es.js.map → checkbox-Cj4oO-ah.es.js.map} +1 -1
  81. package/dist/chunks/{checkbox-CVnNylPS.cjs.js → checkbox-CvgBdEqk.cjs.js} +2 -2
  82. package/dist/chunks/{checkbox-CVnNylPS.cjs.js.map → checkbox-CvgBdEqk.cjs.js.map} +1 -1
  83. package/dist/chunks/collapsible-motion-C3o2-vxf.cjs.js +2 -0
  84. package/dist/chunks/collapsible-motion-C3o2-vxf.cjs.js.map +1 -0
  85. package/dist/chunks/collapsible-motion-D2RXv0UE.es.js +126 -0
  86. package/dist/chunks/collapsible-motion-D2RXv0UE.es.js.map +1 -0
  87. package/dist/chunks/{combobox-Bm_d6SaB.cjs.js → combobox-CEE8JUDf.cjs.js} +2 -2
  88. package/dist/chunks/{combobox-Bm_d6SaB.cjs.js.map → combobox-CEE8JUDf.cjs.js.map} +1 -1
  89. package/dist/chunks/{combobox-g3cCFSMZ.es.js → combobox-siEOoGB7.es.js} +226 -185
  90. package/dist/chunks/{combobox-g3cCFSMZ.es.js.map → combobox-siEOoGB7.es.js.map} +1 -1
  91. package/dist/chunks/{data-table--7Qxgjb7.cjs.js → data-table-BjFkMw2E.cjs.js} +2 -2
  92. package/dist/chunks/{data-table--7Qxgjb7.cjs.js.map → data-table-BjFkMw2E.cjs.js.map} +1 -1
  93. package/dist/chunks/{data-table-Dnp2C_pq.es.js → data-table-WpSHciHZ.es.js} +1086 -878
  94. package/dist/chunks/{data-table-Dnp2C_pq.es.js.map → data-table-WpSHciHZ.es.js.map} +1 -1
  95. package/dist/chunks/{date-input-CRnreBK0.es.js → date-input-CtTnoF_B.es.js} +4 -4
  96. package/dist/chunks/{date-input-CRnreBK0.es.js.map → date-input-CtTnoF_B.es.js.map} +1 -1
  97. package/dist/chunks/{date-input-CXFII_3C.cjs.js → date-input-depnLyb6.cjs.js} +2 -2
  98. package/dist/chunks/{date-input-CXFII_3C.cjs.js.map → date-input-depnLyb6.cjs.js.map} +1 -1
  99. package/dist/chunks/{date-picker-Zz2Sp3S6.es.js → date-picker-B4iulzjt.es.js} +69 -69
  100. package/dist/chunks/date-picker-B4iulzjt.es.js.map +1 -0
  101. package/dist/chunks/date-picker-Cz4IjM5C.cjs.js +2 -0
  102. package/dist/chunks/date-picker-Cz4IjM5C.cjs.js.map +1 -0
  103. package/dist/chunks/{date-range-picker-B2Cln3mU.es.js → date-range-picker-B-z5c0fw.es.js} +14 -14
  104. package/dist/chunks/{date-range-picker-B2Cln3mU.es.js.map → date-range-picker-B-z5c0fw.es.js.map} +1 -1
  105. package/dist/chunks/{date-range-picker-H_YtkQRE.cjs.js → date-range-picker-Cr48sK7o.cjs.js} +2 -2
  106. package/dist/chunks/{date-range-picker-H_YtkQRE.cjs.js.map → date-range-picker-Cr48sK7o.cjs.js.map} +1 -1
  107. package/dist/chunks/date-range-picker-field-0y5CNFyh.cjs.js +2 -0
  108. package/dist/chunks/date-range-picker-field-0y5CNFyh.cjs.js.map +1 -0
  109. package/dist/chunks/date-range-picker-field-BjK520E2.es.js +61 -0
  110. package/dist/chunks/date-range-picker-field-BjK520E2.es.js.map +1 -0
  111. package/dist/chunks/{dialog.close-trigger-Y9dS7xOy.cjs.js → dialog-CANllEUp.cjs.js} +2 -2
  112. package/dist/chunks/dialog-CANllEUp.cjs.js.map +1 -0
  113. package/dist/chunks/dialog-mu2l4D7k.es.js +305 -0
  114. package/dist/chunks/dialog-mu2l4D7k.es.js.map +1 -0
  115. package/dist/chunks/{draggable-list-ibWoXfeJ.es.js → draggable-list-COLeAeV4.es.js} +374 -368
  116. package/dist/chunks/{draggable-list-ibWoXfeJ.es.js.map → draggable-list-COLeAeV4.es.js.map} +1 -1
  117. package/dist/chunks/{draggable-list-TkB0lPBh.cjs.js → draggable-list-D0ov_oEo.cjs.js} +3 -3
  118. package/dist/chunks/{draggable-list-TkB0lPBh.cjs.js.map → draggable-list-D0ov_oEo.cjs.js.map} +1 -1
  119. package/dist/chunks/drawer-BAzowUiG.cjs.js +2 -0
  120. package/dist/chunks/drawer-BAzowUiG.cjs.js.map +1 -0
  121. package/dist/chunks/{drawer-ZczUeqdd.es.js → drawer-jIQq7Jpl.es.js} +17 -9
  122. package/dist/chunks/drawer-jIQq7Jpl.es.js.map +1 -0
  123. package/dist/chunks/{extract-style-props-B6-o20G1.cjs.js → extract-style-props-Bd2GaMQq.cjs.js} +2 -2
  124. package/dist/chunks/{extract-style-props-B6-o20G1.cjs.js.map → extract-style-props-Bd2GaMQq.cjs.js.map} +1 -1
  125. package/dist/chunks/{extract-style-props-fH5EHRZU.es.js → extract-style-props-BjwbJ_Xp.es.js} +2 -2
  126. package/dist/chunks/{extract-style-props-fH5EHRZU.es.js.map → extract-style-props-BjwbJ_Xp.es.js.map} +1 -1
  127. package/dist/chunks/field-errors-ClQprmQz.es.js.map +1 -1
  128. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +1 -1
  129. package/dist/chunks/{focusSafely-BNN5-xvK.es.js → focusSafely-RvsgqoUt.es.js} +3 -3
  130. package/dist/chunks/{focusSafely-BNN5-xvK.es.js.map → focusSafely-RvsgqoUt.es.js.map} +1 -1
  131. package/dist/chunks/form-field-Bp0X0gNb.cjs.js +2 -0
  132. package/dist/chunks/form-field-Bp0X0gNb.cjs.js.map +1 -0
  133. package/dist/chunks/form-field-noHYMMQd.es.js +358 -0
  134. package/dist/chunks/form-field-noHYMMQd.es.js.map +1 -0
  135. package/dist/chunks/{getScrollParent-g7luwBTz.es.js → getScrollParent-DlqhSzBC.es.js} +2 -2
  136. package/dist/chunks/{getScrollParent-g7luwBTz.es.js.map → getScrollParent-DlqhSzBC.es.js.map} +1 -1
  137. package/dist/chunks/{group-BfsiVCo-.es.js → group-jGsHh1w7.es.js} +2 -2
  138. package/dist/chunks/{group-BfsiVCo-.es.js.map → group-jGsHh1w7.es.js.map} +1 -1
  139. package/dist/chunks/{heading-BfaL2s7d.es.js → heading-CwsT9zp_.es.js} +2 -2
  140. package/dist/chunks/{heading-BfaL2s7d.es.js.map → heading-CwsT9zp_.es.js.map} +1 -1
  141. package/dist/chunks/{icon-button-XkzBkGuJ.es.js → icon-button-CfN4QLes.es.js} +2 -2
  142. package/dist/chunks/{icon-button-XkzBkGuJ.es.js.map → icon-button-CfN4QLes.es.js.map} +1 -1
  143. package/dist/chunks/{icon-button-C_itb6iA.cjs.js → icon-button-acD2PKxb.cjs.js} +2 -2
  144. package/dist/chunks/{icon-button-C_itb6iA.cjs.js.map → icon-button-acD2PKxb.cjs.js.map} +1 -1
  145. package/dist/chunks/{icon-toggle-button-D562D8WP.cjs.js → icon-toggle-button-DZjAAxUN.cjs.js} +2 -2
  146. package/dist/chunks/{icon-toggle-button-D562D8WP.cjs.js.map → icon-toggle-button-DZjAAxUN.cjs.js.map} +1 -1
  147. package/dist/chunks/{icon-toggle-button-D4MFHBgl.es.js → icon-toggle-button-JNBy2M8q.es.js} +2 -2
  148. package/dist/chunks/{icon-toggle-button-D4MFHBgl.es.js.map → icon-toggle-button-JNBy2M8q.es.js.map} +1 -1
  149. package/dist/chunks/{index-B7wlrXvj.es.js → index-B-UyZdac.es.js} +233 -228
  150. package/dist/chunks/index-B-UyZdac.es.js.map +1 -0
  151. package/dist/chunks/index-Cwy57TA-.cjs.js +34 -0
  152. package/dist/chunks/index-Cwy57TA-.cjs.js.map +1 -0
  153. package/dist/chunks/{kbd-BBIIThUL.es.js → kbd-B11Qoo4k.es.js} +2 -2
  154. package/dist/chunks/{kbd-BBIIThUL.es.js.map → kbd-B11Qoo4k.es.js.map} +1 -1
  155. package/dist/chunks/{link-CPnL46cY.es.js → link-Db65JZE6.es.js} +9 -9
  156. package/dist/chunks/{link-CPnL46cY.es.js.map → link-Db65JZE6.es.js.map} +1 -1
  157. package/dist/chunks/{loading-spinner-CaTPSyK4.es.js → loading-spinner-FBgHlqXQ.es.js} +3 -3
  158. package/dist/chunks/{loading-spinner-CaTPSyK4.es.js.map → loading-spinner-FBgHlqXQ.es.js.map} +1 -1
  159. package/dist/chunks/{localized-field-ByW-vsvR.cjs.js → localized-field-CLNEUHDE.cjs.js} +2 -2
  160. package/dist/chunks/localized-field-CLNEUHDE.cjs.js.map +1 -0
  161. package/dist/chunks/{localized-field-DyZpSuGk.es.js → localized-field-D3NXlDB4.es.js} +31 -31
  162. package/dist/chunks/localized-field-D3NXlDB4.es.js.map +1 -0
  163. package/dist/chunks/{make-element-focusable-DgSPkXRd.es.js → make-element-focusable-DVfaQntJ.es.js} +6 -6
  164. package/dist/chunks/{make-element-focusable-DgSPkXRd.es.js.map → make-element-focusable-DVfaQntJ.es.js.map} +1 -1
  165. package/dist/chunks/menu-BN2WBtU1.cjs.js +2 -0
  166. package/dist/chunks/menu-BN2WBtU1.cjs.js.map +1 -0
  167. package/dist/chunks/{menu-CaSPNND_.es.js → menu-CV4u_xTQ.es.js} +55 -62
  168. package/dist/chunks/menu-CV4u_xTQ.es.js.map +1 -0
  169. package/dist/chunks/{mergeProps-DtKAFxbD.es.js → mergeProps-D1jjFfMs.es.js} +5 -5
  170. package/dist/chunks/{mergeProps-DtKAFxbD.es.js.map → mergeProps-D1jjFfMs.es.js.map} +1 -1
  171. package/dist/chunks/{money-input-BT3JhOpu.cjs.js → money-input-BcVl1GSJ.cjs.js} +2 -2
  172. package/dist/chunks/{money-input-BT3JhOpu.cjs.js.map → money-input-BcVl1GSJ.cjs.js.map} +1 -1
  173. package/dist/chunks/{money-input-D6_TFZB-.es.js → money-input-CHGisosY.es.js} +9 -9
  174. package/dist/chunks/{money-input-D6_TFZB-.es.js.map → money-input-CHGisosY.es.js.map} +1 -1
  175. package/dist/chunks/{multiline-text-input-DqLmTSr5.es.js → multiline-text-input-C1d7g4qG.es.js} +5 -5
  176. package/dist/chunks/multiline-text-input-C1d7g4qG.es.js.map +1 -0
  177. package/dist/chunks/{multiline-text-input-BWEsaxf_.cjs.js → multiline-text-input-CQIh1RY_.cjs.js} +2 -2
  178. package/dist/chunks/multiline-text-input-CQIh1RY_.cjs.js.map +1 -0
  179. package/dist/chunks/{nimbus-provider-Bap0WHRm.es.js → nimbus-provider-DhbgfQBR.es.js} +2 -2
  180. package/dist/chunks/{nimbus-provider-Bap0WHRm.es.js.map → nimbus-provider-DhbgfQBR.es.js.map} +1 -1
  181. package/dist/chunks/{nimbus-provider-BarcIhYi.cjs.js → nimbus-provider-m1x1g8kD.cjs.js} +2 -2
  182. package/dist/chunks/{nimbus-provider-BarcIhYi.cjs.js.map → nimbus-provider-m1x1g8kD.cjs.js.map} +1 -1
  183. package/dist/chunks/{number-input-BskHV8w5.cjs.js → number-input-Au2Q7jMA.cjs.js} +2 -2
  184. package/dist/chunks/{number-input-BskHV8w5.cjs.js.map → number-input-Au2Q7jMA.cjs.js.map} +1 -1
  185. package/dist/chunks/{number-input-CerB7jp0.es.js → number-input-uHgywOUH.es.js} +39 -39
  186. package/dist/chunks/{number-input-CerB7jp0.es.js.map → number-input-uHgywOUH.es.js.map} +1 -1
  187. package/dist/chunks/{pagination-dlHn3OhV.es.js → pagination-CFtt5U4o.es.js} +5 -5
  188. package/dist/chunks/{pagination-dlHn3OhV.es.js.map → pagination-CFtt5U4o.es.js.map} +1 -1
  189. package/dist/chunks/{pagination-xj41eBPX.cjs.js → pagination-EMnwkW14.cjs.js} +2 -2
  190. package/dist/chunks/{pagination-xj41eBPX.cjs.js.map → pagination-EMnwkW14.cjs.js.map} +1 -1
  191. package/dist/chunks/{password-input-DGtJisDd.cjs.js → password-input-BCoucE5i.cjs.js} +2 -2
  192. package/dist/chunks/{password-input-DGtJisDd.cjs.js.map → password-input-BCoucE5i.cjs.js.map} +1 -1
  193. package/dist/chunks/{password-input-Dw-m0lej.es.js → password-input-CizSENHi.es.js} +4 -4
  194. package/dist/chunks/{password-input-Dw-m0lej.es.js.map → password-input-CizSENHi.es.js.map} +1 -1
  195. package/dist/chunks/{popover-CaE5pDl9.es.js → popover-DM-6JZxY.es.js} +2 -2
  196. package/dist/chunks/{popover-CaE5pDl9.es.js.map → popover-DM-6JZxY.es.js.map} +1 -1
  197. package/dist/chunks/progress-bar-Ci_tl6r6.cjs.js +2 -0
  198. package/dist/chunks/progress-bar-Ci_tl6r6.cjs.js.map +1 -0
  199. package/dist/chunks/progress-bar-DUiuVJqK.es.js +76 -0
  200. package/dist/chunks/progress-bar-DUiuVJqK.es.js.map +1 -0
  201. package/dist/chunks/radio-input-DrI0Xgth.cjs.js +2 -0
  202. package/dist/chunks/{radio-input-yA7MF_jw.cjs.js.map → radio-input-DrI0Xgth.cjs.js.map} +1 -1
  203. package/dist/chunks/{radio-input-Dg7PXbQa.es.js → radio-input-DvTO8zOs.es.js} +98 -72
  204. package/dist/chunks/{radio-input-Dg7PXbQa.es.js.map → radio-input-DvTO8zOs.es.js.map} +1 -1
  205. package/dist/chunks/range-calendar-C8brNqiX.cjs.js +2 -0
  206. package/dist/chunks/range-calendar-C8brNqiX.cjs.js.map +1 -0
  207. package/dist/chunks/{range-calendar-D6nonjnz.es.js → range-calendar-CJZmV_qG.es.js} +128 -127
  208. package/dist/chunks/range-calendar-CJZmV_qG.es.js.map +1 -0
  209. package/dist/chunks/rich-text-input-BJk01U_c.cjs.js +10 -0
  210. package/dist/chunks/rich-text-input-BJk01U_c.cjs.js.map +1 -0
  211. package/dist/chunks/{rich-text-input-hBorJHFw.es.js → rich-text-input-CdYQJX6c.es.js} +219 -219
  212. package/dist/chunks/rich-text-input-CdYQJX6c.es.js.map +1 -0
  213. package/dist/chunks/{scoped-search-input-C6B7Szzk.cjs.js → scoped-search-input-D6qpyJYv.cjs.js} +2 -2
  214. package/dist/chunks/scoped-search-input-D6qpyJYv.cjs.js.map +1 -0
  215. package/dist/chunks/{scoped-search-input-B7rDiJuj.es.js → scoped-search-input-gMsh3VM9.es.js} +15 -6
  216. package/dist/chunks/scoped-search-input-gMsh3VM9.es.js.map +1 -0
  217. package/dist/chunks/{scrollIntoView-CRn_Y0bq.es.js → scrollIntoView-CQMm8-SR.es.js} +2 -2
  218. package/dist/chunks/{scrollIntoView-CRn_Y0bq.es.js.map → scrollIntoView-CQMm8-SR.es.js.map} +1 -1
  219. package/dist/chunks/{search-input-tna-iiqy.es.js → search-input-CdHR3Kxc.es.js} +15 -12
  220. package/dist/chunks/{search-input-tna-iiqy.es.js.map → search-input-CdHR3Kxc.es.js.map} +1 -1
  221. package/dist/chunks/{search-input-vq7lviez.cjs.js → search-input-DgiODO-g.cjs.js} +2 -2
  222. package/dist/chunks/{search-input-vq7lviez.cjs.js.map → search-input-DgiODO-g.cjs.js.map} +1 -1
  223. package/dist/chunks/{select-B0WZuFVc.es.js → select-Csja0bBR.es.js} +92 -96
  224. package/dist/chunks/{select-B0WZuFVc.es.js.map → select-Csja0bBR.es.js.map} +1 -1
  225. package/dist/chunks/select-CvRLaSMs.cjs.js +2 -0
  226. package/dist/chunks/{select-wD3QlanS.cjs.js.map → select-CvRLaSMs.cjs.js.map} +1 -1
  227. package/dist/chunks/{separator-Dng72n3L.es.js → separator-D6b9i-eh.es.js} +4 -4
  228. package/dist/chunks/{separator-Dng72n3L.es.js.map → separator-D6b9i-eh.es.js.map} +1 -1
  229. package/dist/chunks/{separator-TrQT9Pcb.cjs.js → separator-D9kKI6Qa.cjs.js} +2 -2
  230. package/dist/chunks/{separator-TrQT9Pcb.cjs.js.map → separator-D9kKI6Qa.cjs.js.map} +1 -1
  231. package/dist/chunks/{split-button-pF0iIa_0.es.js → split-button-4gxONpNC.es.js} +4 -4
  232. package/dist/chunks/{split-button-pF0iIa_0.es.js.map → split-button-4gxONpNC.es.js.map} +1 -1
  233. package/dist/chunks/{split-button-BH500vls.cjs.js → split-button-Ci3LSgyf.cjs.js} +2 -2
  234. package/dist/chunks/{split-button-BH500vls.cjs.js.map → split-button-Ci3LSgyf.cjs.js.map} +1 -1
  235. package/dist/chunks/{switch-D3tDl7RG.cjs.js → switch-CY5B06Rw.cjs.js} +2 -2
  236. package/dist/chunks/{switch-D3tDl7RG.cjs.js.map → switch-CY5B06Rw.cjs.js.map} +1 -1
  237. package/dist/chunks/{switch-DJENPCZA.es.js → switch-DJZffBPP.es.js} +7 -7
  238. package/dist/chunks/{switch-DJENPCZA.es.js.map → switch-DJZffBPP.es.js.map} +1 -1
  239. package/dist/chunks/{tabs-Bj24YiXX.cjs.js → tabs-3vm885CF.cjs.js} +2 -2
  240. package/dist/chunks/{tabs-Bj24YiXX.cjs.js.map → tabs-3vm885CF.cjs.js.map} +1 -1
  241. package/dist/chunks/{tabs-D3SqKC9V.es.js → tabs-Dwh31onP.es.js} +128 -54
  242. package/dist/chunks/{tabs-D3SqKC9V.es.js.map → tabs-Dwh31onP.es.js.map} +1 -1
  243. package/dist/chunks/{tag-group-DQ72dsVp.es.js → tag-group-FYIVNur5.es.js} +105 -57
  244. package/dist/chunks/{tag-group-DQ72dsVp.es.js.map → tag-group-FYIVNur5.es.js.map} +1 -1
  245. package/dist/chunks/{tag-group-Djb2ouRY.cjs.js → tag-group-ooDwx1Ix.cjs.js} +2 -2
  246. package/dist/chunks/{tag-group-Djb2ouRY.cjs.js.map → tag-group-ooDwx1Ix.cjs.js.map} +1 -1
  247. package/dist/chunks/{text-BVYJmhjj.es.js → text-DvqDjbwb.es.js} +2 -2
  248. package/dist/chunks/{text-BVYJmhjj.es.js.map → text-DvqDjbwb.es.js.map} +1 -1
  249. package/dist/chunks/{text-input-B5tizBg4.cjs.js → text-input-D0ehU383.cjs.js} +2 -2
  250. package/dist/chunks/text-input-D0ehU383.cjs.js.map +1 -0
  251. package/dist/chunks/{text-input-DBFEKmrv.es.js → text-input-QGJNax-6.es.js} +14 -8
  252. package/dist/chunks/text-input-QGJNax-6.es.js.map +1 -0
  253. package/dist/chunks/text-input-field-KEntobaR.cjs.js +2 -0
  254. package/dist/chunks/text-input-field-KEntobaR.cjs.js.map +1 -0
  255. package/dist/chunks/text-input-field-rt2r9i_0.es.js +55 -0
  256. package/dist/chunks/text-input-field-rt2r9i_0.es.js.map +1 -0
  257. package/dist/chunks/{time-input-DWrgu6Yp.cjs.js → time-input-5HlWzEKi.cjs.js} +2 -2
  258. package/dist/chunks/{time-input-DWrgu6Yp.cjs.js.map → time-input-5HlWzEKi.cjs.js.map} +1 -1
  259. package/dist/chunks/{time-input-BJ1nDsyZ.es.js → time-input-DEJ9mSMK.es.js} +4 -4
  260. package/dist/chunks/{time-input-BJ1nDsyZ.es.js.map → time-input-DEJ9mSMK.es.js.map} +1 -1
  261. package/dist/chunks/{toggle-button-mL9CAReh.cjs.js → toggle-button-B2n8jZpx.cjs.js} +2 -2
  262. package/dist/chunks/{toggle-button-mL9CAReh.cjs.js.map → toggle-button-B2n8jZpx.cjs.js.map} +1 -1
  263. package/dist/chunks/{toggle-button-Dm4hPGPr.es.js → toggle-button-BFF8f8hk.es.js} +4 -4
  264. package/dist/chunks/{toggle-button-Dm4hPGPr.es.js.map → toggle-button-BFF8f8hk.es.js.map} +1 -1
  265. package/dist/chunks/toggle-button-group-Lfn3zYmC.cjs.js.map +1 -1
  266. package/dist/chunks/{toggle-button-group-DMH0nd7S.es.js → toggle-button-group-P0oS-q6h.es.js} +2 -2
  267. package/dist/chunks/toggle-button-group-P0oS-q6h.es.js.map +1 -0
  268. package/dist/chunks/{toolbar-Df-6gFqW.cjs.js → toolbar-AAOkoSJS.cjs.js} +2 -2
  269. package/dist/chunks/{toolbar-Df-6gFqW.cjs.js.map → toolbar-AAOkoSJS.cjs.js.map} +1 -1
  270. package/dist/chunks/{toolbar-wCiInDj2.es.js → toolbar-BQLSIrsK.es.js} +6 -6
  271. package/dist/chunks/{toolbar-wCiInDj2.es.js.map → toolbar-BQLSIrsK.es.js.map} +1 -1
  272. package/dist/chunks/{tooltip-Aar_qzmT.cjs.js → tooltip-Bv-QlJ1O.cjs.js} +2 -2
  273. package/dist/chunks/{tooltip-Aar_qzmT.cjs.js.map → tooltip-Bv-QlJ1O.cjs.js.map} +1 -1
  274. package/dist/chunks/{tooltip-CDmtIjmS.es.js → tooltip-CzEuq_Qi.es.js} +51 -18
  275. package/dist/chunks/{tooltip-CDmtIjmS.es.js.map → tooltip-CzEuq_Qi.es.js.map} +1 -1
  276. package/dist/chunks/{useButton-C6AOJI9V.es.js → useButton-B2TbwHSy.es.js} +4 -4
  277. package/dist/chunks/{useButton-C6AOJI9V.es.js.map → useButton-B2TbwHSy.es.js.map} +1 -1
  278. package/dist/chunks/{useDateFormatter-eE8d1TkO.es.js → useDateFormatter-CO08GpLe.es.js} +4 -4
  279. package/dist/chunks/{useDateFormatter-eE8d1TkO.es.js.map → useDateFormatter-CO08GpLe.es.js.map} +1 -1
  280. package/dist/chunks/{useDisclosureState-D1JuSOd2.es.js → useDisclosureState-BqxwXawT.es.js} +3 -3
  281. package/dist/chunks/{useDisclosureState-D1JuSOd2.es.js.map → useDisclosureState-BqxwXawT.es.js.map} +1 -1
  282. package/dist/chunks/{useEvent-9dPxQ57C.es.js → useEvent-D8bTsAyx.es.js} +4 -4
  283. package/dist/chunks/{useEvent-9dPxQ57C.es.js.map → useEvent-D8bTsAyx.es.js.map} +1 -1
  284. package/dist/chunks/{useField-pcfe8gKN.es.js → useField-BfW84CS4.es.js} +8 -8
  285. package/dist/chunks/{useField-pcfe8gKN.es.js.map → useField-BfW84CS4.es.js.map} +1 -1
  286. package/dist/chunks/{useFocus-Q2wBJr4c.es.js → useFocus-TCNvrvTC.es.js} +2 -2
  287. package/dist/chunks/{useFocus-Q2wBJr4c.es.js.map → useFocus-TCNvrvTC.es.js.map} +1 -1
  288. package/dist/chunks/{useFocusRing-4xTd5aPf.es.js → useFocusRing-oMAqzr3e.es.js} +4 -4
  289. package/dist/chunks/{useFocusRing-4xTd5aPf.es.js.map → useFocusRing-oMAqzr3e.es.js.map} +1 -1
  290. package/dist/chunks/{useFocusVisible-Cqoc10KD.es.js → useFocusVisible-Uw6yFmFY.es.js} +6 -6
  291. package/dist/chunks/{useFocusVisible-Cqoc10KD.es.js.map → useFocusVisible-Uw6yFmFY.es.js.map} +1 -1
  292. package/dist/chunks/{useFocusWithin-CmZPz1jk.es.js → useFocusWithin-nAsP7Ru3.es.js} +2 -2
  293. package/dist/chunks/{useFocusWithin-CmZPz1jk.es.js.map → useFocusWithin-nAsP7Ru3.es.js.map} +1 -1
  294. package/dist/chunks/{useFocusable-Dhchq_tH.es.js → useFocusable-Bm-DQaak.es.js} +5 -5
  295. package/dist/chunks/{useFocusable-Dhchq_tH.es.js.map → useFocusable-Bm-DQaak.es.js.map} +1 -1
  296. package/dist/chunks/{useFormReset-3ffKrKus.es.js → useFormReset-C52dSDoe.es.js} +2 -2
  297. package/dist/chunks/{useFormReset-3ffKrKus.es.js.map → useFormReset-C52dSDoe.es.js.map} +1 -1
  298. package/dist/chunks/{useFormValidation-CsBzLHWo.es.js → useFormValidation-DxDV9X1M.es.js} +3 -3
  299. package/dist/chunks/{useFormValidation-CsBzLHWo.es.js.map → useFormValidation-DxDV9X1M.es.js.map} +1 -1
  300. package/dist/chunks/{useGridListItem-WBYPB9KF.es.js → useGridListItem-F3yPBTEW.es.js} +10 -10
  301. package/dist/chunks/{useGridListItem-WBYPB9KF.es.js.map → useGridListItem-F3yPBTEW.es.js.map} +1 -1
  302. package/dist/chunks/{useHasTabbableChild-Dd6zlnRC.es.js → useHasTabbableChild-DemFbZRn.es.js} +3 -3
  303. package/dist/chunks/{useHasTabbableChild-Dd6zlnRC.es.js.map → useHasTabbableChild-DemFbZRn.es.js.map} +1 -1
  304. package/dist/chunks/{useHover-B62SXQZ1.es.js → useHover-BtRK9g2L.es.js} +2 -2
  305. package/dist/chunks/{useHover-B62SXQZ1.es.js.map → useHover-BtRK9g2L.es.js.map} +1 -1
  306. package/dist/chunks/{useLabel-Dy7MtUCn.es.js → useLabel-DfbcmKTa.es.js} +5 -5
  307. package/dist/chunks/{useLabel-Dy7MtUCn.es.js.map → useLabel-DfbcmKTa.es.js.map} +1 -1
  308. package/dist/chunks/{useLabels-DwkgAC0N.es.js → useLabels-Gn8v9XZB.es.js} +2 -2
  309. package/dist/chunks/{useLabels-DwkgAC0N.es.js.map → useLabels-Gn8v9XZB.es.js.map} +1 -1
  310. package/dist/chunks/{useListState-BFNT8oUW.es.js → useListState-BkVh9WsE.es.js} +2 -2
  311. package/dist/chunks/{useListState-BFNT8oUW.es.js.map → useListState-BkVh9WsE.es.js.map} +1 -1
  312. package/dist/chunks/{usePress-HeLch-fy.es.js → usePress-C_IPaF8I.es.js} +6 -6
  313. package/dist/chunks/{usePress-HeLch-fy.es.js.map → usePress-C_IPaF8I.es.js.map} +1 -1
  314. package/dist/chunks/{useProgressBar-B2to0nHL.es.js → useProgressBar-DCj794Zv.es.js} +7 -7
  315. package/dist/chunks/{useProgressBar-B2to0nHL.es.js.map → useProgressBar-DCj794Zv.es.js.map} +1 -1
  316. package/dist/chunks/{useSingleSelectListState-DcU-tU_H.es.js → useSingleSelectListState-BszJZd-K.es.js} +2 -2
  317. package/dist/chunks/{useSingleSelectListState-DcU-tU_H.es.js.map → useSingleSelectListState-BszJZd-K.es.js.map} +1 -1
  318. package/dist/chunks/{useSpinButton-BXv98XYF.es.js → useSpinButton-BiQ20B5n.es.js} +15 -15
  319. package/dist/chunks/{useSpinButton-BXv98XYF.es.js.map → useSpinButton-BiQ20B5n.es.js.map} +1 -1
  320. package/dist/chunks/{useSyncRef-CGglUgYU.es.js → useSyncRef-DmY05o2G.es.js} +2 -2
  321. package/dist/chunks/{useSyncRef-CGglUgYU.es.js.map → useSyncRef-DmY05o2G.es.js.map} +1 -1
  322. package/dist/chunks/{useTextField-DbxpGgV5.es.js → useTextField-9WuJfc9u.es.js} +7 -7
  323. package/dist/chunks/{useTextField-DbxpGgV5.es.js.map → useTextField-9WuJfc9u.es.js.map} +1 -1
  324. package/dist/chunks/{useToggle-XQtoJnll.es.js → useToggle-BZPMewLP.es.js} +5 -5
  325. package/dist/chunks/{useToggle-XQtoJnll.es.js.map → useToggle-BZPMewLP.es.js.map} +1 -1
  326. package/dist/chunks/{useToolbar-DGsUdEv7.es.js → useToolbar-C673xD3E.es.js} +3 -3
  327. package/dist/chunks/{useToolbar-DGsUdEv7.es.js.map → useToolbar-C673xD3E.es.js.map} +1 -1
  328. package/dist/chunks/{utils-_m_bPtjI.es.js → utils-9vu7GUaz.es.js} +2 -2
  329. package/dist/chunks/{utils-_m_bPtjI.es.js.map → utils-9vu7GUaz.es.js.map} +1 -1
  330. package/dist/chunks/{utils-Be2JRmv-.es.js → utils-Bl-3nKLa.es.js} +6 -6
  331. package/dist/chunks/{utils-Be2JRmv-.es.js.map → utils-Bl-3nKLa.es.js.map} +1 -1
  332. package/dist/chunks/{visually-hidden-BmFEAQP9.es.js → visually-hidden-m5QY9YV7.es.js} +2 -2
  333. package/dist/chunks/{visually-hidden-BmFEAQP9.es.js.map → visually-hidden-m5QY9YV7.es.js.map} +1 -1
  334. package/dist/components/accordion/accordion.d.ts +116 -11
  335. package/dist/components/accordion/accordion.recipe.d.ts +13 -13
  336. package/dist/components/accordion/accordion.slots.d.ts +5 -5
  337. package/dist/components/accordion/accordion.types.d.ts +15 -5
  338. package/dist/components/accordion/components/accordion.content.d.ts +12 -0
  339. package/dist/components/accordion/components/accordion.header-right-content.d.ts +13 -0
  340. package/dist/components/accordion/components/accordion.header.d.ts +13 -0
  341. package/dist/components/accordion/components/accordion.item.d.ts +13 -0
  342. package/dist/components/accordion/components/accordion.root.d.ts +12 -0
  343. package/dist/components/accordion/components/index.d.ts +5 -0
  344. package/dist/components/accordion.cjs +1 -1
  345. package/dist/components/accordion.es.js +8 -7
  346. package/dist/components/accordion.es.js.map +1 -1
  347. package/dist/components/alert/alert.d.ts +84 -5
  348. package/dist/components/alert/alert.slots.d.ts +5 -5
  349. package/dist/components/alert/alert.types.d.ts +5 -4
  350. package/dist/components/alert/components/alert.actions.d.ts +5 -0
  351. package/dist/components/alert/components/alert.description.d.ts +5 -0
  352. package/dist/components/alert/components/alert.dismiss-button.d.ts +5 -0
  353. package/dist/components/alert/components/alert.root.d.ts +2 -4
  354. package/dist/components/alert/components/alert.title.d.ts +5 -0
  355. package/dist/components/alert/components/index.d.ts +5 -0
  356. package/dist/components/alert.cjs +1 -1
  357. package/dist/components/alert.es.js +1 -1
  358. package/dist/components/avatar/avatar.d.ts +22 -0
  359. package/dist/components/avatar/avatar.slots.d.ts +1 -1
  360. package/dist/components/avatar/avatar.types.d.ts +2 -1
  361. package/dist/components/avatar.cjs +1 -1
  362. package/dist/components/avatar.es.js +1 -1
  363. package/dist/components/badge/badge.slots.d.ts +1 -1
  364. package/dist/components/badge/badge.types.d.ts +2 -1
  365. package/dist/components/badge.cjs +1 -1
  366. package/dist/components/badge.es.js +1 -1
  367. package/dist/components/button.cjs +1 -1
  368. package/dist/components/button.es.js +1 -1
  369. package/dist/components/calendar/calendar.slots.d.ts +8 -8
  370. package/dist/components/calendar/calendar.types.d.ts +42 -2
  371. package/dist/components/calendar/components/index.d.ts +3 -0
  372. package/dist/components/calendar.cjs +1 -1
  373. package/dist/components/calendar.es.js +1 -1
  374. package/dist/components/card/card.d.ts +66 -4
  375. package/dist/components/card/card.slots.d.ts +5 -8
  376. package/dist/components/card/card.types.d.ts +4 -3
  377. package/dist/components/card/components/card.content.d.ts +5 -0
  378. package/dist/components/card/components/card.header.d.ts +5 -0
  379. package/dist/components/card/components/card.root.d.ts +3 -5
  380. package/dist/components/card/components/index.d.ts +3 -0
  381. package/dist/components/card.cjs +1 -1
  382. package/dist/components/card.es.js +1 -1
  383. package/dist/components/checkbox/checkbox.slots.d.ts +5 -5
  384. package/dist/components/checkbox/checkbox.types.d.ts +4 -3
  385. package/dist/components/checkbox.cjs +1 -1
  386. package/dist/components/checkbox.es.js +1 -1
  387. package/dist/components/collapsible-motion/collapsible-motion.d.ts +1 -3
  388. package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +2 -2
  389. package/dist/components/collapsible-motion/collapsible-motion.types.d.ts +4 -3
  390. package/dist/components/collapsible-motion/components/collapsible-motion-content.d.ts +3 -1
  391. package/dist/components/collapsible-motion/components/collapsible-motion-root.d.ts +2 -0
  392. package/dist/components/collapsible-motion/components/collapsible-motion-trigger.d.ts +3 -1
  393. package/dist/components/collapsible-motion/components/index.d.ts +3 -0
  394. package/dist/components/collapsible-motion/index.d.ts +1 -1
  395. package/dist/components/collapsible-motion.cjs +1 -1
  396. package/dist/components/collapsible-motion.es.js +5 -2
  397. package/dist/components/combobox/combobox.d.ts +44 -4
  398. package/dist/components/combobox/combobox.recipe.d.ts +1 -1
  399. package/dist/components/combobox/combobox.slots.d.ts +15 -13
  400. package/dist/components/combobox/combobox.types.d.ts +6 -5
  401. package/dist/components/combobox/components/combobox.leading-element.d.ts +2 -0
  402. package/dist/components/combobox/components/combobox.multi-select-button-group.d.ts +5 -0
  403. package/dist/components/combobox/components/combobox.multi-select-root.d.ts +5 -0
  404. package/dist/components/combobox/components/combobox.multi-select-tag-group.d.ts +5 -0
  405. package/dist/components/combobox/components/combobox.option-group.d.ts +5 -0
  406. package/dist/components/combobox/components/combobox.option.d.ts +5 -0
  407. package/dist/components/combobox/components/combobox.options.d.ts +5 -0
  408. package/dist/components/combobox/components/combobox.root.d.ts +1 -1
  409. package/dist/components/combobox/components/combobox.single-select-button-group.d.ts +5 -0
  410. package/dist/components/combobox/components/combobox.single-select-input.d.ts +5 -0
  411. package/dist/components/combobox/components/combobox.single-select-root.d.ts +5 -0
  412. package/dist/components/combobox/components/index.d.ts +11 -0
  413. package/dist/components/combobox.cjs +1 -1
  414. package/dist/components/combobox.es.js +2 -5
  415. package/dist/components/components.cjs +1 -1
  416. package/dist/components/components.es.js +6 -9
  417. package/dist/components/data-table/components/data-table.body.d.ts +5 -0
  418. package/dist/components/data-table/components/data-table.cell.d.ts +9 -1
  419. package/dist/components/data-table/components/data-table.column.d.ts +5 -0
  420. package/dist/components/data-table/components/data-table.footer.d.ts +5 -0
  421. package/dist/components/data-table/components/data-table.header.d.ts +5 -0
  422. package/dist/components/data-table/components/data-table.root.d.ts +5 -0
  423. package/dist/components/data-table/components/data-table.table.d.ts +5 -0
  424. package/dist/components/data-table/components/index.d.ts +10 -0
  425. package/dist/components/data-table/data-table.d.ts +212 -13
  426. package/dist/components/data-table/data-table.recipe.d.ts +1 -1
  427. package/dist/components/data-table/data-table.slots.d.ts +12 -12
  428. package/dist/components/data-table/data-table.types.d.ts +2 -1
  429. package/dist/components/data-table.cjs +1 -1
  430. package/dist/components/data-table.es.js +1 -1
  431. package/dist/components/date-input/date-input.slots.d.ts +5 -5
  432. package/dist/components/date-input.cjs +1 -1
  433. package/dist/components/date-input.es.js +1 -1
  434. package/dist/components/date-picker/components/date-picker.custom-context.d.ts +6 -0
  435. package/dist/components/date-picker/components/date-picker.time-input.d.ts +8 -0
  436. package/dist/components/date-picker/components/index.d.ts +2 -0
  437. package/dist/components/date-picker/date-picker.recipe.d.ts +1 -1
  438. package/dist/components/date-picker/date-picker.slots.d.ts +6 -6
  439. package/dist/components/date-picker/date-picker.types.d.ts +2 -1
  440. package/dist/components/date-picker.cjs +1 -1
  441. package/dist/components/date-picker.es.js +1 -1
  442. package/dist/components/date-range-picker/date-range-picker.d.ts +2 -0
  443. package/dist/components/date-range-picker/date-range-picker.recipe.d.ts +1 -1
  444. package/dist/components/date-range-picker/date-range-picker.slots.d.ts +8 -8
  445. package/dist/components/date-range-picker-field.cjs +1 -1
  446. package/dist/components/date-range-picker-field.es.js +1 -1
  447. package/dist/components/date-range-picker.cjs +1 -1
  448. package/dist/components/date-range-picker.es.js +1 -1
  449. package/dist/components/dialog/components/dialog.body.d.ts +5 -0
  450. package/dist/components/dialog/components/dialog.close-trigger.d.ts +5 -0
  451. package/dist/components/dialog/components/dialog.content.d.ts +5 -0
  452. package/dist/components/dialog/components/dialog.footer.d.ts +5 -0
  453. package/dist/components/dialog/components/dialog.header.d.ts +5 -0
  454. package/dist/components/dialog/components/dialog.root.d.ts +5 -0
  455. package/dist/components/dialog/components/dialog.title.d.ts +5 -0
  456. package/dist/components/dialog/components/dialog.trigger.d.ts +5 -0
  457. package/dist/components/dialog/dialog.slots.d.ts +10 -19
  458. package/dist/components/dialog/dialog.types.d.ts +9 -8
  459. package/dist/components/dialog.cjs +1 -1
  460. package/dist/components/dialog.es.js +1 -1
  461. package/dist/components/draggable-list/components/draggable-list.field.d.ts +12 -1
  462. package/dist/components/draggable-list/components/draggable-list.item.d.ts +12 -1
  463. package/dist/components/draggable-list/components/draggable-list.root.d.ts +12 -1
  464. package/dist/components/draggable-list/components/index.d.ts +3 -0
  465. package/dist/components/draggable-list/draggable-list.d.ts +13 -6
  466. package/dist/components/draggable-list/draggable-list.slots.d.ts +4 -4
  467. package/dist/components/draggable-list.cjs +1 -1
  468. package/dist/components/draggable-list.es.js +1 -1
  469. package/dist/components/drawer/components/drawer.body.d.ts +5 -0
  470. package/dist/components/drawer/components/drawer.close-trigger.d.ts +5 -0
  471. package/dist/components/drawer/components/drawer.content.d.ts +5 -0
  472. package/dist/components/drawer/components/drawer.footer.d.ts +5 -0
  473. package/dist/components/drawer/components/drawer.header.d.ts +5 -0
  474. package/dist/components/drawer/components/drawer.title.d.ts +5 -0
  475. package/dist/components/drawer/components/drawer.trigger.d.ts +5 -0
  476. package/dist/components/drawer/drawer.slots.d.ts +10 -10
  477. package/dist/components/drawer/drawer.types.d.ts +28 -12
  478. package/dist/components/drawer/index.d.ts +1 -1
  479. package/dist/components/drawer.cjs +1 -1
  480. package/dist/components/drawer.es.js +10 -2
  481. package/dist/components/field-errors/field-errors.d.ts +4 -0
  482. package/dist/components/field-errors/field-errors.slots.d.ts +4 -6
  483. package/dist/components/field-errors/field-errors.types.d.ts +7 -21
  484. package/dist/components/field-errors/index.d.ts +1 -1
  485. package/dist/components/fields.cjs +1 -1
  486. package/dist/components/fields.es.js +4 -2
  487. package/dist/components/fields.es.js.map +1 -1
  488. package/dist/components/form-field/components/form-field.description.d.ts +9 -1
  489. package/dist/components/form-field/components/form-field.error.d.ts +9 -1
  490. package/dist/components/form-field/components/form-field.info-box.d.ts +9 -1
  491. package/dist/components/form-field/components/form-field.input.d.ts +9 -1
  492. package/dist/components/form-field/components/form-field.label.d.ts +9 -1
  493. package/dist/components/form-field/components/form-field.root.d.ts +6 -3
  494. package/dist/components/form-field/components/index.d.ts +6 -0
  495. package/dist/components/form-field/form-field.d.ts +142 -14
  496. package/dist/components/form-field/form-field.recipe.d.ts +1 -1
  497. package/dist/components/form-field/form-field.slots.d.ts +7 -6
  498. package/dist/components/form-field/form-field.types.d.ts +6 -5
  499. package/dist/components/form-field.cjs +1 -1
  500. package/dist/components/form-field.es.js +1 -1
  501. package/dist/components/group.es.js +1 -1
  502. package/dist/components/heading.es.js +1 -1
  503. package/dist/components/icon-button.cjs +1 -1
  504. package/dist/components/icon-button.es.js +1 -1
  505. package/dist/components/icon-toggle-button.cjs +1 -1
  506. package/dist/components/icon-toggle-button.es.js +1 -1
  507. package/dist/components/inline-svg/inline-svg.slots.d.ts +1 -1
  508. package/dist/components/kbd.es.js +1 -1
  509. package/dist/components/link/link.slots.d.ts +1 -1
  510. package/dist/components/link.es.js +1 -1
  511. package/dist/components/loading-spinner/loading-spinner.slots.d.ts +1 -1
  512. package/dist/components/loading-spinner/loading-spinner.types.d.ts +1 -1
  513. package/dist/components/loading-spinner.es.js +1 -1
  514. package/dist/components/localized-field/components/index.d.ts +2 -0
  515. package/dist/components/localized-field/components/localized-field.locale-field.d.ts +9 -0
  516. package/dist/components/localized-field/components/localized-field.root.d.ts +9 -0
  517. package/dist/components/localized-field/localized-field.d.ts +28 -0
  518. package/dist/components/localized-field/localized-field.slots.d.ts +10 -10
  519. package/dist/components/localized-field/localized-field.types.d.ts +2 -1
  520. package/dist/components/localized-field/utils/localized-field.utils.d.ts +2 -2
  521. package/dist/components/localized-field.cjs +1 -1
  522. package/dist/components/localized-field.es.js +1 -1
  523. package/dist/components/menu/menu.recipe.d.ts +1 -1
  524. package/dist/components/menu/menu.slots.d.ts +8 -8
  525. package/dist/components/menu/menu.types.d.ts +8 -2
  526. package/dist/components/money-input/money-input.slots.d.ts +6 -6
  527. package/dist/components/money-input/money-input.types.d.ts +3 -2
  528. package/dist/components/money-input.cjs +1 -1
  529. package/dist/components/money-input.es.js +1 -1
  530. package/dist/components/multiline-text-input/hooks/use-autogrow.d.ts +2 -2
  531. package/dist/components/multiline-text-input/multiline-text-input.slots.d.ts +3 -3
  532. package/dist/components/multiline-text-input/multiline-text-input.types.d.ts +2 -1
  533. package/dist/components/multiline-text-input.cjs +1 -1
  534. package/dist/components/multiline-text-input.es.js +1 -1
  535. package/dist/components/nimbus-provider.cjs +1 -1
  536. package/dist/components/nimbus-provider.es.js +1 -1
  537. package/dist/components/number-input/number-input.slots.d.ts +6 -6
  538. package/dist/components/number-input/number-input.types.d.ts +3 -2
  539. package/dist/components/number-input.cjs +1 -1
  540. package/dist/components/number-input.es.js +1 -1
  541. package/dist/components/pagination.cjs +1 -1
  542. package/dist/components/pagination.es.js +1 -1
  543. package/dist/components/password-input.cjs +1 -1
  544. package/dist/components/password-input.es.js +1 -1
  545. package/dist/components/patterns.cjs +1 -1
  546. package/dist/components/patterns.es.js +4 -2
  547. package/dist/components/patterns.es.js.map +1 -1
  548. package/dist/components/popover.es.js +1 -1
  549. package/dist/components/progress-bar/progress-bar.slots.d.ts +6 -6
  550. package/dist/components/progress-bar/progress-bar.types.d.ts +4 -4
  551. package/dist/components/progress-bar.cjs +1 -1
  552. package/dist/components/progress-bar.es.js +1 -1
  553. package/dist/components/radio-input/components/index.d.ts +2 -0
  554. package/dist/components/radio-input/components/radio-input.option.d.ts +8 -0
  555. package/dist/components/radio-input/components/radio-input.root.d.ts +2 -1
  556. package/dist/components/radio-input/radio-input.d.ts +28 -3
  557. package/dist/components/radio-input/radio-input.slots.d.ts +2 -2
  558. package/dist/components/radio-input/radio-input.types.d.ts +3 -2
  559. package/dist/components/radio-input.cjs +1 -1
  560. package/dist/components/radio-input.es.js +2 -4
  561. package/dist/components/range-calendar/components/index.d.ts +3 -0
  562. package/dist/components/range-calendar/components/range-calendar.grids.d.ts +6 -0
  563. package/dist/components/range-calendar/components/range-calendar.header.d.ts +6 -0
  564. package/dist/components/range-calendar/range-calendar.d.ts +15 -1
  565. package/dist/components/range-calendar/range-calendar.slots.d.ts +8 -8
  566. package/dist/components/range-calendar/range-calendar.types.d.ts +3 -2
  567. package/dist/components/range-calendar.cjs +1 -1
  568. package/dist/components/range-calendar.es.js +1 -1
  569. package/dist/components/rich-text-input/components/index.d.ts +3 -0
  570. package/dist/components/rich-text-input/rich-text-input.slots.d.ts +2 -2
  571. package/dist/components/rich-text-input.cjs +1 -1
  572. package/dist/components/rich-text-input.es.js +1 -1
  573. package/dist/components/scoped-search-input/scoped-search-input.d.ts +10 -0
  574. package/dist/components/scoped-search-input/scoped-search-input.slots.d.ts +6 -6
  575. package/dist/components/scoped-search-input/scoped-search-input.types.d.ts +2 -1
  576. package/dist/components/scoped-search-input.cjs +1 -1
  577. package/dist/components/scoped-search-input.es.js +1 -1
  578. package/dist/components/search-input/search-input.d.ts +3 -0
  579. package/dist/components/search-input/search-input.slots.d.ts +5 -12
  580. package/dist/components/search-input/search-input.types.d.ts +2 -1
  581. package/dist/components/search-input.cjs +1 -1
  582. package/dist/components/search-input.es.js +1 -1
  583. package/dist/components/select/components/index.d.ts +5 -0
  584. package/dist/components/select/components/select.clear-button.d.ts +5 -0
  585. package/dist/components/select/components/select.option-group.d.ts +5 -0
  586. package/dist/components/select/components/select.option.d.ts +5 -0
  587. package/dist/components/select/components/select.options.d.ts +5 -0
  588. package/dist/components/select/components/select.root.d.ts +2 -4
  589. package/dist/components/select/select.d.ts +0 -10
  590. package/dist/components/select/select.slots.d.ts +7 -7
  591. package/dist/components/select/select.types.d.ts +5 -5
  592. package/dist/components/select.cjs +1 -1
  593. package/dist/components/select.es.js +2 -6
  594. package/dist/components/separator/separator.types.d.ts +2 -1
  595. package/dist/components/separator.cjs +1 -1
  596. package/dist/components/separator.es.js +1 -1
  597. package/dist/components/spacer/spacer.types.d.ts +2 -1
  598. package/dist/components/split-button/split-button.d.ts +0 -1
  599. package/dist/components/split-button/split-button.slots.d.ts +3 -3
  600. package/dist/components/split-button.cjs +1 -1
  601. package/dist/components/split-button.es.js +1 -1
  602. package/dist/components/switch/switch.recipe.d.ts +8 -8
  603. package/dist/components/switch/switch.slots.d.ts +3 -3
  604. package/dist/components/switch/switch.types.d.ts +3 -2
  605. package/dist/components/switch.cjs +1 -1
  606. package/dist/components/switch.es.js +1 -1
  607. package/dist/components/tabs/components/index.d.ts +5 -0
  608. package/dist/components/tabs/components/tabs.list.d.ts +3 -1
  609. package/dist/components/tabs/components/tabs.panel.d.ts +1 -1
  610. package/dist/components/tabs/components/tabs.panels.d.ts +1 -1
  611. package/dist/components/tabs/components/tabs.root.d.ts +1 -1
  612. package/dist/components/tabs/components/tabs.tab.d.ts +3 -1
  613. package/dist/components/tabs/tabs.d.ts +98 -6
  614. package/dist/components/tabs/tabs.slots.d.ts +3 -3
  615. package/dist/components/tabs/tabs.types.d.ts +6 -5
  616. package/dist/components/tabs.cjs +1 -1
  617. package/dist/components/tabs.es.js +6 -6
  618. package/dist/components/tag-group/components/index.d.ts +3 -0
  619. package/dist/components/tag-group/components/tag-group.root.d.ts +2 -4
  620. package/dist/components/tag-group/components/tag-group.tag-list.d.ts +5 -0
  621. package/dist/components/tag-group/components/tag-group.tag.d.ts +5 -0
  622. package/dist/components/tag-group/tag-group.d.ts +59 -0
  623. package/dist/components/tag-group/tag-group.types.d.ts +4 -3
  624. package/dist/components/tag-group.cjs +1 -1
  625. package/dist/components/tag-group.es.js +1 -1
  626. package/dist/components/text-input/text-input.slots.d.ts +6 -13
  627. package/dist/components/text-input/text-input.types.d.ts +2 -1
  628. package/dist/components/text-input-field.cjs +2 -0
  629. package/dist/components/text-input-field.cjs.map +1 -0
  630. package/dist/components/text-input-field.es.js +5 -0
  631. package/dist/components/text-input-field.es.js.map +1 -0
  632. package/dist/components/text-input.cjs +1 -1
  633. package/dist/components/text-input.es.js +1 -1
  634. package/dist/components/text.es.js +1 -1
  635. package/dist/components/time-input/time-input.slots.d.ts +5 -5
  636. package/dist/components/time-input.cjs +1 -1
  637. package/dist/components/time-input.es.js +1 -1
  638. package/dist/components/toggle-button-group/components/toggle-button-group.root.d.ts +0 -1
  639. package/dist/components/toggle-button-group.es.js +1 -1
  640. package/dist/components/toggle-button.cjs +1 -1
  641. package/dist/components/toggle-button.es.js +1 -1
  642. package/dist/components/toolbar.cjs +1 -1
  643. package/dist/components/toolbar.es.js +1 -1
  644. package/dist/components/tooltip/components/tooltip.root.d.ts +0 -1
  645. package/dist/components/tooltip/tooltip.d.ts +53 -1
  646. package/dist/components/tooltip/tooltip.types.d.ts +2 -2
  647. package/dist/components/tooltip.cjs +1 -1
  648. package/dist/components/tooltip.es.js +4 -6
  649. package/dist/components/visually-hidden.es.js +1 -1
  650. package/dist/index.cjs +1 -1
  651. package/dist/index.cjs.map +1 -1
  652. package/dist/index.es.js +328 -325
  653. package/dist/index.es.js.map +1 -1
  654. package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.d.ts +5 -18
  655. package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.types.d.ts +2 -2
  656. package/dist/patterns/fields/index.d.ts +1 -0
  657. package/dist/patterns/fields/text-input-field/index.d.ts +2 -0
  658. package/dist/patterns/fields/text-input-field/text-input-field.d.ts +28 -0
  659. package/dist/patterns/fields/text-input-field/text-input-field.types.d.ts +44 -0
  660. package/dist/theme/slot-recipes/index.d.ts +27 -27
  661. package/dist/type-utils/omit-props.d.ts +2 -13
  662. package/package.json +5 -5
  663. package/dist/chunks/accordion-DhybkUP0.cjs.js +0 -2
  664. package/dist/chunks/accordion-DhybkUP0.cjs.js.map +0 -1
  665. package/dist/chunks/accordion-DwkpvHwM.es.js +0 -221
  666. package/dist/chunks/accordion-DwkpvHwM.es.js.map +0 -1
  667. package/dist/chunks/alert-BlkniDy9.cjs.js.map +0 -1
  668. package/dist/chunks/alert-CVXQqjXr.es.js.map +0 -1
  669. package/dist/chunks/avatar-BNhECwD5.cjs.js.map +0 -1
  670. package/dist/chunks/avatar-DFibCsCs.es.js.map +0 -1
  671. package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js +0 -2
  672. package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js.map +0 -1
  673. package/dist/chunks/avatar.recipe-DfyPWbFZ.es.js.map +0 -1
  674. package/dist/chunks/badge-CDruffyj.cjs.js +0 -2
  675. package/dist/chunks/badge-CDruffyj.cjs.js.map +0 -1
  676. package/dist/chunks/badge-DojCGTVg.es.js +0 -17
  677. package/dist/chunks/badge-DojCGTVg.es.js.map +0 -1
  678. package/dist/chunks/calendar-BiE914Ki.cjs.js +0 -2
  679. package/dist/chunks/calendar-BiE914Ki.cjs.js.map +0 -1
  680. package/dist/chunks/calendar-D7pzgXqX.es.js.map +0 -1
  681. package/dist/chunks/card-BAS0dyJc.es.js +0 -66
  682. package/dist/chunks/card-BAS0dyJc.es.js.map +0 -1
  683. package/dist/chunks/card-BxfzRkn1.cjs.js +0 -2
  684. package/dist/chunks/card-BxfzRkn1.cjs.js.map +0 -1
  685. package/dist/chunks/collapsible-motion-CUcSKaFQ.cjs.js +0 -2
  686. package/dist/chunks/collapsible-motion-CUcSKaFQ.cjs.js.map +0 -1
  687. package/dist/chunks/collapsible-motion-CqJQvrAr.es.js +0 -83
  688. package/dist/chunks/collapsible-motion-CqJQvrAr.es.js.map +0 -1
  689. package/dist/chunks/date-picker-BzSXCoJ0.cjs.js +0 -2
  690. package/dist/chunks/date-picker-BzSXCoJ0.cjs.js.map +0 -1
  691. package/dist/chunks/date-picker-Zz2Sp3S6.es.js.map +0 -1
  692. package/dist/chunks/date-range-picker-field-BUaFYM2O.es.js +0 -62
  693. package/dist/chunks/date-range-picker-field-BUaFYM2O.es.js.map +0 -1
  694. package/dist/chunks/date-range-picker-field-CS0YU89_.cjs.js +0 -2
  695. package/dist/chunks/date-range-picker-field-CS0YU89_.cjs.js.map +0 -1
  696. package/dist/chunks/dialog-D7sGE9KU.cjs.js +0 -2
  697. package/dist/chunks/dialog-D7sGE9KU.cjs.js.map +0 -1
  698. package/dist/chunks/dialog-DPpvAxDq.es.js +0 -165
  699. package/dist/chunks/dialog-DPpvAxDq.es.js.map +0 -1
  700. package/dist/chunks/dialog.close-trigger-BhUQxKIh.es.js +0 -152
  701. package/dist/chunks/dialog.close-trigger-BhUQxKIh.es.js.map +0 -1
  702. package/dist/chunks/dialog.close-trigger-Y9dS7xOy.cjs.js.map +0 -1
  703. package/dist/chunks/drawer-DZ75mvzL.cjs.js +0 -2
  704. package/dist/chunks/drawer-DZ75mvzL.cjs.js.map +0 -1
  705. package/dist/chunks/drawer-ZczUeqdd.es.js.map +0 -1
  706. package/dist/chunks/form-field-C25xvMEM.es.js +0 -231
  707. package/dist/chunks/form-field-C25xvMEM.es.js.map +0 -1
  708. package/dist/chunks/form-field-CpRzgqpq.cjs.js +0 -2
  709. package/dist/chunks/form-field-CpRzgqpq.cjs.js.map +0 -1
  710. package/dist/chunks/index-8m2zx8YL.cjs.js +0 -34
  711. package/dist/chunks/index-8m2zx8YL.cjs.js.map +0 -1
  712. package/dist/chunks/index-B7wlrXvj.es.js.map +0 -1
  713. package/dist/chunks/localized-field-ByW-vsvR.cjs.js.map +0 -1
  714. package/dist/chunks/localized-field-DyZpSuGk.es.js.map +0 -1
  715. package/dist/chunks/menu-CJeqjRAs.cjs.js +0 -2
  716. package/dist/chunks/menu-CJeqjRAs.cjs.js.map +0 -1
  717. package/dist/chunks/menu-CaSPNND_.es.js.map +0 -1
  718. package/dist/chunks/multiline-text-input-BWEsaxf_.cjs.js.map +0 -1
  719. package/dist/chunks/multiline-text-input-DqLmTSr5.es.js.map +0 -1
  720. package/dist/chunks/progress-bar-CYd6T1Ax.es.js +0 -77
  721. package/dist/chunks/progress-bar-CYd6T1Ax.es.js.map +0 -1
  722. package/dist/chunks/progress-bar-Dx9Zr5Yh.cjs.js +0 -2
  723. package/dist/chunks/progress-bar-Dx9Zr5Yh.cjs.js.map +0 -1
  724. package/dist/chunks/radio-input-yA7MF_jw.cjs.js +0 -2
  725. package/dist/chunks/range-calendar-D6nonjnz.es.js.map +0 -1
  726. package/dist/chunks/range-calendar-DhKTQPnz.cjs.js +0 -2
  727. package/dist/chunks/range-calendar-DhKTQPnz.cjs.js.map +0 -1
  728. package/dist/chunks/rich-text-input-CViBsj3Y.cjs.js +0 -10
  729. package/dist/chunks/rich-text-input-CViBsj3Y.cjs.js.map +0 -1
  730. package/dist/chunks/rich-text-input-hBorJHFw.es.js.map +0 -1
  731. package/dist/chunks/scoped-search-input-B7rDiJuj.es.js.map +0 -1
  732. package/dist/chunks/scoped-search-input-C6B7Szzk.cjs.js.map +0 -1
  733. package/dist/chunks/select-wD3QlanS.cjs.js +0 -2
  734. package/dist/chunks/text-input-B5tizBg4.cjs.js.map +0 -1
  735. package/dist/chunks/text-input-DBFEKmrv.es.js.map +0 -1
  736. package/dist/chunks/toggle-button-group-DMH0nd7S.es.js.map +0 -1
  737. package/dist/components/accordion/components/accordion-content.d.ts +0 -2
  738. package/dist/components/accordion/components/accordion-header.d.ts +0 -2
  739. package/dist/components/accordion/components/accordion-item.d.ts +0 -2
  740. package/dist/components/accordion/components/accordion-root.d.ts +0 -9
@@ -1,69 +1,69 @@
1
1
  import { jsx as x, jsxs as A, Fragment as We } from "react/jsx-runtime";
2
- import E, { useRef as P, useMemo as N, useCallback as W, useEffect as de, useState as q, forwardRef as Oe, createContext as me, useContext as B } from "react";
3
- import { defineMessages as Yl, useIntl as he } from "react-intl";
2
+ import E, { useRef as P, useMemo as N, useCallback as W, useEffect as de, useState as q, forwardRef as Oe, createContext as he, useContext as B } from "react";
3
+ import { defineMessages as Yl, useIntl as be } from "react-intl";
4
4
  import { createSlotRecipeContext as Xl, mergeRefs as Re } from "@chakra-ui/react";
5
- import { $ as Mt } from "./Button-SjGHt140.es.js";
6
- import { a as Bt, b as $t, c as ql } from "./RSPContexts-DLgb84PF.es.js";
7
- import { f as L, m as ue, n as ae, o as Ke, e as Zl, g as Nt, a as Kt, c as Jl, b as Ql, h as ee, k as Ft } from "./SelectionManager-S9Amkvfg.es.js";
8
- import { $ as It, a as ce, e as je, g as xt, d as _l } from "./utils-_m_bPtjI.es.js";
9
- import { e as Ce, g as en, f as tn, h as ln, i as gi } from "./ListBox-CdtzuZzA.es.js";
10
- import { $ as nn } from "./intlStrings-Cd44R5hT.es.js";
11
- import { a as on, $ as rn } from "./SelectionIndicator-B27AsfqE.es.js";
12
- import { d as _e, $ as Vt, c as Te, g as an, i as un, j as sn, a as Ue, k as dn, h as xi } from "./CollectionBuilder-BhYUxJYI.es.js";
13
- import { d as Ee, a as et, $ as O, e as cn, c as Dt } from "./mergeProps-DtKAFxbD.es.js";
14
- import { $ as te } from "./filterDOMProps-BSVCO5jK.es.js";
5
+ import { ArrowDownward as ql, KeyboardArrowDown as Zl, KeyboardArrowRight as Jl, PushPin as Ql, VisibilityOff as _l, Visibility as en, Refresh as tn, WrapText as ln, ShortText as nn, DensitySmall as on, FormatAlignJustify as rn, Settings as an, ViewWeek as un, ViewDay as sn } from "@commercetools/nimbus-icons";
6
+ import { S as xe } from "./simple-grid-DU5v66TG.es.js";
7
+ import { $ as dn, D as Ke } from "./draggable-list-COLeAeV4.es.js";
8
+ import { S as Fe } from "./stack-CoNreM7B.es.js";
9
+ import { B as se } from "./box-DuBoAZvq.es.js";
10
+ import { T as Ee } from "./text-DvqDjbwb.es.js";
11
+ import { S as cn } from "./search-input-CdHR3Kxc.es.js";
12
+ import { S as Mt } from "./separator-D6b9i-eh.es.js";
13
+ import { B as fn } from "./button-BalEcUUB.es.js";
14
+ import { T as $t } from "./toolbar-BQLSIrsK.es.js";
15
+ import { T as xt } from "./toggle-button-group-P0oS-q6h.es.js";
16
+ import { I as Ie } from "./icon-toggle-button-JNBy2M8q.es.js";
17
+ import { D as ve } from "./drawer-jIQq7Jpl.es.js";
18
+ import { T as pn } from "./tabs-Dwh31onP.es.js";
19
+ import { T as He } from "./tooltip-CzEuq_Qi.es.js";
20
+ import { I as Bt } from "./icon-button-CfN4QLes.es.js";
15
21
  import { $ as Q } from "./useObjectRef-CaJ5pgjX.es.js";
16
- import { c as fn } from "./OverlayArrow-DAfsQzBF.es.js";
17
- import { c as ge, a as tt, $ as pn } from "./scrollIntoView-CRn_Y0bq.es.js";
18
- import { b as zi } from "./useListState-BFNT8oUW.es.js";
19
- import mn from "react-dom";
20
- import { $ as Ae } from "./useHover-B62SXQZ1.es.js";
21
- import { d as Ct } from "./platform-Z5fvtFmM.es.js";
22
- import { a as hn, b as bn, $ as Wt } from "./usePress-HeLch-fy.es.js";
23
- import { $ as gn, c as vn } from "./useFocusable-Dhchq_tH.es.js";
24
- import { $ as yn, f as $n } from "./useFocusVisible-Cqoc10KD.es.js";
25
- import { $ as _ } from "./focusSafely-BNN5-xvK.es.js";
26
- import { a as wt, b as xn } from "./FocusScope-C6u6zr_m.es.js";
27
- import { $ as ve } from "./getScrollParent-g7luwBTz.es.js";
28
- import { $ as we } from "./context-DW7UvQ8z.es.js";
22
+ import { $ as Nt } from "./Button-CmpJG0ec.es.js";
23
+ import { a as Kt, b as Dt, c as mn } from "./RSPContexts-DLgb84PF.es.js";
24
+ import { f as L, m as ue, n as ae, o as Ve, e as hn, g as Ft, $ as It, b as bn, a as gn, h as ee, k as Vt } from "./SelectionManager-D87OqHl3.es.js";
25
+ import { $ as Wt, a as ce, e as je, g as Ct, d as vn } from "./utils-9vu7GUaz.es.js";
26
+ import { e as we, g as yn, f as $n, h as xn, i as Bi } from "./ListBox-B43JPDJW.es.js";
27
+ import { $ as Dn } from "./intlStrings-Cd44R5hT.es.js";
28
+ import { a as Cn, $ as wn } from "./SelectionIndicator-B27AsfqE.es.js";
29
+ import { d as _e, $ as Ht, c as Te, g as Sn, i as kn, j as En, a as Ue, k as zn, h as Ii } from "./CollectionBuilder-ksCQul85.es.js";
30
+ import { b as ze, $ as et, a as O, e as Rn, c as wt } from "./mergeProps-D1jjFfMs.es.js";
31
+ import { $ as te } from "./filterDOMProps-BSVCO5jK.es.js";
32
+ import { c as Tn } from "./OverlayArrow-qm-lnjhS.es.js";
33
+ import { c as ye, a as tt, $ as An } from "./scrollIntoView-CQMm8-SR.es.js";
34
+ import { b as ji } from "./useListState-BkVh9WsE.es.js";
35
+ import Pn from "react-dom";
36
+ import { $ as Ae } from "./useHover-BtRK9g2L.es.js";
37
+ import { d as St } from "./platform-Z5fvtFmM.es.js";
38
+ import { a as Mn, b as Bn, $ as Lt } from "./usePress-C_IPaF8I.es.js";
39
+ import { $ as Nn, c as Kn } from "./useFocusable-Bm-DQaak.es.js";
40
+ import { $ as Fn, f as In } from "./useFocusVisible-Uw6yFmFY.es.js";
41
+ import { $ as _ } from "./focusSafely-RvsgqoUt.es.js";
42
+ import { a as kt, b as Vn } from "./FocusScope-bj_mamFe.es.js";
43
+ import { $ as $e } from "./getScrollParent-DlqhSzBC.es.js";
44
+ import { $ as Se } from "./context-DW7UvQ8z.es.js";
29
45
  import { $ as Pe } from "./useLocalizedStringFormatter-DaRRUvyV.es.js";
30
- import { $ as De } from "./useFocusRing-4xTd5aPf.es.js";
31
- import { $ as Dn } from "./useGlobalListeners-BOOfV5Wh.es.js";
32
- import { a as Ge, $ as St } from "./VisuallyHidden-Dkq7SL0E.es.js";
33
- import { e as Cn } from "./openLink-BNz58j4a.es.js";
34
- import { m as He } from "./utils-Be2JRmv-.es.js";
35
- import { $ as wn, D as Fe } from "./draggable-list-ibWoXfeJ.es.js";
36
- import { e as Sn, c as kn } from "./Header-CpF5ynyj.es.js";
37
- import { $ as En } from "./LiveAnnouncer-CsPyaceH.es.js";
38
- import { d as zn, e as Rn } from "./useGridListItem-WBYPB9KF.es.js";
39
- import { $ as Ht } from "./useCollator-BjnMaGJd.es.js";
40
- import { $ as Tn } from "./useHasTabbableChild-Dd6zlnRC.es.js";
41
- import { $ as An } from "./useUpdateEffect-CCDx8D4X.es.js";
42
- import { e as Se } from "./extract-style-props-fH5EHRZU.es.js";
43
- import { Highlight as Pn } from "@chakra-ui/react/highlight";
44
- import { KeyboardArrowDown as Mn, KeyboardArrowRight as Bn, PushPin as Nn, ArrowDownward as Kn, VisibilityOff as Fn, Visibility as In, Refresh as Vn, WrapText as Wn, ShortText as Hn, DensitySmall as Ln, FormatAlignJustify as On, Settings as jn, ViewWeek as Un, ViewDay as Gn } from "@commercetools/nimbus-icons";
45
- import { B as se } from "./box-DuBoAZvq.es.js";
46
- import { C as Lt } from "./checkbox-CjR64WWv.es.js";
47
- import { b as Le } from "./tooltip-CDmtIjmS.es.js";
48
- import { I as Ot } from "./icon-button-XkzBkGuJ.es.js";
49
- import { Flex as Yn } from "@chakra-ui/react/flex";
50
- import { S as jt } from "./separator-Dng72n3L.es.js";
51
- import { S as $e } from "./simple-grid-DU5v66TG.es.js";
52
- import { S as Ie } from "./stack-CoNreM7B.es.js";
53
- import { T as ze } from "./text-BVYJmhjj.es.js";
54
- import { S as Xn } from "./search-input-tna-iiqy.es.js";
55
- import { B as qn } from "./button-B1VvTs1w.es.js";
56
- import { T as kt } from "./toolbar-wCiInDj2.es.js";
57
- import { T as Et } from "./toggle-button-group-DMH0nd7S.es.js";
58
- import { I as Ve } from "./icon-toggle-button-D4MFHBgl.es.js";
59
- import { D as ye } from "./drawer-ZczUeqdd.es.js";
60
- import { T as Zn } from "./tabs-D3SqKC9V.es.js";
46
+ import { $ as Ce } from "./useFocusRing-oMAqzr3e.es.js";
47
+ import { $ as Wn } from "./useGlobalListeners-BOOfV5Wh.es.js";
48
+ import { a as Ge, $ as Et } from "./VisuallyHidden-BIA5VRNP.es.js";
49
+ import { e as Hn } from "./openLink-BNz58j4a.es.js";
50
+ import { m as Le } from "./utils-Bl-3nKLa.es.js";
51
+ import { e as Ln, c as On } from "./Header-DOAbQymP.es.js";
52
+ import { $ as jn } from "./LiveAnnouncer-CsPyaceH.es.js";
53
+ import { d as Un, e as Gn } from "./useGridListItem-F3yPBTEW.es.js";
54
+ import { $ as Ot } from "./useCollator-BjnMaGJd.es.js";
55
+ import { $ as Yn } from "./useHasTabbableChild-DemFbZRn.es.js";
56
+ import { $ as Xn } from "./useUpdateEffect-CCDx8D4X.es.js";
57
+ import { e as ke } from "./extract-style-props-BjwbJ_Xp.es.js";
58
+ import { Highlight as qn } from "@chakra-ui/react/highlight";
59
+ import { C as jt } from "./checkbox-Cj4oO-ah.es.js";
60
+ import { Flex as Zn } from "@chakra-ui/react/flex";
61
61
  function Jn(t) {
62
62
  let { onMoveStart: e, onMove: l, onMoveEnd: n } = t, o = P({
63
63
  didMove: !1,
64
64
  lastPosition: null,
65
65
  id: null
66
- }), { addGlobalListener: i, removeGlobalListener: a } = Dn(), u = Ee((c, r, p, f) => {
66
+ }), { addGlobalListener: i, removeGlobalListener: a } = Wn(), u = ze((c, r, p, f) => {
67
67
  p === 0 && f === 0 || (o.current.didMove || (o.current.didMove = !0, e?.({
68
68
  type: "movestart",
69
69
  pointerType: r,
@@ -81,8 +81,8 @@ function Jn(t) {
81
81
  ctrlKey: c.ctrlKey,
82
82
  altKey: c.altKey
83
83
  }));
84
- }), s = Ee((c, r) => {
85
- hn(), o.current.didMove && n?.({
84
+ }), s = ze((c, r) => {
85
+ Mn(), o.current.didMove && n?.({
86
86
  type: "moveend",
87
87
  pointerType: r,
88
88
  shiftKey: c.shiftKey,
@@ -94,7 +94,7 @@ function Jn(t) {
94
94
  return {
95
95
  moveProps: N(() => {
96
96
  let c = {}, r = () => {
97
- bn(), o.current.didMove = !1;
97
+ Bn(), o.current.didMove = !1;
98
98
  };
99
99
  if (typeof PointerEvent > "u" && process.env.NODE_ENV === "test") {
100
100
  let f = (b) => {
@@ -284,7 +284,7 @@ class Ut {
284
284
  if (!c) return null;
285
285
  let r = L(c, this.collection);
286
286
  var a;
287
- let p = (a = this.direction === "rtl" ? Ke(r, l.index - 1) : Ke(r, l.index + 1)) !== null && a !== void 0 ? a : null;
287
+ let p = (a = this.direction === "rtl" ? Ve(r, l.index - 1) : Ve(r, l.index + 1)) !== null && a !== void 0 ? a : null;
288
288
  var u;
289
289
  if (p) return (u = p.key) !== null && u !== void 0 ? u : null;
290
290
  var s;
@@ -308,7 +308,7 @@ class Ut {
308
308
  if (!c) return null;
309
309
  let r = L(c, this.collection);
310
310
  var a;
311
- let p = (a = this.direction === "rtl" ? Ke(r, l.index + 1) : Ke(r, l.index - 1)) !== null && a !== void 0 ? a : null;
311
+ let p = (a = this.direction === "rtl" ? Ve(r, l.index + 1) : Ve(r, l.index - 1)) !== null && a !== void 0 ? a : null;
312
312
  var u;
313
313
  if (p) return (u = p.key) !== null && u !== void 0 ? u : null;
314
314
  var s;
@@ -410,7 +410,7 @@ class Ut {
410
410
  }
411
411
  constructor(e) {
412
412
  if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw new Error("Either a layout or a ref must be specified.");
413
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new Qn(e.layout) : new Sn(e.ref));
413
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Qn(e.layout) : new Ln(e.ref));
414
414
  var l;
415
415
  this.focusMode = (l = e.focusMode) !== null && l !== void 0 ? l : "row";
416
416
  }
@@ -434,10 +434,10 @@ const lt = /* @__PURE__ */ new WeakMap();
434
434
  function _n(t, e, l) {
435
435
  let { isVirtualized: n, disallowTypeAhead: o, keyboardDelegate: i, focusMode: a, scrollRef: u, getRowText: s, onRowAction: d, onCellAction: c, escapeKeyBehavior: r = "clearSelection", shouldSelectOnPressUp: p } = t, { selectionManager: f } = e;
436
436
  !t["aria-label"] && !t["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
437
- let m = Ht({
437
+ let m = Ot({
438
438
  usage: "search",
439
439
  sensitivity: "base"
440
- }), { direction: h } = we(), y = e.selectionManager.disabledBehavior, b = N(() => i || new Ut({
440
+ }), { direction: h } = Se(), y = e.selectionManager.disabledBehavior, b = N(() => i || new Ut({
441
441
  collection: e.collection,
442
442
  disabledKeys: e.disabledKeys,
443
443
  disabledBehavior: y,
@@ -454,7 +454,7 @@ function _n(t, e, l) {
454
454
  h,
455
455
  m,
456
456
  a
457
- ]), { collectionProps: $ } = Zl({
457
+ ]), { collectionProps: $ } = hn({
458
458
  ref: l,
459
459
  selectionManager: f,
460
460
  keyboardDelegate: b,
@@ -471,7 +471,7 @@ function _n(t, e, l) {
471
471
  },
472
472
  shouldSelectOnPressUp: p
473
473
  });
474
- let D = zn({
474
+ let D = Un({
475
475
  selectionManager: f,
476
476
  hasItemActions: !!(d || c)
477
477
  }), v = te(t, {
@@ -490,7 +490,7 @@ function _n(t, e, l) {
490
490
  }), [
491
491
  C,
492
492
  $.onBlur
493
- ]), M = Tn(l, {
493
+ ]), M = Yn(l, {
494
494
  isDisabled: e.collection.size !== 0
495
495
  }), T = O(
496
496
  v,
@@ -506,7 +506,7 @@ function _n(t, e, l) {
506
506
  } || void 0,
507
507
  D
508
508
  );
509
- return n && (T["aria-rowcount"] = e.collection.size, T["aria-colcount"] = e.collection.columnCount), Rn({
509
+ return n && (T["aria-rowcount"] = e.collection.size, T["aria-colcount"] = e.collection.columnCount), Gn({
510
510
  getRowText: s
511
511
  }, e), {
512
512
  gridProps: T
@@ -524,13 +524,13 @@ function to(t, e, l) {
524
524
  let { node: i, isVirtualized: a, shouldSelectOnPressUp: u, onAction: s } = t, { actions: d, shouldSelectOnPressUp: c } = lt.get(e), r = d.onRowAction ? () => {
525
525
  var y;
526
526
  return (y = d.onRowAction) === null || y === void 0 ? void 0 : y.call(d, i.key);
527
- } : s, { itemProps: p, ...f } = Nt({
527
+ } : s, { itemProps: p, ...f } = Ft({
528
528
  selectionManager: e.selectionManager,
529
529
  key: i.key,
530
530
  ref: l,
531
531
  isVirtualized: a,
532
532
  shouldSelectOnPressUp: c || u,
533
- onAction: r || !(i == null || (n = i.props) === null || n === void 0) && n.onAction ? cn(i == null || (o = i.props) === null || o === void 0 ? void 0 : o.onAction, r) : void 0,
533
+ onAction: r || !(i == null || (n = i.props) === null || n === void 0) && n.onAction ? Rn(i == null || (o = i.props) === null || o === void 0 ? void 0 : o.onAction, r) : void 0,
534
534
  isDisabled: e.collection.size === 0
535
535
  }), m = e.selectionManager.isSelected(i.key), h = {
536
536
  role: "row",
@@ -544,9 +544,9 @@ function to(t, e, l) {
544
544
  };
545
545
  }
546
546
  function Gt(t, e, l) {
547
- let { node: n, isVirtualized: o, focusMode: i = "child", shouldSelectOnPressUp: a, onAction: u } = t, { direction: s } = we(), { keyboardDelegate: d, actions: { onCellAction: c } } = lt.get(e), r = P(null), p = () => {
547
+ let { node: n, isVirtualized: o, focusMode: i = "child", shouldSelectOnPressUp: a, onAction: u } = t, { direction: s } = Se(), { keyboardDelegate: d, actions: { onCellAction: c } } = lt.get(e), r = P(null), p = () => {
548
548
  if (l.current) {
549
- let g = wt(l.current);
549
+ let g = kt(l.current);
550
550
  if (i === "child") {
551
551
  if (l.current.contains(document.activeElement) && l.current !== document.activeElement) return;
552
552
  let D = e.selectionManager.childFocusStrategy === "last" ? qe(g) : g.firstChild();
@@ -557,7 +557,7 @@ function Gt(t, e, l) {
557
557
  }
558
558
  (r.current != null && n.key !== r.current || !l.current.contains(document.activeElement)) && _(l.current);
559
559
  }
560
- }, { itemProps: f, isPressed: m } = Nt({
560
+ }, { itemProps: f, isPressed: m } = Ft({
561
561
  selectionManager: e.selectionManager,
562
562
  key: n.key,
563
563
  ref: l,
@@ -568,13 +568,13 @@ function Gt(t, e, l) {
568
568
  isDisabled: e.collection.size === 0
569
569
  }), h = (g) => {
570
570
  if (!g.currentTarget.contains(g.target) || e.isKeyboardNavigationDisabled || !l.current || !document.activeElement) return;
571
- let D = wt(l.current);
571
+ let D = kt(l.current);
572
572
  switch (D.currentNode = document.activeElement, g.key) {
573
573
  case "ArrowLeft": {
574
574
  let z = s === "rtl" ? D.nextNode() : D.previousNode();
575
575
  if (i === "child" && z === l.current && (z = null), g.preventDefault(), g.stopPropagation(), z)
576
- _(z), ge(z, {
577
- containingElement: ve(l.current)
576
+ _(z), ye(z, {
577
+ containingElement: $e(l.current)
578
578
  });
579
579
  else {
580
580
  var v;
@@ -583,10 +583,10 @@ function Gt(t, e, l) {
583
583
  (C = l.current.parentElement) === null || C === void 0 || C.dispatchEvent(new KeyboardEvent(g.nativeEvent.type, g.nativeEvent));
584
584
  break;
585
585
  }
586
- i === "cell" && s === "rtl" ? (_(l.current), ge(l.current, {
587
- containingElement: ve(l.current)
588
- })) : (D.currentNode = l.current, z = s === "rtl" ? D.firstChild() : qe(D), z && (_(z), ge(z, {
589
- containingElement: ve(l.current)
586
+ i === "cell" && s === "rtl" ? (_(l.current), ye(l.current, {
587
+ containingElement: $e(l.current)
588
+ })) : (D.currentNode = l.current, z = s === "rtl" ? D.firstChild() : qe(D), z && (_(z), ye(z, {
589
+ containingElement: $e(l.current)
590
590
  })));
591
591
  }
592
592
  break;
@@ -594,8 +594,8 @@ function Gt(t, e, l) {
594
594
  case "ArrowRight": {
595
595
  let z = s === "rtl" ? D.previousNode() : D.nextNode();
596
596
  if (i === "child" && z === l.current && (z = null), g.preventDefault(), g.stopPropagation(), z)
597
- _(z), ge(z, {
598
- containingElement: ve(l.current)
597
+ _(z), ye(z, {
598
+ containingElement: $e(l.current)
599
599
  });
600
600
  else {
601
601
  var S;
@@ -604,10 +604,10 @@ function Gt(t, e, l) {
604
604
  (M = l.current.parentElement) === null || M === void 0 || M.dispatchEvent(new KeyboardEvent(g.nativeEvent.type, g.nativeEvent));
605
605
  break;
606
606
  }
607
- i === "cell" && s === "ltr" ? (_(l.current), ge(l.current, {
608
- containingElement: ve(l.current)
609
- })) : (D.currentNode = l.current, z = s === "rtl" ? qe(D) : D.firstChild(), z && (_(z), ge(z, {
610
- containingElement: ve(l.current)
607
+ i === "cell" && s === "ltr" ? (_(l.current), ye(l.current, {
608
+ containingElement: $e(l.current)
609
+ })) : (D.currentNode = l.current, z = s === "rtl" ? qe(D) : D.firstChild(), z && (_(z), ye(z, {
610
+ containingElement: $e(l.current)
611
611
  })));
612
612
  }
613
613
  break;
@@ -622,7 +622,7 @@ function Gt(t, e, l) {
622
622
  }
623
623
  }, y = (g) => {
624
624
  if (r.current = n.key, g.target !== l.current) {
625
- yn() || e.selectionManager.setFocusedKey(n.key);
625
+ Fn() || e.selectionManager.setFocusedKey(n.key);
626
626
  return;
627
627
  }
628
628
  requestAnimationFrame(() => {
@@ -1205,10 +1205,10 @@ function no(t) {
1205
1205
  return t && t.__esModule ? t.default : t;
1206
1206
  }
1207
1207
  function oo(t, e, l) {
1208
- let { keyboardDelegate: n, isVirtualized: o, layoutDelegate: i, layout: a } = t, u = Ht({
1208
+ let { keyboardDelegate: n, isVirtualized: o, layoutDelegate: i, layout: a } = t, u = Ot({
1209
1209
  usage: "search",
1210
1210
  sensitivity: "base"
1211
- }), { direction: s } = we(), d = e.selectionManager.disabledBehavior, c = N(() => n || new lo({
1211
+ }), { direction: s } = Se(), d = e.selectionManager.disabledBehavior, c = N(() => n || new lo({
1212
1212
  collection: e.collection,
1213
1213
  disabledKeys: e.disabledKeys,
1214
1214
  disabledBehavior: d,
@@ -1234,7 +1234,7 @@ function oo(t, e, l) {
1234
1234
  id: r,
1235
1235
  keyboardDelegate: c
1236
1236
  }, e, l);
1237
- o && (p["aria-rowcount"] = e.collection.size + e.collection.headerRows.length), He() && "expandedKeys" in e && (p.role = "treegrid");
1237
+ o && (p["aria-rowcount"] = e.collection.size + e.collection.headerRows.length), Le() && "expandedKeys" in e && (p.role = "treegrid");
1238
1238
  let { column: f, direction: m } = e.sortDescriptor || {}, h = Pe(no(Me), "@react-aria/table"), y = N(() => {
1239
1239
  var $, g;
1240
1240
  let D = (g = ($ = e.collection.columns.find((v) => v.key === f)) === null || $ === void 0 ? void 0 : $.textValue) !== null && g !== void 0 ? g : "";
@@ -1246,8 +1246,8 @@ function oo(t, e, l) {
1246
1246
  f,
1247
1247
  e.collection.columns
1248
1248
  ]), b = tt(y);
1249
- return An(() => {
1250
- y && En(y, "assertive", 500);
1249
+ return Xn(() => {
1250
+ y && jn(y, "assertive", 500);
1251
1251
  }, [
1252
1252
  y
1253
1253
  ]), {
@@ -1268,16 +1268,16 @@ function ro(t, e, l) {
1268
1268
  let { node: i } = t, a = i.props.allowsSorting, { gridCellProps: u } = Gt({
1269
1269
  ...t,
1270
1270
  focusMode: "child"
1271
- }, e, l), s = i.props.isSelectionCell && e.selectionManager.selectionMode === "single", { pressProps: d } = Wt({
1271
+ }, e, l), s = i.props.isSelectionCell && e.selectionManager.selectionMode === "single", { pressProps: d } = Lt({
1272
1272
  isDisabled: !a || s,
1273
1273
  onPress() {
1274
1274
  e.sort(i.key);
1275
1275
  },
1276
1276
  ref: l
1277
- }), { focusableProps: c } = gn({}, l), r, p = ((n = e.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === i.key, f = (o = e.sortDescriptor) === null || o === void 0 ? void 0 : o.direction;
1278
- i.props.allowsSorting && !Ct() && (r = p ? f : "none");
1277
+ }), { focusableProps: c } = Nn({}, l), r, p = ((n = e.sortDescriptor) === null || n === void 0 ? void 0 : n.column) === i.key, f = (o = e.sortDescriptor) === null || o === void 0 ? void 0 : o.direction;
1278
+ i.props.allowsSorting && !St() && (r = p ? f : "none");
1279
1279
  let m = Pe(io(Me), "@react-aria/table"), h;
1280
- a && (h = `${m.format("sortable")}`, p && f && Ct() && (h = `${h}, ${m.format(f)}`));
1280
+ a && (h = `${m.format("sortable")}`, p && f && St() && (h = `${h}, ${m.format(f)}`));
1281
1281
  let y = tt(h), b = e.collection.size === 0;
1282
1282
  return de(() => {
1283
1283
  b && e.selectionManager.focusedKey === i.key && e.selectionManager.setFocusedKey(null);
@@ -1315,10 +1315,10 @@ const zt = {
1315
1315
  }
1316
1316
  };
1317
1317
  function ao(t, e, l) {
1318
- let { node: n, isVirtualized: o } = t, { rowProps: i, ...a } = to(t, e, l), { direction: u } = we();
1319
- o && !(He() && "expandedKeys" in e) ? i["aria-rowindex"] = n.index + 1 + e.collection.headerRows.length : delete i["aria-rowindex"];
1318
+ let { node: n, isVirtualized: o } = t, { rowProps: i, ...a } = to(t, e, l), { direction: u } = Se();
1319
+ o && !(Le() && "expandedKeys" in e) ? i["aria-rowindex"] = n.index + 1 + e.collection.headerRows.length : delete i["aria-rowindex"];
1320
1320
  let s = {};
1321
- if (He() && "expandedKeys" in e) {
1321
+ if (Le() && "expandedKeys" in e) {
1322
1322
  let v = e.keyMap.get(n.key);
1323
1323
  if (v != null) {
1324
1324
  var d, c, r, p, f, m;
@@ -1335,7 +1335,7 @@ function ao(t, e, l) {
1335
1335
  };
1336
1336
  }
1337
1337
  }
1338
- let g = Cn(n.props), D = a.hasAction ? g : {};
1338
+ let g = Hn(n.props), D = a.hasAction ? g : {};
1339
1339
  return {
1340
1340
  rowProps: {
1341
1341
  ...O(i, s, D),
@@ -1348,7 +1348,7 @@ function uo(t, e, l) {
1348
1348
  let { node: n, isVirtualized: o } = t, i = {
1349
1349
  role: "row"
1350
1350
  };
1351
- return o && !(He() && "expandedKeys" in e) && (i["aria-rowindex"] = n.index + 1), {
1351
+ return o && !(Le() && "expandedKeys" in e) && (i["aria-rowindex"] = n.index + 1), {
1352
1352
  rowProps: i
1353
1353
  };
1354
1354
  }
@@ -1365,7 +1365,7 @@ function co(t) {
1365
1365
  }
1366
1366
  function fo(t, e) {
1367
1367
  let { key: l } = t;
1368
- const { checkboxProps: n } = wn(t, e);
1368
+ const { checkboxProps: n } = dn(t, e);
1369
1369
  return {
1370
1370
  checkboxProps: {
1371
1371
  ...n,
@@ -1391,16 +1391,16 @@ function mo(t) {
1391
1391
  function ho(t, e, l) {
1392
1392
  let { column: n, triggerRef: o, isDisabled: i, onResizeStart: a, onResize: u, onResizeEnd: s, "aria-label": d } = t;
1393
1393
  const c = Pe(mo(Me), "@react-aria/table");
1394
- let r = et(), p = e.resizingColumn === n.key, f = P(p), m = P(null), h = P(!1), y = e.tableState.isKeyboardNavigationDisabled, { direction: b } = we(), { keyboardProps: $ } = vn({
1394
+ let r = et(), p = e.resizingColumn === n.key, f = P(p), m = P(null), h = P(!1), y = e.tableState.isKeyboardNavigationDisabled, { direction: b } = Se(), { keyboardProps: $ } = Kn({
1395
1395
  onKeyDown: (k) => {
1396
1396
  y ? (k.key === "Escape" || k.key === "Enter" || k.key === " " || k.key === "Tab") && (k.preventDefault(), v(n)) : (k.continuePropagation(), k.key === "Enter" && g(n));
1397
1397
  }
1398
- }), g = Ee((k) => {
1398
+ }), g = ze((k) => {
1399
1399
  f.current || (m.current = e.updateResizedColumns(k.key, e.getColumnWidth(k.key)), e.startResize(k.key), e.tableState.setKeyboardNavigationDisabled(!0), a?.(m.current)), f.current = !0;
1400
- }), D = Ee((k, w) => {
1400
+ }), D = ze((k, w) => {
1401
1401
  let F = e.updateResizedColumns(k.key, w);
1402
1402
  u?.(F), m.current = F;
1403
- }), v = Ee((k) => {
1403
+ }), v = ze((k) => {
1404
1404
  f.current && (m.current == null && (m.current = e.updateResizedColumns(k.key, e.getColumnWidth(k.key))), e.endResize(), e.tableState.setKeyboardNavigationDisabled(!1), s?.(m.current), f.current = !1, o?.current && !h.current && _(o.current)), m.current = null;
1405
1405
  });
1406
1406
  const C = P(0), { moveProps: S } = Jn({
@@ -1424,7 +1424,7 @@ function ho(t, e, l) {
1424
1424
  S
1425
1425
  ]), T = Math.floor(e.getColumnMinWidth(n.key)), z = Math.floor(e.getColumnMaxWidth(n.key));
1426
1426
  z === 1 / 0 && (z = Number.MAX_SAFE_INTEGER);
1427
- let I = Math.floor(e.getColumnWidth(n.key)), H = $n();
1427
+ let I = Math.floor(e.getColumnWidth(n.key)), H = In();
1428
1428
  H === "virtual" && typeof window < "u" && "ontouchstart" in window && (H = "touch");
1429
1429
  let j = o?.current == null && (H === "keyboard" || H === "virtual") && !p ? c.format("resizerDescription") : void 0, V = tt(j), K = {
1430
1430
  "aria-label": d,
@@ -1464,7 +1464,7 @@ function ho(t, e, l) {
1464
1464
  let pe = (k) => {
1465
1465
  let w = e.getColumnWidth(n.key), F = parseFloat(k.target.value);
1466
1466
  F > w ? F = w + 10 : F = w - 10, D(n, F);
1467
- }, { pressProps: ie } = Wt({
1467
+ }, { pressProps: ie } = Lt({
1468
1468
  preventFocusOnPress: !0,
1469
1469
  onPressStart: (k) => {
1470
1470
  if (!(k.ctrlKey || k.altKey || k.metaKey || k.shiftKey || k.pointerType === "keyboard")) {
@@ -1710,7 +1710,7 @@ function xo(t, e) {
1710
1710
  ]);
1711
1711
  }
1712
1712
  function Do(t) {
1713
- let { collection: e, focusMode: l } = t, n = t.UNSAFE_selectionState || Kt(t), o = N(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1713
+ let { collection: e, focusMode: l } = t, n = t.UNSAFE_selectionState || It(t), o = N(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1714
1714
  t.disabledKeys
1715
1715
  ]), i = n.setFocusedKey;
1716
1716
  n.setFocusedKey = (s, d) => {
@@ -1725,7 +1725,7 @@ function Do(t) {
1725
1725
  }
1726
1726
  i(s, d);
1727
1727
  };
1728
- let a = N(() => new Jl(e, n), [
1728
+ let a = N(() => new bn(e, n), [
1729
1729
  e,
1730
1730
  n
1731
1731
  ]);
@@ -2102,7 +2102,7 @@ function ko(t) {
2102
2102
  o,
2103
2103
  n,
2104
2104
  i
2105
- ]), u = Ql(t, W((r) => new wo(r, null, a), [
2105
+ ]), u = gn(t, W((r) => new wo(r, null, a), [
2106
2106
  a
2107
2107
  ]), a), { disabledKeys: s, selectionManager: d } = Do({
2108
2108
  ...t,
@@ -2141,7 +2141,7 @@ function Eo(t, e) {
2141
2141
  function zo(t) {
2142
2142
  return t && t.__esModule ? t.default : t;
2143
2143
  }
2144
- class Ro extends sn {
2144
+ class Ro extends En {
2145
2145
  addNode(e) {
2146
2146
  super.addNode(e), this.columnsDirty || (this.columnsDirty = e.type === "column"), e.type === "tableheader" && (this.head = e), e.type === "tablebody" && (this.body = e);
2147
2147
  }
@@ -2224,22 +2224,22 @@ class Ro extends sn {
2224
2224
  super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new at(-1), this.body = new ut(-2), this.columnsDirty = !0;
2225
2225
  }
2226
2226
  }
2227
- const it = /* @__PURE__ */ me(null), To = /* @__PURE__ */ Oe(function(e, l) {
2227
+ const it = /* @__PURE__ */ he(null), To = /* @__PURE__ */ Oe(function(e, l) {
2228
2228
  let n = Q(l), o = P(null), i = P(null), [a, u] = q(0);
2229
- Dt(() => {
2229
+ wt(() => {
2230
2230
  let d = o.current;
2231
- for (; d && d !== n.current && !pn(d); ) d = d.parentElement;
2231
+ for (; d && d !== n.current && !An(d); ) d = d.parentElement;
2232
2232
  i.current = d;
2233
2233
  }, [
2234
2234
  n
2235
- ]), fn({
2235
+ ]), Tn({
2236
2236
  ref: i,
2237
2237
  box: "border-box",
2238
2238
  onResize() {
2239
2239
  var d, c;
2240
2240
  u((c = (d = i.current) === null || d === void 0 ? void 0 : d.clientWidth) !== null && c !== void 0 ? c : 0);
2241
2241
  }
2242
- }), Dt(() => {
2242
+ }), wt(() => {
2243
2243
  var d, c;
2244
2244
  u((c = (d = i.current) === null || d === void 0 ? void 0 : d.clientWidth) !== null && c !== void 0 ? c : 0);
2245
2245
  }, []);
@@ -2269,10 +2269,10 @@ const it = /* @__PURE__ */ me(null), To = /* @__PURE__ */ Oe(function(e, l) {
2269
2269
  }, /* @__PURE__ */ E.createElement(it.Provider, {
2270
2270
  value: s
2271
2271
  }, e.children));
2272
- }), Ao = /* @__PURE__ */ me(null), oe = /* @__PURE__ */ me(null), rt = /* @__PURE__ */ me(null), Po = /* @__PURE__ */ Oe(function(e, l) {
2272
+ }), Ao = /* @__PURE__ */ he(null), oe = /* @__PURE__ */ he(null), rt = /* @__PURE__ */ he(null), Po = /* @__PURE__ */ Oe(function(e, l) {
2273
2273
  var n;
2274
- [e, l] = It(e, l, Ao);
2275
- let o = Kt(e), { selectionBehavior: i, selectionMode: a, disallowEmptySelection: u } = o, s = !!(!((n = e.dragAndDropHooks) === null || n === void 0) && n.useDraggableCollectionState), d = N(() => ({
2274
+ [e, l] = Wt(e, l, Ao);
2275
+ let o = It(e), { selectionBehavior: i, selectionMode: a, disallowEmptySelection: u } = o, s = !!(!((n = e.dragAndDropHooks) === null || n === void 0) && n.useDraggableCollectionState), d = N(() => ({
2276
2276
  selectionBehavior: a === "none" ? null : i,
2277
2277
  selectionMode: a,
2278
2278
  disallowEmptySelection: u,
@@ -2285,7 +2285,7 @@ const it = /* @__PURE__ */ me(null), To = /* @__PURE__ */ Oe(function(e, l) {
2285
2285
  ]), c = /* @__PURE__ */ E.createElement(Nl.Provider, {
2286
2286
  value: d
2287
2287
  }, /* @__PURE__ */ E.createElement(Te, e));
2288
- return /* @__PURE__ */ E.createElement(an, {
2288
+ return /* @__PURE__ */ E.createElement(Sn, {
2289
2289
  content: c,
2290
2290
  createCollection: () => new Ro()
2291
2291
  }, (r) => /* @__PURE__ */ E.createElement(Mo, {
@@ -2296,9 +2296,9 @@ const it = /* @__PURE__ */ me(null), To = /* @__PURE__ */ Oe(function(e, l) {
2296
2296
  }));
2297
2297
  });
2298
2298
  function Mo({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2299
- [t, e] = It(t, e, $t);
2299
+ [t, e] = Wt(t, e, Dt);
2300
2300
  let { shouldUseVirtualFocus: o, disallowTypeAhead: i, filter: a, ...u } = t, s = B(it);
2301
- e = Q(N(() => _l(e, s?.tableRef), [
2301
+ e = Q(N(() => vn(e, s?.tableRef), [
2302
2302
  e,
2303
2303
  s?.tableRef
2304
2304
  ]));
@@ -2335,7 +2335,7 @@ function Mo({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2335
2335
  collection: c.collection,
2336
2336
  selectionManager: b
2337
2337
  });
2338
- let k = new kn({
2338
+ let k = new On({
2339
2339
  collection: c.collection,
2340
2340
  disabledKeys: b.disabledKeys,
2341
2341
  disabledBehavior: b.disabledBehavior,
@@ -2349,7 +2349,7 @@ function Mo({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2349
2349
  type: "root"
2350
2350
  });
2351
2351
  }
2352
- let { focusProps: H, isFocused: j, isFocusVisible: V } = De(), K = ce({
2352
+ let { focusProps: H, isFocused: j, isFocusVisible: V } = Ce(), K = ce({
2353
2353
  className: t.className,
2354
2354
  style: t.style,
2355
2355
  defaultClassName: "react-aria-Table",
@@ -2382,7 +2382,7 @@ function Mo({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2382
2382
  le
2383
2383
  ],
2384
2384
  [
2385
- Ce,
2385
+ we,
2386
2386
  {
2387
2387
  dragAndDropHooks: h,
2388
2388
  dragState: C,
@@ -2390,21 +2390,21 @@ function Mo({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2390
2390
  }
2391
2391
  ],
2392
2392
  [
2393
- tn,
2393
+ $n,
2394
2394
  {
2395
2395
  render: Wo
2396
2396
  }
2397
2397
  ],
2398
2398
  [
2399
- $t,
2399
+ Dt,
2400
2400
  null
2401
2401
  ],
2402
2402
  [
2403
- ql,
2403
+ mn,
2404
2404
  null
2405
2405
  ]
2406
2406
  ]
2407
- }, /* @__PURE__ */ E.createElement(xn, null, /* @__PURE__ */ E.createElement(pe, {
2407
+ }, /* @__PURE__ */ E.createElement(Vn, null, /* @__PURE__ */ E.createElement(pe, {
2408
2408
  ...O(ie, K, y, H, M?.collectionProps),
2409
2409
  style: U,
2410
2410
  ref: e,
@@ -2414,17 +2414,17 @@ function Mo({ props: t, forwardedRef: e, selectionState: l, collection: n }) {
2414
2414
  "data-drop-target": T || void 0,
2415
2415
  "data-focused": j || void 0,
2416
2416
  "data-focus-visible": V || void 0
2417
- }, /* @__PURE__ */ E.createElement(rn, null, /* @__PURE__ */ E.createElement(m, {
2417
+ }, /* @__PURE__ */ E.createElement(wn, null, /* @__PURE__ */ E.createElement(m, {
2418
2418
  collection: c.collection,
2419
2419
  scrollRef: (ne = s?.scrollRef) !== null && ne !== void 0 ? ne : e,
2420
- persistedKeys: ln(b, h, S)
2420
+ persistedKeys: xn(b, h, S)
2421
2421
  })))), z);
2422
2422
  }
2423
2423
  function G(t) {
2424
2424
  let { isVirtualized: e } = B(ee);
2425
2425
  return e ? "div" : t;
2426
2426
  }
2427
- const Nl = /* @__PURE__ */ me(null);
2427
+ const Nl = /* @__PURE__ */ he(null);
2428
2428
  function Kl() {
2429
2429
  return B(Nl);
2430
2430
  }
@@ -2432,7 +2432,7 @@ class at extends Ue {
2432
2432
  }
2433
2433
  at.type = "tableheader";
2434
2434
  const Bo = /* @__PURE__ */ _e(at, (t, e) => {
2435
- let l = B(oe).collection, n = un({
2435
+ let l = B(oe).collection, n = kn({
2436
2436
  items: l.headerRows,
2437
2437
  children: W((d) => {
2438
2438
  switch (d.type) {
@@ -2479,7 +2479,7 @@ function No({ item: t }) {
2479
2479
  }, /* @__PURE__ */ E.createElement(je, {
2480
2480
  values: [
2481
2481
  [
2482
- Bt,
2482
+ Kt,
2483
2483
  {
2484
2484
  slots: {
2485
2485
  selection: a
@@ -2495,12 +2495,12 @@ function No({ item: t }) {
2495
2495
  class Fl extends Ue {
2496
2496
  }
2497
2497
  Fl.type = "column";
2498
- const Ko = /* @__PURE__ */ Vt(Fl, (t, e, l) => {
2498
+ const Ko = /* @__PURE__ */ Ht(Fl, (t, e, l) => {
2499
2499
  var n, o;
2500
2500
  let i = Q(e), a = B(oe), { isVirtualized: u } = B(ee), { columnHeaderProps: s } = ro({
2501
2501
  node: l,
2502
2502
  isVirtualized: u
2503
- }, a, i), { isFocused: d, isFocusVisible: c, focusProps: r } = De(), p = B(rt), f = !1;
2503
+ }, a, i), { isFocused: d, isFocusVisible: c, focusProps: r } = Ce(), p = B(rt), f = !1;
2504
2504
  if (p) f = p.resizingColumn === l.key;
2505
2505
  else if (process.env.NODE_ENV !== "production")
2506
2506
  for (let D in [
@@ -2562,21 +2562,21 @@ const Ko = /* @__PURE__ */ Vt(Fl, (t, e, l) => {
2562
2562
  ],
2563
2563
  [
2564
2564
  ee,
2565
- Ft
2565
+ Vt
2566
2566
  ]
2567
2567
  ]
2568
2568
  }, y.children));
2569
- }), Il = /* @__PURE__ */ me(null), Fo = /* @__PURE__ */ Oe(function(e, l) {
2569
+ }), Il = /* @__PURE__ */ he(null), Fo = /* @__PURE__ */ Oe(function(e, l) {
2570
2570
  let n = B(rt);
2571
2571
  if (!n) throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
2572
- let o = Pe(zo(nn), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: u } = B(it), { column: s, triggerRef: d } = B(Il), c = P(null), { resizerProps: r, inputProps: p, isResizing: f } = ho({
2572
+ let o = Pe(zo(Dn), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: u } = B(it), { column: s, triggerRef: d } = B(Il), c = P(null), { resizerProps: r, inputProps: p, isResizing: f } = ho({
2573
2573
  column: s,
2574
2574
  "aria-label": e["aria-label"] || o.format("tableResizer"),
2575
2575
  onResizeStart: i,
2576
2576
  onResize: a,
2577
2577
  onResizeEnd: u,
2578
2578
  triggerRef: d
2579
- }, n, c), { focusProps: m, isFocused: h, isFocusVisible: y } = De(), { hoverProps: b, isHovered: $ } = Ae(e), g = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), D = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: v } = we(), C = "both";
2579
+ }, n, c), { focusProps: m, isFocused: h, isFocusVisible: y } = Ce(), { hoverProps: b, isHovered: $ } = Ae(e), g = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), D = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: v } = Se(), C = "both";
2580
2580
  g ? C = v === "rtl" ? "right" : "left" : D ? C = v === "rtl" ? "left" : "right" : C = "both";
2581
2581
  let S = Q(l), [M, T] = q("");
2582
2582
  de(() => {
@@ -2618,7 +2618,7 @@ const Ko = /* @__PURE__ */ Vt(Fl, (t, e, l) => {
2618
2618
  }, z.children, /* @__PURE__ */ E.createElement("input", {
2619
2619
  ref: c,
2620
2620
  ...O(p, m)
2621
- }), f && I && /* @__PURE__ */ mn.createPortal(/* @__PURE__ */ E.createElement("div", {
2621
+ }), f && I && /* @__PURE__ */ Pn.createPortal(/* @__PURE__ */ E.createElement("div", {
2622
2622
  style: {
2623
2623
  position: "fixed",
2624
2624
  top: 0,
@@ -2629,11 +2629,11 @@ const Ko = /* @__PURE__ */ Vt(Fl, (t, e, l) => {
2629
2629
  }
2630
2630
  }), document.body));
2631
2631
  });
2632
- class ut extends dn {
2632
+ class ut extends zn {
2633
2633
  }
2634
2634
  ut.type = "tablebody";
2635
2635
  const Io = /* @__PURE__ */ _e(ut, (t, e) => {
2636
- let l = B(oe), { isVirtualized: n } = B(ee), o = l.collection, { CollectionBranch: i } = B(ee), { dragAndDropHooks: a, dropState: u } = B(Ce), s = !!a?.useDroppableCollectionState && !u?.isDisabled;
2636
+ let l = B(oe), { isVirtualized: n } = B(ee), o = l.collection, { CollectionBranch: i } = B(ee), { dragAndDropHooks: a, dropState: u } = B(we), s = !!a?.useDroppableCollectionState && !u?.isDisabled;
2637
2637
  var d;
2638
2638
  let c = s && !!u && ((d = u.isDropTarget({
2639
2639
  type: "root"
@@ -2671,7 +2671,7 @@ const Io = /* @__PURE__ */ _e(ut, (t, e) => {
2671
2671
  }, s && /* @__PURE__ */ E.createElement(Oo, null), /* @__PURE__ */ E.createElement(i, {
2672
2672
  collection: o,
2673
2673
  parent: o.body,
2674
- renderDropIndicator: en(a, u)
2674
+ renderDropIndicator: yn(a, u)
2675
2675
  }), m);
2676
2676
  });
2677
2677
  class Vl extends Ue {
@@ -2686,11 +2686,11 @@ class Vl extends Ue {
2686
2686
  }
2687
2687
  Vl.type = "item";
2688
2688
  const Rt = /* @__PURE__ */ _e(Vl, (t, e, l) => {
2689
- let n = Q(e), o = B(oe), { dragAndDropHooks: i, dragState: a, dropState: u } = B(Ce), { isVirtualized: s, CollectionBranch: d } = B(ee), { rowProps: c, ...r } = ao({
2689
+ let n = Q(e), o = B(oe), { dragAndDropHooks: i, dragState: a, dropState: u } = B(we), { isVirtualized: s, CollectionBranch: d } = B(ee), { rowProps: c, ...r } = ao({
2690
2690
  node: l,
2691
2691
  shouldSelectOnPressUp: !!a,
2692
2692
  isVirtualized: s
2693
- }, o, n), { isFocused: p, isFocusVisible: f, focusProps: m } = De(), { isFocusVisible: h, focusProps: y } = De({
2693
+ }, o, n), { isFocused: p, isFocusVisible: f, focusProps: m } = Ce(), { isFocusVisible: h, focusProps: y } = Ce({
2694
2694
  within: !0
2695
2695
  }), { hoverProps: b, isHovered: $ } = Ae({
2696
2696
  isDisabled: !r.allowsSelection && !r.hasAction,
@@ -2767,19 +2767,19 @@ const Rt = /* @__PURE__ */ _e(Vl, (t, e, l) => {
2767
2767
  }, /* @__PURE__ */ E.createElement(je, {
2768
2768
  values: [
2769
2769
  [
2770
- Bt,
2770
+ Kt,
2771
2771
  {
2772
2772
  slots: {
2773
- [xt]: {},
2773
+ [Ct]: {},
2774
2774
  selection: g
2775
2775
  }
2776
2776
  }
2777
2777
  ],
2778
2778
  [
2779
- Mt,
2779
+ Nt,
2780
2780
  {
2781
2781
  slots: {
2782
- [xt]: {},
2782
+ [Ct]: {},
2783
2783
  drag: {
2784
2784
  ...D?.dragButtonProps,
2785
2785
  ref: M,
@@ -2791,7 +2791,7 @@ const Rt = /* @__PURE__ */ _e(Vl, (t, e, l) => {
2791
2791
  }
2792
2792
  ],
2793
2793
  [
2794
- on,
2794
+ Cn,
2795
2795
  {
2796
2796
  isSelected: r.isSelected
2797
2797
  }
@@ -2815,14 +2815,14 @@ const Rt = /* @__PURE__ */ _e(Vl, (t, e, l) => {
2815
2815
  class Wl extends Ue {
2816
2816
  }
2817
2817
  Wl.type = "cell";
2818
- const Vo = /* @__PURE__ */ Vt(Wl, (t, e, l) => {
2819
- let n = Q(e), o = B(oe), { dragState: i } = B(Ce), { isVirtualized: a } = B(ee);
2818
+ const Vo = /* @__PURE__ */ Ht(Wl, (t, e, l) => {
2819
+ let n = Q(e), o = B(oe), { dragState: i } = B(we), { isVirtualized: a } = B(ee);
2820
2820
  l.column = o.collection.columns[l.index];
2821
2821
  let { gridCellProps: u, isPressed: s } = so({
2822
2822
  node: l,
2823
2823
  shouldSelectOnPressUp: !!i,
2824
2824
  isVirtualized: a
2825
- }, o, n), { isFocused: d, isFocusVisible: c, focusProps: r } = De(), { hoverProps: p, isHovered: f } = Ae({}), m = ce({
2825
+ }, o, n), { isFocused: d, isFocusVisible: c, focusProps: r } = Ce(), { hoverProps: p, isHovered: f } = Ae({}), m = ce({
2826
2826
  ...t,
2827
2827
  id: void 0,
2828
2828
  defaultClassName: "react-aria-Cell",
@@ -2843,12 +2843,12 @@ const Vo = /* @__PURE__ */ Vt(Wl, (t, e, l) => {
2843
2843
  "data-focus-visible": c || void 0,
2844
2844
  "data-pressed": s || void 0
2845
2845
  }, /* @__PURE__ */ E.createElement(ee.Provider, {
2846
- value: Ft
2846
+ value: Vt
2847
2847
  }, m.children));
2848
2848
  });
2849
2849
  function Wo(t, e) {
2850
2850
  e = Q(e);
2851
- let { dragAndDropHooks: l, dropState: n } = B(Ce), o = P(null), { dropIndicatorProps: i, isHidden: a, isDropTarget: u } = l.useDropIndicator(t, n, o);
2851
+ let { dragAndDropHooks: l, dropState: n } = B(we), o = P(null), { dropIndicatorProps: i, isHidden: a, isDropTarget: u } = l.useDropIndicator(t, n, o);
2852
2852
  return a ? null : /* @__PURE__ */ E.createElement(Lo, {
2853
2853
  ...t,
2854
2854
  dropIndicatorProps: i,
@@ -2888,7 +2888,7 @@ function Ho(t, e) {
2888
2888
  }
2889
2889
  const Lo = /* @__PURE__ */ Oe(Ho);
2890
2890
  function Oo() {
2891
- let t = B(oe), { dragAndDropHooks: e, dropState: l } = B(Ce), n = P(null), { dropIndicatorProps: o } = e.useDropIndicator({
2891
+ let t = B(oe), { dragAndDropHooks: e, dropState: l } = B(we), n = P(null), { dropIndicatorProps: o } = e.useDropIndicator({
2892
2892
  target: {
2893
2893
  type: "root"
2894
2894
  }
@@ -2916,8 +2916,8 @@ function Oo() {
2916
2916
  }
2917
2917
  const { withProvider: jo, withContext: Z } = /* @__PURE__ */ Xl({
2918
2918
  key: "dataTable"
2919
- }), Uo = /* @__PURE__ */ jo("div", "root"), Go = /* @__PURE__ */ Z("table", "table"), Yo = /* @__PURE__ */ Z("tr", "header"), Xo = /* @__PURE__ */ Z("th", "column"), qo = /* @__PURE__ */ Z("tbody", "body"), Tt = /* @__PURE__ */ Z("tr", "row"), Zo = /* @__PURE__ */ Z("td", "cell"), Jo = /* @__PURE__ */ Z("footer", "footer"), Qo = /* @__PURE__ */ Z("td", "selectionCell"), Hl = /* @__PURE__ */ Z("button", "expandButton"), _o = /* @__PURE__ */ Z("span", "nestedIcon"), ei = /* @__PURE__ */ Z("span", "headerSortIcon"), ti = /* @__PURE__ */ Z("div", "columnResizer"), Ye = /* @__PURE__ */ me(null);
2920
- Ye.displayName = "DataTableContext";
2919
+ }), Uo = /* @__PURE__ */ jo("div", "root"), Go = /* @__PURE__ */ Z("table", "table"), Yo = /* @__PURE__ */ Z("tr", "header"), Xo = /* @__PURE__ */ Z("th", "column"), qo = /* @__PURE__ */ Z("tbody", "body"), Tt = /* @__PURE__ */ Z("tr", "row"), Zo = /* @__PURE__ */ Z("td", "cell"), Jo = /* @__PURE__ */ Z("footer", "footer"), Qo = /* @__PURE__ */ Z("td", "selectionCell"), Hl = /* @__PURE__ */ Z("button", "expandButton"), _o = /* @__PURE__ */ Z("span", "nestedIcon"), ei = /* @__PURE__ */ Z("span", "headerSortIcon"), ti = /* @__PURE__ */ Z("div", "columnResizer"), Ye = /* @__PURE__ */ he(null);
2920
+ Ye.displayName = "DataTable.Context";
2921
2921
  const fe = () => {
2922
2922
  const t = B(
2923
2923
  Ye
@@ -2925,397 +2925,423 @@ const fe = () => {
2925
2925
  if (!t)
2926
2926
  throw new Error("DataTable components must be used within DataTable.Root");
2927
2927
  return t;
2928
- }, xe = ({
2929
- ref: t,
2930
- children: e,
2931
- isDisabled: l,
2932
- ...n
2933
- }) => {
2934
- const [o, i] = Se(n);
2935
- return /* @__PURE__ */ x(Zo, { asChild: !0, ...o, children: /* @__PURE__ */ x(Vo, { ref: t, ...i, children: (a) => /* @__PURE__ */ x(Mt.Provider, { value: { isDisabled: l }, children: typeof e == "function" ? e(a) : e }) }) });
2936
- }, R = /* @__PURE__ */ Yl({
2937
- dataTable: {
2938
- id: "Nimbus.DataTable.dataTable",
2939
- description: "aria-label for the data table element",
2940
- defaultMessage: "Data table"
2941
- },
2942
- dataTableHeader: {
2943
- id: "Nimbus.DataTable.dataTableHeader",
2944
- description: "aria-label for the data table header element",
2945
- defaultMessage: "Data table header"
2946
- },
2947
- dataTableBody: {
2948
- id: "Nimbus.DataTable.dataTableBody",
2949
- description: "aria-label for the data table body element",
2950
- defaultMessage: "Data table body"
2951
- },
2952
- expandRows: {
2953
- id: "Nimbus.DataTable.expandRows",
2954
- description: "aria-label for the expand rows column header",
2955
- defaultMessage: "Expand rows"
2956
- },
2957
- pinRows: {
2958
- id: "Nimbus.DataTable.pinRows",
2959
- description: "aria-label for the pin rows column header",
2960
- defaultMessage: "Pin rows"
2961
- },
2962
- selectRow: {
2963
- id: "Nimbus.DataTable.selectRow",
2964
- description: "aria-label for the row selection checkbox",
2965
- defaultMessage: "Select row"
2966
- },
2967
- resizeColumn: {
2968
- id: "Nimbus.DataTable.resizeColumn",
2969
- description: "aria-label for the column resizer",
2970
- defaultMessage: "Resize column"
2971
- },
2972
- settings: {
2973
- id: "Nimbus.DataTable.settings",
2974
- description: "aria-label for the settings button in the data table manager",
2975
- defaultMessage: "Table settings"
2976
- },
2977
- visibleColumns: {
2978
- id: "Nimbus.DataTable.visibleColumns",
2979
- description: "title for the visible columns section in the data table manager",
2980
- defaultMessage: "Visible columns"
2981
- },
2982
- hiddenColumns: {
2983
- id: "Nimbus.DataTable.hiddenColumns",
2984
- description: "title for the hidden columns section in the data table manager",
2985
- defaultMessage: "Hidden columns"
2986
- },
2987
- noHiddenColumns: {
2988
- id: "Nimbus.DataTable.noHiddenColumns",
2989
- description: "message when there is no hidden columns in the data table manager",
2990
- defaultMessage: "No Hidden columns"
2991
- },
2992
- hiddenColumnsAriaLabel: {
2993
- id: "Nimbus.DataTable.hiddenColumnsAriaLabel",
2994
- description: "aria-label for the hidden columns list in the data table manager",
2995
- defaultMessage: "Hidden columns list"
2996
- },
2997
- visibleColumnsList: {
2998
- id: "Nimbus.DataTable.visibleColumnsList",
2999
- description: "title for the visible columns section in the data table manager",
3000
- defaultMessage: "Visible columns"
3001
- },
3002
- visibleColumnsAria: {
3003
- id: "Nimbus.DataTable.visibleColumnsAria",
3004
- description: "aria-label for the visible columns list in the data table manager",
3005
- defaultMessage: "Visible columns list"
3006
- },
3007
- hideColumn: {
3008
- id: "Nimbus.DataTable.hideColumn",
3009
- description: "aria-label for the hide column button in the data table manager",
3010
- defaultMessage: "Hide column"
3011
- },
3012
- reset: {
3013
- id: "Nimbus.DataTable.reset",
3014
- description: "aria-label for the reset columns button in the data table manager",
3015
- defaultMessage: "Reset columns"
3016
- },
3017
- layoutSettings: {
3018
- id: "Nimbus.DataTable.layoutSettings",
3019
- description: "title for the layout settings section in the data table manager",
3020
- defaultMessage: "Layout settings"
3021
- },
3022
- layoutSettingsAriaLabel: {
3023
- id: "Nimbus.DataTable.layoutSettingsAriaLabel",
3024
- description: "aria-label for the layout settings section in the data table manager",
3025
- defaultMessage: "Layout settings section"
3026
- },
3027
- textVisibility: {
3028
- id: "Nimbus.DataTable.textVisibility",
3029
- description: "title for the text visibility section in the data table manager layout",
3030
- defaultMessage: "Text visibility"
3031
- },
3032
- textVisibilityAriaLabel: {
3033
- id: "Nimbus.DataTable.textVisibilityAriaLabel",
3034
- description: "aria-label for the text visibility section in the data table manager layout",
3035
- defaultMessage: "Text visibility section"
3036
- },
3037
- fullText: {
3038
- id: "Nimbus.DataTable.fullText",
3039
- description: "title for the full text section in the data table manager layout",
3040
- defaultMessage: "Full text"
3041
- },
3042
- fullTextAriaLabel: {
3043
- id: "Nimbus.DataTable.fullTextAriaLabel",
3044
- description: "aria-label for the full text section in the data table manager layout",
3045
- defaultMessage: "Full text section"
3046
- },
3047
- TextPreviews: {
3048
- id: "Nimbus.DataTable.textPreviews",
3049
- description: "title for the text previews section in the data table manager layout",
3050
- defaultMessage: "Text previews"
3051
- },
3052
- TextPreviewsAriaLabel: {
3053
- id: "Nimbus.DataTable.textPreviewsAriaLabel",
3054
- description: "aria-label for the text previews section in the data table manager layout",
3055
- defaultMessage: "Text previews section"
3056
- },
3057
- RowDensity: {
3058
- id: "Nimbus.DataTable.rowDensity",
3059
- description: "title for the row density section in the data table manager layout",
3060
- defaultMessage: "Row density"
3061
- },
3062
- RowDensityAriaLabel: {
3063
- id: "Nimbus.DataTable.rowDensityAriaLabel",
3064
- description: "aria-label for the row density section in the data table manager layout",
3065
- defaultMessage: "Row density section"
3066
- },
3067
- comfortable: {
3068
- id: "Nimbus.DataTable.comfortable",
3069
- description: "title for the comfortable togglebutton in the data table manager layout",
3070
- defaultMessage: "Comfortable"
3071
- },
3072
- comfortableAriaLabel: {
3073
- id: "Nimbus.DataTable.comfortableAriaLabel",
3074
- description: "aria-label for the comfortable togglebutton in the data table manager layout",
3075
- defaultMessage: "Comfortable section"
3076
- },
3077
- compact: {
3078
- id: "Nimbus.DataTable.compact",
3079
- description: "title for the compact togglebutton in the data table manager layout",
3080
- defaultMessage: "Compact"
3081
- },
3082
- compactAriaLabel: {
3083
- id: "Nimbus.DataTable.compactAriaLabel",
3084
- description: "aria-label for the compact togglebutton in the data table manager layout",
3085
- defaultMessage: "Compact section"
3086
- },
3087
- searchHiddenColumns: {
3088
- id: "Nimbus.DataTable.searchHiddenColumns",
3089
- description: "placeholder for the search input in the hidden columns section in the data table manager",
3090
- defaultMessage: "Search..."
3091
- }
3092
- });
3093
- function Qe(t) {
3094
- return t.target?.closest(
3095
- 'button, input, [role="button"], [role="checkbox"], [slot="selection"], [data-slot="selection"]'
3096
- );
2928
+ };
2929
+ function Ll(t, e, l, n) {
2930
+ if (!e) return t;
2931
+ const o = e.toLowerCase();
2932
+ return t.map((i) => {
2933
+ const a = l.some((u) => {
2934
+ const s = u.accessor(i);
2935
+ return typeof s == "string" && s.toLowerCase().includes(o);
2936
+ });
2937
+ if (n && i[n]) {
2938
+ let u = i[n];
2939
+ if (Array.isArray(i[n])) {
2940
+ if (u = Ll(
2941
+ i[n],
2942
+ e,
2943
+ l,
2944
+ n
2945
+ ), a || u && Array.isArray(u) && u.length > 0)
2946
+ return { ...i, [n]: u };
2947
+ } else if (a)
2948
+ return { ...i, [n]: u };
2949
+ return null;
2950
+ } else
2951
+ return a ? i : null;
2952
+ }).filter(Boolean);
3097
2953
  }
3098
- function li(t) {
3099
- return t.target?.closest(
3100
- '[slot="selection"], [data-slot="selection"], [role="checkbox"]'
3101
- );
2954
+ function Ol(t, e, l, n, o) {
2955
+ const i = [], a = [];
2956
+ t.forEach((d) => {
2957
+ o?.has(d.id) ? i.push(d) : a.push(d);
2958
+ });
2959
+ let u = a;
2960
+ if (e) {
2961
+ const d = l.find((c) => c.id === e.column);
2962
+ d && (u = [...a].sort((c, r) => {
2963
+ const p = d.accessor(c), f = d.accessor(r);
2964
+ if (p == null && f == null) return 0;
2965
+ if (p == null) return 1;
2966
+ if (f == null) return -1;
2967
+ let m = p, h = f;
2968
+ return typeof p == "number" && typeof f == "number" ? (m = p, h = f) : (m = String(p).toLowerCase(), h = String(f).toLowerCase()), m < h ? e.direction === "ascending" ? -1 : 1 : m > h ? e.direction === "ascending" ? 1 : -1 : 0;
2969
+ }));
2970
+ }
2971
+ return [...i, ...u].map((d) => !n || !d[n] ? d : {
2972
+ ...d,
2973
+ [n]: Array.isArray(d[n]) ? Ol(
2974
+ d[n],
2975
+ e,
2976
+ l,
2977
+ n,
2978
+ o
2979
+ ) : d[n]
2980
+ });
3102
2981
  }
3103
- function At(t) {
3104
- const e = Qe(t), l = li(t);
3105
- (!e || e && !l) && t.stopPropagation();
2982
+ function jl(t, e) {
2983
+ return e ? t.some(
2984
+ (l) => l[e] && (Array.isArray(l[e]) ? l[e].length > 0 : !0) || Array.isArray(l[e]) && jl(l[e], e)
2985
+ ) : !1;
3106
2986
  }
3107
- const st = ({
3108
- row: t,
3109
- ref: e,
3110
- ...l
3111
- }) => {
3112
- const n = he(), {
3113
- activeColumns: o,
3114
- search: i,
3115
- expanded: a,
3116
- toggleExpand: u,
3117
- nestedKey: s,
3118
- disabledKeys: d,
3119
- showExpandColumn: c,
3120
- showSelectionColumn: r,
3121
- isTruncated: p,
3122
- onRowClick: f,
3123
- onRowAction: m,
3124
- pinnedRows: h,
3125
- togglePin: y,
3126
- sortedRows: b
3127
- } = fe(), [$, g] = Se(l), v = ((w) => d ? d === "all" || t.isDisabled ? !0 : d.has(w) : !1)(t.id), C = P(null), S = W(
3128
- (w) => {
3129
- if (!f) return;
3130
- const F = Qe(w), re = window.getSelection()?.toString() !== void 0 && window.getSelection().toString().length > 0;
3131
- !F && !re && (C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
3132
- v ? m && m(t, "click") : f(t), C.current = null;
3133
- }, 300));
2987
+ const st = function(e) {
2988
+ const {
2989
+ ref: l,
2990
+ columns: n = [],
2991
+ rows: o = [],
2992
+ visibleColumns: i,
2993
+ search: a,
2994
+ sortDescriptor: u,
2995
+ defaultSortDescriptor: s,
2996
+ onSortChange: d,
2997
+ selectedKeys: c,
2998
+ defaultSelectedKeys: r,
2999
+ onSelectionChange: p,
3000
+ selectionMode: f = "none",
3001
+ disallowEmptySelection: m = !1,
3002
+ allowsSorting: h = !1,
3003
+ maxHeight: y,
3004
+ isTruncated: b = !1,
3005
+ density: $ = "default",
3006
+ nestedKey: g,
3007
+ onRowClick: D,
3008
+ onDetailsClick: v,
3009
+ disabledKeys: C,
3010
+ onRowAction: S,
3011
+ isResizable: M,
3012
+ pinnedRows: T,
3013
+ defaultPinnedRows: z,
3014
+ onPinToggle: I,
3015
+ onColumnsChange: H,
3016
+ onSettingsChange: j,
3017
+ children: V,
3018
+ ...K
3019
+ } = e, Y = P(null), U = Q(Re(Y, l)), [le, pe] = q(s), [ie, ne] = q({}), [k, w] = q(
3020
+ () => z || /* @__PURE__ */ new Set()
3021
+ ), F = u ?? le, re = T ?? k, ge = N(() => {
3022
+ if (!i)
3023
+ return n;
3024
+ const X = new Map(n.map((J) => [J.id, J]));
3025
+ return i.map((J) => X.get(J)).filter((J) => J !== void 0);
3026
+ }, [n, i]), Be = N(
3027
+ () => a ? Ll(o, a, ge, g) : o,
3028
+ [o, a, ge, g]
3029
+ ), Xe = N(
3030
+ () => Ol(
3031
+ Be,
3032
+ F,
3033
+ ge,
3034
+ g,
3035
+ re
3036
+ ),
3037
+ [Be, F, ge, g, re]
3038
+ ), ht = jl(Xe, g), bt = f !== "none", gt = W(
3039
+ (X) => ne((J) => ({ ...J, [X]: !J[X] })),
3040
+ []
3041
+ ), vt = W(
3042
+ (X) => {
3043
+ I ? I(X) : w((J) => {
3044
+ const Ne = new Set(J);
3045
+ return Ne.has(X) ? Ne.delete(X) : Ne.add(X), Ne;
3046
+ });
3134
3047
  },
3135
- [f, m, t, v]
3136
- ), M = W((w) => {
3137
- Qe(w) || C.current && (window.clearTimeout(C.current), C.current = null);
3138
- }, []), T = P({
3139
- count: 0,
3140
- node: void 0
3141
- }), z = W(
3142
- (w) => {
3143
- T.current.count += 1, T.current.count === 1 && w && (T.current.node = w, w.addEventListener(
3144
- // Use pointerdown event in order to capture event before it bubbles to react-aria's onPress handler
3145
- "pointerdown",
3146
- At,
3048
+ [I]
3049
+ ), yt = W(
3050
+ (X) => {
3051
+ d ? d(X) : pe(X);
3052
+ },
3053
+ [d]
3054
+ ), Gl = N(
3055
+ () => ({
3056
+ columns: n,
3057
+ rows: o,
3058
+ visibleColumns: i,
3059
+ search: a,
3060
+ sortDescriptor: F,
3061
+ selectedKeys: c,
3062
+ defaultSelectedKeys: r,
3063
+ expanded: ie,
3064
+ allowsSorting: h,
3065
+ selectionMode: f,
3066
+ disallowEmptySelection: m,
3067
+ maxHeight: y,
3068
+ isTruncated: b,
3069
+ density: $,
3070
+ nestedKey: g,
3071
+ onSortChange: yt,
3072
+ onSelectionChange: p,
3073
+ onRowClick: D,
3074
+ onDetailsClick: v,
3075
+ toggleExpand: gt,
3076
+ activeColumns: ge,
3077
+ filteredRows: Be,
3078
+ sortedRows: Xe,
3079
+ showExpandColumn: ht,
3080
+ showSelectionColumn: bt,
3081
+ isResizable: M,
3082
+ disabledKeys: C,
3083
+ onRowAction: S,
3084
+ pinnedRows: re,
3085
+ onPinToggle: I,
3086
+ togglePin: vt,
3087
+ onColumnsChange: H,
3088
+ onSettingsChange: j
3089
+ }),
3090
+ [
3091
+ n,
3092
+ o,
3093
+ i,
3094
+ a,
3095
+ F,
3096
+ c,
3097
+ r,
3098
+ ie,
3099
+ h,
3100
+ f,
3101
+ m,
3102
+ y,
3103
+ b,
3104
+ $,
3105
+ g,
3106
+ yt,
3107
+ p,
3108
+ D,
3109
+ v,
3110
+ gt,
3111
+ ge,
3112
+ Be,
3113
+ Xe,
3114
+ ht,
3115
+ bt,
3116
+ M,
3117
+ C,
3118
+ S,
3119
+ re,
3120
+ I,
3121
+ vt,
3122
+ H,
3123
+ j
3124
+ ]
3125
+ );
3126
+ return /* @__PURE__ */ x(
3127
+ Uo,
3128
+ {
3129
+ ref: U,
3130
+ truncated: b,
3131
+ density: $,
3132
+ maxH: y,
3133
+ ...K,
3134
+ asChild: !0,
3135
+ children: /* @__PURE__ */ x(To, { children: /* @__PURE__ */ x(
3136
+ Ye.Provider,
3147
3137
  {
3148
- capture: !0
3138
+ value: Gl,
3139
+ children: V
3149
3140
  }
3150
- ), w.addEventListener("mouseup", S, { capture: !0 }), w.addEventListener("dblclick", M, {
3151
- capture: !0
3152
- }));
3153
- },
3154
- [S, M]
3141
+ ) })
3142
+ }
3155
3143
  );
3156
- de(() => () => {
3157
- C.current && (window.clearTimeout(C.current), C.current = null), T.current.count >= 1 && T.current.node && (T.current.node.removeEventListener(
3158
- "pointerdown",
3159
- At
3160
- ), T.current.node.removeEventListener("mouseup", S), T.current.node.removeEventListener(
3161
- "dblclick",
3162
- M
3163
- ));
3164
- }, [S, M]);
3165
- const I = Re(e, z), { selectionBehavior: H } = Kl(), j = s && t[s] && (Array.isArray(t[s]) ? t[s].length > 0 : !0), V = a[t.id], K = h.has(t.id), Y = b.filter((w) => h.has(w.id)).map((w) => w.id), U = K ? Y.indexOf(t.id) : -1, le = U === 0, pe = U === Y.length - 1, ie = Y.length === 1 && K, ne = () => K ? ie ? "data-table-row-pinned-single" : le ? "data-table-row-pinned-first" : pe ? "data-table-row-pinned-last" : "" : "", k = (w) => i && typeof w == "string" ? /* @__PURE__ */ x(Pn, { query: i, ignoreCase: !0, matchAll: !0, children: w }) : w;
3166
- return /* @__PURE__ */ A(We, { children: [
3167
- /* @__PURE__ */ x(Tt, { asChild: !0, ...$, children: /* @__PURE__ */ A(
3168
- Rt,
3169
- {
3170
- isDisabled: v,
3171
- columns: o,
3172
- ref: I,
3173
- id: t.id,
3174
- className: `data-table-row ${v ? "data-table-row-disabled" : ""} ${K ? `data-table-row-pinned ${ne()}` : ""}`,
3175
- ...g,
3176
- dependencies: [V, i, p],
3177
- children: [
3178
- H === "toggle" && /* @__PURE__ */ x(
3179
- xe,
3180
- {
3181
- className: "data-table-sticky-cell",
3182
- "data-slot": "selection",
3183
- isDisabled: v,
3184
- children: /* @__PURE__ */ x(
3185
- se,
3186
- {
3187
- display: "flex",
3188
- alignItems: "center",
3189
- justifyContent: "center",
3190
- w: "100%",
3191
- h: "100%",
3192
- children: /* @__PURE__ */ x(
3193
- Lt,
3194
- {
3195
- name: "select-row",
3196
- slot: "selection",
3197
- "aria-label": n.formatMessage(R.selectRow)
3198
- }
3199
- )
3200
- }
3201
- )
3202
- }
3203
- ),
3204
- c && /* @__PURE__ */ x(
3205
- xe,
3206
- {
3207
- className: "data-table-sticky-cell",
3208
- "data-slot": "expand",
3209
- isDisabled: v,
3210
- children: j ? /* @__PURE__ */ x(
3211
- Hl,
3212
- {
3213
- w: "100%",
3214
- h: "100%",
3215
- cursor: "pointer",
3216
- "aria-label": V ? "Collapse" : "Expand",
3217
- onClick: (w) => {
3218
- w.stopPropagation(), u(t.id);
3219
- },
3220
- children: V ? /* @__PURE__ */ x(Mn, {}) : /* @__PURE__ */ x(Bn, {})
3221
- }
3222
- ) : null
3223
- }
3224
- ),
3225
- /* @__PURE__ */ x(Te, { items: o, children: (w) => {
3226
- const F = w.accessor(t);
3227
- return /* @__PURE__ */ x(xe, { isDisabled: v, children: /* @__PURE__ */ x(
3228
- se,
3229
- {
3230
- className: p ? "truncated-cell" : "",
3231
- "data-truncated": p ? "true" : "false",
3232
- display: "inline-block",
3233
- h: "100%",
3234
- minW: "0",
3235
- maxW: "100%",
3236
- position: "relative",
3237
- overflow: "hidden",
3238
- cursor: v ? "not-allowed" : "text",
3239
- children: w.render ? w.render({
3240
- value: k(F),
3241
- row: t,
3242
- column: w
3243
- }) : k(F)
3244
- }
3245
- ) }, w.id);
3246
- } }),
3247
- /* @__PURE__ */ x(
3248
- xe,
3249
- {
3250
- className: "data-table-sticky-cell",
3251
- "data-slot": "pin-row-cell",
3252
- isDisabled: v,
3253
- children: /* @__PURE__ */ x(
3254
- se,
3255
- {
3256
- "data-slot": K ? "nimbus-table-cell-pin-button-pinned" : "nimbus-table-cell-pin-button",
3257
- children: /* @__PURE__ */ A(Le.Root, { children: [
3258
- /* @__PURE__ */ x(
3259
- Ot,
3260
- {
3261
- size: "2xs",
3262
- variant: "ghost",
3263
- "aria-label": K ? "Unpin row" : "Pin row",
3264
- colorPalette: "primary",
3265
- onClick: (w) => {
3266
- w.stopPropagation(), y(t.id);
3267
- },
3268
- children: /* @__PURE__ */ x(Nn, {})
3269
- },
3270
- "pin-btn"
3271
- ),
3272
- /* @__PURE__ */ x(Le.Content, { placement: "top", children: K ? "Unpin row" : "Pin row" })
3273
- ] })
3274
- }
3275
- )
3276
- }
3277
- )
3278
- ]
3279
- }
3280
- ) }),
3281
- c && /* @__PURE__ */ x(Tt, { ...$, asChild: !0, children: /* @__PURE__ */ x(
3282
- Rt,
3283
- {
3284
- "data-nested-row-expanded": V ? "true" : "false",
3285
- dependencies: [V],
3286
- children: /* @__PURE__ */ x(
3287
- xe,
3288
- {
3289
- isDisabled: v,
3290
- colSpan: o.length + (c ? 1 : 0) + (r ? 1 : 0) + 1,
3291
- "data-nested-cell": !0,
3292
- children: V ? s && Array.isArray(t[s]) ? `${t[s].length} nested items` : s && t[s] : null
3293
- }
3294
- )
3295
- }
3296
- ) })
3297
- ] });
3298
3144
  };
3299
- st.displayName = "DataTable.Row";
3300
- const ni = () => /* @__PURE__ */ x(se, { w: "100%", p: "200", children: "No Data" }), dt = ({
3301
- ref: t,
3302
- ...e
3303
- }) => {
3304
- const { sortedRows: l, activeColumns: n, renderEmptyState: o } = fe(), [i, a] = Se(e);
3305
- return /* @__PURE__ */ x(qo, { asChild: !0, ...i, children: /* @__PURE__ */ x(
3306
- Io,
3145
+ st.displayName = "DataTable.Root";
3146
+ const dt = function({
3147
+ ref: e,
3148
+ children: l,
3149
+ ...n
3150
+ }) {
3151
+ const o = P(null), i = Q(Re(o, e)), {
3152
+ sortDescriptor: a,
3153
+ onSortChange: u,
3154
+ selectionMode: s,
3155
+ onSelectionChange: d,
3156
+ selectedKeys: c,
3157
+ defaultSelectedKeys: r,
3158
+ disallowEmptySelection: p,
3159
+ disabledKeys: f
3160
+ } = fe(), [m, h] = ke(n), y = a ? {
3161
+ column: a.column,
3162
+ direction: a.direction
3163
+ } : void 0;
3164
+ return /* @__PURE__ */ x(Go, { ...m, asChild: !0, children: /* @__PURE__ */ x(
3165
+ Po,
3307
3166
  {
3308
- ref: t,
3309
- items: l,
3310
- dependencies: [n],
3311
- renderEmptyState: o ?? ni,
3312
- ...a,
3313
- children: (u) => /* @__PURE__ */ x(st, { row: u }, u.id)
3167
+ ref: i,
3168
+ sortDescriptor: y,
3169
+ onSortChange: ($) => {
3170
+ $ && u && u({
3171
+ column: String($.column),
3172
+ direction: $.direction
3173
+ });
3174
+ },
3175
+ selectedKeys: c,
3176
+ defaultSelectedKeys: r,
3177
+ onSelectionChange: d,
3178
+ selectionMode: s,
3179
+ disallowEmptySelection: p,
3180
+ disabledKeys: f,
3181
+ disabledBehavior: "all",
3182
+ ...h,
3183
+ children: l
3314
3184
  }
3315
3185
  ) });
3316
3186
  };
3317
- dt.displayName = "DataTable.Body";
3318
- const ke = ({
3187
+ dt.displayName = "DataTable.Table";
3188
+ const R = /* @__PURE__ */ Yl({
3189
+ dataTable: {
3190
+ id: "Nimbus.DataTable.dataTable",
3191
+ description: "aria-label for the data table element",
3192
+ defaultMessage: "Data table"
3193
+ },
3194
+ dataTableHeader: {
3195
+ id: "Nimbus.DataTable.dataTableHeader",
3196
+ description: "aria-label for the data table header element",
3197
+ defaultMessage: "Data table header"
3198
+ },
3199
+ dataTableBody: {
3200
+ id: "Nimbus.DataTable.dataTableBody",
3201
+ description: "aria-label for the data table body element",
3202
+ defaultMessage: "Data table body"
3203
+ },
3204
+ expandRows: {
3205
+ id: "Nimbus.DataTable.expandRows",
3206
+ description: "aria-label for the expand rows column header",
3207
+ defaultMessage: "Expand rows"
3208
+ },
3209
+ pinRows: {
3210
+ id: "Nimbus.DataTable.pinRows",
3211
+ description: "aria-label for the pin rows column header",
3212
+ defaultMessage: "Pin rows"
3213
+ },
3214
+ selectRow: {
3215
+ id: "Nimbus.DataTable.selectRow",
3216
+ description: "aria-label for the row selection checkbox",
3217
+ defaultMessage: "Select row"
3218
+ },
3219
+ resizeColumn: {
3220
+ id: "Nimbus.DataTable.resizeColumn",
3221
+ description: "aria-label for the column resizer",
3222
+ defaultMessage: "Resize column"
3223
+ },
3224
+ settings: {
3225
+ id: "Nimbus.DataTable.settings",
3226
+ description: "aria-label for the settings button in the data table manager",
3227
+ defaultMessage: "Table settings"
3228
+ },
3229
+ visibleColumns: {
3230
+ id: "Nimbus.DataTable.visibleColumns",
3231
+ description: "title for the visible columns section in the data table manager",
3232
+ defaultMessage: "Visible columns"
3233
+ },
3234
+ hiddenColumns: {
3235
+ id: "Nimbus.DataTable.hiddenColumns",
3236
+ description: "title for the hidden columns section in the data table manager",
3237
+ defaultMessage: "Hidden columns"
3238
+ },
3239
+ noHiddenColumns: {
3240
+ id: "Nimbus.DataTable.noHiddenColumns",
3241
+ description: "message when there is no hidden columns in the data table manager",
3242
+ defaultMessage: "No Hidden columns"
3243
+ },
3244
+ hiddenColumnsAriaLabel: {
3245
+ id: "Nimbus.DataTable.hiddenColumnsAriaLabel",
3246
+ description: "aria-label for the hidden columns list in the data table manager",
3247
+ defaultMessage: "Hidden columns list"
3248
+ },
3249
+ visibleColumnsList: {
3250
+ id: "Nimbus.DataTable.visibleColumnsList",
3251
+ description: "title for the visible columns section in the data table manager",
3252
+ defaultMessage: "Visible columns"
3253
+ },
3254
+ visibleColumnsAria: {
3255
+ id: "Nimbus.DataTable.visibleColumnsAria",
3256
+ description: "aria-label for the visible columns list in the data table manager",
3257
+ defaultMessage: "Visible columns list"
3258
+ },
3259
+ hideColumn: {
3260
+ id: "Nimbus.DataTable.hideColumn",
3261
+ description: "aria-label for the hide column button in the data table manager",
3262
+ defaultMessage: "Hide column"
3263
+ },
3264
+ reset: {
3265
+ id: "Nimbus.DataTable.reset",
3266
+ description: "aria-label for the reset columns button in the data table manager",
3267
+ defaultMessage: "Reset columns"
3268
+ },
3269
+ layoutSettings: {
3270
+ id: "Nimbus.DataTable.layoutSettings",
3271
+ description: "title for the layout settings section in the data table manager",
3272
+ defaultMessage: "Layout settings"
3273
+ },
3274
+ layoutSettingsAriaLabel: {
3275
+ id: "Nimbus.DataTable.layoutSettingsAriaLabel",
3276
+ description: "aria-label for the layout settings section in the data table manager",
3277
+ defaultMessage: "Layout settings section"
3278
+ },
3279
+ textVisibility: {
3280
+ id: "Nimbus.DataTable.textVisibility",
3281
+ description: "title for the text visibility section in the data table manager layout",
3282
+ defaultMessage: "Text visibility"
3283
+ },
3284
+ textVisibilityAriaLabel: {
3285
+ id: "Nimbus.DataTable.textVisibilityAriaLabel",
3286
+ description: "aria-label for the text visibility section in the data table manager layout",
3287
+ defaultMessage: "Text visibility section"
3288
+ },
3289
+ fullText: {
3290
+ id: "Nimbus.DataTable.fullText",
3291
+ description: "title for the full text section in the data table manager layout",
3292
+ defaultMessage: "Full text"
3293
+ },
3294
+ fullTextAriaLabel: {
3295
+ id: "Nimbus.DataTable.fullTextAriaLabel",
3296
+ description: "aria-label for the full text section in the data table manager layout",
3297
+ defaultMessage: "Full text section"
3298
+ },
3299
+ TextPreviews: {
3300
+ id: "Nimbus.DataTable.textPreviews",
3301
+ description: "title for the text previews section in the data table manager layout",
3302
+ defaultMessage: "Text previews"
3303
+ },
3304
+ TextPreviewsAriaLabel: {
3305
+ id: "Nimbus.DataTable.textPreviewsAriaLabel",
3306
+ description: "aria-label for the text previews section in the data table manager layout",
3307
+ defaultMessage: "Text previews section"
3308
+ },
3309
+ RowDensity: {
3310
+ id: "Nimbus.DataTable.rowDensity",
3311
+ description: "title for the row density section in the data table manager layout",
3312
+ defaultMessage: "Row density"
3313
+ },
3314
+ RowDensityAriaLabel: {
3315
+ id: "Nimbus.DataTable.rowDensityAriaLabel",
3316
+ description: "aria-label for the row density section in the data table manager layout",
3317
+ defaultMessage: "Row density section"
3318
+ },
3319
+ comfortable: {
3320
+ id: "Nimbus.DataTable.comfortable",
3321
+ description: "title for the comfortable togglebutton in the data table manager layout",
3322
+ defaultMessage: "Comfortable"
3323
+ },
3324
+ comfortableAriaLabel: {
3325
+ id: "Nimbus.DataTable.comfortableAriaLabel",
3326
+ description: "aria-label for the comfortable togglebutton in the data table manager layout",
3327
+ defaultMessage: "Comfortable section"
3328
+ },
3329
+ compact: {
3330
+ id: "Nimbus.DataTable.compact",
3331
+ description: "title for the compact togglebutton in the data table manager layout",
3332
+ defaultMessage: "Compact"
3333
+ },
3334
+ compactAriaLabel: {
3335
+ id: "Nimbus.DataTable.compactAriaLabel",
3336
+ description: "aria-label for the compact togglebutton in the data table manager layout",
3337
+ defaultMessage: "Compact section"
3338
+ },
3339
+ searchHiddenColumns: {
3340
+ id: "Nimbus.DataTable.searchHiddenColumns",
3341
+ description: "placeholder for the search input in the hidden columns section in the data table manager",
3342
+ defaultMessage: "Search..."
3343
+ }
3344
+ }), De = ({
3319
3345
  children: t,
3320
3346
  ref: e,
3321
3347
  column: l,
@@ -3325,7 +3351,7 @@ const ke = ({
3325
3351
  maxWidth: a,
3326
3352
  ...u
3327
3353
  }) => {
3328
- const s = he(), { sortDescriptor: d, isResizable: c } = fe(), r = d?.column === l?.id, p = l?.isResizable !== void 0 ? l?.isResizable : c, [f, m] = Se(u);
3354
+ const s = be(), { sortDescriptor: d, isResizable: c } = fe(), r = d?.column === l?.id, p = l?.isResizable !== void 0 ? l?.isResizable : c, [f, m] = ke(u);
3329
3355
  return /* @__PURE__ */ x(Xo, { ...f, asChild: !0, children: /* @__PURE__ */ x(
3330
3356
  Ko,
3331
3357
  {
@@ -3337,13 +3363,13 @@ const ke = ({
3337
3363
  children: (h) => {
3338
3364
  const { allowsSorting: y } = h;
3339
3365
  return n ? typeof t == "function" ? t(h) : t : /* @__PURE__ */ A(
3340
- Yn,
3366
+ Zn,
3341
3367
  {
3342
3368
  tabIndex: p || y ? -1 : 0,
3343
3369
  className: "nimbus-data-table__column-container",
3344
3370
  children: [
3345
3371
  /* @__PURE__ */ x(
3346
- jt,
3372
+ Mt,
3347
3373
  {
3348
3374
  orientation: "vertical",
3349
3375
  className: "data-table-column-divider"
@@ -3356,7 +3382,7 @@ const ke = ({
3356
3382
  "aria-hidden": "true",
3357
3383
  "data-sort-active": r,
3358
3384
  "data-sort-direction": r ? d?.direction : "none",
3359
- children: /* @__PURE__ */ x(Kn, {})
3385
+ children: /* @__PURE__ */ x(ql, {})
3360
3386
  }
3361
3387
  ),
3362
3388
  p && /* @__PURE__ */ x(
@@ -3379,20 +3405,13 @@ const ke = ({
3379
3405
  }
3380
3406
  }
3381
3407
  ) });
3382
- }, ct = function({
3383
- ref: e,
3384
- children: l,
3385
- ...n
3386
- }) {
3387
- const o = P(null), i = Q(Re(o, e));
3388
- return /* @__PURE__ */ x(Jo, { ref: i, ...n, children: l });
3389
3408
  };
3390
- ct.displayName = "DataTable.Footer";
3391
- const ft = ({
3409
+ De.displayName = "DataTable.Column";
3410
+ const ct = ({
3392
3411
  ref: t,
3393
3412
  ...e
3394
3413
  }) => {
3395
- const l = he(), { activeColumns: n, allowsSorting: o, maxHeight: i, showExpandColumn: a } = fe(), { selectionBehavior: u, selectionMode: s } = Kl(), [d, c] = Se(e);
3414
+ const l = be(), { activeColumns: n, allowsSorting: o, maxHeight: i, showExpandColumn: a } = fe(), { selectionBehavior: u, selectionMode: s } = Kl(), [d, c] = ke(e);
3396
3415
  return /* @__PURE__ */ x(Yo, { ...d, asChild: !0, children: /* @__PURE__ */ A(
3397
3416
  Bo,
3398
3417
  {
@@ -3403,7 +3422,7 @@ const ft = ({
3403
3422
  ...c,
3404
3423
  children: [
3405
3424
  u === "toggle" && /* @__PURE__ */ x(
3406
- ke,
3425
+ De,
3407
3426
  {
3408
3427
  id: "selection",
3409
3428
  className: "selection-column-header",
@@ -3411,11 +3430,11 @@ const ft = ({
3411
3430
  minWidth: 72,
3412
3431
  allowsSorting: !1,
3413
3432
  isInternalColumn: !0,
3414
- children: s === "multiple" && /* @__PURE__ */ x(Lt, { slot: "selection" })
3433
+ children: s === "multiple" && /* @__PURE__ */ x(jt, { slot: "selection" })
3415
3434
  }
3416
3435
  ),
3417
3436
  a && /* @__PURE__ */ x(
3418
- ke,
3437
+ De,
3419
3438
  {
3420
3439
  className: "expand-column-header",
3421
3440
  maxWidth: u === "toggle" ? 24 : 72,
@@ -3423,11 +3442,11 @@ const ft = ({
3423
3442
  allowsSorting: !1,
3424
3443
  "aria-label": l.formatMessage(R.expandRows),
3425
3444
  isInternalColumn: !0,
3426
- children: /* @__PURE__ */ x(St, { children: l.formatMessage(R.expandRows) })
3445
+ children: /* @__PURE__ */ x(Et, { children: l.formatMessage(R.expandRows) })
3427
3446
  }
3428
3447
  ),
3429
3448
  /* @__PURE__ */ x(Te, { items: n, children: (r) => /* @__PURE__ */ A(
3430
- ke,
3449
+ De,
3431
3450
  {
3432
3451
  allowsSorting: (
3433
3452
  // use column.isSortable if defined, and fallback to allowsSorting if not
@@ -3446,7 +3465,7 @@ const ft = ({
3446
3465
  }
3447
3466
  ) }),
3448
3467
  /* @__PURE__ */ x(
3449
- ke,
3468
+ De,
3450
3469
  {
3451
3470
  className: "pin-rows-column-header",
3452
3471
  id: "pin-rows",
@@ -3455,273 +3474,258 @@ const ft = ({
3455
3474
  allowsSorting: !1,
3456
3475
  isInternalColumn: !0,
3457
3476
  "aria-label": l.formatMessage(R.pinRows),
3458
- children: /* @__PURE__ */ x(St, { children: l.formatMessage(R.pinRows) })
3477
+ children: /* @__PURE__ */ x(Et, { children: l.formatMessage(R.pinRows) })
3459
3478
  }
3460
3479
  )
3461
3480
  ]
3462
3481
  }
3463
3482
  ) });
3464
3483
  };
3465
- ft.displayName = "DataTable.Header";
3466
- function Ll(t, e, l, n) {
3467
- if (!e) return t;
3468
- const o = e.toLowerCase();
3469
- return t.map((i) => {
3470
- const a = l.some((u) => {
3471
- const s = u.accessor(i);
3472
- return typeof s == "string" && s.toLowerCase().includes(o);
3473
- });
3474
- if (n && i[n]) {
3475
- let u = i[n];
3476
- if (Array.isArray(i[n])) {
3477
- if (u = Ll(
3478
- i[n],
3479
- e,
3480
- l,
3481
- n
3482
- ), a || u && Array.isArray(u) && u.length > 0)
3483
- return { ...i, [n]: u };
3484
- } else if (a)
3485
- return { ...i, [n]: u };
3486
- return null;
3487
- } else
3488
- return a ? i : null;
3489
- }).filter(Boolean);
3484
+ ct.displayName = "DataTable.Header";
3485
+ const me = ({
3486
+ ref: t,
3487
+ children: e,
3488
+ isDisabled: l,
3489
+ ...n
3490
+ }) => {
3491
+ const [o, i] = ke(n);
3492
+ return /* @__PURE__ */ x(Zo, { asChild: !0, ...o, children: /* @__PURE__ */ x(Vo, { ref: t, ...i, children: (a) => /* @__PURE__ */ x(Nt.Provider, { value: { isDisabled: l }, children: typeof e == "function" ? e(a) : e }) }) });
3493
+ };
3494
+ me.displayName = "DataTable.Cell";
3495
+ function Qe(t) {
3496
+ return t.target?.closest(
3497
+ 'button, input, [role="button"], [role="checkbox"], [slot="selection"], [data-slot="selection"]'
3498
+ );
3490
3499
  }
3491
- function Ol(t, e, l, n, o) {
3492
- const i = [], a = [];
3493
- t.forEach((d) => {
3494
- o?.has(d.id) ? i.push(d) : a.push(d);
3495
- });
3496
- let u = a;
3497
- if (e) {
3498
- const d = l.find((c) => c.id === e.column);
3499
- d && (u = [...a].sort((c, r) => {
3500
- const p = d.accessor(c), f = d.accessor(r);
3501
- if (p == null && f == null) return 0;
3502
- if (p == null) return 1;
3503
- if (f == null) return -1;
3504
- let m = p, h = f;
3505
- return typeof p == "number" && typeof f == "number" ? (m = p, h = f) : (m = String(p).toLowerCase(), h = String(f).toLowerCase()), m < h ? e.direction === "ascending" ? -1 : 1 : m > h ? e.direction === "ascending" ? 1 : -1 : 0;
3506
- }));
3507
- }
3508
- return [...i, ...u].map((d) => !n || !d[n] ? d : {
3509
- ...d,
3510
- [n]: Array.isArray(d[n]) ? Ol(
3511
- d[n],
3512
- e,
3513
- l,
3514
- n,
3515
- o
3516
- ) : d[n]
3517
- });
3500
+ function li(t) {
3501
+ return t.target?.closest(
3502
+ '[slot="selection"], [data-slot="selection"], [role="checkbox"]'
3503
+ );
3518
3504
  }
3519
- function jl(t, e) {
3520
- return e ? t.some(
3521
- (l) => l[e] && (Array.isArray(l[e]) ? l[e].length > 0 : !0) || Array.isArray(l[e]) && jl(l[e], e)
3522
- ) : !1;
3505
+ function At(t) {
3506
+ const e = Qe(t), l = li(t);
3507
+ (!e || e && !l) && t.stopPropagation();
3523
3508
  }
3524
- const pt = function(e) {
3525
- const {
3526
- ref: l,
3527
- columns: n = [],
3528
- rows: o = [],
3529
- visibleColumns: i,
3530
- search: a,
3531
- sortDescriptor: u,
3532
- defaultSortDescriptor: s,
3533
- onSortChange: d,
3534
- selectedKeys: c,
3535
- defaultSelectedKeys: r,
3536
- onSelectionChange: p,
3537
- selectionMode: f = "none",
3538
- disallowEmptySelection: m = !1,
3539
- allowsSorting: h = !1,
3540
- maxHeight: y,
3541
- isTruncated: b = !1,
3542
- density: $ = "default",
3543
- nestedKey: g,
3544
- onRowClick: D,
3545
- onDetailsClick: v,
3546
- disabledKeys: C,
3547
- onRowAction: S,
3548
- isResizable: M,
3549
- pinnedRows: T,
3550
- defaultPinnedRows: z,
3551
- onPinToggle: I,
3552
- onColumnsChange: H,
3553
- onSettingsChange: j,
3554
- children: V,
3555
- ...K
3556
- } = e, Y = P(null), U = Q(Re(Y, l)), [le, pe] = q(s), [ie, ne] = q({}), [k, w] = q(
3557
- () => z || /* @__PURE__ */ new Set()
3558
- ), F = u ?? le, re = T ?? k, be = N(() => {
3559
- if (!i)
3560
- return n;
3561
- const X = new Map(n.map((J) => [J.id, J]));
3562
- return i.map((J) => X.get(J)).filter((J) => J !== void 0);
3563
- }, [n, i]), Be = N(
3564
- () => a ? Ll(o, a, be, g) : o,
3565
- [o, a, be, g]
3566
- ), Xe = N(
3567
- () => Ol(
3568
- Be,
3569
- F,
3570
- be,
3571
- g,
3572
- re
3573
- ),
3574
- [Be, F, be, g, re]
3575
- ), ht = jl(Xe, g), bt = f !== "none", gt = W(
3576
- (X) => ne((J) => ({ ...J, [X]: !J[X] })),
3577
- []
3578
- ), vt = W(
3579
- (X) => {
3580
- I ? I(X) : w((J) => {
3581
- const Ne = new Set(J);
3582
- return Ne.has(X) ? Ne.delete(X) : Ne.add(X), Ne;
3583
- });
3509
+ const ft = ({
3510
+ row: t,
3511
+ ref: e,
3512
+ ...l
3513
+ }) => {
3514
+ const n = be(), {
3515
+ activeColumns: o,
3516
+ search: i,
3517
+ expanded: a,
3518
+ toggleExpand: u,
3519
+ nestedKey: s,
3520
+ disabledKeys: d,
3521
+ showExpandColumn: c,
3522
+ showSelectionColumn: r,
3523
+ isTruncated: p,
3524
+ onRowClick: f,
3525
+ onRowAction: m,
3526
+ pinnedRows: h,
3527
+ togglePin: y,
3528
+ sortedRows: b
3529
+ } = fe(), [$, g] = ke(l), v = ((w) => d ? d === "all" || t.isDisabled ? !0 : d.has(w) : !1)(t.id), C = P(null), S = W(
3530
+ (w) => {
3531
+ if (!f) return;
3532
+ const F = Qe(w), re = window.getSelection()?.toString() !== void 0 && window.getSelection().toString().length > 0;
3533
+ !F && !re && (C.current && window.clearTimeout(C.current), C.current = window.setTimeout(() => {
3534
+ v ? m && m(t, "click") : f(t), C.current = null;
3535
+ }, 300));
3584
3536
  },
3585
- [I]
3586
- ), yt = W(
3587
- (X) => {
3588
- d ? d(X) : pe(X);
3537
+ [f, m, t, v]
3538
+ ), M = W((w) => {
3539
+ Qe(w) || C.current && (window.clearTimeout(C.current), C.current = null);
3540
+ }, []), T = P({
3541
+ count: 0,
3542
+ node: void 0
3543
+ }), z = W(
3544
+ (w) => {
3545
+ T.current.count += 1, T.current.count === 1 && w && (T.current.node = w, w.addEventListener(
3546
+ // Use pointerdown event in order to capture event before it bubbles to react-aria's onPress handler
3547
+ "pointerdown",
3548
+ At,
3549
+ {
3550
+ capture: !0
3551
+ }
3552
+ ), w.addEventListener("mouseup", S, { capture: !0 }), w.addEventListener("dblclick", M, {
3553
+ capture: !0
3554
+ }));
3589
3555
  },
3590
- [d]
3591
- ), Gl = N(
3592
- () => ({
3593
- columns: n,
3594
- rows: o,
3595
- visibleColumns: i,
3596
- search: a,
3597
- sortDescriptor: F,
3598
- selectedKeys: c,
3599
- defaultSelectedKeys: r,
3600
- expanded: ie,
3601
- allowsSorting: h,
3602
- selectionMode: f,
3603
- disallowEmptySelection: m,
3604
- maxHeight: y,
3605
- isTruncated: b,
3606
- density: $,
3607
- nestedKey: g,
3608
- onSortChange: yt,
3609
- onSelectionChange: p,
3610
- onRowClick: D,
3611
- onDetailsClick: v,
3612
- toggleExpand: gt,
3613
- activeColumns: be,
3614
- filteredRows: Be,
3615
- sortedRows: Xe,
3616
- showExpandColumn: ht,
3617
- showSelectionColumn: bt,
3618
- isResizable: M,
3619
- disabledKeys: C,
3620
- onRowAction: S,
3621
- pinnedRows: re,
3622
- onPinToggle: I,
3623
- togglePin: vt,
3624
- onColumnsChange: H,
3625
- onSettingsChange: j
3626
- }),
3627
- [
3628
- n,
3629
- o,
3630
- i,
3631
- a,
3632
- F,
3633
- c,
3634
- r,
3635
- ie,
3636
- h,
3637
- f,
3638
- m,
3639
- y,
3640
- b,
3641
- $,
3642
- g,
3643
- yt,
3644
- p,
3645
- D,
3646
- v,
3647
- gt,
3648
- be,
3649
- Be,
3650
- Xe,
3651
- ht,
3652
- bt,
3653
- M,
3654
- C,
3655
- S,
3656
- re,
3657
- I,
3658
- vt,
3659
- H,
3660
- j
3661
- ]
3556
+ [S, M]
3662
3557
  );
3663
- return /* @__PURE__ */ x(
3664
- Uo,
3558
+ de(() => () => {
3559
+ C.current && (window.clearTimeout(C.current), C.current = null), T.current.count >= 1 && T.current.node && (T.current.node.removeEventListener(
3560
+ "pointerdown",
3561
+ At
3562
+ ), T.current.node.removeEventListener("mouseup", S), T.current.node.removeEventListener(
3563
+ "dblclick",
3564
+ M
3565
+ ));
3566
+ }, [S, M]);
3567
+ const I = Re(e, z), { selectionBehavior: H } = Kl(), j = s && t[s] && (Array.isArray(t[s]) ? t[s].length > 0 : !0), V = a[t.id], K = h.has(t.id), Y = b.filter((w) => h.has(w.id)).map((w) => w.id), U = K ? Y.indexOf(t.id) : -1, le = U === 0, pe = U === Y.length - 1, ie = Y.length === 1 && K, ne = () => K ? ie ? "data-table-row-pinned-single" : le ? "data-table-row-pinned-first" : pe ? "data-table-row-pinned-last" : "" : "", k = (w) => i && typeof w == "string" ? /* @__PURE__ */ x(qn, { query: i, ignoreCase: !0, matchAll: !0, children: w }) : w;
3568
+ return /* @__PURE__ */ A(We, { children: [
3569
+ /* @__PURE__ */ x(Tt, { asChild: !0, ...$, children: /* @__PURE__ */ A(
3570
+ Rt,
3571
+ {
3572
+ isDisabled: v,
3573
+ columns: o,
3574
+ ref: I,
3575
+ id: t.id,
3576
+ className: `data-table-row ${v ? "data-table-row-disabled" : ""} ${K ? `data-table-row-pinned ${ne()}` : ""}`,
3577
+ ...g,
3578
+ dependencies: [V, i, p],
3579
+ children: [
3580
+ H === "toggle" && /* @__PURE__ */ x(
3581
+ me,
3582
+ {
3583
+ className: "data-table-sticky-cell",
3584
+ "data-slot": "selection",
3585
+ isDisabled: v,
3586
+ children: /* @__PURE__ */ x(
3587
+ se,
3588
+ {
3589
+ display: "flex",
3590
+ alignItems: "center",
3591
+ justifyContent: "center",
3592
+ w: "100%",
3593
+ h: "100%",
3594
+ children: /* @__PURE__ */ x(
3595
+ jt,
3596
+ {
3597
+ name: "select-row",
3598
+ slot: "selection",
3599
+ "aria-label": n.formatMessage(R.selectRow)
3600
+ }
3601
+ )
3602
+ }
3603
+ )
3604
+ }
3605
+ ),
3606
+ c && /* @__PURE__ */ x(
3607
+ me,
3608
+ {
3609
+ className: "data-table-sticky-cell",
3610
+ "data-slot": "expand",
3611
+ isDisabled: v,
3612
+ children: j ? /* @__PURE__ */ x(
3613
+ Hl,
3614
+ {
3615
+ w: "100%",
3616
+ h: "100%",
3617
+ cursor: "pointer",
3618
+ "aria-label": V ? "Collapse" : "Expand",
3619
+ onClick: (w) => {
3620
+ w.stopPropagation(), u(t.id);
3621
+ },
3622
+ children: V ? /* @__PURE__ */ x(Zl, {}) : /* @__PURE__ */ x(Jl, {})
3623
+ }
3624
+ ) : null
3625
+ }
3626
+ ),
3627
+ /* @__PURE__ */ x(Te, { items: o, children: (w) => {
3628
+ const F = w.accessor(t);
3629
+ return /* @__PURE__ */ x(me, { isDisabled: v, children: /* @__PURE__ */ x(
3630
+ se,
3631
+ {
3632
+ className: p ? "truncated-cell" : "",
3633
+ "data-truncated": p ? "true" : "false",
3634
+ display: "inline-block",
3635
+ h: "100%",
3636
+ minW: "0",
3637
+ maxW: "100%",
3638
+ position: "relative",
3639
+ overflow: "hidden",
3640
+ cursor: v ? "not-allowed" : "text",
3641
+ children: w.render ? w.render({
3642
+ value: k(F),
3643
+ row: t,
3644
+ column: w
3645
+ }) : k(F)
3646
+ }
3647
+ ) }, w.id);
3648
+ } }),
3649
+ /* @__PURE__ */ x(
3650
+ me,
3651
+ {
3652
+ className: "data-table-sticky-cell",
3653
+ "data-slot": "pin-row-cell",
3654
+ isDisabled: v,
3655
+ children: /* @__PURE__ */ x(
3656
+ se,
3657
+ {
3658
+ "data-slot": K ? "nimbus-table-cell-pin-button-pinned" : "nimbus-table-cell-pin-button",
3659
+ children: /* @__PURE__ */ A(He.Root, { children: [
3660
+ /* @__PURE__ */ x(
3661
+ Bt,
3662
+ {
3663
+ size: "2xs",
3664
+ variant: "ghost",
3665
+ "aria-label": K ? "Unpin row" : "Pin row",
3666
+ colorPalette: "primary",
3667
+ onClick: (w) => {
3668
+ w.stopPropagation(), y(t.id);
3669
+ },
3670
+ children: /* @__PURE__ */ x(Ql, {})
3671
+ },
3672
+ "pin-btn"
3673
+ ),
3674
+ /* @__PURE__ */ x(He.Content, { placement: "top", children: K ? "Unpin row" : "Pin row" })
3675
+ ] })
3676
+ }
3677
+ )
3678
+ }
3679
+ )
3680
+ ]
3681
+ }
3682
+ ) }),
3683
+ c && /* @__PURE__ */ x(Tt, { ...$, asChild: !0, children: /* @__PURE__ */ x(
3684
+ Rt,
3685
+ {
3686
+ "data-nested-row-expanded": V ? "true" : "false",
3687
+ dependencies: [V],
3688
+ children: /* @__PURE__ */ x(
3689
+ me,
3690
+ {
3691
+ isDisabled: v,
3692
+ colSpan: o.length + (c ? 1 : 0) + (r ? 1 : 0) + 1,
3693
+ "data-nested-cell": !0,
3694
+ children: V ? s && Array.isArray(t[s]) ? `${t[s].length} nested items` : s && t[s] : null
3695
+ }
3696
+ )
3697
+ }
3698
+ ) })
3699
+ ] });
3700
+ };
3701
+ ft.displayName = "DataTable.Row";
3702
+ const ni = () => /* @__PURE__ */ x(se, { w: "100%", p: "200", children: "No Data" }), pt = ({
3703
+ ref: t,
3704
+ ...e
3705
+ }) => {
3706
+ const { sortedRows: l, activeColumns: n, renderEmptyState: o } = fe(), [i, a] = ke(e);
3707
+ return /* @__PURE__ */ x(qo, { asChild: !0, ...i, children: /* @__PURE__ */ x(
3708
+ Io,
3665
3709
  {
3666
- ref: U,
3667
- truncated: b,
3668
- density: $,
3669
- maxH: y,
3670
- ...K,
3671
- asChild: !0,
3672
- children: /* @__PURE__ */ x(To, { children: /* @__PURE__ */ x(
3673
- Ye.Provider,
3674
- {
3675
- value: Gl,
3676
- children: V
3677
- }
3678
- ) })
3710
+ ref: t,
3711
+ items: l,
3712
+ dependencies: [n],
3713
+ renderEmptyState: o ?? ni,
3714
+ ...a,
3715
+ children: (u) => /* @__PURE__ */ x(ft, { row: u }, u.id)
3679
3716
  }
3680
- );
3717
+ ) });
3681
3718
  };
3682
- pt.displayName = "DataTableRoot";
3719
+ pt.displayName = "DataTable.Body";
3683
3720
  const mt = function({
3684
3721
  ref: e,
3685
3722
  children: l,
3686
3723
  ...n
3687
3724
  }) {
3688
- const o = P(null), i = Q(Re(o, e)), {
3689
- sortDescriptor: a,
3690
- onSortChange: u,
3691
- selectionMode: s,
3692
- onSelectionChange: d,
3693
- selectedKeys: c,
3694
- defaultSelectedKeys: r,
3695
- disallowEmptySelection: p,
3696
- disabledKeys: f
3697
- } = fe(), [m, h] = Se(n), y = a ? {
3698
- column: a.column,
3699
- direction: a.direction
3700
- } : void 0;
3701
- return /* @__PURE__ */ x(Go, { ...m, asChild: !0, children: /* @__PURE__ */ x(
3702
- Po,
3703
- {
3704
- ref: i,
3705
- sortDescriptor: y,
3706
- onSortChange: ($) => {
3707
- $ && u && u({
3708
- column: String($.column),
3709
- direction: $.direction
3710
- });
3711
- },
3712
- selectedKeys: c,
3713
- defaultSelectedKeys: r,
3714
- onSelectionChange: d,
3715
- selectionMode: s,
3716
- disallowEmptySelection: p,
3717
- disabledKeys: f,
3718
- disabledBehavior: "all",
3719
- ...h,
3720
- children: l
3721
- }
3722
- ) });
3725
+ const o = P(null), i = Q(Re(o, e));
3726
+ return /* @__PURE__ */ x(Jo, { ref: i, ...n, children: l });
3723
3727
  };
3724
- mt.displayName = "DataTable.Table";
3728
+ mt.displayName = "DataTable.Footer";
3725
3729
  function oi(t) {
3726
3730
  return "onRemoveItem" in t && typeof t.onRemoveItem == "function";
3727
3731
  }
@@ -3731,7 +3735,7 @@ const ii = ({
3731
3735
  handleVisibleColumnsUpdate: l,
3732
3736
  handleResetColumns: n
3733
3737
  }) => {
3734
- const [o, i] = q(""), { formatMessage: a } = he();
3738
+ const [o, i] = q(""), { formatMessage: a } = be();
3735
3739
  if (!t || !e)
3736
3740
  return null;
3737
3741
  const u = N(() => t.filter(
@@ -3763,15 +3767,15 @@ const ii = ({
3763
3767
  },
3764
3768
  [l]
3765
3769
  );
3766
- return /* @__PURE__ */ A(Ie, { mt: "800", children: [
3767
- /* @__PURE__ */ A($e, { gap: "400", width: "100%", columns: 2, children: [
3770
+ return /* @__PURE__ */ A(Fe, { mt: "800", children: [
3771
+ /* @__PURE__ */ A(xe, { gap: "400", width: "100%", columns: 2, children: [
3768
3772
  /* @__PURE__ */ A(se, { children: [
3769
- /* @__PURE__ */ A(Ie, { direction: "row", alignItems: "center", mb: "200", children: [
3770
- /* @__PURE__ */ x(Fn, {}),
3771
- /* @__PURE__ */ x(ze, { fontWeight: "700", fontSize: "sm", w: "full", children: a(R.hiddenColumns) })
3773
+ /* @__PURE__ */ A(Fe, { direction: "row", alignItems: "center", mb: "200", children: [
3774
+ /* @__PURE__ */ x(_l, {}),
3775
+ /* @__PURE__ */ x(Ee, { fontWeight: "700", fontSize: "sm", w: "full", children: a(R.hiddenColumns) })
3772
3776
  ] }),
3773
3777
  /* @__PURE__ */ A(
3774
- Ie,
3778
+ Fe,
3775
3779
  {
3776
3780
  colorPalette: "primary",
3777
3781
  border: "{sizes.25} solid",
@@ -3782,7 +3786,7 @@ const ii = ({
3782
3786
  h: "lg",
3783
3787
  children: [
3784
3788
  /* @__PURE__ */ x(
3785
- Xn,
3789
+ cn,
3786
3790
  {
3787
3791
  w: "full",
3788
3792
  size: "sm",
@@ -3795,7 +3799,7 @@ const ii = ({
3795
3799
  }
3796
3800
  ),
3797
3801
  /* @__PURE__ */ x(
3798
- jt,
3802
+ Mt,
3799
3803
  {
3800
3804
  colorPalette: "primary",
3801
3805
  border: "{sizes.25} solid",
@@ -3803,7 +3807,7 @@ const ii = ({
3803
3807
  }
3804
3808
  ),
3805
3809
  /* @__PURE__ */ x(
3806
- Fe.Root,
3810
+ Ke.Root,
3807
3811
  {
3808
3812
  border: "none",
3809
3813
  borderColor: "none",
@@ -3813,9 +3817,9 @@ const ii = ({
3813
3817
  onUpdateItems: d,
3814
3818
  "aria-label": a(R.hiddenColumnsAriaLabel),
3815
3819
  "data-testid": "hidden-columns-list",
3816
- renderEmptyState: /* @__PURE__ */ x(ze, { fontSize: "sm", color: "gray.9", children: a(R.noHiddenColumns) }),
3820
+ renderEmptyState: /* @__PURE__ */ x(Ee, { fontSize: "sm", color: "gray.9", children: a(R.noHiddenColumns) }),
3817
3821
  children: (r) => /* @__PURE__ */ x(
3818
- Fe.Item,
3822
+ Ke.Item,
3819
3823
  {
3820
3824
  py: "100",
3821
3825
  id: r.id,
@@ -3831,12 +3835,12 @@ const ii = ({
3831
3835
  )
3832
3836
  ] }),
3833
3837
  /* @__PURE__ */ A(se, { children: [
3834
- /* @__PURE__ */ A(Ie, { direction: "row", alignItems: "center", mb: "200", children: [
3835
- /* @__PURE__ */ x(In, {}),
3836
- /* @__PURE__ */ x(ze, { fontWeight: "700", fontSize: "sm", children: a(R.visibleColumnsList) })
3838
+ /* @__PURE__ */ A(Fe, { direction: "row", alignItems: "center", mb: "200", children: [
3839
+ /* @__PURE__ */ x(en, {}),
3840
+ /* @__PURE__ */ x(Ee, { fontWeight: "700", fontSize: "sm", children: a(R.visibleColumnsList) })
3837
3841
  ] }),
3838
3842
  /* @__PURE__ */ x(
3839
- Fe.Root,
3843
+ Ke.Root,
3840
3844
  {
3841
3845
  removableItems: !0,
3842
3846
  p: "300",
@@ -3847,7 +3851,7 @@ const ii = ({
3847
3851
  "aria-label": a(R.visibleColumnsAria),
3848
3852
  "data-testid": "visible-columns-list",
3849
3853
  children: (r) => /* @__PURE__ */ x(
3850
- Fe.Item,
3854
+ Ke.Item,
3851
3855
  {
3852
3856
  py: "100",
3853
3857
  id: r.id,
@@ -3862,7 +3866,7 @@ const ii = ({
3862
3866
  ] })
3863
3867
  ] }),
3864
3868
  /* @__PURE__ */ x(se, { children: /* @__PURE__ */ A(
3865
- qn,
3869
+ fn,
3866
3870
  {
3867
3871
  variant: "ghost",
3868
3872
  colorPalette: "primary",
@@ -3870,7 +3874,7 @@ const ii = ({
3870
3874
  onClick: n,
3871
3875
  "aria-label": a(R.reset),
3872
3876
  children: [
3873
- /* @__PURE__ */ x(Vn, {}),
3877
+ /* @__PURE__ */ x(tn, {}),
3874
3878
  a(R.reset)
3875
3879
  ]
3876
3880
  }
@@ -3882,13 +3886,13 @@ const ii = ({
3882
3886
  }, ri = ({
3883
3887
  onSettingsChange: t
3884
3888
  }) => {
3885
- const { formatMessage: e } = he(), l = fe(), n = l.isTruncated ?? !1, o = l.density === "condensed" ? "compact" : "comfortable", i = (u) => {
3889
+ const { formatMessage: e } = be(), l = fe(), n = l.isTruncated ?? !1, o = l.density === "condensed" ? "compact" : "comfortable", i = (u) => {
3886
3890
  Array.from(u)[0] && t?.(Pt.TOGGLE_TEXT_VISIBILITY);
3887
3891
  }, a = (u) => {
3888
3892
  Array.from(u)[0] && t?.(Pt.TOGGLE_ROW_DENSITY);
3889
3893
  };
3890
3894
  return /* @__PURE__ */ A(
3891
- $e,
3895
+ xe,
3892
3896
  {
3893
3897
  templateColumns: "repeat(4, 1fr)",
3894
3898
  columnGap: "400",
@@ -3896,9 +3900,9 @@ const ii = ({
3896
3900
  mt: "800",
3897
3901
  alignItems: "center",
3898
3902
  children: [
3899
- /* @__PURE__ */ x($e.Item, { colSpan: 1, children: /* @__PURE__ */ x(ze, { fontWeight: "500", children: e(R.textVisibility) }) }),
3900
- /* @__PURE__ */ x($e.Item, { colSpan: 3, children: /* @__PURE__ */ x(kt, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ A(
3901
- Et.Root,
3903
+ /* @__PURE__ */ x(xe.Item, { colSpan: 1, children: /* @__PURE__ */ x(Ee, { fontWeight: "500", children: e(R.textVisibility) }) }),
3904
+ /* @__PURE__ */ x(xe.Item, { colSpan: 3, children: /* @__PURE__ */ x($t, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ A(
3905
+ xt.Root,
3902
3906
  {
3903
3907
  w: "full",
3904
3908
  selectedKeys: n ? ["preview"] : ["full"],
@@ -3906,7 +3910,7 @@ const ii = ({
3906
3910
  "aria-label": e(R.textVisibilityAriaLabel),
3907
3911
  children: [
3908
3912
  /* @__PURE__ */ A(
3909
- Ve,
3913
+ Ie,
3910
3914
  {
3911
3915
  id: "full",
3912
3916
  size: "xs",
@@ -3915,13 +3919,13 @@ const ii = ({
3915
3919
  px: "300",
3916
3920
  flex: "1",
3917
3921
  children: [
3918
- /* @__PURE__ */ x(Wn, {}),
3922
+ /* @__PURE__ */ x(ln, {}),
3919
3923
  e(R.fullText)
3920
3924
  ]
3921
3925
  }
3922
3926
  ),
3923
3927
  /* @__PURE__ */ A(
3924
- Ve,
3928
+ Ie,
3925
3929
  {
3926
3930
  id: "preview",
3927
3931
  size: "xs",
@@ -3930,7 +3934,7 @@ const ii = ({
3930
3934
  px: "300",
3931
3935
  flex: "1",
3932
3936
  children: [
3933
- /* @__PURE__ */ x(Hn, {}),
3937
+ /* @__PURE__ */ x(nn, {}),
3934
3938
  e(R.TextPreviews)
3935
3939
  ]
3936
3940
  }
@@ -3938,9 +3942,9 @@ const ii = ({
3938
3942
  ]
3939
3943
  }
3940
3944
  ) }) }),
3941
- /* @__PURE__ */ x($e.Item, { colSpan: 1, children: /* @__PURE__ */ x(ze, { fontWeight: "500", children: e(R.RowDensity) }) }),
3942
- /* @__PURE__ */ x($e.Item, { colSpan: 3, children: /* @__PURE__ */ x(kt, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ A(
3943
- Et.Root,
3945
+ /* @__PURE__ */ x(xe.Item, { colSpan: 1, children: /* @__PURE__ */ x(Ee, { fontWeight: "500", children: e(R.RowDensity) }) }),
3946
+ /* @__PURE__ */ x(xe.Item, { colSpan: 3, children: /* @__PURE__ */ x($t, { orientation: "horizontal", variant: "outline", size: "xs", w: "full", children: /* @__PURE__ */ A(
3947
+ xt.Root,
3944
3948
  {
3945
3949
  w: "full",
3946
3950
  colorPalette: "primary",
@@ -3949,7 +3953,7 @@ const ii = ({
3949
3953
  "aria-label": e(R.RowDensityAriaLabel),
3950
3954
  children: [
3951
3955
  /* @__PURE__ */ A(
3952
- Ve,
3956
+ Ie,
3953
3957
  {
3954
3958
  id: "comfortable",
3955
3959
  size: "xs",
@@ -3958,13 +3962,13 @@ const ii = ({
3958
3962
  px: "300",
3959
3963
  flex: "1",
3960
3964
  children: [
3961
- /* @__PURE__ */ x(Ln, {}),
3965
+ /* @__PURE__ */ x(on, {}),
3962
3966
  e(R.comfortable)
3963
3967
  ]
3964
3968
  }
3965
3969
  ),
3966
3970
  /* @__PURE__ */ A(
3967
- Ve,
3971
+ Ie,
3968
3972
  {
3969
3973
  id: "compact",
3970
3974
  size: "xs",
@@ -3973,7 +3977,7 @@ const ii = ({
3973
3977
  px: "300",
3974
3978
  flex: "1",
3975
3979
  children: [
3976
- /* @__PURE__ */ x(On, {}),
3980
+ /* @__PURE__ */ x(rn, {}),
3977
3981
  e(R.compact)
3978
3982
  ]
3979
3983
  }
@@ -3985,7 +3989,7 @@ const ii = ({
3985
3989
  }
3986
3990
  );
3987
3991
  }, Ul = () => {
3988
- const [t, e] = q(!1), l = fe(), { formatMessage: n } = he(), { columns: o, visibleColumns: i, onColumnsChange: a, onSettingsChange: u } = l, s = o.filter(
3992
+ const [t, e] = q(!1), l = fe(), { formatMessage: n } = be(), { columns: o, visibleColumns: i, onColumnsChange: a, onSettingsChange: u } = l, s = o.filter(
3989
3993
  (b) => !i?.includes(b.id)
3990
3994
  ), d = P(o);
3991
3995
  de(() => {
@@ -4037,40 +4041,40 @@ const ii = ({
4037
4041
  }
4038
4042
  }, [a]);
4039
4043
  return /* @__PURE__ */ A(We, { children: [
4040
- /* @__PURE__ */ A(Le.Root, { children: [
4041
- /* @__PURE__ */ x(Le.Content, { placement: "top", children: n(R.settings) }),
4044
+ /* @__PURE__ */ A(He.Root, { children: [
4045
+ /* @__PURE__ */ x(He.Content, { placement: "top", children: n(R.settings) }),
4042
4046
  /* @__PURE__ */ x(
4043
- Ot,
4047
+ Bt,
4044
4048
  {
4045
4049
  variant: "ghost",
4046
4050
  colorPalette: "primary",
4047
4051
  size: "xs",
4048
4052
  "aria-label": n(R.settings),
4049
4053
  onClick: () => e(!0),
4050
- children: /* @__PURE__ */ x(jn, {})
4054
+ children: /* @__PURE__ */ x(an, {})
4051
4055
  }
4052
4056
  )
4053
4057
  ] }),
4054
4058
  /* @__PURE__ */ x(
4055
- ye.Root,
4059
+ ve.Root,
4056
4060
  {
4057
4061
  isOpen: t,
4058
4062
  onOpenChange: e,
4059
4063
  placement: "right",
4060
4064
  "data-testid": "data-table-manager-drawer",
4061
- children: /* @__PURE__ */ A(ye.Content, { width: "2xl", "data-testid": "data-table-manager-drawer", children: [
4062
- /* @__PURE__ */ A(ye.Header, { children: [
4063
- /* @__PURE__ */ x(ye.Title, { children: n(R.settings) }),
4064
- /* @__PURE__ */ x(ye.CloseTrigger, {})
4065
+ children: /* @__PURE__ */ A(ve.Content, { width: "2xl", "data-testid": "data-table-manager-drawer", children: [
4066
+ /* @__PURE__ */ A(ve.Header, { children: [
4067
+ /* @__PURE__ */ x(ve.Title, { children: n(R.settings) }),
4068
+ /* @__PURE__ */ x(ve.CloseTrigger, {})
4065
4069
  ] }),
4066
- /* @__PURE__ */ x(ye.Body, { children: /* @__PURE__ */ x(
4067
- Zn.Root,
4070
+ /* @__PURE__ */ x(ve.Body, { children: /* @__PURE__ */ x(
4071
+ pn.Root,
4068
4072
  {
4069
4073
  tabs: [
4070
4074
  {
4071
4075
  id: "visible-columns",
4072
4076
  tabLabel: /* @__PURE__ */ A(We, { children: [
4073
- /* @__PURE__ */ x(Un, {}),
4077
+ /* @__PURE__ */ x(un, {}),
4074
4078
  n(R.visibleColumns)
4075
4079
  ] }),
4076
4080
  panelContent: /* @__PURE__ */ x(
@@ -4086,7 +4090,7 @@ const ii = ({
4086
4090
  {
4087
4091
  id: "layout-settings",
4088
4092
  tabLabel: /* @__PURE__ */ A(We, { children: [
4089
- /* @__PURE__ */ x(Gn, {}),
4093
+ /* @__PURE__ */ x(sn, {}),
4090
4094
  n(R.layoutSettings)
4091
4095
  ] }),
4092
4096
  panelContent: /* @__PURE__ */ x(ri, { onSettingsChange: u })
@@ -4105,33 +4109,172 @@ const ai = function({
4105
4109
  footer: l,
4106
4110
  ...n
4107
4111
  }) {
4108
- const o = he(), i = P(null), a = Q(Re(i, e));
4109
- return /* @__PURE__ */ A(pt, { ref: a, ...n, children: [
4110
- /* @__PURE__ */ A(mt, { "aria-label": o.formatMessage(R.dataTable), children: [
4112
+ const o = be(), i = P(null), a = Q(Re(i, e));
4113
+ return /* @__PURE__ */ A(st, { ref: a, ...n, children: [
4114
+ /* @__PURE__ */ A(dt, { "aria-label": o.formatMessage(R.dataTable), children: [
4111
4115
  /* @__PURE__ */ x(
4112
- ft,
4116
+ ct,
4113
4117
  {
4114
4118
  "aria-label": o.formatMessage(R.dataTableHeader)
4115
4119
  }
4116
4120
  ),
4117
4121
  /* @__PURE__ */ x(
4118
- dt,
4122
+ pt,
4119
4123
  {
4120
4124
  "aria-label": o.formatMessage(R.dataTableBody)
4121
4125
  }
4122
4126
  )
4123
4127
  ] }),
4124
- l && /* @__PURE__ */ x(ct, { children: l })
4128
+ l && /* @__PURE__ */ x(mt, { children: l })
4125
4129
  ] });
4126
4130
  }, gr = /* @__PURE__ */ Object.assign(ai, {
4127
- Root: pt,
4128
- Table: mt,
4129
- Header: ft,
4130
- Column: ke,
4131
- Body: dt,
4132
- Row: st,
4133
- Cell: xe,
4134
- Footer: ct,
4131
+ /**
4132
+ * # DataTable.Root
4133
+ *
4134
+ * The root container that provides context and state management for the entire data table.
4135
+ * Handles data processing, sorting, filtering, selection, and expansion state.
4136
+ *
4137
+ * @example
4138
+ * ```tsx
4139
+ * <DataTable.Root columns={columns} rows={rows} allowsSorting>
4140
+ * <DataTable.Table>
4141
+ * <DataTable.Header />
4142
+ * <DataTable.Body />
4143
+ * </DataTable.Table>
4144
+ * </DataTable.Root>
4145
+ * ```
4146
+ */
4147
+ Root: st,
4148
+ /**
4149
+ * # DataTable.Table
4150
+ *
4151
+ * The main table element that wraps the header and body components.
4152
+ * Provides the semantic HTML table structure with React Aria table behavior.
4153
+ *
4154
+ * @example
4155
+ * ```tsx
4156
+ * <DataTable.Root columns={columns} rows={rows}>
4157
+ * <DataTable.Table>
4158
+ * <DataTable.Header />
4159
+ * <DataTable.Body />
4160
+ * </DataTable.Table>
4161
+ * </DataTable.Root>
4162
+ * ```
4163
+ */
4164
+ Table: dt,
4165
+ /**
4166
+ * # DataTable.Header
4167
+ *
4168
+ * The table header section that renders column headers with sorting capabilities.
4169
+ * Automatically generates columns based on the configuration provided to Root.
4170
+ *
4171
+ * @example
4172
+ * ```tsx
4173
+ * <DataTable.Root columns={columns} rows={rows}>
4174
+ * <DataTable.Table>
4175
+ * <DataTable.Header />
4176
+ * <DataTable.Body />
4177
+ * </DataTable.Table>
4178
+ * </DataTable.Root>
4179
+ * ```
4180
+ */
4181
+ Header: ct,
4182
+ /**
4183
+ * # DataTable.Column
4184
+ *
4185
+ * Individual column header component that handles sorting interactions and displays column content.
4186
+ * Used internally by Header but can be used for custom header implementations.
4187
+ *
4188
+ * @example
4189
+ * ```tsx
4190
+ * <DataTable.Root columns={columns} rows={rows}>
4191
+ * <DataTable.Table>
4192
+ * <DataTable.Header>
4193
+ * <DataTable.Column column={customColumn} />
4194
+ * </DataTable.Header>
4195
+ * <DataTable.Body />
4196
+ * </DataTable.Table>
4197
+ * </DataTable.Root>
4198
+ * ```
4199
+ */
4200
+ Column: De,
4201
+ /**
4202
+ * # DataTable.Body
4203
+ *
4204
+ * The table body section that renders all data rows with selection and expansion capabilities.
4205
+ * Handles empty states and provides accessibility features for row navigation.
4206
+ *
4207
+ * @example
4208
+ * ```tsx
4209
+ * <DataTable.Root columns={columns} rows={rows}>
4210
+ * <DataTable.Table>
4211
+ * <DataTable.Header />
4212
+ * <DataTable.Body />
4213
+ * </DataTable.Table>
4214
+ * </DataTable.Root>
4215
+ * ```
4216
+ */
4217
+ Body: pt,
4218
+ /**
4219
+ * # DataTable.Row
4220
+ *
4221
+ * Individual row component that renders data cells and handles row-level interactions.
4222
+ * Supports selection, expansion, and click handlers for custom row actions.
4223
+ *
4224
+ * @example
4225
+ * ```tsx
4226
+ * <DataTable.Root columns={columns} rows={rows}>
4227
+ * <DataTable.Table>
4228
+ * <DataTable.Header />
4229
+ * <DataTable.Body>
4230
+ * <DataTable.Row row={customRow} />
4231
+ * </DataTable.Body>
4232
+ * </DataTable.Table>
4233
+ * </DataTable.Root>
4234
+ * ```
4235
+ */
4236
+ Row: ft,
4237
+ /**
4238
+ * # DataTable.Cell
4239
+ *
4240
+ * Individual cell component that displays data values with proper accessibility attributes.
4241
+ * Supports custom rendering and truncation based on table configuration.
4242
+ *
4243
+ * @example
4244
+ * ```tsx
4245
+ * <DataTable.Root columns={columns} rows={rows}>
4246
+ * <DataTable.Table>
4247
+ * <DataTable.Header />
4248
+ * <DataTable.Body>
4249
+ * <DataTable.Row>
4250
+ * <DataTable.Cell>Custom cell content</DataTable.Cell>
4251
+ * </DataTable.Row>
4252
+ * </DataTable.Body>
4253
+ * </DataTable.Table>
4254
+ * </DataTable.Root>
4255
+ * ```
4256
+ */
4257
+ Cell: me,
4258
+ /**
4259
+ * # DataTable.Footer
4260
+ *
4261
+ * Optional footer section for displaying summary information, pagination, or actions.
4262
+ * Positioned below the table with proper styling integration.
4263
+ *
4264
+ * @example
4265
+ * ```tsx
4266
+ * <DataTable.Root columns={columns} rows={rows}>
4267
+ * <DataTable.Table>
4268
+ * <DataTable.Header />
4269
+ * <DataTable.Body />
4270
+ * </DataTable.Table>
4271
+ * <DataTable.Footer>
4272
+ * <Pagination />
4273
+ * </DataTable.Footer>
4274
+ * </DataTable.Root>
4275
+ * ```
4276
+ */
4277
+ Footer: mt,
4135
4278
  /**
4136
4279
  * # DataTable.Manager
4137
4280
  *
@@ -4151,26 +4294,91 @@ const ai = function({
4151
4294
  * ```
4152
4295
  */
4153
4296
  Manager: Ul,
4297
+ /**
4298
+ * # DataTable.ExpandButton
4299
+ *
4300
+ * Button component for expanding/collapsing nested rows in hierarchical data.
4301
+ * Automatically shown when data contains nested structures.
4302
+ *
4303
+ * @example
4304
+ * ```tsx
4305
+ * <DataTable.ExpandButton
4306
+ * isExpanded={expanded}
4307
+ * onPress={() => toggleExpand(rowId)}
4308
+ * />
4309
+ * ```
4310
+ */
4154
4311
  ExpandButton: Hl,
4312
+ /**
4313
+ * # DataTable.NestedIcon
4314
+ *
4315
+ * Icon component that indicates the nesting level and expansion state of hierarchical rows.
4316
+ * Provides visual hierarchy cues for nested data structures.
4317
+ *
4318
+ * @example
4319
+ * ```tsx
4320
+ * <DataTable.NestedIcon
4321
+ * depth={2}
4322
+ * isExpanded={expanded}
4323
+ * hasChildren={hasChildren}
4324
+ * />
4325
+ * ```
4326
+ */
4155
4327
  NestedIcon: _o,
4328
+ /**
4329
+ * # DataTable.SelectionCell
4330
+ *
4331
+ * Specialized cell component that contains selection checkboxes or radio buttons.
4332
+ * Handles row selection state and provides accessible selection controls.
4333
+ *
4334
+ * @example
4335
+ * ```tsx
4336
+ * <DataTable.SelectionCell
4337
+ * isSelected={selected}
4338
+ * onSelectionChange={handleSelection}
4339
+ * />
4340
+ * ```
4341
+ */
4156
4342
  SelectionCell: Qo,
4343
+ /**
4344
+ * # DataTable.Context
4345
+ *
4346
+ * React context that provides shared state and configuration to all table components.
4347
+ * Used internally for component coordination - not typically used directly.
4348
+ *
4349
+ * @example
4350
+ * ```tsx
4351
+ * const context = useContext(DataTable.Context);
4352
+ * ```
4353
+ */
4157
4354
  Context: Ye,
4355
+ /**
4356
+ * # DataTable.useDataTableContext
4357
+ *
4358
+ * Hook that provides access to the DataTable context with proper error handling.
4359
+ * Throws an error if used outside of a DataTable.Root provider.
4360
+ *
4361
+ * @example
4362
+ * ```tsx
4363
+ * const { columns, rows, sortDescriptor } = DataTable.useDataTableContext();
4364
+ * ```
4365
+ */
4158
4366
  useDataTableContext: fe
4159
4367
  });
4160
4368
  export {
4161
4369
  gr as D,
4162
4370
  Pt as U,
4163
- pt as a,
4164
- mt as b,
4165
- ft as c,
4166
- ke as d,
4167
- dt as e,
4168
- st as f,
4169
- xe as g,
4170
- ct as h,
4371
+ st as a,
4372
+ dt as b,
4373
+ ct as c,
4374
+ De as d,
4375
+ pt as e,
4376
+ ft as f,
4377
+ me as g,
4378
+ mt as h,
4171
4379
  Ul as i,
4172
4380
  Hl as j,
4173
4381
  _o as k,
4174
4382
  Qo as l
4175
4383
  };
4176
- //# sourceMappingURL=data-table-Dnp2C_pq.es.js.map
4384
+ //# sourceMappingURL=data-table-WpSHciHZ.es.js.map