@commercetools/nimbus 0.0.0-canary-20250902075758 → 0.0.0-canary-20250903145300

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 (709) hide show
  1. package/dist/chunks/{Button-Bh-FLo_8.cjs.js → Button-BtJHe9xY.cjs.js} +2 -2
  2. package/dist/chunks/{Button-Bh-FLo_8.cjs.js.map → Button-BtJHe9xY.cjs.js.map} +1 -1
  3. package/dist/chunks/{Button--gemnXF8.es.js → Button-CNBS3n5a.es.js} +3 -3
  4. package/dist/chunks/{Button--gemnXF8.es.js.map → Button-CNBS3n5a.es.js.map} +1 -1
  5. package/dist/chunks/{DateField-DVzmD_D6.es.js → DateField-Dm2Qlhbk.es.js} +71 -58
  6. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -0
  7. package/dist/chunks/DateField-rweHHCKR.cjs.js +2 -0
  8. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -0
  9. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +2 -0
  10. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +1 -0
  11. package/dist/chunks/{DatePicker-_A7-hp_b.es.js → DatePicker-BthC1bZ_.es.js} +109 -105
  12. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +1 -0
  13. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +1924 -0
  14. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +1 -0
  15. package/dist/chunks/Dialog-CYa26HlL.cjs.js +2 -0
  16. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +1 -0
  17. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -1
  18. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -1
  19. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  20. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  21. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -1
  22. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -1
  23. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  24. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  25. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -1
  26. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -1
  27. package/dist/chunks/{Heading-BI5vqfiY.cjs.js → Heading-BaW6t55l.cjs.js} +2 -2
  28. package/dist/chunks/{Heading-BI5vqfiY.cjs.js.map → Heading-BaW6t55l.cjs.js.map} +1 -1
  29. package/dist/chunks/{Heading-sepFdCCa.es.js → Heading-DEfy_f01.es.js} +5 -5
  30. package/dist/chunks/{Heading-sepFdCCa.es.js.map → Heading-DEfy_f01.es.js.map} +1 -1
  31. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  32. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  33. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -1
  34. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -1
  35. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  36. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  37. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -1
  38. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -1
  39. package/dist/chunks/ListBox-CikEmFBx.cjs.js +2 -0
  40. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +1 -0
  41. package/dist/chunks/ListBox-DF3NHeEX.es.js +605 -0
  42. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +1 -0
  43. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
  44. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
  45. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js +2 -0
  46. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -0
  47. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +491 -0
  48. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -0
  49. package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js → ProgressBar-BA3sLh1k.cjs.js} +2 -2
  50. package/dist/chunks/{ProgressBar-BNPexoD9.cjs.js.map → ProgressBar-BA3sLh1k.cjs.js.map} +1 -1
  51. package/dist/chunks/{ProgressBar-BnGsEC_2.es.js → ProgressBar-DjaUQI7N.es.js} +2 -2
  52. package/dist/chunks/{ProgressBar-BnGsEC_2.es.js.map → ProgressBar-DjaUQI7N.es.js.map} +1 -1
  53. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
  54. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
  55. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
  56. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
  57. package/dist/chunks/{Collection-Df3FPouy.es.js → SelectionManager-CLyu96pU.es.js} +627 -577
  58. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +1 -0
  59. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +18 -0
  60. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +1 -0
  61. package/dist/chunks/Separator-3-E2tRbk.es.js +92 -0
  62. package/dist/chunks/Separator-3-E2tRbk.es.js.map +1 -0
  63. package/dist/chunks/Separator-CAOg-vqY.cjs.js +2 -0
  64. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +1 -0
  65. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  66. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  67. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -1
  68. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -1
  69. package/dist/chunks/{ToggleButton-BoIyPi3U.es.js → ToggleButton-C3JL0pgD.es.js} +3 -3
  70. package/dist/chunks/{ToggleButton-BoIyPi3U.es.js.map → ToggleButton-C3JL0pgD.es.js.map} +1 -1
  71. package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js → ToggleButton-CPAdPTCr.cjs.js} +2 -2
  72. package/dist/chunks/{ToggleButton-By3cqA7R.cjs.js.map → ToggleButton-CPAdPTCr.cjs.js.map} +1 -1
  73. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -1
  74. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -1
  75. package/dist/chunks/accordion-EDJoghXQ.cjs.js +2 -0
  76. package/dist/chunks/{accordion-CAC36XIK.cjs.js.map → accordion-EDJoghXQ.cjs.js.map} +1 -1
  77. package/dist/chunks/{accordion-8XmJkF18.es.js → accordion-UL4pfC2d.es.js} +25 -25
  78. package/dist/chunks/{accordion-8XmJkF18.es.js.map → accordion-UL4pfC2d.es.js.map} +1 -1
  79. package/dist/chunks/alert-BhoRNIWA.cjs.js +2 -0
  80. package/dist/chunks/{alert-STlW7NU8.cjs.js.map → alert-BhoRNIWA.cjs.js.map} +1 -1
  81. package/dist/chunks/{alert-CbAPX3xQ.es.js → alert-D-ddqYG4.es.js} +25 -26
  82. package/dist/chunks/{alert-CbAPX3xQ.es.js.map → alert-D-ddqYG4.es.js.map} +1 -1
  83. package/dist/chunks/{avatar-B7CMxFNg.es.js → avatar-Bu12OMzz.es.js} +6 -6
  84. package/dist/chunks/{avatar-B7CMxFNg.es.js.map → avatar-Bu12OMzz.es.js.map} +1 -1
  85. package/dist/chunks/avatar-C2KIWewd.cjs.js +2 -0
  86. package/dist/chunks/{avatar-mL-2hOve.cjs.js.map → avatar-C2KIWewd.cjs.js.map} +1 -1
  87. package/dist/chunks/avatar.recipe-D3--Rkmb.cjs.js +2 -0
  88. package/dist/chunks/{avatar.recipe-CQivdbFs.cjs.js.map → avatar.recipe-D3--Rkmb.cjs.js.map} +1 -1
  89. package/dist/chunks/{avatar.recipe-CxXQlkH6.es.js → avatar.recipe-DfyPWbFZ.es.js} +2 -2
  90. package/dist/chunks/{avatar.recipe-CxXQlkH6.es.js.map → avatar.recipe-DfyPWbFZ.es.js.map} +1 -1
  91. package/dist/chunks/{badge-C2elCKPp.es.js → badge-BJd-Q81M.es.js} +5 -6
  92. package/dist/chunks/{badge-C2elCKPp.es.js.map → badge-BJd-Q81M.es.js.map} +1 -1
  93. package/dist/chunks/badge-CCrBksXu.cjs.js +2 -0
  94. package/dist/chunks/{badge-HHzfG1BI.cjs.js.map → badge-CCrBksXu.cjs.js.map} +1 -1
  95. package/dist/chunks/box-CWni3A32.cjs.js +2 -0
  96. package/dist/chunks/box-CWni3A32.cjs.js.map +1 -0
  97. package/dist/chunks/box-DuBoAZvq.es.js +12 -0
  98. package/dist/chunks/box-DuBoAZvq.es.js.map +1 -0
  99. package/dist/chunks/{button-_TqIjVy-.es.js → button-CRUdodZm.es.js} +15 -15
  100. package/dist/chunks/{button-_TqIjVy-.es.js.map → button-CRUdodZm.es.js.map} +1 -1
  101. package/dist/chunks/button-CU8FW_Pl.cjs.js +2 -0
  102. package/dist/chunks/{button-CtWoT2k5.cjs.js.map → button-CU8FW_Pl.cjs.js.map} +1 -1
  103. package/dist/chunks/button.recipe-Cqkj3VMo.cjs.js +2 -0
  104. package/dist/chunks/{button.recipe-ClPhJ93N.cjs.js.map → button.recipe-Cqkj3VMo.cjs.js.map} +1 -1
  105. package/dist/chunks/{button.recipe-D9e9Gh9L.es.js → button.recipe-NdTb5f8M.es.js} +2 -2
  106. package/dist/chunks/{button.recipe-D9e9Gh9L.es.js.map → button.recipe-NdTb5f8M.es.js.map} +1 -1
  107. package/dist/chunks/calendar-DJKWldpV.cjs.js +2 -0
  108. package/dist/chunks/{calendar-DFhIC3YS.cjs.js.map → calendar-DJKWldpV.cjs.js.map} +1 -1
  109. package/dist/chunks/{calendar-Cgm2jctu.es.js → calendar-DzwFtg1t.es.js} +22 -23
  110. package/dist/chunks/{calendar-Cgm2jctu.es.js.map → calendar-DzwFtg1t.es.js.map} +1 -1
  111. package/dist/chunks/{card-R8oaAKgo.es.js → card-BfUdf1Fy.es.js} +23 -24
  112. package/dist/chunks/{card-R8oaAKgo.es.js.map → card-BfUdf1Fy.es.js.map} +1 -1
  113. package/dist/chunks/card-DeWTV05B.cjs.js +2 -0
  114. package/dist/chunks/{card-CHfjhPF8.cjs.js.map → card-DeWTV05B.cjs.js.map} +1 -1
  115. package/dist/chunks/checkbox-6nLo9Jy2.cjs.js +2 -0
  116. package/dist/chunks/{checkbox-pYAJn7HX.cjs.js.map → checkbox-6nLo9Jy2.cjs.js.map} +1 -1
  117. package/dist/chunks/{checkbox-Ce37pKIe.es.js → checkbox-GmYxVrZx.es.js} +32 -32
  118. package/dist/chunks/{checkbox-Ce37pKIe.es.js.map → checkbox-GmYxVrZx.es.js.map} +1 -1
  119. package/dist/chunks/code-Dl7u63Zn.es.js +6 -0
  120. package/dist/chunks/code-Dl7u63Zn.es.js.map +1 -0
  121. package/dist/chunks/code-q31e3vT2.cjs.js +2 -0
  122. package/dist/chunks/code-q31e3vT2.cjs.js.map +1 -0
  123. package/dist/chunks/combobox-DtPDxCo3.cjs.js +2 -0
  124. package/dist/chunks/combobox-DtPDxCo3.cjs.js.map +1 -0
  125. package/dist/chunks/combobox-gIwba2QG.es.js +2392 -0
  126. package/dist/chunks/combobox-gIwba2QG.es.js.map +1 -0
  127. package/dist/chunks/context-OoV8SSWX.cjs.js +2 -0
  128. package/dist/chunks/{context-D0_cRaDZ.cjs.js.map → context-OoV8SSWX.cjs.js.map} +1 -1
  129. package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
  130. package/dist/chunks/{context-Pt-0ojuK.es.js.map → context-R4YUlO9Y.es.js.map} +1 -1
  131. package/dist/chunks/data-table-Cpk3q34E.cjs.js +2 -0
  132. package/dist/chunks/data-table-Cpk3q34E.cjs.js.map +1 -0
  133. package/dist/chunks/{data-table-BvYN1Stn.es.js → data-table-mXLxUWQz.es.js} +1275 -1695
  134. package/dist/chunks/data-table-mXLxUWQz.es.js.map +1 -0
  135. package/dist/chunks/date-input-D5unoyMt.es.js +16 -0
  136. package/dist/chunks/{date-input-DFx77xwE.es.js.map → date-input-D5unoyMt.es.js.map} +1 -1
  137. package/dist/chunks/date-input-DJ_aFB9i.cjs.js +2 -0
  138. package/dist/chunks/{date-input-BmKSBIL2.cjs.js.map → date-input-DJ_aFB9i.cjs.js.map} +1 -1
  139. package/dist/chunks/{date-picker-BzkAJfXO.es.js → date-picker-CMqAI1lp.es.js} +30 -30
  140. package/dist/chunks/{date-picker-BzkAJfXO.es.js.map → date-picker-CMqAI1lp.es.js.map} +1 -1
  141. package/dist/chunks/date-picker-f3TylaP5.cjs.js +2 -0
  142. package/dist/chunks/{date-picker-CsGYO3HW.cjs.js.map → date-picker-f3TylaP5.cjs.js.map} +1 -1
  143. package/dist/chunks/date-range-picker-CxsPpWyX.cjs.js +2 -0
  144. package/dist/chunks/{date-range-picker-uomzPtYK.cjs.js.map → date-range-picker-CxsPpWyX.cjs.js.map} +1 -1
  145. package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js → date-range-picker-Dtji64Q9.es.js} +17 -17
  146. package/dist/chunks/{date-range-picker-B1Sxvj0C.es.js.map → date-range-picker-Dtji64Q9.es.js.map} +1 -1
  147. package/dist/chunks/dialog-CVa-E9-A.cjs.js +2 -0
  148. package/dist/chunks/dialog-CVa-E9-A.cjs.js.map +1 -0
  149. package/dist/chunks/dialog-DTSuKnyk.es.js +34 -0
  150. package/dist/chunks/dialog-DTSuKnyk.es.js.map +1 -0
  151. package/dist/chunks/{divider-CpctZ_-U.es.js → divider--BAm3ca4.es.js} +7 -8
  152. package/dist/chunks/{divider-CpctZ_-U.es.js.map → divider--BAm3ca4.es.js.map} +1 -1
  153. package/dist/chunks/divider-BuizjeAj.cjs.js +2 -0
  154. package/dist/chunks/{divider-CTTExmLv.cjs.js.map → divider-BuizjeAj.cjs.js.map} +1 -1
  155. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js +2 -0
  156. package/dist/chunks/emotion-is-prop-valid.esm-Bb7Ou5_X.cjs.js.map +1 -0
  157. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js +16 -0
  158. package/dist/chunks/emotion-is-prop-valid.esm-qvxbqhmq.es.js.map +1 -0
  159. package/dist/chunks/{extractStyleProps-yFm0qaXg.cjs.js → extractStyleProps-CZpHKp1I.cjs.js} +2 -2
  160. package/dist/chunks/{extractStyleProps-yFm0qaXg.cjs.js.map → extractStyleProps-CZpHKp1I.cjs.js.map} +1 -1
  161. package/dist/chunks/{extractStyleProps-DX5GBd9K.es.js → extractStyleProps-vA4cNUoc.es.js} +2 -2
  162. package/dist/chunks/{extractStyleProps-DX5GBd9K.es.js.map → extractStyleProps-vA4cNUoc.es.js.map} +1 -1
  163. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
  164. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
  165. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -1
  166. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -1
  167. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  168. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  169. package/dist/chunks/{form-field-B1B4BtvO.es.js → form-field-Dtcfgzyo.es.js} +31 -32
  170. package/dist/chunks/{form-field-B1B4BtvO.es.js.map → form-field-Dtcfgzyo.es.js.map} +1 -1
  171. package/dist/chunks/{form-field-6_jyAhgo.cjs.js → form-field-DxcGAb23.cjs.js} +3 -3
  172. package/dist/chunks/{form-field-6_jyAhgo.cjs.js.map → form-field-DxcGAb23.cjs.js.map} +1 -1
  173. package/dist/chunks/grid-Chuw1xje.cjs.js +2 -0
  174. package/dist/chunks/{grid-CWdLtU5p.cjs.js.map → grid-Chuw1xje.cjs.js.map} +1 -1
  175. package/dist/chunks/grid-De8qjf98.es.js +14 -0
  176. package/dist/chunks/{grid-Cdmh4YaF.es.js.map → grid-De8qjf98.es.js.map} +1 -1
  177. package/dist/chunks/{icon-DTe62Nqz.es.js → icon-BoRbJStV.es.js} +9 -10
  178. package/dist/chunks/{icon-DTe62Nqz.es.js.map → icon-BoRbJStV.es.js.map} +1 -1
  179. package/dist/chunks/icon-Cny8ZtnX.cjs.js +2 -0
  180. package/dist/chunks/{icon-C_BZeqkm.cjs.js.map → icon-Cny8ZtnX.cjs.js.map} +1 -1
  181. package/dist/chunks/{icon-button-oIKucbza.es.js → icon-button-C20Gw8gQ.es.js} +2 -2
  182. package/dist/chunks/{icon-button-oIKucbza.es.js.map → icon-button-C20Gw8gQ.es.js.map} +1 -1
  183. package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js → icon-button-Cc0MkBbk.cjs.js} +2 -2
  184. package/dist/chunks/{icon-button-Dqhm4rBI.cjs.js.map → icon-button-Cc0MkBbk.cjs.js.map} +1 -1
  185. package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js → icon-toggle-button-CgHQMDs3.es.js} +2 -2
  186. package/dist/chunks/{icon-toggle-button-BYKHQRsq.es.js.map → icon-toggle-button-CgHQMDs3.es.js.map} +1 -1
  187. package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js → icon-toggle-button-D-C99Q0s.cjs.js} +2 -2
  188. package/dist/chunks/{icon-toggle-button-DIfDVDd4.cjs.js.map → icon-toggle-button-D-C99Q0s.cjs.js.map} +1 -1
  189. package/dist/chunks/image-CGOYoc2s.cjs.js +2 -0
  190. package/dist/chunks/{image-BAqoLZQB.cjs.js.map → image-CGOYoc2s.cjs.js.map} +1 -1
  191. package/dist/chunks/image-DRigLU80.es.js +8 -0
  192. package/dist/chunks/{image-B2WbQ5hi.es.js.map → image-DRigLU80.es.js.map} +1 -1
  193. package/dist/chunks/index-C8Yrk__l.cjs.js +4 -0
  194. package/dist/chunks/index-C8Yrk__l.cjs.js.map +1 -0
  195. package/dist/chunks/{index-DRWeBbu8.es.js → index-jAeaCpRm.es.js} +465 -72
  196. package/dist/chunks/index-jAeaCpRm.es.js.map +1 -0
  197. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  198. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  199. package/dist/chunks/kbd-BXN9aXRE.es.js +17 -0
  200. package/dist/chunks/{kbd-CDEXQyg2.es.js.map → kbd-BXN9aXRE.es.js.map} +1 -1
  201. package/dist/chunks/kbd-DFeaXiKY.cjs.js +2 -0
  202. package/dist/chunks/{kbd-DP3lZ80W.cjs.js.map → kbd-DFeaXiKY.cjs.js.map} +1 -1
  203. package/dist/chunks/{kbd.recipe-BTW0MQqx.es.js → kbd.recipe-DXiyvrAP.es.js} +2 -2
  204. package/dist/chunks/{kbd.recipe-BTW0MQqx.es.js.map → kbd.recipe-DXiyvrAP.es.js.map} +1 -1
  205. package/dist/chunks/kbd.recipe-DjQgeTG_.cjs.js +2 -0
  206. package/dist/chunks/{kbd.recipe-9kxAU5ro.cjs.js.map → kbd.recipe-DjQgeTG_.cjs.js.map} +1 -1
  207. package/dist/chunks/{link-BoUhLeO-.es.js → link-CFK97sc0.es.js} +4 -4
  208. package/dist/chunks/{link-BoUhLeO-.es.js.map → link-CFK97sc0.es.js.map} +1 -1
  209. package/dist/chunks/link-DWa1zIUJ.cjs.js +2 -0
  210. package/dist/chunks/{link-DTUiEXYJ.cjs.js.map → link-DWa1zIUJ.cjs.js.map} +1 -1
  211. package/dist/chunks/link.recipe-Co4-fl4U.cjs.js +2 -0
  212. package/dist/chunks/{link.recipe-BfCxtKjL.cjs.js.map → link.recipe-Co4-fl4U.cjs.js.map} +1 -1
  213. package/dist/chunks/{link.recipe-BRnFQ5bP.es.js → link.recipe-pXiGIJtI.es.js} +2 -2
  214. package/dist/chunks/{link.recipe-BRnFQ5bP.es.js.map → link.recipe-pXiGIJtI.es.js.map} +1 -1
  215. package/dist/chunks/list-DJC9BmoC.cjs.js +2 -0
  216. package/dist/chunks/list-DJC9BmoC.cjs.js.map +1 -0
  217. package/dist/chunks/list-Nz5KjWzs.es.js +13 -0
  218. package/dist/chunks/list-Nz5KjWzs.es.js.map +1 -0
  219. package/dist/chunks/{loading-spinner-C7yZE-QF.es.js → loading-spinner-CvggCl-H.es.js} +7 -8
  220. package/dist/chunks/{loading-spinner-C7yZE-QF.es.js.map → loading-spinner-CvggCl-H.es.js.map} +1 -1
  221. package/dist/chunks/loading-spinner-DdYXuYkg.cjs.js +2 -0
  222. package/dist/chunks/{loading-spinner-BLDpwNFm.cjs.js.map → loading-spinner-DdYXuYkg.cjs.js.map} +1 -1
  223. package/dist/chunks/{menu-BZWMAG92.es.js → menu-8g9Hn1nm.es.js} +34 -34
  224. package/dist/chunks/{menu-BZWMAG92.es.js.map → menu-8g9Hn1nm.es.js.map} +1 -1
  225. package/dist/chunks/menu-Bm1u-R6o.cjs.js +2 -0
  226. package/dist/chunks/{menu-C41LRy4b.cjs.js.map → menu-Bm1u-R6o.cjs.js.map} +1 -1
  227. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -1
  228. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -1
  229. package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js → multiline-text-input-BGnvpB1r.es.js} +12 -14
  230. package/dist/chunks/{multiline-text-input-Dy6gbL7T.es.js.map → multiline-text-input-BGnvpB1r.es.js.map} +1 -1
  231. package/dist/chunks/multiline-text-input-sXIlwrvT.cjs.js +12 -0
  232. package/dist/chunks/{multiline-text-input-B5XtIAAO.cjs.js.map → multiline-text-input-sXIlwrvT.cjs.js.map} +1 -1
  233. package/dist/chunks/{nimbus-provider-C68IpiXi.es.js → nimbus-provider-CybdU89B.es.js} +5 -5
  234. package/dist/chunks/{nimbus-provider-C68IpiXi.es.js.map → nimbus-provider-CybdU89B.es.js.map} +1 -1
  235. package/dist/chunks/nimbus-provider-D3DvYEDv.cjs.js +2 -0
  236. package/dist/chunks/{nimbus-provider-Yka95N38.cjs.js.map → nimbus-provider-D3DvYEDv.cjs.js.map} +1 -1
  237. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  238. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  239. package/dist/chunks/number-input-CPnA0dO-.cjs.js +2 -0
  240. package/dist/chunks/{number-input-Dm2FFtQx.cjs.js.map → number-input-CPnA0dO-.cjs.js.map} +1 -1
  241. package/dist/chunks/{number-input-BxLU6AgG.es.js → number-input-CzObpfFa.es.js} +16 -16
  242. package/dist/chunks/{number-input-BxLU6AgG.es.js.map → number-input-CzObpfFa.es.js.map} +1 -1
  243. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -1
  244. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
  245. package/dist/chunks/{password-input-CwWWxcly.cjs.js → password-input-BqhrDjyW.cjs.js} +2 -2
  246. package/dist/chunks/{password-input-CwWWxcly.cjs.js.map → password-input-BqhrDjyW.cjs.js.map} +1 -1
  247. package/dist/chunks/{password-input-DJjAz3TP.es.js → password-input-C_rdTND7.es.js} +5 -5
  248. package/dist/chunks/{password-input-DJjAz3TP.es.js.map → password-input-C_rdTND7.es.js.map} +1 -1
  249. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
  250. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -1
  251. package/dist/chunks/progress-bar-CrS1rODC.cjs.js +2 -0
  252. package/dist/chunks/{progress-bar-nQCcdv_4.cjs.js.map → progress-bar-CrS1rODC.cjs.js.map} +1 -1
  253. package/dist/chunks/{progress-bar-CDRI279T.es.js → progress-bar-pPWJ1Sn8.es.js} +19 -19
  254. package/dist/chunks/{progress-bar-CDRI279T.es.js.map → progress-bar-pPWJ1Sn8.es.js.map} +1 -1
  255. package/dist/chunks/radio-input-BTEXrXaF.cjs.js +2 -0
  256. package/dist/chunks/{radio-input-BXFY8CaT.cjs.js.map → radio-input-BTEXrXaF.cjs.js.map} +1 -1
  257. package/dist/chunks/{radio-input-CAogtJP7.es.js → radio-input-OpbQD2zP.es.js} +42 -42
  258. package/dist/chunks/{radio-input-CAogtJP7.es.js.map → radio-input-OpbQD2zP.es.js.map} +1 -1
  259. package/dist/chunks/{range-calendar-D-CvB2-1.es.js → range-calendar-BOP_J_5a.es.js} +23 -24
  260. package/dist/chunks/{range-calendar-D-CvB2-1.es.js.map → range-calendar-BOP_J_5a.es.js.map} +1 -1
  261. package/dist/chunks/range-calendar-CFotnBzs.cjs.js +2 -0
  262. package/dist/chunks/{range-calendar-BuzvPCc1.cjs.js.map → range-calendar-CFotnBzs.cjs.js.map} +1 -1
  263. package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js → rich-text-input-CItP9BzJ.cjs.js} +2 -2
  264. package/dist/chunks/{rich-text-input-Dmp5hx2t.cjs.js.map → rich-text-input-CItP9BzJ.cjs.js.map} +1 -1
  265. package/dist/chunks/{rich-text-input-Dv7OofX2.es.js → rich-text-input-CgrxAPHc.es.js} +13 -13
  266. package/dist/chunks/{rich-text-input-Dv7OofX2.es.js.map → rich-text-input-CgrxAPHc.es.js.map} +1 -1
  267. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -1
  268. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -1
  269. package/dist/chunks/{select-Dlg0m5Ww.es.js → select-CAeD_ZuZ.es.js} +68 -69
  270. package/dist/chunks/{select-Dlg0m5Ww.es.js.map → select-CAeD_ZuZ.es.js.map} +1 -1
  271. package/dist/chunks/select-Coyt1pJN.cjs.js +2 -0
  272. package/dist/chunks/{select-IUEop3i7.cjs.js.map → select-Coyt1pJN.cjs.js.map} +1 -1
  273. package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js +2 -0
  274. package/dist/chunks/simple-grid-Cd2MJxSX.cjs.js.map +1 -0
  275. package/dist/chunks/simple-grid-DU5v66TG.es.js +15 -0
  276. package/dist/chunks/simple-grid-DU5v66TG.es.js.map +1 -0
  277. package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js → slate-helpers-BN_9Hky2.cjs.js} +3 -3
  278. package/dist/chunks/{slate-helpers-CMAwCMk0.cjs.js.map → slate-helpers-BN_9Hky2.cjs.js.map} +1 -1
  279. package/dist/chunks/{slate-helpers-BwRHJO4o.es.js → slate-helpers-DunxggA8.es.js} +45 -45
  280. package/dist/chunks/{slate-helpers-BwRHJO4o.es.js.map → slate-helpers-DunxggA8.es.js.map} +1 -1
  281. package/dist/chunks/{split-button-B4Wp7H3n.cjs.js → split-button-BYrr5vRr.cjs.js} +2 -2
  282. package/dist/chunks/{split-button-B4Wp7H3n.cjs.js.map → split-button-BYrr5vRr.cjs.js.map} +1 -1
  283. package/dist/chunks/{split-button-Dpj44F6g.es.js → split-button-j2bgcP59.es.js} +5 -5
  284. package/dist/chunks/{split-button-Dpj44F6g.es.js.map → split-button-j2bgcP59.es.js.map} +1 -1
  285. package/dist/chunks/stack-CIN13EDn.cjs.js +2 -0
  286. package/dist/chunks/stack-CIN13EDn.cjs.js.map +1 -0
  287. package/dist/chunks/stack-CoNreM7B.es.js +11 -0
  288. package/dist/chunks/stack-CoNreM7B.es.js.map +1 -0
  289. package/dist/chunks/switch-BgNpbn2e.cjs.js +2 -0
  290. package/dist/chunks/{switch-CeNcr608.cjs.js.map → switch-BgNpbn2e.cjs.js.map} +1 -1
  291. package/dist/chunks/{switch-Ba9WXDDP.es.js → switch-Cid4U3m8.es.js} +8 -8
  292. package/dist/chunks/{switch-Ba9WXDDP.es.js.map → switch-Cid4U3m8.es.js.map} +1 -1
  293. package/dist/chunks/tag-group-B3YSTBpb.cjs.js +2 -0
  294. package/dist/chunks/tag-group-B3YSTBpb.cjs.js.map +1 -0
  295. package/dist/chunks/{tag-group-BY7yGmmv.es.js → tag-group-CeNHz5QQ.es.js} +279 -266
  296. package/dist/chunks/tag-group-CeNHz5QQ.es.js.map +1 -0
  297. package/dist/chunks/text-CCW9kDT_.cjs.js +2 -0
  298. package/dist/chunks/text-CCW9kDT_.cjs.js.map +1 -0
  299. package/dist/chunks/text-DfQpupDi.es.js +24 -0
  300. package/dist/chunks/text-DfQpupDi.es.js.map +1 -0
  301. package/dist/chunks/text-input-C2y4O13I.cjs.js +2 -0
  302. package/dist/chunks/{text-input-CBcEG79G.cjs.js.map → text-input-C2y4O13I.cjs.js.map} +1 -1
  303. package/dist/chunks/text-input-TZXg0lEQ.es.js +18 -0
  304. package/dist/chunks/{text-input-82882hyq.es.js.map → text-input-TZXg0lEQ.es.js.map} +1 -1
  305. package/dist/chunks/{time-input-DAA-IK0I.es.js → time-input-CI_HoOGU.es.js} +6 -8
  306. package/dist/chunks/{time-input-DAA-IK0I.es.js.map → time-input-CI_HoOGU.es.js.map} +1 -1
  307. package/dist/chunks/time-input-cHUvGWDc.cjs.js +2 -0
  308. package/dist/chunks/{time-input-CCnD_SWq.cjs.js.map → time-input-cHUvGWDc.cjs.js.map} +1 -1
  309. package/dist/chunks/toggle-button-C9ezVsSp.cjs.js +2 -0
  310. package/dist/chunks/{toggle-button-BTYd563-.cjs.js.map → toggle-button-C9ezVsSp.cjs.js.map} +1 -1
  311. package/dist/chunks/toggle-button-a0gCembi.es.js +29 -0
  312. package/dist/chunks/{toggle-button-163ZMcpk.es.js.map → toggle-button-a0gCembi.es.js.map} +1 -1
  313. package/dist/chunks/toggle-button-group-DX134q7m.cjs.js +2 -0
  314. package/dist/chunks/{toggle-button-group-Dq51N27j.cjs.js.map → toggle-button-group-DX134q7m.cjs.js.map} +1 -1
  315. package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js → toggle-button-group-jRdpdYyd.es.js} +14 -15
  316. package/dist/chunks/{toggle-button-group-D-sGsuZ_.es.js.map → toggle-button-group-jRdpdYyd.es.js.map} +1 -1
  317. package/dist/chunks/{toolbar-CzXpYEbP.cjs.js → toolbar-CLGq6IO7.cjs.js} +2 -2
  318. package/dist/chunks/{toolbar-CzXpYEbP.cjs.js.map → toolbar-CLGq6IO7.cjs.js.map} +1 -1
  319. package/dist/chunks/{toolbar-Ch-bOLkm.es.js → toolbar-hpBfKrTl.es.js} +4 -4
  320. package/dist/chunks/{toolbar-Ch-bOLkm.es.js.map → toolbar-hpBfKrTl.es.js.map} +1 -1
  321. package/dist/chunks/tooltip-B1YdruCE.es.js +269 -0
  322. package/dist/chunks/tooltip-B1YdruCE.es.js.map +1 -0
  323. package/dist/chunks/tooltip-g8-hEdZp.cjs.js +2 -0
  324. package/dist/chunks/tooltip-g8-hEdZp.cjs.js.map +1 -0
  325. package/dist/chunks/{tooltip.recipe-DsVUEki2.es.js → tooltip.recipe-Cqi_tgR5.es.js} +2 -2
  326. package/dist/chunks/{tooltip.recipe-DsVUEki2.es.js.map → tooltip.recipe-Cqi_tgR5.es.js.map} +1 -1
  327. package/dist/chunks/tooltip.recipe-dx7DAJbZ.cjs.js +2 -0
  328. package/dist/chunks/{tooltip.recipe-VqGdDqQD.cjs.js.map → tooltip.recipe-dx7DAJbZ.cjs.js.map} +1 -1
  329. package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js → use-formatting-state-DVcnyVBl.cjs.js} +2 -2
  330. package/dist/chunks/{use-formatting-state-Denpy3Zo.cjs.js.map → use-formatting-state-DVcnyVBl.cjs.js.map} +1 -1
  331. package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js → use-formatting-state-DdKYccZs.es.js} +2 -2
  332. package/dist/chunks/{use-formatting-state-RJvSR-Zg.es.js.map → use-formatting-state-DdKYccZs.es.js.map} +1 -1
  333. package/dist/chunks/{useButton-C8n_NtBu.cjs.js → useButton-BgBfaV_L.cjs.js} +2 -2
  334. package/dist/chunks/{useButton-C8n_NtBu.cjs.js.map → useButton-BgBfaV_L.cjs.js.map} +1 -1
  335. package/dist/chunks/{useButton-M3_syr-Y.es.js → useButton-DAeSjgg9.es.js} +19 -18
  336. package/dist/chunks/{useButton-M3_syr-Y.es.js.map → useButton-DAeSjgg9.es.js.map} +1 -1
  337. package/dist/chunks/{useCollator-BvjDbml1.es.js → useCollator-BHMZd1r6.es.js} +2 -2
  338. package/dist/chunks/{useCollator-BvjDbml1.es.js.map → useCollator-BHMZd1r6.es.js.map} +1 -1
  339. package/dist/chunks/{useCollator-ZqnkTllN.cjs.js → useCollator-YVJAe1GI.cjs.js} +2 -2
  340. package/dist/chunks/{useCollator-ZqnkTllN.cjs.js.map → useCollator-YVJAe1GI.cjs.js.map} +1 -1
  341. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  342. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  343. package/dist/chunks/{useDateFormatter-BqJA667a.es.js → useDateFormatter-C7Kxzwro.es.js} +2 -2
  344. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
  345. package/dist/chunks/{useDateFormatter-Dq2Ly1Je.cjs.js → useDateFormatter-CS19Cch2.cjs.js} +2 -2
  346. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +1 -0
  347. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -1
  348. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -1
  349. package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -1
  350. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -1
  351. package/dist/chunks/{useFilter-Du48WXDn.cjs.js → useFilter-CG8lxfCP.cjs.js} +2 -2
  352. package/dist/chunks/{useFilter-Du48WXDn.cjs.js.map → useFilter-CG8lxfCP.cjs.js.map} +1 -1
  353. package/dist/chunks/{useFilter-Bh0adxQ-.es.js → useFilter-DOfNzeZ9.es.js} +2 -2
  354. package/dist/chunks/{useFilter-Bh0adxQ-.es.js.map → useFilter-DOfNzeZ9.es.js.map} +1 -1
  355. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -1
  356. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -1
  357. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -1
  358. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -1
  359. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -1
  360. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -1
  361. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -1
  362. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -1
  363. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -1
  364. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -1
  365. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -1
  366. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -1
  367. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -1
  368. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +1 -1
  369. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  370. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  371. package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js → useHighlightSelectionDescription-BQg1WcM3.es.js} +2 -2
  372. package/dist/chunks/{useHighlightSelectionDescription-CsL0QM95.es.js.map → useHighlightSelectionDescription-BQg1WcM3.es.js.map} +1 -1
  373. package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js → useHighlightSelectionDescription-CpDw-Mgj.cjs.js} +2 -2
  374. package/dist/chunks/{useHighlightSelectionDescription-DwBGGESb.cjs.js.map → useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map} +1 -1
  375. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -1
  376. package/dist/chunks/useHover-DhoE75lX.es.js.map +1 -1
  377. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -1
  378. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -1
  379. package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js → useLocalizedStringFormatter-BRnRyxJp.es.js} +2 -2
  380. package/dist/chunks/{useLocalizedStringFormatter-CvzOUusg.es.js.map → useLocalizedStringFormatter-BRnRyxJp.es.js.map} +1 -1
  381. package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js → useLocalizedStringFormatter-sB0mFYtL.cjs.js} +2 -2
  382. package/dist/chunks/{useLocalizedStringFormatter-fJnbqb2x.cjs.js.map → useLocalizedStringFormatter-sB0mFYtL.cjs.js.map} +1 -1
  383. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  384. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
  385. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -1
  386. package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -1
  387. package/dist/chunks/{useProgressBar-BgURyN6q.es.js → useProgressBar-DHFmTHqL.es.js} +2 -2
  388. package/dist/chunks/{useProgressBar-BgURyN6q.es.js.map → useProgressBar-DHFmTHqL.es.js.map} +1 -1
  389. package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js → useProgressBar-DWH4I0qR.cjs.js} +2 -2
  390. package/dist/chunks/{useProgressBar-8ZyM2_T3.cjs.js.map → useProgressBar-DWH4I0qR.cjs.js.map} +1 -1
  391. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -1
  392. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -1
  393. package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js → useSingleSelectListState-D1rjgMv_.es.js} +2 -2
  394. package/dist/chunks/{useSingleSelectListState-CYqW_Fx5.es.js.map → useSingleSelectListState-D1rjgMv_.es.js.map} +1 -1
  395. package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js → useSingleSelectListState-F2WkLZRg.cjs.js} +2 -2
  396. package/dist/chunks/{useSingleSelectListState-8Jfm9Pr1.cjs.js.map → useSingleSelectListState-F2WkLZRg.cjs.js.map} +1 -1
  397. package/dist/chunks/{useSpinButton-C-tpK-T9.es.js → useSpinButton-C9DPDo0r.es.js} +30 -30
  398. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +1 -0
  399. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +2 -0
  400. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -0
  401. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -1
  402. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -1
  403. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -1
  404. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -1
  405. package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -1
  406. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +1 -1
  407. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
  408. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
  409. package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js → useToolbar-Bqn3EANT.cjs.js} +2 -2
  410. package/dist/chunks/{useToolbar-Coi7qK2U.cjs.js.map → useToolbar-Bqn3EANT.cjs.js.map} +1 -1
  411. package/dist/chunks/{useToolbar-9B43whQM.es.js → useToolbar-CLH6Sjes.es.js} +2 -2
  412. package/dist/chunks/{useToolbar-9B43whQM.es.js.map → useToolbar-CLH6Sjes.es.js.map} +1 -1
  413. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
  414. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  415. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -1
  416. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -1
  417. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -1
  418. package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -1
  419. package/dist/components/accordion.cjs +1 -1
  420. package/dist/components/accordion.es.js +1 -1
  421. package/dist/components/alert.cjs +1 -1
  422. package/dist/components/alert.es.js +1 -1
  423. package/dist/components/avatar.cjs +1 -1
  424. package/dist/components/avatar.es.js +1 -1
  425. package/dist/components/badge.cjs +1 -1
  426. package/dist/components/badge.es.js +1 -1
  427. package/dist/components/box.cjs +1 -1
  428. package/dist/components/box.es.js +1 -1
  429. package/dist/components/button.cjs +1 -1
  430. package/dist/components/button.es.js +1 -1
  431. package/dist/components/calendar.cjs +1 -1
  432. package/dist/components/calendar.es.js +1 -1
  433. package/dist/components/card.cjs +1 -1
  434. package/dist/components/card.es.js +1 -1
  435. package/dist/components/checkbox.cjs +1 -1
  436. package/dist/components/checkbox.es.js +1 -1
  437. package/dist/components/code.cjs +1 -1
  438. package/dist/components/code.es.js +1 -1
  439. package/dist/components/combobox.cjs +1 -1
  440. package/dist/components/combobox.es.js +1 -1
  441. package/dist/components/components.cjs +1 -1
  442. package/dist/components/components.es.js +60 -60
  443. package/dist/components/data-table.cjs +1 -1
  444. package/dist/components/data-table.es.js +1 -1
  445. package/dist/components/date-input.cjs +1 -1
  446. package/dist/components/date-input.es.js +1 -1
  447. package/dist/components/date-picker.cjs +1 -1
  448. package/dist/components/date-picker.es.js +1 -1
  449. package/dist/components/date-range-picker.cjs +1 -1
  450. package/dist/components/date-range-picker.es.js +1 -1
  451. package/dist/components/dialog.cjs +1 -1
  452. package/dist/components/dialog.es.js +1 -1
  453. package/dist/components/divider.cjs +1 -1
  454. package/dist/components/divider.es.js +1 -1
  455. package/dist/components/flex.cjs +1 -1
  456. package/dist/components/flex.es.js +1 -1
  457. package/dist/components/form-field.cjs +1 -1
  458. package/dist/components/form-field.es.js +1 -1
  459. package/dist/components/grid.cjs +1 -1
  460. package/dist/components/grid.es.js +1 -1
  461. package/dist/components/heading.cjs +1 -1
  462. package/dist/components/heading.es.js +2 -2
  463. package/dist/components/hooks.cjs +1 -1
  464. package/dist/components/hooks.es.js +1 -1
  465. package/dist/components/icon-button.cjs +1 -1
  466. package/dist/components/icon-button.es.js +1 -1
  467. package/dist/components/icon-toggle-button.cjs +1 -1
  468. package/dist/components/icon-toggle-button.es.js +1 -1
  469. package/dist/components/icon.cjs +1 -1
  470. package/dist/components/icon.es.js +1 -1
  471. package/dist/components/image.cjs +1 -1
  472. package/dist/components/image.es.js +1 -1
  473. package/dist/components/kbd.cjs +1 -1
  474. package/dist/components/kbd.es.js +1 -1
  475. package/dist/components/link.cjs +1 -1
  476. package/dist/components/link.es.js +1 -1
  477. package/dist/components/list.cjs +1 -1
  478. package/dist/components/list.es.js +1 -1
  479. package/dist/components/loading-spinner.cjs +1 -1
  480. package/dist/components/loading-spinner.es.js +1 -1
  481. package/dist/components/multiline-text-input.cjs +1 -1
  482. package/dist/components/multiline-text-input.es.js +1 -1
  483. package/dist/components/nimbus-provider.cjs +1 -1
  484. package/dist/components/nimbus-provider.es.js +1 -1
  485. package/dist/components/number-input.cjs +1 -1
  486. package/dist/components/number-input.es.js +1 -1
  487. package/dist/components/password-input.cjs +1 -1
  488. package/dist/components/password-input.es.js +1 -1
  489. package/dist/components/popover.cjs +1 -1
  490. package/dist/components/popover.cjs.map +1 -1
  491. package/dist/components/popover.es.js +11 -12
  492. package/dist/components/popover.es.js.map +1 -1
  493. package/dist/components/progress-bar.cjs +1 -1
  494. package/dist/components/progress-bar.es.js +1 -1
  495. package/dist/components/radio-input.cjs +1 -1
  496. package/dist/components/radio-input.es.js +1 -1
  497. package/dist/components/range-calendar.cjs +1 -1
  498. package/dist/components/range-calendar.es.js +1 -1
  499. package/dist/components/rich-text-input.cjs +1 -1
  500. package/dist/components/rich-text-input.es.js +1 -1
  501. package/dist/components/select.cjs +1 -1
  502. package/dist/components/select.es.js +1 -1
  503. package/dist/components/simple-grid.cjs +1 -1
  504. package/dist/components/simple-grid.es.js +1 -1
  505. package/dist/components/split-button.cjs +1 -1
  506. package/dist/components/split-button.es.js +1 -1
  507. package/dist/components/stack.cjs +1 -1
  508. package/dist/components/stack.es.js +1 -1
  509. package/dist/components/switch.cjs +1 -1
  510. package/dist/components/switch.es.js +1 -1
  511. package/dist/components/table.cjs +1 -1
  512. package/dist/components/table.es.js +2 -2
  513. package/dist/components/tag-group.cjs +1 -1
  514. package/dist/components/tag-group.es.js +1 -1
  515. package/dist/components/text-input.cjs +1 -1
  516. package/dist/components/text-input.es.js +1 -1
  517. package/dist/components/text.cjs +1 -1
  518. package/dist/components/text.es.js +1 -1
  519. package/dist/components/time-input.cjs +1 -1
  520. package/dist/components/time-input.es.js +1 -1
  521. package/dist/components/toggle-button-group.cjs +1 -1
  522. package/dist/components/toggle-button-group.es.js +1 -1
  523. package/dist/components/toggle-button.cjs +1 -1
  524. package/dist/components/toggle-button.es.js +1 -1
  525. package/dist/components/toolbar.cjs +1 -1
  526. package/dist/components/toolbar.es.js +1 -1
  527. package/dist/components/tooltip.cjs +1 -1
  528. package/dist/components/tooltip.es.js +1 -1
  529. package/dist/components/utils.cjs +1 -1
  530. package/dist/components/utils.es.js +2 -2
  531. package/dist/components.d.ts +35 -35
  532. package/dist/data-table.d.ts +35 -35
  533. package/dist/index.cjs +1 -1
  534. package/dist/index.cjs.map +1 -1
  535. package/dist/index.d.ts +35 -35
  536. package/dist/index.es.js +55 -55
  537. package/dist/index.es.js.map +1 -1
  538. package/package.json +12 -12
  539. package/dist/chunks/Collection-BYX373AD.cjs.js +0 -18
  540. package/dist/chunks/Collection-BYX373AD.cjs.js.map +0 -1
  541. package/dist/chunks/Collection-Df3FPouy.es.js.map +0 -1
  542. package/dist/chunks/DateField-DVzmD_D6.es.js.map +0 -1
  543. package/dist/chunks/DateField-Dh2hoOBr.cjs.js +0 -2
  544. package/dist/chunks/DateField-Dh2hoOBr.cjs.js.map +0 -1
  545. package/dist/chunks/DatePicker-C0NXSwOw.cjs.js +0 -2
  546. package/dist/chunks/DatePicker-C0NXSwOw.cjs.js.map +0 -1
  547. package/dist/chunks/DatePicker-_A7-hp_b.es.js.map +0 -1
  548. package/dist/chunks/Dialog-BnIvgMq1.cjs.js +0 -2
  549. package/dist/chunks/Dialog-BnIvgMq1.cjs.js.map +0 -1
  550. package/dist/chunks/Dialog-C3wKnoBH.es.js +0 -1903
  551. package/dist/chunks/Dialog-C3wKnoBH.es.js.map +0 -1
  552. package/dist/chunks/ListBox-B2Z13FyL.cjs.js +0 -2
  553. package/dist/chunks/ListBox-B2Z13FyL.cjs.js.map +0 -1
  554. package/dist/chunks/ListBox-BzuLanGT.es.js +0 -615
  555. package/dist/chunks/ListBox-BzuLanGT.es.js.map +0 -1
  556. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js +0 -2
  557. package/dist/chunks/OverlayArrow-C5Ymp9MC.cjs.js.map +0 -1
  558. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js +0 -479
  559. package/dist/chunks/OverlayArrow-ERS8ZqL3.es.js.map +0 -1
  560. package/dist/chunks/Separator-QdyS03-E.cjs.js +0 -2
  561. package/dist/chunks/Separator-QdyS03-E.cjs.js.map +0 -1
  562. package/dist/chunks/Separator-T5Cc3sUj.es.js +0 -573
  563. package/dist/chunks/Separator-T5Cc3sUj.es.js.map +0 -1
  564. package/dist/chunks/accordion-CAC36XIK.cjs.js +0 -2
  565. package/dist/chunks/alert-STlW7NU8.cjs.js +0 -2
  566. package/dist/chunks/avatar-mL-2hOve.cjs.js +0 -2
  567. package/dist/chunks/avatar.recipe-CQivdbFs.cjs.js +0 -2
  568. package/dist/chunks/badge-HHzfG1BI.cjs.js +0 -2
  569. package/dist/chunks/box-BPfqlznQ.cjs.js +0 -2
  570. package/dist/chunks/box-BPfqlznQ.cjs.js.map +0 -1
  571. package/dist/chunks/box-C8731OYq.es.js +0 -13
  572. package/dist/chunks/box-C8731OYq.es.js.map +0 -1
  573. package/dist/chunks/button-CtWoT2k5.cjs.js +0 -2
  574. package/dist/chunks/button.recipe-ClPhJ93N.cjs.js +0 -2
  575. package/dist/chunks/calendar-DFhIC3YS.cjs.js +0 -2
  576. package/dist/chunks/card-CHfjhPF8.cjs.js +0 -2
  577. package/dist/chunks/checkbox-pYAJn7HX.cjs.js +0 -2
  578. package/dist/chunks/code-CTuEvrXA.cjs.js +0 -2
  579. package/dist/chunks/code-CTuEvrXA.cjs.js.map +0 -1
  580. package/dist/chunks/code-CieYW1ER.es.js +0 -8
  581. package/dist/chunks/code-CieYW1ER.es.js.map +0 -1
  582. package/dist/chunks/combobox-C3FEfver.es.js +0 -1912
  583. package/dist/chunks/combobox-C3FEfver.es.js.map +0 -1
  584. package/dist/chunks/combobox-CnUfDGC-.cjs.js +0 -2
  585. package/dist/chunks/combobox-CnUfDGC-.cjs.js.map +0 -1
  586. package/dist/chunks/config-Mt8_uyhI.cjs.js +0 -2
  587. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +0 -1
  588. package/dist/chunks/config-ufbQ08Vi.es.js +0 -6
  589. package/dist/chunks/config-ufbQ08Vi.es.js.map +0 -1
  590. package/dist/chunks/context-D0_cRaDZ.cjs.js +0 -2
  591. package/dist/chunks/context-Pt-0ojuK.es.js +0 -94
  592. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js +0 -2
  593. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js.map +0 -1
  594. package/dist/chunks/create-recipe-context-i2odau3L.es.js +0 -62
  595. package/dist/chunks/create-recipe-context-i2odau3L.es.js.map +0 -1
  596. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js +0 -104
  597. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js.map +0 -1
  598. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js +0 -2
  599. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js.map +0 -1
  600. package/dist/chunks/data-table-BvTXYpZB.cjs.js +0 -2
  601. package/dist/chunks/data-table-BvTXYpZB.cjs.js.map +0 -1
  602. package/dist/chunks/data-table-BvYN1Stn.es.js.map +0 -1
  603. package/dist/chunks/date-input-BmKSBIL2.cjs.js +0 -2
  604. package/dist/chunks/date-input-DFx77xwE.es.js +0 -17
  605. package/dist/chunks/date-picker-CsGYO3HW.cjs.js +0 -2
  606. package/dist/chunks/date-range-picker-uomzPtYK.cjs.js +0 -2
  607. package/dist/chunks/dialog-CG-cCFkg.es.js +0 -1889
  608. package/dist/chunks/dialog-CG-cCFkg.es.js.map +0 -1
  609. package/dist/chunks/dialog-CNZGNU5Q.cjs.js +0 -2
  610. package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +0 -1
  611. package/dist/chunks/divider-CTTExmLv.cjs.js +0 -2
  612. package/dist/chunks/empty-B5_AO6Pg.cjs.js +0 -2
  613. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +0 -1
  614. package/dist/chunks/empty-D7ZFmvo6.es.js +0 -8
  615. package/dist/chunks/empty-D7ZFmvo6.es.js.map +0 -1
  616. package/dist/chunks/factory-BpxiKxSs.es.js +0 -269
  617. package/dist/chunks/factory-BpxiKxSs.es.js.map +0 -1
  618. package/dist/chunks/factory-DlCuwIGL.cjs.js +0 -3
  619. package/dist/chunks/factory-DlCuwIGL.cjs.js.map +0 -1
  620. package/dist/chunks/flex-B81RbgfK.es.js +0 -40
  621. package/dist/chunks/flex-B81RbgfK.es.js.map +0 -1
  622. package/dist/chunks/flex-BhVeeItQ.cjs.js +0 -2
  623. package/dist/chunks/flex-BhVeeItQ.cjs.js.map +0 -1
  624. package/dist/chunks/grid-CWdLtU5p.cjs.js +0 -2
  625. package/dist/chunks/grid-Cdmh4YaF.es.js +0 -14
  626. package/dist/chunks/grid-item-CJHf3veC.cjs.js +0 -2
  627. package/dist/chunks/grid-item-CJHf3veC.cjs.js.map +0 -1
  628. package/dist/chunks/grid-item-CpPkpUVF.es.js +0 -78
  629. package/dist/chunks/grid-item-CpPkpUVF.es.js.map +0 -1
  630. package/dist/chunks/icon-C_BZeqkm.cjs.js +0 -2
  631. package/dist/chunks/image-B2WbQ5hi.es.js +0 -8
  632. package/dist/chunks/image-BAqoLZQB.cjs.js +0 -2
  633. package/dist/chunks/image-BP9LcU28.cjs.js +0 -2
  634. package/dist/chunks/image-BP9LcU28.cjs.js.map +0 -1
  635. package/dist/chunks/image-BycsRl2K.es.js +0 -22
  636. package/dist/chunks/image-BycsRl2K.es.js.map +0 -1
  637. package/dist/chunks/index-0CyuQQet.es.js +0 -8
  638. package/dist/chunks/index-0CyuQQet.es.js.map +0 -1
  639. package/dist/chunks/index-COhQ_99G.cjs.js +0 -4
  640. package/dist/chunks/index-COhQ_99G.cjs.js.map +0 -1
  641. package/dist/chunks/index-DRWeBbu8.es.js.map +0 -1
  642. package/dist/chunks/index-x9OhLGGf.cjs.js +0 -2
  643. package/dist/chunks/index-x9OhLGGf.cjs.js.map +0 -1
  644. package/dist/chunks/kbd-CDEXQyg2.es.js +0 -16
  645. package/dist/chunks/kbd-DP3lZ80W.cjs.js +0 -2
  646. package/dist/chunks/kbd.recipe-9kxAU5ro.cjs.js +0 -2
  647. package/dist/chunks/link-DTUiEXYJ.cjs.js +0 -2
  648. package/dist/chunks/link.recipe-BfCxtKjL.cjs.js +0 -2
  649. package/dist/chunks/list-r1G4iBXo.cjs.js +0 -2
  650. package/dist/chunks/list-r1G4iBXo.cjs.js.map +0 -1
  651. package/dist/chunks/list-x423RThD.es.js +0 -23
  652. package/dist/chunks/list-x423RThD.es.js.map +0 -1
  653. package/dist/chunks/loading-spinner-BLDpwNFm.cjs.js +0 -2
  654. package/dist/chunks/menu-C41LRy4b.cjs.js +0 -2
  655. package/dist/chunks/multiline-text-input-B5XtIAAO.cjs.js +0 -12
  656. package/dist/chunks/namespace-CYjqWfVn.cjs.js +0 -2
  657. package/dist/chunks/namespace-CYjqWfVn.cjs.js.map +0 -1
  658. package/dist/chunks/namespace-HxAMZBwF.es.js +0 -74
  659. package/dist/chunks/namespace-HxAMZBwF.es.js.map +0 -1
  660. package/dist/chunks/nimbus-provider-Yka95N38.cjs.js +0 -2
  661. package/dist/chunks/number-input-Dm2FFtQx.cjs.js +0 -2
  662. package/dist/chunks/progress-bar-nQCcdv_4.cjs.js +0 -2
  663. package/dist/chunks/provider-BzZZw3fF.cjs.js +0 -16
  664. package/dist/chunks/provider-BzZZw3fF.cjs.js.map +0 -1
  665. package/dist/chunks/provider-DxFdjgyb.es.js +0 -989
  666. package/dist/chunks/provider-DxFdjgyb.es.js.map +0 -1
  667. package/dist/chunks/radio-input-BXFY8CaT.cjs.js +0 -2
  668. package/dist/chunks/range-calendar-BuzvPCc1.cjs.js +0 -2
  669. package/dist/chunks/select-IUEop3i7.cjs.js +0 -2
  670. package/dist/chunks/simple-grid-Crtlocqj.es.js +0 -38
  671. package/dist/chunks/simple-grid-Crtlocqj.es.js.map +0 -1
  672. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js +0 -2
  673. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js.map +0 -1
  674. package/dist/chunks/stack-B6PqFPMh.cjs.js +0 -2
  675. package/dist/chunks/stack-B6PqFPMh.cjs.js.map +0 -1
  676. package/dist/chunks/stack-CBx-c8hI.es.js +0 -89
  677. package/dist/chunks/stack-CBx-c8hI.es.js.map +0 -1
  678. package/dist/chunks/switch-CeNcr608.cjs.js +0 -2
  679. package/dist/chunks/tag-group-BY7yGmmv.es.js.map +0 -1
  680. package/dist/chunks/tag-group-DXKC_JuG.cjs.js +0 -2
  681. package/dist/chunks/tag-group-DXKC_JuG.cjs.js.map +0 -1
  682. package/dist/chunks/text-B2wziCK6.es.js +0 -26
  683. package/dist/chunks/text-B2wziCK6.es.js.map +0 -1
  684. package/dist/chunks/text-hUMahKuA.cjs.js +0 -2
  685. package/dist/chunks/text-hUMahKuA.cjs.js.map +0 -1
  686. package/dist/chunks/text-input-82882hyq.es.js +0 -19
  687. package/dist/chunks/text-input-CBcEG79G.cjs.js +0 -2
  688. package/dist/chunks/time-input-CCnD_SWq.cjs.js +0 -2
  689. package/dist/chunks/toggle-button-163ZMcpk.es.js +0 -30
  690. package/dist/chunks/toggle-button-BTYd563-.cjs.js +0 -2
  691. package/dist/chunks/toggle-button-group-Dq51N27j.cjs.js +0 -2
  692. package/dist/chunks/tooltip-BFuuQNa4.cjs.js +0 -2
  693. package/dist/chunks/tooltip-BFuuQNa4.cjs.js.map +0 -1
  694. package/dist/chunks/tooltip-BpUbO0NA.es.js +0 -274
  695. package/dist/chunks/tooltip-BpUbO0NA.es.js.map +0 -1
  696. package/dist/chunks/tooltip.recipe-VqGdDqQD.cjs.js +0 -2
  697. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +0 -2
  698. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +0 -1
  699. package/dist/chunks/use-recipe-CR4W7Dne.es.js +0 -13
  700. package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +0 -1
  701. package/dist/chunks/useDateFormatter-BqJA667a.es.js.map +0 -1
  702. package/dist/chunks/useDateFormatter-Dq2Ly1Je.cjs.js.map +0 -1
  703. package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
  704. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
  705. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
  706. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js +0 -2
  707. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js.map +0 -1
  708. package/dist/chunks/walk-object-Drjey5HY.es.js +0 -27
  709. package/dist/chunks/walk-object-Drjey5HY.es.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"focusSafely-jDMW9aEx.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.5_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\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 $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":"4JAgBA,IAAIA,EAA6C,IAAI,IAEjDC,EAA4C,IAAI,IAkDhD,SAASC,GAAgD,CACzD,SAAW,CAACC,CAAW,IAAKH,EAExB,gBAAiBG,GAAe,CAACA,EAAY,aAAaH,EAA2C,OAAOG,CAAW,CAC/H,CACA,SAASC,EAA0CC,EAAI,CAEnD,sBAAsB,IAAI,CACtBH,EAA6C,EAGzCF,EAA2C,OAAS,EAAGK,EAAE,EACxDJ,EAA0C,IAAII,CAAE,CACzD,CAAC,CACL,CCnEA,SAASC,EAA0CC,EAAS,CAMxD,MAAMC,EAAoBC,EAAAA,0CAAyBF,CAAO,EACpDG,EAAoBC,EAAAA,0CAAyBH,CAAa,EAChE,GAAQI,EAAAA,0CAAyC,IAAQ,UAAW,CAChE,IAAIC,EAAqBH,EACrBI,EAA2B,IAAI,CAEvBH,EAAAA,0CAAyBH,CAAa,IAAMK,GAAsBN,EAAQ,aAAiBQ,EAAAA,0CAA8BR,CAAO,CAC5I,CAAC,CACL,MAAWQ,EAAAA,0CAA8BR,CAAO,CACpD","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"focusSafely-jDMW9aEx.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/runAfterTransition.mjs","../../../../node_modules/.pnpm/@react-aria+interactions@3.25.5_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/interactions/dist/focusSafely.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ // We store a global list of elements that are currently transitioning,\n// mapped to a set of CSS properties that are transitioning for that element.\n// This is necessary rather than a simple count of transitions because of browser\n// bugs, e.g. Chrome sometimes fires both transitionend and transitioncancel rather\n// than one or the other. So we need to track what's actually transitioning so that\n// we can ignore these duplicate events.\nlet $bbed8b41f857bcc0$var$transitionsByElement = new Map();\n// A list of callbacks to call once there are no transitioning elements.\nlet $bbed8b41f857bcc0$var$transitionCallbacks = new Set();\nfunction $bbed8b41f857bcc0$var$setupGlobalEvents() {\n if (typeof window === 'undefined') return;\n function isTransitionEvent(event) {\n return 'propertyName' in event;\n }\n let onTransitionStart = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Add the transitioning property to the list for this element.\n let transitions = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!transitions) {\n transitions = new Set();\n $bbed8b41f857bcc0$var$transitionsByElement.set(e.target, transitions);\n // The transitioncancel event must be registered on the element itself, rather than as a global\n // event. This enables us to handle when the node is deleted from the document while it is transitioning.\n // In that case, the cancel event would have nowhere to bubble to so we need to handle it directly.\n e.target.addEventListener('transitioncancel', onTransitionEnd, {\n once: true\n });\n }\n transitions.add(e.propertyName);\n };\n let onTransitionEnd = (e)=>{\n if (!isTransitionEvent(e) || !e.target) return;\n // Remove property from list of transitioning properties.\n let properties = $bbed8b41f857bcc0$var$transitionsByElement.get(e.target);\n if (!properties) return;\n properties.delete(e.propertyName);\n // If empty, remove transitioncancel event, and remove the element from the list of transitioning elements.\n if (properties.size === 0) {\n e.target.removeEventListener('transitioncancel', onTransitionEnd);\n $bbed8b41f857bcc0$var$transitionsByElement.delete(e.target);\n }\n // If no transitioning elements, call all of the queued callbacks.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) {\n for (let cb of $bbed8b41f857bcc0$var$transitionCallbacks)cb();\n $bbed8b41f857bcc0$var$transitionCallbacks.clear();\n }\n };\n document.body.addEventListener('transitionrun', onTransitionStart);\n document.body.addEventListener('transitionend', onTransitionEnd);\n}\nif (typeof document !== 'undefined') {\n if (document.readyState !== 'loading') $bbed8b41f857bcc0$var$setupGlobalEvents();\n else document.addEventListener('DOMContentLoaded', $bbed8b41f857bcc0$var$setupGlobalEvents);\n}\n/**\n * Cleans up any elements that are no longer in the document.\n * This is necessary because we can't rely on transitionend events to fire\n * for elements that are removed from the document while transitioning.\n */ function $bbed8b41f857bcc0$var$cleanupDetachedElements() {\n for (const [eventTarget] of $bbed8b41f857bcc0$var$transitionsByElement)// Similar to `eventTarget instanceof Element && !eventTarget.isConnected`, but avoids\n // the explicit instanceof check, since it may be different in different contexts.\n if ('isConnected' in eventTarget && !eventTarget.isConnected) $bbed8b41f857bcc0$var$transitionsByElement.delete(eventTarget);\n}\nfunction $bbed8b41f857bcc0$export$24490316f764c430(fn) {\n // Wait one frame to see if an animation starts, e.g. a transition on mount.\n requestAnimationFrame(()=>{\n $bbed8b41f857bcc0$var$cleanupDetachedElements();\n // If no transitions are running, call the function immediately.\n // Otherwise, add it to a list of callbacks to run at the end of the animation.\n if ($bbed8b41f857bcc0$var$transitionsByElement.size === 0) fn();\n else $bbed8b41f857bcc0$var$transitionCallbacks.add(fn);\n });\n}\n\n\nexport {$bbed8b41f857bcc0$export$24490316f764c430 as runAfterTransition};\n//# sourceMappingURL=runAfterTransition.module.js.map\n","import {getInteractionModality as $507fabe10e71c6fb$export$630ff653c5ada6a9} from \"./useFocusVisible.mjs\";\nimport {getOwnerDocument as $k50bp$getOwnerDocument, getActiveElement as $k50bp$getActiveElement, runAfterTransition as $k50bp$runAfterTransition, focusWithoutScrolling as $k50bp$focusWithoutScrolling} from \"@react-aria/utils\";\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 $3ad3f6e1647bc98d$export$80f3e147d781571c(element) {\n // If the user is interacting with a virtual cursor, e.g. screen reader, then\n // wait until after any animated transitions that are currently occurring on\n // the page before shifting focus. This avoids issues with VoiceOver on iOS\n // causing the page to scroll when moving focus if the element is transitioning\n // from off the screen.\n const ownerDocument = (0, $k50bp$getOwnerDocument)(element);\n const activeElement = (0, $k50bp$getActiveElement)(ownerDocument);\n if ((0, $507fabe10e71c6fb$export$630ff653c5ada6a9)() === 'virtual') {\n let lastFocusedElement = activeElement;\n (0, $k50bp$runAfterTransition)(()=>{\n // If focus did not move and the element is still in the document, focus it.\n if ((0, $k50bp$getActiveElement)(ownerDocument) === lastFocusedElement && element.isConnected) (0, $k50bp$focusWithoutScrolling)(element);\n });\n } else (0, $k50bp$focusWithoutScrolling)(element);\n}\n\n\nexport {$3ad3f6e1647bc98d$export$80f3e147d781571c as focusSafely};\n//# sourceMappingURL=focusSafely.module.js.map\n"],"names":["$bbed8b41f857bcc0$var$transitionsByElement","$bbed8b41f857bcc0$var$transitionCallbacks","$bbed8b41f857bcc0$var$cleanupDetachedElements","eventTarget","$bbed8b41f857bcc0$export$24490316f764c430","fn","$3ad3f6e1647bc98d$export$80f3e147d781571c","element","ownerDocument","$k50bp$getOwnerDocument","activeElement","$k50bp$getActiveElement","$507fabe10e71c6fb$export$630ff653c5ada6a9","lastFocusedElement","$k50bp$runAfterTransition","$k50bp$focusWithoutScrolling"],"mappings":"4JAgBA,IAAIA,EAA6C,IAAI,IAEjDC,EAA4C,IAAI,IAkDhD,SAASC,GAAgD,CACzD,SAAW,CAACC,CAAW,IAAKH,EAExB,gBAAiBG,GAAe,CAACA,EAAY,aAAaH,EAA2C,OAAOG,CAAW,CAC/H,CACA,SAASC,EAA0CC,EAAI,CAEnD,sBAAsB,IAAI,CACtBH,EAA6C,EAGzCF,EAA2C,OAAS,EAAGK,EAAE,EACxDJ,EAA0C,IAAII,CAAE,CACzD,CAAC,CACL,CCnEA,SAASC,EAA0CC,EAAS,CAMxD,MAAMC,EAAoBC,EAAAA,0CAAyBF,CAAO,EACpDG,EAAoBC,EAAAA,0CAAyBH,CAAa,EAChE,GAAQI,EAAAA,0CAAyC,IAAQ,UAAW,CAChE,IAAIC,EAAqBH,EACrBI,EAA2B,IAAI,CAEvBH,EAAAA,0CAAyBH,CAAa,IAAMK,GAAsBN,EAAQ,aAAiBQ,EAAAA,0CAA8BR,CAAO,CAC5I,CAAC,CACL,MAAWQ,EAAAA,0CAA8BR,CAAO,CACpD","x_google_ignoreList":[0,1]}
