@commercetools/nimbus 0.0.0-canary-20251024142423 → 0.0.0-canary-20251024155721

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 (197) hide show
  1. package/dist/chunks/{Button-C4ud7YxN.es.js → Button-Cvm_GFIL.es.js} +3 -3
  2. package/dist/chunks/{Button-C4ud7YxN.es.js.map → Button-Cvm_GFIL.es.js.map} +1 -1
  3. package/dist/chunks/{DateField-oXtVK-_5.es.js → DateField-_JKNSy0L.es.js} +7 -7
  4. package/dist/chunks/{DateField-oXtVK-_5.es.js.map → DateField-_JKNSy0L.es.js.map} +1 -1
  5. package/dist/chunks/{DatePicker-DrWdEOUQ.es.js → DatePicker-CVRKSm_T.es.js} +8 -8
  6. package/dist/chunks/{DatePicker-DrWdEOUQ.es.js.map → DatePicker-CVRKSm_T.es.js.map} +1 -1
  7. package/dist/chunks/{Dialog-C3sNnu1k.es.js → Dialog-jGgJU8d3.es.js} +5 -5
  8. package/dist/chunks/{Dialog-C3sNnu1k.es.js.map → Dialog-jGgJU8d3.es.js.map} +1 -1
  9. package/dist/chunks/{Group-CiDvtaeM.es.js → Group-DfiAnVUL.es.js} +2 -2
  10. package/dist/chunks/{Group-CiDvtaeM.es.js.map → Group-DfiAnVUL.es.js.map} +1 -1
  11. package/dist/chunks/{Header-BxizMPpp.es.js → Header-DxRMVj3p.es.js} +2 -2
  12. package/dist/chunks/{Header-BxizMPpp.es.js.map → Header-DxRMVj3p.es.js.map} +1 -1
  13. package/dist/chunks/{Heading-CAI_WTdS.es.js → Heading-B54iqRi6.es.js} +3 -3
  14. package/dist/chunks/{Heading-CAI_WTdS.es.js.map → Heading-B54iqRi6.es.js.map} +1 -1
  15. package/dist/chunks/{Input-De-sfAtq.es.js → Input-D_xkuuVK.es.js} +2 -2
  16. package/dist/chunks/{Input-De-sfAtq.es.js.map → Input-D_xkuuVK.es.js.map} +1 -1
  17. package/dist/chunks/{Label-BS7NIWvY.es.js → Label-D_is847s.es.js} +2 -2
  18. package/dist/chunks/{Label-BS7NIWvY.es.js.map → Label-D_is847s.es.js.map} +1 -1
  19. package/dist/chunks/{ListBox-BfRQSQ3P.es.js → ListBox-CmVeHlJ8.es.js} +4 -4
  20. package/dist/chunks/{ListBox-BfRQSQ3P.es.js.map → ListBox-CmVeHlJ8.es.js.map} +1 -1
  21. package/dist/chunks/{Modal-BTJk-mW-.es.js → Modal-CDgMpkXL.es.js} +3 -3
  22. package/dist/chunks/{Modal-BTJk-mW-.es.js.map → Modal-CDgMpkXL.es.js.map} +1 -1
  23. package/dist/chunks/{ProgressBar-Dl4ZrjfX.es.js → ProgressBar-CNX4CwCV.es.js} +3 -3
  24. package/dist/chunks/{ProgressBar-Dl4ZrjfX.es.js.map → ProgressBar-CNX4CwCV.es.js.map} +1 -1
  25. package/dist/chunks/{Separator-BOfmJd-0.es.js → Separator-B9FjYfPt.es.js} +2 -2
  26. package/dist/chunks/{Separator-BOfmJd-0.es.js.map → Separator-B9FjYfPt.es.js.map} +1 -1
  27. package/dist/chunks/{TextArea-DR4R6vJD.es.js → TextArea-12mI8ROZ.es.js} +2 -2
  28. package/dist/chunks/{TextArea-DR4R6vJD.es.js.map → TextArea-12mI8ROZ.es.js.map} +1 -1
  29. package/dist/chunks/{ToggleButton-DMoUAyoo.es.js → ToggleButton-CkNC3xU2.es.js} +2 -2
  30. package/dist/chunks/{ToggleButton-DMoUAyoo.es.js.map → ToggleButton-CkNC3xU2.es.js.map} +1 -1
  31. package/dist/chunks/{accordion-DlzioxZU.es.js → accordion-N1sk9qtr.es.js} +3 -3
  32. package/dist/chunks/{accordion-DlzioxZU.es.js.map → accordion-N1sk9qtr.es.js.map} +1 -1
  33. package/dist/chunks/{alert-D6lQn_oG.es.js → alert-B_cXh_PL.es.js} +2 -2
  34. package/dist/chunks/{alert-D6lQn_oG.es.js.map → alert-B_cXh_PL.es.js.map} +1 -1
  35. package/dist/chunks/{button-Do9q1MTT.es.js → button-BftzFlN_.es.js} +3 -3
  36. package/dist/chunks/{button-Do9q1MTT.es.js.map → button-BftzFlN_.es.js.map} +1 -1
  37. package/dist/chunks/{calendar-BST-T9-q.es.js → calendar-9EAF2QKe.es.js} +6 -6
  38. package/dist/chunks/{calendar-BST-T9-q.es.js.map → calendar-9EAF2QKe.es.js.map} +1 -1
  39. package/dist/chunks/{checkbox-CAJEchsf.es.js → checkbox-CBM1Jtao.es.js} +2 -2
  40. package/dist/chunks/{checkbox-CAJEchsf.es.js.map → checkbox-CBM1Jtao.es.js.map} +1 -1
  41. package/dist/chunks/{collapsible-motion-CxojZk38.es.js → collapsible-motion-r-nKRk9V.es.js} +2 -2
  42. package/dist/chunks/{collapsible-motion-CxojZk38.es.js.map → collapsible-motion-r-nKRk9V.es.js.map} +1 -1
  43. package/dist/chunks/{combobox-CEzSqHec.es.js → combobox-3dU8uPF8.es.js} +12 -12
  44. package/dist/chunks/{combobox-CEzSqHec.es.js.map → combobox-3dU8uPF8.es.js.map} +1 -1
  45. package/dist/chunks/{data-table-Q1jMQV1t.es.js → data-table-CZPp3eJq.es.js} +7 -7
  46. package/dist/chunks/{data-table-Q1jMQV1t.es.js.map → data-table-CZPp3eJq.es.js.map} +1 -1
  47. package/dist/chunks/{date-input-0qwp6dtK.es.js → date-input-C5zzmmL_.es.js} +7 -7
  48. package/dist/chunks/{date-input-0qwp6dtK.es.js.map → date-input-C5zzmmL_.es.js.map} +1 -1
  49. package/dist/chunks/{date-picker-DbZj9za5.es.js → date-picker-DmXjkurc.es.js} +12 -12
  50. package/dist/chunks/{date-picker-DbZj9za5.es.js.map → date-picker-DmXjkurc.es.js.map} +1 -1
  51. package/dist/chunks/{date-range-picker-DnQK6m0v.es.js → date-range-picker-BDA90vPc.es.js} +12 -12
  52. package/dist/chunks/{date-range-picker-DnQK6m0v.es.js.map → date-range-picker-BDA90vPc.es.js.map} +1 -1
  53. package/dist/chunks/date-range-picker.field-BKJc4Vaj.cjs.js +2 -0
  54. package/dist/chunks/date-range-picker.field-BKJc4Vaj.cjs.js.map +1 -0
  55. package/dist/chunks/date-range-picker.field-Dh-CD2Wg.es.js +62 -0
  56. package/dist/chunks/date-range-picker.field-Dh-CD2Wg.es.js.map +1 -0
  57. package/dist/chunks/{dialog-CSaCT7B1.es.js → dialog-DoTDEhif.es.js} +2 -2
  58. package/dist/chunks/{dialog-CSaCT7B1.es.js.map → dialog-DoTDEhif.es.js.map} +1 -1
  59. package/dist/chunks/{dialog.title-Ca6IrsF1.es.js → dialog.title-BGitJtGl.es.js} +6 -6
  60. package/dist/chunks/{dialog.title-Ca6IrsF1.es.js.map → dialog.title-BGitJtGl.es.js.map} +1 -1
  61. package/dist/chunks/{draggable-list-DlINx-bm.es.js → draggable-list-nBvyG2A6.es.js} +9 -9
  62. package/dist/chunks/{draggable-list-DlINx-bm.es.js.map → draggable-list-nBvyG2A6.es.js.map} +1 -1
  63. package/dist/chunks/{drawer-CEcfCY6S.es.js → drawer-Db7MgdjF.es.js} +6 -6
  64. package/dist/chunks/{drawer-CEcfCY6S.es.js.map → drawer-Db7MgdjF.es.js.map} +1 -1
  65. package/dist/chunks/{form-field-BHz1U87W.es.js → form-field-B5jLSTkf.es.js} +3 -3
  66. package/dist/chunks/{form-field-BHz1U87W.es.js.map → form-field-B5jLSTkf.es.js.map} +1 -1
  67. package/dist/chunks/{group-BLPsc2Lf.es.js → group-CTC127ba.es.js} +2 -2
  68. package/dist/chunks/{group-BLPsc2Lf.es.js.map → group-CTC127ba.es.js.map} +1 -1
  69. package/dist/chunks/{heading-14HwlWvH.es.js → heading-CAqmsi0w.es.js} +2 -2
  70. package/dist/chunks/{heading-14HwlWvH.es.js.map → heading-CAqmsi0w.es.js.map} +1 -1
  71. package/dist/chunks/{icon-button-CKfDmEjG.es.js → icon-button-Cts6XNEI.es.js} +2 -2
  72. package/dist/chunks/{icon-button-CKfDmEjG.es.js.map → icon-button-Cts6XNEI.es.js.map} +1 -1
  73. package/dist/chunks/{icon-toggle-button-_8HGkSiT.es.js → icon-toggle-button-DHs3nPAh.es.js} +2 -2
  74. package/dist/chunks/{icon-toggle-button-_8HGkSiT.es.js.map → icon-toggle-button-DHs3nPAh.es.js.map} +1 -1
  75. package/dist/chunks/{kbd-Cy3jFCSc.es.js → kbd-C2tRGi32.es.js} +2 -2
  76. package/dist/chunks/{kbd-Cy3jFCSc.es.js.map → kbd-C2tRGi32.es.js.map} +1 -1
  77. package/dist/chunks/{localized-field-DDTDBmhu.es.js → localized-field-C6-VczXH.es.js} +10 -10
  78. package/dist/chunks/{localized-field-DDTDBmhu.es.js.map → localized-field-C6-VczXH.es.js.map} +1 -1
  79. package/dist/chunks/{menu-BgYVHme6.es.js → menu-CX_9-_D1.es.js} +4 -4
  80. package/dist/chunks/{menu-BgYVHme6.es.js.map → menu-CX_9-_D1.es.js.map} +1 -1
  81. package/dist/chunks/{money-input-KhcM6-nN.es.js → money-input-u7dFM9Qv.es.js} +5 -5
  82. package/dist/chunks/{money-input-KhcM6-nN.es.js.map → money-input-u7dFM9Qv.es.js.map} +1 -1
  83. package/dist/chunks/{multiline-text-input-DzUNwnJZ.es.js → multiline-text-input-3ILInl6-.es.js} +2 -2
  84. package/dist/chunks/{multiline-text-input-DzUNwnJZ.es.js.map → multiline-text-input-3ILInl6-.es.js.map} +1 -1
  85. package/dist/chunks/{number-input-BL6HQMgY.es.js → number-input-BBtdI3uN.es.js} +3 -3
  86. package/dist/chunks/{number-input-BL6HQMgY.es.js.map → number-input-BBtdI3uN.es.js.map} +1 -1
  87. package/dist/chunks/{pagination-DtyZtvEz.es.js → pagination-CMrSH2MU.es.js} +5 -5
  88. package/dist/chunks/{pagination-DtyZtvEz.es.js.map → pagination-CMrSH2MU.es.js.map} +1 -1
  89. package/dist/chunks/{password-input-ltEgpcBt.es.js → password-input-DnwzPEox.es.js} +4 -4
  90. package/dist/chunks/{password-input-ltEgpcBt.es.js.map → password-input-DnwzPEox.es.js.map} +1 -1
  91. package/dist/chunks/{popover-Dtxly24d.es.js → popover-DVfupuA_.es.js} +2 -2
  92. package/dist/chunks/{popover-Dtxly24d.es.js.map → popover-DVfupuA_.es.js.map} +1 -1
  93. package/dist/chunks/{progress-bar-BV2WXVWN.es.js → progress-bar-CVRrk_CC.es.js} +3 -3
  94. package/dist/chunks/{progress-bar-BV2WXVWN.es.js.map → progress-bar-CVRrk_CC.es.js.map} +1 -1
  95. package/dist/chunks/{radio-input-Celcqnqn.es.js → radio-input-BoPf1H5g.es.js} +3 -3
  96. package/dist/chunks/{radio-input-Celcqnqn.es.js.map → radio-input-BoPf1H5g.es.js.map} +1 -1
  97. package/dist/chunks/{range-calendar-5eLEbNtN.es.js → range-calendar-5fafFvTh.es.js} +6 -6
  98. package/dist/chunks/{range-calendar-5eLEbNtN.es.js.map → range-calendar-5fafFvTh.es.js.map} +1 -1
  99. package/dist/chunks/{rich-text-input-Dn7NVXwa.es.js → rich-text-input-LmpBriZ2.es.js} +10 -10
  100. package/dist/chunks/{rich-text-input-Dn7NVXwa.es.js.map → rich-text-input-LmpBriZ2.es.js.map} +1 -1
  101. package/dist/chunks/{scoped-search-input-CE0NBlpD.es.js → scoped-search-input-uaGQFSx6.es.js} +3 -3
  102. package/dist/chunks/{scoped-search-input-CE0NBlpD.es.js.map → scoped-search-input-uaGQFSx6.es.js.map} +1 -1
  103. package/dist/chunks/{search-input-BvUR-kV-.es.js → search-input-OGikiMGE.es.js} +21 -21
  104. package/dist/chunks/{search-input-BvUR-kV-.es.js.map → search-input-OGikiMGE.es.js.map} +1 -1
  105. package/dist/chunks/{select-77U13xRz.es.js → select-DxNg0vB2.es.js} +8 -8
  106. package/dist/chunks/{select-77U13xRz.es.js.map → select-DxNg0vB2.es.js.map} +1 -1
  107. package/dist/chunks/{separator-DD-zpQe_.es.js → separator-1WbeW4fp.es.js} +2 -2
  108. package/dist/chunks/{separator-DD-zpQe_.es.js.map → separator-1WbeW4fp.es.js.map} +1 -1
  109. package/dist/chunks/{split-button-swrptPhp.es.js → split-button-hGhq70MU.es.js} +4 -4
  110. package/dist/chunks/{split-button-swrptPhp.es.js.map → split-button-hGhq70MU.es.js.map} +1 -1
  111. package/dist/chunks/{tabs-DRbsWomF.es.js → tabs-4L-eHqgh.es.js} +2 -2
  112. package/dist/chunks/{tabs-DRbsWomF.es.js.map → tabs-4L-eHqgh.es.js.map} +1 -1
  113. package/dist/chunks/{tag-group-Ct9zXgkE.es.js → tag-group-CGs8G1S1.es.js} +7 -7
  114. package/dist/chunks/{tag-group-Ct9zXgkE.es.js.map → tag-group-CGs8G1S1.es.js.map} +1 -1
  115. package/dist/chunks/{text-5xQLnEG4.es.js → text-CxYLEwbm.es.js} +2 -2
  116. package/dist/chunks/{text-5xQLnEG4.es.js.map → text-CxYLEwbm.es.js.map} +1 -1
  117. package/dist/chunks/{text-input-CYsti7a8.es.js → text-input-BnVtFM5M.es.js} +2 -2
  118. package/dist/chunks/{text-input-CYsti7a8.es.js.map → text-input-BnVtFM5M.es.js.map} +1 -1
  119. package/dist/chunks/{time-input-CQND_oup.es.js → time-input-I_0wEjyj.es.js} +9 -9
  120. package/dist/chunks/{time-input-CQND_oup.es.js.map → time-input-I_0wEjyj.es.js.map} +1 -1
  121. package/dist/chunks/{toggle-button-B7pXF-Kq.es.js → toggle-button-Cc0ZgQ71.es.js} +2 -2
  122. package/dist/chunks/{toggle-button-B7pXF-Kq.es.js.map → toggle-button-Cc0ZgQ71.es.js.map} +1 -1
  123. package/dist/chunks/{toggle-button-group-Bla1fe1z.es.js → toggle-button-group-CqpCDi0k.es.js} +2 -2
  124. package/dist/chunks/{toggle-button-group-Bla1fe1z.es.js.map → toggle-button-group-CqpCDi0k.es.js.map} +1 -1
  125. package/dist/chunks/{toolbar-AJhM_2WM.es.js → toolbar-BduXBcBw.es.js} +2 -2
  126. package/dist/chunks/{toolbar-AJhM_2WM.es.js.map → toolbar-BduXBcBw.es.js.map} +1 -1
  127. package/dist/chunks/{tooltip-BX45xCJd.es.js → tooltip-DxBe1M4-.es.js} +2 -2
  128. package/dist/chunks/{tooltip-BX45xCJd.es.js.map → tooltip-DxBe1M4-.es.js.map} +1 -1
  129. package/dist/chunks/{useGridListItem-Th8ivSlM.es.js → useGridListItem-mNHFnPRU.es.js} +2 -2
  130. package/dist/chunks/{useGridListItem-Th8ivSlM.es.js.map → useGridListItem-mNHFnPRU.es.js.map} +1 -1
  131. package/dist/chunks/{utils-DDFsiM-7.es.js → utils-C9h-oKMi.es.js} +4 -4
  132. package/dist/chunks/{utils-DDFsiM-7.es.js.map → utils-C9h-oKMi.es.js.map} +1 -1
  133. package/dist/components/accordion.es.js +1 -1
  134. package/dist/components/alert.es.js +1 -1
  135. package/dist/components/button.es.js +1 -1
  136. package/dist/components/calendar.es.js +1 -1
  137. package/dist/components/checkbox.es.js +1 -1
  138. package/dist/components/collapsible-motion.es.js +1 -1
  139. package/dist/components/combobox.es.js +1 -1
  140. package/dist/components/components.es.js +1 -1
  141. package/dist/components/data-table.es.js +1 -1
  142. package/dist/components/date-input.es.js +1 -1
  143. package/dist/components/date-picker.es.js +1 -1
  144. package/dist/components/date-range-picker-field.cjs +2 -0
  145. package/dist/components/date-range-picker-field.cjs.map +1 -0
  146. package/dist/components/date-range-picker-field.es.js +5 -0
  147. package/dist/components/date-range-picker-field.es.js.map +1 -0
  148. package/dist/components/date-range-picker.es.js +1 -1
  149. package/dist/components/dialog.es.js +1 -1
  150. package/dist/components/draggable-list.es.js +1 -1
  151. package/dist/components/drawer.es.js +1 -1
  152. package/dist/components/fields.cjs +2 -0
  153. package/dist/components/fields.cjs.map +1 -0
  154. package/dist/components/fields.es.js +5 -0
  155. package/dist/components/fields.es.js.map +1 -0
  156. package/dist/components/form-field.es.js +1 -1
  157. package/dist/components/group.es.js +1 -1
  158. package/dist/components/heading.es.js +1 -1
  159. package/dist/components/icon-button.es.js +1 -1
  160. package/dist/components/icon-toggle-button.es.js +1 -1
  161. package/dist/components/kbd.es.js +1 -1
  162. package/dist/components/localized-field.es.js +1 -1
  163. package/dist/components/money-input.es.js +1 -1
  164. package/dist/components/multiline-text-input.es.js +1 -1
  165. package/dist/components/number-input.es.js +1 -1
  166. package/dist/components/pagination.es.js +1 -1
  167. package/dist/components/password-input.es.js +1 -1
  168. package/dist/components/patterns.cjs +2 -0
  169. package/dist/components/patterns.cjs.map +1 -0
  170. package/dist/components/patterns.es.js +5 -0
  171. package/dist/components/patterns.es.js.map +1 -0
  172. package/dist/components/popover.es.js +1 -1
  173. package/dist/components/progress-bar.es.js +1 -1
  174. package/dist/components/radio-input.es.js +1 -1
  175. package/dist/components/range-calendar.es.js +1 -1
  176. package/dist/components/rich-text-input.es.js +1 -1
  177. package/dist/components/scoped-search-input.es.js +1 -1
  178. package/dist/components/search-input.es.js +1 -1
  179. package/dist/components/select.es.js +1 -1
  180. package/dist/components/separator.es.js +1 -1
  181. package/dist/components/split-button.es.js +1 -1
  182. package/dist/components/tabs.es.js +1 -1
  183. package/dist/components/tag-group.es.js +1 -1
  184. package/dist/components/text-input.es.js +1 -1
  185. package/dist/components/text.es.js +1 -1
  186. package/dist/components/time-input.es.js +1 -1
  187. package/dist/components/toggle-button-group.es.js +1 -1
  188. package/dist/components/toggle-button.es.js +1 -1
  189. package/dist/components/toolbar.es.js +1 -1
  190. package/dist/components/tooltip.es.js +1 -1
  191. package/dist/index.es.js +46 -46
  192. package/dist/patterns/fields/date-range-picker-field/date-range-picker-field.types.d.ts +55 -0
  193. package/dist/patterns/fields/date-range-picker-field/date-range-picker.field.d.ts +40 -0
  194. package/dist/patterns/fields/date-range-picker-field/index.d.ts +1 -0
  195. package/dist/patterns/fields/index.d.ts +1 -0
  196. package/dist/patterns/index.d.ts +1 -0
  197. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"toolbar-AJhM_2WM.es.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/Toolbar.mjs","../../src/components/toolbar/toolbar.slots.tsx","../../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToolbar as $8qPHH$useToolbar} from \"@react-aria/toolbar\";\nimport {filterDOMProps as $8qPHH$filterDOMProps, mergeProps as $8qPHH$mergeProps} from \"@react-aria/utils\";\nimport $8qPHH$react, {createContext as $8qPHH$createContext, forwardRef as $8qPHH$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $13c3c67164f4d5be$export$6311e7ab80ef752f = /*#__PURE__*/ (0, $8qPHH$createContext)({});\nconst $13c3c67164f4d5be$export$4c260019440d418f = /*#__PURE__*/ (0, $8qPHH$forwardRef)(function Toolbar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $13c3c67164f4d5be$export$6311e7ab80ef752f);\n let { toolbarProps: toolbarProps } = (0, $8qPHH$useToolbar)(props, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n orientation: props.orientation || 'horizontal'\n },\n defaultClassName: 'react-aria-Toolbar'\n });\n let DOMProps = (0, $8qPHH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8qPHH$react).createElement(\"div\", {\n ...(0, $8qPHH$mergeProps)(DOMProps, renderProps, toolbarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal'\n }, renderProps.children);\n});\n\n\nexport {$13c3c67164f4d5be$export$6311e7ab80ef752f as ToolbarContext, $13c3c67164f4d5be$export$4c260019440d418f as Toolbar};\n//# sourceMappingURL=Toolbar.module.js.map\n","import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { ToolbarRootSlotProps } from \"./toolbar.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"toolbar\",\n});\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToolbarRoot = withContext<HTMLDivElement, ToolbarRootSlotProps>(\n \"div\"\n);\n","import { ToolbarRoot } from \"./toolbar.slots.tsx\";\nimport type { ToolbarComponent, ToolbarProps } from \"./toolbar.types.ts\";\nimport {\n useBreakpointValue,\n useChakraContext,\n useRecipe,\n} from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils\";\nimport { toolbarRecipe } from \"./toolbar.recipe.ts\";\nimport { Toolbar as RaToolbar } from \"react-aria-components\";\n\nexport const Toolbar: ToolbarComponent = ({\n ref: forwardedRef,\n orientation = \"horizontal\",\n ...props\n}: ToolbarProps) => {\n const recipe = useRecipe({ recipe: toolbarRecipe });\n const [recipeProps, variantFreeProps] = recipe.splitVariantProps({\n orientation,\n ...props,\n });\n const [styleProps, functionalProps] = extractStyleProps(variantFreeProps);\n\n const sysCtx = useChakraContext();\n\n // The react-aria Toolbar does not support responsive values for the\n // `orientation` prop. We normalize `orientation` to a string\n // (\"horizontal\" or \"vertical\") using `system.normalizeValue` and\n // `useBreakpointValue` to ensure a concrete value is passed.\n\n const normalizedOrientation = sysCtx.normalizeValue(orientation);\n const computedOrientation: \"horizontal\" | \"vertical\" =\n useBreakpointValue(normalizedOrientation) ?? \"horizontal\";\n\n return (\n <ToolbarRoot\n orientation={orientation}\n {...recipeProps}\n {...styleProps}\n asChild\n >\n <RaToolbar\n ref={forwardedRef}\n orientation={computedOrientation}\n {...functionalProps}\n />\n </ToolbarRoot>\n );\n};\n"],"names":["$13c3c67164f4d5be$export$6311e7ab80ef752f","$8qPHH$createContext","$13c3c67164f4d5be$export$4c260019440d418f","$8qPHH$forwardRef","props","ref","$64fa3d84918910a7$export$29f1550f4b0d4415","toolbarProps","$8qPHH$useToolbar","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8qPHH$filterDOMProps","$8qPHH$react","$8qPHH$mergeProps","withContext","createRecipeContext","ToolbarRoot","Toolbar","forwardedRef","orientation","recipe","useRecipe","toolbarRecipe","recipeProps","variantFreeProps","styleProps","functionalProps","extractStyleProps","normalizedOrientation","useChakraContext","computedOrientation","useBreakpointValue","jsx","RaToolbar"],"mappings":";;;;;;;;;AAmBA,MAAMA,IAA8DC,gBAAAA,EAAsB,EAAE,GACtFC,IAA8DC,gBAAAA,EAAmB,SAAiBC,GAAOC,GAAK;AAChH,GAACD,GAAOC,CAAG,IAAQC,EAA2CF,GAAOC,GAAKL,CAAyC;AACnH,MAAI,EAAE,cAAcO,EAAY,IAASC,EAAmBJ,GAAOC,CAAG,GAClEI,IAAkBC,EAAyC;AAAA,IAC3D,GAAGN;AAAA,IACH,QAAQ;AAAA,MACJ,aAAaA,EAAM,eAAe;AAAA,IAC9C;AAAA,IACQ,kBAAkB;AAAA,EAC1B,CAAK,GACGO,IAAeC,EAAuBR,GAAO;AAAA,IAC7C,QAAQ;AAAA,EAChB,CAAK;AACD,gBAAOO,EAAS,IACSE,gBAAAA,EAAc,cAAc,OAAO;AAAA,IACxD,GAAOC,EAAmBH,GAAUF,GAAaF,CAAY;AAAA,IAC7D,KAAKF;AAAA,IACL,MAAMD,EAAM,QAAQ;AAAA,IACpB,oBAAoBA,EAAM,eAAe;AAAA,EACjD,GAAOK,EAAY,QAAQ;AAC3B,CAAC,GCrCK,EAAE,aAAAM,EAAA,IAAgB,gBAAAC,EAAoB;AAAA,EAC1C,KAAK;AACP,CAAC,GAMYC,IAAc,gBAAAF;AAAA,EACzB;AACF,GCFaG,IAA4B,CAAC;AAAA,EACxC,KAAKC;AAAA,EACL,aAAAC,IAAc;AAAA,EACd,GAAGhB;AACL,MAAoB;AAClB,QAAMiB,IAASC,EAAU,EAAE,QAAQC,GAAe,GAC5C,CAACC,GAAaC,CAAgB,IAAIJ,EAAO,kBAAkB;AAAA,IAC/D,aAAAD;AAAA,IACA,GAAGhB;AAAA,EAAA,CACJ,GACK,CAACsB,GAAYC,CAAe,IAAIC,EAAkBH,CAAgB,GASlEI,IAPSC,EAAA,EAOsB,eAAeV,CAAW,GACzDW,IACJC,EAAmBH,CAAqB,KAAK;AAE/C,SACE,gBAAAI;AAAA,IAAChB;AAAA,IAAA;AAAA,MACC,aAAAG;AAAA,MACC,GAAGI;AAAA,MACH,GAAGE;AAAA,MACJ,SAAO;AAAA,MAEP,UAAA,gBAAAO;AAAA,QAACC;AAAAA,QAAA;AAAA,UACC,KAAKf;AAAA,UACL,aAAaY;AAAA,UACZ,GAAGJ;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"toolbar-BduXBcBw.es.js","sources":["../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/Toolbar.mjs","../../src/components/toolbar/toolbar.slots.tsx","../../src/components/toolbar/toolbar.tsx"],"sourcesContent":["import {useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {useToolbar as $8qPHH$useToolbar} from \"@react-aria/toolbar\";\nimport {filterDOMProps as $8qPHH$filterDOMProps, mergeProps as $8qPHH$mergeProps} from \"@react-aria/utils\";\nimport $8qPHH$react, {createContext as $8qPHH$createContext, forwardRef as $8qPHH$forwardRef} from \"react\";\n\n/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $13c3c67164f4d5be$export$6311e7ab80ef752f = /*#__PURE__*/ (0, $8qPHH$createContext)({});\nconst $13c3c67164f4d5be$export$4c260019440d418f = /*#__PURE__*/ (0, $8qPHH$forwardRef)(function Toolbar(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $13c3c67164f4d5be$export$6311e7ab80ef752f);\n let { toolbarProps: toolbarProps } = (0, $8qPHH$useToolbar)(props, ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n orientation: props.orientation || 'horizontal'\n },\n defaultClassName: 'react-aria-Toolbar'\n });\n let DOMProps = (0, $8qPHH$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $8qPHH$react).createElement(\"div\", {\n ...(0, $8qPHH$mergeProps)(DOMProps, renderProps, toolbarProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-orientation\": props.orientation || 'horizontal'\n }, renderProps.children);\n});\n\n\nexport {$13c3c67164f4d5be$export$6311e7ab80ef752f as ToolbarContext, $13c3c67164f4d5be$export$4c260019440d418f as Toolbar};\n//# sourceMappingURL=Toolbar.module.js.map\n","import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { ToolbarRootSlotProps } from \"./toolbar.types\";\n\nconst { withContext } = createRecipeContext({\n key: \"toolbar\",\n});\n\n/**\n * Slot component that provides the styling context for the Group component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const ToolbarRoot = withContext<HTMLDivElement, ToolbarRootSlotProps>(\n \"div\"\n);\n","import { ToolbarRoot } from \"./toolbar.slots.tsx\";\nimport type { ToolbarComponent, ToolbarProps } from \"./toolbar.types.ts\";\nimport {\n useBreakpointValue,\n useChakraContext,\n useRecipe,\n} from \"@chakra-ui/react\";\nimport { extractStyleProps } from \"@/utils\";\nimport { toolbarRecipe } from \"./toolbar.recipe.ts\";\nimport { Toolbar as RaToolbar } from \"react-aria-components\";\n\nexport const Toolbar: ToolbarComponent = ({\n ref: forwardedRef,\n orientation = \"horizontal\",\n ...props\n}: ToolbarProps) => {\n const recipe = useRecipe({ recipe: toolbarRecipe });\n const [recipeProps, variantFreeProps] = recipe.splitVariantProps({\n orientation,\n ...props,\n });\n const [styleProps, functionalProps] = extractStyleProps(variantFreeProps);\n\n const sysCtx = useChakraContext();\n\n // The react-aria Toolbar does not support responsive values for the\n // `orientation` prop. We normalize `orientation` to a string\n // (\"horizontal\" or \"vertical\") using `system.normalizeValue` and\n // `useBreakpointValue` to ensure a concrete value is passed.\n\n const normalizedOrientation = sysCtx.normalizeValue(orientation);\n const computedOrientation: \"horizontal\" | \"vertical\" =\n useBreakpointValue(normalizedOrientation) ?? \"horizontal\";\n\n return (\n <ToolbarRoot\n orientation={orientation}\n {...recipeProps}\n {...styleProps}\n asChild\n >\n <RaToolbar\n ref={forwardedRef}\n orientation={computedOrientation}\n {...functionalProps}\n />\n </ToolbarRoot>\n );\n};\n"],"names":["$13c3c67164f4d5be$export$6311e7ab80ef752f","$8qPHH$createContext","$13c3c67164f4d5be$export$4c260019440d418f","$8qPHH$forwardRef","props","ref","$64fa3d84918910a7$export$29f1550f4b0d4415","toolbarProps","$8qPHH$useToolbar","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$8qPHH$filterDOMProps","$8qPHH$react","$8qPHH$mergeProps","withContext","createRecipeContext","ToolbarRoot","Toolbar","forwardedRef","orientation","recipe","useRecipe","toolbarRecipe","recipeProps","variantFreeProps","styleProps","functionalProps","extractStyleProps","normalizedOrientation","useChakraContext","computedOrientation","useBreakpointValue","jsx","RaToolbar"],"mappings":";;;;;;;;;AAmBA,MAAMA,IAA8DC,gBAAAA,EAAsB,EAAE,GACtFC,IAA8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,gBAAAO;AAAA,QAACC;AAAAA,QAAA;AAAA,UACC,KAAKf;AAAA,UACL,aAAaY;AAAA,UACZ,GAAGJ;AAAA,QAAA;AAAA,MAAA;AAAA,IACN;AAAA,EAAA;AAGN;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { jsx as h } from "react/jsx-runtime";
