@commercetools/nimbus 2.0.1-rc3 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/dist/chunks/{accordion-CKDnNkVv.es.js → accordion-CrISuCHH.es.js} +2 -2
  2. package/dist/chunks/accordion-CrISuCHH.es.js.map +1 -0
  3. package/dist/chunks/accordion-D7a9HHSH.cjs.js +2 -0
  4. package/dist/chunks/accordion-D7a9HHSH.cjs.js.map +1 -0
  5. package/dist/chunks/calendar-0Tr21POc.cjs.js +2 -0
  6. package/dist/chunks/calendar-0Tr21POc.cjs.js.map +1 -0
  7. package/dist/chunks/{calendar-lD6G93R9.es.js → calendar-okvAi9qK.es.js} +2 -2
  8. package/dist/chunks/calendar-okvAi9qK.es.js.map +1 -0
  9. package/dist/chunks/{checkbox-BB-WJdal.es.js → checkbox-Bp0eyZ6q.es.js} +2 -2
  10. package/dist/chunks/{checkbox-BB-WJdal.es.js.map → checkbox-Bp0eyZ6q.es.js.map} +1 -1
  11. package/dist/chunks/checkbox-QQkdNVJO.cjs.js +2 -0
  12. package/dist/chunks/{checkbox-Dod-yTj4.cjs.js.map → checkbox-QQkdNVJO.cjs.js.map} +1 -1
  13. package/dist/chunks/collapsible-motion-CykDlHn3.cjs.js +2 -0
  14. package/dist/chunks/collapsible-motion-CykDlHn3.cjs.js.map +1 -0
  15. package/dist/chunks/{collapsible-motion-CSrKjF8X.es.js → collapsible-motion-DPqgzRWq.es.js} +2 -2
  16. package/dist/chunks/collapsible-motion-DPqgzRWq.es.js.map +1 -0
  17. package/dist/chunks/combobox-Bntl4sYo.cjs.js +2 -0
  18. package/dist/chunks/{combobox-B5UxZWSX.cjs.js.map → combobox-Bntl4sYo.cjs.js.map} +1 -1
  19. package/dist/chunks/{combobox-D_7gr3DY.es.js → combobox-DYREbkL7.es.js} +2 -2
  20. package/dist/chunks/{combobox-D_7gr3DY.es.js.map → combobox-DYREbkL7.es.js.map} +1 -1
  21. package/dist/chunks/data-table-BhV1DJXJ.cjs.js +2 -0
  22. package/dist/chunks/{data-table-C51WU0Cc.cjs.js.map → data-table-BhV1DJXJ.cjs.js.map} +1 -1
  23. package/dist/chunks/{data-table-ClMivKY1.es.js → data-table-TSza8b10.es.js} +4 -4
  24. package/dist/chunks/{data-table-ClMivKY1.es.js.map → data-table-TSza8b10.es.js.map} +1 -1
  25. package/dist/chunks/date-input-B84sXbjL.cjs.js +2 -0
  26. package/dist/chunks/date-input-B84sXbjL.cjs.js.map +1 -0
  27. package/dist/chunks/{date-input-Cap8-3zj.es.js → date-input-BiOdvpWz.es.js} +2 -2
  28. package/dist/chunks/date-input-BiOdvpWz.es.js.map +1 -0
  29. package/dist/chunks/date-picker-2SDD5gY9.cjs.js +2 -0
  30. package/dist/chunks/{date-picker-CZAoPNsT.cjs.js.map → date-picker-2SDD5gY9.cjs.js.map} +1 -1
  31. package/dist/chunks/{date-picker-ChZ8H-MT.es.js → date-picker-EuMU6RtR.es.js} +5 -5
  32. package/dist/chunks/{date-picker-ChZ8H-MT.es.js.map → date-picker-EuMU6RtR.es.js.map} +1 -1
  33. package/dist/chunks/{date-range-picker-DGWMdcAN.es.js → date-range-picker-CL-QH8BW.es.js} +5 -5
  34. package/dist/chunks/{date-range-picker-DGWMdcAN.es.js.map → date-range-picker-CL-QH8BW.es.js.map} +1 -1
  35. package/dist/chunks/date-range-picker-DmHmhMvU.cjs.js +2 -0
  36. package/dist/chunks/{date-range-picker-iENzosfN.cjs.js.map → date-range-picker-DmHmhMvU.cjs.js.map} +1 -1
  37. package/dist/chunks/{dialog-CKwC3dk3.cjs.js → dialog-BeKbQUsU.cjs.js} +2 -2
  38. package/dist/chunks/{dialog-CKwC3dk3.cjs.js.map → dialog-BeKbQUsU.cjs.js.map} +1 -1
  39. package/dist/chunks/{dialog-BwtIcIvd.es.js → dialog-C9Dn6GoU.es.js} +2 -2
  40. package/dist/chunks/{dialog-BwtIcIvd.es.js.map → dialog-C9Dn6GoU.es.js.map} +1 -1
  41. package/dist/chunks/{dialog.title-CP_ZeiK4.es.js → dialog.title-CfBfNT9q.es.js} +2 -2
  42. package/dist/chunks/dialog.title-CfBfNT9q.es.js.map +1 -0
  43. package/dist/chunks/dialog.title-CynBe3KN.cjs.js +2 -0
  44. package/dist/chunks/dialog.title-CynBe3KN.cjs.js.map +1 -0
  45. package/dist/chunks/{draggable-list-s43baxoM.es.js → draggable-list-3KlajQgQ.es.js} +3 -3
  46. package/dist/chunks/{draggable-list-s43baxoM.es.js.map → draggable-list-3KlajQgQ.es.js.map} +1 -1
  47. package/dist/chunks/{draggable-list-MGvr5-A-.cjs.js → draggable-list-uMR8JUsT.cjs.js} +2 -2
  48. package/dist/chunks/{draggable-list-MGvr5-A-.cjs.js.map → draggable-list-uMR8JUsT.cjs.js.map} +1 -1
  49. package/dist/chunks/{drawer-BJ4qvGnj.es.js → drawer-CT5qAdLo.es.js} +2 -2
  50. package/dist/chunks/drawer-CT5qAdLo.es.js.map +1 -0
  51. package/dist/chunks/drawer-vgDYdzlq.cjs.js +2 -0
  52. package/dist/chunks/drawer-vgDYdzlq.cjs.js.map +1 -0
  53. package/dist/chunks/{extractStyleProps-DYXEhLtq.es.js → extract-style-props-DYXEhLtq.es.js} +1 -1
  54. package/dist/chunks/extract-style-props-DYXEhLtq.es.js.map +1 -0
  55. package/dist/chunks/{extractStyleProps-Dk3fpLyQ.cjs.js → extract-style-props-Dk3fpLyQ.cjs.js} +1 -1
  56. package/dist/chunks/extract-style-props-Dk3fpLyQ.cjs.js.map +1 -0
  57. package/dist/chunks/group-BqUFlw5R.cjs.js.map +1 -1
  58. package/dist/chunks/group-CWADf2vF.es.js.map +1 -1
  59. package/dist/chunks/icon-CenxuChf.es.js.map +1 -1
  60. package/dist/chunks/icon-D39U--jA.cjs.js.map +1 -1
  61. package/dist/chunks/{icon-toggle-button-Bi-9Obfx.es.js → icon-toggle-button-Bt_1Mdus.es.js} +2 -2
  62. package/dist/chunks/{icon-toggle-button-Bi-9Obfx.es.js.map → icon-toggle-button-Bt_1Mdus.es.js.map} +1 -1
  63. package/dist/chunks/{icon-toggle-button-eLrsWehe.cjs.js → icon-toggle-button-Bv-FwWwz.cjs.js} +2 -2
  64. package/dist/chunks/{icon-toggle-button-eLrsWehe.cjs.js.map → icon-toggle-button-Bv-FwWwz.cjs.js.map} +1 -1
  65. package/dist/chunks/kbd-BaeV_DL-.cjs.js.map +1 -1
  66. package/dist/chunks/kbd-CH9rYghB.es.js.map +1 -1
  67. package/dist/chunks/{localized-field-D3G0Uy7Z.es.js → localized-field-Bp4N2Mvl.es.js} +5 -5
  68. package/dist/chunks/{localized-field-D3G0Uy7Z.es.js.map → localized-field-Bp4N2Mvl.es.js.map} +1 -1
  69. package/dist/chunks/{localized-field-C7Vribb2.cjs.js → localized-field-Cmwb6fmQ.cjs.js} +2 -2
  70. package/dist/chunks/{localized-field-C7Vribb2.cjs.js.map → localized-field-Cmwb6fmQ.cjs.js.map} +1 -1
  71. package/dist/chunks/menu-SXtkybBB.cjs.js +2 -0
  72. package/dist/chunks/menu-SXtkybBB.cjs.js.map +1 -0
  73. package/dist/chunks/{menu-D-vE6ZpM.es.js → menu-XKnGXngu.es.js} +2 -2
  74. package/dist/chunks/menu-XKnGXngu.es.js.map +1 -0
  75. package/dist/chunks/{money-input-sk0Slpeu.es.js → money-input-BqYBGLzc.es.js} +4 -4
  76. package/dist/chunks/{money-input-sk0Slpeu.es.js.map → money-input-BqYBGLzc.es.js.map} +1 -1
  77. package/dist/chunks/money-input-Cz8E18lq.cjs.js +2 -0
  78. package/dist/chunks/{money-input-Cu_J86Eu.cjs.js.map → money-input-Cz8E18lq.cjs.js.map} +1 -1
  79. package/dist/chunks/{multiline-text-input-CilSJJaO.es.js → multiline-text-input-AyyHGKY2.es.js} +2 -2
  80. package/dist/chunks/multiline-text-input-AyyHGKY2.es.js.map +1 -0
  81. package/dist/chunks/multiline-text-input-jGidPD3q.cjs.js +2 -0
  82. package/dist/chunks/multiline-text-input-jGidPD3q.cjs.js.map +1 -0
  83. package/dist/chunks/number-input-CynG_F-c.cjs.js +2 -0
  84. package/dist/chunks/{number-input-wMW-o4di.cjs.js.map → number-input-CynG_F-c.cjs.js.map} +1 -1
  85. package/dist/chunks/{number-input-CktMxOdZ.es.js → number-input-rotBI7ui.es.js} +2 -2
  86. package/dist/chunks/{number-input-CktMxOdZ.es.js.map → number-input-rotBI7ui.es.js.map} +1 -1
  87. package/dist/chunks/{pagination-BWdg8s6g.cjs.js → pagination-DdMhz-Ka.cjs.js} +2 -2
  88. package/dist/chunks/{pagination-BWdg8s6g.cjs.js.map → pagination-DdMhz-Ka.cjs.js.map} +1 -1
  89. package/dist/chunks/{pagination-Bcq69Nv3.es.js → pagination-Dqt0f5WQ.es.js} +3 -3
  90. package/dist/chunks/{pagination-Bcq69Nv3.es.js.map → pagination-Dqt0f5WQ.es.js.map} +1 -1
  91. package/dist/chunks/{password-input-6SMjhXSO.cjs.js → password-input-BVHKD6s2.cjs.js} +2 -2
  92. package/dist/chunks/{password-input-6SMjhXSO.cjs.js.map → password-input-BVHKD6s2.cjs.js.map} +1 -1
  93. package/dist/chunks/{password-input-6MO4I-2j.es.js → password-input-DRmX3C3I.es.js} +2 -2
  94. package/dist/chunks/{password-input-6MO4I-2j.es.js.map → password-input-DRmX3C3I.es.js.map} +1 -1
  95. package/dist/chunks/popover-CfEq5G5-.cjs.js.map +1 -1
  96. package/dist/chunks/popover-DNaC7CwB.es.js.map +1 -1
  97. package/dist/chunks/progress-bar-CmQaITmw.cjs.js +2 -0
  98. package/dist/chunks/progress-bar-CmQaITmw.cjs.js.map +1 -0
  99. package/dist/chunks/{progress-bar-DwuOjOcH.es.js → progress-bar-DGFMl3Vg.es.js} +2 -2
  100. package/dist/chunks/progress-bar-DGFMl3Vg.es.js.map +1 -0
  101. package/dist/chunks/radio-input-Cg5MZ21w.cjs.js +2 -0
  102. package/dist/chunks/{radio-input-Dp05SXja.cjs.js.map → radio-input-Cg5MZ21w.cjs.js.map} +1 -1
  103. package/dist/chunks/{radio-input-4jw6HUjC.es.js → radio-input-DPwU5M16.es.js} +2 -2
  104. package/dist/chunks/{radio-input-4jw6HUjC.es.js.map → radio-input-DPwU5M16.es.js.map} +1 -1
  105. package/dist/chunks/{range-calendar-DBpl6y5i.es.js → range-calendar-PUt59Hda.es.js} +2 -2
  106. package/dist/chunks/range-calendar-PUt59Hda.es.js.map +1 -0
  107. package/dist/chunks/range-calendar-lhmomEF_.cjs.js +2 -0
  108. package/dist/chunks/range-calendar-lhmomEF_.cjs.js.map +1 -0
  109. package/dist/chunks/{rich-text-input-BC8CBVio.es.js → rich-text-input-Cm0M04n-.es.js} +6 -6
  110. package/dist/chunks/rich-text-input-Cm0M04n-.es.js.map +1 -0
  111. package/dist/chunks/{rich-text-input-Da5WFZ3l.cjs.js → rich-text-input-DqwZD5Di.cjs.js} +2 -2
  112. package/dist/chunks/rich-text-input-DqwZD5Di.cjs.js.map +1 -0
  113. package/dist/chunks/search-input-BvJKOCVM.cjs.js +2 -0
  114. package/dist/chunks/{search-input-BefkmgPy.cjs.js.map → search-input-BvJKOCVM.cjs.js.map} +1 -1
  115. package/dist/chunks/{search-input-DJy2NHYW.es.js → search-input-C8cD1bnn.es.js} +2 -2
  116. package/dist/chunks/{search-input-DJy2NHYW.es.js.map → search-input-C8cD1bnn.es.js.map} +1 -1
  117. package/dist/chunks/select-DfuSGQSs.cjs.js +2 -0
  118. package/dist/chunks/{select-DMsU6bk9.cjs.js.map → select-DfuSGQSs.cjs.js.map} +1 -1
  119. package/dist/chunks/{select-BmMhTBo-.es.js → select-X1qJU5Yn.es.js} +2 -2
  120. package/dist/chunks/{select-BmMhTBo-.es.js.map → select-X1qJU5Yn.es.js.map} +1 -1
  121. package/dist/chunks/{separator-DJGUFG-o.es.js → separator-BHD3Ztot.es.js} +2 -2
  122. package/dist/chunks/separator-BHD3Ztot.es.js.map +1 -0
  123. package/dist/chunks/separator-FEY8A05K.cjs.js +2 -0
  124. package/dist/chunks/separator-FEY8A05K.cjs.js.map +1 -0
  125. package/dist/chunks/{split-button-BxyZmuNi.es.js → split-button-LENwoBTF.es.js} +2 -2
  126. package/dist/chunks/split-button-LENwoBTF.es.js.map +1 -0
  127. package/dist/chunks/{split-button-BO52sL7h.cjs.js → split-button-go3Ez6Ea.cjs.js} +2 -2
  128. package/dist/chunks/split-button-go3Ez6Ea.cjs.js.map +1 -0
  129. package/dist/chunks/{switch-01hEhL9A.es.js → switch-BDRu376G.es.js} +2 -2
  130. package/dist/chunks/switch-BDRu376G.es.js.map +1 -0
  131. package/dist/chunks/switch-RPIMfaqs.cjs.js +2 -0
  132. package/dist/chunks/switch-RPIMfaqs.cjs.js.map +1 -0
  133. package/dist/chunks/{tabs-Dhte-RCe.es.js → tabs-BtWK-J_p.es.js} +2 -2
  134. package/dist/chunks/{tabs-Dhte-RCe.es.js.map → tabs-BtWK-J_p.es.js.map} +1 -1
  135. package/dist/chunks/tabs-CEB3Dfex.cjs.js +2 -0
  136. package/dist/chunks/{tabs-CJ0OAUSR.cjs.js.map → tabs-CEB3Dfex.cjs.js.map} +1 -1
  137. package/dist/chunks/tag-group-Btt0egzG.cjs.js.map +1 -1
  138. package/dist/chunks/tag-group-D2dgXSsV.es.js.map +1 -1
  139. package/dist/chunks/text-input-CKGfCx6k.cjs.js +2 -0
  140. package/dist/chunks/text-input-CKGfCx6k.cjs.js.map +1 -0
  141. package/dist/chunks/{text-input-CSAODlCw.es.js → text-input-DNorjU50.es.js} +2 -2
  142. package/dist/chunks/text-input-DNorjU50.es.js.map +1 -0
  143. package/dist/chunks/{time-input--a_qv-Jk.es.js → time-input-B6we5H7C.es.js} +2 -2
  144. package/dist/chunks/time-input-B6we5H7C.es.js.map +1 -0
  145. package/dist/chunks/time-input-CweVZv1Q.cjs.js +2 -0
  146. package/dist/chunks/time-input-CweVZv1Q.cjs.js.map +1 -0
  147. package/dist/chunks/toggle-button-CLEgCPGX.cjs.js +2 -0
  148. package/dist/chunks/toggle-button-CLEgCPGX.cjs.js.map +1 -0
  149. package/dist/chunks/{toggle-button-awb1jBf8.es.js → toggle-button-D3M4e72c.es.js} +2 -2
  150. package/dist/chunks/toggle-button-D3M4e72c.es.js.map +1 -0
  151. package/dist/chunks/{toolbar-Dduysqqi.es.js → toolbar-Bn9pAwjU.es.js} +2 -2
  152. package/dist/chunks/toolbar-Bn9pAwjU.es.js.map +1 -0
  153. package/dist/chunks/toolbar-D3Jj83mp.cjs.js +2 -0
  154. package/dist/chunks/{toolbar-DV0l5MqA.cjs.js.map → toolbar-D3Jj83mp.cjs.js.map} +1 -1
  155. package/dist/chunks/tooltip-BPTOkK7W.cjs.js.map +1 -1
  156. package/dist/chunks/tooltip-sgakxhiy.es.js.map +1 -1
  157. package/dist/components/accordion/accordion.slots.d.ts +1 -1
  158. package/dist/components/accordion/accordion.types.d.ts +4 -4
  159. package/dist/components/accordion.cjs +1 -1
  160. package/dist/components/accordion.es.js +1 -1
  161. package/dist/components/calendar/calendar.slots.d.ts +1 -1
  162. package/dist/components/calendar.cjs +1 -1
  163. package/dist/components/calendar.es.js +1 -1
  164. package/dist/components/checkbox.cjs +1 -1
  165. package/dist/components/checkbox.es.js +1 -1
  166. package/dist/components/collapsible-motion/collapsible-motion.slots.d.ts +1 -1
  167. package/dist/components/collapsible-motion.cjs +1 -1
  168. package/dist/components/collapsible-motion.es.js +1 -1
  169. package/dist/components/combobox/combobox.slots.d.ts +1 -1
  170. package/dist/components/combobox.cjs +1 -1
  171. package/dist/components/combobox.es.js +1 -1
  172. package/dist/components/components.cjs +1 -1
  173. package/dist/components/components.es.js +1 -1
  174. package/dist/components/data-table.cjs +1 -1
  175. package/dist/components/data-table.es.js +1 -1
  176. package/dist/components/date-input.cjs +1 -1
  177. package/dist/components/date-input.es.js +1 -1
  178. package/dist/components/date-picker.cjs +1 -1
  179. package/dist/components/date-picker.es.js +1 -1
  180. package/dist/components/date-range-picker.cjs +1 -1
  181. package/dist/components/date-range-picker.es.js +1 -1
  182. package/dist/components/dialog.cjs +1 -1
  183. package/dist/components/dialog.es.js +1 -1
  184. package/dist/components/draggable-list.cjs +1 -1
  185. package/dist/components/draggable-list.es.js +1 -1
  186. package/dist/components/drawer.cjs +1 -1
  187. package/dist/components/drawer.es.js +1 -1
  188. package/dist/components/group/group.slots.d.ts +1 -1
  189. package/dist/components/icon/icon.slots.d.ts +1 -1
  190. package/dist/components/icon-toggle-button.cjs +1 -1
  191. package/dist/components/icon-toggle-button.es.js +1 -1
  192. package/dist/components/kbd/kbd.slots.d.ts +1 -1
  193. package/dist/components/localized-field.cjs +1 -1
  194. package/dist/components/localized-field.es.js +1 -1
  195. package/dist/components/menu/menu.slots.d.ts +1 -1
  196. package/dist/components/money-input.cjs +1 -1
  197. package/dist/components/money-input.es.js +1 -1
  198. package/dist/components/multiline-text-input.cjs +1 -1
  199. package/dist/components/multiline-text-input.es.js +1 -1
  200. package/dist/components/number-input.cjs +1 -1
  201. package/dist/components/number-input.es.js +1 -1
  202. package/dist/components/pagination.cjs +1 -1
  203. package/dist/components/pagination.es.js +1 -1
  204. package/dist/components/password-input.cjs +1 -1
  205. package/dist/components/password-input.es.js +1 -1
  206. package/dist/components/popover/popover.slots.d.ts +1 -1
  207. package/dist/components/progress-bar.cjs +1 -1
  208. package/dist/components/progress-bar.es.js +1 -1
  209. package/dist/components/radio-input.cjs +1 -1
  210. package/dist/components/radio-input.es.js +1 -1
  211. package/dist/components/range-calendar/range-calendar.slots.d.ts +1 -1
  212. package/dist/components/range-calendar.cjs +1 -1
  213. package/dist/components/range-calendar.es.js +1 -1
  214. package/dist/components/rich-text-input/rich-text-input.slots.d.ts +1 -1
  215. package/dist/components/rich-text-input.cjs +1 -1
  216. package/dist/components/rich-text-input.es.js +1 -1
  217. package/dist/components/scoped-search-input.cjs +1 -1
  218. package/dist/components/scoped-search-input.cjs.map +1 -1
  219. package/dist/components/scoped-search-input.es.js +3 -3
  220. package/dist/components/scoped-search-input.es.js.map +1 -1
  221. package/dist/components/search-input.cjs +1 -1
  222. package/dist/components/search-input.es.js +1 -1
  223. package/dist/components/select.cjs +1 -1
  224. package/dist/components/select.es.js +1 -1
  225. package/dist/components/separator/separator.slots.d.ts +1 -1
  226. package/dist/components/separator.cjs +1 -1
  227. package/dist/components/separator.es.js +1 -1
  228. package/dist/components/split-button/split-button.slots.d.ts +1 -1
  229. package/dist/components/split-button.cjs +1 -1
  230. package/dist/components/split-button.es.js +1 -1
  231. package/dist/components/switch/switch.slots.d.ts +1 -1
  232. package/dist/components/switch.cjs +1 -1
  233. package/dist/components/switch.es.js +1 -1
  234. package/dist/components/tabs/tabs.slots.d.ts +1 -1
  235. package/dist/components/tabs.cjs +1 -1
  236. package/dist/components/tabs.es.js +1 -1
  237. package/dist/components/tag-group/tag-group.slots.d.ts +1 -1
  238. package/dist/components/text-input.cjs +1 -1
  239. package/dist/components/text-input.es.js +1 -1
  240. package/dist/components/time-input.cjs +1 -1
  241. package/dist/components/time-input.es.js +1 -1
  242. package/dist/components/toggle-button.cjs +1 -1
  243. package/dist/components/toggle-button.es.js +1 -1
  244. package/dist/components/toolbar.cjs +1 -1
  245. package/dist/components/toolbar.es.js +1 -1
  246. package/dist/components/tooltip/tooltip.slots.d.ts +1 -1
  247. package/dist/components/tooltip/tooltip.types.d.ts +2 -2
  248. package/dist/index.cjs +1 -1
  249. package/dist/index.cjs.map +1 -1
  250. package/dist/index.d.ts +1 -1
  251. package/dist/index.es.js +197 -202
  252. package/dist/index.es.js.map +1 -1
  253. package/dist/type-utils/index.d.ts +2 -0
  254. package/dist/{components/utils/type-helpers.d.ts → type-utils/omit-props.d.ts} +5 -5
  255. package/dist/utils/extract-aria-attributes.d.ts +6 -0
  256. package/dist/utils/index.d.ts +3 -3
  257. package/package.json +5 -5
  258. package/dist/chunks/accordion-B2FLWAh5.cjs.js +0 -2
  259. package/dist/chunks/accordion-B2FLWAh5.cjs.js.map +0 -1
  260. package/dist/chunks/accordion-CKDnNkVv.es.js.map +0 -1
  261. package/dist/chunks/calendar-V0KeNCQ3.cjs.js +0 -2
  262. package/dist/chunks/calendar-V0KeNCQ3.cjs.js.map +0 -1
  263. package/dist/chunks/calendar-lD6G93R9.es.js.map +0 -1
  264. package/dist/chunks/checkbox-Dod-yTj4.cjs.js +0 -2
  265. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js +0 -2
  266. package/dist/chunks/collapsible-motion-C7M_CLNI.cjs.js.map +0 -1
  267. package/dist/chunks/collapsible-motion-CSrKjF8X.es.js.map +0 -1
  268. package/dist/chunks/combobox-B5UxZWSX.cjs.js +0 -2
  269. package/dist/chunks/data-table-C51WU0Cc.cjs.js +0 -2
  270. package/dist/chunks/date-input-Cap8-3zj.es.js.map +0 -1
  271. package/dist/chunks/date-input-DvOM0DLT.cjs.js +0 -2
  272. package/dist/chunks/date-input-DvOM0DLT.cjs.js.map +0 -1
  273. package/dist/chunks/date-picker-CZAoPNsT.cjs.js +0 -2
  274. package/dist/chunks/date-range-picker-iENzosfN.cjs.js +0 -2
  275. package/dist/chunks/dialog.title-CP_ZeiK4.es.js.map +0 -1
  276. package/dist/chunks/dialog.title-DOPP47Zy.cjs.js +0 -2
  277. package/dist/chunks/dialog.title-DOPP47Zy.cjs.js.map +0 -1
  278. package/dist/chunks/drawer-BJ4qvGnj.es.js.map +0 -1
  279. package/dist/chunks/drawer-DzW9wBMk.cjs.js +0 -2
  280. package/dist/chunks/drawer-DzW9wBMk.cjs.js.map +0 -1
  281. package/dist/chunks/extractStyleProps-DYXEhLtq.es.js.map +0 -1
  282. package/dist/chunks/extractStyleProps-Dk3fpLyQ.cjs.js.map +0 -1
  283. package/dist/chunks/menu-D-vE6ZpM.es.js.map +0 -1
  284. package/dist/chunks/menu-DIepV2KZ.cjs.js +0 -2
  285. package/dist/chunks/menu-DIepV2KZ.cjs.js.map +0 -1
  286. package/dist/chunks/money-input-Cu_J86Eu.cjs.js +0 -2
  287. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js +0 -2
  288. package/dist/chunks/multiline-text-input-B9TBDieZ.cjs.js.map +0 -1
  289. package/dist/chunks/multiline-text-input-CilSJJaO.es.js.map +0 -1
  290. package/dist/chunks/number-input-wMW-o4di.cjs.js +0 -2
  291. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js +0 -2
  292. package/dist/chunks/progress-bar-Bhp7W6Eo.cjs.js.map +0 -1
  293. package/dist/chunks/progress-bar-DwuOjOcH.es.js.map +0 -1
  294. package/dist/chunks/radio-input-Dp05SXja.cjs.js +0 -2
  295. package/dist/chunks/range-calendar-DBpl6y5i.es.js.map +0 -1
  296. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js +0 -2
  297. package/dist/chunks/range-calendar-_dZfAsdG.cjs.js.map +0 -1
  298. package/dist/chunks/rich-text-input-BC8CBVio.es.js.map +0 -1
  299. package/dist/chunks/rich-text-input-Da5WFZ3l.cjs.js.map +0 -1
  300. package/dist/chunks/search-input-BefkmgPy.cjs.js +0 -2
  301. package/dist/chunks/select-DMsU6bk9.cjs.js +0 -2
  302. package/dist/chunks/separator-CvRn_J0r.cjs.js +0 -2
  303. package/dist/chunks/separator-CvRn_J0r.cjs.js.map +0 -1
  304. package/dist/chunks/separator-DJGUFG-o.es.js.map +0 -1
  305. package/dist/chunks/split-button-BO52sL7h.cjs.js.map +0 -1
  306. package/dist/chunks/split-button-BxyZmuNi.es.js.map +0 -1
  307. package/dist/chunks/switch-01hEhL9A.es.js.map +0 -1
  308. package/dist/chunks/switch-CdLhBEPq.cjs.js +0 -2
  309. package/dist/chunks/switch-CdLhBEPq.cjs.js.map +0 -1
  310. package/dist/chunks/tabs-CJ0OAUSR.cjs.js +0 -2
  311. package/dist/chunks/text-input-CSAODlCw.es.js.map +0 -1
  312. package/dist/chunks/text-input-DZdkCbdd.cjs.js +0 -2
  313. package/dist/chunks/text-input-DZdkCbdd.cjs.js.map +0 -1
  314. package/dist/chunks/time-input--a_qv-Jk.es.js.map +0 -1
  315. package/dist/chunks/time-input-zXykDANk.cjs.js +0 -2
  316. package/dist/chunks/time-input-zXykDANk.cjs.js.map +0 -1
  317. package/dist/chunks/toggle-button-DxMZsem4.cjs.js +0 -2
  318. package/dist/chunks/toggle-button-DxMZsem4.cjs.js.map +0 -1
  319. package/dist/chunks/toggle-button-awb1jBf8.es.js.map +0 -1
  320. package/dist/chunks/toolbar-DV0l5MqA.cjs.js +0 -2
  321. package/dist/chunks/toolbar-Dduysqqi.es.js.map +0 -1
  322. package/dist/components/utils/index.d.ts +0 -4
  323. /package/dist/{utils → type-utils}/slot-types.d.ts +0 -0
  324. /package/dist/utils/{extractStyleProps.d.ts → extract-style-props.d.ts} +0 -0
  325. /package/dist/utils/{noop.d.ts → no-op.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-RPIMfaqs.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+switch@3.7.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/switch/dist/useSwitch.mjs","../../src/components/switch/switch.slots.tsx","../../src/components/switch/switch.tsx"],"sourcesContent":["import {useToggle as $ifSyJ$useToggle} from \"@react-aria/toggle\";\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 */ \nfunction $b418ec0c85c52f27$export$d853f7095ae95f88(props, state, ref) {\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly } = (0, $ifSyJ$useToggle)(props, state, ref);\n return {\n labelProps: labelProps,\n inputProps: {\n ...inputProps,\n role: 'switch',\n checked: isSelected\n },\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly\n };\n}\n\n\nexport {$b418ec0c85c52f27$export$d853f7095ae95f88 as useSwitch};\n//# sourceMappingURL=useSwitch.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n SwitchRootSlotProps,\n SwitchLabelSlotProps,\n SwitchTrackSlotProps,\n SwitchThumbSlotProps,\n} from \"./switch.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"switch\",\n});\n\nexport const SwitchRootSlot: SlotComponent<\n HTMLLabelElement,\n SwitchRootSlotProps\n> = withProvider<HTMLLabelElement, SwitchRootSlotProps>(\"label\", \"root\");\n\nexport const SwitchLabelSlot = withContext<\n HTMLSpanElement,\n SwitchLabelSlotProps\n>(\"span\", \"label\");\n\nexport const SwitchTrackSlot = withContext<\n HTMLSpanElement,\n SwitchTrackSlotProps\n>(\"span\", \"track\");\n\nexport const SwitchThumbSlot = withContext<\n HTMLSpanElement,\n SwitchThumbSlotProps\n>(\"span\", \"thumb\");\n","import { useRef } from \"react\";\nimport { useToggleState } from \"react-stately\";\nimport { useFocusRing, useSwitch, useObjectRef, mergeProps } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { VisuallyHidden } from \"@/components\";\nimport { extractStyleProps } from \"@/utils\";\nimport type { SwitchProps } from \"./switch.types\";\nimport {\n SwitchRootSlot,\n SwitchTrackSlot,\n SwitchThumbSlot,\n SwitchLabelSlot,\n} from \"./switch.slots\";\nimport { switchSlotRecipe } from \"./switch.recipe\";\n\n/**\n * # Switch\n *\n * A clear, visual toggle, allowing users to activate or deactivate a setting quickly.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/switch}\n */\nexport const Switch = ({ ref: externalRef, ...props }: SwitchProps) => {\n const localRef = useRef<HTMLInputElement>(null);\n const ref = useObjectRef(\n externalRef ? mergeRefs(localRef, externalRef) : localRef\n );\n\n const recipe = useSlotRecipe({ recipe: switchSlotRecipe });\n\n const [recipeProps, recipeLessProps] = recipe.splitVariantProps(props);\n const [styleProps, functionalProps] = extractStyleProps(recipeLessProps);\n\n const state = useToggleState(props);\n const { inputProps } = useSwitch(functionalProps, state, ref);\n\n const { isFocused, focusProps } = useFocusRing();\n\n const stateProps = {\n \"data-selected\": state.isSelected,\n \"data-invalid\": props.isInvalid,\n \"data-disabled\": props.isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n return (\n <SwitchRootSlot\n data-slot=\"root\"\n {...recipeProps}\n {...stateProps}\n {...styleProps}\n >\n <SwitchTrackSlot data-slot=\"track\" {...stateProps}>\n <SwitchThumbSlot data-slot=\"thumb\" {...stateProps} />\n <VisuallyHidden as=\"span\">\n <input\n data-slot=\"input\"\n {...mergeProps(inputProps, focusProps)}\n ref={ref}\n />\n </VisuallyHidden>\n </SwitchTrackSlot>\n\n {props.children && (\n <SwitchLabelSlot data-slot=\"label\" {...stateProps}>\n {props.children}\n </SwitchLabelSlot>\n )}\n </SwitchRootSlot>\n );\n};\nSwitch.displayName = \"Switch\";\n"],"names":["$b418ec0c85c52f27$export$d853f7095ae95f88","props","state","ref","labelProps","inputProps","isSelected","isPressed","isDisabled","isReadOnly","$ifSyJ$useToggle","withProvider","withContext","createSlotRecipeContext","SwitchRootSlot","SwitchLabelSlot","SwitchTrackSlot","SwitchThumbSlot","Switch","externalRef","localRef","useRef","useObjectRef","mergeRefs","recipe","useSlotRecipe","switchSlotRecipe","recipeProps","recipeLessProps","styleProps","functionalProps","extractStyleProps","useToggleState","useSwitch","isFocused","focusProps","useFocusRing","stateProps","jsxs","jsx","VisuallyHidden","mergeProps"],"mappings":"+eAaA,SAASA,EAA0CC,EAAOC,EAAOC,EAAK,CAClE,GAAI,CAAE,WAAYC,EAAY,WAAYC,EAAY,WAAYC,EAAY,UAAWC,EAAW,WAAYC,EAAY,WAAYC,CAAU,EAASC,EAAAA,0CAAkB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AY,EACnDE,EAAAA,IAACC,EAAAA,eAAA,CAAe,GAAG,OACjB,SAAAD,EAAAA,IAAC,QAAA,CACC,YAAU,QACT,GAAGE,EAAAA,0CAAWpC,EAAY8B,CAAU,EACrC,IAAAhC,CAAA,CAAA,CACF,CACF,CAAA,EACF,EAECF,EAAM,UACLsC,MAACxB,EAAA,CAAgB,YAAU,QAAS,GAAGsB,EACpC,SAAApC,EAAM,QAAA,CACT,CAAA,CAAA,CAAA,CAIR,EACAiB,EAAO,YAAc","x_google_ignoreList":[0]}