@@ -1 +1 @@
1
- {"version":3,"file":"focusWithoutScrolling-BlyUcXdY.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $7215afc6de606d6b$export$de79e2c695e052f3(element) {\n if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);\n element.focus();\n $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $7215afc6de606d6b$var$supportsPreventScrollCached = null;\nfunction $7215afc6de606d6b$var$supportsPreventScroll() {\n if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {\n $7215afc6de606d6b$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $7215afc6de606d6b$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $7215afc6de606d6b$var$supportsPreventScrollCached;\n}\nfunction $7215afc6de606d6b$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.module.js.map\n"],"names":["$7215afc6de606d6b$export$de79e2c695e052f3","element","$7215afc6de606d6b$var$supportsPreventScroll","scrollableElements","$7215afc6de606d6b$var$getScrollableElements","$7215afc6de606d6b$var$restoreScrollPosition","$7215afc6de606d6b$var$supportsPreventScrollCached","parent","rootScrollingElement","scrollTop","scrollLeft"],"mappings":"aAUI,SAASA,EAA0CC,EAAS,CAC5D,GAAIC,EAA2C,EAAID,EAAQ,MAAM,CAC7D,cAAe,EACvB,CAAK,MACI,CACD,IAAIE,EAAqBC,EAA4CH,CAAO,EAC5EA,EAAQ,MAAK,EACbI,EAA4CF,CAAkB,CAClE,CACJ,CACA,IAAIG,EAAoD,KACxD,SAASJ,GAA8C,CACnD,GAAII,GAAqD,KAAM,CAC3DA,EAAoD,GACpD,GAAI,CACgB,SAAS,cAAc,KAAK,EAClC,MAAM,CACZ,IAAI,eAAiB,CACjB,OAAAA,EAAoD,GAC7C,EACX,CAChB,CAAa,CACL,MAAS,CAET,CACJ,CACA,OAAOA,CACX,CACA,SAASF,EAA4CH,EAAS,CAC1D,IAAIM,EAASN,EAAQ,WACjBE,EAAqB,CAAA,EACrBK,EAAuB,SAAS,kBAAoB,SAAS,gBACjE,KAAMD,aAAkB,aAAeA,IAAWC,IAC1CD,EAAO,aAAeA,EAAO,cAAgBA,EAAO,YAAcA,EAAO,cAAaJ,EAAmB,KAAK,CAC9G,QAASI,EACT,UAAWA,EAAO,UAClB,WAAYA,EAAO,UAC/B,CAAS,EACDA,EAASA,EAAO,WAEpB,OAAIC,aAAgC,aAAaL,EAAmB,KAAK,CACrE,QAASK,EACT,UAAWA,EAAqB,UAChC,WAAYA,EAAqB,UACzC,CAAK,EACML,CACX,CACA,SAASE,EAA4CF,EAAoB,CACrE,OAAS,CAAE,QAASF,EAAS,UAAWQ,EAAW,WAAYC,CAAU,IAAMP,EAC3EF,EAAQ,UAAYQ,EACpBR,EAAQ,WAAaS,CAE7B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"focusWithoutScrolling-BlyUcXdY.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $7215afc6de606d6b$export$de79e2c695e052f3(element) {\n if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);\n element.focus();\n $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $7215afc6de606d6b$var$supportsPreventScrollCached = null;\nfunction $7215afc6de606d6b$var$supportsPreventScroll() {\n if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {\n $7215afc6de606d6b$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $7215afc6de606d6b$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $7215afc6de606d6b$var$supportsPreventScrollCached;\n}\nfunction $7215afc6de606d6b$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.module.js.map\n"],"names":["$7215afc6de606d6b$export$de79e2c695e052f3","element","$7215afc6de606d6b$var$supportsPreventScroll","scrollableElements","$7215afc6de606d6b$var$getScrollableElements","$7215afc6de606d6b$var$restoreScrollPosition","$7215afc6de606d6b$var$supportsPreventScrollCached","parent","rootScrollingElement","scrollTop","scrollLeft"],"mappings":"aAUI,SAASA,EAA0CC,EAAS,CAC5D,GAAIC,EAA2C,EAAID,EAAQ,MAAM,CAC7D,cAAe,EACvB,CAAK,MACI,CACD,IAAIE,EAAqBC,EAA4CH,CAAO,EAC5EA,EAAQ,MAAK,EACbI,EAA4CF,CAAkB,CAClE,CACJ,CACA,IAAIG,EAAoD,KACxD,SAASJ,GAA8C,CACnD,GAAII,GAAqD,KAAM,CAC3DA,EAAoD,GACpD,GAAI,CACgB,SAAS,cAAc,KAAK,EAClC,MAAM,CACZ,IAAI,eAAiB,CACjB,OAAAA,EAAoD,GAC7C,EACX,CAChB,CAAa,CACL,MAAS,CAET,CACJ,CACA,OAAOA,CACX,CACA,SAASF,EAA4CH,EAAS,CAC1D,IAAIM,EAASN,EAAQ,WACjBE,EAAqB,CAAA,EACrBK,EAAuB,SAAS,kBAAoB,SAAS,gBACjE,KAAMD,aAAkB,aAAeA,IAAWC,IAC1CD,EAAO,aAAeA,EAAO,cAAgBA,EAAO,YAAcA,EAAO,cAAaJ,EAAmB,KAAK,CAC9G,QAASI,EACT,UAAWA,EAAO,UAClB,WAAYA,EAAO,UAC/B,CAAS,EACDA,EAASA,EAAO,WAEpB,OAAIC,aAAgC,aAAaL,EAAmB,KAAK,CACrE,QAASK,EACT,UAAWA,EAAqB,UAChC,WAAYA,EAAqB,UACzC,CAAK,EACML,CACX,CACA,SAASE,EAA4CF,EAAoB,CACrE,OAAS,CAAE,QAASF,EAAS,UAAWQ,EAAW,WAAYC,CAAU,IAAMP,EAC3EF,EAAQ,UAAYQ,EACpBR,EAAQ,WAAaS,CAE7B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"focusWithoutScrolling-CDw3JYiq.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $7215afc6de606d6b$export$de79e2c695e052f3(element) {\n if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);\n element.focus();\n $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $7215afc6de606d6b$var$supportsPreventScrollCached = null;\nfunction $7215afc6de606d6b$var$supportsPreventScroll() {\n if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {\n $7215afc6de606d6b$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $7215afc6de606d6b$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $7215afc6de606d6b$var$supportsPreventScrollCached;\n}\nfunction $7215afc6de606d6b$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.module.js.map\n"],"names":["$7215afc6de606d6b$export$de79e2c695e052f3","element","$7215afc6de606d6b$var$supportsPreventScroll","scrollableElements","$7215afc6de606d6b$var$getScrollableElements","$7215afc6de606d6b$var$restoreScrollPosition","$7215afc6de606d6b$var$supportsPreventScrollCached","parent","rootScrollingElement","scrollTop","scrollLeft"],"mappings":"AAUI,SAASA,EAA0CC,GAAS;AAC5D,MAAIC,EAA2C,EAAI,CAAAD,EAAQ,MAAM;AAAA,IAC7D,eAAe;AAAA,EACvB,CAAK;AAAA,OACI;AACD,QAAIE,IAAqBC,EAA4CH,CAAO;AAC5E,IAAAA,EAAQ,MAAK,GACbI,EAA4CF,CAAkB;AAAA,EAClE;AACJ;AACA,IAAIG,IAAoD;AACxD,SAASJ,IAA8C;AACnD,MAAII,KAAqD,MAAM;AAC3D,IAAAA,IAAoD;AACpD,QAAI;AAEA,MADgB,SAAS,cAAc,KAAK,EAClC,MAAM;AAAA,QACZ,IAAI,gBAAiB;AACjB,iBAAAA,IAAoD,IAC7C;AAAA,QACX;AAAA,MAChB,CAAa;AAAA,IACL,QAAS;AAAA,IAET;AAAA,EACJ;AACA,SAAOA;AACX;AACA,SAASF,EAA4CH,GAAS;AAC1D,MAAIM,IAASN,EAAQ,YACjBE,IAAqB,CAAA,GACrBK,IAAuB,SAAS,oBAAoB,SAAS;AACjE,SAAMD,aAAkB,eAAeA,MAAWC;AAC9C,KAAID,EAAO,eAAeA,EAAO,gBAAgBA,EAAO,cAAcA,EAAO,gBAAaJ,EAAmB,KAAK;AAAA,MAC9G,SAASI;AAAA,MACT,WAAWA,EAAO;AAAA,MAClB,YAAYA,EAAO;AAAA,IAC/B,CAAS,GACDA,IAASA,EAAO;AAEpB,SAAIC,aAAgC,eAAaL,EAAmB,KAAK;AAAA,IACrE,SAASK;AAAA,IACT,WAAWA,EAAqB;AAAA,IAChC,YAAYA,EAAqB;AAAA,EACzC,CAAK,GACML;AACX;AACA,SAASE,EAA4CF,GAAoB;AACrE,WAAS,EAAE,SAASF,GAAS,WAAWQ,GAAW,YAAYC,EAAU,KAAMP;AAC3E,IAAAF,EAAQ,YAAYQ,GACpBR,EAAQ,aAAaS;AAE7B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"focusWithoutScrolling-CDw3JYiq.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.30.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/@react-aria/utils/dist/focusWithoutScrolling.mjs"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ function $7215afc6de606d6b$export$de79e2c695e052f3(element) {\n if ($7215afc6de606d6b$var$supportsPreventScroll()) element.focus({\n preventScroll: true\n });\n else {\n let scrollableElements = $7215afc6de606d6b$var$getScrollableElements(element);\n element.focus();\n $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements);\n }\n}\nlet $7215afc6de606d6b$var$supportsPreventScrollCached = null;\nfunction $7215afc6de606d6b$var$supportsPreventScroll() {\n if ($7215afc6de606d6b$var$supportsPreventScrollCached == null) {\n $7215afc6de606d6b$var$supportsPreventScrollCached = false;\n try {\n let focusElem = document.createElement('div');\n focusElem.focus({\n get preventScroll () {\n $7215afc6de606d6b$var$supportsPreventScrollCached = true;\n return true;\n }\n });\n } catch {\n // Ignore\n }\n }\n return $7215afc6de606d6b$var$supportsPreventScrollCached;\n}\nfunction $7215afc6de606d6b$var$getScrollableElements(element) {\n let parent = element.parentNode;\n let scrollableElements = [];\n let rootScrollingElement = document.scrollingElement || document.documentElement;\n while(parent instanceof HTMLElement && parent !== rootScrollingElement){\n if (parent.offsetHeight < parent.scrollHeight || parent.offsetWidth < parent.scrollWidth) scrollableElements.push({\n element: parent,\n scrollTop: parent.scrollTop,\n scrollLeft: parent.scrollLeft\n });\n parent = parent.parentNode;\n }\n if (rootScrollingElement instanceof HTMLElement) scrollableElements.push({\n element: rootScrollingElement,\n scrollTop: rootScrollingElement.scrollTop,\n scrollLeft: rootScrollingElement.scrollLeft\n });\n return scrollableElements;\n}\nfunction $7215afc6de606d6b$var$restoreScrollPosition(scrollableElements) {\n for (let { element: element, scrollTop: scrollTop, scrollLeft: scrollLeft } of scrollableElements){\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }\n}\n\n\nexport {$7215afc6de606d6b$export$de79e2c695e052f3 as focusWithoutScrolling};\n//# sourceMappingURL=focusWithoutScrolling.module.js.map\n"],"names":["$7215afc6de606d6b$export$de79e2c695e052f3","element","$7215afc6de606d6b$var$supportsPreventScroll","scrollableElements","$7215afc6de606d6b$var$getScrollableElements","$7215afc6de606d6b$var$restoreScrollPosition","$7215afc6de606d6b$var$supportsPreventScrollCached","parent","rootScrollingElement","scrollTop","scrollLeft"],"mappings":"AAUI,SAASA,EAA0CC,GAAS;AAC5D,MAAIC,EAA2C,EAAI,CAAAD,EAAQ,MAAM;AAAA,IAC7D,eAAe;AAAA,EACvB,CAAK;AAAA,OACI;AACD,QAAIE,IAAqBC,EAA4CH,CAAO;AAC5E,IAAAA,EAAQ,MAAK,GACbI,EAA4CF,CAAkB;AAAA,EAClE;AACJ;AACA,IAAIG,IAAoD;AACxD,SAASJ,IAA8C;AACnD,MAAII,KAAqD,MAAM;AAC3D,IAAAA,IAAoD;AACpD,QAAI;AAEA,MADgB,SAAS,cAAc,KAAK,EAClC,MAAM;AAAA,QACZ,IAAI,gBAAiB;AACjB,iBAAAA,IAAoD,IAC7C;AAAA,QACX;AAAA,MAChB,CAAa;AAAA,IACL,QAAS;AAAA,IAET;AAAA,EACJ;AACA,SAAOA;AACX;AACA,SAASF,EAA4CH,GAAS;AAC1D,MAAIM,IAASN,EAAQ,YACjBE,IAAqB,CAAA,GACrBK,IAAuB,SAAS,oBAAoB,SAAS;AACjE,SAAMD,aAAkB,eAAeA,MAAWC;AAC9C,KAAID,EAAO,eAAeA,EAAO,gBAAgBA,EAAO,cAAcA,EAAO,gBAAaJ,EAAmB,KAAK;AAAA,MAC9G,SAASI;AAAA,MACT,WAAWA,EAAO;AAAA,MAClB,YAAYA,EAAO;AAAA,IAC/B,CAAS,GACDA,IAASA,EAAO;AAEpB,SAAIC,aAAgC,eAAaL,EAAmB,KAAK;AAAA,IACrE,SAASK;AAAA,IACT,WAAWA,EAAqB;AAAA,IAChC,YAAYA,EAAqB;AAAA,EACzC,CAAK,GACML;AACX;AACA,SAASE,EAA4CF,GAAoB;AACrE,WAAS,EAAE,SAASF,GAAS,WAAWQ,GAAW,YAAYC,EAAU,KAAMP;AAC3E,IAAAF,EAAQ,YAAYQ,GACpBR,EAAQ,aAAaS;AAE7B;","x_google_ignoreList":[0]}
@@ -1,10 +1,9 @@
1
- import { jsx as i, jsxs as c } from "react/jsx-runtime";
1
+ import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
2
  import { createContext as z, forwardRef as $, useState as P, useEffect as n, Children as w, isValidElement as A, cloneElement as E, useContext as d } from "react";