2
2
  import c, { useContext as E, useState as _, useMemo as S, useRef as m, useEffect as y, forwardRef as U, createContext as M } from "react";
3
- import { d as W, $ as K, a as V } from "./utils-DDFsiM-7.es.js";
3
+ import { d as W, $ as K, a as V } from "./utils-C9h-oKMi.es.js";
4
4
  import { d as j, $ as Y, a as q, e as z, b as G, f as J } from "./OverlayArrow-O5VkT1qj.es.js";
5
5
  import { a as T, $ as Q } from "./mergeProps-_eTFpDiB.es.js";
6
6
  import { $ as H } from "./filterDOMProps-BSVCO5jK.es.js";
@@ -265,4 +265,4 @@ export {
265
265
  B as a,
266
266
  Me as b
267
267
  };
268
- //# sourceMappingURL=tooltip-BX45xCJd.es.js.map
268
+ //# sourceMappingURL=tooltip-DxBe1M4-.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip-BX45xCJd.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+overlays@3.30.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../../../../node_modules/.pnpm/@react-stately+tooltip@3.5.8_react@19.2.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/Tooltip.mjs","../../src/components/tooltip/components/tooltip.root.tsx","../../src/components/tooltip/tooltip.slots.ts","../../src/components/tooltip/components/tooltip.content.tsx","../../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import {useUNSAFE_PortalContext as $96b38030c423d352$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$useMemo)(()=>({\n parent: parent,\n modalCount: modalCount,\n addModal () {\n setModalCount((count)=>count + 1);\n if (parent) parent.addModal();\n },\n removeModal () {\n setModalCount((count)=>count - 1);\n if (parent) parent.removeModal();\n }\n }), [\n parent,\n modalCount\n ]);\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n return {\n modalProviderProps: {\n 'aria-hidden': context && context.modalCount > 0 ? true : undefined\n }\n };\n}\n/**\n * Creates a root node that will be aria-hidden if there are other modals open.\n */ function $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : portalContainer.closest('[data-overlay-container]')) throw new Error('An OverlayContainer must not be inside another container. Please change the portalContainer prop.');\n }, [\n portalContainer\n ]);\n if (!portalContainer) return null;\n let contents = /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : options.isDisabled) || !context || !context.parent) return;\n // The immediate context is from the provider containing this modal, so we only\n // want to trigger aria-hidden on its parents not on the modal provider itself.\n context.parent.addModal();\n return ()=>{\n if (context && context.parent) context.parent.removeModal();\n };\n }, [\n context,\n context.parent,\n options === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$useRef)(false);\n let handleShow = ()=>{\n if (isHovered.current || isFocused.current) state.open(isFocused.current);\n };\n let handleHide = (immediate)=>{\n if (!isHovered.current && !isFocused.current) state.close(immediate);\n };\n (0, $6VwSn$useEffect)(()=>{\n let onKeyDown = (e)=>{\n if (ref && ref.current) // Escape after clicking something can give it keyboard focus\n // dismiss tooltip on esc key press\n {\n if (e.key === 'Escape') {\n e.stopPropagation();\n state.close(true);\n }\n }\n };\n if (state.isOpen) {\n document.addEventListener('keydown', onKeyDown, true);\n return ()=>{\n document.removeEventListener('keydown', onKeyDown, true);\n };\n }\n }, [\n ref,\n state\n ]);\n let onHoverStart = ()=>{\n if (trigger === 'focus') return;\n // In chrome, if you hover a trigger, then another element obscures it, due to keyboard\n // interactions for example, hover will end. When hover is restored after that element disappears,\n // focus moves on for example, then the tooltip will reopen. We check the modality to know if the hover\n // is the result of moving the mouse.\n if ((0, $6VwSn$getInteractionModality)() === 'pointer') isHovered.current = true;\n else isHovered.current = false;\n handleShow();\n };\n let onHoverEnd = ()=>{\n if (trigger === 'focus') return;\n // no matter how the trigger is left, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide();\n };\n let onPressStart = ()=>{\n // no matter how the trigger is pressed, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let onFocus = ()=>{\n let isVisible = (0, $6VwSn$isFocusVisible)();\n if (isVisible) {\n isFocused.current = true;\n handleShow();\n }\n };\n let onBlur = ()=>{\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let { hoverProps: hoverProps } = (0, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useEnterAnimation as $cCslV$useEnterAnimation, filterDOMProps as $cCslV$filterDOMProps} from \"@react-aria/utils\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let arrowRef = (0, $cCslV$useRef)(null);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n arrowRef: arrowRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n containerPadding: props.containerPadding,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n let DOMProps = (0, $cCslV$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...(0, $cCslV$mergeProps)(DOMProps, renderProps, tooltipProps),\n ref: props.tooltipRef,\n style: {\n ...overlayProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import React from \"react\";\nimport { TooltipTrigger } from \"react-aria-components\";\nimport type { TooltipTriggerComponentProps } from \"react-aria-components\";\n\n/**\n * # Tooltip\n *\n * A contextual popup that displays a description for an element.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/tooltip}\n */\nexport function TooltipRoot({\n // Match delays to current ui-kit tooltip\n delay = 300,\n closeDelay = 200,\n ...props\n}: TooltipTriggerComponentProps) {\n // Note: In React 19, ref forwarding is automatic for function components\n // The ref should be placed on the trigger element directly when needed\n return <TooltipTrigger delay={delay} closeDelay={closeDelay} {...props} />;\n}\n\nTooltipRoot.displayName = \"Tooltip.Root\";\n","import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { TooltipRootSlotProps } from \"./tooltip.types\";\n\nconst { withContext } = createRecipeContext({ key: \"tooltip\" });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRootSlot: SlotComponent<\n HTMLDivElement,\n TooltipRootSlotProps\n> = withContext<HTMLDivElement, TooltipRootSlotProps>(\"div\");\n","import { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRootSlot } from \"../tooltip.slots\";\nimport type { TooltipProps } from \"../tooltip.types\";\n\n/**\n * TooltipContent\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport function TooltipContent({\n children,\n placement = \"bottom\",\n ref,\n ...props\n}: TooltipProps & { ref?: React.Ref<HTMLDivElement> }) {\n return (\n <TooltipRootSlot ref={ref} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRootSlot>\n );\n}\n\nTooltipContent.displayName = \"Tooltip.Content\";\n","import { TooltipRoot } from \"./components/tooltip.root\";\nimport { TooltipContent } from \"./components/tooltip.content\";\n\n// Exports for internal use by react-docgen\nexport { TooltipRoot as _TooltipRoot, TooltipContent as _TooltipContent };\n\n// Export compound component object\nexport const Tooltip = {\n Root: TooltipRoot,\n Content: TooltipContent,\n};\n"],"names":["$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","props","children","parent","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","context","$4AOtR$useMemo","count","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","isSSR","$4AOtR$useIsSSR","portalContainer","rest","getContainer","$96b38030c423d352$export$9fc1347d4195ccb3","contents","$4AOtR$reactdom","$326e436e94273fe1$export$1c4b08e0eca38426","state","domProps","$kwmr2$filterDOMProps","hoverProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","ref","isDisabled","trigger","tooltipId","$6VwSn$useId","isHovered","$6VwSn$useRef","isFocused","handleShow","handleHide","immediate","$6VwSn$useEffect","onKeyDown","e","onHoverStart","$6VwSn$getInteractionModality","onHoverEnd","onPressStart","onFocus","$6VwSn$isFocusVisible","onBlur","$6VwSn$useHover","focusableProps","$6VwSn$useFocusable","$6VwSn$mergeProps","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","isOpen","open","close","$50cCT$useOverlayTriggerState","id","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","triggerProps","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$64fa3d84918910a7$export$2881499e37b75b9a","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","UNSTABLE_portalContainer","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$cCslV$useContext","localState","isExiting","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","arrowRef","overlayProps","arrowProps","placement","triggerAnchorPoint","$cCslV$useOverlayPosition","isEntering","$cCslV$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","$cCslV$mergeProps","$cCslV$useTooltip","DOMProps","$cCslV$filterDOMProps","$44f671af83e7d9e0$export$2de4954e8ae13b9f","TooltipRoot","jsx","TooltipTrigger","withContext","createRecipeContext","TooltipRootSlot","TooltipContent","RATooltip","Tooltip"],"mappings":";;;;;;;;;;;;AAmBA,MAAMA,IAAkDC,gBAAAA,EAAc,cAAc,IAAI;AACxF,SAASC,GAAyCC,GAAO;AACrD,MAAI,EAAE,UAAUC,EAAQ,IAAKD,GACzBE,IAAaC,EAAmBN,CAA6B,GAC7D,CAACO,GAAYC,CAAa,IAAQC,EAAiB,CAAC,GACpDC,IAAcC,EAAgB,OAAK;AAAA,IAC/B,QAAQN;AAAA,IACR,YAAYE;AAAA,IACZ,WAAY;AACR,MAAAC,EAAc,CAACI,MAAQA,IAAQ,CAAC,GAC5BP,KAAQA,EAAO,SAAQ;AAAA,IAC/B;AAAA,IACA,cAAe;AACX,MAAAG,EAAc,CAACI,MAAQA,IAAQ,CAAC,GAC5BP,KAAQA,EAAO,YAAW;AAAA,IAClC;AAAA,EACZ,IAAY;AAAA,IACJA;AAAA,IACAE;AAAA,EACR,CAAK;AACD,SAAyBN,gBAAAA,E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AA,EACN,SAASM;AACX;","x_google_ignoreList":[0,1,2,3,4]}
1
+ {"version":3,"file":"tooltip-DxBe1M4-.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+overlays@3.30.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/overlays/dist/useModal.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tooltip/dist/useTooltip.mjs","../../../../node_modules/.pnpm/@react-aria+tooltip@3.8.8_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/tooltip/dist/useTooltipTrigger.mjs","../../../../node_modules/.pnpm/@react-stately+tooltip@3.5.8_react@19.2.0/node_modules/@react-stately/tooltip/dist/useTooltipTriggerState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/Tooltip.mjs","../../src/components/tooltip/components/tooltip.root.tsx","../../src/components/tooltip/tooltip.slots.ts","../../src/components/tooltip/components/tooltip.content.tsx","../../src/components/tooltip/tooltip.tsx"],"sourcesContent":["import {useUNSAFE_PortalContext as $96b38030c423d352$export$9fc1347d4195ccb3} from \"./PortalProvider.mjs\";\nimport $4AOtR$react, {useContext as $4AOtR$useContext, useState as $4AOtR$useState, useMemo as $4AOtR$useMemo, useEffect as $4AOtR$useEffect} from \"react\";\nimport $4AOtR$reactdom from \"react-dom\";\nimport {useIsSSR as $4AOtR$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\nconst $f57aed4a881a3485$var$Context = /*#__PURE__*/ (0, $4AOtR$react).createContext(null);\nfunction $f57aed4a881a3485$export$178405afcd8c5eb(props) {\n let { children: children } = props;\n let parent = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n let [modalCount, setModalCount] = (0, $4AOtR$useState)(0);\n let context = (0, $4AOtR$useMemo)(()=>({\n parent: parent,\n modalCount: modalCount,\n addModal () {\n setModalCount((count)=>count + 1);\n if (parent) parent.addModal();\n },\n removeModal () {\n setModalCount((count)=>count - 1);\n if (parent) parent.removeModal();\n }\n }), [\n parent,\n modalCount\n ]);\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$Context.Provider, {\n value: context\n }, children);\n}\nfunction $f57aed4a881a3485$export$d9aaed4c3ece1bc0() {\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n return {\n modalProviderProps: {\n 'aria-hidden': context && context.modalCount > 0 ? true : undefined\n }\n };\n}\n/**\n * Creates a root node that will be aria-hidden if there are other modals open.\n */ function $f57aed4a881a3485$var$OverlayContainerDOM(props) {\n let { modalProviderProps: modalProviderProps } = $f57aed4a881a3485$export$d9aaed4c3ece1bc0();\n return /*#__PURE__*/ (0, $4AOtR$react).createElement(\"div\", {\n \"data-overlay-container\": true,\n ...props,\n ...modalProviderProps\n });\n}\nfunction $f57aed4a881a3485$export$bf688221f59024e5(props) {\n return /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$178405afcd8c5eb, null, /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$var$OverlayContainerDOM, props));\n}\nfunction $f57aed4a881a3485$export$b47c3594eab58386(props) {\n let isSSR = (0, $4AOtR$useIsSSR)();\n let { portalContainer: portalContainer = isSSR ? null : document.body, ...rest } = props;\n let { getContainer: getContainer } = (0, $96b38030c423d352$export$9fc1347d4195ccb3)();\n if (!props.portalContainer && getContainer) portalContainer = getContainer();\n (0, $4AOtR$react).useEffect(()=>{\n if (portalContainer === null || portalContainer === void 0 ? void 0 : portalContainer.closest('[data-overlay-container]')) throw new Error('An OverlayContainer must not be inside another container. Please change the portalContainer prop.');\n }, [\n portalContainer\n ]);\n if (!portalContainer) return null;\n let contents = /*#__PURE__*/ (0, $4AOtR$react).createElement($f57aed4a881a3485$export$bf688221f59024e5, rest);\n return /*#__PURE__*/ (0, $4AOtR$reactdom).createPortal(contents, portalContainer);\n}\nfunction $f57aed4a881a3485$export$33ffd74ebf07f060(options) {\n // Add aria-hidden to all parent providers on mount, and restore on unmount.\n let context = (0, $4AOtR$useContext)($f57aed4a881a3485$var$Context);\n if (!context) throw new Error('Modal is not contained within a provider');\n (0, $4AOtR$useEffect)(()=>{\n if ((options === null || options === void 0 ? void 0 : options.isDisabled) || !context || !context.parent) return;\n // The immediate context is from the provider containing this modal, so we only\n // want to trigger aria-hidden on its parents not on the modal provider itself.\n context.parent.addModal();\n return ()=>{\n if (context && context.parent) context.parent.removeModal();\n };\n }, [\n context,\n context.parent,\n options === null || options === void 0 ? void 0 : options.isDisabled\n ]);\n return {\n modalProps: {\n 'data-ismodal': !(options === null || options === void 0 ? void 0 : options.isDisabled)\n }\n };\n}\n\n\nexport {$f57aed4a881a3485$export$178405afcd8c5eb as ModalProvider, $f57aed4a881a3485$export$d9aaed4c3ece1bc0 as useModalProvider, $f57aed4a881a3485$export$bf688221f59024e5 as OverlayProvider, $f57aed4a881a3485$export$b47c3594eab58386 as OverlayContainer, $f57aed4a881a3485$export$33ffd74ebf07f060 as useModal};\n//# sourceMappingURL=useModal.module.js.map\n","import {filterDOMProps as $kwmr2$filterDOMProps, mergeProps as $kwmr2$mergeProps} from \"@react-aria/utils\";\nimport {useHover as $kwmr2$useHover} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $326e436e94273fe1$export$1c4b08e0eca38426(props, state) {\n let domProps = (0, $kwmr2$filterDOMProps)(props, {\n labelable: true\n });\n let { hoverProps: hoverProps } = (0, $kwmr2$useHover)({\n onHoverStart: ()=>state === null || state === void 0 ? void 0 : state.open(true),\n onHoverEnd: ()=>state === null || state === void 0 ? void 0 : state.close()\n });\n return {\n tooltipProps: (0, $kwmr2$mergeProps)(domProps, hoverProps, {\n role: 'tooltip'\n })\n };\n}\n\n\nexport {$326e436e94273fe1$export$1c4b08e0eca38426 as useTooltip};\n//# sourceMappingURL=useTooltip.module.js.map\n","import {getInteractionModality as $6VwSn$getInteractionModality, isFocusVisible as $6VwSn$isFocusVisible, useHover as $6VwSn$useHover, useFocusable as $6VwSn$useFocusable} from \"@react-aria/interactions\";\nimport {useId as $6VwSn$useId, mergeProps as $6VwSn$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $6VwSn$useRef, useEffect as $6VwSn$useEffect} from \"react\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $4e1b34546679e357$export$a6da6c504e4bba8b(props, state, ref) {\n let { isDisabled: isDisabled, trigger: trigger } = props;\n let tooltipId = (0, $6VwSn$useId)();\n let isHovered = (0, $6VwSn$useRef)(false);\n let isFocused = (0, $6VwSn$useRef)(false);\n let handleShow = ()=>{\n if (isHovered.current || isFocused.current) state.open(isFocused.current);\n };\n let handleHide = (immediate)=>{\n if (!isHovered.current && !isFocused.current) state.close(immediate);\n };\n (0, $6VwSn$useEffect)(()=>{\n let onKeyDown = (e)=>{\n if (ref && ref.current) // Escape after clicking something can give it keyboard focus\n // dismiss tooltip on esc key press\n {\n if (e.key === 'Escape') {\n e.stopPropagation();\n state.close(true);\n }\n }\n };\n if (state.isOpen) {\n document.addEventListener('keydown', onKeyDown, true);\n return ()=>{\n document.removeEventListener('keydown', onKeyDown, true);\n };\n }\n }, [\n ref,\n state\n ]);\n let onHoverStart = ()=>{\n if (trigger === 'focus') return;\n // In chrome, if you hover a trigger, then another element obscures it, due to keyboard\n // interactions for example, hover will end. When hover is restored after that element disappears,\n // focus moves on for example, then the tooltip will reopen. We check the modality to know if the hover\n // is the result of moving the mouse.\n if ((0, $6VwSn$getInteractionModality)() === 'pointer') isHovered.current = true;\n else isHovered.current = false;\n handleShow();\n };\n let onHoverEnd = ()=>{\n if (trigger === 'focus') return;\n // no matter how the trigger is left, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide();\n };\n let onPressStart = ()=>{\n // no matter how the trigger is pressed, we should close the tooltip\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let onFocus = ()=>{\n let isVisible = (0, $6VwSn$isFocusVisible)();\n if (isVisible) {\n isFocused.current = true;\n handleShow();\n }\n };\n let onBlur = ()=>{\n isFocused.current = false;\n isHovered.current = false;\n handleHide(true);\n };\n let { hoverProps: hoverProps } = (0, $6VwSn$useHover)({\n isDisabled: isDisabled,\n onHoverStart: onHoverStart,\n onHoverEnd: onHoverEnd\n });\n let { focusableProps: focusableProps } = (0, $6VwSn$useFocusable)({\n isDisabled: isDisabled,\n onFocus: onFocus,\n onBlur: onBlur\n }, ref);\n return {\n triggerProps: {\n 'aria-describedby': state.isOpen ? tooltipId : undefined,\n ...(0, $6VwSn$mergeProps)(focusableProps, hoverProps, {\n onPointerDown: onPressStart,\n onKeyDown: onPressStart\n }),\n tabIndex: undefined\n },\n tooltipProps: {\n id: tooltipId\n }\n };\n}\n\n\nexport {$4e1b34546679e357$export$a6da6c504e4bba8b as useTooltipTrigger};\n//# sourceMappingURL=useTooltipTrigger.module.js.map\n","import {useMemo as $50cCT$useMemo, useRef as $50cCT$useRef, useEffect as $50cCT$useEffect} from \"react\";\nimport {useOverlayTriggerState as $50cCT$useOverlayTriggerState} from \"@react-stately/overlays\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $8796f90736e175cb$var$TOOLTIP_DELAY = 1500; // this seems to be a 1.5 second delay, check with design\nconst $8796f90736e175cb$var$TOOLTIP_COOLDOWN = 500;\nlet $8796f90736e175cb$var$tooltips = {};\nlet $8796f90736e175cb$var$tooltipId = 0;\nlet $8796f90736e175cb$var$globalWarmedUp = false;\nlet $8796f90736e175cb$var$globalWarmUpTimeout = null;\nlet $8796f90736e175cb$var$globalCooldownTimeout = null;\nfunction $8796f90736e175cb$export$4d40659c25ecb50b(props = {}) {\n let { delay: delay = $8796f90736e175cb$var$TOOLTIP_DELAY, closeDelay: closeDelay = $8796f90736e175cb$var$TOOLTIP_COOLDOWN } = props;\n let { isOpen: isOpen, open: open, close: close } = (0, $50cCT$useOverlayTriggerState)(props);\n let id = (0, $50cCT$useMemo)(()=>`${++$8796f90736e175cb$var$tooltipId}`, []);\n let closeTimeout = (0, $50cCT$useRef)(null);\n let closeCallback = (0, $50cCT$useRef)(close);\n let ensureTooltipEntry = ()=>{\n $8796f90736e175cb$var$tooltips[id] = hideTooltip;\n };\n let closeOpenTooltips = ()=>{\n for(let hideTooltipId in $8796f90736e175cb$var$tooltips)if (hideTooltipId !== id) {\n $8796f90736e175cb$var$tooltips[hideTooltipId](true);\n delete $8796f90736e175cb$var$tooltips[hideTooltipId];\n }\n };\n let showTooltip = ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeOpenTooltips();\n ensureTooltipEntry();\n $8796f90736e175cb$var$globalWarmedUp = true;\n open();\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalCooldownTimeout) {\n clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n }\n };\n let hideTooltip = (immediate)=>{\n if (immediate || closeDelay <= 0) {\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n closeTimeout.current = null;\n closeCallback.current();\n } else if (!closeTimeout.current) closeTimeout.current = setTimeout(()=>{\n closeTimeout.current = null;\n closeCallback.current();\n }, closeDelay);\n if ($8796f90736e175cb$var$globalWarmUpTimeout) {\n clearTimeout($8796f90736e175cb$var$globalWarmUpTimeout);\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n }\n if ($8796f90736e175cb$var$globalWarmedUp) {\n if ($8796f90736e175cb$var$globalCooldownTimeout) clearTimeout($8796f90736e175cb$var$globalCooldownTimeout);\n $8796f90736e175cb$var$globalCooldownTimeout = setTimeout(()=>{\n delete $8796f90736e175cb$var$tooltips[id];\n $8796f90736e175cb$var$globalCooldownTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = false;\n }, Math.max($8796f90736e175cb$var$TOOLTIP_COOLDOWN, closeDelay));\n }\n };\n let warmupTooltip = ()=>{\n closeOpenTooltips();\n ensureTooltipEntry();\n if (!isOpen && !$8796f90736e175cb$var$globalWarmUpTimeout && !$8796f90736e175cb$var$globalWarmedUp) $8796f90736e175cb$var$globalWarmUpTimeout = setTimeout(()=>{\n $8796f90736e175cb$var$globalWarmUpTimeout = null;\n $8796f90736e175cb$var$globalWarmedUp = true;\n showTooltip();\n }, delay);\n else if (!isOpen) showTooltip();\n };\n (0, $50cCT$useEffect)(()=>{\n closeCallback.current = close;\n }, [\n close\n ]);\n (0, $50cCT$useEffect)(()=>{\n return ()=>{\n if (closeTimeout.current) clearTimeout(closeTimeout.current);\n let tooltip = $8796f90736e175cb$var$tooltips[id];\n if (tooltip) delete $8796f90736e175cb$var$tooltips[id];\n };\n }, [\n id\n ]);\n return {\n isOpen: isOpen,\n open: (immediate)=>{\n if (!immediate && delay > 0 && !closeTimeout.current) warmupTooltip();\n else showTooltip();\n },\n close: hideTooltip\n };\n}\n\n\nexport {$8796f90736e175cb$export$4d40659c25ecb50b as useTooltipTriggerState};\n//# sourceMappingURL=useTooltipTriggerState.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayArrowContext as $44f671af83e7d9e0$export$2de4954e8ae13b9f} from \"./OverlayArrow.mjs\";\nimport {useTooltipTrigger as $cCslV$useTooltipTrigger, OverlayContainer as $cCslV$OverlayContainer, useOverlayPosition as $cCslV$useOverlayPosition, mergeProps as $cCslV$mergeProps, useTooltip as $cCslV$useTooltip} from \"react-aria\";\nimport {useExitAnimation as $cCslV$useExitAnimation, useEnterAnimation as $cCslV$useEnterAnimation, filterDOMProps as $cCslV$filterDOMProps} from \"@react-aria/utils\";\nimport {FocusableProvider as $cCslV$FocusableProvider} from \"@react-aria/focus\";\nimport {useTooltipTriggerState as $cCslV$useTooltipTriggerState} from \"react-stately\";\nimport $cCslV$react, {createContext as $cCslV$createContext, useRef as $cCslV$useRef, forwardRef as $cCslV$forwardRef, useContext as $cCslV$useContext} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e3b923658d69c60$export$7a7623236eec67fa = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nconst $4e3b923658d69c60$export$39ae08fa83328b12 = /*#__PURE__*/ (0, $cCslV$createContext)(null);\nfunction $4e3b923658d69c60$export$8c610744efcf8a1d(props) {\n let state = (0, $cCslV$useTooltipTriggerState)(props);\n let ref = (0, $cCslV$useRef)(null);\n let { triggerProps: triggerProps, tooltipProps: tooltipProps } = (0, $cCslV$useTooltipTrigger)(props, state, ref);\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $4e3b923658d69c60$export$7a7623236eec67fa,\n state\n ],\n [\n $4e3b923658d69c60$export$39ae08fa83328b12,\n {\n ...tooltipProps,\n triggerRef: ref\n }\n ]\n ]\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$FocusableProvider), {\n ...triggerProps,\n ref: ref\n }, props.children));\n}\nconst $4e3b923658d69c60$export$28c660c63b792dea = /*#__PURE__*/ (0, $cCslV$forwardRef)(function Tooltip({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $4e3b923658d69c60$export$39ae08fa83328b12);\n let contextState = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let localState = (0, $cCslV$useTooltipTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n let isExiting = (0, $cCslV$useExitAnimation)(ref, state.isOpen) || props.isExiting || false;\n if (!state.isOpen && !isExiting) return null;\n return /*#__PURE__*/ (0, $cCslV$react).createElement((0, $cCslV$OverlayContainer), {\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $cCslV$react).createElement($4e3b923658d69c60$var$TooltipInner, {\n ...props,\n tooltipRef: ref,\n isExiting: isExiting\n }));\n});\nfunction $4e3b923658d69c60$var$TooltipInner(props) {\n let state = (0, $cCslV$useContext)($4e3b923658d69c60$export$7a7623236eec67fa);\n let arrowRef = (0, $cCslV$useRef)(null);\n let { overlayProps: overlayProps, arrowProps: arrowProps, placement: placement, triggerAnchorPoint: triggerAnchorPoint } = (0, $cCslV$useOverlayPosition)({\n placement: props.placement || 'top',\n targetRef: props.triggerRef,\n overlayRef: props.tooltipRef,\n arrowRef: arrowRef,\n offset: props.offset,\n crossOffset: props.crossOffset,\n isOpen: state.isOpen,\n arrowBoundaryOffset: props.arrowBoundaryOffset,\n shouldFlip: props.shouldFlip,\n containerPadding: props.containerPadding,\n onClose: ()=>state.close(true)\n });\n let isEntering = (0, $cCslV$useEnterAnimation)(props.tooltipRef, !!placement) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tooltip',\n values: {\n placement: placement,\n isEntering: isEntering,\n isExiting: props.isExiting,\n state: state\n }\n });\n props = (0, $cCslV$mergeProps)(props, overlayProps);\n let { tooltipProps: tooltipProps } = (0, $cCslV$useTooltip)(props, state);\n let DOMProps = (0, $cCslV$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $cCslV$react).createElement(\"div\", {\n ...(0, $cCslV$mergeProps)(DOMProps, renderProps, tooltipProps),\n ref: props.tooltipRef,\n style: {\n ...overlayProps.style,\n '--trigger-anchor-point': triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : undefined,\n ...renderProps.style\n },\n \"data-placement\": placement !== null && placement !== void 0 ? placement : undefined,\n \"data-entering\": isEntering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $cCslV$react).createElement((0, $44f671af83e7d9e0$export$2de4954e8ae13b9f).Provider, {\n value: {\n ...arrowProps,\n placement: placement,\n ref: arrowRef\n }\n }, renderProps.children));\n}\n\n\nexport {$4e3b923658d69c60$export$7a7623236eec67fa as TooltipTriggerStateContext, $4e3b923658d69c60$export$39ae08fa83328b12 as TooltipContext, $4e3b923658d69c60$export$8c610744efcf8a1d as TooltipTrigger, $4e3b923658d69c60$export$28c660c63b792dea as Tooltip};\n//# sourceMappingURL=Tooltip.module.js.map\n","import React from \"react\";\nimport { TooltipTrigger } from \"react-aria-components\";\nimport type { TooltipTriggerComponentProps } from \"react-aria-components\";\n\n/**\n * # Tooltip\n *\n * A contextual popup that displays a description for an element.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/feedback/tooltip}\n */\nexport function TooltipRoot({\n // Match delays to current ui-kit tooltip\n delay = 300,\n closeDelay = 200,\n ...props\n}: TooltipTriggerComponentProps) {\n // Note: In React 19, ref forwarding is automatic for function components\n // The ref should be placed on the trigger element directly when needed\n return <TooltipTrigger delay={delay} closeDelay={closeDelay} {...props} />;\n}\n\nTooltipRoot.displayName = \"Tooltip.Root\";\n","import { createRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type { TooltipRootSlotProps } from \"./tooltip.types\";\n\nconst { withContext } = createRecipeContext({ key: \"tooltip\" });\n\n/**\n * Root component that provides the styling context for the Tooltip component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TooltipRootSlot: SlotComponent<\n HTMLDivElement,\n TooltipRootSlotProps\n> = withContext<HTMLDivElement, TooltipRootSlotProps>(\"div\");\n","import { Tooltip as RATooltip } from \"react-aria-components\";\nimport { TooltipRootSlot } from \"../tooltip.slots\";\nimport type { TooltipProps } from \"../tooltip.types\";\n\n/**\n * TooltipContent\n * ============================================================\n * A contextual popup that displays a description for an element, uses `Tooltip` component from `react-aria-components`.\n *\n * Features:\n * - allows forwarding refs to the underlying DOM element\n * - accepts all native html 'HTMLDivElement' attributes (including aria- & data-attributes)\n * - allows overriding styles by using style-props\n *\n * Further Context:\n * - [React Aria Components Tooltip Documentation](https://react-spectrum.adobe.com/react-aria/Tooltip.html)\n * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)\n */\nexport function TooltipContent({\n children,\n placement = \"bottom\",\n ref,\n ...props\n}: TooltipProps & { ref?: React.Ref<HTMLDivElement> }) {\n return (\n <TooltipRootSlot ref={ref} asChild {...props}>\n <RATooltip placement={placement} {...props}>\n {children}\n </RATooltip>\n </TooltipRootSlot>\n );\n}\n\nTooltipContent.displayName = \"Tooltip.Content\";\n","import { TooltipRoot } from \"./components/tooltip.root\";\nimport { TooltipContent } from \"./components/tooltip.content\";\n\n// Exports for internal use by react-docgen\nexport { TooltipRoot as _TooltipRoot, TooltipContent as _TooltipContent };\n\n// Export compound component object\nexport const Tooltip = {\n Root: TooltipRoot,\n Content: TooltipContent,\n};\n"],"names":["$f57aed4a881a3485$var$Context","$4AOtR$react","$f57aed4a881a3485$export$178405afcd8c5eb","props","children","parent","$4AOtR$useContext","modalCount","setModalCount","$4AOtR$useState","context","$4AOtR$useMemo","count","$f57aed4a881a3485$export$d9aaed4c3ece1bc0","$f57aed4a881a3485$var$OverlayContainerDOM","modalProviderProps","$f57aed4a881a3485$export$bf688221f59024e5","$f57aed4a881a3485$export$b47c3594eab58386","isSSR","$4AOtR$useIsSSR","portalContainer","rest","getContainer","$96b38030c423d352$export$9fc1347d4195ccb3","contents","$4AOtR$reactdom","$326e436e94273fe1$export$1c4b08e0eca38426","state","domProps","$kwmr2$filterDOMProps","hoverProps","$kwmr2$useHover","$kwmr2$mergeProps","$4e1b34546679e357$export$a6da6c504e4bba8b","ref","isDisabled","trigger","tooltipId","$6VwSn$useId","isHovered","$6VwSn$useRef","isFocused","handleShow","handleHide","immediate","$6VwSn$useEffect","onKeyDown","e","onHoverStart","$6VwSn$getInteractionModality","onHoverEnd","onPressStart","onFocus","$6VwSn$isFocusVisible","onBlur","$6VwSn$useHover","focusableProps","$6VwSn$useFocusable","$6VwSn$mergeProps","$8796f90736e175cb$var$TOOLTIP_DELAY","$8796f90736e175cb$var$TOOLTIP_COOLDOWN","$8796f90736e175cb$var$tooltips","$8796f90736e175cb$var$tooltipId","$8796f90736e175cb$var$globalWarmedUp","$8796f90736e175cb$var$globalWarmUpTimeout","$8796f90736e175cb$var$globalCooldownTimeout","$8796f90736e175cb$export$4d40659c25ecb50b","delay","closeDelay","isOpen","open","close","$50cCT$useOverlayTriggerState","id","$50cCT$useMemo","closeTimeout","$50cCT$useRef","closeCallback","ensureTooltipEntry","hideTooltip","closeOpenTooltips","hideTooltipId","showTooltip","warmupTooltip","$50cCT$useEffect","$4e3b923658d69c60$export$7a7623236eec67fa","$cCslV$createContext","$4e3b923658d69c60$export$39ae08fa83328b12","$4e3b923658d69c60$export$8c610744efcf8a1d","$cCslV$useTooltipTriggerState","$cCslV$useRef","triggerProps","tooltipProps","$cCslV$useTooltipTrigger","$cCslV$react","$64fa3d84918910a7$export$2881499e37b75b9a","$cCslV$FocusableProvider","$4e3b923658d69c60$export$28c660c63b792dea","$cCslV$forwardRef","UNSTABLE_portalContainer","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$cCslV$useContext","localState","isExiting","$cCslV$useExitAnimation","$cCslV$OverlayContainer","$4e3b923658d69c60$var$TooltipInner","arrowRef","overlayProps","arrowProps","placement","triggerAnchorPoint","$cCslV$useOverlayPosition","isEntering","$cCslV$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","$cCslV$mergeProps","$cCslV$useTooltip","DOMProps","$cCslV$filterDOMProps","$44f671af83e7d9e0$export$2de4954e8ae13b9f","TooltipRoot","jsx","TooltipTrigger","withContext","createRecipeContext","TooltipRootSlot","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GAAGjE;AACL,GAAiC;AAG/B,SAAO,gBAAAyH,EAACC,IAAA,EAAe,OAAA1D,GAAc,YAAAC,GAAyB,GAAGjE,GAAO;AAC1E;AAEAwH,EAAY,cAAc;AClB1B,MAAM,EAAE,aAAAG,GAAA,IAAgB,gBAAAC,GAAoB,EAAE,KAAK,WAAW,GAMjDC,KAGT,gBAAAF,GAAkD,KAAK;ACKpD,SAASG,EAAe;AAAA,EAC7B,UAAA7H;AAAA,EACA,WAAA2G,IAAY;AAAA,EACZ,KAAA7E;AAAA,EACA,GAAG/B;AACL,GAAuD;AACrD,SACE,gBAAAyH,EAACI,IAAA,EAAgB,KAAA9F,GAAU,SAAO,IAAE,GAAG/B,GACrC,UAAA,gBAAAyH,EAACM,IAAA,EAAU,WAAAnB,GAAuB,GAAG5G,GAClC,UAAAC,GACH,GACF;AAEJ;AAEA6H,EAAe,cAAc;AC1BtB,MAAME,KAAU;AAAA,EACrB,MAAMR;AAAA,EACN,SAASM;AACX;","x_google_ignoreList":[0,1,2,3,4]}
@@ -2,7 +2,7 @@ import { $ as X, a as M, d as Y, e as j } from "./mergeProps-_eTFpDiB.es.js";
2
2
  import { $ as H } from "./filterDOMProps-BSVCO5jK.es.js";