@@ -18,7 +18,7 @@ import { $ as w } from "./useFocusRing-DRIG5NVg.es.js";
18
18
  import { $ as $e } from "./useHover-9Xdm5U9d.es.js";
19
19
  import { $ as pe } from "./useSingleSelectListState-DLY6K_dU.es.js";
20
20
  import { createSlotRecipeContext as he } from "@chakra-ui/react";
21
- import { e as ve } from "./extractStyleProps-DYXEhLtq.es.js";
21
+ import { e as ve } from "./extract-style-props-DYXEhLtq.es.js";
22
22
  const B = /* @__PURE__ */ new WeakMap();
23
23
  function K(i, e, t) {
24
24
  if (!i)
@@ -425,4 +425,4 @@ export {
425
425
  k as d,
426
426
  R as e
427
427
  };
428
- //# sourceMappingURL=tabs-Dhte-RCe.es.js.map
428
+ //# sourceMappingURL=tabs-BtWK-J_p.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-Dhte-RCe.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTab.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabPanel.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/TabsKeyboardDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabList.mjs","../../../../node_modules/.pnpm/@react-stately+tabs@3.8.6_react@19.1.0/node_modules/@react-stately/tabs/dist/useTabListState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Tabs.mjs","../../src/components/tabs/tabs.slots.tsx","../../src/components/tabs/components/tabs.tab.tsx","../../src/components/tabs/components/tabs.list.tsx","../../src/components/tabs/components/tabs.panel.tsx","../../src/components/tabs/components/tabs.panels.tsx","../../src/components/tabs/components/tabs.root.tsx","../../src/components/tabs/tabs.tsx"],"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 $99b62ae3ff97ec45$export$c5f62239608282b6 = new WeakMap();\nfunction $99b62ae3ff97ec45$export$567fc7097e064344(state, key, role) {\n if (!state) // this case should only happen in the first render before the tabs are registered\n return '';\n if (typeof key === 'string') key = key.replace(/\\s+/g, '');\n let baseId = $99b62ae3ff97ec45$export$c5f62239608282b6.get(state);\n if (process.env.NODE_ENV !== 'production' && !baseId) console.error('There is no tab id, please check if you have rendered the tab panel before the tab list.');\n return `${baseId}-${role}-${key}`;\n}\n\n\nexport {$99b62ae3ff97ec45$export$c5f62239608282b6 as tabsIds, $99b62ae3ff97ec45$export$567fc7097e064344 as generateId};\n//# sourceMappingURL=utils.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {filterDOMProps as $dObGJ$filterDOMProps, useLinkProps as $dObGJ$useLinkProps, mergeProps as $dObGJ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusable as $dObGJ$useFocusable} from \"@react-aria/focus\";\nimport {useSelectableItem as $dObGJ$useSelectableItem} from \"@react-aria/selection\";\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\nfunction $0175d55c2a017ebc$export$fdf4756d5b8ef90a(props, state, ref) {\n let { key: key, isDisabled: propsDisabled, shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager, selectedKey: selectedKey } = state;\n let isSelected = key === selectedKey;\n let isDisabled = propsDisabled || state.isDisabled || state.selectionManager.isDisabled(key);\n let { itemProps: itemProps, isPressed: isPressed } = (0, $dObGJ$useSelectableItem)({\n selectionManager: manager,\n key: key,\n ref: ref,\n isDisabled: isDisabled,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n linkBehavior: 'selection'\n });\n let tabId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tab');\n let tabPanelId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tabpanel');\n let { tabIndex: tabIndex } = itemProps;\n let item = state.collection.getItem(key);\n let domProps = (0, $dObGJ$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props, {\n labelable: true\n });\n delete domProps.id;\n let linkProps = (0, $dObGJ$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n let { focusableProps: focusableProps } = (0, $dObGJ$useFocusable)({\n isDisabled: isDisabled\n }, ref);\n return {\n tabProps: (0, $dObGJ$mergeProps)(domProps, focusableProps, linkProps, itemProps, {\n id: tabId,\n 'aria-selected': isSelected,\n 'aria-disabled': isDisabled || undefined,\n 'aria-controls': isSelected ? tabPanelId : undefined,\n tabIndex: isDisabled ? undefined : tabIndex,\n role: 'tab'\n }),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed\n };\n}\n\n\nexport {$0175d55c2a017ebc$export$fdf4756d5b8ef90a as useTab};\n//# sourceMappingURL=useTab.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {useLabels as $jik2T$useLabels, mergeProps as $jik2T$mergeProps} from \"@react-aria/utils\";\nimport {useHasTabbableChild as $jik2T$useHasTabbableChild} from \"@react-aria/focus\";\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 $34bce698202e07cb$export$fae0121b5afe572d(props, state, ref) {\n // The tabpanel should have tabIndex=0 when there are no tabbable elements within it.\n // Otherwise, tabbing from the focused tab should go directly to the first tabbable element\n // within the tabpanel.\n let tabIndex = (0, $jik2T$useHasTabbableChild)(ref) ? undefined : 0;\n var _props_id;\n const id = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : state === null || state === void 0 ? void 0 : state.selectedKey, 'tabpanel');\n const tabPanelProps = (0, $jik2T$useLabels)({\n ...props,\n id: id,\n 'aria-labelledby': (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, state === null || state === void 0 ? void 0 : state.selectedKey, 'tab')\n });\n return {\n tabPanelProps: (0, $jik2T$mergeProps)(tabPanelProps, {\n tabIndex: tabIndex,\n role: 'tabpanel',\n 'aria-describedby': props['aria-describedby'],\n 'aria-details': props['aria-details']\n })\n };\n}\n\n\nexport {$34bce698202e07cb$export$fae0121b5afe572d as useTabPanel};\n//# sourceMappingURL=useTabPanel.module.js.map\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 */ class $bfc6f2d60b8a4c40$export$15010ca3c1abe90b {\n getKeyLeftOf(key) {\n if (this.flipDirection) return this.getNextKey(key);\n return this.getPreviousKey(key);\n }\n getKeyRightOf(key) {\n if (this.flipDirection) return this.getPreviousKey(key);\n return this.getNextKey(key);\n }\n isDisabled(key) {\n var _this_collection_getItem_props, _this_collection_getItem;\n return this.disabledKeys.has(key) || !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.isDisabled);\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n if (key != null && this.isDisabled(key)) key = this.getNextKey(key);\n return key;\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n if (key != null && this.isDisabled(key)) key = this.getPreviousKey(key);\n return key;\n }\n getKeyAbove(key) {\n if (this.tabDirection) return null;\n return this.getPreviousKey(key);\n }\n getKeyBelow(key) {\n if (this.tabDirection) return null;\n return this.getNextKey(key);\n }\n getNextKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyAfter(key);\n if (key == null) key = this.collection.getFirstKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n getPreviousKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyBefore(key);\n if (key == null) key = this.collection.getLastKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n constructor(collection, direction, orientation, disabledKeys = new Set()){\n this.collection = collection;\n this.flipDirection = direction === 'rtl' && orientation === 'horizontal';\n this.disabledKeys = disabledKeys;\n this.tabDirection = orientation === 'horizontal';\n }\n}\n\n\nexport {$bfc6f2d60b8a4c40$export$15010ca3c1abe90b as TabsKeyboardDelegate};\n//# sourceMappingURL=TabsKeyboardDelegate.module.js.map\n","import {tabsIds as $99b62ae3ff97ec45$export$c5f62239608282b6} from \"./utils.mjs\";\nimport {TabsKeyboardDelegate as $bfc6f2d60b8a4c40$export$15010ca3c1abe90b} from \"./TabsKeyboardDelegate.mjs\";\nimport {useId as $bQNZs$useId, useLabels as $bQNZs$useLabels, mergeProps as $bQNZs$mergeProps} from \"@react-aria/utils\";\nimport {useLocale as $bQNZs$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $bQNZs$useMemo} from \"react\";\nimport {useSelectableCollection as $bQNZs$useSelectableCollection} from \"@react-aria/selection\";\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\n\n\nfunction $58d314389b21fa3f$export$773e389e644c5874(props, state, ref) {\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = props;\n let { collection: collection, selectionManager: manager, disabledKeys: disabledKeys } = state;\n let { direction: direction } = (0, $bQNZs$useLocale)();\n let delegate = (0, $bQNZs$useMemo)(()=>new (0, $bfc6f2d60b8a4c40$export$15010ca3c1abe90b)(collection, direction, orientation, disabledKeys), [\n collection,\n disabledKeys,\n orientation,\n direction\n ]);\n let { collectionProps: collectionProps } = (0, $bQNZs$useSelectableCollection)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n selectOnFocus: keyboardActivation === 'automatic',\n disallowEmptySelection: true,\n scrollRef: ref,\n linkBehavior: 'selection'\n });\n // Compute base id for all tabs\n let tabsId = (0, $bQNZs$useId)();\n (0, $99b62ae3ff97ec45$export$c5f62239608282b6).set(state, tabsId);\n let tabListLabelProps = (0, $bQNZs$useLabels)({\n ...props,\n id: tabsId\n });\n return {\n tabListProps: {\n ...(0, $bQNZs$mergeProps)(collectionProps, tabListLabelProps),\n role: 'tablist',\n 'aria-orientation': orientation,\n tabIndex: undefined\n }\n };\n}\n\n\nexport {$58d314389b21fa3f$export$773e389e644c5874 as useTabList};\n//# sourceMappingURL=useTabList.module.js.map\n","import {useSingleSelectListState as $fgY1A$useSingleSelectListState} from \"@react-stately/list\";\nimport {useRef as $fgY1A$useRef, useEffect as $fgY1A$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\nfunction $76f919a04c5a7d14$export$4ba071daf4e486(props) {\n var _props_defaultSelectedKey, _ref;\n let state = (0, $fgY1A$useSingleSelectListState)({\n ...props,\n onSelectionChange: props.onSelectionChange ? (key)=>{\n var _props_onSelectionChange;\n if (key != null) (_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, key);\n } : undefined,\n suppressTextValueWarning: true,\n defaultSelectedKey: (_ref = (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : $76f919a04c5a7d14$var$findDefaultSelectedKey(props.collection, props.disabledKeys ? new Set(props.disabledKeys) : new Set())) !== null && _ref !== void 0 ? _ref : undefined\n });\n let { selectionManager: selectionManager, collection: collection, selectedKey: currentSelectedKey } = state;\n let lastSelectedKey = (0, $fgY1A$useRef)(currentSelectedKey);\n (0, $fgY1A$useEffect)(()=>{\n // Ensure a tab is always selected (in case no selected key was specified or if selected item was deleted from collection)\n let selectedKey = currentSelectedKey;\n if (props.selectedKey == null && (selectionManager.isEmpty || selectedKey == null || !collection.getItem(selectedKey))) {\n selectedKey = $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, state.disabledKeys);\n if (selectedKey != null) // directly set selection because replace/toggle selection won't consider disabled keys\n selectionManager.setSelectedKeys([\n selectedKey\n ]);\n }\n // If the tablist doesn't have focus and the selected key changes or if there isn't a focused key yet, change focused key to the selected key if it exists.\n if (selectedKey != null && selectionManager.focusedKey == null || !selectionManager.isFocused && selectedKey !== lastSelectedKey.current) selectionManager.setFocusedKey(selectedKey);\n lastSelectedKey.current = selectedKey;\n });\n return {\n ...state,\n isDisabled: props.isDisabled || false\n };\n}\nfunction $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, disabledKeys) {\n let selectedKey = null;\n if (collection) {\n var _collection_getItem_props, _collection_getItem, _collection_getItem_props1, _collection_getItem1;\n selectedKey = collection.getFirstKey();\n // loop over tabs until we find one that isn't disabled and select that\n while(selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : (_collection_getItem_props = _collection_getItem.props) === null || _collection_getItem_props === void 0 ? void 0 : _collection_getItem_props.isDisabled)) && selectedKey !== collection.getLastKey())selectedKey = collection.getKeyAfter(selectedKey);\n // if this check is true, then every item is disabled, it makes more sense to default to the first key than the last\n if (selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem1 = collection.getItem(selectedKey)) === null || _collection_getItem1 === void 0 ? void 0 : (_collection_getItem_props1 = _collection_getItem1.props) === null || _collection_getItem_props1 === void 0 ? void 0 : _collection_getItem_props1.isDisabled)) && selectedKey === collection.getLastKey()) selectedKey = collection.getFirstKey();\n }\n return selectedKey;\n}\n\n\nexport {$76f919a04c5a7d14$export$4ba071daf4e486 as useTabListState};\n//# sourceMappingURL=useTabListState.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $7135fc7d473fd974$export$a164736487e3f0ae, usePersistedKeys as $7135fc7d473fd974$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {useFocusRing as $7aSLZ$useFocusRing, mergeProps as $7aSLZ$mergeProps, useTabList as $7aSLZ$useTabList, useTab as $7aSLZ$useTab, useHover as $7aSLZ$useHover, useTabPanel as $7aSLZ$useTabPanel} from \"react-aria\";\nimport {CollectionBuilder as $7aSLZ$CollectionBuilder, Collection as $7aSLZ$Collection, CollectionNode as $7aSLZ$CollectionNode, createLeafComponent as $7aSLZ$createLeafComponent, createHideableComponent as $7aSLZ$createHideableComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $7aSLZ$filterDOMProps, useObjectRef as $7aSLZ$useObjectRef, inertValue as $7aSLZ$inertValue} from \"@react-aria/utils\";\nimport {useTabListState as $7aSLZ$useTabListState} from \"react-stately\";\nimport $7aSLZ$react, {createContext as $7aSLZ$createContext, forwardRef as $7aSLZ$forwardRef, useMemo as $7aSLZ$useMemo, useContext as $7aSLZ$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\n\n\nconst $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$364712098d2aa57c = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$b2539bed5023c21c = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function Tabs(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let { children: children, orientation: orientation = 'horizontal' } = props;\n children = (0, $7aSLZ$useMemo)(()=>typeof children === 'function' ? children({\n orientation: orientation,\n defaultChildren: null\n }) : children, [\n children,\n orientation\n ]);\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$CollectionBuilder), {\n content: children\n }, (collection)=>/*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabsInner, {\n props: props,\n collection: collection,\n tabsRef: ref\n }));\n});\nfunction $5e8ad37a45e1c704$var$TabsInner({ props: props, tabsRef: ref, collection: collection }) {\n let { orientation: orientation = 'horizontal' } = props;\n let state = (0, $7aSLZ$useTabListState)({\n ...props,\n collection: collection,\n children: undefined\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)({\n within: true\n });\n let values = (0, $7aSLZ$useMemo)(()=>({\n orientation: orientation,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible\n }), [\n orientation,\n isFocused,\n isFocusVisible\n ]);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tabs',\n values: values\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-orientation\": orientation,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": state.isDisabled || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n props\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n state\n ]\n ]\n }, renderProps.children));\n}\nconst $5e8ad37a45e1c704$export$e51a686c67fdaa2d = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function TabList(props, ref) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n return state ? /*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabListInner, {\n props: props,\n forwardedRef: ref\n }) : /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$Collection), props);\n});\nfunction $5e8ad37a45e1c704$var$TabListInner({ props: props, forwardedRef: ref }) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let { CollectionRoot: CollectionRoot } = (0, $7aSLZ$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let objectRef = (0, $7aSLZ$useObjectRef)(ref);\n let { tabListProps: tabListProps } = (0, $7aSLZ$useTabList)({\n ...props,\n orientation: orientation,\n keyboardActivation: keyboardActivation\n }, state, objectRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n children: null,\n defaultClassName: 'react-aria-TabList',\n values: {\n orientation: orientation,\n state: state\n }\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabListProps),\n ref: objectRef,\n \"data-orientation\": orientation || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $7aSLZ$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: (0, $7135fc7d473fd974$export$90e00781bc59d8f9)(state.selectionManager.focusedKey)\n })));\n}\nclass $5e8ad37a45e1c704$var$TabItemNode extends (0, $7aSLZ$CollectionNode) {\n}\n$5e8ad37a45e1c704$var$TabItemNode.type = 'item';\nconst $5e8ad37a45e1c704$export$3e41faf802a29e71 = /*#__PURE__*/ (0, $7aSLZ$createLeafComponent)($5e8ad37a45e1c704$var$TabItemNode, (props, forwardedRef, item)=>{\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n let { tabProps: tabProps, isSelected: isSelected, isDisabled: isDisabled, isPressed: isPressed } = (0, $7aSLZ$useTab)({\n key: item.key,\n ...props\n }, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $7aSLZ$useHover)({\n isDisabled: isDisabled,\n onHoverStart: props.onHoverStart,\n onHoverEnd: props.onHoverEnd,\n onHoverChange: props.onHoverChange\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-Tab',\n values: {\n isSelected: isSelected,\n isDisabled: isDisabled,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isPressed: isPressed,\n isHovered: isHovered\n }\n });\n let ElementType = item.props.href ? 'a' : 'div';\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(ElementType, {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabProps, focusProps, hoverProps),\n ref: ref,\n \"data-selected\": isSelected || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $1d5b8b8664671ef2$export$c9549807523555e0).Provider, {\n value: {\n isSelected: isSelected\n }\n }, renderProps.children));\n});\nconst $5e8ad37a45e1c704$export$3d96ec278d3efce4 = /*#__PURE__*/ (0, $7aSLZ$createHideableComponent)(function TabPanel(props, forwardedRef) {\n const state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { id: id, ...otherProps } = props;\n let { tabPanelProps: tabPanelProps } = (0, $7aSLZ$useTabPanel)(props, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let isSelected = state.selectedKey === props.id;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-TabPanel',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n // @ts-ignore - compatibility with React < 19\n isInert: (0, $7aSLZ$inertValue)(!isSelected),\n state: state\n }\n });\n if (!isSelected && !props.shouldForceMount) return null;\n let DOMProps = (0, $7aSLZ$filterDOMProps)(otherProps, {\n global: true\n });\n delete DOMProps.id;\n let domProps = isSelected ? (0, $7aSLZ$mergeProps)(DOMProps, tabPanelProps, focusProps, renderProps) : renderProps;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...domProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n // @ts-ignore\n inert: (0, $7aSLZ$inertValue)(!isSelected || props.inert),\n \"data-inert\": !isSelected ? 'true' : undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n null\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n null\n ]\n ]\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7135fc7d473fd974$export$4feb769f8ddf26c5).Provider, {\n value: (0, $7135fc7d473fd974$export$a164736487e3f0ae)\n }, renderProps.children)));\n});\n\n\nexport {$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f as TabsContext, $5e8ad37a45e1c704$export$364712098d2aa57c as TabListStateContext, $5e8ad37a45e1c704$export$b2539bed5023c21c as Tabs, $5e8ad37a45e1c704$export$e51a686c67fdaa2d as TabList, $5e8ad37a45e1c704$export$3e41faf802a29e71 as Tab, $5e8ad37a45e1c704$export$3d96ec278d3efce4 as TabPanel};\n//# sourceMappingURL=Tabs.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n TabsRootSlotProps,\n TabsListSlotProps,\n TabsTabSlotProps,\n TabsPanelsSlotProps,\n TabsPanelSlotProps,\n} from \"./tabs.types\";\nimport type { SlotComponent } from \"@/utils/slot-types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"tabs\",\n});\n\n/**\n * Root component that provides the styling context for the Tabs component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TabsRootSlot = withProvider<HTMLDivElement, TabsRootSlotProps>(\n \"div\",\n \"root\"\n);\n\nexport const TabsListSlot = withContext<HTMLDivElement, TabsListSlotProps>(\n \"div\",\n \"list\"\n);\n\nexport const TabsTabSlot = withContext<HTMLButtonElement, TabsTabSlotProps>(\n \"button\",\n \"tab\"\n);\n\nexport const TabsPanelsSlot: SlotComponent<\n HTMLDivElement,\n TabsPanelsSlotProps\n> = withContext<HTMLDivElement, TabsPanelsSlotProps>(\"div\", \"panels\");\n\nexport const TabsPanelSlot: SlotComponent<HTMLDivElement, TabsPanelSlotProps> =\n withContext<HTMLDivElement, TabsPanelSlotProps>(\"div\", \"panel\");\n","import { Tab as RATab } from \"react-aria-components\";\nimport { TabsTabSlot } from \"../tabs.slots\";\nimport type { TabProps } from \"../tabs.types\";\n\n/**\n * # Tab\n *\n * An individual tab button that allows users to switch to a specific panel.\n */\nexport const Tab = ({ children, isDisabled, ...props }: TabProps) => {\n return (\n <TabsTabSlot asChild {...props}>\n <RATab isDisabled={isDisabled}>{children}</RATab>\n </TabsTabSlot>\n );\n};\n\nTab.displayName = \"Tabs.Tab\";\n","import { TabList as RATabList } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { TabsListSlot } from \"../tabs.slots\";\nimport { Tab } from \"./tabs.tab\";\nimport type { TabListProps, TabItemProps } from \"../tabs.types\";\n\n/**\n * # TabList\n *\n * A container for the tab buttons that allows users to switch between different panels.\n */\nexport const TabList = ({ tabs, children, ...props }: TabListProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Ensure RATabList always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.List: Either provide \"tabs\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsListSlot {...styleProps} asChild>\n <RATabList items={tabs as TabItemProps[]} {...restProps}>\n {tabs\n ? (tab: TabItemProps) => (\n <Tab key={tab.id} id={tab.id} isDisabled={tab.isDisabled}>\n {tab.tabLabel}\n </Tab>\n )\n : children}\n </RATabList>\n </TabsListSlot>\n );\n};\n\nTabList.displayName = \"Tabs.List\";\n","import { forwardRef } from \"react\";\nimport { TabPanel as RATabPanel } from \"react-aria-components\";\nimport { TabsPanelSlot } from \"../tabs.slots\";\nimport type { TabPanelProps } from \"../tabs.types\";\n\n/**\n * # TabPanel\n *\n * An individual tab panel that displays panelContent when its corresponding tab is selected.\n */\nexport const TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n ({ children, ...props }, ref) => {\n // Ensure TabPanel always has children\n if (!children) {\n throw new Error(\"Tabs.Panel: children prop is required\");\n }\n\n return (\n <TabsPanelSlot asChild ref={ref} {...props}>\n <RATabPanel>{children}</RATabPanel>\n </TabsPanelSlot>\n );\n }\n);\n\nTabPanel.displayName = \"Tabs.Panel\";\n","import { Collection as RaCollection } from \"react-aria-components\";\nimport { TabsPanelsSlot } from \"../tabs.slots\";\nimport { TabPanel } from \"./tabs.panel\";\nimport type { TabItemProps, TabPanelsProps } from \"../tabs.types\";\n\n/**\n * # TabPanels\n *\n * A container for the tab panels that displays panelContent based on the selected tab.\n */\nexport const TabPanels = ({ tabs, children, ...props }: TabPanelsProps) => {\n // Ensure TabPanels always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.Panels: Either provide \"items\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsPanelsSlot {...props}>\n {tabs ? (\n <RaCollection items={tabs as TabItemProps[]}>\n {(tab: TabItemProps) => (\n <TabPanel key={tab.id} id={tab.id}>\n {tab.panelContent}\n </TabPanel>\n )}\n </RaCollection>\n ) : (\n children\n )}\n </TabsPanelsSlot>\n );\n};\n\nTabPanels.displayName = \"Tabs.Panels\";\n","import { Tabs as RATabs } from \"react-aria-components\";\nimport { TabsRootSlot } from \"../tabs.slots\";\nimport type { TabsProps } from \"../tabs.types\";\nimport { TabList } from \"./tabs.list\";\nimport { TabPanels } from \"./tabs.panels\";\n\n/**\n * # Tabs\n *\n * A tabs component built on React Aria Components that allows users to switch between different views.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/tabs}\n */\nexport const TabsRoot = ({\n children,\n orientation = \"horizontal\",\n disabledKeys,\n placement = \"start\",\n size = \"md\",\n tabs,\n ...props\n}: TabsProps) => {\n return (\n <TabsRootSlot\n asChild\n orientation={orientation}\n placement={placement}\n size={size}\n {...props}\n >\n <RATabs disabledKeys={disabledKeys} {...tabs}>\n {children || (\n <>\n <TabList tabs={tabs} />\n <TabPanels tabs={tabs} />\n </>\n )}\n </RATabs>\n </TabsRootSlot>\n );\n};\n\nTabsRoot.displayName = \"Tabs.Root\";\n","import { TabsRoot } from \"./components/tabs.root\";\nimport { TabList } from \"./components/tabs.list\";\nimport { Tab } from \"./components/tabs.tab\";\nimport { TabPanels } from \"./components/tabs.panels\";\nimport { TabPanel } from \"./components/tabs.panel\";\n\nexport const Tabs = {\n Root: TabsRoot,\n List: TabList,\n Tab: Tab,\n Panels: TabPanels,\n Panel: TabPanel,\n};\n\nexport type { TabsProps, TabListProps, TabItemProps } from \"./tabs.types\";\n\n/**\n * todo: get rid of this, this is needed for the react-docgen-typescript script\n * that is parsing the typescript types for our documentation. The _ underscores\n * serve as a reminder that this exports are awkward and should not be used.\n */\nexport {\n TabsRoot as _TabsRoot,\n TabList as _TabList,\n Tab as _Tab,\n TabPanels as _TabPanels,\n TabPanel as _TabPanel,\n};\n"],"names":["$99b62ae3ff97ec45$export$c5f62239608282b6","$99b62ae3ff97ec45$export$567fc7097e064344","state","key","role","baseId","$0175d55c2a017ebc$export$fdf4756d5b8ef90a","props","ref","propsDisabled","shouldSelectOnPressUp","manager","selectedKey","isSelected","isDisabled","itemProps","isPressed","$dObGJ$useSelectableItem","tabId","tabPanelId","tabIndex","item","domProps","$dObGJ$filterDOMProps","linkProps","$dObGJ$useLinkProps","focusableProps","$dObGJ$useFocusable","$dObGJ$mergeProps","$34bce698202e07cb$export$fae0121b5afe572d","$jik2T$useHasTabbableChild","_props_id","id","tabPanelProps","$jik2T$useLabels","$jik2T$mergeProps","$bfc6f2d60b8a4c40$export$15010ca3c1abe90b","_this_collection_getItem_props","_this_collection_getItem","startKey","collection","direction","orientation","disabledKeys","$58d314389b21fa3f$export$773e389e644c5874","keyboardActivation","$bQNZs$useLocale","delegate","$bQNZs$useMemo","collectionProps","$bQNZs$useSelectableCollection","tabsId","$bQNZs$useId","tabListLabelProps","$bQNZs$useLabels","$bQNZs$mergeProps","$76f919a04c5a7d14$export$4ba071daf4e486","_props_defaultSelectedKey","_ref","$fgY1A$useSingleSelectListState","_props_onSelectionChange","$76f919a04c5a7d14$var$findDefaultSelectedKey","selectionManager","currentSelectedKey","lastSelectedKey","$fgY1A$useRef","$fgY1A$useEffect","_collection_getItem_props","_collection_getItem","_collection_getItem_props1","_collection_getItem1","$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f","$7aSLZ$createContext","$5e8ad37a45e1c704$export$364712098d2aa57c","$5e8ad37a45e1c704$export$b2539bed5023c21c","$7aSLZ$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","children","$7aSLZ$useMemo","$7aSLZ$react","$7aSLZ$CollectionBuilder","$5e8ad37a45e1c704$var$TabsInner","$7aSLZ$useTabListState","focusProps","isFocused","isFocusVisible","$7aSLZ$useFocusRing","values","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$7aSLZ$filterDOMProps","$7aSLZ$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$5e8ad37a45e1c704$export$e51a686c67fdaa2d","$7aSLZ$useContext","$5e8ad37a45e1c704$var$TabListInner","$7aSLZ$Collection","CollectionRoot","$7135fc7d473fd974$export$4feb769f8ddf26c5","$64fa3d84918910a7$export$fabf2dc03a41866e","objectRef","$7aSLZ$useObjectRef","tabListProps","$7aSLZ$useTabList","$c8a5a149f625efcf$export$758399f318e6385a","$7135fc7d473fd974$export$90e00781bc59d8f9","$5e8ad37a45e1c704$var$TabItemNode","$7aSLZ$CollectionNode","$5e8ad37a45e1c704$export$3e41faf802a29e71","$7aSLZ$createLeafComponent","forwardedRef","tabProps","$7aSLZ$useTab","hoverProps","isHovered","$7aSLZ$useHover","ElementType","$1d5b8b8664671ef2$export$c9549807523555e0","$5e8ad37a45e1c704$export$3d96ec278d3efce4","$7aSLZ$createHideableComponent","otherProps","$7aSLZ$useTabPanel","$7aSLZ$inertValue","$7135fc7d473fd974$export$a164736487e3f0ae","withProvider","withContext","createSlotRecipeContext","TabsRootSlot","TabsListSlot","TabsTabSlot","TabsPanelsSlot","TabsPanelSlot","Tab","jsx","RATab","TabList","tabs","styleProps","restProps","extractStyleProps","RATabList","tab","TabPanel","forwardRef","RATabPanel","TabPanels","RaCollection","TabsRoot","placement","size","RATabs","jsxs","Fragment","Tabs"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAUI,MAAMA,IAA4C,oBAAI,QAAO;AACjE,SAASC,EAA0CC,GAAOC,GAAKC,GAAM;AACjE,MAAI,CAACF;AACL,WAAO;AACP,EAAI,OAAOC,KAAQ,aAAUA,IAAMA,EAAI,QAAQ,QAAQ,EAAE;AACzD,MAAIE,IAASL,EAA0C,IAAIE,CAAK;AAChE,SAAI,QAAQ,IAAI,aAAa,gBAAgB,CAACG,KAAQ,QAAQ,MAAM,0FAA0F,GACvJ,GAAGA,CAAM,IAAID,CAAI,IAAID,CAAG;AACnC;ACCA,SAASG,GAA0CC,GAAOL,GAAOM,GAAK;AAClE,MAAI,EAAE,KAAKL,GAAK,YAAYM,GAAe,uBAAuBC,EAAqB,IAAKH,GACxF,EAAE,kBAAkBI,GAAS,aAAaC,EAA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,MAEI,gBAAA+H;AAAA,EAACN;AAAA,EAAA;AAAA,IACC,SAAO;AAAA,IACP,aAAAtF;AAAA,IACA,WAAA2G;AAAA,IACA,MAAAC;AAAA,IACC,GAAG/I;AAAA,IAEJ,4BAACgJ,IAAA,EAAO,cAAA5G,GAA6B,GAAG8F,GACrC,eACC,gBAAAe,EAAAC,GAAA,EACE,UAAA;AAAA,MAAA,gBAAAnB,EAACE,KAAQ,MAAAC,GAAY;AAAA,MACrB,gBAAAH,EAACY,KAAU,MAAAT,EAAA,CAAY;AAAA,IAAA,EAAA,CACzB,EAAA,CAEJ;AAAA,EAAA;AAAA;AAKNW,EAAS,cAAc;ACpChB,MAAMM,KAAO;AAAA,EAClB,MAAMN;AAAA,EACN,MAAMZ;AAAA,EACN,KAAAH;AAAA,EACA,QAAQa;AAAA,EACR,OAAOH;AACT;","x_google_ignoreList":[0,1,2,3,4,5,6]}
1
+ {"version":3,"file":"tabs-BtWK-J_p.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTab.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabPanel.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/TabsKeyboardDelegate.mjs","../../../../node_modules/.pnpm/@react-aria+tabs@3.10.8_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/tabs/dist/useTabList.mjs","../../../../node_modules/.pnpm/@react-stately+tabs@3.8.6_react@19.1.0/node_modules/@react-stately/tabs/dist/useTabListState.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Tabs.mjs","../../src/components/tabs/tabs.slots.tsx","../../src/components/tabs/components/tabs.tab.tsx","../../src/components/tabs/components/tabs.list.tsx","../../src/components/tabs/components/tabs.panel.tsx","../../src/components/tabs/components/tabs.panels.tsx","../../src/components/tabs/components/tabs.root.tsx","../../src/components/tabs/tabs.tsx"],"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 $99b62ae3ff97ec45$export$c5f62239608282b6 = new WeakMap();\nfunction $99b62ae3ff97ec45$export$567fc7097e064344(state, key, role) {\n if (!state) // this case should only happen in the first render before the tabs are registered\n return '';\n if (typeof key === 'string') key = key.replace(/\\s+/g, '');\n let baseId = $99b62ae3ff97ec45$export$c5f62239608282b6.get(state);\n if (process.env.NODE_ENV !== 'production' && !baseId) console.error('There is no tab id, please check if you have rendered the tab panel before the tab list.');\n return `${baseId}-${role}-${key}`;\n}\n\n\nexport {$99b62ae3ff97ec45$export$c5f62239608282b6 as tabsIds, $99b62ae3ff97ec45$export$567fc7097e064344 as generateId};\n//# sourceMappingURL=utils.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {filterDOMProps as $dObGJ$filterDOMProps, useLinkProps as $dObGJ$useLinkProps, mergeProps as $dObGJ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusable as $dObGJ$useFocusable} from \"@react-aria/focus\";\nimport {useSelectableItem as $dObGJ$useSelectableItem} from \"@react-aria/selection\";\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\nfunction $0175d55c2a017ebc$export$fdf4756d5b8ef90a(props, state, ref) {\n let { key: key, isDisabled: propsDisabled, shouldSelectOnPressUp: shouldSelectOnPressUp } = props;\n let { selectionManager: manager, selectedKey: selectedKey } = state;\n let isSelected = key === selectedKey;\n let isDisabled = propsDisabled || state.isDisabled || state.selectionManager.isDisabled(key);\n let { itemProps: itemProps, isPressed: isPressed } = (0, $dObGJ$useSelectableItem)({\n selectionManager: manager,\n key: key,\n ref: ref,\n isDisabled: isDisabled,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n linkBehavior: 'selection'\n });\n let tabId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tab');\n let tabPanelId = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, key, 'tabpanel');\n let { tabIndex: tabIndex } = itemProps;\n let item = state.collection.getItem(key);\n let domProps = (0, $dObGJ$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props, {\n labelable: true\n });\n delete domProps.id;\n let linkProps = (0, $dObGJ$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n let { focusableProps: focusableProps } = (0, $dObGJ$useFocusable)({\n isDisabled: isDisabled\n }, ref);\n return {\n tabProps: (0, $dObGJ$mergeProps)(domProps, focusableProps, linkProps, itemProps, {\n id: tabId,\n 'aria-selected': isSelected,\n 'aria-disabled': isDisabled || undefined,\n 'aria-controls': isSelected ? tabPanelId : undefined,\n tabIndex: isDisabled ? undefined : tabIndex,\n role: 'tab'\n }),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed\n };\n}\n\n\nexport {$0175d55c2a017ebc$export$fdf4756d5b8ef90a as useTab};\n//# sourceMappingURL=useTab.module.js.map\n","import {generateId as $99b62ae3ff97ec45$export$567fc7097e064344} from \"./utils.mjs\";\nimport {useLabels as $jik2T$useLabels, mergeProps as $jik2T$mergeProps} from \"@react-aria/utils\";\nimport {useHasTabbableChild as $jik2T$useHasTabbableChild} from \"@react-aria/focus\";\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 $34bce698202e07cb$export$fae0121b5afe572d(props, state, ref) {\n // The tabpanel should have tabIndex=0 when there are no tabbable elements within it.\n // Otherwise, tabbing from the focused tab should go directly to the first tabbable element\n // within the tabpanel.\n let tabIndex = (0, $jik2T$useHasTabbableChild)(ref) ? undefined : 0;\n var _props_id;\n const id = (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : state === null || state === void 0 ? void 0 : state.selectedKey, 'tabpanel');\n const tabPanelProps = (0, $jik2T$useLabels)({\n ...props,\n id: id,\n 'aria-labelledby': (0, $99b62ae3ff97ec45$export$567fc7097e064344)(state, state === null || state === void 0 ? void 0 : state.selectedKey, 'tab')\n });\n return {\n tabPanelProps: (0, $jik2T$mergeProps)(tabPanelProps, {\n tabIndex: tabIndex,\n role: 'tabpanel',\n 'aria-describedby': props['aria-describedby'],\n 'aria-details': props['aria-details']\n })\n };\n}\n\n\nexport {$34bce698202e07cb$export$fae0121b5afe572d as useTabPanel};\n//# sourceMappingURL=useTabPanel.module.js.map\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 */ class $bfc6f2d60b8a4c40$export$15010ca3c1abe90b {\n getKeyLeftOf(key) {\n if (this.flipDirection) return this.getNextKey(key);\n return this.getPreviousKey(key);\n }\n getKeyRightOf(key) {\n if (this.flipDirection) return this.getPreviousKey(key);\n return this.getNextKey(key);\n }\n isDisabled(key) {\n var _this_collection_getItem_props, _this_collection_getItem;\n return this.disabledKeys.has(key) || !!((_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : (_this_collection_getItem_props = _this_collection_getItem.props) === null || _this_collection_getItem_props === void 0 ? void 0 : _this_collection_getItem_props.isDisabled);\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n if (key != null && this.isDisabled(key)) key = this.getNextKey(key);\n return key;\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n if (key != null && this.isDisabled(key)) key = this.getPreviousKey(key);\n return key;\n }\n getKeyAbove(key) {\n if (this.tabDirection) return null;\n return this.getPreviousKey(key);\n }\n getKeyBelow(key) {\n if (this.tabDirection) return null;\n return this.getNextKey(key);\n }\n getNextKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyAfter(key);\n if (key == null) key = this.collection.getFirstKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n getPreviousKey(startKey) {\n let key = startKey;\n do {\n key = this.collection.getKeyBefore(key);\n if (key == null) key = this.collection.getLastKey();\n }while (key != null && this.isDisabled(key));\n return key;\n }\n constructor(collection, direction, orientation, disabledKeys = new Set()){\n this.collection = collection;\n this.flipDirection = direction === 'rtl' && orientation === 'horizontal';\n this.disabledKeys = disabledKeys;\n this.tabDirection = orientation === 'horizontal';\n }\n}\n\n\nexport {$bfc6f2d60b8a4c40$export$15010ca3c1abe90b as TabsKeyboardDelegate};\n//# sourceMappingURL=TabsKeyboardDelegate.module.js.map\n","import {tabsIds as $99b62ae3ff97ec45$export$c5f62239608282b6} from \"./utils.mjs\";\nimport {TabsKeyboardDelegate as $bfc6f2d60b8a4c40$export$15010ca3c1abe90b} from \"./TabsKeyboardDelegate.mjs\";\nimport {useId as $bQNZs$useId, useLabels as $bQNZs$useLabels, mergeProps as $bQNZs$mergeProps} from \"@react-aria/utils\";\nimport {useLocale as $bQNZs$useLocale} from \"@react-aria/i18n\";\nimport {useMemo as $bQNZs$useMemo} from \"react\";\nimport {useSelectableCollection as $bQNZs$useSelectableCollection} from \"@react-aria/selection\";\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\n\n\nfunction $58d314389b21fa3f$export$773e389e644c5874(props, state, ref) {\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = props;\n let { collection: collection, selectionManager: manager, disabledKeys: disabledKeys } = state;\n let { direction: direction } = (0, $bQNZs$useLocale)();\n let delegate = (0, $bQNZs$useMemo)(()=>new (0, $bfc6f2d60b8a4c40$export$15010ca3c1abe90b)(collection, direction, orientation, disabledKeys), [\n collection,\n disabledKeys,\n orientation,\n direction\n ]);\n let { collectionProps: collectionProps } = (0, $bQNZs$useSelectableCollection)({\n ref: ref,\n selectionManager: manager,\n keyboardDelegate: delegate,\n selectOnFocus: keyboardActivation === 'automatic',\n disallowEmptySelection: true,\n scrollRef: ref,\n linkBehavior: 'selection'\n });\n // Compute base id for all tabs\n let tabsId = (0, $bQNZs$useId)();\n (0, $99b62ae3ff97ec45$export$c5f62239608282b6).set(state, tabsId);\n let tabListLabelProps = (0, $bQNZs$useLabels)({\n ...props,\n id: tabsId\n });\n return {\n tabListProps: {\n ...(0, $bQNZs$mergeProps)(collectionProps, tabListLabelProps),\n role: 'tablist',\n 'aria-orientation': orientation,\n tabIndex: undefined\n }\n };\n}\n\n\nexport {$58d314389b21fa3f$export$773e389e644c5874 as useTabList};\n//# sourceMappingURL=useTabList.module.js.map\n","import {useSingleSelectListState as $fgY1A$useSingleSelectListState} from \"@react-stately/list\";\nimport {useRef as $fgY1A$useRef, useEffect as $fgY1A$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\nfunction $76f919a04c5a7d14$export$4ba071daf4e486(props) {\n var _props_defaultSelectedKey, _ref;\n let state = (0, $fgY1A$useSingleSelectListState)({\n ...props,\n onSelectionChange: props.onSelectionChange ? (key)=>{\n var _props_onSelectionChange;\n if (key != null) (_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, key);\n } : undefined,\n suppressTextValueWarning: true,\n defaultSelectedKey: (_ref = (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : $76f919a04c5a7d14$var$findDefaultSelectedKey(props.collection, props.disabledKeys ? new Set(props.disabledKeys) : new Set())) !== null && _ref !== void 0 ? _ref : undefined\n });\n let { selectionManager: selectionManager, collection: collection, selectedKey: currentSelectedKey } = state;\n let lastSelectedKey = (0, $fgY1A$useRef)(currentSelectedKey);\n (0, $fgY1A$useEffect)(()=>{\n // Ensure a tab is always selected (in case no selected key was specified or if selected item was deleted from collection)\n let selectedKey = currentSelectedKey;\n if (props.selectedKey == null && (selectionManager.isEmpty || selectedKey == null || !collection.getItem(selectedKey))) {\n selectedKey = $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, state.disabledKeys);\n if (selectedKey != null) // directly set selection because replace/toggle selection won't consider disabled keys\n selectionManager.setSelectedKeys([\n selectedKey\n ]);\n }\n // If the tablist doesn't have focus and the selected key changes or if there isn't a focused key yet, change focused key to the selected key if it exists.\n if (selectedKey != null && selectionManager.focusedKey == null || !selectionManager.isFocused && selectedKey !== lastSelectedKey.current) selectionManager.setFocusedKey(selectedKey);\n lastSelectedKey.current = selectedKey;\n });\n return {\n ...state,\n isDisabled: props.isDisabled || false\n };\n}\nfunction $76f919a04c5a7d14$var$findDefaultSelectedKey(collection, disabledKeys) {\n let selectedKey = null;\n if (collection) {\n var _collection_getItem_props, _collection_getItem, _collection_getItem_props1, _collection_getItem1;\n selectedKey = collection.getFirstKey();\n // loop over tabs until we find one that isn't disabled and select that\n while(selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : (_collection_getItem_props = _collection_getItem.props) === null || _collection_getItem_props === void 0 ? void 0 : _collection_getItem_props.isDisabled)) && selectedKey !== collection.getLastKey())selectedKey = collection.getKeyAfter(selectedKey);\n // if this check is true, then every item is disabled, it makes more sense to default to the first key than the last\n if (selectedKey != null && (disabledKeys.has(selectedKey) || ((_collection_getItem1 = collection.getItem(selectedKey)) === null || _collection_getItem1 === void 0 ? void 0 : (_collection_getItem_props1 = _collection_getItem1.props) === null || _collection_getItem_props1 === void 0 ? void 0 : _collection_getItem_props1.isDisabled)) && selectedKey === collection.getLastKey()) selectedKey = collection.getFirstKey();\n }\n return selectedKey;\n}\n\n\nexport {$76f919a04c5a7d14$export$4ba071daf4e486 as useTabListState};\n//# sourceMappingURL=useTabListState.module.js.map\n","import {CollectionRendererContext as $7135fc7d473fd974$export$4feb769f8ddf26c5, DefaultCollectionRenderer as $7135fc7d473fd974$export$a164736487e3f0ae, usePersistedKeys as $7135fc7d473fd974$export$90e00781bc59d8f9} from \"./Collection.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {SelectionIndicatorContext as $1d5b8b8664671ef2$export$c9549807523555e0} from \"./SelectionIndicator.mjs\";\nimport {SharedElementTransition as $c8a5a149f625efcf$export$758399f318e6385a} from \"./SharedElementTransition.mjs\";\nimport {useFocusRing as $7aSLZ$useFocusRing, mergeProps as $7aSLZ$mergeProps, useTabList as $7aSLZ$useTabList, useTab as $7aSLZ$useTab, useHover as $7aSLZ$useHover, useTabPanel as $7aSLZ$useTabPanel} from \"react-aria\";\nimport {CollectionBuilder as $7aSLZ$CollectionBuilder, Collection as $7aSLZ$Collection, CollectionNode as $7aSLZ$CollectionNode, createLeafComponent as $7aSLZ$createLeafComponent, createHideableComponent as $7aSLZ$createHideableComponent} from \"@react-aria/collections\";\nimport {filterDOMProps as $7aSLZ$filterDOMProps, useObjectRef as $7aSLZ$useObjectRef, inertValue as $7aSLZ$inertValue} from \"@react-aria/utils\";\nimport {useTabListState as $7aSLZ$useTabListState} from \"react-stately\";\nimport $7aSLZ$react, {createContext as $7aSLZ$createContext, forwardRef as $7aSLZ$forwardRef, useMemo as $7aSLZ$useMemo, useContext as $7aSLZ$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\n\n\nconst $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$364712098d2aa57c = /*#__PURE__*/ (0, $7aSLZ$createContext)(null);\nconst $5e8ad37a45e1c704$export$b2539bed5023c21c = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function Tabs(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let { children: children, orientation: orientation = 'horizontal' } = props;\n children = (0, $7aSLZ$useMemo)(()=>typeof children === 'function' ? children({\n orientation: orientation,\n defaultChildren: null\n }) : children, [\n children,\n orientation\n ]);\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$CollectionBuilder), {\n content: children\n }, (collection)=>/*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabsInner, {\n props: props,\n collection: collection,\n tabsRef: ref\n }));\n});\nfunction $5e8ad37a45e1c704$var$TabsInner({ props: props, tabsRef: ref, collection: collection }) {\n let { orientation: orientation = 'horizontal' } = props;\n let state = (0, $7aSLZ$useTabListState)({\n ...props,\n collection: collection,\n children: undefined\n });\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)({\n within: true\n });\n let values = (0, $7aSLZ$useMemo)(()=>({\n orientation: orientation,\n isFocusWithin: isFocused,\n isFocusVisible: isFocusVisible\n }), [\n orientation,\n isFocused,\n isFocusVisible\n ]);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Tabs',\n values: values\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, focusProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-orientation\": orientation,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": state.isDisabled || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n props\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n state\n ]\n ]\n }, renderProps.children));\n}\nconst $5e8ad37a45e1c704$export$e51a686c67fdaa2d = /*#__PURE__*/ (0, $7aSLZ$forwardRef)(function TabList(props, ref) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n return state ? /*#__PURE__*/ (0, $7aSLZ$react).createElement($5e8ad37a45e1c704$var$TabListInner, {\n props: props,\n forwardedRef: ref\n }) : /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7aSLZ$Collection), props);\n});\nfunction $5e8ad37a45e1c704$var$TabListInner({ props: props, forwardedRef: ref }) {\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let { CollectionRoot: CollectionRoot } = (0, $7aSLZ$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));\n let { orientation: orientation = 'horizontal', keyboardActivation: keyboardActivation = 'automatic' } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)($5e8ad37a45e1c704$export$cfa7aa87c26e7d1f);\n let objectRef = (0, $7aSLZ$useObjectRef)(ref);\n let { tabListProps: tabListProps } = (0, $7aSLZ$useTabList)({\n ...props,\n orientation: orientation,\n keyboardActivation: keyboardActivation\n }, state, objectRef);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n children: null,\n defaultClassName: 'react-aria-TabList',\n values: {\n orientation: orientation,\n state: state\n }\n });\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabListProps),\n ref: objectRef,\n \"data-orientation\": orientation || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $c8a5a149f625efcf$export$758399f318e6385a), null, /*#__PURE__*/ (0, $7aSLZ$react).createElement(CollectionRoot, {\n collection: state.collection,\n persistedKeys: (0, $7135fc7d473fd974$export$90e00781bc59d8f9)(state.selectionManager.focusedKey)\n })));\n}\nclass $5e8ad37a45e1c704$var$TabItemNode extends (0, $7aSLZ$CollectionNode) {\n}\n$5e8ad37a45e1c704$var$TabItemNode.type = 'item';\nconst $5e8ad37a45e1c704$export$3e41faf802a29e71 = /*#__PURE__*/ (0, $7aSLZ$createLeafComponent)($5e8ad37a45e1c704$var$TabItemNode, (props, forwardedRef, item)=>{\n let state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n let { tabProps: tabProps, isSelected: isSelected, isDisabled: isDisabled, isPressed: isPressed } = (0, $7aSLZ$useTab)({\n key: item.key,\n ...props\n }, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $7aSLZ$useHover)({\n isDisabled: isDisabled,\n onHoverStart: props.onHoverStart,\n onHoverEnd: props.onHoverEnd,\n onHoverChange: props.onHoverChange\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n id: undefined,\n children: item.rendered,\n defaultClassName: 'react-aria-Tab',\n values: {\n isSelected: isSelected,\n isDisabled: isDisabled,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isPressed: isPressed,\n isHovered: isHovered\n }\n });\n let ElementType = item.props.href ? 'a' : 'div';\n let DOMProps = (0, $7aSLZ$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(ElementType, {\n ...(0, $7aSLZ$mergeProps)(DOMProps, renderProps, tabProps, focusProps, hoverProps),\n ref: ref,\n \"data-selected\": isSelected || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $1d5b8b8664671ef2$export$c9549807523555e0).Provider, {\n value: {\n isSelected: isSelected\n }\n }, renderProps.children));\n});\nconst $5e8ad37a45e1c704$export$3d96ec278d3efce4 = /*#__PURE__*/ (0, $7aSLZ$createHideableComponent)(function TabPanel(props, forwardedRef) {\n const state = (0, $7aSLZ$useContext)($5e8ad37a45e1c704$export$364712098d2aa57c);\n let ref = (0, $7aSLZ$useObjectRef)(forwardedRef);\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n let { id: id, ...otherProps } = props;\n let { tabPanelProps: tabPanelProps } = (0, $7aSLZ$useTabPanel)(props, state, ref);\n let { focusProps: focusProps, isFocused: isFocused, isFocusVisible: isFocusVisible } = (0, $7aSLZ$useFocusRing)();\n let isSelected = state.selectedKey === props.id;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-TabPanel',\n values: {\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n // @ts-ignore - compatibility with React < 19\n isInert: (0, $7aSLZ$inertValue)(!isSelected),\n state: state\n }\n });\n if (!isSelected && !props.shouldForceMount) return null;\n let DOMProps = (0, $7aSLZ$filterDOMProps)(otherProps, {\n global: true\n });\n delete DOMProps.id;\n let domProps = isSelected ? (0, $7aSLZ$mergeProps)(DOMProps, tabPanelProps, focusProps, renderProps) : renderProps;\n return /*#__PURE__*/ (0, $7aSLZ$react).createElement(\"div\", {\n ...domProps,\n ref: ref,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n // @ts-ignore\n inert: (0, $7aSLZ$inertValue)(!isSelected || props.inert),\n \"data-inert\": !isSelected ? 'true' : undefined\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $5e8ad37a45e1c704$export$cfa7aa87c26e7d1f,\n null\n ],\n [\n $5e8ad37a45e1c704$export$364712098d2aa57c,\n null\n ]\n ]\n }, /*#__PURE__*/ (0, $7aSLZ$react).createElement((0, $7135fc7d473fd974$export$4feb769f8ddf26c5).Provider, {\n value: (0, $7135fc7d473fd974$export$a164736487e3f0ae)\n }, renderProps.children)));\n});\n\n\nexport {$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f as TabsContext, $5e8ad37a45e1c704$export$364712098d2aa57c as TabListStateContext, $5e8ad37a45e1c704$export$b2539bed5023c21c as Tabs, $5e8ad37a45e1c704$export$e51a686c67fdaa2d as TabList, $5e8ad37a45e1c704$export$3e41faf802a29e71 as Tab, $5e8ad37a45e1c704$export$3d96ec278d3efce4 as TabPanel};\n//# sourceMappingURL=Tabs.module.js.map\n","import { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type { SlotComponent } from \"@/type-utils\";\nimport type {\n TabsRootSlotProps,\n TabsListSlotProps,\n TabsTabSlotProps,\n TabsPanelsSlotProps,\n TabsPanelSlotProps,\n} from \"./tabs.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"tabs\",\n});\n\n/**\n * Root component that provides the styling context for the Tabs component.\n * Uses Chakra UI's recipe context system for consistent styling across instances.\n */\nexport const TabsRootSlot = withProvider<HTMLDivElement, TabsRootSlotProps>(\n \"div\",\n \"root\"\n);\n\nexport const TabsListSlot = withContext<HTMLDivElement, TabsListSlotProps>(\n \"div\",\n \"list\"\n);\n\nexport const TabsTabSlot = withContext<HTMLButtonElement, TabsTabSlotProps>(\n \"button\",\n \"tab\"\n);\n\nexport const TabsPanelsSlot: SlotComponent<\n HTMLDivElement,\n TabsPanelsSlotProps\n> = withContext<HTMLDivElement, TabsPanelsSlotProps>(\"div\", \"panels\");\n\nexport const TabsPanelSlot: SlotComponent<HTMLDivElement, TabsPanelSlotProps> =\n withContext<HTMLDivElement, TabsPanelSlotProps>(\"div\", \"panel\");\n","import { Tab as RATab } from \"react-aria-components\";\nimport { TabsTabSlot } from \"../tabs.slots\";\nimport type { TabProps } from \"../tabs.types\";\n\n/**\n * # Tab\n *\n * An individual tab button that allows users to switch to a specific panel.\n */\nexport const Tab = ({ children, isDisabled, ...props }: TabProps) => {\n return (\n <TabsTabSlot asChild {...props}>\n <RATab isDisabled={isDisabled}>{children}</RATab>\n </TabsTabSlot>\n );\n};\n\nTab.displayName = \"Tabs.Tab\";\n","import { TabList as RATabList } from \"react-aria-components\";\nimport { extractStyleProps } from \"@/utils\";\nimport { TabsListSlot } from \"../tabs.slots\";\nimport { Tab } from \"./tabs.tab\";\nimport type { TabListProps, TabItemProps } from \"../tabs.types\";\n\n/**\n * # TabList\n *\n * A container for the tab buttons that allows users to switch between different panels.\n */\nexport const TabList = ({ tabs, children, ...props }: TabListProps) => {\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Ensure RATabList always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.List: Either provide \"tabs\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsListSlot {...styleProps} asChild>\n <RATabList items={tabs as TabItemProps[]} {...restProps}>\n {tabs\n ? (tab: TabItemProps) => (\n <Tab key={tab.id} id={tab.id} isDisabled={tab.isDisabled}>\n {tab.tabLabel}\n </Tab>\n )\n : children}\n </RATabList>\n </TabsListSlot>\n );\n};\n\nTabList.displayName = \"Tabs.List\";\n","import { forwardRef } from \"react\";\nimport { TabPanel as RATabPanel } from \"react-aria-components\";\nimport { TabsPanelSlot } from \"../tabs.slots\";\nimport type { TabPanelProps } from \"../tabs.types\";\n\n/**\n * # TabPanel\n *\n * An individual tab panel that displays panelContent when its corresponding tab is selected.\n */\nexport const TabPanel = forwardRef<HTMLDivElement, TabPanelProps>(\n ({ children, ...props }, ref) => {\n // Ensure TabPanel always has children\n if (!children) {\n throw new Error(\"Tabs.Panel: children prop is required\");\n }\n\n return (\n <TabsPanelSlot asChild ref={ref} {...props}>\n <RATabPanel>{children}</RATabPanel>\n </TabsPanelSlot>\n );\n }\n);\n\nTabPanel.displayName = \"Tabs.Panel\";\n","import { Collection as RaCollection } from \"react-aria-components\";\nimport { TabsPanelsSlot } from \"../tabs.slots\";\nimport { TabPanel } from \"./tabs.panel\";\nimport type { TabItemProps, TabPanelsProps } from \"../tabs.types\";\n\n/**\n * # TabPanels\n *\n * A container for the tab panels that displays panelContent based on the selected tab.\n */\nexport const TabPanels = ({ tabs, children, ...props }: TabPanelsProps) => {\n // Ensure TabPanels always has children - either from tabs or provided children\n if (!tabs && !children) {\n throw new Error(\n 'Tabs.Panels: Either provide \"items\" prop or \"children\" must be provided'\n );\n }\n\n return (\n <TabsPanelsSlot {...props}>\n {tabs ? (\n <RaCollection items={tabs as TabItemProps[]}>\n {(tab: TabItemProps) => (\n <TabPanel key={tab.id} id={tab.id}>\n {tab.panelContent}\n </TabPanel>\n )}\n </RaCollection>\n ) : (\n children\n )}\n </TabsPanelsSlot>\n );\n};\n\nTabPanels.displayName = \"Tabs.Panels\";\n","import { Tabs as RATabs } from \"react-aria-components\";\nimport { TabsRootSlot } from \"../tabs.slots\";\nimport type { TabsProps } from \"../tabs.types\";\nimport { TabList } from \"./tabs.list\";\nimport { TabPanels } from \"./tabs.panels\";\n\n/**\n * # Tabs\n *\n * A tabs component built on React Aria Components that allows users to switch between different views.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/navigation/tabs}\n */\nexport const TabsRoot = ({\n children,\n orientation = \"horizontal\",\n disabledKeys,\n placement = \"start\",\n size = \"md\",\n tabs,\n ...props\n}: TabsProps) => {\n return (\n <TabsRootSlot\n asChild\n orientation={orientation}\n placement={placement}\n size={size}\n {...props}\n >\n <RATabs disabledKeys={disabledKeys} {...tabs}>\n {children || (\n <>\n <TabList tabs={tabs} />\n <TabPanels tabs={tabs} />\n </>\n )}\n </RATabs>\n </TabsRootSlot>\n );\n};\n\nTabsRoot.displayName = \"Tabs.Root\";\n","import { TabsRoot } from \"./components/tabs.root\";\nimport { TabList } from \"./components/tabs.list\";\nimport { Tab } from \"./components/tabs.tab\";\nimport { TabPanels } from \"./components/tabs.panels\";\nimport { TabPanel } from \"./components/tabs.panel\";\n\nexport const Tabs = {\n Root: TabsRoot,\n List: TabList,\n Tab: Tab,\n Panels: TabPanels,\n Panel: TabPanel,\n};\n\nexport type { TabsProps, TabListProps, TabItemProps } from \"./tabs.types\";\n\n/**\n * todo: get rid of this, this is needed for the react-docgen-typescript script\n * that is parsing the typescript types for our documentation. The _ underscores\n * serve as a reminder that this exports are awkward and should not be used.\n */\nexport {\n TabsRoot as _TabsRoot,\n TabList as _TabList,\n Tab as _Tab,\n TabPanels as _TabPanels,\n TabPanel as _TabPanel,\n};\n"],"names":["$99b62ae3ff97ec45$export$c5f62239608282b6","$99b62ae3ff97ec45$export$567fc7097e064344","state","key","role","baseId","$0175d55c2a017ebc$export$fdf4756d5b8ef90a","props","ref","propsDisabled","shouldSelectOnPressUp","manager","selectedKey","isSelected","isDisabled","itemProps","isPressed","$dObGJ$useSelectableItem","tabId","tabPanelId","tabIndex","item","domProps","$dObGJ$filterDOMProps","linkProps","$dObGJ$useLinkProps","focusableProps","$dObGJ$useFocusable","$dObGJ$mergeProps","$34bce698202e07cb$export$fae0121b5afe572d","$jik2T$useHasTabbableChild","_props_id","id","tabPanelProps","$jik2T$useLabels","$jik2T$mergeProps","$bfc6f2d60b8a4c40$export$15010ca3c1abe90b","_this_collection_getItem_props","_this_collection_getItem","startKey","collection","direction","orientation","disabledKeys","$58d314389b21fa3f$export$773e389e644c5874","keyboardActivation","$bQNZs$useLocale","delegate","$bQNZs$useMemo","collectionProps","$bQNZs$useSelectableCollection","tabsId","$bQNZs$useId","tabListLabelProps","$bQNZs$useLabels","$bQNZs$mergeProps","$76f919a04c5a7d14$export$4ba071daf4e486","_props_defaultSelectedKey","_ref","$fgY1A$useSingleSelectListState","_props_onSelectionChange","$76f919a04c5a7d14$var$findDefaultSelectedKey","selectionManager","currentSelectedKey","lastSelectedKey","$fgY1A$useRef","$fgY1A$useEffect","_collection_getItem_props","_collection_getItem","_collection_getItem_props1","_collection_getItem1","$5e8ad37a45e1c704$export$cfa7aa87c26e7d1f","$7aSLZ$createContext","$5e8ad37a45e1c704$export$364712098d2aa57c","$5e8ad37a45e1c704$export$b2539bed5023c21c","$7aSLZ$forwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","children","$7aSLZ$useMemo","$7aSLZ$react","$7aSLZ$CollectionBuilder","$5e8ad37a45e1c704$var$TabsInner","$7aSLZ$useTabListState","focusProps","isFocused","isFocusVisible","$7aSLZ$useFocusRing","values","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$7aSLZ$filterDOMProps","$7aSLZ$mergeProps","$64fa3d84918910a7$export$2881499e37b75b9a","$5e8ad37a45e1c704$export$e51a686c67fdaa2d","$7aSLZ$useContext","$5e8ad37a45e1c704$var$TabListInner","$7aSLZ$Collection","CollectionRoot","$7135fc7d473fd974$export$4feb769f8ddf26c5","$64fa3d84918910a7$export$fabf2dc03a41866e","objectRef","$7aSLZ$useObjectRef","tabListProps","$7aSLZ$useTabList","$c8a5a149f625efcf$export$758399f318e6385a","$7135fc7d473fd974$export$90e00781bc59d8f9","$5e8ad37a45e1c704$var$TabItemNode","$7aSLZ$CollectionNode","$5e8ad37a45e1c704$export$3e41faf802a29e71","$7aSLZ$createLeafComponent","forwardedRef","tabProps","$7aSLZ$useTab","hoverProps","isHovered","$7aSLZ$useHover","ElementType","$1d5b8b8664671ef2$export$c9549807523555e0","$5e8ad37a45e1c704$export$3d96ec278d3efce4","$7aSLZ$createHideableComponent","otherProps","$7aSLZ$useTabPanel","$7aSLZ$inertValue","$7135fc7d473fd974$export$a164736487e3f0ae","withProvider","withContext","createSlotRecipeContext","TabsRootSlot","TabsListSlot","TabsTabSlot","TabsPanelsSlot","TabsPanelSlot","Tab","jsx","RATab","TabList","tabs","styleProps","restProps","extractStyleProps","RATabList","tab","TabPanel","forwardRef","RATabPanel","TabPanels","RaCollection","TabsRoot","placement","size","RATabs","jsxs","Fragment","Tabs"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAUI,MAAMA,IAA4C,oBAAI,QAAO;AACjE,SAASC,EAA0CC,GAAOC,GAAKC,GAAM;AACjE,MAAI,CAACF;AACL,WAAO;AACP,EAAI,OAAOC,KAAQ,aAAUA,IAAMA,EAAI,QAAQ,QAAQ,EAAE;AACzD,MAAIE,IAASL,EAA0C,IAAIE,CAAK;AAChE,SAAI,QAAQ,IAAI,aAAa,gBAAgB,CAACG,KAAQ,QAAQ,MAAM,0FAA0F,GACvJ,GAAGA,CAAM,IAAID,CAAI,IAAID,CAAG;AACnC;ACCA,SAASG,GAA0CC,GAAOL,GAAOM,GAAK;AAClE,MAAI,EAAE,KAAKL,GAAK,YAAYM,GAAe,uBAAuBC,EAAqB,IAAKH,GACxF,EAAE,kBAAkBI,GAAS,aAAaC,EAAW,IAAKV,GAC1DW,IAAaV,MAAQS,GACrBE,IAAaL,KAAiBP,EAAM,cAAcA,EAAM,iBAAiB,WAAWC,CAAG,GACvF,EAAE,WAAWY,GAAW,WAAWC,EAAS,IAASC,EAA0B;AAAA,IAC/E,kBAAkBN;AAAA,IAClB,KAAKR;AAAA,IACL,KAAKK;AAAA,IACL,YAAYM;AAAA,IACZ,uBAAuBJ;AAAA,IACvB,cAAc;AA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,MAAAC,GAAY;AAAA,MACrB,gBAAAH,EAACY,KAAU,MAAAT,EAAA,CAAY;AAAA,IAAA,EAAA,CACzB,EAAA,CAEJ;AAAA,EAAA;AAAA;AAKNW,EAAS,cAAc;ACpChB,MAAMM,KAAO;AAAA,EAClB,MAAMN;AAAA,EACN,MAAMZ;AAAA,EACN,KAAAH;AAAA,EACA,QAAQa;AAAA,EACR,OAAOH;AACT;","x_google_ignoreList":[0,1,2,3,4,5,6]}
@@ -0,0 +1,2 @@
1
+ "use strict";const f=require("react/jsx-runtime"),g=require("./SelectionManager-1rNaWE7D.cjs.js"),x=require("./utils-BHdR5Nww.cjs.js"),k=require("./SelectionIndicator-Cp3OYqg6.cjs.js"),m=require("./CollectionBuilder-BiEelELF.cjs.js"),z=require("./Hidden-CNJIJ63M.cjs.js"),h=require("./mergeProps-BA5Cwf5w.cjs.js"),T=require("./filterDOMProps-WUskt27c.cjs.js"),R=require("./useObjectRef-dXOJdONs.cjs.js"),j=require("./inertValue-B3AFhVG4.cjs.js"),s=require("react"),I=require("./useLabels-BsHtLxGl.cjs.js"),B=require("./useHasTabbableChild-Bif_c3Cz.cjs.js"),U=require("./openLink-DkCJYbzq.cjs.js"),W=require("./useFocusable-Dv8K4Git.cjs.js"),G=require("./context-OoV8SSWX.cjs.js"),q=require("./useFocusRing-BuJmrp03.cjs.js"),J=require("./useHover-271zEzph.cjs.js"),Q=require("./useSingleSelectListState-CgOgZMJh.cjs.js"),X=require("@chakra-ui/react"),Y=require("./extract-style-props-Dk3fpLyQ.cjs.js"),O=new WeakMap;function S(i,e,t){if(!i)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let a=O.get(i);return process.env.NODE_ENV!=="production"&&!a&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${a}-${t}-${e}`}function Z(i,e,t){let{key:a,isDisabled:d,shouldSelectOnPressUp:r}=i,{selectionManager:l,selectedKey:c}=e,o=a===c,n=d||e.isDisabled||e.selectionManager.isDisabled(a),{itemProps:u,isPressed:b}=g.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:l,key:a,ref:t,isDisabled:n,shouldSelectOnPressUp:r,linkBehavior:"selection"}),$=S(e,a,"tab"),v=S(e,a,"tabpanel"),{tabIndex:y}=u,p=e.collection.getItem(a),P=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(p?.props,{labelable:!0});delete P.id;let V=U.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(p?.props),{focusableProps:A}=W.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:n},t);return{tabProps:h.$3ef42575df84b30b$export$9d1611c77c2fe928(P,A,V,u,{id:$,"aria-selected":o,"aria-disabled":n||void 0,"aria-controls":o?v:void 0,tabIndex:n?void 0:y,role:"tab"}),isSelected:o,isDisabled:n,isPressed:b}}function _(i,e,t){let a=B.$83013635b024ae3d$export$eac1895992b9f3d6(t)?void 0:0;var d;const r=S(e,(d=i.id)!==null&&d!==void 0?d:e?.selectedKey,"tabpanel"),l=I.$313b98861ee5dd6c$export$d6875122194c7b44({...i,id:r,"aria-labelledby":S(e,e?.selectedKey,"tab")});return{tabPanelProps:h.$3ef42575df84b30b$export$9d1611c77c2fe928(l,{tabIndex:a,role:"tabpanel","aria-describedby":i["aria-describedby"],"aria-details":i["aria-details"]})}}class ee{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,a;return this.disabledKeys.has(e)||!!(!((a=this.collection.getItem(e))===null||a===void 0||(t=a.props)===null||t===void 0)&&t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(t!=null&&this.isDisabled(t));return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(t!=null&&this.isDisabled(t));return t}constructor(e,t,a,d=new Set){this.collection=e,this.flipDirection=t==="rtl"&&a==="horizontal",this.disabledKeys=d,this.tabDirection=a==="horizontal"}}function te(i,e,t){let{orientation:a="horizontal",keyboardActivation:d="automatic"}=i,{collection:r,selectionManager:l,disabledKeys:c}=e,{direction:o}=G.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),n=s.useMemo(()=>new ee(r,o,a,c),[r,c,a,o]),{collectionProps:u}=g.$ae20dd8cbca75726$export$d6daf82dcd84e87c({ref:t,selectionManager:l,keyboardDelegate:n,selectOnFocus:d==="automatic",disallowEmptySelection:!0,scrollRef:t,linkBehavior:"selection"}),b=h.$bdb11010cef70236$export$f680877a34711e37();O.set(e,b);let $=I.$313b98861ee5dd6c$export$d6875122194c7b44({...i,id:b});return{tabListProps:{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(u,$),role:"tablist","aria-orientation":a,tabIndex:void 0}}}function ie(i){var e,t;let a=Q.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...i,onSelectionChange:i.onSelectionChange?o=>{var n;o!=null&&((n=i.onSelectionChange)===null||n===void 0||n.call(i,o))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(t=(e=i.defaultSelectedKey)!==null&&e!==void 0?e:N(i.collection,i.disabledKeys?new Set(i.disabledKeys):new Set))!==null&&t!==void 0?t:void 0}),{selectionManager:d,collection:r,selectedKey:l}=a,c=s.useRef(l);return s.useEffect(()=>{let o=l;i.selectedKey==null&&(d.isEmpty||o==null||!r.getItem(o))&&(o=N(r,a.disabledKeys),o!=null&&d.setSelectedKeys([o])),(o!=null&&d.focusedKey==null||!d.isFocused&&o!==c.current)&&d.setFocusedKey(o),c.current=o}),{...a,isDisabled:i.isDisabled||!1}}function N(i,e){let t=null;if(i){var a,d,r,l;for(t=i.getFirstKey();t!=null&&(e.has(t)||!((d=i.getItem(t))===null||d===void 0||(a=d.props)===null||a===void 0)&&a.isDisabled)&&t!==i.getLastKey();)t=i.getKeyAfter(t);t!=null&&(e.has(t)||!((l=i.getItem(t))===null||l===void 0||(r=l.props)===null||r===void 0)&&r.isDisabled)&&t===i.getLastKey()&&(t=i.getFirstKey())}return t}const D=s.createContext(null),K=s.createContext(null),ae=s.forwardRef(function(e,t){[e,t]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,D);let{children:a,orientation:d="horizontal"}=e;return a=s.useMemo(()=>typeof a=="function"?a({orientation:d,defaultChildren:null}):a,[a,d]),s.createElement(m.$e1995378a142960e$export$bf788dd355e3a401,{content:a},r=>s.createElement(de,{props:e,collection:r,tabsRef:t}))});function de({props:i,tabsRef:e,collection:t}){let{orientation:a="horizontal"}=i,d=ie({...i,collection:t,children:void 0}),{focusProps:r,isFocused:l,isFocusVisible:c}=q.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),o=s.useMemo(()=>({orientation:a,isFocusWithin:l,isFocusVisible:c}),[a,l,c]),n=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,defaultClassName:"react-aria-Tabs",values:o}),u=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return s.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(u,n,r),ref:e,slot:i.slot||void 0,"data-focused":l||void 0,"data-orientation":a,"data-focus-visible":c||void 0,"data-disabled":d.isDisabled||void 0},s.createElement(x.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D,i],[K,d]]},n.children))}const re=s.forwardRef(function(e,t){return s.useContext(K)?s.createElement(se,{props:e,forwardedRef:t}):s.createElement(m.$e1995378a142960e$export$fb8073518f34e6ec,e)});function se({props:i,forwardedRef:e}){let t=s.useContext(K),{CollectionRoot:a}=s.useContext(g.$7135fc7d473fd974$export$4feb769f8ddf26c5),{orientation:d="horizontal",keyboardActivation:r="automatic"}=x.$64fa3d84918910a7$export$fabf2dc03a41866e(D),l=R.$df56164dff5785e2$export$4338b53315abf666(e),{tabListProps:c}=te({...i,orientation:d,keyboardActivation:r},t,l),o=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,children:null,defaultClassName:"react-aria-TabList",values:{orientation:d,state:t}}),n=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return delete n.id,s.createElement("div",{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(n,o,c),ref:l,"data-orientation":d||void 0},s.createElement(k.$c8a5a149f625efcf$export$758399f318e6385a,null,s.createElement(a,{collection:t.collection,persistedKeys:g.$7135fc7d473fd974$export$90e00781bc59d8f9(t.selectionManager.focusedKey)})))}class H extends m.$23b9f4fcf0fe224b$export$d68d59712b04d9d1{}H.type="item";const oe=m.$e1995378a142960e$export$18af5c7a9e9b3664(H,(i,e,t)=>{let a=s.useContext(K),d=R.$df56164dff5785e2$export$4338b53315abf666(e),{tabProps:r,isSelected:l,isDisabled:c,isPressed:o}=Z({key:t.key,...i},a,d),{focusProps:n,isFocused:u,isFocusVisible:b}=q.$f7dceffc5ad7768b$export$4e328f61c538687f(),{hoverProps:$,isHovered:v}=J.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:c,onHoverStart:i.onHoverStart,onHoverEnd:i.onHoverEnd,onHoverChange:i.onHoverChange}),y=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,id:void 0,children:t.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:l,isDisabled:c,isFocused:u,isFocusVisible:b,isPressed:o,isHovered:v}}),p=t.props.href?"a":"div",P=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return delete P.id,delete P.onClick,s.createElement(p,{...h.$3ef42575df84b30b$export$9d1611c77c2fe928(P,y,r,n,$),ref:d,"data-selected":l||void 0,"data-disabled":c||void 0,"data-focused":u||void 0,"data-focus-visible":b||void 0,"data-pressed":o||void 0,"data-hovered":v||void 0},s.createElement(k.$1d5b8b8664671ef2$export$c9549807523555e0.Provider,{value:{isSelected:l}},y.children))}),le=z.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){const a=s.useContext(K);let d=R.$df56164dff5785e2$export$4338b53315abf666(t),{id:r,...l}=e,{tabPanelProps:c}=_(e,a,d),{focusProps:o,isFocused:n,isFocusVisible:u}=q.$f7dceffc5ad7768b$export$4e328f61c538687f(),b=a.selectedKey===e.id,$=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:n,isFocusVisible:u,isInert:j.$cdc5a6778b766db2$export$a9d04c5684123369(!b),state:a}});if(!b&&!e.shouldForceMount)return null;let v=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(l,{global:!0});delete v.id;let y=b?h.$3ef42575df84b30b$export$9d1611c77c2fe928(v,c,o,$):$;return s.createElement("div",{...y,ref:d,"data-focused":n||void 0,"data-focus-visible":u||void 0,inert:j.$cdc5a6778b766db2$export$a9d04c5684123369(!b||e.inert),"data-inert":b?void 0:"true"},s.createElement(x.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D,null],[K,null]]},s.createElement(g.$7135fc7d473fd974$export$4feb769f8ddf26c5.Provider,{value:g.$7135fc7d473fd974$export$a164736487e3f0ae},$.children)))}),{withProvider:ne,withContext:C}=X.createSlotRecipeContext({key:"tabs"}),ce=ne("div","root"),fe=C("div","list"),be=C("button","tab"),ue=C("div","panels"),$e=C("div","panel"),F=({children:i,isDisabled:e,...t})=>f.jsx(be,{asChild:!0,...t,children:f.jsx(oe,{isDisabled:e,children:i})});F.displayName="Tabs.Tab";const E=({tabs:i,children:e,...t})=>{const[a,d]=Y.extractStyleProps(t);if(!i&&!e)throw new Error('Tabs.List: Either provide "tabs" prop or "children" must be provided');return f.jsx(fe,{...a,asChild:!0,children:f.jsx(re,{items:i,...d,children:i?r=>f.jsx(F,{id:r.id,isDisabled:r.isDisabled,children:r.tabLabel},r.id):e})})};E.displayName="Tabs.List";const w=s.forwardRef(({children:i,...e},t)=>{if(!i)throw new Error("Tabs.Panel: children prop is required");return f.jsx($e,{asChild:!0,ref:t,...e,children:f.jsx(le,{children:i})})});w.displayName="Tabs.Panel";const L=({tabs:i,children:e,...t})=>{if(!i&&!e)throw new Error('Tabs.Panels: Either provide "items" prop or "children" must be provided');return f.jsx(ue,{...t,children:i?f.jsx(m.$e1995378a142960e$export$fb8073518f34e6ec,{items:i,children:a=>f.jsx(w,{id:a.id,children:a.panelContent},a.id)}):e})};L.displayName="Tabs.Panels";const M=({children:i,orientation:e="horizontal",disabledKeys:t,placement:a="start",size:d="md",tabs:r,...l})=>f.jsx(ce,{asChild:!0,orientation:e,placement:a,size:d,...l,children:f.jsx(ae,{disabledKeys:t,...r,children:i||f.jsxs(f.Fragment,{children:[f.jsx(E,{tabs:r}),f.jsx(L,{tabs:r})]})})});M.displayName="Tabs.Root";const pe={Root:M,List:E,Tab:F,Panels:L,Panel:w};exports.Tab=F;exports.TabList=E;exports.TabPanel=w;exports.TabPanels=L;exports.Tabs=pe;exports.TabsRoot=M;
2
+ //# sourceMappingURL=tabs-CEB3Dfex.cjs.js.map