3
- import { a as H } from "./config-ufbQ08Vi.es.js";
4
- import { c as y } from "./create-slot-recipe-context-DBNItnlK.es.js";
5
- import { e as B, $ as L, a as I } from "./Dialog-C3wKnoBH.es.js";
6
- import { B as m } from "./box-C8731OYq.es.js";
7
- import { I as M } from "./icon-button-oIKucbza.es.js";
3
+ import { defineSlotRecipe as H, createSlotRecipeContext as y } from "@chakra-ui/react/styled-system";
4
+ import { e as B, $ as L, a as I } from "./Dialog-BeQ6Z6l2.es.js";
5
+ import { B as m } from "./box-DuBoAZvq.es.js";
6
+ import { I as M } from "./icon-button-C20Gw8gQ.es.js";
8
7
  import { HelpOutline as R, ErrorOutline as T } from "@commercetools/nimbus-icons";
9
8
  import { $ as W } from "./useField-Ce9zQxmx.es.js";
10
9
  const a = /* @__PURE__ */ z({
@@ -127,7 +126,7 @@ const a = /* @__PURE__ */ z({
127
126
  }), { withProvider: V, withContext: p } = /* @__PURE__ */ y({
128
127
  recipe: N
129
128
  }), _ = /* @__PURE__ */ V("div", "root"), G = /* @__PURE__ */ p("div", "label"), O = /* @__PURE__ */ p("div", "input"), D = /* @__PURE__ */ p("div", "description"), J = /* @__PURE__ */ p("div", "error"), K = /* @__PURE__ */ p("div", "popover"), Q = /* @__PURE__ */ $(
130
- ({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly: l, children: b, ...g }, h) => {
129
+ ({ isInvalid: r, isRequired: t, isDisabled: e, isReadOnly: i, children: b, ...g }, h) => {
131
130
  const [o, u] = P({
132
131
  label: null,
133
132
  description: null,
@@ -137,7 +136,7 @@ const a = /* @__PURE__ */ z({
137
136
  isInvalid: r,
138
137
  isRequired: t,
139
138
  isDisabled: e,
140
- isReadOnly: l
139
+ isReadOnly: i
141
140
  }), f = {
142
141
  description: o.description,
143
142
  errorMessage: o.error
@@ -150,24 +149,24 @@ const a = /* @__PURE__ */ z({
150
149
  isInvalid: r,
151
150
  isRequired: t,
152
151
  isDisabled: e,
153
- isReadOnly: l
152
+ isReadOnly: i
154
153
  }));
155
- }, [r, t, e, l]);
154
+ }, [r, t, e, i]);
156
155
  const C = {
157
156
  ...F,
158
157
  isInvalid: r,
159
158
  isRequired: t,
160
159
  isDisabled: e,
161
- isReadOnly: l
160
+ isReadOnly: i
162
161
  };
163
- return /* @__PURE__ */ i(a.Provider, { value: { context: o, setContext: u }, children: /* @__PURE__ */ c(_, { ref: h, ...g, children: [
162
+ return /* @__PURE__ */ l(a.Provider, { value: { context: o, setContext: u }, children: /* @__PURE__ */ c(_, { ref: h, ...g, children: [
164
163
  o.label && /* @__PURE__ */ c(G, { ...o.labelSlotProps, children: [
165
164
  /* @__PURE__ */ c("label", { ...x, children: [
166
165
  o.label,
167
- t && /* @__PURE__ */ i("sup", { "aria-hidden": "true", children: "*" })
166
+ t && /* @__PURE__ */ l("sup", { "aria-hidden": "true", children: "*" })
168
167
  ] }),
169
168
  o.info && /* @__PURE__ */ c(B, { children: [
170
- /* @__PURE__ */ i(
169
+ /* @__PURE__ */ l(
171
170
  m,
172
171
  {
173
172
  as: "span",
@@ -176,7 +175,7 @@ const a = /* @__PURE__ */ z({
176
175
  width: "1ch",
177
176
  height: "1ch",
178
177
  ml: "200",
179
- children: /* @__PURE__ */ i(
178
+ children: /* @__PURE__ */ l(
180
179
  m,
181
180
  {
182
181
  as: "span",
@@ -185,25 +184,25 @@ const a = /* @__PURE__ */ z({
185
184
  top: "50%",
186
185
  right: "50%",
187
186
  transform: "translate(50%, -50%)",
188
- children: /* @__PURE__ */ i(
187
+ children: /* @__PURE__ */ l(
189
188
  M,
190
189
  {
191
190
  "aria-label": "__MORE INFO",
192
191
  size: "2xs",
193
192
  tone: "info",
194
193
  variant: "link",
195
- children: /* @__PURE__ */ i(R, {})
194
+ children: /* @__PURE__ */ l(R, {})
196
195
  }
197
196
  )
198
197
  }
199
198
  )
200
199
  }
201
200
  ),
202
- /* @__PURE__ */ i(L, { children: /* @__PURE__ */ i(K, { asChild: !0, children: /* @__PURE__ */ i(I, { children: /* @__PURE__ */ i(m, { p: "300", children: o.info }) }) }) })
201
+ /* @__PURE__ */ l(L, { children: /* @__PURE__ */ l(K, { asChild: !0, children: /* @__PURE__ */ l(I, { children: /* @__PURE__ */ l(m, { p: "300", children: o.info }) }) }) })
203
202
  ] })
204
203
  ] }),
205
- o.input && /* @__PURE__ */ i(O, { ...o.inputSlotProps, children: w.map(o.input, (s) => A(s) ? E(s, C) : s) }),
206
- o.description && /* @__PURE__ */ i(
204
+ o.input && /* @__PURE__ */ l(O, { ...o.inputSlotProps, children: w.map(o.input, (s) => A(s) ? E(s, C) : s) }),
205
+ o.description && /* @__PURE__ */ l(
207
206
  D,
208
207
  {
209
208
  ...v,
@@ -217,7 +216,7 @@ const a = /* @__PURE__ */ z({
217
216
  ...S,
218
217
  ...o.errorSlotProps,
219
218
  children: [
220
- /* @__PURE__ */ i(
219
+ /* @__PURE__ */ l(
221
220
  m,
222
221
  {
223
222
  as: T,
@@ -240,8 +239,8 @@ const a = /* @__PURE__ */ z({
240
239
  }) => {
241
240
  const { setContext: e } = d(a);
242
241
  return n(() => {
243
- e((l) => ({
244
- ...l,
242
+ e((i) => ({
243
+ ...i,
245
244
  label: r,
246
245
  labelSlotProps: t
247
246
  }));
@@ -252,8 +251,8 @@ const a = /* @__PURE__ */ z({
252
251
  }) => {
253
252
  const { setContext: e } = d(a);
254
253
  return n(() => {
255
- e((l) => ({
256
- ...l,
254
+ e((i) => ({
255
+ ...i,
257
256
  input: r,
258
257
  inputSlotProps: t
259
258
  }));
@@ -264,8 +263,8 @@ const a = /* @__PURE__ */ z({
264
263
  }) => {
265
264
  const { setContext: e } = d(a);
266
265
  return n(() => {
267
- e((l) => ({
268
- ...l,
266
+ e((i) => ({
267
+ ...i,
269
268
  description: r,
270
269
  descriptionSlotProps: t
271
270
  }));
@@ -276,8 +275,8 @@ const a = /* @__PURE__ */ z({
276
275
  }) => {
277
276
  const { setContext: e } = d(a);
278
277
  return n(() => {
279
- e((l) => ({
280
- ...l,
278
+ e((i) => ({
279
+ ...i,
281
280
  error: r,
282
281
  errorSlotProps: t
283
282
  }));
@@ -290,7 +289,7 @@ const a = /* @__PURE__ */ z({
290
289
  info: r
291
290
  }));
292
291
  }, [r, t]), null;
293
- }, cr = {
292
+ }, sr = {
294
293
  Root: Q,
295
294
  Label: U,
296
295
  Input: X,
@@ -299,7 +298,7 @@ const a = /* @__PURE__ */ z({
299
298
  InfoBox: q
300
299
  };
301
300
  export {
302
- cr as F,
301
+ sr as F,
303
302
  Q as a,
304
303
  U as b,
305
304
  X as c,
@@ -307,4 +306,4 @@ export {
307
306
  Z as e,
308
307
  q as f
309
308
  };
310
- //# sourceMappingURL=form-field-B1B4BtvO.es.js.map
309
+ //# sourceMappingURL=form-field-Dtcfgzyo.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-B1B4BtvO.es.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":";;;;;;;;;AA6BO,MAAMA,IAAmB,gBAAAC,EAAoC;AAAA,EAClE,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EAAA;AAAA,EAET,YAAY,MAAM;AAAA,EAAC;AACrB,CAAC,GCpCKC,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA,GAMfC,IAAY;AAAA;AAAA;AAAA;AAAA,GAULC,IAAkB,gBAAAC,EAAiB;AAAA,EAC9C,OAAO,CAAC,QAAQ,SAAS,SAAS,eAAe,SAAS,SAAS;AAAA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A,EACA;AAAA,EACJ,GAAG,CAACpC,GAAUI,CAAU,CAAC,GAElB;AACT,GCTaiC,IAAmB,CAAC,EAAE,UAAArC,QAAsC;AACvE,QAAM,EAAE,YAAAI,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,MAAMb;AAAA,IAAA,EACN;AAAA,EACJ,GAAG,CAACA,GAAUI,CAAU,CAAC,GAElB;AACT,GCdakC,KAAY;AAAA,EACvB,MAAM5C;AAAA,EACN,OAAOkC;AAAA,EACP,OAAOG;AAAA,EACP,aAAaE;AAAA,EACb,OAAOE;AAAA,EACP,SAASE;AACX;"}
1
+ {"version":3,"file":"form-field-Dtcfgzyo.es.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":";;;;;;;;AA6BO,MAAMA,IAAmB,gBAAAC,EAAoC;AAAA,EAClE,SAAS;AAAA,IACP,OAAO;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EAAA;AAAA,EAET,YAAY,MAAM;AAAA,EAAC;AACrB,CAAC,GCpCKC,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA,GAMfC,IAAY;AAAA;AAAA;AAAA;AAAA,GAULC,IAAkB,gBAAAC,EAAiB;AAAA,EAC9C,OAAO,CAAC,QAAQ,SAAS,SAAS,eAAe,SAAS,SAAS;AAAA;AAAA,EAEnE,WAAW;AAAA,EAEX,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,cAAc;AAAA,MAEd,SAAS;AAAA,MACT,OAAO;AAAA,IAAA;AAAA,IAET,OAAO;AAAA,MACL,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,OAAO;AAAA,MACL,UAAU;AAAA,IAAA;AAAA,IAEZ,aAAa;AAAA,MACX,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,OAAO;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,MACP,UAAU;AAAA,MACV,YAAY;AAAA,IAAA;AAAA,IAEd,SAAS;AAAA,MACP,qBAAqB;AAAA,MACrB,kBAAkB;AAAA,MAClB,IAAI;AAAA,MACJ,UAAU;AAAA,MACV,cAAc;AAAA,MACd,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,WAAW;AAAA,MACX,UAAU;AAAA,MACV,gBAAgB;AAAA,MAChB,gBAAgB;AAAA,MAChB,WAAW;AAAA,IAAA;AAAA,EAC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B,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,aAAab;AAAA,MACb,sBAAAkC;AAAA,IAAA,EACA;AAAA,EACJ,GAAG,CAAClC,GAAUI,CAAU,CAAC,GAElB;AACT,GCfa+B,IAAiB,CAAC;AAAA,EAC7B,UAAAnC;AAAA,EACA,GAAGoC;AACL,MAA+B;AAC7B,QAAM,EAAE,YAAAhC,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,OAAOb;AAAA,MACP,gBAAAoC;AAAA,IAAA,EACA;AAAA,EACJ,GAAG,CAACpC,GAAUI,CAAU,CAAC,GAElB;AACT,GCTaiC,IAAmB,CAAC,EAAE,UAAArC,QAAsC;AACvE,QAAM,EAAE,YAAAI,EAAA,IAAe0B,EAAWnD,CAAgB;AAElD,SAAAiC,EAAU,MAAM;AACd,IAAAR,EAAW,CAACS,OAAiB;AAAA,MAC3B,GAAGA;AAAA,MACH,MAAMb;AAAA,IAAA,EACN;AAAA,EACJ,GAAG,CAACA,GAAUI,CAAU,CAAC,GAElB;AACT,GCdakC,KAAY;AAAA,EACvB,MAAM5C;AAAA,EACN,OAAOkC;AAAA,EACP,OAAOG;AAAA,EACP,aAAaE;AAAA,EACb,OAAOE;AAAA,EACP,SAASE;AACX;"}
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),i=require("react"),B=require("./config-Mt8_uyhI.cjs.js"),A=require("./create-slot-recipe-context-HIF51Igr.cjs.js"),p=require("./Dialog-BnIvgMq1.cjs.js"),u=require("./box-BPfqlznQ.cjs.js"),H=require("./icon-button-Dqhm4rBI.cjs.js"),m=require("@commercetools/nimbus-icons"),R=require("./useField-DmqO9k7a.cjs.js"),s=i.createContext({context:{label:null,description:null,error:null,info:null,input:null},setContext:()=>{}}),y=`
1
+ "use strict";const t=require("react/jsx-runtime"),i=require("react"),x=require("@chakra-ui/react/styled-system"),p=require("./Dialog-CYa26HlL.cjs.js"),u=require("./box-CWni3A32.cjs.js"),y=require("./icon-button-Cc0MkBbk.cjs.js"),m=require("@commercetools/nimbus-icons"),A=require("./useField-DmqO9k7a.cjs.js"),s=i.createContext({context:{label:null,description:null,error:null,info:null,input:null},setContext:()=>{}}),H=`
2
2
  "label"
3
3
  "input"
4
4
  "description"
@@ -7,5 +7,5 @@
7
7
  "label input"
8
8
  "label description"
9
9
  "label error"
10
- `,L=B.defineSlotRecipe({slots:["root","label","input","description","error","popover"],className:"nimbus-ui-form-field",base:{root:{"--grid-gap":"spacing.100",display:"grid",width:"auto"},label:{gridArea:"label",fontWeight:"500",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},input:{gridArea:"input"},description:{gridArea:"description",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},error:{gridArea:"error",color:"critical.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},popover:{"--scrollbar-color":"colors.neutral.8","--scrollbar-bg":"colors.neutral.3",bg:"neutral.1",maxWidth:"xl",borderRadius:"200",boxShadow:"6",border:"solid-25",borderColor:"neutral.8",maxHeight:"40svh",overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"var(--scrollbar-color) var(--scrollbar-bg)",focusRing:"outside"}},variants:{size:{md:{root:{"--form-field-font-size":"fontSizes.350","--form-field-line-height":"lineHeights.500"}},sm:{root:{"--form-field-font-size":"fontSizes.300","--form-field-line-height":"lineHeights.450"}}},direction:{column:{root:{gridTemplateAreas:y},input:{mt:"var(--grid-gap)"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}},row:{root:{gridTemplateAreas:I,gridTemplateColumns:"auto 1fr",gridColumnGap:"200"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}}}},defaultVariants:{direction:"column",size:"md"}}),{withProvider:q,withContext:c}=A.createSlotRecipeContext({recipe:L}),M=q("div","root"),T=c("div","label"),W=c("div","input"),k=c("div","description"),D=c("div","error"),N=c("div","popover"),x=i.forwardRef(({isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n,children:C,...S},j)=>{const[r,f]=i.useState({label:null,description:null,error:null,info:null,input:null,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}),d={description:r.description,errorMessage:r.error};r.label?d.label=r.label:(d["aria-label"]="empty-label",d["aria-labelledby"]="empty-label");const{labelProps:z,fieldProps:E,descriptionProps:P,errorMessageProps:$}=R.$2baaea4c71418dea$export$294aa081a6c6f55d(d);i.useEffect(()=>{f(a=>({...a,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}))},[e,l,o,n]);const w={...E,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n};return t.jsx(s.Provider,{value:{context:r,setContext:f},children:t.jsxs(M,{ref:j,...S,children:[r.label&&t.jsxs(T,{...r.labelSlotProps,children:[t.jsxs("label",{...z,children:[r.label,l&&t.jsx("sup",{"aria-hidden":"true",children:"*"})]}),r.info&&t.jsxs(p.$de32f1b87079253c$export$2e1e1122cf0cba88,{children:[t.jsx(u.Box,{as:"span",display:"inline-block",position:"relative",width:"1ch",height:"1ch",ml:"200",children:t.jsx(u.Box,{as:"span",display:"inline-flex",position:"absolute",top:"50%",right:"50%",transform:"translate(50%, -50%)",children:t.jsx(H.IconButton,{"aria-label":"__MORE INFO",size:"2xs",tone:"info",variant:"link",children:t.jsx(m.HelpOutline,{})})})}),t.jsx(p.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:t.jsx(N,{asChild:!0,children:t.jsx(p.$de32f1b87079253c$export$3ddf2d174ce01153,{children:t.jsx(u.Box,{p:"300",children:r.info})})})})]})]}),r.input&&t.jsx(W,{...r.inputSlotProps,children:i.Children.map(r.input,a=>i.isValidElement(a)?i.cloneElement(a,w):a)}),r.description&&t.jsx(k,{...P,...r.descriptionSlotProps,children:r.description}),e&&r.error&&t.jsxs(D,{...$,...r.errorSlotProps,children:[t.jsx(u.Box,{as:m.ErrorOutline,display:"inline-flex",boxSize:"400",verticalAlign:"text-bottom",mr:"100"}),r.error]}),C]})})}),b=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,label:e,labelSlotProps:l}))},[e,o]),null},g=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,input:e,inputSlotProps:l}))},[e,o]),null},F=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,description:e,descriptionSlotProps:l}))},[e,o]),null},h=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,error:e,errorSlotProps:l}))},[e,o]),null},v=({children:e})=>{const{setContext:l}=i.useContext(s);return i.useEffect(()=>{l(o=>({...o,info:e}))},[e,l]),null},V={Root:x,Label:b,Input:g,Description:F,Error:h,InfoBox:v};exports.FormField=V;exports.FormFieldDescription=F;exports.FormFieldError=h;exports.FormFieldInfoBox=v;exports.FormFieldInput=g;exports.FormFieldLabel=b;exports.FormFieldRoot=x;
11
- //# sourceMappingURL=form-field-6_jyAhgo.cjs.js.map
10
+ `,L=x.defineSlotRecipe({slots:["root","label","input","description","error","popover"],className:"nimbus-ui-form-field",base:{root:{"--grid-gap":"spacing.100",display:"grid",width:"auto"},label:{gridArea:"label",fontWeight:"500",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},input:{gridArea:"input"},description:{gridArea:"description",color:"neutral.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},error:{gridArea:"error",color:"critical.11",fontSize:"var(--form-field-font-size)",lineHeight:"var(--form-field-line-height)"},popover:{"--scrollbar-color":"colors.neutral.8","--scrollbar-bg":"colors.neutral.3",bg:"neutral.1",maxWidth:"xl",borderRadius:"200",boxShadow:"6",border:"solid-25",borderColor:"neutral.8",maxHeight:"40svh",overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"var(--scrollbar-color) var(--scrollbar-bg)",focusRing:"outside"}},variants:{size:{md:{root:{"--form-field-font-size":"fontSizes.350","--form-field-line-height":"lineHeights.500"}},sm:{root:{"--form-field-font-size":"fontSizes.300","--form-field-line-height":"lineHeights.450"}}},direction:{column:{root:{gridTemplateAreas:H},input:{mt:"var(--grid-gap)"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}},row:{root:{gridTemplateAreas:I,gridTemplateColumns:"auto 1fr",gridColumnGap:"200"},description:{mt:"var(--grid-gap)"},error:{mt:"var(--grid-gap)"}}}},defaultVariants:{direction:"column",size:"md"}}),{withProvider:R,withContext:c}=x.createSlotRecipeContext({recipe:L}),q=R("div","root"),M=c("div","label"),T=c("div","input"),W=c("div","description"),k=c("div","error"),D=c("div","popover"),b=i.forwardRef(({isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n,children:S,...j},z)=>{const[r,f]=i.useState({label:null,description:null,error:null,info:null,input:null,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}),d={description:r.description,errorMessage:r.error};r.label?d.label=r.label:(d["aria-label"]="empty-label",d["aria-labelledby"]="empty-label");const{labelProps:E,fieldProps:P,descriptionProps:$,errorMessageProps:w}=A.$2baaea4c71418dea$export$294aa081a6c6f55d(d);i.useEffect(()=>{f(a=>({...a,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n}))},[e,l,o,n]);const B={...P,isInvalid:e,isRequired:l,isDisabled:o,isReadOnly:n};return t.jsx(s.Provider,{value:{context:r,setContext:f},children:t.jsxs(q,{ref:z,...j,children:[r.label&&t.jsxs(M,{...r.labelSlotProps,children:[t.jsxs("label",{...E,children:[r.label,l&&t.jsx("sup",{"aria-hidden":"true",children:"*"})]}),r.info&&t.jsxs(p.$de32f1b87079253c$export$2e1e1122cf0cba88,{children:[t.jsx(u.Box,{as:"span",display:"inline-block",position:"relative",width:"1ch",height:"1ch",ml:"200",children:t.jsx(u.Box,{as:"span",display:"inline-flex",position:"absolute",top:"50%",right:"50%",transform:"translate(50%, -50%)",children:t.jsx(y.IconButton,{"aria-label":"__MORE INFO",size:"2xs",tone:"info",variant:"link",children:t.jsx(m.HelpOutline,{})})})}),t.jsx(p.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:t.jsx(D,{asChild:!0,children:t.jsx(p.$de32f1b87079253c$export$3ddf2d174ce01153,{children:t.jsx(u.Box,{p:"300",children:r.info})})})})]})]}),r.input&&t.jsx(T,{...r.inputSlotProps,children:i.Children.map(r.input,a=>i.isValidElement(a)?i.cloneElement(a,B):a)}),r.description&&t.jsx(W,{...$,...r.descriptionSlotProps,children:r.description}),e&&r.error&&t.jsxs(k,{...w,...r.errorSlotProps,children:[t.jsx(u.Box,{as:m.ErrorOutline,display:"inline-flex",boxSize:"400",verticalAlign:"text-bottom",mr:"100"}),r.error]}),S]})})}),F=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,label:e,labelSlotProps:l}))},[e,o]),null},g=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,input:e,inputSlotProps:l}))},[e,o]),null},h=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,description:e,descriptionSlotProps:l}))},[e,o]),null},v=({children:e,...l})=>{const{setContext:o}=i.useContext(s);return i.useEffect(()=>{o(n=>({...n,error:e,errorSlotProps:l}))},[e,o]),null},C=({children:e})=>{const{setContext:l}=i.useContext(s);return i.useEffect(()=>{l(o=>({...o,info:e}))},[e,l]),null},N={Root:b,Label:F,Input:g,Description:h,Error:v,InfoBox:C};exports.FormField=N;exports.FormFieldDescription=h;exports.FormFieldError=v;exports.FormFieldInfoBox=C;exports.FormFieldInput=g;exports.FormFieldLabel=F;exports.FormFieldRoot=b;
11
+ //# sourceMappingURL=form-field-DxcGAb23.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-6_jyAhgo.cjs.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":"0WA6BaA,EAAmBC,EAAAA,cAAoC,CAClE,QAAS,CACP,MAAO,KACP,YAAa,KACb,MAAO,KACP,KAAM,KACN,MAAO,IAAA,EAET,WAAY,IAAM,CAAC,CACrB,CAAC,ECpCKC,EAAe;AAAA;AAAA;AAAA;AAAA;AAAA,EAMfC,EAAY;AAAA;AAAA;AAAA;AAAA,EAULC,EAAkBC,EAAAA,iBAAiB,CAC9C,MAAO,CAAC,OAAQ,QAAS,QAAS,cAAe,QAAS,SAAS,EAEnE,UAAW,uBAEX,KAAM,CACJ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,CAAA,EAAe0B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,KAAMb,CAAA,EACN,CACJ,EAAG,CAACA,EAAUI,CAAU,CAAC,EAElB,IACT,ECdakC,EAAY,CACvB,KAAM5C,EACN,MAAOkC,EACP,MAAOG,EACP,YAAaE,EACb,MAAOE,EACP,QAASE,CACX"}
1
+ {"version":3,"file":"form-field-DxcGAb23.cjs.js","sources":["../../src/components/form-field/components/form-field.context.tsx","../../src/components/form-field/form-field.recipe.tsx","../../src/components/form-field/form-field.slots.tsx","../../src/components/form-field/components/form-field.root.tsx","../../src/components/form-field/components/form-field.label.tsx","../../src/components/form-field/components/form-field.input.tsx","../../src/components/form-field/components/form-field.description.tsx","../../src/components/form-field/components/form-field.error.tsx","../../src/components/form-field/components/form-field.info-box.tsx","../../src/components/form-field/form-field.tsx"],"sourcesContent":["import { createContext, type ReactNode } from \"react\";\nimport type {\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldInputSlotProps,\n FormFieldLabelSlotProps,\n} from \"../form-field.slots\";\n\nexport type FormFieldContextPayloadType = {\n label: ReactNode;\n labelSlotProps?: FormFieldLabelSlotProps;\n input: ReactNode;\n inputSlotProps?: FormFieldInputSlotProps;\n description: ReactNode;\n descriptionSlotProps?: FormFieldDescriptionSlotProps;\n error: ReactNode;\n errorSlotProps?: FormFieldErrorSlotProps;\n info: ReactNode;\n isInvalid?: boolean;\n isRequired?: boolean;\n isDisabled?: boolean;\n isReadOnly?: boolean;\n};\n\nexport type FormFieldContextType = {\n context: FormFieldContextPayloadType;\n setContext: React.Dispatch<React.SetStateAction<FormFieldContextPayloadType>>;\n};\n\nexport const FormFieldContext = createContext<FormFieldContextType>({\n context: {\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n },\n setContext: () => {},\n});\n","import { defineSlotRecipe } from \"@chakra-ui/react/styled-system\";\n\nconst columnLayout = `\n\"label\"\n\"input\"\n\"description\"\n\"error\"\n`;\nconst rowLayout = `\n\"label input\"\n\"label description\"\n\"label error\"\n`;\n\n/**\n * Recipe configuration for the FormField component.\n * Defines the styling variants and base styles using Chakra UI's recipe system.\n */\nexport const formFieldRecipe = defineSlotRecipe({\n slots: [\"root\", \"label\", \"input\", \"description\", \"error\", \"popover\"],\n // Unique class name prefix for the component\n className: \"nimbus-ui-form-field\",\n\n base: {\n root: {\n \"--grid-gap\": \"spacing.100\",\n\n display: \"grid\",\n width: \"auto\",\n },\n label: {\n gridArea: \"label\",\n fontWeight: \"500\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n input: {\n gridArea: \"input\",\n },\n description: {\n gridArea: \"description\",\n color: \"neutral.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n error: {\n gridArea: \"error\",\n color: \"critical.11\",\n fontSize: \"var(--form-field-font-size)\",\n lineHeight: \"var(--form-field-line-height)\",\n },\n popover: {\n \"--scrollbar-color\": \"colors.neutral.8\",\n \"--scrollbar-bg\": \"colors.neutral.3\",\n bg: \"neutral.1\",\n maxWidth: \"xl\",\n borderRadius: \"200\",\n boxShadow: \"6\",\n border: \"solid-25\",\n borderColor: \"neutral.8\",\n maxHeight: \"40svh\",\n overflow: \"auto\",\n scrollbarWidth: \"thin\",\n scrollbarColor: \"var(--scrollbar-color) var(--scrollbar-bg)\",\n focusRing: \"outside\",\n },\n },\n\n variants: {\n size: {\n md: {\n root: {\n \"--form-field-font-size\": \"fontSizes.350\",\n \"--form-field-line-height\": \"lineHeights.500\",\n },\n },\n sm: {\n root: {\n \"--form-field-font-size\": \"fontSizes.300\",\n \"--form-field-line-height\": \"lineHeights.450\",\n },\n },\n },\n direction: {\n column: {\n root: {\n gridTemplateAreas: columnLayout,\n },\n input: {\n mt: \"var(--grid-gap)\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n row: {\n root: {\n gridTemplateAreas: rowLayout,\n gridTemplateColumns: \"auto 1fr\",\n gridColumnGap: \"200\",\n },\n description: {\n mt: \"var(--grid-gap)\",\n },\n error: {\n mt: \"var(--grid-gap)\",\n },\n },\n },\n },\n\n // Default variant values when not explicitly specified\n defaultVariants: {\n direction: \"column\",\n size: \"md\",\n },\n});\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n type HTMLChakraProps,\n type RecipeVariantProps,\n type UnstyledProp,\n createSlotRecipeContext,\n} from \"@chakra-ui/react/styled-system\";\n\nimport { formFieldRecipe } from \"./form-field.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: formFieldRecipe,\n});\n\n// Root slot\nexport interface FormFieldRootSlotProps\n extends HTMLChakraProps<\n \"div\",\n RecipeVariantProps<typeof formFieldRecipe> & UnstyledProp\n > {}\n\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport interface FormFieldLabelSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport interface FormFieldInputSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport interface FormFieldDescriptionSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport interface FormFieldErrorSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport interface FormFieldPopoverSlotProps extends HTMLChakraProps<\"div\"> {}\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n forwardRef,\n isValidElement,\n useEffect,\n useState,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField } from \"react-aria\";\nimport {\n FormFieldContext,\n type FormFieldContextPayloadType,\n} from \"./form-field.context\";\nimport {\n FormFieldDescriptionSlot,\n FormFieldErrorSlot,\n FormFieldInputSlot,\n FormFieldLabelSlot,\n FormFieldPopoverSlot,\n FormFieldRootSlot,\n} from \"../form-field.slots\";\nimport { Dialog, DialogTrigger, Popover } from \"react-aria-components\";\nimport { Box, IconButton } from \"@/components\";\nimport { ErrorOutline, HelpOutline } from \"@commercetools/nimbus-icons\";\n\n/**\n * # FormField\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/formfield}\n */\nexport const FormFieldRoot = forwardRef<HTMLDivElement, FormFieldProps>(\n (\n { isInvalid, isRequired, isDisabled, isReadOnly, children, ...props },\n ref\n ) => {\n const [context, setContext] = useState<FormFieldContextPayloadType>({\n label: null,\n description: null,\n error: null,\n info: null,\n input: null,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n });\n\n const useFieldArgs: Parameters<typeof useField>[0] = {\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n useFieldArgs.label = context.label;\n } else {\n // Context will always start out null, so we need to stub out some aria attributes\n // FIXME: This is a hack to get the form field to work, but it's not the best solution\n // FIXME: We should find a better way to handle this by redesigning the FormField component's structure\n useFieldArgs[\"aria-label\"] = \"empty-label\";\n useFieldArgs[\"aria-labelledby\"] = \"empty-label\";\n }\n\n const { labelProps, fieldProps, descriptionProps, errorMessageProps } =\n useField(useFieldArgs);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }));\n }, [isInvalid, isRequired, isDisabled, isReadOnly]);\n\n const inputProps = {\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n };\n\n return (\n <FormFieldContext.Provider value={{ context, setContext }}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps}>\n {context.label}\n {isRequired && <sup aria-hidden=\"true\">*</sup>}\n </label>\n {context.info && (\n <DialogTrigger>\n <Box\n as=\"span\"\n display=\"inline-block\"\n position=\"relative\"\n width=\"1ch\"\n height=\"1ch\"\n ml=\"200\"\n >\n <Box\n as=\"span\"\n display=\"inline-flex\"\n position=\"absolute\"\n top=\"50%\"\n right=\"50%\"\n transform=\"translate(50%, -50%)\"\n >\n <IconButton\n aria-label=\"__MORE INFO\"\n size=\"2xs\"\n tone=\"info\"\n variant=\"link\"\n >\n <HelpOutline />\n </IconButton>\n </Box>\n </Box>\n <Popover>\n <FormFieldPopoverSlot asChild>\n <Dialog>\n <Box p=\"300\">{context.info}</Box>\n </Dialog>\n </FormFieldPopoverSlot>\n </Popover>\n </DialogTrigger>\n )}\n </FormFieldLabelSlot>\n )}\n {context.input && (\n <FormFieldInputSlot {...context.inputSlotProps}>\n {Children.map(context.input, (child) => {\n // Important: Check if the child is a valid React element before cloning.\n if (isValidElement(child)) {\n return cloneElement(child, inputProps);\n }\n // If it's not a valid element (e.g., text node, null, undefined), return it as is.\n return child;\n })}\n </FormFieldInputSlot>\n )}\n {context.description && (\n <FormFieldDescriptionSlot\n {...descriptionProps}\n {...context.descriptionSlotProps}\n >\n {context.description}\n </FormFieldDescriptionSlot>\n )}\n {isInvalid && context.error && (\n <FormFieldErrorSlot\n {...errorMessageProps}\n {...context.errorSlotProps}\n >\n <Box\n as={ErrorOutline}\n display=\"inline-flex\"\n boxSize=\"400\"\n verticalAlign=\"text-bottom\"\n mr=\"100\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n }\n);\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldLabel = ({\n children,\n ...labelSlotProps\n}: FormFieldLabelSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n label: children,\n labelSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldInput = ({\n children,\n ...inputSlotProps\n}: FormFieldInputSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n input: children,\n inputSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldDescription = ({\n children,\n ...descriptionSlotProps\n}: FormFieldDescriptionSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n description: children,\n descriptionSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.slots\";\n\nexport const FormFieldError = ({\n children,\n ...errorSlotProps\n}: FormFieldErrorSlotProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n error: children,\n errorSlotProps,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { useContext, useEffect, type ReactNode } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\n\ntype FormFieldInfoBoxProps = {\n /**\n * The content to display in the InfoBox\n */\n children: ReactNode;\n};\n\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n }, [children, setContext]);\n\n return null;\n};\n","import { FormFieldRoot } from \"./components/form-field.root\";\nimport { FormFieldLabel } from \"./components/form-field.label\";\nimport { FormFieldInput } from \"./components/form-field.input\";\nimport { FormFieldDescription } from \"./components/form-field.description\";\nimport { FormFieldError } from \"./components/form-field.error\";\nimport { FormFieldInfoBox } from \"./components/form-field.info-box\";\n\nexport const FormField = {\n Root: FormFieldRoot,\n Label: FormFieldLabel,\n Input: FormFieldInput,\n Description: FormFieldDescription,\n Error: FormFieldError,\n InfoBox: FormFieldInfoBox,\n};\n\nexport {\n FormFieldRoot as _FormFieldRoot,\n FormFieldLabel as _FormFieldLabel,\n FormFieldInput as _FormFieldInput,\n FormFieldDescription as _FormFieldDescription,\n FormFieldError as _FormFieldError,\n FormFieldInfoBox as _FormFieldInfoBox,\n};\n"],"names":["FormFieldContext","createContext","columnLayout","rowLayout","formFieldRecipe","defineSlotRecipe","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardRef","isInvalid","isRequired","isDisabled","isReadOnly","children","props","ref","context","setContext","useState","useFieldArgs","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","jsx","jsxs","DialogTrigger","Box","IconButton","HelpOutline","Popover","Dialog","Children","child","isValidElement","cloneElement","ErrorOutline","FormFieldLabel","labelSlotProps","useContext","FormFieldInput","inputSlotProps","FormFieldDescription","descriptionSlotProps","FormFieldError","errorSlotProps","FormFieldInfoBox","FormField"],"mappings":"sTA6BaA,EAAmBC,EAAAA,cAAoC,CAClE,QAAS,CACP,MAAO,KACP,YAAa,KACb,MAAO,KACP,KAAM,KACN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B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,MAAOb,EACP,eAAAoC,CAAA,EACA,CACJ,EAAG,CAACpC,EAAUI,CAAU,CAAC,EAElB,IACT,ECTaiC,EAAmB,CAAC,CAAE,SAAArC,KAAsC,CACvE,KAAM,CAAE,WAAAI,CAAA,EAAe0B,EAAAA,WAAWnD,CAAgB,EAElDiC,OAAAA,EAAAA,UAAU,IAAM,CACdR,EAAYS,IAAiB,CAC3B,GAAGA,EACH,KAAMb,CAAA,EACN,CACJ,EAAG,CAACA,EAAUI,CAAU,CAAC,EAElB,IACT,ECdakC,EAAY,CACvB,KAAM5C,EACN,MAAOkC,EACP,MAAOG,EACP,YAAaE,EACb,MAAOE,EACP,QAASE,CACX"}
@@ -0,0 +1,2 @@
1
+ "use strict";const n=require("react/jsx-runtime"),r=require("@chakra-ui/react/grid"),e=s=>{const{ref:t,...i}=s;return n.jsx(r.Grid,{ref:t,...i})};e.displayName="Grid";const d=Object.assign(e,{Item:r.GridItem});exports.Grid=d;
2
+ //# sourceMappingURL=grid-Chuw1xje.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-CWdLtU5p.cjs.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":"2FAkBMA,EAAiBC,GAAqB,CAC1C,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EAC9B,OAAOG,EAAAA,IAACC,EAAAA,KAAA,CAAW,IAAAH,EAAW,GAAGC,CAAA,CAAW,CAC9C,EAEAH,EAAc,YAAc,OAErB,MAAMM,EAAO,OAAO,OAAON,EAAe,CAC/C,KAAMO,EAAAA,QACR,CAAC"}
1
+ {"version":3,"file":"grid-Chuw1xje.cjs.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":"qFAkBMA,EAAiBC,GAAqB,CAC1C,KAAM,CAAE,IAAAC,EAAK,GAAGC,CAAA,EAAcF,EAC9B,OAAOG,EAAAA,IAACC,EAAAA,KAAA,CAAW,IAAAH,EAAW,GAAGC,CAAA,CAAW,CAC9C,EAEAH,EAAc,YAAc,OAErB,MAAMM,EAAO,OAAO,OAAON,EAAe,CAC/C,KAAMO,EAAAA,QACR,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { GridItem as e, Grid as m } from "@chakra-ui/react/grid";
3
+ const r = (t) => {
4
+ const { ref: o, ...s } = t;
5
+ return /* @__PURE__ */ i(m, { ref: o, ...s });
6
+ };
7
+ r.displayName = "Grid";
8
+ const G = /* @__PURE__ */ Object.assign(r, {
9
+ Item: e
10
+ });
11
+ export {
12
+ G
13
+ };
14
+ //# sourceMappingURL=grid-De8qjf98.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-Cdmh4YaF.es.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":";;AAkBA,MAAMA,IAAgB,CAACC,MAAqB;AAC1C,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AAC9B,SAAO,gBAAAG,EAACC,GAAA,EAAW,KAAAH,GAAW,GAAGC,EAAA,CAAW;AAC9C;AAEAH,EAAc,cAAc;AAErB,MAAMM,IAAO,uBAAO,OAAON,GAAe;AAAA,EAC/C,MAAMO;AACR,CAAC;"}
1
+ {"version":3,"file":"grid-De8qjf98.es.js","sources":["../../src/components/grid/grid.tsx"],"sourcesContent":["import {\n Grid as ChakraGrid,\n GridItem,\n type GridProps as ChakraGridProps,\n} from \"@chakra-ui/react/grid\";\n\n/**\n * # Grid\n *\n * An easily customizable Grid component, re-exported from Chakra UI, that provides a consistent layout structure across different products.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/layout/grid}\n */\nexport interface GridProps extends ChakraGridProps {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n}\n\nconst GridComponent = (props: GridProps) => {\n const { ref, ...restProps } = props;\n return <ChakraGrid ref={ref} {...restProps} />;\n};\n\nGridComponent.displayName = \"Grid\";\n\nexport const Grid = Object.assign(GridComponent, {\n Item: GridItem,\n});\n"],"names":["GridComponent","props","ref","restProps","jsx","ChakraGrid","Grid","GridItem"],"mappings":";;AAkBA,MAAMA,IAAgB,CAACC,MAAqB;AAC1C,QAAM,EAAE,KAAAC,GAAK,GAAGC,EAAA,IAAcF;AAC9B,SAAO,gBAAAG,EAACC,GAAA,EAAW,KAAAH,GAAW,GAAGC,EAAA,CAAW;AAC9C;AAEAH,EAAc,cAAc;AAErB,MAAMM,IAAO,uBAAO,OAAON,GAAe;AAAA,EAC/C,MAAMO;AACR,CAAC;"}