3
3
  import { a as J, b as Q } from "./useHighlightSelectionDescription-Cw3J8MNM.es.js";
4
4
  import { $ as Z } from "./useHasTabbableChild-B5nn4ySF.es.js";
5
- import { $ as _ } from "./Header-BxizMPpp.es.js";
5
+ import { $ as _ } from "./Header-DxRMVj3p.es.js";
6
6
  import { $ as ee } from "./openLink-D7--QlSJ.es.js";
7
7
  import { $ } from "./getScrollParent-DWQTVYMz.es.js";
8
8
  import { a as y } from "./scrollIntoView-CaRCBiMb.es.js";
@@ -248,4 +248,4 @@ export {
248
248
  ke as a,
249
249
  F as b
250
250
  };
251
- //# sourceMappingURL=useGridListItem-Th8ivSlM.es.js.map
251
+ //# sourceMappingURL=useGridListItem-mNHFnPRU.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useGridListItem-Th8ivSlM.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+gridlist@3.14.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/gridlist/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+gridlist@3.14.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/gridlist/dist/useGridList.mjs","../../../../node_modules/.pnpm/@react-aria+gridlist@3.14.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/gridlist/dist/useGridListItem.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $ce9b18daab526bbd$export$5b9bb410392e3991 = new WeakMap();\nfunction $ce9b18daab526bbd$export$f45c25170b9a99c2(state, key) {\n var _listMap_get;\n let { id: id } = (_listMap_get = $ce9b18daab526bbd$export$5b9bb410392e3991.get(state)) !== null && _listMap_get !== void 0 ? _listMap_get : {};\n if (!id) throw new Error('Unknown list');\n return `${id}-${$ce9b18daab526bbd$export$e0c709538cb8ae18(key)}`;\n}\nfunction $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\n\n\nexport {$ce9b18daab526bbd$export$5b9bb410392e3991 as listMap, $ce9b18daab526bbd$export$f45c25170b9a99c2 as getRowId, $ce9b18daab526bbd$export$e0c709538cb8ae18 as normalizeKey};\n//# sourceMappingURL=utils.module.js.map\n","import {listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from \"./utils.mjs\";\nimport {useId as $lnALe$useId, filterDOMProps as $lnALe$filterDOMProps, mergeProps as $lnALe$mergeProps} from \"@react-aria/utils\";\nimport {useHighlightSelectionDescription as $lnALe$useHighlightSelectionDescription, useGridSelectionAnnouncement as $lnALe$useGridSelectionAnnouncement} from \"@react-aria/grid\";\nimport {useHasTabbableChild as $lnALe$useHasTabbableChild} from \"@react-aria/focus\";\nimport {useSelectableList as $lnALe$useSelectableList} from \"@react-aria/selection\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {\n let { isVirtualized: isVirtualized, keyboardDelegate: keyboardDelegate, layoutDelegate: layoutDelegate, onAction: onAction, disallowTypeAhead: disallowTypeAhead, linkBehavior: linkBehavior = 'action', keyboardNavigationBehavior: keyboardNavigationBehavior = 'arrow', escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n if (!props['aria-label'] && !props['aria-labelledby']) console.warn('An aria-label or aria-labelledby prop is required for accessibility.');\n let { listProps: listProps } = (0, $lnALe$useSelectableList)({\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n ref: ref,\n keyboardDelegate: keyboardDelegate,\n layoutDelegate: layoutDelegate,\n isVirtualized: isVirtualized,\n selectOnFocus: state.selectionManager.selectionBehavior === 'replace',\n shouldFocusWrap: props.shouldFocusWrap,\n linkBehavior: linkBehavior,\n disallowTypeAhead: disallowTypeAhead,\n autoFocus: props.autoFocus,\n escapeKeyBehavior: escapeKeyBehavior\n });\n let id = (0, $lnALe$useId)(props.id);\n (0, $ce9b18daab526bbd$export$5b9bb410392e3991).set(state, {\n id: id,\n onAction: onAction,\n linkBehavior: linkBehavior,\n keyboardNavigationBehavior: keyboardNavigationBehavior,\n shouldSelectOnPressUp: shouldSelectOnPressUp\n });\n let descriptionProps = (0, $lnALe$useHighlightSelectionDescription)({\n selectionManager: state.selectionManager,\n hasItemActions: !!onAction\n });\n let hasTabbableChild = (0, $lnALe$useHasTabbableChild)(ref, {\n isDisabled: state.collection.size !== 0\n });\n let domProps = (0, $lnALe$filterDOMProps)(props, {\n labelable: true\n });\n let gridProps = (0, $lnALe$mergeProps)(domProps, {\n role: 'grid',\n id: id,\n 'aria-multiselectable': state.selectionManager.selectionMode === 'multiple' ? 'true' : undefined\n }, // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.\n state.collection.size === 0 ? {\n tabIndex: hasTabbableChild ? -1 : 0\n } : listProps, descriptionProps);\n if (isVirtualized) {\n gridProps['aria-rowcount'] = state.collection.size;\n gridProps['aria-colcount'] = 1;\n }\n (0, $lnALe$useGridSelectionAnnouncement)({}, state);\n return {\n gridProps: gridProps\n };\n}\n\n\nexport {$f47efb0c3a859cf2$export$664f9155035607eb as useGridList};\n//# sourceMappingURL=useGridList.module.js.map\n","import {getRowId as $ce9b18daab526bbd$export$f45c25170b9a99c2, listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from \"./utils.mjs\";\nimport {useSlotId as $lxFUG$useSlotId, chain as $lxFUG$chain, scrollIntoViewport as $lxFUG$scrollIntoViewport, getScrollParent as $lxFUG$getScrollParent, useSyntheticLinkProps as $lxFUG$useSyntheticLinkProps, mergeProps as $lxFUG$mergeProps} from \"@react-aria/utils\";\nimport {focusSafely as $lxFUG$focusSafely, getFocusableTreeWalker as $lxFUG$getFocusableTreeWalker} from \"@react-aria/focus\";\nimport {useRef as $lxFUG$useRef} from \"react\";\nimport {isFocusVisible as $lxFUG$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $lxFUG$useSelectableItem} from \"@react-aria/selection\";\nimport {useLocale as $lxFUG$useLocale} from \"@react-aria/i18n\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e8b0456ef72939f$var$EXPANSION_KEYS = {\n 'expand': {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n 'collapse': {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {\n var _node_props, _node_props1;\n // Copied from useGridCell + some modifications to make it not so grid specific\n let { node: node, isVirtualized: isVirtualized } = props;\n // let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/gridlist');\n let { direction: direction } = (0, $lxFUG$useLocale)();\n let { onAction: onAction, linkBehavior: linkBehavior, keyboardNavigationBehavior: keyboardNavigationBehavior, shouldSelectOnPressUp: shouldSelectOnPressUp } = (0, $ce9b18daab526bbd$export$5b9bb410392e3991).get(state);\n let descriptionId = (0, $lxFUG$useSlotId)();\n // We need to track the key of the item at the time it was last focused so that we force\n // focus to go to the item when the DOM node is reused for a different item in a virtualizer.\n let keyWhenFocused = (0, $lxFUG$useRef)(null);\n let focus = ()=>{\n var _ref_current;\n // Don't shift focus to the row if the active element is a element within the row already\n // (e.g. clicking on a row button)\n if (ref.current !== null && (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(document.activeElement)))) (0, $lxFUG$focusSafely)(ref.current);\n };\n let treeGridRowProps = {};\n let hasChildRows = props.hasChildItems;\n let hasLink = state.selectionManager.isLink(node.key);\n if (node != null && 'expandedKeys' in state) {\n var _state_collection_getChildren, _state_collection;\n // TODO: ideally node.hasChildNodes would be a way to tell if a row has child nodes, but the row's contents make it so that value is always\n // true...\n let children = (_state_collection_getChildren = (_state_collection = state.collection).getChildren) === null || _state_collection_getChildren === void 0 ? void 0 : _state_collection_getChildren.call(_state_collection, node.key);\n hasChildRows = hasChildRows || [\n ...children !== null && children !== void 0 ? children : []\n ].length > 1;\n if (onAction == null && !hasLink && state.selectionManager.selectionMode === 'none' && hasChildRows) onAction = ()=>state.toggleKey(node.key);\n let isExpanded = hasChildRows ? state.expandedKeys.has(node.key) : undefined;\n let setSize = 1;\n if (node.level > 0 && (node === null || node === void 0 ? void 0 : node.parentKey) != null) {\n let parent = state.collection.getItem(node.parentKey);\n if (parent) {\n var _state_collection_getChildren1, _state_collection1;\n // siblings must exist because our original node exists\n let siblings = (_state_collection_getChildren1 = (_state_collection1 = state.collection).getChildren) === null || _state_collection_getChildren1 === void 0 ? void 0 : _state_collection_getChildren1.call(_state_collection1, parent.key);\n setSize = [\n ...siblings\n ].filter((row)=>row.type === 'item').length;\n }\n } else setSize = [\n ...state.collection\n ].filter((row)=>row.level === 0 && row.type === 'item').length;\n treeGridRowProps = {\n 'aria-expanded': isExpanded,\n 'aria-level': node.level + 1,\n 'aria-posinset': (node === null || node === void 0 ? void 0 : node.index) + 1,\n 'aria-setsize': setSize\n };\n }\n let { itemProps: itemProps, ...itemStates } = (0, $lxFUG$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp || shouldSelectOnPressUp,\n onAction: onAction || ((_node_props = node.props) === null || _node_props === void 0 ? void 0 : _node_props.onAction) ? (0, $lxFUG$chain)((_node_props1 = node.props) === null || _node_props1 === void 0 ? void 0 : _node_props1.onAction, onAction ? ()=>onAction(node.key) : undefined) : undefined,\n focus: focus,\n linkBehavior: linkBehavior\n });\n let onKeyDownCapture = (e)=>{\n if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;\n let walker = (0, $lxFUG$getFocusableTreeWalker)(ref.current);\n walker.currentNode = document.activeElement;\n if ('expandedKeys' in state && document.activeElement === ref.current) {\n if (e.key === $4e8b0456ef72939f$var$EXPANSION_KEYS['expand'][direction] && state.selectionManager.focusedKey === node.key && hasChildRows && !state.expandedKeys.has(node.key)) {\n state.toggleKey(node.key);\n e.stopPropagation();\n return;\n } else if (e.key === $4e8b0456ef72939f$var$EXPANSION_KEYS['collapse'][direction] && state.selectionManager.focusedKey === node.key && hasChildRows && state.expandedKeys.has(node.key)) {\n state.toggleKey(node.key);\n e.stopPropagation();\n return;\n }\n }\n switch(e.key){\n case 'ArrowLeft':\n if (keyboardNavigationBehavior === 'arrow') {\n // Find the next focusable element within the row.\n let focusable = direction === 'rtl' ? walker.nextNode() : walker.previousNode();\n if (focusable) {\n e.preventDefault();\n e.stopPropagation();\n (0, $lxFUG$focusSafely)(focusable);\n (0, $lxFUG$scrollIntoViewport)(focusable, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n // If there is no next focusable child, then return focus back to the row\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') {\n (0, $lxFUG$focusSafely)(ref.current);\n (0, $lxFUG$scrollIntoViewport)(ref.current, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n let lastElement = $4e8b0456ef72939f$var$last(walker);\n if (lastElement) {\n (0, $lxFUG$focusSafely)(lastElement);\n (0, $lxFUG$scrollIntoViewport)(lastElement, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n }\n }\n }\n }\n break;\n case 'ArrowRight':\n if (keyboardNavigationBehavior === 'arrow') {\n let focusable = direction === 'rtl' ? walker.previousNode() : walker.nextNode();\n if (focusable) {\n e.preventDefault();\n e.stopPropagation();\n (0, $lxFUG$focusSafely)(focusable);\n (0, $lxFUG$scrollIntoViewport)(focusable, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'ltr') {\n (0, $lxFUG$focusSafely)(ref.current);\n (0, $lxFUG$scrollIntoViewport)(ref.current, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n let lastElement = $4e8b0456ef72939f$var$last(walker);\n if (lastElement) {\n (0, $lxFUG$focusSafely)(lastElement);\n (0, $lxFUG$scrollIntoViewport)(lastElement, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n }\n }\n }\n }\n break;\n case 'ArrowUp':\n case 'ArrowDown':\n // Prevent this event from reaching row children, e.g. menu buttons. We want arrow keys to navigate\n // to the row above/below instead. We need to re-dispatch the event from a higher parent so it still\n // bubbles and gets handled by useSelectableCollection.\n if (!e.altKey && ref.current.contains(e.target)) {\n var _ref_current_parentElement;\n e.stopPropagation();\n e.preventDefault();\n (_ref_current_parentElement = ref.current.parentElement) === null || _ref_current_parentElement === void 0 ? void 0 : _ref_current_parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n }\n break;\n }\n };\n let onFocus = (e)=>{\n keyWhenFocused.current = node.key;\n if (e.target !== ref.current) {\n // useSelectableItem only handles setting the focused key when\n // the focused element is the row itself. We also want to\n // set the focused key when a child element receives focus.\n // If focus is currently visible (e.g. the user is navigating with the keyboard),\n // then skip this. We want to restore focus to the previously focused row\n // in that case since the list should act like a single tab stop.\n if (!(0, $lxFUG$isFocusVisible)()) state.selectionManager.setFocusedKey(node.key);\n return;\n }\n };\n let onKeyDown = (e)=>{\n if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;\n switch(e.key){\n case 'Tab':\n if (keyboardNavigationBehavior === 'tab') {\n // If there is another focusable element within this item, stop propagation so the tab key\n // is handled by the browser and not by useSelectableCollection (which would take us out of the list).\n let walker = (0, $lxFUG$getFocusableTreeWalker)(ref.current, {\n tabbable: true\n });\n walker.currentNode = document.activeElement;\n let next = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (next) e.stopPropagation();\n }\n }\n };\n let syntheticLinkProps = (0, $lxFUG$useSyntheticLinkProps)(node.props);\n let linkProps = itemStates.hasAction ? syntheticLinkProps : {};\n // TODO: re-add when we get translations and fix this for iOS VO\n // let rowAnnouncement;\n // if (onAction) {\n // rowAnnouncement = stringFormatter.format('hasActionAnnouncement');\n // } else if (hasLink) {\n // rowAnnouncement = stringFormatter.format('hasLinkAnnouncement', {\n // link: node.props.href\n // });\n // }\n let rowProps = (0, $lxFUG$mergeProps)(itemProps, linkProps, {\n role: 'row',\n onKeyDownCapture: onKeyDownCapture,\n onKeyDown: onKeyDown,\n onFocus: onFocus,\n // 'aria-label': [(node.textValue || undefined), rowAnnouncement].filter(Boolean).join(', '),\n 'aria-label': node.textValue || undefined,\n 'aria-selected': state.selectionManager.canSelectItem(node.key) ? state.selectionManager.isSelected(node.key) : undefined,\n 'aria-disabled': state.selectionManager.isDisabled(node.key) || undefined,\n 'aria-labelledby': descriptionId && node.textValue ? `${(0, $ce9b18daab526bbd$export$f45c25170b9a99c2)(state, node.key)} ${descriptionId}` : undefined,\n id: (0, $ce9b18daab526bbd$export$f45c25170b9a99c2)(state, node.key)\n });\n if (isVirtualized) {\n let { collection: collection } = state;\n let nodes = [\n ...collection\n ];\n // TODO: refactor ListCollection to store an absolute index of a node's position?\n rowProps['aria-rowindex'] = nodes.find((node)=>node.type === 'section') ? [\n ...collection.getKeys()\n ].filter((key)=>{\n var _collection_getItem;\n return ((_collection_getItem = collection.getItem(key)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.type) !== 'section';\n }).findIndex((key)=>key === node.key) + 1 : node.index + 1;\n }\n let gridCellProps = {\n role: 'gridcell',\n 'aria-colindex': 1\n };\n // TODO: should isExpanded and hasChildRows be a item state that gets returned by the hook?\n return {\n rowProps: {\n ...(0, $lxFUG$mergeProps)(rowProps, treeGridRowProps)\n },\n gridCellProps: gridCellProps,\n descriptionProps: {\n id: descriptionId\n },\n ...itemStates\n };\n}\nfunction $4e8b0456ef72939f$var$last(walker) {\n let next = null;\n let last = null;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\n\n\nexport {$4e8b0456ef72939f$export$9610e69494fadfd2 as useGridListItem};\n//# sourceMappingURL=useGridListItem.module.js.map\n"],"names":["$ce9b18daab526bbd$export$5b9bb410392e3991","$ce9b18daab526bbd$export$f45c25170b9a99c2","state","key","_listMap_get","id","$ce9b18daab526bbd$export$e0c709538cb8ae18","$f47efb0c3a859cf2$export$664f9155035607eb","props","ref","isVirtualized","keyboardDelegate","layoutDelegate","onAction","disallowTypeAhead","linkBehavior","keyboardNavigationBehavior","escapeKeyBehavior","shouldSelectOnPressUp","listProps","$lnALe$useSelectableList","$lnALe$useId","descriptionProps","$lnALe$useHighlightSelectionDescription","hasTabbableChild","$lnALe$useHasTabbableChild","domProps","$lnALe$filterDOMProps","gridProps","$lnALe$mergeProps","$lnALe$useGridSelectionAnnouncement","$4e8b0456ef72939f$var$EXPANSION_KEYS","$4e8b0456ef72939f$export$9610e69494fadfd2","_node_props","_node_props1","node","direction","$lxFUG$useLocale","descriptionId","$lxFUG$useSlotId","keyWhenFocused","$lxFUG$useRef","focus","_ref_current","$lxFUG$focusSafely","treeGridRowProps","hasChildRows","hasLink","_state_collection_getChildren","_state_collection","children","isExpanded","setSize","parent","_state_collection_getChildren1","_state_collection1","row","itemProps","itemStates","$lxFUG$useSelectableItem","$lxFUG$chain","onKeyDownCapture","e","walker","$lxFUG$getFocusableTreeWalker","focusable","$lxFUG$scrollIntoViewport","$lxFUG$getScrollParent","lastElement","$4e8b0456ef72939f$var$last","_ref_current_parentElement","onFocus","$lxFUG$isFocusVisible","onKeyDown","syntheticLinkProps","$lxFUG$useSyntheticLinkProps","linkProps","rowProps","$lxFUG$mergeProps","collection","nodes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GAAUhC,CAAgB;AAAA,IAChE;AAAA,IACQ,eAAeqC;AAAA,IACf,kBAAkB;AAAA,MACd,IAAI5C;AAAA,IAChB;AAAA,IACQ,GAAGoB;AAAA,EACX;AACA;AACA,SAASW,EAA2BN,GAAQ;AACxC,MAAIoB,IAAO,MACPC,IAAO;AACX;AACI,IAAAA,IAAOrB,EAAO,UAAS,GACnBqB,MAAMD,IAAOC;AAAA,SACbA;AACR,SAAOD;AACX;","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"useGridListItem-mNHFnPRU.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+gridlist@3.14.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/gridlist/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+gridlist@3.14.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/gridlist/dist/useGridList.mjs","../../../../node_modules/.pnpm/@react-aria+gridlist@3.14.1_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/gridlist/dist/useGridListItem.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $ce9b18daab526bbd$export$5b9bb410392e3991 = new WeakMap();\nfunction $ce9b18daab526bbd$export$f45c25170b9a99c2(state, key) {\n var _listMap_get;\n let { id: id } = (_listMap_get = $ce9b18daab526bbd$export$5b9bb410392e3991.get(state)) !== null && _listMap_get !== void 0 ? _listMap_get : {};\n if (!id) throw new Error('Unknown list');\n return `${id}-${$ce9b18daab526bbd$export$e0c709538cb8ae18(key)}`;\n}\nfunction $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\n\n\nexport {$ce9b18daab526bbd$export$5b9bb410392e3991 as listMap, $ce9b18daab526bbd$export$f45c25170b9a99c2 as getRowId, $ce9b18daab526bbd$export$e0c709538cb8ae18 as normalizeKey};\n//# sourceMappingURL=utils.module.js.map\n","import {listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from \"./utils.mjs\";\nimport {useId as $lnALe$useId, filterDOMProps as $lnALe$filterDOMProps, mergeProps as $lnALe$mergeProps} from \"@react-aria/utils\";\nimport {useHighlightSelectionDescription as $lnALe$useHighlightSelectionDescription, useGridSelectionAnnouncement as $lnALe$useGridSelectionAnnouncement} from \"@react-aria/grid\";\nimport {useHasTabbableChild as $lnALe$useHasTabbableChild} from \"@react-aria/focus\";\nimport {useSelectableList as $lnALe$useSelectableList} from \"@react-aria/selection\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {\n let { isVirtualized: isVirtualized, keyboardDelegate: keyboardDelegate, layoutDelegate: layoutDelegate, onAction: onAction, disallowTypeAhead: disallowTypeAhead, linkBehavior: linkBehavior = 'action', keyboardNavigationBehavior: keyboardNavigationBehavior = 'arrow', escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n if (!props['aria-label'] && !props['aria-labelledby']) console.warn('An aria-label or aria-labelledby prop is required for accessibility.');\n let { listProps: listProps } = (0, $lnALe$useSelectableList)({\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n ref: ref,\n keyboardDelegate: keyboardDelegate,\n layoutDelegate: layoutDelegate,\n isVirtualized: isVirtualized,\n selectOnFocus: state.selectionManager.selectionBehavior === 'replace',\n shouldFocusWrap: props.shouldFocusWrap,\n linkBehavior: linkBehavior,\n disallowTypeAhead: disallowTypeAhead,\n autoFocus: props.autoFocus,\n escapeKeyBehavior: escapeKeyBehavior\n });\n let id = (0, $lnALe$useId)(props.id);\n (0, $ce9b18daab526bbd$export$5b9bb410392e3991).set(state, {\n id: id,\n onAction: onAction,\n linkBehavior: linkBehavior,\n keyboardNavigationBehavior: keyboardNavigationBehavior,\n shouldSelectOnPressUp: shouldSelectOnPressUp\n });\n let descriptionProps = (0, $lnALe$useHighlightSelectionDescription)({\n selectionManager: state.selectionManager,\n hasItemActions: !!onAction\n });\n let hasTabbableChild = (0, $lnALe$useHasTabbableChild)(ref, {\n isDisabled: state.collection.size !== 0\n });\n let domProps = (0, $lnALe$filterDOMProps)(props, {\n labelable: true\n });\n let gridProps = (0, $lnALe$mergeProps)(domProps, {\n role: 'grid',\n id: id,\n 'aria-multiselectable': state.selectionManager.selectionMode === 'multiple' ? 'true' : undefined\n }, // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.\n state.collection.size === 0 ? {\n tabIndex: hasTabbableChild ? -1 : 0\n } : listProps, descriptionProps);\n if (isVirtualized) {\n gridProps['aria-rowcount'] = state.collection.size;\n gridProps['aria-colcount'] = 1;\n }\n (0, $lnALe$useGridSelectionAnnouncement)({}, state);\n return {\n gridProps: gridProps\n };\n}\n\n\nexport {$f47efb0c3a859cf2$export$664f9155035607eb as useGridList};\n//# sourceMappingURL=useGridList.module.js.map\n","import {getRowId as $ce9b18daab526bbd$export$f45c25170b9a99c2, listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from \"./utils.mjs\";\nimport {useSlotId as $lxFUG$useSlotId, chain as $lxFUG$chain, scrollIntoViewport as $lxFUG$scrollIntoViewport, getScrollParent as $lxFUG$getScrollParent, useSyntheticLinkProps as $lxFUG$useSyntheticLinkProps, mergeProps as $lxFUG$mergeProps} from \"@react-aria/utils\";\nimport {focusSafely as $lxFUG$focusSafely, getFocusableTreeWalker as $lxFUG$getFocusableTreeWalker} from \"@react-aria/focus\";\nimport {useRef as $lxFUG$useRef} from \"react\";\nimport {isFocusVisible as $lxFUG$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $lxFUG$useSelectableItem} from \"@react-aria/selection\";\nimport {useLocale as $lxFUG$useLocale} from \"@react-aria/i18n\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\nconst $4e8b0456ef72939f$var$EXPANSION_KEYS = {\n 'expand': {\n ltr: 'ArrowRight',\n rtl: 'ArrowLeft'\n },\n 'collapse': {\n ltr: 'ArrowLeft',\n rtl: 'ArrowRight'\n }\n};\nfunction $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {\n var _node_props, _node_props1;\n // Copied from useGridCell + some modifications to make it not so grid specific\n let { node: node, isVirtualized: isVirtualized } = props;\n // let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/gridlist');\n let { direction: direction } = (0, $lxFUG$useLocale)();\n let { onAction: onAction, linkBehavior: linkBehavior, keyboardNavigationBehavior: keyboardNavigationBehavior, shouldSelectOnPressUp: shouldSelectOnPressUp } = (0, $ce9b18daab526bbd$export$5b9bb410392e3991).get(state);\n let descriptionId = (0, $lxFUG$useSlotId)();\n // We need to track the key of the item at the time it was last focused so that we force\n // focus to go to the item when the DOM node is reused for a different item in a virtualizer.\n let keyWhenFocused = (0, $lxFUG$useRef)(null);\n let focus = ()=>{\n var _ref_current;\n // Don't shift focus to the row if the active element is a element within the row already\n // (e.g. clicking on a row button)\n if (ref.current !== null && (keyWhenFocused.current != null && node.key !== keyWhenFocused.current || !((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(document.activeElement)))) (0, $lxFUG$focusSafely)(ref.current);\n };\n let treeGridRowProps = {};\n let hasChildRows = props.hasChildItems;\n let hasLink = state.selectionManager.isLink(node.key);\n if (node != null && 'expandedKeys' in state) {\n var _state_collection_getChildren, _state_collection;\n // TODO: ideally node.hasChildNodes would be a way to tell if a row has child nodes, but the row's contents make it so that value is always\n // true...\n let children = (_state_collection_getChildren = (_state_collection = state.collection).getChildren) === null || _state_collection_getChildren === void 0 ? void 0 : _state_collection_getChildren.call(_state_collection, node.key);\n hasChildRows = hasChildRows || [\n ...children !== null && children !== void 0 ? children : []\n ].length > 1;\n if (onAction == null && !hasLink && state.selectionManager.selectionMode === 'none' && hasChildRows) onAction = ()=>state.toggleKey(node.key);\n let isExpanded = hasChildRows ? state.expandedKeys.has(node.key) : undefined;\n let setSize = 1;\n if (node.level > 0 && (node === null || node === void 0 ? void 0 : node.parentKey) != null) {\n let parent = state.collection.getItem(node.parentKey);\n if (parent) {\n var _state_collection_getChildren1, _state_collection1;\n // siblings must exist because our original node exists\n let siblings = (_state_collection_getChildren1 = (_state_collection1 = state.collection).getChildren) === null || _state_collection_getChildren1 === void 0 ? void 0 : _state_collection_getChildren1.call(_state_collection1, parent.key);\n setSize = [\n ...siblings\n ].filter((row)=>row.type === 'item').length;\n }\n } else setSize = [\n ...state.collection\n ].filter((row)=>row.level === 0 && row.type === 'item').length;\n treeGridRowProps = {\n 'aria-expanded': isExpanded,\n 'aria-level': node.level + 1,\n 'aria-posinset': (node === null || node === void 0 ? void 0 : node.index) + 1,\n 'aria-setsize': setSize\n };\n }\n let { itemProps: itemProps, ...itemStates } = (0, $lxFUG$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: node.key,\n ref: ref,\n isVirtualized: isVirtualized,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp || shouldSelectOnPressUp,\n onAction: onAction || ((_node_props = node.props) === null || _node_props === void 0 ? void 0 : _node_props.onAction) ? (0, $lxFUG$chain)((_node_props1 = node.props) === null || _node_props1 === void 0 ? void 0 : _node_props1.onAction, onAction ? ()=>onAction(node.key) : undefined) : undefined,\n focus: focus,\n linkBehavior: linkBehavior\n });\n let onKeyDownCapture = (e)=>{\n if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;\n let walker = (0, $lxFUG$getFocusableTreeWalker)(ref.current);\n walker.currentNode = document.activeElement;\n if ('expandedKeys' in state && document.activeElement === ref.current) {\n if (e.key === $4e8b0456ef72939f$var$EXPANSION_KEYS['expand'][direction] && state.selectionManager.focusedKey === node.key && hasChildRows && !state.expandedKeys.has(node.key)) {\n state.toggleKey(node.key);\n e.stopPropagation();\n return;\n } else if (e.key === $4e8b0456ef72939f$var$EXPANSION_KEYS['collapse'][direction] && state.selectionManager.focusedKey === node.key && hasChildRows && state.expandedKeys.has(node.key)) {\n state.toggleKey(node.key);\n e.stopPropagation();\n return;\n }\n }\n switch(e.key){\n case 'ArrowLeft':\n if (keyboardNavigationBehavior === 'arrow') {\n // Find the next focusable element within the row.\n let focusable = direction === 'rtl' ? walker.nextNode() : walker.previousNode();\n if (focusable) {\n e.preventDefault();\n e.stopPropagation();\n (0, $lxFUG$focusSafely)(focusable);\n (0, $lxFUG$scrollIntoViewport)(focusable, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n // If there is no next focusable child, then return focus back to the row\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'rtl') {\n (0, $lxFUG$focusSafely)(ref.current);\n (0, $lxFUG$scrollIntoViewport)(ref.current, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n let lastElement = $4e8b0456ef72939f$var$last(walker);\n if (lastElement) {\n (0, $lxFUG$focusSafely)(lastElement);\n (0, $lxFUG$scrollIntoViewport)(lastElement, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n }\n }\n }\n }\n break;\n case 'ArrowRight':\n if (keyboardNavigationBehavior === 'arrow') {\n let focusable = direction === 'rtl' ? walker.previousNode() : walker.nextNode();\n if (focusable) {\n e.preventDefault();\n e.stopPropagation();\n (0, $lxFUG$focusSafely)(focusable);\n (0, $lxFUG$scrollIntoViewport)(focusable, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n e.preventDefault();\n e.stopPropagation();\n if (direction === 'ltr') {\n (0, $lxFUG$focusSafely)(ref.current);\n (0, $lxFUG$scrollIntoViewport)(ref.current, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n } else {\n walker.currentNode = ref.current;\n let lastElement = $4e8b0456ef72939f$var$last(walker);\n if (lastElement) {\n (0, $lxFUG$focusSafely)(lastElement);\n (0, $lxFUG$scrollIntoViewport)(lastElement, {\n containingElement: (0, $lxFUG$getScrollParent)(ref.current)\n });\n }\n }\n }\n }\n break;\n case 'ArrowUp':\n case 'ArrowDown':\n // Prevent this event from reaching row children, e.g. menu buttons. We want arrow keys to navigate\n // to the row above/below instead. We need to re-dispatch the event from a higher parent so it still\n // bubbles and gets handled by useSelectableCollection.\n if (!e.altKey && ref.current.contains(e.target)) {\n var _ref_current_parentElement;\n e.stopPropagation();\n e.preventDefault();\n (_ref_current_parentElement = ref.current.parentElement) === null || _ref_current_parentElement === void 0 ? void 0 : _ref_current_parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));\n }\n break;\n }\n };\n let onFocus = (e)=>{\n keyWhenFocused.current = node.key;\n if (e.target !== ref.current) {\n // useSelectableItem only handles setting the focused key when\n // the focused element is the row itself. We also want to\n // set the focused key when a child element receives focus.\n // If focus is currently visible (e.g. the user is navigating with the keyboard),\n // then skip this. We want to restore focus to the previously focused row\n // in that case since the list should act like a single tab stop.\n if (!(0, $lxFUG$isFocusVisible)()) state.selectionManager.setFocusedKey(node.key);\n return;\n }\n };\n let onKeyDown = (e)=>{\n if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;\n switch(e.key){\n case 'Tab':\n if (keyboardNavigationBehavior === 'tab') {\n // If there is another focusable element within this item, stop propagation so the tab key\n // is handled by the browser and not by useSelectableCollection (which would take us out of the list).\n let walker = (0, $lxFUG$getFocusableTreeWalker)(ref.current, {\n tabbable: true\n });\n walker.currentNode = document.activeElement;\n let next = e.shiftKey ? walker.previousNode() : walker.nextNode();\n if (next) e.stopPropagation();\n }\n }\n };\n let syntheticLinkProps = (0, $lxFUG$useSyntheticLinkProps)(node.props);\n let linkProps = itemStates.hasAction ? syntheticLinkProps : {};\n // TODO: re-add when we get translations and fix this for iOS VO\n // let rowAnnouncement;\n // if (onAction) {\n // rowAnnouncement = stringFormatter.format('hasActionAnnouncement');\n // } else if (hasLink) {\n // rowAnnouncement = stringFormatter.format('hasLinkAnnouncement', {\n // link: node.props.href\n // });\n // }\n let rowProps = (0, $lxFUG$mergeProps)(itemProps, linkProps, {\n role: 'row',\n onKeyDownCapture: onKeyDownCapture,\n onKeyDown: onKeyDown,\n onFocus: onFocus,\n // 'aria-label': [(node.textValue || undefined), rowAnnouncement].filter(Boolean).join(', '),\n 'aria-label': node.textValue || undefined,\n 'aria-selected': state.selectionManager.canSelectItem(node.key) ? state.selectionManager.isSelected(node.key) : undefined,\n 'aria-disabled': state.selectionManager.isDisabled(node.key) || undefined,\n 'aria-labelledby': descriptionId && node.textValue ? `${(0, $ce9b18daab526bbd$export$f45c25170b9a99c2)(state, node.key)} ${descriptionId}` : undefined,\n id: (0, $ce9b18daab526bbd$export$f45c25170b9a99c2)(state, node.key)\n });\n if (isVirtualized) {\n let { collection: collection } = state;\n let nodes = [\n ...collection\n ];\n // TODO: refactor ListCollection to store an absolute index of a node's position?\n rowProps['aria-rowindex'] = nodes.find((node)=>node.type === 'section') ? [\n ...collection.getKeys()\n ].filter((key)=>{\n var _collection_getItem;\n return ((_collection_getItem = collection.getItem(key)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.type) !== 'section';\n }).findIndex((key)=>key === node.key) + 1 : node.index + 1;\n }\n let gridCellProps = {\n role: 'gridcell',\n 'aria-colindex': 1\n };\n // TODO: should isExpanded and hasChildRows be a item state that gets returned by the hook?\n return {\n rowProps: {\n ...(0, $lxFUG$mergeProps)(rowProps, treeGridRowProps)\n },\n gridCellProps: gridCellProps,\n descriptionProps: {\n id: descriptionId\n },\n ...itemStates\n };\n}\nfunction $4e8b0456ef72939f$var$last(walker) {\n let next = null;\n let last = null;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n return next;\n}\n\n\nexport {$4e8b0456ef72939f$export$9610e69494fadfd2 as useGridListItem};\n//# sourceMappingURL=useGridListItem.module.js.map\n"],"names":["$ce9b18daab526bbd$export$5b9bb410392e3991","$ce9b18daab526bbd$export$f45c25170b9a99c2","state","key","_listMap_get","id","$ce9b18daab526bbd$export$e0c709538cb8ae18","$f47efb0c3a859cf2$export$664f9155035607eb","props","ref","isVirtualized","keyboardDelegate","layoutDelegate","onAction","disallowTypeAhead","linkBehavior","keyboardNavigationBehavior","escapeKeyBehavior","shouldSelectOnPressUp","listProps","$lnALe$useSelectableList","$lnALe$useId","descriptionProps","$lnALe$useHighlightSelectionDescription","hasTabbableChild","$lnALe$useHasTabbableChild","domProps","$lnALe$filterDOMProps","gridProps","$lnALe$mergeProps","$lnALe$useGridSelectionAnnouncement","$4e8b0456ef72939f$var$EXPANSION_KEYS","$4e8b0456ef72939f$export$9610e69494fadfd2","_node_props","_node_props1","node","direction","$lxFUG$useLocale","descriptionId","$lxFUG$useSlotId","keyWhenFocused","$lxFUG$useRef","focus","_ref_current","$lxFUG$focusSafely","treeGridRowProps","hasChildRows","hasLink","_state_collection_getChildren","_state_collection","children","isExpanded","setSize","parent","_state_collection_getChildren1","_state_collection1","row","itemProps","itemStates","$lxFUG$useSelectableItem","$lxFUG$chain","onKeyDownCapture","e","walker","$lxFUG$getFocusableTreeWalker","focusable","$lxFUG$scrollIntoViewport","$lxFUG$getScrollParent","lastElement","$4e8b0456ef72939f$var$last","_ref_current_parentElement","onFocus","$lxFUG$isFocusVisible","onKeyDown","syntheticLinkProps","$lxFUG$useSyntheticLinkProps","linkProps","rowProps","$lxFUG$mergeProps","collection","nodes","_collection_getItem","gridCellProps","next","last"],"mappings":";;;;;;;;;;;;;;AAUI,MAAMA,IAA4C,oBAAI,QAAO;AACjE,SAASC,EAA0CC,GAAOC,GAAK;AAC3D,MAAIC;AACJ,MAAI,EAAE,IAAIC,OAAQD,IAAeJ,EAA0C,IAAIE,CAAK,OAAO,QAAQE,MAAiB,SAASA,IAAe,CAAA;AAC5I,MAAI,CAACC,EAAI,OAAM,IAAI,MAAM,cAAc;AACvC,SAAO,GAAGA,CAAE,IAAIC,GAA0CH,CAAG,CAAC;AAClE;AACA,SAASG,GAA0CH,GAAK;AACpD,SAAI,OAAOA,KAAQ,WAAiBA,EAAI,QAAQ,QAAQ,EAAE,IACnD,KAAKA;AAChB;ACCA,SAASI,GAA0CC,GAAON,GAAOO,GAAK;AAClE,MAAI,EAAE,eAAeC,GAAe,kBAAkBC,GAAkB,gBAAgBC,GAAgB,UAAUC,GAAU,mBAAmBC,GAAmB,cAAcC,IAAe,UAAU,4BAA4BC,IAA6B,SAAS,mBAAmBC,IAAoB,kBAAkB,uBAAuBC,EAAqB,IAAKV;AACrX,EAAI,CAACA,EAAM,YAAY,KAAK,CAACA,EAAM,iBAAiB,KAAG,QAAQ,KAAK,sEAAsE;AAC1I,MAAI,EAAE,WAAWW,EAAS,IAASC,EAA0B;AAAA,IACzD,kBAAkBlB,EAAM;AAAA,IACxB,YAAYA,EAAM;AAAA,IAClB,cAAcA,EAAM;AAAA,IACpB,KAAKO;AAAA,IACL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AACJ,eAASA,IAAsBF,EAAW,QAAQ5E,CAAG,OAAO,QAAQ8E,MAAwB,SAAS,SAASA,EAAoB,UAAU;AAAA,IAChJ,CAAC,EAAE,UAAU,CAAC9E,MAAMA,MAAQgC,EAAK,GAAG,IAAI,IAAIA,EAAK,QAAQ;AAAA,EAC7D;AACA,MAAI+C,IAAgB;AAAA,IAChB,MAAM;AAAA,IACN,iBAAiB;AAAA,EACzB;AAEI,SAAO;AAAA,IACH,UAAU;AAAA,MACN,GAAOJ,EAAmBD,GAAUhC,CAAgB;AAAA,IAChE;AAAA,IACQ,eAAeqC;AAAA,IACf,kBAAkB;AAAA,MACd,IAAI5C;AAAA,IAChB;AAAA,IACQ,GAAGoB;AAAA,EACX;AACA;AACA,SAASW,EAA2BN,GAAQ;AACxC,MAAIoB,IAAO,MACPC,IAAO;AACX;AACI,IAAAA,IAAOrB,EAAO,UAAS,GACnBqB,MAAMD,IAAOC;AAAA,SACbA;AACR,SAAOD;AACX;","x_google_ignoreList":[0,1,2]}
@@ -121,8 +121,8 @@ export {
121
121
  M as b,
122
122
  v as c,
123
123
  j as d,
124
- N as e,
125
- R as f,
126
- P as g
124
+ R as e,
125
+ P as f,
126
+ N as g
127
127
  };
