@commercetools/nimbus 0.0.0-canary-20260202161702 → 0.0.0-canary-20260203193307

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 (346) hide show
  1. package/dist/chunks/{accordion-BOPhM_Jo.es.js → accordion-CA2CA9Ei.es.js} +2 -2
  2. package/dist/chunks/{accordion-BOPhM_Jo.es.js.map → accordion-CA2CA9Ei.es.js.map} +1 -1
  3. package/dist/chunks/{accordion-CPHlDEVX.cjs.js → accordion-DpbfC6NL.cjs.js} +2 -2
  4. package/dist/chunks/{accordion-CPHlDEVX.cjs.js.map → accordion-DpbfC6NL.cjs.js.map} +1 -1
  5. package/dist/chunks/{accordion.content-fGWou3mO.es.js → accordion.content-1n63_axS.es.js} +2 -2
  6. package/dist/chunks/{accordion.content-fGWou3mO.es.js.map → accordion.content-1n63_axS.es.js.map} +1 -1
  7. package/dist/chunks/{accordion.content-gfMoEM9H.cjs.js → accordion.content-DnxFGFyO.cjs.js} +2 -2
  8. package/dist/chunks/{accordion.content-gfMoEM9H.cjs.js.map → accordion.content-DnxFGFyO.cjs.js.map} +1 -1
  9. package/dist/chunks/{alert-CsKET1Gk.cjs.js → alert-COV3hsEg.cjs.js} +2 -2
  10. package/dist/chunks/{alert-CsKET1Gk.cjs.js.map → alert-COV3hsEg.cjs.js.map} +1 -1
  11. package/dist/chunks/{alert-BP6cBJLk.es.js → alert-CS5jBQRo.es.js} +2 -2
  12. package/dist/chunks/{alert-BP6cBJLk.es.js.map → alert-CS5jBQRo.es.js.map} +1 -1
  13. package/dist/chunks/{button-Co7BsYzy.cjs.js → button-ChJ4bltH.cjs.js} +2 -2
  14. package/dist/chunks/{button-Co7BsYzy.cjs.js.map → button-ChJ4bltH.cjs.js.map} +1 -1
  15. package/dist/chunks/{button-CV_nkeaG.es.js → button-fSxxsRwc.es.js} +2 -2
  16. package/dist/chunks/{button-CV_nkeaG.es.js.map → button-fSxxsRwc.es.js.map} +1 -1
  17. package/dist/chunks/{calendar-DyaRBars.es.js → calendar-1M2nFfZw.es.js} +3 -3
  18. package/dist/chunks/{calendar-DyaRBars.es.js.map → calendar-1M2nFfZw.es.js.map} +1 -1
  19. package/dist/chunks/{calendar-hRRhcG4n.cjs.js → calendar-DyT7UJJW.cjs.js} +2 -2
  20. package/dist/chunks/{calendar-hRRhcG4n.cjs.js.map → calendar-DyT7UJJW.cjs.js.map} +1 -1
  21. package/dist/chunks/{card-VQ8L4o8w.es.js → card-Zb1BmRzg.es.js} +2 -2
  22. package/dist/chunks/{card-VQ8L4o8w.es.js.map → card-Zb1BmRzg.es.js.map} +1 -1
  23. package/dist/chunks/{card-CLmYClW5.cjs.js → card-jXSi4bBH.cjs.js} +2 -2
  24. package/dist/chunks/{card-CLmYClW5.cjs.js.map → card-jXSi4bBH.cjs.js.map} +1 -1
  25. package/dist/chunks/{checkbox-cBmFBUSR.es.js → checkbox-IDjSVQ99.es.js} +2 -2
  26. package/dist/chunks/{checkbox-cBmFBUSR.es.js.map → checkbox-IDjSVQ99.es.js.map} +1 -1
  27. package/dist/chunks/{checkbox-KxX5q1OG.cjs.js → checkbox-b_ctXof_.cjs.js} +2 -2
  28. package/dist/chunks/{checkbox-KxX5q1OG.cjs.js.map → checkbox-b_ctXof_.cjs.js.map} +1 -1
  29. package/dist/chunks/{collapsible-motion-DlnghKT1.es.js → collapsible-motion-BlhkSRjv.es.js} +2 -2
  30. package/dist/chunks/{collapsible-motion-DlnghKT1.es.js.map → collapsible-motion-BlhkSRjv.es.js.map} +1 -1
  31. package/dist/chunks/{collapsible-motion-ltyb400N.cjs.js → collapsible-motion-CwTNh8MT.cjs.js} +2 -2
  32. package/dist/chunks/{collapsible-motion-ltyb400N.cjs.js.map → collapsible-motion-CwTNh8MT.cjs.js.map} +1 -1
  33. package/dist/chunks/{combobox-DtTdcQkc.es.js → combobox-B4UHNyy4.es.js} +4 -4
  34. package/dist/chunks/{combobox-DtTdcQkc.es.js.map → combobox-B4UHNyy4.es.js.map} +1 -1
  35. package/dist/chunks/{combobox-BNOIdBf1.cjs.js → combobox-CDREK8lV.cjs.js} +2 -2
  36. package/dist/chunks/{combobox-BNOIdBf1.cjs.js.map → combobox-CDREK8lV.cjs.js.map} +1 -1
  37. package/dist/chunks/{data-table-DMIZlF6C.cjs.js → data-table-CtdyfQfZ.cjs.js} +2 -2
  38. package/dist/chunks/{data-table-DMIZlF6C.cjs.js.map → data-table-CtdyfQfZ.cjs.js.map} +1 -1
  39. package/dist/chunks/{data-table-IcfKQg-w.es.js → data-table-DJ0xIgIo.es.js} +12 -12
  40. package/dist/chunks/{data-table-IcfKQg-w.es.js.map → data-table-DJ0xIgIo.es.js.map} +1 -1
  41. package/dist/chunks/{date-input-C94D4EH7.cjs.js → date-input-B1R3fkD3.cjs.js} +2 -2
  42. package/dist/chunks/{date-input-C94D4EH7.cjs.js.map → date-input-B1R3fkD3.cjs.js.map} +1 -1
  43. package/dist/chunks/{date-input-8YTFQGQj.es.js → date-input-CCsCMx3w.es.js} +3 -3
  44. package/dist/chunks/{date-input-8YTFQGQj.es.js.map → date-input-CCsCMx3w.es.js.map} +1 -1
  45. package/dist/chunks/{date-picker-B9-w058u.es.js → date-picker-C9WYzqCb.es.js} +7 -7
  46. package/dist/chunks/{date-picker-B9-w058u.es.js.map → date-picker-C9WYzqCb.es.js.map} +1 -1
  47. package/dist/chunks/{date-picker-CiLuELiv.cjs.js → date-picker-Cq2b_vmO.cjs.js} +2 -2
  48. package/dist/chunks/{date-picker-CiLuELiv.cjs.js.map → date-picker-Cq2b_vmO.cjs.js.map} +1 -1
  49. package/dist/chunks/{date-range-picker-B5nXcpiZ.cjs.js → date-range-picker-CL_33PJs.cjs.js} +2 -2
  50. package/dist/chunks/{date-range-picker-B5nXcpiZ.cjs.js.map → date-range-picker-CL_33PJs.cjs.js.map} +1 -1
  51. package/dist/chunks/{date-range-picker-trLoOp4W.es.js → date-range-picker-CWOKAfzw.es.js} +7 -7
  52. package/dist/chunks/{date-range-picker-trLoOp4W.es.js.map → date-range-picker-CWOKAfzw.es.js.map} +1 -1
  53. package/dist/chunks/{date-range-picker-field-B_UuUZKz.cjs.js → date-range-picker-field-CU4U4ANn.cjs.js} +2 -2
  54. package/dist/chunks/{date-range-picker-field-B_UuUZKz.cjs.js.map → date-range-picker-field-CU4U4ANn.cjs.js.map} +1 -1
  55. package/dist/chunks/{date-range-picker-field-C6iaFXnh.es.js → date-range-picker-field-DNBNRMyU.es.js} +3 -3
  56. package/dist/chunks/{date-range-picker-field-C6iaFXnh.es.js.map → date-range-picker-field-DNBNRMyU.es.js.map} +1 -1
  57. package/dist/chunks/{dialog-BWVWFLDL.cjs.js → dialog-C5Wlpbui.cjs.js} +2 -2
  58. package/dist/chunks/{dialog-BWVWFLDL.cjs.js.map → dialog-C5Wlpbui.cjs.js.map} +1 -1
  59. package/dist/chunks/{dialog-Cd7taRQY.es.js → dialog-DKqGNdKl.es.js} +3 -3
  60. package/dist/chunks/{dialog-Cd7taRQY.es.js.map → dialog-DKqGNdKl.es.js.map} +1 -1
  61. package/dist/chunks/{draggable-list-CJQEWWPQ.cjs.js → draggable-list-C8kuOc-g.cjs.js} +2 -2
  62. package/dist/chunks/{draggable-list-CJQEWWPQ.cjs.js.map → draggable-list-C8kuOc-g.cjs.js.map} +1 -1
  63. package/dist/chunks/{draggable-list-CiFXn1_f.es.js → draggable-list-DiHrs48f.es.js} +5 -5
  64. package/dist/chunks/{draggable-list-CiFXn1_f.es.js.map → draggable-list-DiHrs48f.es.js.map} +1 -1
  65. package/dist/chunks/{drawer-D-JHvaz8.es.js → drawer-C8IXps2f.es.js} +4 -4
  66. package/dist/chunks/{drawer-D-JHvaz8.es.js.map → drawer-C8IXps2f.es.js.map} +1 -1
  67. package/dist/chunks/{drawer-ByIDScYN.cjs.js → drawer-CBqN2m9T.cjs.js} +2 -2
  68. package/dist/chunks/{drawer-ByIDScYN.cjs.js.map → drawer-CBqN2m9T.cjs.js.map} +1 -1
  69. package/dist/chunks/{extract-style-props-jefkSR4f.es.js → extract-style-props-D6biZYOY.es.js} +2 -2
  70. package/dist/chunks/{extract-style-props-jefkSR4f.es.js.map → extract-style-props-D6biZYOY.es.js.map} +1 -1
  71. package/dist/chunks/{extract-style-props-Cgzzl5ll.cjs.js → extract-style-props-cBej2O9R.cjs.js} +2 -2
  72. package/dist/chunks/{extract-style-props-Cgzzl5ll.cjs.js.map → extract-style-props-cBej2O9R.cjs.js.map} +1 -1
  73. package/dist/chunks/{form-field-Duc1Eb8n.cjs.js → form-field-CiSmD2bX.cjs.js} +2 -2
  74. package/dist/chunks/{form-field-Duc1Eb8n.cjs.js.map → form-field-CiSmD2bX.cjs.js.map} +1 -1
  75. package/dist/chunks/{form-field-BAaKrrLV.es.js → form-field-K2jvoYst.es.js} +2 -2
  76. package/dist/chunks/{form-field-BAaKrrLV.es.js.map → form-field-K2jvoYst.es.js.map} +1 -1
  77. package/dist/chunks/{icon-button-Bx79lcHn.cjs.js → icon-button-Dqk1cYf5.cjs.js} +2 -2
  78. package/dist/chunks/{icon-button-Bx79lcHn.cjs.js.map → icon-button-Dqk1cYf5.cjs.js.map} +1 -1
  79. package/dist/chunks/{icon-button-C0ddJ1nS.es.js → icon-button-DwcdQrcU.es.js} +2 -2
  80. package/dist/chunks/{icon-button-C0ddJ1nS.es.js.map → icon-button-DwcdQrcU.es.js.map} +1 -1
  81. package/dist/chunks/{icon-toggle-button-DssoEpEK.cjs.js → icon-toggle-button-32ylsWjF.cjs.js} +2 -2
  82. package/dist/chunks/{icon-toggle-button-DssoEpEK.cjs.js.map → icon-toggle-button-32ylsWjF.cjs.js.map} +1 -1
  83. package/dist/chunks/{icon-toggle-button-CixqrbrD.es.js → icon-toggle-button-CZvyhpvw.es.js} +2 -2
  84. package/dist/chunks/{icon-toggle-button-CixqrbrD.es.js.map → icon-toggle-button-CZvyhpvw.es.js.map} +1 -1
  85. package/dist/chunks/{index-M22cGCuy.es.js → index-Cng4_peK.es.js} +8 -11
  86. package/dist/chunks/index-Cng4_peK.es.js.map +1 -0
  87. package/dist/chunks/{index-ntBf0TCA.cjs.js → index-Dvh4NYTL.cjs.js} +2 -2
  88. package/dist/chunks/index-Dvh4NYTL.cjs.js.map +1 -0
  89. package/dist/chunks/{list-SHrs2740.cjs.js → list-BukvCXeD.cjs.js} +2 -2
  90. package/dist/chunks/{list-SHrs2740.cjs.js.map → list-BukvCXeD.cjs.js.map} +1 -1
  91. package/dist/chunks/{list-C_D0XhTD.es.js → list-Cpcz66t7.es.js} +2 -2
  92. package/dist/chunks/{list-C_D0XhTD.es.js.map → list-Cpcz66t7.es.js.map} +1 -1
  93. package/dist/chunks/{localized-field-BGZdWUsZ.es.js → localized-field-MIgPDc4N.es.js} +8 -8
  94. package/dist/chunks/{localized-field-BGZdWUsZ.es.js.map → localized-field-MIgPDc4N.es.js.map} +1 -1
  95. package/dist/chunks/{localized-field-BTDBtnK7.cjs.js → localized-field-Q-kmUioC.cjs.js} +2 -2
  96. package/dist/chunks/{localized-field-BTDBtnK7.cjs.js.map → localized-field-Q-kmUioC.cjs.js.map} +1 -1
  97. package/dist/chunks/{menu-bkLzjhsT.cjs.js → menu-BYNKgLoJ.cjs.js} +2 -2
  98. package/dist/chunks/{menu-bkLzjhsT.cjs.js.map → menu-BYNKgLoJ.cjs.js.map} +1 -1
  99. package/dist/chunks/{menu-D_6WqM4D.es.js → menu-XRG1nH6U.es.js} +2 -2
  100. package/dist/chunks/{menu-D_6WqM4D.es.js.map → menu-XRG1nH6U.es.js.map} +1 -1
  101. package/dist/chunks/{money-input-rl9XSovK.cjs.js → money-input-BzU-oqdI.cjs.js} +2 -2
  102. package/dist/chunks/{money-input-rl9XSovK.cjs.js.map → money-input-BzU-oqdI.cjs.js.map} +1 -1
  103. package/dist/chunks/{money-input-B_8Y-PeL.es.js → money-input-DkP1DNTv.es.js} +5 -5
  104. package/dist/chunks/{money-input-B_8Y-PeL.es.js.map → money-input-DkP1DNTv.es.js.map} +1 -1
  105. package/dist/chunks/{money-input-field-B3lQft0S.cjs.js → money-input-field-BMjvTySd.cjs.js} +2 -2
  106. package/dist/chunks/{money-input-field-B3lQft0S.cjs.js.map → money-input-field-BMjvTySd.cjs.js.map} +1 -1
  107. package/dist/chunks/{money-input-field-C03ekDLk.es.js → money-input-field-D1YJbEnQ.es.js} +3 -3
  108. package/dist/chunks/{money-input-field-C03ekDLk.es.js.map → money-input-field-D1YJbEnQ.es.js.map} +1 -1
  109. package/dist/chunks/{multiline-text-input-Cse5YRq2.cjs.js → multiline-text-input-DwH4-esT.cjs.js} +2 -2
  110. package/dist/chunks/{multiline-text-input-Cse5YRq2.cjs.js.map → multiline-text-input-DwH4-esT.cjs.js.map} +1 -1
  111. package/dist/chunks/{multiline-text-input-BaTtWC6h.es.js → multiline-text-input-H6pEqTch.es.js} +3 -3
  112. package/dist/chunks/{multiline-text-input-BaTtWC6h.es.js.map → multiline-text-input-H6pEqTch.es.js.map} +1 -1
  113. package/dist/chunks/{multiline-text-input-field-BKZK_eKT.cjs.js → multiline-text-input-field-CPJp3PGP.cjs.js} +2 -2
  114. package/dist/chunks/{multiline-text-input-field-BKZK_eKT.cjs.js.map → multiline-text-input-field-CPJp3PGP.cjs.js.map} +1 -1
  115. package/dist/chunks/{multiline-text-input-field-CLK7gddi.es.js → multiline-text-input-field-DMXx0G3T.es.js} +3 -3
  116. package/dist/chunks/{multiline-text-input-field-CLK7gddi.es.js.map → multiline-text-input-field-DMXx0G3T.es.js.map} +1 -1
  117. package/dist/chunks/{nimbus-provider-CNOrrHxu.es.js → nimbus-provider-CxRAILWy.es.js} +2 -2
  118. package/dist/chunks/{nimbus-provider-CNOrrHxu.es.js.map → nimbus-provider-CxRAILWy.es.js.map} +1 -1
  119. package/dist/chunks/{nimbus-provider-AImf4t_Y.cjs.js → nimbus-provider-DZ4NqMot.cjs.js} +2 -2
  120. package/dist/chunks/{nimbus-provider-AImf4t_Y.cjs.js.map → nimbus-provider-DZ4NqMot.cjs.js.map} +1 -1
  121. package/dist/chunks/{number-input-CHL9s8eD.es.js → number-input-8RU3oRcI.es.js} +3 -3
  122. package/dist/chunks/{number-input-CHL9s8eD.es.js.map → number-input-8RU3oRcI.es.js.map} +1 -1
  123. package/dist/chunks/{number-input-C6FXyT-S.cjs.js → number-input-BLd8KbgC.cjs.js} +2 -2
  124. package/dist/chunks/{number-input-C6FXyT-S.cjs.js.map → number-input-BLd8KbgC.cjs.js.map} +1 -1
  125. package/dist/chunks/{number-input-field-Cn5sQkJU.es.js → number-input-field-B4adxNaS.es.js} +3 -3
  126. package/dist/chunks/{number-input-field-Cn5sQkJU.es.js.map → number-input-field-B4adxNaS.es.js.map} +1 -1
  127. package/dist/chunks/{number-input-field-tE1vbQZK.cjs.js → number-input-field-C7OakIID.cjs.js} +2 -2
  128. package/dist/chunks/{number-input-field-tE1vbQZK.cjs.js.map → number-input-field-C7OakIID.cjs.js.map} +1 -1
  129. package/dist/chunks/{pagination-ywS_giqo.cjs.js → pagination-BPLi0-lE.cjs.js} +2 -2
  130. package/dist/chunks/{pagination-ywS_giqo.cjs.js.map → pagination-BPLi0-lE.cjs.js.map} +1 -1
  131. package/dist/chunks/{pagination-B_4yqvPS.es.js → pagination-ClJrKbwg.es.js} +4 -4
  132. package/dist/chunks/{pagination-B_4yqvPS.es.js.map → pagination-ClJrKbwg.es.js.map} +1 -1
  133. package/dist/chunks/{password-input-field-DdtPws7k.cjs.js → password-input-field-CZIaXUH4.cjs.js} +2 -2
  134. package/dist/chunks/{password-input-field-DdtPws7k.cjs.js.map → password-input-field-CZIaXUH4.cjs.js.map} +1 -1
  135. package/dist/chunks/{password-input-field-UuhEOVc7.es.js → password-input-field-Jrbh1946.es.js} +3 -3
  136. package/dist/chunks/{password-input-field-UuhEOVc7.es.js.map → password-input-field-Jrbh1946.es.js.map} +1 -1
  137. package/dist/chunks/{password-input-BxIBbkRh.es.js → password-input-hx_fF7kr.es.js} +3 -3
  138. package/dist/chunks/{password-input-BxIBbkRh.es.js.map → password-input-hx_fF7kr.es.js.map} +1 -1
  139. package/dist/chunks/{password-input-BVI6GvAN.cjs.js → password-input-yiY4kRnM.cjs.js} +2 -2
  140. package/dist/chunks/{password-input-BVI6GvAN.cjs.js.map → password-input-yiY4kRnM.cjs.js.map} +1 -1
  141. package/dist/chunks/{progress-bar-BO3f67nC.cjs.js → progress-bar-BumUBuI9.cjs.js} +2 -2
  142. package/dist/chunks/{progress-bar-BO3f67nC.cjs.js.map → progress-bar-BumUBuI9.cjs.js.map} +1 -1
  143. package/dist/chunks/{progress-bar-Du5iCNgE.es.js → progress-bar-Dgahk2Bb.es.js} +2 -2
  144. package/dist/chunks/{progress-bar-Du5iCNgE.es.js.map → progress-bar-Dgahk2Bb.es.js.map} +1 -1
  145. package/dist/chunks/{radio-input-Ck1JgXwq.es.js → radio-input-BDSRmKbe.es.js} +3 -3
  146. package/dist/chunks/{radio-input-Ck1JgXwq.es.js.map → radio-input-BDSRmKbe.es.js.map} +1 -1
  147. package/dist/chunks/{radio-input-La77HvGF.cjs.js → radio-input-BIeOUHHz.cjs.js} +2 -2
  148. package/dist/chunks/{radio-input-La77HvGF.cjs.js.map → radio-input-BIeOUHHz.cjs.js.map} +1 -1
  149. package/dist/chunks/{range-calendar-D8atg783.es.js → range-calendar-CAfsq8u-.es.js} +4 -4
  150. package/dist/chunks/{range-calendar-D8atg783.es.js.map → range-calendar-CAfsq8u-.es.js.map} +1 -1
  151. package/dist/chunks/{range-calendar-B0ipO1VD.cjs.js → range-calendar-D_SsSvO1.cjs.js} +2 -2
  152. package/dist/chunks/{range-calendar-B0ipO1VD.cjs.js.map → range-calendar-D_SsSvO1.cjs.js.map} +1 -1
  153. package/dist/chunks/{rich-text-input-D60gnuEf.cjs.js → rich-text-input-DmdhUFw8.cjs.js} +2 -2
  154. package/dist/chunks/{rich-text-input-D60gnuEf.cjs.js.map → rich-text-input-DmdhUFw8.cjs.js.map} +1 -1
  155. package/dist/chunks/{rich-text-input-C9So3rih.es.js → rich-text-input-GceBo1Ek.es.js} +8 -8
  156. package/dist/chunks/{rich-text-input-C9So3rih.es.js.map → rich-text-input-GceBo1Ek.es.js.map} +1 -1
  157. package/dist/chunks/{scoped-search-input-C9ZgV1W3.es.js → scoped-search-input-BLJSQNp0.es.js} +5 -5
  158. package/dist/chunks/{scoped-search-input-C9ZgV1W3.es.js.map → scoped-search-input-BLJSQNp0.es.js.map} +1 -1
  159. package/dist/chunks/{scoped-search-input-lfXucygF.cjs.js → scoped-search-input-CnJf-iXS.cjs.js} +2 -2
  160. package/dist/chunks/{scoped-search-input-lfXucygF.cjs.js.map → scoped-search-input-CnJf-iXS.cjs.js.map} +1 -1
  161. package/dist/chunks/{search-input-B2LUHM84.es.js → search-input-CM-EJ0M9.es.js} +4 -4
  162. package/dist/chunks/{search-input-B2LUHM84.es.js.map → search-input-CM-EJ0M9.es.js.map} +1 -1
  163. package/dist/chunks/{search-input-CuSHISKc.cjs.js → search-input-CQUnreED.cjs.js} +2 -2
  164. package/dist/chunks/{search-input-CuSHISKc.cjs.js.map → search-input-CQUnreED.cjs.js.map} +1 -1
  165. package/dist/chunks/{search-input-field-ClrteUdq.es.js → search-input-field-CV4MkBmx.es.js} +3 -3
  166. package/dist/chunks/{search-input-field-ClrteUdq.es.js.map → search-input-field-CV4MkBmx.es.js.map} +1 -1
  167. package/dist/chunks/{search-input-field-BaLzJQCP.cjs.js → search-input-field-DDBX93Tc.cjs.js} +2 -2
  168. package/dist/chunks/{search-input-field-BaLzJQCP.cjs.js.map → search-input-field-DDBX93Tc.cjs.js.map} +1 -1
  169. package/dist/chunks/{select-CveCDLWV.cjs.js → select-Bfr_X0lC.cjs.js} +2 -2
  170. package/dist/chunks/{select-CveCDLWV.cjs.js.map → select-Bfr_X0lC.cjs.js.map} +1 -1
  171. package/dist/chunks/{select-ipXMH8aF.es.js → select-UyO-PU05.es.js} +4 -4
  172. package/dist/chunks/{select-ipXMH8aF.es.js.map → select-UyO-PU05.es.js.map} +1 -1
  173. package/dist/chunks/{separator-DS72a2lw.cjs.js → separator-DDrFKRhT.cjs.js} +2 -2
  174. package/dist/chunks/{separator-DS72a2lw.cjs.js.map → separator-DDrFKRhT.cjs.js.map} +1 -1
  175. package/dist/chunks/{separator-BsoEYBzS.es.js → separator-g9HQn68J.es.js} +3 -3
  176. package/dist/chunks/{separator-BsoEYBzS.es.js.map → separator-g9HQn68J.es.js.map} +1 -1
  177. package/dist/chunks/{split-button-WO01eNsw.cjs.js → split-button-Bx9r8U6Y.cjs.js} +2 -2
  178. package/dist/chunks/{split-button-WO01eNsw.cjs.js.map → split-button-Bx9r8U6Y.cjs.js.map} +1 -1
  179. package/dist/chunks/{split-button-Culay-4y.es.js → split-button-Dm-qQht1.es.js} +4 -4
  180. package/dist/chunks/{split-button-Culay-4y.es.js.map → split-button-Dm-qQht1.es.js.map} +1 -1
  181. package/dist/chunks/{switch-DZNkW95d.es.js → switch-BXK6Yp0v.es.js} +3 -3
  182. package/dist/chunks/{switch-DZNkW95d.es.js.map → switch-BXK6Yp0v.es.js.map} +1 -1
  183. package/dist/chunks/{switch-BOfgFOYF.cjs.js → switch-BpAV71yX.cjs.js} +2 -2
  184. package/dist/chunks/{switch-BOfgFOYF.cjs.js.map → switch-BpAV71yX.cjs.js.map} +1 -1
  185. package/dist/chunks/{table-EVDS4ikV.cjs.js → table-DNlyTnEk.cjs.js} +2 -2
  186. package/dist/chunks/{table-EVDS4ikV.cjs.js.map → table-DNlyTnEk.cjs.js.map} +1 -1
  187. package/dist/chunks/{table-DVy5RfE0.es.js → table-r9xARd6L.es.js} +2 -2
  188. package/dist/chunks/{table-DVy5RfE0.es.js.map → table-r9xARd6L.es.js.map} +1 -1
  189. package/dist/chunks/{tabs-BK-VeEtr.es.js → tabs-BjQo8W07.es.js} +2 -2
  190. package/dist/chunks/{tabs-BK-VeEtr.es.js.map → tabs-BjQo8W07.es.js.map} +1 -1
  191. package/dist/chunks/{tabs-BaC_3pzc.cjs.js → tabs-PEb1mXck.cjs.js} +2 -2
  192. package/dist/chunks/{tabs-BaC_3pzc.cjs.js.map → tabs-PEb1mXck.cjs.js.map} +1 -1
  193. package/dist/chunks/{tag-group-BUmOFytw.cjs.js → tag-group-BckTxF5B.cjs.js} +2 -2
  194. package/dist/chunks/{tag-group-BUmOFytw.cjs.js.map → tag-group-BckTxF5B.cjs.js.map} +1 -1
  195. package/dist/chunks/{tag-group-CGbCN48j.es.js → tag-group-DYO3SE6B.es.js} +2 -2
  196. package/dist/chunks/{tag-group-CGbCN48j.es.js.map → tag-group-DYO3SE6B.es.js.map} +1 -1
  197. package/dist/chunks/text-input-BPRU2Q-v.es.js +78 -0
  198. package/dist/chunks/{text-input-DzwmIuAk.es.js.map → text-input-BPRU2Q-v.es.js.map} +1 -1
  199. package/dist/chunks/text-input-Cg3bI26l.cjs.js +2 -0
  200. package/dist/chunks/{text-input-Dukgyb5K.cjs.js.map → text-input-Cg3bI26l.cjs.js.map} +1 -1
  201. package/dist/chunks/{text-input-field-D1bwFK7r.cjs.js → text-input-field-BSJLZ2a0.cjs.js} +2 -2
  202. package/dist/chunks/{text-input-field-D1bwFK7r.cjs.js.map → text-input-field-BSJLZ2a0.cjs.js.map} +1 -1
  203. package/dist/chunks/{text-input-field-XgUiAt5N.es.js → text-input-field-gh03e4ft.es.js} +3 -3
  204. package/dist/chunks/{text-input-field-XgUiAt5N.es.js.map → text-input-field-gh03e4ft.es.js.map} +1 -1
  205. package/dist/chunks/{time-input-D6dDaJC2.es.js → time-input-2c8fw_Sf.es.js} +3 -3
  206. package/dist/chunks/{time-input-D6dDaJC2.es.js.map → time-input-2c8fw_Sf.es.js.map} +1 -1
  207. package/dist/chunks/{time-input-CU6dxYWj.cjs.js → time-input-CLcGIvkn.cjs.js} +2 -2
  208. package/dist/chunks/{time-input-CU6dxYWj.cjs.js.map → time-input-CLcGIvkn.cjs.js.map} +1 -1
  209. package/dist/chunks/{toggle-button-CNt2F7SM.es.js → toggle-button-BS2NUwUy.es.js} +3 -3
  210. package/dist/chunks/{toggle-button-CNt2F7SM.es.js.map → toggle-button-BS2NUwUy.es.js.map} +1 -1
  211. package/dist/chunks/{toggle-button-BYlrIPfh.cjs.js → toggle-button-BovtiBsf.cjs.js} +2 -2
  212. package/dist/chunks/{toggle-button-BYlrIPfh.cjs.js.map → toggle-button-BovtiBsf.cjs.js.map} +1 -1
  213. package/dist/chunks/{toolbar-B5wjgCL6.cjs.js → toolbar-DI-31RdP.cjs.js} +2 -2
  214. package/dist/chunks/{toolbar-B5wjgCL6.cjs.js.map → toolbar-DI-31RdP.cjs.js.map} +1 -1
  215. package/dist/chunks/{toolbar--dnaKPe4.es.js → toolbar-zWTJibs3.es.js} +3 -3
  216. package/dist/chunks/{toolbar--dnaKPe4.es.js.map → toolbar-zWTJibs3.es.js.map} +1 -1
  217. package/dist/components/accordion.cjs +1 -1
  218. package/dist/components/accordion.es.js +2 -2
  219. package/dist/components/alert.cjs +1 -1
  220. package/dist/components/alert.es.js +1 -1
  221. package/dist/components/avatar/avatar.types.d.ts +0 -5
  222. package/dist/components/button.cjs +1 -1
  223. package/dist/components/button.es.js +1 -1
  224. package/dist/components/calendar.cjs +1 -1
  225. package/dist/components/calendar.es.js +1 -1
  226. package/dist/components/card.cjs +1 -1
  227. package/dist/components/card.es.js +1 -1
  228. package/dist/components/checkbox.cjs +1 -1
  229. package/dist/components/checkbox.es.js +1 -1
  230. package/dist/components/collapsible-motion.cjs +1 -1
  231. package/dist/components/collapsible-motion.es.js +1 -1
  232. package/dist/components/combobox.cjs +1 -1
  233. package/dist/components/combobox.es.js +1 -1
  234. package/dist/components/components.cjs +1 -1
  235. package/dist/components/components.es.js +1 -1
  236. package/dist/components/data-table.cjs +1 -1
  237. package/dist/components/data-table.es.js +1 -1
  238. package/dist/components/date-input.cjs +1 -1
  239. package/dist/components/date-input.es.js +1 -1
  240. package/dist/components/date-picker.cjs +1 -1
  241. package/dist/components/date-picker.es.js +1 -1
  242. package/dist/components/date-range-picker-field.cjs +1 -1
  243. package/dist/components/date-range-picker-field.es.js +1 -1
  244. package/dist/components/date-range-picker.cjs +1 -1
  245. package/dist/components/date-range-picker.es.js +1 -1
  246. package/dist/components/dialog.cjs +1 -1
  247. package/dist/components/dialog.es.js +1 -1
  248. package/dist/components/draggable-list.cjs +1 -1
  249. package/dist/components/draggable-list.es.js +1 -1
  250. package/dist/components/drawer.cjs +1 -1
  251. package/dist/components/drawer.es.js +1 -1
  252. package/dist/components/fields.cjs +1 -1
  253. package/dist/components/fields.es.js +7 -7
  254. package/dist/components/form-field.cjs +1 -1
  255. package/dist/components/form-field.es.js +1 -1
  256. package/dist/components/icon-button.cjs +1 -1
  257. package/dist/components/icon-button.es.js +1 -1
  258. package/dist/components/icon-toggle-button.cjs +1 -1
  259. package/dist/components/icon-toggle-button.es.js +1 -1
  260. package/dist/components/list.cjs +1 -1
  261. package/dist/components/list.es.js +1 -1
  262. package/dist/components/localized-field.cjs +1 -1
  263. package/dist/components/localized-field.es.js +1 -1
  264. package/dist/components/money-input-field.cjs +1 -1
  265. package/dist/components/money-input-field.es.js +1 -1
  266. package/dist/components/money-input.cjs +1 -1
  267. package/dist/components/money-input.es.js +1 -1
  268. package/dist/components/multiline-text-input-field.cjs +1 -1
  269. package/dist/components/multiline-text-input-field.es.js +1 -1
  270. package/dist/components/multiline-text-input.cjs +1 -1
  271. package/dist/components/multiline-text-input.es.js +1 -1
  272. package/dist/components/nimbus-provider.cjs +1 -1
  273. package/dist/components/nimbus-provider.es.js +1 -1
  274. package/dist/components/number-input-field.cjs +1 -1
  275. package/dist/components/number-input-field.es.js +1 -1
  276. package/dist/components/number-input.cjs +1 -1
  277. package/dist/components/number-input.es.js +1 -1
  278. package/dist/components/pagination.cjs +1 -1
  279. package/dist/components/pagination.es.js +1 -1
  280. package/dist/components/password-input-field.cjs +1 -1
  281. package/dist/components/password-input-field.es.js +1 -1
  282. package/dist/components/password-input.cjs +1 -1
  283. package/dist/components/password-input.es.js +1 -1
  284. package/dist/components/patterns.cjs +1 -1
  285. package/dist/components/patterns.es.js +7 -7
  286. package/dist/components/progress-bar.cjs +1 -1
  287. package/dist/components/progress-bar.es.js +1 -1
  288. package/dist/components/radio-input.cjs +1 -1
  289. package/dist/components/radio-input.es.js +1 -1
  290. package/dist/components/range-calendar.cjs +1 -1
  291. package/dist/components/range-calendar.es.js +1 -1
  292. package/dist/components/rich-text-input.cjs +1 -1
  293. package/dist/components/rich-text-input.es.js +1 -1
  294. package/dist/components/scoped-search-input.cjs +1 -1
  295. package/dist/components/scoped-search-input.es.js +1 -1
  296. package/dist/components/search-input-field.cjs +1 -1
  297. package/dist/components/search-input-field.es.js +1 -1
  298. package/dist/components/search-input.cjs +1 -1
  299. package/dist/components/search-input.es.js +1 -1
  300. package/dist/components/select.cjs +1 -1
  301. package/dist/components/select.es.js +1 -1
  302. package/dist/components/separator.cjs +1 -1
  303. package/dist/components/separator.es.js +1 -1
  304. package/dist/components/split-button.cjs +1 -1
  305. package/dist/components/split-button.es.js +1 -1
  306. package/dist/components/switch.cjs +1 -1
  307. package/dist/components/switch.es.js +1 -1
  308. package/dist/components/table.cjs +1 -1
  309. package/dist/components/table.es.js +1 -1
  310. package/dist/components/tabs.cjs +1 -1
  311. package/dist/components/tabs.es.js +1 -1
  312. package/dist/components/tag-group.cjs +1 -1
  313. package/dist/components/tag-group.es.js +1 -1
  314. package/dist/components/text-input-field.cjs +1 -1
  315. package/dist/components/text-input-field.es.js +1 -1
  316. package/dist/components/text-input.cjs +1 -1
  317. package/dist/components/text-input.es.js +1 -1
  318. package/dist/components/time-input.cjs +1 -1
  319. package/dist/components/time-input.es.js +1 -1
  320. package/dist/components/toggle-button.cjs +1 -1
  321. package/dist/components/toggle-button.es.js +1 -1
  322. package/dist/components/toolbar.cjs +1 -1
  323. package/dist/components/toolbar.es.js +1 -1
  324. package/dist/index.cjs +1 -1
  325. package/dist/index.es.js +55 -55
  326. package/dist/mock-sprites/blastoise.png +0 -0
  327. package/dist/mock-sprites/bulbasaur.png +0 -0
  328. package/dist/mock-sprites/butterfree.png +0 -0
  329. package/dist/mock-sprites/caterpie.png +0 -0
  330. package/dist/mock-sprites/charizard.png +0 -0
  331. package/dist/mock-sprites/charmander.png +0 -0
  332. package/dist/mock-sprites/charmeleon.png +0 -0
  333. package/dist/mock-sprites/eevee.png +0 -0
  334. package/dist/mock-sprites/ivysaur.png +0 -0
  335. package/dist/mock-sprites/metapod.png +0 -0
  336. package/dist/mock-sprites/mewtwo.png +0 -0
  337. package/dist/mock-sprites/pichu.png +0 -0
  338. package/dist/mock-sprites/pikachu.png +0 -0
  339. package/dist/mock-sprites/squirtle.png +0 -0
  340. package/dist/mock-sprites/venusaur.png +0 -0
  341. package/dist/mock-sprites/wartortle.png +0 -0
  342. package/package.json +5 -5
  343. package/dist/chunks/index-M22cGCuy.es.js.map +0 -1
  344. package/dist/chunks/index-ntBf0TCA.cjs.js.map +0 -1
  345. package/dist/chunks/text-input-Dukgyb5K.cjs.js +0 -2
  346. package/dist/chunks/text-input-DzwmIuAk.es.js +0 -78
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-BAaKrrLV.es.js","sources":["../../src/components/form-field/components/form-field.context.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.types\";\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 { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n FormFieldRootSlotProps,\n FormFieldLabelSlotProps,\n FormFieldInputSlotProps,\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldPopoverSlotProps,\n} from \"./form-field.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"nimbusFormField\",\n});\n\n// Root slot\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n isValidElement,\n useEffect,\n useMemo,\n useState,\n useRef,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField, useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\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.Root\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @supportsStyleProps\n */\nexport const FormFieldRoot = function FormFieldRoot({\n ref: forwardedRef,\n id,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n children,\n ...props\n}: FormFieldProps) {\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\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] = useMemo(() => {\n const args: Parameters<typeof useField>[0] = {\n id,\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n args.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 args[\"aria-label\"] = \"empty-label\";\n args[\"aria-labelledby\"] = \"empty-label\";\n }\n\n return args;\n }, [id, context.description, context.error, context.label]);\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 = useMemo(\n () => ({\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }),\n [fieldProps, isInvalid, isRequired, isDisabled, isReadOnly]\n );\n\n const contextValue = useMemo(() => ({ context, setContext }), [context]);\n\n return (\n <FormFieldContext.Provider value={contextValue}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps} data-required={isRequired}>\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 colorPalette=\"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 alignSelf=\"center\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n};\n\nFormFieldRoot.displayName = \"FormField.Root\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Label - The label element for the form field\n *\n * @supportsStyleProps\n */\n// TODO: should this be wrapped in react-aria's `LabelContext` provider?, e.g. https://react-spectrum.adobe.com/react-aria/TextField.html#custom-children\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\n // Cleanup: clear label when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n label: null,\n labelSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldLabel.displayName = \"FormField.Label\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Input - The input wrapper element for the form field\n *\n * @supportsStyleProps\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\nFormFieldInput.displayName = \"FormField.Input\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Description - The description element for the form field\n *\n * @supportsStyleProps\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\n // Cleanup: clear description when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n description: null,\n descriptionSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldDescription.displayName = \"FormField.Description\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Error - The error message element for the form field\n *\n * @supportsStyleProps\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\n // Cleanup: clear error when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n error: null,\n errorSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldError.displayName = \"FormField.Error\";\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\n/**\n * FormField.InfoBox - The info box popover content for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n\n // Cleanup: clear info when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n info: null,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldInfoBox.displayName = \"FormField.InfoBox\";\n","import {\n FormFieldRoot,\n FormFieldLabel,\n FormFieldInput,\n FormFieldDescription,\n FormFieldError,\n FormFieldInfoBox,\n} from \"./components\";\n\nexport const FormField = {\n /**\n * # FormField.Root\n *\n * The root container for the form field that provides context and state management\n * for all child components. Handles React Aria integration for accessibility,\n * manages field state (required, invalid, disabled, readonly), and coordinates\n * rendering of label, input, description, and error elements.\n *\n * @example\n * ```tsx\n * <FormField.Root isRequired isInvalid>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>Enter your username</FormField.Description>\n * <FormField.Error>Username is required</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Root: FormFieldRoot,\n\n /**\n * # FormField.Label\n *\n * The label element for the form field. Automatically associates with the input\n * via React Aria and displays a required indicator when the field is required.\n * Supports an optional info box trigger for additional field information.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Email Address</FormField.Label>\n * <FormField.InfoBox>\n * Your email will be used for account notifications\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Label: FormFieldLabel,\n\n /**\n * # FormField.Input\n *\n * The input wrapper element that receives and displays the actual input component.\n * Automatically clones children and passes accessibility props, validation state,\n * and field attributes from React Aria.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Password</FormField.Label>\n * <FormField.Input>\n * <PasswordInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Input: FormFieldInput,\n\n /**\n * # FormField.Description\n *\n * The description element that provides helpful information about the field.\n * Automatically associates with the input via `aria-describedby` for screen readers.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>\n * Must be 3-20 characters, letters and numbers only\n * </FormField.Description>\n * </FormField.Root>\n * ```\n */\n Description: FormFieldDescription,\n\n /**\n * # FormField.Error\n *\n * The error message element that displays validation errors. Only visible when\n * the field is invalid. Automatically associates with the input via\n * `aria-errormessage` and includes an error icon.\n *\n * @example\n * ```tsx\n * <FormField.Root isInvalid>\n * <FormField.Label>Email</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Error>Please enter a valid email address</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Error: FormFieldError,\n\n /**\n * # FormField.InfoBox\n *\n * The info box content that appears in a popover when the help icon next to\n * the label is clicked. Use for additional context or instructions that don't\n * need to be visible by default.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>API Key</FormField.Label>\n * <FormField.InfoBox>\n * Your API key can be found in your account settings.\n * Keep it secure and never share it publicly.\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\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","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardedRef","id","isInvalid","isRequired","isDisabled","isReadOnly","children","props","localRef","useRef","ref","useObjectRef","mergeRefs","context","setContext","useState","useFieldArgs","useMemo","args","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","contextValue","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,GC5BK,EAAE,cAAAC,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAw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AA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAmBP,OAAOG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBP,aAAaE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoBb,OAAOE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBP,SAASE;AACX;"}
1
+ {"version":3,"file":"form-field-K2jvoYst.es.js","sources":["../../src/components/form-field/components/form-field.context.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.types\";\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 { createSlotRecipeContext } from \"@chakra-ui/react\";\nimport type {\n FormFieldRootSlotProps,\n FormFieldLabelSlotProps,\n FormFieldInputSlotProps,\n FormFieldDescriptionSlotProps,\n FormFieldErrorSlotProps,\n FormFieldPopoverSlotProps,\n} from \"./form-field.types\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"nimbusFormField\",\n});\n\n// Root slot\nexport const FormFieldRootSlot = withProvider<\n HTMLDivElement,\n FormFieldRootSlotProps\n>(\"div\", \"root\");\n\n// Label Slot\nexport const FormFieldLabelSlot = withContext<\n HTMLDivElement,\n FormFieldLabelSlotProps\n>(\"div\", \"label\");\n\n// Input Slot\nexport const FormFieldInputSlot = withContext<\n HTMLDivElement,\n FormFieldInputSlotProps\n>(\"div\", \"input\");\n\n// Description Slot\nexport const FormFieldDescriptionSlot = withContext<\n HTMLDivElement,\n FormFieldDescriptionSlotProps\n>(\"div\", \"description\");\n\n// Error Slot\nexport const FormFieldErrorSlot = withContext<\n HTMLDivElement,\n FormFieldErrorSlotProps\n>(\"div\", \"error\");\n\n// Error Slot\nexport const FormFieldPopoverSlot = withContext<\n HTMLDivElement,\n FormFieldPopoverSlotProps\n>(\"div\", \"popover\");\n","import {\n Children,\n cloneElement,\n isValidElement,\n useEffect,\n useMemo,\n useState,\n useRef,\n} from \"react\";\nimport type { FormFieldProps } from \"../form-field.types\";\nimport { useField, useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\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.Root\n *\n * displays miscellaneous inputs in a FormField context\n *\n * @supportsStyleProps\n */\nexport const FormFieldRoot = function FormFieldRoot({\n ref: forwardedRef,\n id,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n children,\n ...props\n}: FormFieldProps) {\n const localRef = useRef<HTMLDivElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\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] = useMemo(() => {\n const args: Parameters<typeof useField>[0] = {\n id,\n description: context.description,\n errorMessage: context.error,\n };\n\n if (context.label) {\n args.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 args[\"aria-label\"] = \"empty-label\";\n args[\"aria-labelledby\"] = \"empty-label\";\n }\n\n return args;\n }, [id, context.description, context.error, context.label]);\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 = useMemo(\n () => ({\n ...fieldProps,\n isInvalid,\n isRequired,\n isDisabled,\n isReadOnly,\n }),\n [fieldProps, isInvalid, isRequired, isDisabled, isReadOnly]\n );\n\n const contextValue = useMemo(() => ({ context, setContext }), [context]);\n\n return (\n <FormFieldContext.Provider value={contextValue}>\n <FormFieldRootSlot ref={ref} {...props}>\n {context.label && (\n <FormFieldLabelSlot {...context.labelSlotProps}>\n <label {...labelProps} data-required={isRequired}>\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 colorPalette=\"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 alignSelf=\"center\"\n />\n {context.error}\n </FormFieldErrorSlot>\n )}\n {children}\n </FormFieldRootSlot>\n </FormFieldContext.Provider>\n );\n};\n\nFormFieldRoot.displayName = \"FormField.Root\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldLabelSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Label - The label element for the form field\n *\n * @supportsStyleProps\n */\n// TODO: should this be wrapped in react-aria's `LabelContext` provider?, e.g. https://react-spectrum.adobe.com/react-aria/TextField.html#custom-children\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\n // Cleanup: clear label when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n label: null,\n labelSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldLabel.displayName = \"FormField.Label\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldInputSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Input - The input wrapper element for the form field\n *\n * @supportsStyleProps\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\nFormFieldInput.displayName = \"FormField.Input\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldDescriptionSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Description - The description element for the form field\n *\n * @supportsStyleProps\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\n // Cleanup: clear description when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n description: null,\n descriptionSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldDescription.displayName = \"FormField.Description\";\n","import { useContext, useEffect } from \"react\";\nimport { FormFieldContext } from \"./form-field.context\";\nimport type { FormFieldErrorSlotProps } from \"../form-field.types\";\n\n/**\n * FormField.Error - The error message element for the form field\n *\n * @supportsStyleProps\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\n // Cleanup: clear error when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n error: null,\n errorSlotProps: undefined,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldError.displayName = \"FormField.Error\";\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\n/**\n * FormField.InfoBox - The info box popover content for the form field\n *\n * @supportsStyleProps\n */\nexport const FormFieldInfoBox = ({ children }: FormFieldInfoBoxProps) => {\n const { setContext } = useContext(FormFieldContext);\n\n useEffect(() => {\n setContext((prevContext) => ({\n ...prevContext,\n info: children,\n }));\n\n // Cleanup: clear info when component unmounts\n return () => {\n setContext((prevContext) => ({\n ...prevContext,\n info: null,\n }));\n };\n }, [children, setContext]);\n\n return null;\n};\n\nFormFieldInfoBox.displayName = \"FormField.InfoBox\";\n","import {\n FormFieldRoot,\n FormFieldLabel,\n FormFieldInput,\n FormFieldDescription,\n FormFieldError,\n FormFieldInfoBox,\n} from \"./components\";\n\nexport const FormField = {\n /**\n * # FormField.Root\n *\n * The root container for the form field that provides context and state management\n * for all child components. Handles React Aria integration for accessibility,\n * manages field state (required, invalid, disabled, readonly), and coordinates\n * rendering of label, input, description, and error elements.\n *\n * @example\n * ```tsx\n * <FormField.Root isRequired isInvalid>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>Enter your username</FormField.Description>\n * <FormField.Error>Username is required</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Root: FormFieldRoot,\n\n /**\n * # FormField.Label\n *\n * The label element for the form field. Automatically associates with the input\n * via React Aria and displays a required indicator when the field is required.\n * Supports an optional info box trigger for additional field information.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Email Address</FormField.Label>\n * <FormField.InfoBox>\n * Your email will be used for account notifications\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Label: FormFieldLabel,\n\n /**\n * # FormField.Input\n *\n * The input wrapper element that receives and displays the actual input component.\n * Automatically clones children and passes accessibility props, validation state,\n * and field attributes from React Aria.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Password</FormField.Label>\n * <FormField.Input>\n * <PasswordInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\n Input: FormFieldInput,\n\n /**\n * # FormField.Description\n *\n * The description element that provides helpful information about the field.\n * Automatically associates with the input via `aria-describedby` for screen readers.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>Username</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Description>\n * Must be 3-20 characters, letters and numbers only\n * </FormField.Description>\n * </FormField.Root>\n * ```\n */\n Description: FormFieldDescription,\n\n /**\n * # FormField.Error\n *\n * The error message element that displays validation errors. Only visible when\n * the field is invalid. Automatically associates with the input via\n * `aria-errormessage` and includes an error icon.\n *\n * @example\n * ```tsx\n * <FormField.Root isInvalid>\n * <FormField.Label>Email</FormField.Label>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * <FormField.Error>Please enter a valid email address</FormField.Error>\n * </FormField.Root>\n * ```\n */\n Error: FormFieldError,\n\n /**\n * # FormField.InfoBox\n *\n * The info box content that appears in a popover when the help icon next to\n * the label is clicked. Use for additional context or instructions that don't\n * need to be visible by default.\n *\n * @example\n * ```tsx\n * <FormField.Root>\n * <FormField.Label>API Key</FormField.Label>\n * <FormField.InfoBox>\n * Your API key can be found in your account settings.\n * Keep it secure and never share it publicly.\n * </FormField.InfoBox>\n * <FormField.Input>\n * <TextInput />\n * </FormField.Input>\n * </FormField.Root>\n * ```\n */\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","withProvider","withContext","createSlotRecipeContext","FormFieldRootSlot","FormFieldLabelSlot","FormFieldInputSlot","FormFieldDescriptionSlot","FormFieldErrorSlot","FormFieldPopoverSlot","FormFieldRoot","forwardedRef","id","isInvalid","isRequired","isDisabled","isReadOnly","children","props","localRef","useRef","ref","useObjectRef","mergeRefs","context","setContext","useState","useFieldArgs","useMemo","args","labelProps","fieldProps","descriptionProps","errorMessageProps","useField","useEffect","prevContext","inputProps","contextValue","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,GC5BK,EAAE,cAAAC,GAAc,aAAAC,EAAA,IAAgB,gBAAAC,EAAwB;AAAA,EAC5D,KAAK;AACP,CAAC,GAGYC,IAAoB,gBAAAH,EAG/B,OAAO,MA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AAA;AAAA;AAAA;AAAA;AAAA,EAmBP,OAAOG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBP,aAAaE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAoBb,OAAOE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBP,SAASE;AACX;"}
@@ -1,2 +1,2 @@
1
- "use strict";const f=require("react/jsx-runtime"),n=require("react"),d=require("@chakra-ui/react"),m=require("./useObjectRef-4v2MxSjQ.cjs.js"),p=require("./button-Co7BsYzy.cjs.js"),s=t=>{const{children:i,ref:a,...o}=t,r=n.useRef(null),c=m.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(r,a));return n.useEffect(()=>{if(process.env.NODE_ENV!=="production"){const u=setTimeout(()=>{const e=r.current;if(e){const l=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby"),b=e.hasAttribute("slot");!l&&!b&&console.warn(`Nimbus: IconButton requires an accessible label. Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot="clear" in ComboBox).`,e)}},0);return()=>clearTimeout(u)}},[t["aria-label"],o.slot]),f.jsx(p.Button,{px:0,py:0,...o,ref:c,children:i})};s.displayName="IconButton";exports.IconButton=s;
2
- //# sourceMappingURL=icon-button-Bx79lcHn.cjs.js.map
1
+ "use strict";const f=require("react/jsx-runtime"),n=require("react"),d=require("@chakra-ui/react"),m=require("./useObjectRef-4v2MxSjQ.cjs.js"),p=require("./button-ChJ4bltH.cjs.js"),s=t=>{const{children:i,ref:a,...o}=t,r=n.useRef(null),c=m.$df56164dff5785e2$export$4338b53315abf666(d.mergeRefs(r,a));return n.useEffect(()=>{if(process.env.NODE_ENV!=="production"){const u=setTimeout(()=>{const e=r.current;if(e){const l=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby"),b=e.hasAttribute("slot");!l&&!b&&console.warn(`Nimbus: IconButton requires an accessible label. Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot="clear" in ComboBox).`,e)}},0);return()=>clearTimeout(u)}},[t["aria-label"],o.slot]),f.jsx(p.Button,{px:0,py:0,...o,ref:c,children:i})};s.displayName="IconButton";exports.IconButton=s;
2
+ //# sourceMappingURL=icon-button-Dqk1cYf5.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button-Bx79lcHn.cjs.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\") {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [props[\"aria-label\"], restProps.slot]);\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","useEffect","timeoutId","element","hasAriaLabel","isUsingSlot","jsx","Button"],"mappings":"qLAaaA,EAAcC,GAA2B,CACpD,KAAM,CAAE,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAAcH,EAGhDI,EAAWC,EAAAA,OAA0B,IAAI,EACzCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUF,CAAY,CAAC,EAI1DO,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAI,QAAQ,IAAI,WAAa,aAAc,CACzC,MAAMC,EAAY,WAAW,IAAM,CACjC,MAAMC,EAAUP,EAAS,QACzB,GAAIO,EAAS,CACX,MAAMC,EACJD,EAAQ,aAAa,YAAY,GACjCA,EAAQ,aAAa,iBAAiB,EAGlCE,EAAcF,EAAQ,aAAa,MAAM,EAE3C,CAACC,GAAgB,CAACC,GACpB,QAAQ,KACN,gLAEAF,CAAA,CAGN,CACF,EAAG,CAAC,EAEJ,MAAO,IAAM,aAAaD,CAAS,CACrC,CACF,EAAG,CAACV,EAAM,YAAY,EAAGG,EAAU,IAAI,CAAC,EAGtCW,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGZ,EAAW,IAAAG,EAClC,SAAAL,CAAA,CACH,CAEJ,EAEAF,EAAW,YAAc"}
1
+ {"version":3,"file":"icon-button-Dqk1cYf5.cjs.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\") {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [props[\"aria-label\"], restProps.slot]);\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","useEffect","timeoutId","element","hasAriaLabel","isUsingSlot","jsx","Button"],"mappings":"qLAaaA,EAAcC,GAA2B,CACpD,KAAM,CAAE,SAAAC,EAAU,IAAKC,EAAc,GAAGC,GAAcH,EAGhDI,EAAWC,EAAAA,OAA0B,IAAI,EACzCC,EAAMC,EAAAA,0CAAaC,EAAAA,UAAUJ,EAAUF,CAAY,CAAC,EAI1DO,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAI,QAAQ,IAAI,WAAa,aAAc,CACzC,MAAMC,EAAY,WAAW,IAAM,CACjC,MAAMC,EAAUP,EAAS,QACzB,GAAIO,EAAS,CACX,MAAMC,EACJD,EAAQ,aAAa,YAAY,GACjCA,EAAQ,aAAa,iBAAiB,EAGlCE,EAAcF,EAAQ,aAAa,MAAM,EAE3C,CAACC,GAAgB,CAACC,GACpB,QAAQ,KACN,gLAEAF,CAAA,CAGN,CACF,EAAG,CAAC,EAEJ,MAAO,IAAM,aAAaD,CAAS,CACrC,CACF,EAAG,CAACV,EAAM,YAAY,EAAGG,EAAU,IAAI,CAAC,EAGtCW,MAACC,EAAAA,QAAO,GAAI,EAAG,GAAI,EAAI,GAAGZ,EAAW,IAAAG,EAClC,SAAAL,CAAA,CACH,CAEJ,EAEAF,EAAW,YAAc"}
@@ -2,7 +2,7 @@ import { jsx as f } from "react/jsx-runtime";
2
2
  import { useRef as u, useEffect as m } from "react";
3
3
  import { mergeRefs as p } from "@chakra-ui/react";
4
4
  import { $ as b } from "./useObjectRef-CaJ5pgjX.es.js";
5
- import { B as d } from "./button-CV_nkeaG.es.js";
5
+ import { B as d } from "./button-fSxxsRwc.es.js";
6
6
  const h = (e) => {
7
7
  const { children: a, ref: s, ...o } = e, r = u(null), i = b(p(r, s));
8
8
  return m(() => {
@@ -25,4 +25,4 @@ h.displayName = "IconButton";
25
25
  export {
26
26
  h as I
27
27
  };
28
- //# sourceMappingURL=icon-button-C0ddJ1nS.es.js.map
28
+ //# sourceMappingURL=icon-button-DwcdQrcU.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button-C0ddJ1nS.es.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\") {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [props[\"aria-label\"], restProps.slot]);\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","useEffect","timeoutId","element","hasAriaLabel","isUsingSlot","jsx","Button"],"mappings":";;;;;AAaO,MAAMA,IAAa,CAACC,MAA2B;AACpD,QAAM,EAAE,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAAcH,GAGhDI,IAAWC,EAA0B,IAAI,GACzCC,IAAMC,EAAaC,EAAUJ,GAAUF,CAAY,CAAC;AAI1D,SAAAO,EAAU,MAAM;AACd,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,YAAMC,IAAY,WAAW,MAAM;AACjC,cAAMC,IAAUP,EAAS;AACzB,YAAIO,GAAS;AACX,gBAAMC,IACJD,EAAQ,aAAa,YAAY,KACjCA,EAAQ,aAAa,iBAAiB,GAGlCE,IAAcF,EAAQ,aAAa,MAAM;AAE/C,UAAI,CAACC,KAAgB,CAACC,KACpB,QAAQ;AAAA,YACN;AAAA,YAEAF;AAAA,UAAA;AAAA,QAGN;AAAA,MACF,GAAG,CAAC;AAEJ,aAAO,MAAM,aAAaD,CAAS;AAAA,IACrC;AAAA,EACF,GAAG,CAACV,EAAM,YAAY,GAAGG,EAAU,IAAI,CAAC,GAGtC,gBAAAW,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGZ,GAAW,KAAAG,GAClC,UAAAL,EAAA,CACH;AAEJ;AAEAF,EAAW,cAAc;"}
1
+ {"version":3,"file":"icon-button-DwcdQrcU.es.js","sources":["../../src/components/icon-button/icon-button.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { useObjectRef } from \"react-aria\";\nimport { mergeRefs } from \"@chakra-ui/react\";\nimport type { IconButtonProps } from \"./icon-button.types\";\nimport { Button } from \"@/components\";\n\n/**\n * # IconButton\n *\n * displays a button with an icon only as child\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/iconbutton}\n */\nexport const IconButton = (props: IconButtonProps) => {\n const { children, ref: forwardedRef, ...restProps } = props;\n\n // Create a local ref and merge with forwarded ref\n const localRef = useRef<HTMLButtonElement>(null);\n const ref = useObjectRef(mergeRefs(localRef, forwardedRef));\n\n // Runtime accessibility check\n // Use setTimeout to defer check until after React Aria applies context props\n useEffect(() => {\n if (process.env.NODE_ENV !== \"production\") {\n const timeoutId = setTimeout(() => {\n const element = localRef.current;\n if (element) {\n const hasAriaLabel =\n element.hasAttribute(\"aria-label\") ||\n element.hasAttribute(\"aria-labelledby\");\n\n // Skip warning if component is using slot-based context (Button will handle it)\n const isUsingSlot = element.hasAttribute(\"slot\");\n\n if (!hasAriaLabel && !isUsingSlot) {\n console.warn(\n \"Nimbus: IconButton requires an accessible label. \" +\n \"Either provide an 'aria-label' prop or use within a component that provides it via context (e.g., slot=\\\"clear\\\" in ComboBox).\",\n element\n );\n }\n }\n }, 0);\n\n return () => clearTimeout(timeoutId);\n }\n }, [props[\"aria-label\"], restProps.slot]);\n\n return (\n <Button px={0} py={0} {...restProps} ref={ref}>\n {children}\n </Button>\n );\n};\n\nIconButton.displayName = \"IconButton\";\n"],"names":["IconButton","props","children","forwardedRef","restProps","localRef","useRef","ref","useObjectRef","mergeRefs","useEffect","timeoutId","element","hasAriaLabel","isUsingSlot","jsx","Button"],"mappings":";;;;;AAaO,MAAMA,IAAa,CAACC,MAA2B;AACpD,QAAM,EAAE,UAAAC,GAAU,KAAKC,GAAc,GAAGC,MAAcH,GAGhDI,IAAWC,EAA0B,IAAI,GACzCC,IAAMC,EAAaC,EAAUJ,GAAUF,CAAY,CAAC;AAI1D,SAAAO,EAAU,MAAM;AACd,QAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,YAAMC,IAAY,WAAW,MAAM;AACjC,cAAMC,IAAUP,EAAS;AACzB,YAAIO,GAAS;AACX,gBAAMC,IACJD,EAAQ,aAAa,YAAY,KACjCA,EAAQ,aAAa,iBAAiB,GAGlCE,IAAcF,EAAQ,aAAa,MAAM;AAE/C,UAAI,CAACC,KAAgB,CAACC,KACpB,QAAQ;AAAA,YACN;AAAA,YAEAF;AAAA,UAAA;AAAA,QAGN;AAAA,MACF,GAAG,CAAC;AAEJ,aAAO,MAAM,aAAaD,CAAS;AAAA,IACrC;AAAA,EACF,GAAG,CAACV,EAAM,YAAY,GAAGG,EAAU,IAAI,CAAC,GAGtC,gBAAAW,EAACC,KAAO,IAAI,GAAG,IAAI,GAAI,GAAGZ,GAAW,KAAAG,GAClC,UAAAL,EAAA,CACH;AAEJ;AAEAF,EAAW,cAAc;"}
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("react/jsx-runtime"),u=require("./toggle-button-BYlrIPfh.cjs.js"),t=({"aria-label":o,children:e,ref:n,...g})=>l.jsx(u.ToggleButton,{ref:n,"aria-label":o,px:0,py:0,...g,children:e});t.displayName="IconToggleButton";exports.IconToggleButton=t;
2
- //# sourceMappingURL=icon-toggle-button-DssoEpEK.cjs.js.map
1
+ "use strict";const l=require("react/jsx-runtime"),u=require("./toggle-button-BovtiBsf.cjs.js"),t=({"aria-label":o,children:e,ref:n,...g})=>l.jsx(u.ToggleButton,{ref:n,"aria-label":o,px:0,py:0,...g,children:e});t.displayName="IconToggleButton";exports.IconToggleButton=t;
2
+ //# sourceMappingURL=icon-toggle-button-32ylsWjF.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon-toggle-button-DssoEpEK.cjs.js","sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"names":["IconToggleButton","ariaLabel","children","ref","props","jsx","ToggleButton"],"mappings":"+FAUaA,EAAmB,CAAC,CAC/B,aAAcC,EACd,SAAAC,EACA,IAAAC,EACA,GAAGC,CACL,IAEIC,EAAAA,IAACC,EAAAA,aAAA,CAAa,IAAAH,EAAU,aAAYF,EAAW,GAAI,EAAG,GAAI,EAAI,GAAGG,EAC9D,SAAAF,CAAA,CACH,EAIJF,EAAiB,YAAc"}
1
+ {"version":3,"file":"icon-toggle-button-32ylsWjF.cjs.js","sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"names":["IconToggleButton","ariaLabel","children","ref","props","jsx","ToggleButton"],"mappings":"+FAUaA,EAAmB,CAAC,CAC/B,aAAcC,EACd,SAAAC,EACA,IAAAC,EACA,GAAGC,CACL,IAEIC,EAAAA,IAACC,EAAAA,aAAA,CAAa,IAAAH,EAAU,aAAYF,EAAW,GAAI,EAAG,GAAI,EAAI,GAAGG,EAC9D,SAAAF,CAAA,CACH,EAIJF,EAAiB,YAAc"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { T as l } from "./toggle-button-CNt2F7SM.es.js";
2
+ import { T as l } from "./toggle-button-BS2NUwUy.es.js";
3
3
  const n = ({
4
4
  "aria-label": o,
5
5
  children: t,
@@ -10,4 +10,4 @@ n.displayName = "IconToggleButton";
10
10
  export {
11
11
  n as I
12
12
  };
13
- //# sourceMappingURL=icon-toggle-button-CixqrbrD.es.js.map
13
+ //# sourceMappingURL=icon-toggle-button-CZvyhpvw.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon-toggle-button-CixqrbrD.es.js","sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"names":["IconToggleButton","ariaLabel","children","ref","props","jsx","ToggleButton"],"mappings":";;AAUO,MAAMA,IAAmB,CAAC;AAAA,EAC/B,cAAcC;AAAA,EACd,UAAAC;AAAA,EACA,KAAAC;AAAA,EACA,GAAGC;AACL,MAEI,gBAAAC,EAACC,GAAA,EAAa,KAAAH,GAAU,cAAYF,GAAW,IAAI,GAAG,IAAI,GAAI,GAAGG,GAC9D,UAAAF,EAAA,CACH;AAIJF,EAAiB,cAAc;"}
1
+ {"version":3,"file":"icon-toggle-button-CZvyhpvw.es.js","sources":["../../src/components/icon-toggle-button/icon-toggle-button.tsx"],"sourcesContent":["import { ToggleButton } from \"@/components/toggle-button/toggle-button\";\nimport type { IconToggleButtonProps } from \"./icon-toggle-button.types\";\n\n/**\n * # IconToggleButton\n * ============================================================\n * A toggle button with only an icon as child. It is based\n * on the regular `ToggleButton` component, but with a few adjustments.\n *\n */\nexport const IconToggleButton = ({\n \"aria-label\": ariaLabel,\n children,\n ref,\n ...props\n}: IconToggleButtonProps) => {\n return (\n <ToggleButton ref={ref} aria-label={ariaLabel} px={0} py={0} {...props}>\n {children}\n </ToggleButton>\n );\n};\n\nIconToggleButton.displayName = \"IconToggleButton\";\n"],"names":["IconToggleButton","ariaLabel","children","ref","props","jsx","ToggleButton"],"mappings":";;AAUO,MAAMA,IAAmB,CAAC;AAAA,EAC/B,cAAcC;AAAA,EACd,UAAAC;AAAA,EACA,KAAAC;AAAA,EACA,GAAGC;AACL,MAEI,gBAAAC,EAACC,GAAA,EAAa,KAAAH,GAAU,cAAYF,GAAW,IAAI,GAAG,IAAI,GAAI,GAAGG,GAC9D,UAAAF,EAAA,CACH;AAIJF,EAAiB,cAAc;"}
@@ -1,8 +1,8 @@
1
- import { defineAnimationStyles as b, defineConditions as m, defineGlobalStyles as h, defineLayerStyles as f, defineRecipe as u, defineSemanticTokens as c, defineSlotRecipe as s, defineTextStyles as x, defineTokens as o, createSystem as v, defaultBaseConfig as y, defineConfig as w } from "@chakra-ui/react";
1
+ import { defineAnimationStyles as m, defineConditions as b, defineGlobalStyles as h, defineLayerStyles as f, defineRecipe as u, defineSemanticTokens as c, defineSlotRecipe as s, defineTextStyles as x, defineTokens as o, createSystem as v, defaultBaseConfig as y, defineConfig as w } from "@chakra-ui/react";
2
2
  import { themeTokens as t, designTokens as S } from "@commercetools/nimbus-tokens";
3
3
  import { defineRecipe as r, defineSlotRecipe as e } from "@chakra-ui/react/styled-system";
4
4
  import { i as z } from "./icon.recipe-DjkjodUn.es.js";
5
- const R = /* @__PURE__ */ b({
5
+ const R = /* @__PURE__ */ m({
6
6
  "slide-fade-in": {
7
7
  value: {
8
8
  transformOrigin: "var(--transform-origin)",
@@ -56,7 +56,7 @@ function k(l) {
56
56
  l[a]?.value ? n[a] = l[a].value : n[a] = l[a];
57
57
  return n;
58
58
  }
59
- const C = /* @__PURE__ */ k(t.breakpoints), I = /* @__PURE__ */ m({
59
+ const C = /* @__PURE__ */ k(t.breakpoints), I = /* @__PURE__ */ b({
60
60
  /**
61
61
  * Maps to React Aria's open state data attributes
62
62
  * Used for animations when a component is opening/entering
@@ -386,9 +386,6 @@ const C = /* @__PURE__ */ k(t.breakpoints), I = /* @__PURE__ */ m({
386
386
  focusVisibleRing: "outside",
387
387
  "button&": {
388
388
  cursor: "button"
389
- },
390
- _disabled: {
391
- layerStyle: "disabled"
392
389
  }
393
390
  },
394
391
  variants: {
@@ -3337,11 +3334,11 @@ const C = /* @__PURE__ */ k(t.breakpoints), I = /* @__PURE__ */ m({
3337
3334
  "description"
3338
3335
  "error"
3339
3336
 
3340
- `, be = `
3337
+ `, me = `
3341
3338
  "label input"
3342
3339
  "description description"
3343
3340
  "error error"
3344
- `, me = /* @__PURE__ */ e({
3341
+ `, be = /* @__PURE__ */ e({
3345
3342
  slots: [
3346
3343
  // Group / Fieldset slots
3347
3344
  "root",
@@ -3423,7 +3420,7 @@ const C = /* @__PURE__ */ k(t.breakpoints), I = /* @__PURE__ */ m({
3423
3420
  // Individual Locale Field / Input slots
3424
3421
  localeFieldRoot: {
3425
3422
  gap: 0,
3426
- gridTemplateAreas: be,
3423
+ gridTemplateAreas: me,
3427
3424
  // Fake `_focusWithin` on the label element, since formfield's `label` and `input` slots cannot be wrapped,
3428
3425
  // and the root slot needs to display desc/warning/error, so the focus styling would be off if we used _focusWithin on it
3429
3426
  "&:has(.nimbus-localized-field__localeFieldInput:focus-within)": {
@@ -5865,7 +5862,7 @@ const C = /* @__PURE__ */ k(t.breakpoints), I = /* @__PURE__ */ m({
5865
5862
  nimbusFieldErrors: se,
5866
5863
  nimbusFormField: ue,
5867
5864
  nimbusList: pe,
5868
- nimbusLocalizedField: me,
5865
+ nimbusLocalizedField: be,
5869
5866
  nimbusMenu: he,
5870
5867
  nimbusMoneyInput: fe,
5871
5868
  nimbusMultilineTextInput: xe,
@@ -6070,4 +6067,4 @@ export {
6070
6067
  nt as s,
6071
6068
  He as t
6072
6069
  };
6073
- //# sourceMappingURL=index-M22cGCuy.es.js.map
6070
+ //# sourceMappingURL=index-Cng4_peK.es.js.map