128
- //# sourceMappingURL=utils-DDFsiM-7.es.js.map
128
+ //# sourceMappingURL=utils-C9h-oKMi.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils-DDFsiM-7.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/mergeRefs.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/utils.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $5dc95899b306f630$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n let hasCleanup = false;\n const cleanups = refs.map((ref)=>{\n const cleanup = $5dc95899b306f630$var$setRef(ref, value);\n hasCleanup || (hasCleanup = typeof cleanup == 'function');\n return cleanup;\n });\n if (hasCleanup) return ()=>{\n cleanups.forEach((cleanup, i)=>{\n if (typeof cleanup === 'function') cleanup();\n else $5dc95899b306f630$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $5dc95899b306f630$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$5dc95899b306f630$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.module.js.map\n","import {useObjectRef as $iETbY$useObjectRef, mergeRefs as $iETbY$mergeRefs, mergeProps as $iETbY$mergeProps, useLayoutEffect as $iETbY$useLayoutEffect} from \"@react-aria/utils\";\nimport $iETbY$react, {useMemo as $iETbY$useMemo, useContext as $iETbY$useContext, useState as $iETbY$useState, useRef as $iETbY$useRef, useCallback as $iETbY$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $64fa3d84918910a7$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $iETbY$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $64fa3d84918910a7$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values } = props;\n return (0, $iETbY$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName !== null && computedClassName !== void 0 ? computedClassName : defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren !== null && computedChildren !== void 0 ? computedChildren : defaultChildren,\n 'data-rac': ''\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values\n ]);\n}\nfunction $64fa3d84918910a7$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $iETbY$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};\n // @ts-ignore - TS says \"Type 'unique symbol' cannot be used as an index type.\" but not sure why.\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $iETbY$useObjectRef)((0, $iETbY$useMemo)(()=>(0, $iETbY$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $iETbY$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $iETbY$useState)(initialState);\n let hasRun = (0, $iETbY$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $iETbY$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $iETbY$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $64fa3d84918910a7$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$64fa3d84918910a7$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$4d86445c2cf5e3 as useRenderProps, $64fa3d84918910a7$export$c245e6201fed2f75 as composeRenderProps, $64fa3d84918910a7$export$fabf2dc03a41866e as useSlottedContext, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as useSlot, $64fa3d84918910a7$export$ef03459518577ad4 as removeDataAttributes};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$5dc95899b306f630$export$c9058316764c140e","refs","value","hasCleanup","cleanups","ref","cleanup","$5dc95899b306f630$var$setRef","i","$64fa3d84918910a7$export$c62b8e45d58ddad9","$64fa3d84918910a7$export$2881499e37b75b9a","values","children","Context","$iETbY$react","$64fa3d84918910a7$export$4d86445c2cf5e3","props","className","style","defaultClassName","defaultChildren","defaultStyle","$iETbY$useMemo","computedClassName","computedStyle","computedChildren","$64fa3d84918910a7$export$fabf2dc03a41866e","context","slot","ctx","$iETbY$useContext","slotKey","availableSlots","p","errorMessage","$64fa3d84918910a7$export$29f1550f4b0d4415","contextRef","contextProps","mergedRef","$iETbY$useObjectRef","$iETbY$mergeRefs","mergedProps","$iETbY$mergeProps","renderProps","contextStyle","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","initialState","hasSlot","setHasSlot","$iETbY$useState","hasRun","$iETbY$useRef","$iETbY$useCallback","el","$iETbY$useLayoutEffect","$64fa3d84918910a7$export$ef03459518577ad4","prefix","filteredProps","prop"],"mappings":";;;AAUI,SAASA,KAA6CC,GAAM;AAC5D,SAAIA,EAAK,WAAW,KAAKA,EA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CAAI,IAAI1C,EAAM0C,CAAI;AAChF,SAAOD;AACX;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"utils-C9h-oKMi.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@react-aria/utils/dist/mergeRefs.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/react-aria-components/dist/utils.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $5dc95899b306f630$export$c9058316764c140e(...refs) {\n if (refs.length === 1 && refs[0]) return refs[0];\n return (value)=>{\n let hasCleanup = false;\n const cleanups = refs.map((ref)=>{\n const cleanup = $5dc95899b306f630$var$setRef(ref, value);\n hasCleanup || (hasCleanup = typeof cleanup == 'function');\n return cleanup;\n });\n if (hasCleanup) return ()=>{\n cleanups.forEach((cleanup, i)=>{\n if (typeof cleanup === 'function') cleanup();\n else $5dc95899b306f630$var$setRef(refs[i], null);\n });\n };\n };\n}\nfunction $5dc95899b306f630$var$setRef(ref, value) {\n if (typeof ref === 'function') return ref(value);\n else if (ref != null) ref.current = value;\n}\n\n\nexport {$5dc95899b306f630$export$c9058316764c140e as mergeRefs};\n//# sourceMappingURL=mergeRefs.module.js.map\n","import {useObjectRef as $iETbY$useObjectRef, mergeRefs as $iETbY$mergeRefs, mergeProps as $iETbY$mergeProps, useLayoutEffect as $iETbY$useLayoutEffect} from \"@react-aria/utils\";\nimport $iETbY$react, {useMemo as $iETbY$useMemo, useContext as $iETbY$useContext, useState as $iETbY$useState, useRef as $iETbY$useRef, useCallback as $iETbY$useCallback} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nconst $64fa3d84918910a7$export$c62b8e45d58ddad9 = Symbol('default');\nfunction $64fa3d84918910a7$export$2881499e37b75b9a({ values: values, children: children }) {\n for (let [Context, value] of values)// @ts-ignore\n children = /*#__PURE__*/ (0, $iETbY$react).createElement(Context.Provider, {\n value: value\n }, children);\n return children;\n}\nfunction $64fa3d84918910a7$export$4d86445c2cf5e3(props) {\n let { className: className, style: style, children: children, defaultClassName: defaultClassName, defaultChildren: defaultChildren, defaultStyle: defaultStyle, values: values } = props;\n return (0, $iETbY$useMemo)(()=>{\n let computedClassName;\n let computedStyle;\n let computedChildren;\n if (typeof className === 'function') computedClassName = className({\n ...values,\n defaultClassName: defaultClassName\n });\n else computedClassName = className;\n if (typeof style === 'function') computedStyle = style({\n ...values,\n defaultStyle: defaultStyle || {}\n });\n else computedStyle = style;\n if (typeof children === 'function') computedChildren = children({\n ...values,\n defaultChildren: defaultChildren\n });\n else if (children == null) computedChildren = defaultChildren;\n else computedChildren = children;\n return {\n className: computedClassName !== null && computedClassName !== void 0 ? computedClassName : defaultClassName,\n style: computedStyle || defaultStyle ? {\n ...defaultStyle,\n ...computedStyle\n } : undefined,\n children: computedChildren !== null && computedChildren !== void 0 ? computedChildren : defaultChildren,\n 'data-rac': ''\n };\n }, [\n className,\n style,\n children,\n defaultClassName,\n defaultChildren,\n defaultStyle,\n values\n ]);\n}\nfunction $64fa3d84918910a7$export$c245e6201fed2f75(// https://stackoverflow.com/questions/60898079/typescript-type-t-or-function-t-usage\nvalue, wrap) {\n return (renderProps)=>wrap(typeof value === 'function' ? value(renderProps) : value, renderProps);\n}\nfunction $64fa3d84918910a7$export$fabf2dc03a41866e(context, slot) {\n let ctx = (0, $iETbY$useContext)(context);\n if (slot === null) // An explicit `null` slot means don't use context.\n return null;\n if (ctx && typeof ctx === 'object' && 'slots' in ctx && ctx.slots) {\n let slotKey = slot || $64fa3d84918910a7$export$c62b8e45d58ddad9;\n if (!ctx.slots[slotKey]) {\n let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map((p)=>`\"${p}\"`));\n let errorMessage = slot ? `Invalid slot \"${slot}\".` : 'A slot prop is required.';\n throw new Error(`${errorMessage} Valid slot names are ${availableSlots}.`);\n }\n return ctx.slots[slotKey];\n }\n // @ts-ignore\n return ctx;\n}\nfunction $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, context) {\n let ctx = $64fa3d84918910a7$export$fabf2dc03a41866e(context, props.slot) || {};\n // @ts-ignore - TS says \"Type 'unique symbol' cannot be used as an index type.\" but not sure why.\n let { ref: contextRef, ...contextProps } = ctx;\n let mergedRef = (0, $iETbY$useObjectRef)((0, $iETbY$useMemo)(()=>(0, $iETbY$mergeRefs)(ref, contextRef), [\n ref,\n contextRef\n ]));\n let mergedProps = (0, $iETbY$mergeProps)(contextProps, props);\n // mergeProps does not merge `style`. Adding this there might be a breaking change.\n if ('style' in contextProps && contextProps.style && 'style' in props && props.style) {\n if (typeof contextProps.style === 'function' || typeof props.style === 'function') // @ts-ignore\n mergedProps.style = (renderProps)=>{\n let contextStyle = typeof contextProps.style === 'function' ? contextProps.style(renderProps) : contextProps.style;\n let defaultStyle = {\n ...renderProps.defaultStyle,\n ...contextStyle\n };\n let style = typeof props.style === 'function' ? props.style({\n ...renderProps,\n defaultStyle: defaultStyle\n }) : props.style;\n return {\n ...defaultStyle,\n ...style\n };\n };\n else // @ts-ignore\n mergedProps.style = {\n ...contextProps.style,\n ...props.style\n };\n }\n return [\n mergedProps,\n mergedRef\n ];\n}\nfunction $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(initialState = true) {\n // Initial state is typically based on the parent having an aria-label or aria-labelledby.\n // If it does, this value should be false so that we don't update the state and cause a rerender when we go through the layoutEffect\n let [hasSlot, setHasSlot] = (0, $iETbY$useState)(initialState);\n let hasRun = (0, $iETbY$useRef)(false);\n // A callback ref which will run when the slotted element mounts.\n // This should happen before the useLayoutEffect below.\n let ref = (0, $iETbY$useCallback)((el)=>{\n hasRun.current = true;\n setHasSlot(!!el);\n }, []);\n // If the callback hasn't been called, then reset to false.\n (0, $iETbY$useLayoutEffect)(()=>{\n if (!hasRun.current) setHasSlot(false);\n }, []);\n return [\n ref,\n hasSlot\n ];\n}\nfunction $64fa3d84918910a7$export$ef03459518577ad4(props) {\n const prefix = /^(data-.*)$/;\n let filteredProps = {};\n for(const prop in props)if (!prefix.test(prop)) filteredProps[prop] = props[prop];\n return filteredProps;\n}\n\n\nexport {$64fa3d84918910a7$export$c62b8e45d58ddad9 as DEFAULT_SLOT, $64fa3d84918910a7$export$2881499e37b75b9a as Provider, $64fa3d84918910a7$export$4d86445c2cf5e3 as useRenderProps, $64fa3d84918910a7$export$c245e6201fed2f75 as composeRenderProps, $64fa3d84918910a7$export$fabf2dc03a41866e as useSlottedContext, $64fa3d84918910a7$export$29f1550f4b0d4415 as useContextProps, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as useSlot, $64fa3d84918910a7$export$ef03459518577ad4 as removeDataAttributes};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$5dc95899b306f630$export$c9058316764c140e","refs","value","hasCleanup","cleanups","ref","cleanup","$5dc95899b306f630$var$setRef","i","$64fa3d84918910a7$export$c62b8e45d58ddad9","$64fa3d84918910a7$export$2881499e37b75b9a","values","children","Context","$iETbY$react","$64fa3d84918910a7$export$4d86445c2cf5e3","props","className","style","defaultClassName","defaultChildren","defaultStyle","$iETbY$useMemo","computedClassName","computedStyle","computedChildren","$64fa3d84918910a7$export$fabf2dc03a41866e","context","slot","ctx","$iETbY$useContext","slotKey","availableSlots","p","errorMessage","$64fa3d84918910a7$export$29f1550f4b0d4415","contextRef","contextProps","mergedRef","$iETbY$useObjectRef","$iETbY$mergeRefs","mergedProps","$iETbY$mergeProps","renderProps","contextStyle","$64fa3d84918910a7$export$9d4c57ee4c6ffdd8","initialState","hasSlot","setHasSlot","$iETbY$useState","hasRun","$iETbY$useRef","$iETbY$useCallback","el","$iETbY$useLayoutEffect","$64fa3d84918910a7$export$ef03459518577ad4","prefix","filteredProps","prop"],"mappings":";;;AAUI,SAASA,KAA6CC,GAAM;AAC5D,SAAIA,EAAK,WAAW,KAAKA,EAAK,CAAC,IAAUA,EAAK,CAAC,IACxC,CAACC,MAAQ;AACZ,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACI,MAAM;AAC7B,YAAMC,IAAUC,EAA6BF,GAAKH,CAAK;AACvD,aAAAC,MAAeA,IAAa,OAAOG,KAAW,aACvCA;AAAA,IACX,CAAC;AACD,QAAIH,EAAY,QAAO,MAAI;AACvB,MAAAC,EAAS,QAAQ,CAACE,GAASE,MAAI;AAC3B,QAAI,OAAOF,KAAY,aAAYA,EAAO,IACrCC,EAA6BN,EAAKO,CAAC,GAAG,IAAI;AAAA,MACnD,CAAC;AAAA,IACL;AAAA,EACJ;AACJ;AACA,SAASD,EAA6BF,GAAKH,GAAO;AAC9C,MAAI,OAAOG,KAAQ,WAAY,QAAOA,EAAIH,CAAK;AAC1C,EAAIG,KAAO,SAAMA,EAAI,UAAUH;AACxC;ACfK,MAACO,IAA4C,uBAAO,SAAS;AAClE,SAASC,EAA0C,EAAE,QAAQC,GAAQ,UAAUC,EAAQ,GAAI;AACvF,WAAS,CAACC,GAASX,CAAK,KAAKS;AAC7B,IAAAC,IAA6BE,gBAAAA,EAAc,cAAcD,EAAQ,UAAU;AAAA,MACvE,OAAOX;AAAA,IACf,GAAOU,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EAAiBH,CAAY,GACzDI,IAAaC,EAAe,EAAK,GAGjC9C,IAAU+C,EAAoB,CAACC,MAAK;AACpC,IAAAH,EAAO,UAAU,IACjBF,EAAW,CAAC,CAACK,CAAE;AAAA,EACnB,GAAG,CAAA,CAAE;AAEL,SAAIC,EAAwB,MAAI;AAC5B,IAAKJ,EAAO,WAASF,EAAW,EAAK;AAAA,EACzC,GAAG,CAAA,CAAE,GACE;AAAA,IACH3C;AAAA,IACA0C;AAAA,EACR;AACA;AACA,SAASQ,EAA0CvC,GAAO;AACtD,QAAMwC,IAAS;AACf,MAAIC,IAAgB,CAAA;AACpB,aAAUC,KAAQ1C,EAAM,CAAKwC,EAAO,KAAKE,CAAI,MAAGD,EAAcC,CAAI,IAAI1C,EAAM0C,CAAI;AAChF,SAAOD;AACX;","x_google_ignoreList":[0,1]}
@@ -1,4 +1,4 @@
1
- import { A as n, d as r, c as a, e as d, b as e, a as t } from "../chunks/accordion-DlzioxZU.es.js";
1
+ import { A as n, d as r, c as a, e as d, b as e, a as t } from "../chunks/accordion-N1sk9qtr.es.js";
2
2
  export {
3
3
  n as Accordion,
4
4
  r as _AccordionContent,
@@ -1,4 +1,4 @@
1
- import { A as e, d as r, c as A, e as a, a as l, b as o } from "../chunks/alert-D6lQn_oG.es.js";
1
+ import { A as e, d as r, c as A, e as a, a as l, b as o } from "../chunks/alert-B_cXh_PL.es.js";
2
2
  export {
3
3
  e as Alert,
4
4
  r as _AlertActions,
@@ -1,4 +1,4 @@
1
- import { B as r } from "../chunks/button-Do9q1MTT.es.js";
1
+ import { B as r } from "../chunks/button-BftzFlN_.es.js";
2
2
  export {
3
3
  r as Button
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as e } from "../chunks/calendar-BST-T9-q.es.js";
1
+ import { C as e } from "../chunks/calendar-9EAF2QKe.es.js";
2
2
  export {
3
3
  e as Calendar
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as r } from "../chunks/checkbox-CAJEchsf.es.js";
1
+ import { C as r } from "../chunks/checkbox-CBM1Jtao.es.js";
2
2
  export {
3
3
  r as Checkbox
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as a } from "../chunks/collapsible-motion-CxojZk38.es.js";
1
+ import { C as a } from "../chunks/collapsible-motion-r-nKRk9V.es.js";
2
2
  export {
3
3
  a as CollapsibleMotion
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as b, c as m, b as x, a as C } from "../chunks/combobox-CEzSqHec.es.js";
1
+ import { C as b, c as m, b as x, a as C } from "../chunks/combobox-3dU8uPF8.es.js";
2
2
  export {
3
3
  b as ComboBox,
4
4
  m as _ComboBoxOption,
@@ -1,4 +1,4 @@
1
- import { d as g, g as i, b as e, e as l, c as s, D, f as r, a as t } from "../chunks/dialog.title-Ca6IrsF1.es.js";
1
+ import { d as g, g as i, b as e, e as l, c as s, D, f as r, a as t } from "../chunks/dialog.title-BGitJtGl.es.js";
2
2
  export {
3
3
  g as DialogBody,
4
4
  i as DialogCloseTrigger,
@@ -1,4 +1,4 @@
1
- import { D as l, e as t, g as b, d as s, i as D, h as T, c as o, j as _, a as d, f as n, k as r, b as c } from "../chunks/data-table-Q1jMQV1t.es.js";
1
+ import { D as l, e as t, g as b, d as s, i as D, h as T, c as o, j as _, a as d, f as n, k as r, b as c } from "../chunks/data-table-CZPp3eJq.es.js";
2
2
  export {
3
3
  l as DataTable,
4
4
  t as _DataTableBody,
@@ -1,4 +1,4 @@
1
- import { D as e } from "../chunks/date-input-0qwp6dtK.es.js";
1
+ import { D as e } from "../chunks/date-input-C5zzmmL_.es.js";
2
2
  export {
3
3
  e as DateInput
4
4
  };
@@ -1,4 +1,4 @@
1
- import { D as a } from "../chunks/date-picker-DbZj9za5.es.js";
1
+ import { D as a } from "../chunks/date-picker-DmXjkurc.es.js";
2
2
  export {
3
3
  a as DatePicker
4
4
  };
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("../chunks/date-range-picker.field-BKJc4Vaj.cjs.js");exports.DateRangePickerField=e.DateRangePickerField;
2
+ //# sourceMappingURL=date-range-picker-field.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-range-picker-field.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}