@commercetools/nimbus 0.0.0-canary-20251008065712 → 0.0.0-canary-20251009112243

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 (330) hide show
  1. package/dist/chunks/{Button-BvIjIGsV.es.js → Button-DbDspzBf.es.js} +3 -3
  2. package/dist/chunks/{Button-BvIjIGsV.es.js.map → Button-DbDspzBf.es.js.map} +1 -1
  3. package/dist/chunks/{DateField-5ys1kBci.es.js → DateField-BnqI8eDK.es.js} +5 -5
  4. package/dist/chunks/{DateField-5ys1kBci.es.js.map → DateField-BnqI8eDK.es.js.map} +1 -1
  5. package/dist/chunks/{DatePicker-YExF9ktq.es.js → DatePicker-Df88_VwG.es.js} +9 -9
  6. package/dist/chunks/{DatePicker-YExF9ktq.es.js.map → DatePicker-Df88_VwG.es.js.map} +1 -1
  7. package/dist/chunks/{Dialog-CWqCOpjC.es.js → Dialog-FtshtbuD.es.js} +27 -27
  8. package/dist/chunks/{Dialog-CWqCOpjC.es.js.map → Dialog-FtshtbuD.es.js.map} +1 -1
  9. package/dist/chunks/{Group-BpLIGg06.es.js → Group-BBaUrRF9.es.js} +2 -2
  10. package/dist/chunks/{Group-BpLIGg06.es.js.map → Group-BBaUrRF9.es.js.map} +1 -1
  11. package/dist/chunks/{Header-LnHmzVuk.es.js → Header-_Z7cZ9Ql.es.js} +10 -10
  12. package/dist/chunks/{Header-LnHmzVuk.es.js.map → Header-_Z7cZ9Ql.es.js.map} +1 -1
  13. package/dist/chunks/{Heading-D7ETzhN-.es.js → Heading-D_yp5JbO.es.js} +3 -3
  14. package/dist/chunks/{Heading-D7ETzhN-.es.js.map → Heading-D_yp5JbO.es.js.map} +1 -1
  15. package/dist/chunks/{Input-DFGgeFov.es.js → Input-Da2oLmEN.es.js} +2 -2
  16. package/dist/chunks/{Input-DFGgeFov.es.js.map → Input-Da2oLmEN.es.js.map} +1 -1
  17. package/dist/chunks/{Label-Bnr234yV.es.js → Label-qcXzazih.es.js} +2 -2
  18. package/dist/chunks/{Label-Bnr234yV.es.js.map → Label-qcXzazih.es.js.map} +1 -1
  19. package/dist/chunks/{ListBox-C_uejm2i.es.js → ListBox-CA_ARARw.es.js} +7 -7
  20. package/dist/chunks/{ListBox-C_uejm2i.es.js.map → ListBox-CA_ARARw.es.js.map} +1 -1
  21. package/dist/chunks/{ListKeyboardDelegate-4wjSpyhj.es.js → ListKeyboardDelegate-XLAitX9C.es.js} +2 -2
  22. package/dist/chunks/{ListKeyboardDelegate-4wjSpyhj.es.js.map → ListKeyboardDelegate-XLAitX9C.es.js.map} +1 -1
  23. package/dist/chunks/Modal-CVOcKPNx.cjs.js +2 -0
  24. package/dist/chunks/Modal-CVOcKPNx.cjs.js.map +1 -0
  25. package/dist/chunks/Modal-CVRxKbK2.es.js +197 -0
  26. package/dist/chunks/Modal-CVRxKbK2.es.js.map +1 -0
  27. package/dist/chunks/{OverlayArrow-CTv6jme7.es.js → OverlayArrow-CwYMJqgj.es.js} +6 -6
  28. package/dist/chunks/{OverlayArrow-CTv6jme7.es.js.map → OverlayArrow-CwYMJqgj.es.js.map} +1 -1
  29. package/dist/chunks/{ProgressBar-8CLctnNS.es.js → ProgressBar-dYIUhB6B.es.js} +3 -3
  30. package/dist/chunks/{ProgressBar-8CLctnNS.es.js.map → ProgressBar-dYIUhB6B.es.js.map} +1 -1
  31. package/dist/chunks/{SelectionManager-CRACdKnk.es.js → SelectionManager-C9i8k50b.es.js} +8 -8
  32. package/dist/chunks/{SelectionManager-CRACdKnk.es.js.map → SelectionManager-C9i8k50b.es.js.map} +1 -1
  33. package/dist/chunks/{Separator-C9c_wOg5.es.js → Separator-DyXjJGoH.es.js} +2 -2
  34. package/dist/chunks/{Separator-C9c_wOg5.es.js.map → Separator-DyXjJGoH.es.js.map} +1 -1
  35. package/dist/chunks/{TextArea-ynzwaXdc.es.js → TextArea-DItoG16s.es.js} +2 -2
  36. package/dist/chunks/{TextArea-ynzwaXdc.es.js.map → TextArea-DItoG16s.es.js.map} +1 -1
  37. package/dist/chunks/{ToggleButton-DmBKvuoG.es.js → ToggleButton-C5u-GV4F.es.js} +2 -2
  38. package/dist/chunks/{ToggleButton-DmBKvuoG.es.js.map → ToggleButton-C5u-GV4F.es.js.map} +1 -1
  39. package/dist/chunks/{accordion-DJmN_bJq.es.js → accordion-C4MjwWsC.es.js} +4 -4
  40. package/dist/chunks/{accordion-DJmN_bJq.es.js.map → accordion-C4MjwWsC.es.js.map} +1 -1
  41. package/dist/chunks/{accordion-C2cc3Wn5.cjs.js → accordion-CxA_B4rs.cjs.js} +2 -2
  42. package/dist/chunks/{accordion-C2cc3Wn5.cjs.js.map → accordion-CxA_B4rs.cjs.js.map} +1 -1
  43. package/dist/chunks/{alert-D2CGReLt.cjs.js → alert-CA04iXvr.cjs.js} +2 -2
  44. package/dist/chunks/{alert-D2CGReLt.cjs.js.map → alert-CA04iXvr.cjs.js.map} +1 -1
  45. package/dist/chunks/{alert-DkIw1imV.es.js → alert-C_eKOpkm.es.js} +2 -2
  46. package/dist/chunks/{alert-DkIw1imV.es.js.map → alert-C_eKOpkm.es.js.map} +1 -1
  47. package/dist/chunks/{button-CN72KuLp.es.js → button-Be0U44e7.es.js} +4 -4
  48. package/dist/chunks/{button-CN72KuLp.es.js.map → button-Be0U44e7.es.js.map} +1 -1
  49. package/dist/chunks/{button-DwowuU7n.cjs.js → button-DTE97NpD.cjs.js} +2 -2
  50. package/dist/chunks/{button-DwowuU7n.cjs.js.map → button-DTE97NpD.cjs.js.map} +1 -1
  51. package/dist/chunks/{calendar-BeLNlFT1.es.js → calendar-C33Q6JGN.es.js} +8 -8
  52. package/dist/chunks/{calendar-BeLNlFT1.es.js.map → calendar-C33Q6JGN.es.js.map} +1 -1
  53. package/dist/chunks/{calendar-CmRpEeaV.cjs.js → calendar-GA5ACIqm.cjs.js} +2 -2
  54. package/dist/chunks/{calendar-CmRpEeaV.cjs.js.map → calendar-GA5ACIqm.cjs.js.map} +1 -1
  55. package/dist/chunks/{checkbox-DPAM4M8p.es.js → checkbox-BKBd4kHr.es.js} +3 -3
  56. package/dist/chunks/{checkbox-DPAM4M8p.es.js.map → checkbox-BKBd4kHr.es.js.map} +1 -1
  57. package/dist/chunks/{checkbox-B_7h5MW8.cjs.js → checkbox-Bh5DxcKC.cjs.js} +2 -2
  58. package/dist/chunks/{checkbox-B_7h5MW8.cjs.js.map → checkbox-Bh5DxcKC.cjs.js.map} +1 -1
  59. package/dist/chunks/{collapsible-motion-DqQSB6-D.es.js → collapsible-motion-BSsz8na-.es.js} +3 -3
  60. package/dist/chunks/{collapsible-motion-DqQSB6-D.es.js.map → collapsible-motion-BSsz8na-.es.js.map} +1 -1
  61. package/dist/chunks/{collapsible-motion-CJQJsU4W.cjs.js → collapsible-motion-hU9KTv8o.cjs.js} +2 -2
  62. package/dist/chunks/{collapsible-motion-CJQJsU4W.cjs.js.map → collapsible-motion-hU9KTv8o.cjs.js.map} +1 -1
  63. package/dist/chunks/{combobox-DxZTQoKT.cjs.js → combobox-BghQKCQt.cjs.js} +2 -2
  64. package/dist/chunks/{combobox-DxZTQoKT.cjs.js.map → combobox-BghQKCQt.cjs.js.map} +1 -1
  65. package/dist/chunks/{combobox-Ds2AjwlE.es.js → combobox-D4M76aw1.es.js} +19 -19
  66. package/dist/chunks/{combobox-Ds2AjwlE.es.js.map → combobox-D4M76aw1.es.js.map} +1 -1
  67. package/dist/chunks/{data-table-CqRdiTa7.cjs.js → data-table-BBvjFAkE.cjs.js} +2 -2
  68. package/dist/chunks/{data-table-CqRdiTa7.cjs.js.map → data-table-BBvjFAkE.cjs.js.map} +1 -1
  69. package/dist/chunks/{data-table-CkB6mGKq.es.js → data-table-CJMHQ1O2.es.js} +12 -12
  70. package/dist/chunks/{data-table-CkB6mGKq.es.js.map → data-table-CJMHQ1O2.es.js.map} +1 -1
  71. package/dist/chunks/{date-input-C7BR3eTg.cjs.js → date-input-CUWc63rA.cjs.js} +2 -2
  72. package/dist/chunks/{date-input-C7BR3eTg.cjs.js.map → date-input-CUWc63rA.cjs.js.map} +1 -1
  73. package/dist/chunks/{date-input-DOiFNdVS.es.js → date-input-Dab_Fdrq.es.js} +4 -4
  74. package/dist/chunks/{date-input-DOiFNdVS.es.js.map → date-input-Dab_Fdrq.es.js.map} +1 -1
  75. package/dist/chunks/{date-picker-Cm9gyNP-.cjs.js → date-picker-C6A6CiIu.cjs.js} +2 -2
  76. package/dist/chunks/{date-picker-Cm9gyNP-.cjs.js.map → date-picker-C6A6CiIu.cjs.js.map} +1 -1
  77. package/dist/chunks/{date-picker-yZG8AJhH.es.js → date-picker-CT6jwApn.es.js} +18 -18
  78. package/dist/chunks/{date-picker-yZG8AJhH.es.js.map → date-picker-CT6jwApn.es.js.map} +1 -1
  79. package/dist/chunks/{date-range-picker-D-81vyFH.es.js → date-range-picker-BICRnCsn.es.js} +20 -20
  80. package/dist/chunks/{date-range-picker-D-81vyFH.es.js.map → date-range-picker-BICRnCsn.es.js.map} +1 -1
  81. package/dist/chunks/{date-range-picker-zS1_WvWT.cjs.js → date-range-picker-vER5F2HJ.cjs.js} +2 -2
  82. package/dist/chunks/{date-range-picker-zS1_WvWT.cjs.js.map → date-range-picker-vER5F2HJ.cjs.js.map} +1 -1
  83. package/dist/chunks/{dialog-DeZMe0yJ.es.js → dialog-4Rx0vFFN.es.js} +2 -2
  84. package/dist/chunks/dialog-4Rx0vFFN.es.js.map +1 -0
  85. package/dist/chunks/{dialog-BypIffa5.cjs.js → dialog-CDyF_zvK.cjs.js} +2 -2
  86. package/dist/chunks/dialog-CDyF_zvK.cjs.js.map +1 -0
  87. package/dist/chunks/dialog.title-5mHI--iF.es.js +152 -0
  88. package/dist/chunks/dialog.title-5mHI--iF.es.js.map +1 -0
  89. package/dist/chunks/dialog.title-CtQfDha4.cjs.js +2 -0
  90. package/dist/chunks/dialog.title-CtQfDha4.cjs.js.map +1 -0
  91. package/dist/chunks/drawer-DzYXHVbg.cjs.js +2 -0
  92. package/dist/chunks/drawer-DzYXHVbg.cjs.js.map +1 -0
  93. package/dist/chunks/drawer-wpiy6Y4h.es.js +304 -0
  94. package/dist/chunks/drawer-wpiy6Y4h.es.js.map +1 -0
  95. package/dist/chunks/{extractStyleProps-DikjPnnl.es.js → extractStyleProps-CNXOLneR.es.js} +2 -2
  96. package/dist/chunks/{extractStyleProps-DikjPnnl.es.js.map → extractStyleProps-CNXOLneR.es.js.map} +1 -1
  97. package/dist/chunks/{extractStyleProps-Dm0IZP1e.cjs.js → extractStyleProps-G58aSXl8.cjs.js} +2 -2
  98. package/dist/chunks/{extractStyleProps-Dm0IZP1e.cjs.js.map → extractStyleProps-G58aSXl8.cjs.js.map} +1 -1
  99. package/dist/chunks/{form-field-BDfFWeqm.cjs.js → form-field-2NMmaZgp.cjs.js} +2 -2
  100. package/dist/chunks/{form-field-BDfFWeqm.cjs.js.map → form-field-2NMmaZgp.cjs.js.map} +1 -1
  101. package/dist/chunks/{form-field-DWeU1qy1.es.js → form-field-BrU_qJq3.es.js} +10 -10
  102. package/dist/chunks/{form-field-DWeU1qy1.es.js.map → form-field-BrU_qJq3.es.js.map} +1 -1
  103. package/dist/chunks/{group-BOu3usq9.es.js → group-F6OwMVlM.es.js} +2 -2
  104. package/dist/chunks/{group-BOu3usq9.es.js.map → group-F6OwMVlM.es.js.map} +1 -1
  105. package/dist/chunks/{heading-DpAKPw0U.es.js → heading-BtazVUd5.es.js} +2 -2
  106. package/dist/chunks/{heading-DpAKPw0U.es.js.map → heading-BtazVUd5.es.js.map} +1 -1
  107. package/dist/chunks/{icon-button-Bwkgcdyv.cjs.js → icon-button-CkjZc6Br.cjs.js} +2 -2
  108. package/dist/chunks/{icon-button-Bwkgcdyv.cjs.js.map → icon-button-CkjZc6Br.cjs.js.map} +1 -1
  109. package/dist/chunks/{icon-button-CbjASJ_F.es.js → icon-button-D4w1XTVg.es.js} +2 -2
  110. package/dist/chunks/{icon-button-CbjASJ_F.es.js.map → icon-button-D4w1XTVg.es.js.map} +1 -1
  111. package/dist/chunks/{icon-toggle-button-DC2DD7q-.cjs.js → icon-toggle-button-Bsj4XLsI.cjs.js} +2 -2
  112. package/dist/chunks/{icon-toggle-button-DC2DD7q-.cjs.js.map → icon-toggle-button-Bsj4XLsI.cjs.js.map} +1 -1
  113. package/dist/chunks/{icon-toggle-button-1ZhwPLkv.es.js → icon-toggle-button-CqILSznm.es.js} +2 -2
  114. package/dist/chunks/{icon-toggle-button-1ZhwPLkv.es.js.map → icon-toggle-button-CqILSznm.es.js.map} +1 -1
  115. package/dist/chunks/{index-DhO4Z_an.cjs.js → index-Bx9ez6gh.cjs.js} +5 -5
  116. package/dist/chunks/index-Bx9ez6gh.cjs.js.map +1 -0
  117. package/dist/chunks/{index-D26EXIvZ.es.js → index-DthLdwMN.es.js} +289 -85
  118. package/dist/chunks/index-DthLdwMN.es.js.map +1 -0
  119. package/dist/chunks/{kbd-B-9k-UDU.es.js → kbd-B--GEgRt.es.js} +2 -2
  120. package/dist/chunks/{kbd-B-9k-UDU.es.js.map → kbd-B--GEgRt.es.js.map} +1 -1
  121. package/dist/chunks/{localized-field-BEQbGU6A.cjs.js → localized-field-BqUMaU2Z.cjs.js} +2 -2
  122. package/dist/chunks/{localized-field-BEQbGU6A.cjs.js.map → localized-field-BqUMaU2Z.cjs.js.map} +1 -1
  123. package/dist/chunks/{localized-field-9JF_RJHm.es.js → localized-field-CV69UdIU.es.js} +11 -11
  124. package/dist/chunks/{localized-field-9JF_RJHm.es.js.map → localized-field-CV69UdIU.es.js.map} +1 -1
  125. package/dist/chunks/{menu-Bmph9lXW.es.js → menu-BvZy65zm.es.js} +13 -13
  126. package/dist/chunks/{menu-Bmph9lXW.es.js.map → menu-BvZy65zm.es.js.map} +1 -1
  127. package/dist/chunks/{menu-BGmtow-5.cjs.js → menu-CW4QVk-m.cjs.js} +2 -2
  128. package/dist/chunks/{menu-BGmtow-5.cjs.js.map → menu-CW4QVk-m.cjs.js.map} +1 -1
  129. package/dist/chunks/{money-input-CUR36zLn.cjs.js → money-input-BklJuHw0.cjs.js} +2 -2
  130. package/dist/chunks/{money-input-CUR36zLn.cjs.js.map → money-input-BklJuHw0.cjs.js.map} +1 -1
  131. package/dist/chunks/{money-input-B7wnGMVu.es.js → money-input-CavdTx-o.es.js} +6 -6
  132. package/dist/chunks/{money-input-B7wnGMVu.es.js.map → money-input-CavdTx-o.es.js.map} +1 -1
  133. package/dist/chunks/{multiline-text-input-CkziMMuo.cjs.js → multiline-text-input-4kwHZ5HO.cjs.js} +2 -2
  134. package/dist/chunks/{multiline-text-input-CkziMMuo.cjs.js.map → multiline-text-input-4kwHZ5HO.cjs.js.map} +1 -1
  135. package/dist/chunks/{multiline-text-input-DtDQeO0Q.es.js → multiline-text-input-BrE5zqv5.es.js} +3 -3
  136. package/dist/chunks/{multiline-text-input-DtDQeO0Q.es.js.map → multiline-text-input-BrE5zqv5.es.js.map} +1 -1
  137. package/dist/chunks/{nimbus-provider-B8IUnP0U.cjs.js → nimbus-provider-ChOIcVt6.cjs.js} +2 -2
  138. package/dist/chunks/{nimbus-provider-B8IUnP0U.cjs.js.map → nimbus-provider-ChOIcVt6.cjs.js.map} +1 -1
  139. package/dist/chunks/{nimbus-provider-BOlU4kA1.es.js → nimbus-provider-YB6qmSSk.es.js} +2 -2
  140. package/dist/chunks/{nimbus-provider-BOlU4kA1.es.js.map → nimbus-provider-YB6qmSSk.es.js.map} +1 -1
  141. package/dist/chunks/{number-input-C3zjMkHS.es.js → number-input-Cq95vVse.es.js} +30 -30
  142. package/dist/chunks/{number-input-C3zjMkHS.es.js.map → number-input-Cq95vVse.es.js.map} +1 -1
  143. package/dist/chunks/{number-input-C40q3d4I.cjs.js → number-input-DA_yy5BZ.cjs.js} +2 -2
  144. package/dist/chunks/{number-input-C40q3d4I.cjs.js.map → number-input-DA_yy5BZ.cjs.js.map} +1 -1
  145. package/dist/chunks/{pagination-fMz7HL5l.es.js → pagination-CBrMi7gy.es.js} +5 -5
  146. package/dist/chunks/{pagination-fMz7HL5l.es.js.map → pagination-CBrMi7gy.es.js.map} +1 -1
  147. package/dist/chunks/{pagination-BDx3pJkE.cjs.js → pagination-DUCo0L7g.cjs.js} +2 -2
  148. package/dist/chunks/{pagination-BDx3pJkE.cjs.js.map → pagination-DUCo0L7g.cjs.js.map} +1 -1
  149. package/dist/chunks/{password-input-D94jZSI9.cjs.js → password-input-DMbxYno4.cjs.js} +2 -2
  150. package/dist/chunks/{password-input-D94jZSI9.cjs.js.map → password-input-DMbxYno4.cjs.js.map} +1 -1
  151. package/dist/chunks/{password-input-1KfvAXxj.es.js → password-input-De29PFv6.es.js} +4 -4
  152. package/dist/chunks/{password-input-1KfvAXxj.es.js.map → password-input-De29PFv6.es.js.map} +1 -1
  153. package/dist/chunks/{popover-CiLVE71i.es.js → popover-yeZXM_2G.es.js} +2 -2
  154. package/dist/chunks/{popover-CiLVE71i.es.js.map → popover-yeZXM_2G.es.js.map} +1 -1
  155. package/dist/chunks/{progress-bar-h-SZWJrX.es.js → progress-bar-1XrmZIIp.es.js} +4 -4
  156. package/dist/chunks/{progress-bar-h-SZWJrX.es.js.map → progress-bar-1XrmZIIp.es.js.map} +1 -1
  157. package/dist/chunks/{progress-bar-BHCSpjRr.cjs.js → progress-bar-BBy8IR_W.cjs.js} +2 -2
  158. package/dist/chunks/{progress-bar-BHCSpjRr.cjs.js.map → progress-bar-BBy8IR_W.cjs.js.map} +1 -1
  159. package/dist/chunks/{radio-input-DRHL2tKC.es.js → radio-input-8sawPicQ.es.js} +5 -5
  160. package/dist/chunks/{radio-input-DRHL2tKC.es.js.map → radio-input-8sawPicQ.es.js.map} +1 -1
  161. package/dist/chunks/{radio-input-B0dnF7hm.cjs.js → radio-input-DK5681L5.cjs.js} +2 -2
  162. package/dist/chunks/{radio-input-B0dnF7hm.cjs.js.map → radio-input-DK5681L5.cjs.js.map} +1 -1
  163. package/dist/chunks/{range-calendar-C6yPojX-.es.js → range-calendar-C0InkSSo.es.js} +8 -8
  164. package/dist/chunks/{range-calendar-C6yPojX-.es.js.map → range-calendar-C0InkSSo.es.js.map} +1 -1
  165. package/dist/chunks/{range-calendar-RB6cR7Zf.cjs.js → range-calendar-CrHUTeyY.cjs.js} +2 -2
  166. package/dist/chunks/{range-calendar-RB6cR7Zf.cjs.js.map → range-calendar-CrHUTeyY.cjs.js.map} +1 -1
  167. package/dist/chunks/{rich-text-input-CXNeJFfO.cjs.js → rich-text-input-BygekdK5.cjs.js} +2 -2
  168. package/dist/chunks/{rich-text-input-CXNeJFfO.cjs.js.map → rich-text-input-BygekdK5.cjs.js.map} +1 -1
  169. package/dist/chunks/{rich-text-input-BzOdpZJX.es.js → rich-text-input-CUAI0VeV.es.js} +11 -11
  170. package/dist/chunks/{rich-text-input-BzOdpZJX.es.js.map → rich-text-input-CUAI0VeV.es.js.map} +1 -1
  171. package/dist/chunks/{search-input-C9ne8p91.es.js → search-input-DkFkEdiE.es.js} +43 -43
  172. package/dist/chunks/{search-input-C9ne8p91.es.js.map → search-input-DkFkEdiE.es.js.map} +1 -1
  173. package/dist/chunks/{search-input-Dh6MuIpa.cjs.js → search-input-r6P-vAgp.cjs.js} +2 -2
  174. package/dist/chunks/{search-input-Dh6MuIpa.cjs.js.map → search-input-r6P-vAgp.cjs.js.map} +1 -1
  175. package/dist/chunks/{select-CUjrJRUT.es.js → select-CWttUH5b.es.js} +70 -70
  176. package/dist/chunks/{select-CUjrJRUT.es.js.map → select-CWttUH5b.es.js.map} +1 -1
  177. package/dist/chunks/{select-CwAyhevQ.cjs.js → select-D_HPNSo0.cjs.js} +2 -2
  178. package/dist/chunks/{select-CwAyhevQ.cjs.js.map → select-D_HPNSo0.cjs.js.map} +1 -1
  179. package/dist/chunks/{separator-BbfyHuLb.cjs.js → separator-BBuhLJdN.cjs.js} +2 -2
  180. package/dist/chunks/{separator-BbfyHuLb.cjs.js.map → separator-BBuhLJdN.cjs.js.map} +1 -1
  181. package/dist/chunks/{separator-BoqnKRYR.es.js → separator-D7elp8bN.es.js} +3 -3
  182. package/dist/chunks/{separator-BoqnKRYR.es.js.map → separator-D7elp8bN.es.js.map} +1 -1
  183. package/dist/chunks/{split-button-jG61RIMv.es.js → split-button-Bczcosj2.es.js} +5 -5
  184. package/dist/chunks/{split-button-jG61RIMv.es.js.map → split-button-Bczcosj2.es.js.map} +1 -1
  185. package/dist/chunks/{split-button-C0suLBEJ.cjs.js → split-button-EHp7Svv4.cjs.js} +2 -2
  186. package/dist/chunks/{split-button-C0suLBEJ.cjs.js.map → split-button-EHp7Svv4.cjs.js.map} +1 -1
  187. package/dist/chunks/{switch-C_hXU6lZ.cjs.js → switch-CwJ5OFLP.cjs.js} +2 -2
  188. package/dist/chunks/{switch-C_hXU6lZ.cjs.js.map → switch-CwJ5OFLP.cjs.js.map} +1 -1
  189. package/dist/chunks/{switch-DxdWKUjM.es.js → switch-D_NMKG3Q.es.js} +3 -3
  190. package/dist/chunks/{switch-DxdWKUjM.es.js.map → switch-D_NMKG3Q.es.js.map} +1 -1
  191. package/dist/chunks/{tabs-BIfLcZNC.cjs.js → tabs-Cklmbi45.cjs.js} +2 -2
  192. package/dist/chunks/{tabs-BIfLcZNC.cjs.js.map → tabs-Cklmbi45.cjs.js.map} +1 -1
  193. package/dist/chunks/{tabs-c_3pvA8t.es.js → tabs-UlU9sGFI.es.js} +6 -6
  194. package/dist/chunks/{tabs-c_3pvA8t.es.js.map → tabs-UlU9sGFI.es.js.map} +1 -1
  195. package/dist/chunks/{tag-group-Vypgj2V2.cjs.js → tag-group-Cgs8C7Xc.cjs.js} +2 -2
  196. package/dist/chunks/{tag-group-Vypgj2V2.cjs.js.map → tag-group-Cgs8C7Xc.cjs.js.map} +1 -1
  197. package/dist/chunks/{tag-group-DrHF4Hpe.es.js → tag-group-uIKmx4eU.es.js} +31 -31
  198. package/dist/chunks/{tag-group-DrHF4Hpe.es.js.map → tag-group-uIKmx4eU.es.js.map} +1 -1
  199. package/dist/chunks/{text-hbdb3OKq.es.js → text-BgiP8ZB6.es.js} +2 -2
  200. package/dist/chunks/{text-hbdb3OKq.es.js.map → text-BgiP8ZB6.es.js.map} +1 -1
  201. package/dist/chunks/{text-input-BYpxoT5T.cjs.js → text-input-DHyVy0pg.cjs.js} +2 -2
  202. package/dist/chunks/{text-input-BYpxoT5T.cjs.js.map → text-input-DHyVy0pg.cjs.js.map} +1 -1
  203. package/dist/chunks/{text-input-BIJx8kgm.es.js → text-input-DWJ-CPVR.es.js} +4 -4
  204. package/dist/chunks/{text-input-BIJx8kgm.es.js.map → text-input-DWJ-CPVR.es.js.map} +1 -1
  205. package/dist/chunks/{time-input-BbCVYXM4.es.js → time-input-CwfMLg_y.es.js} +3 -3
  206. package/dist/chunks/{time-input-BbCVYXM4.es.js.map → time-input-CwfMLg_y.es.js.map} +1 -1
  207. package/dist/chunks/{time-input-BCBvliVc.cjs.js → time-input-UNOO6gaq.cjs.js} +2 -2
  208. package/dist/chunks/{time-input-BCBvliVc.cjs.js.map → time-input-UNOO6gaq.cjs.js.map} +1 -1
  209. package/dist/chunks/{toggle-button-u8DA8u8k.cjs.js → toggle-button-BHOVooIy.cjs.js} +2 -2
  210. package/dist/chunks/{toggle-button-u8DA8u8k.cjs.js.map → toggle-button-BHOVooIy.cjs.js.map} +1 -1
  211. package/dist/chunks/{toggle-button-BlyysRNw.es.js → toggle-button-CdJftdD2.es.js} +4 -4
  212. package/dist/chunks/{toggle-button-BlyysRNw.es.js.map → toggle-button-CdJftdD2.es.js.map} +1 -1
  213. package/dist/chunks/{toggle-button-group-B5PFZHXJ.es.js → toggle-button-group-D2eN4VNE.es.js} +2 -2
  214. package/dist/chunks/{toggle-button-group-B5PFZHXJ.es.js.map → toggle-button-group-D2eN4VNE.es.js.map} +1 -1
  215. package/dist/chunks/{toolbar-BJlA8UZl.cjs.js → toolbar-0yDwxKuL.cjs.js} +2 -2
  216. package/dist/chunks/{toolbar-BJlA8UZl.cjs.js.map → toolbar-0yDwxKuL.cjs.js.map} +1 -1
  217. package/dist/chunks/{toolbar-BFUzjQC7.es.js → toolbar-DXDZ5G0Q.es.js} +4 -4
  218. package/dist/chunks/{toolbar-BFUzjQC7.es.js.map → toolbar-DXDZ5G0Q.es.js.map} +1 -1
  219. package/dist/chunks/{tooltip-D0dkVEDQ.es.js → tooltip-CgzrzHZy.es.js} +3 -3
  220. package/dist/chunks/{tooltip-D0dkVEDQ.es.js.map → tooltip-CgzrzHZy.es.js.map} +1 -1
  221. package/dist/chunks/{useListState-Bdz8ihfA.es.js → useListState-wotFHS2D.es.js} +2 -2
  222. package/dist/chunks/{useListState-Bdz8ihfA.es.js.map → useListState-wotFHS2D.es.js.map} +1 -1
  223. package/dist/chunks/{useSingleSelectListState-C0k_6pJ5.es.js → useSingleSelectListState-CYr_aJQU.es.js} +2 -2
  224. package/dist/chunks/{useSingleSelectListState-C0k_6pJ5.es.js.map → useSingleSelectListState-CYr_aJQU.es.js.map} +1 -1
  225. package/dist/chunks/{utils-D5g6AoR2.es.js → utils-Cyja2WdR.es.js} +5 -5
  226. package/dist/chunks/{utils-D5g6AoR2.es.js.map → utils-Cyja2WdR.es.js.map} +1 -1
  227. package/dist/components/accordion.cjs +1 -1
  228. package/dist/components/accordion.es.js +1 -1
  229. package/dist/components/alert.cjs +1 -1
  230. package/dist/components/alert.es.js +1 -1
  231. package/dist/components/button.cjs +1 -1
  232. package/dist/components/button.es.js +1 -1
  233. package/dist/components/calendar.cjs +1 -1
  234. package/dist/components/calendar.es.js +1 -1
  235. package/dist/components/checkbox.cjs +1 -1
  236. package/dist/components/checkbox.es.js +1 -1
  237. package/dist/components/collapsible-motion.cjs +1 -1
  238. package/dist/components/collapsible-motion.es.js +1 -1
  239. package/dist/components/combobox.cjs +1 -1
  240. package/dist/components/combobox.es.js +1 -1
  241. package/dist/components/components.cjs +1 -1
  242. package/dist/components/components.es.js +1 -1
  243. package/dist/components/data-table.cjs +1 -1
  244. package/dist/components/data-table.es.js +1 -1
  245. package/dist/components/date-input.cjs +1 -1
  246. package/dist/components/date-input.es.js +1 -1
  247. package/dist/components/date-picker.cjs +1 -1
  248. package/dist/components/date-picker.es.js +1 -1
  249. package/dist/components/date-range-picker.cjs +1 -1
  250. package/dist/components/date-range-picker.es.js +1 -1
  251. package/dist/components/dialog.cjs +1 -1
  252. package/dist/components/dialog.es.js +1 -1
  253. package/dist/components/drawer.cjs +2 -0
  254. package/dist/components/drawer.cjs.map +1 -0
  255. package/dist/components/drawer.es.js +5 -0
  256. package/dist/components/drawer.es.js.map +1 -0
  257. package/dist/components/form-field.cjs +1 -1
  258. package/dist/components/form-field.es.js +1 -1
  259. package/dist/components/group.es.js +1 -1
  260. package/dist/components/heading.es.js +1 -1
  261. package/dist/components/icon-button.cjs +1 -1
  262. package/dist/components/icon-button.es.js +1 -1
  263. package/dist/components/icon-toggle-button.cjs +1 -1
  264. package/dist/components/icon-toggle-button.es.js +1 -1
  265. package/dist/components/kbd.es.js +1 -1
  266. package/dist/components/localized-field.cjs +1 -1
  267. package/dist/components/localized-field.es.js +1 -1
  268. package/dist/components/money-input.cjs +1 -1
  269. package/dist/components/money-input.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.cjs +1 -1
  275. package/dist/components/number-input.es.js +1 -1
  276. package/dist/components/pagination.cjs +1 -1
  277. package/dist/components/pagination.es.js +1 -1
  278. package/dist/components/password-input.cjs +1 -1
  279. package/dist/components/password-input.es.js +1 -1
  280. package/dist/components/popover.es.js +1 -1
  281. package/dist/components/progress-bar.cjs +1 -1
  282. package/dist/components/progress-bar.es.js +1 -1
  283. package/dist/components/radio-input.cjs +1 -1
  284. package/dist/components/radio-input.es.js +1 -1
  285. package/dist/components/range-calendar.cjs +1 -1
  286. package/dist/components/range-calendar.es.js +1 -1
  287. package/dist/components/rich-text-input.cjs +1 -1
  288. package/dist/components/rich-text-input.es.js +1 -1
  289. package/dist/components/scoped-search-input.cjs +1 -1
  290. package/dist/components/scoped-search-input.es.js +4 -4
  291. package/dist/components/search-input.cjs +1 -1
  292. package/dist/components/search-input.es.js +1 -1
  293. package/dist/components/select.cjs +1 -1
  294. package/dist/components/select.es.js +1 -1
  295. package/dist/components/separator.cjs +1 -1
  296. package/dist/components/separator.es.js +1 -1
  297. package/dist/components/split-button.cjs +1 -1
  298. package/dist/components/split-button.es.js +1 -1
  299. package/dist/components/switch.cjs +1 -1
  300. package/dist/components/switch.es.js +1 -1
  301. package/dist/components/tabs.cjs +1 -1
  302. package/dist/components/tabs.es.js +1 -1
  303. package/dist/components/tag-group.cjs +1 -1
  304. package/dist/components/tag-group.es.js +1 -1
  305. package/dist/components/text-input.cjs +1 -1
  306. package/dist/components/text-input.es.js +1 -1
  307. package/dist/components/text.es.js +1 -1
  308. package/dist/components/time-input.cjs +1 -1
  309. package/dist/components/time-input.es.js +1 -1
  310. package/dist/components/toggle-button-group.es.js +1 -1
  311. package/dist/components/toggle-button.cjs +1 -1
  312. package/dist/components/toggle-button.es.js +1 -1
  313. package/dist/components/toolbar.cjs +1 -1
  314. package/dist/components/toolbar.es.js +1 -1
  315. package/dist/components/tooltip.es.js +1 -1
  316. package/dist/dialog.d.ts +1 -1
  317. package/dist/drawer.d.ts +577 -0
  318. package/dist/index.cjs +1 -1
  319. package/dist/index.cjs.map +1 -1
  320. package/dist/index.es.js +56 -54
  321. package/dist/index.es.js.map +1 -1
  322. package/package.json +5 -5
  323. package/dist/chunks/dialog-BypIffa5.cjs.js.map +0 -1
  324. package/dist/chunks/dialog-DeZMe0yJ.es.js.map +0 -1
  325. package/dist/chunks/dialog.title-BmS1MORJ.es.js +0 -341
  326. package/dist/chunks/dialog.title-BmS1MORJ.es.js.map +0 -1
  327. package/dist/chunks/dialog.title-CsuOBAm8.cjs.js +0 -2
  328. package/dist/chunks/dialog.title-CsuOBAm8.cjs.js.map +0 -1
  329. package/dist/chunks/index-D26EXIvZ.es.js.map +0 -1
  330. package/dist/chunks/index-DhO4Z_an.cjs.js.map +0 -1
@@ -1,341 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import u, { useState as U, useEffect as C, forwardRef as R, useContext as h, createContext as b, useRef as j, useMemo as K } from "react";
3
- import { m as k, n as W, o as q, p as G, b as x, q as J, r as Q, e as X, a as Y } from "./Dialog-CWqCOpjC.es.js";
4
- import { createSlotRecipeContext as Z, useSlotRecipe as ee, chakra as te } from "@chakra-ui/react/styled-system";
5
- import { a as ie } from "./Button-BvIjIGsV.es.js";
6
- import { e as P } from "./extractStyleProps-DikjPnnl.es.js";
7
- import { $ as ne, g as oe, a as S, d as ae } from "./utils-D5g6AoR2.es.js";
8
- import { a as D } from "./mergeProps-CzyOU2NE.es.js";
9
- import { $ as T } from "./filterDOMProps-BSVCO5jK.es.js";
10
- import { $ as N } from "./useObjectRef-CaJ5pgjX.es.js";
11
- import { $ as re } from "./scrollIntoView-1q6VTK8J.es.js";
12
- import { j as v } from "./SelectionManager-CRACdKnk.es.js";
13
- import { $ as M } from "./SSRProvider-Cu8KibIK.es.js";
14
- import { $ as se, c as y, e as B } from "./OverlayArrow-CTv6jme7.es.js";
15
- import { Close as le } from "@commercetools/nimbus-icons";
16
- import { defineMessages as de, useIntl as ce } from "react-intl";
17
- import { I as fe } from "./icon-button-CbjASJ_F.es.js";
18
- import { n as ge } from "./index-D26EXIvZ.es.js";
19
- import { H as ue } from "./heading-DpAKPw0U.es.js";
20
- let f = typeof document < "u" && window.visualViewport;
21
- function me() {
22
- let t = M(), [e, i] = U(() => t ? {
23
- width: 0,
24
- height: 0
25
- } : O());
26
- return C(() => {
27
- let n = () => {
28
- f && f.scale > 1 || i((l) => {
29
- let a = O();
30
- return a.width === l.width && a.height === l.height ? l : a;
31
- });
32
- }, o, s = (l) => {
33
- f && f.scale > 1 || v(l.target) && (o = requestAnimationFrame(() => {
34
- (!document.activeElement || !v(document.activeElement)) && i((a) => {
35
- let d = {
36
- width: window.innerWidth,
37
- height: window.innerHeight
38
- };
39
- return d.width === a.width && d.height === a.height ? a : d;
40
- });
41
- }));
42
- };
43
- return window.addEventListener("blur", s, !0), f ? f.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
44
- cancelAnimationFrame(o), window.removeEventListener("blur", s, !0), f ? f.removeEventListener("resize", n) : window.removeEventListener("resize", n);
45
- };
46
- }, []), e;
47
- }
48
- function O() {
49
- return {
50
- // Multiply by the visualViewport scale to get the "natural" size, unaffected by pinch zooming.
51
- width: f ? f.width * f.scale : window.innerWidth,
52
- height: f ? f.height * f.scale : window.innerHeight
53
- };
54
- }
55
- function $e(t, e, i) {
56
- let { overlayProps: n, underlayProps: o } = k({
57
- ...t,
58
- isOpen: e.isOpen,
59
- onClose: e.close
60
- }, i);
61
- return W({
62
- isDisabled: !e.isOpen
63
- }), q(), C(() => {
64
- if (e.isOpen && i.current) return G([
65
- i.current
66
- ], {
67
- shouldUseInert: !0
68
- });
69
- }, [
70
- e.isOpen,
71
- i
72
- ]), {
73
- modalProps: D(n),
74
- underlayProps: o
75
- };
76
- }
77
- const he = /* @__PURE__ */ b(null), E = /* @__PURE__ */ b(null), pe = /* @__PURE__ */ R(function(e, i) {
78
- if (h(E)) {
79
- if (process.env.NODE_ENV !== "production" && (e.onOpenChange || e.defaultOpen !== void 0 || e.isOpen !== void 0)) {
80
- const z = /* @__PURE__ */ new Set([
81
- "isDismissable",
82
- "isKeyboardDismissDisabled",
83
- "isOpen",
84
- "defaultOpen",
85
- "onOpenChange",
86
- "isEntering",
87
- "isExiting",
88
- "UNSTABLE_portalContainer",
89
- "shouldCloseOnInteractOutside"
90
- ]), V = Object.keys(e).filter((F) => z.has(F));
91
- console.warn(`This modal is already wrapped in a ModalOverlay, props [${V.join(", ")}] should be placed on the ModalOverlay instead.`);
92
- }
93
- return /* @__PURE__ */ u.createElement(w, {
94
- ...e,
95
- modalRef: i
96
- }, e.children);
97
- }
98
- let { isDismissable: o, isKeyboardDismissDisabled: s, isOpen: l, defaultOpen: a, onOpenChange: d, children: c, isEntering: g, isExiting: m, UNSTABLE_portalContainer: p, shouldCloseOnInteractOutside: _, ...A } = e;
99
- return /* @__PURE__ */ u.createElement(I, {
100
- isDismissable: o,
101
- isKeyboardDismissDisabled: s,
102
- isOpen: l,
103
- defaultOpen: a,
104
- onOpenChange: d,
105
- isEntering: g,
106
- isExiting: m,
107
- UNSTABLE_portalContainer: p,
108
- shouldCloseOnInteractOutside: _
109
- }, /* @__PURE__ */ u.createElement(w, {
110
- ...A,
111
- modalRef: i
112
- }, c));
113
- });
114
- function be(t, e) {
115
- [t, e] = ne(t, e, he);
116
- let i = h(x), n = se(t), o = t.isOpen != null || t.defaultOpen != null || !i ? n : i;
117
- o === i && process.env.NODE_ENV !== "production" && (t.onOpenChange || t.defaultOpen !== void 0 || t.isOpen !== void 0) && console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");
118
- let s = N(e), l = j(null), a = y(s, o.isOpen), d = y(l, o.isOpen), c = a || d || t.isExiting || !1, g = M();
119
- return !o.isOpen && !c || g ? null : /* @__PURE__ */ u.createElement(xe, {
120
- ...t,
121
- state: o,
122
- isExiting: c,
123
- overlayRef: s,
124
- modalRef: l
125
- });
126
- }
127
- const I = /* @__PURE__ */ R(be);
128
- function xe({ UNSTABLE_portalContainer: t, ...e }) {
129
- let i = e.modalRef, { state: n } = e, { modalProps: o, underlayProps: s } = $e(e, n, i), l = B(e.overlayRef) || e.isEntering || !1, a = S({
130
- ...e,
131
- defaultClassName: "react-aria-ModalOverlay",
132
- values: {
133
- isEntering: l,
134
- isExiting: e.isExiting,
135
- state: n
136
- }
137
- }), d = me(), c;
138
- if (typeof document < "u") {
139
- let m = re(document.body) ? document.body : document.scrollingElement || document.documentElement, p = m.getBoundingClientRect().height % 1;
140
- c = m.scrollHeight - p;
141
- }
142
- let g = {
143
- ...a.style,
144
- "--visual-viewport-height": d.height + "px",
145
- "--page-height": c !== void 0 ? c + "px" : void 0
146
- };
147
- return /* @__PURE__ */ u.createElement(Q, {
148
- isExiting: e.isExiting,
149
- portalContainer: t
150
- }, /* @__PURE__ */ u.createElement("div", {
151
- ...D(T(e, {
152
- global: !0
153
- }), s),
154
- ...a,
155
- style: g,
156
- ref: e.overlayRef,
157
- "data-entering": l || void 0,
158
- "data-exiting": e.isExiting || void 0
159
- }, /* @__PURE__ */ u.createElement(ae, {
160
- values: [
161
- [
162
- E,
163
- {
164
- modalProps: o,
165
- modalRef: i,
166
- isExiting: e.isExiting,
167
- isDismissable: e.isDismissable
168
- }
169
- ],
170
- [
171
- x,
172
- n
173
- ]
174
- ]
175
- }, a.children)));
176
- }
177
- function w(t) {
178
- let { modalProps: e, modalRef: i, isExiting: n, isDismissable: o } = h(E), s = h(x), l = K(() => oe(t.modalRef, i), [
179
- t.modalRef,
180
- i
181
- ]), a = N(l), d = B(a), c = S({
182
- ...t,
183
- defaultClassName: "react-aria-Modal",
184
- values: {
185
- isEntering: d,
186
- isExiting: n,
187
- state: s
188
- }
189
- });
190
- return /* @__PURE__ */ u.createElement("div", {
191
- ...D(T(t, {
192
- global: !0
193
- }), e),
194
- ...c,
195
- ref: a,
196
- "data-entering": d || void 0,
197
- "data-exiting": n || void 0
198
- }, o && /* @__PURE__ */ u.createElement(J, {
199
- onDismiss: s.close
200
- }), c.children);
201
- }
202
- const { withProvider: De, withContext: $ } = /* @__PURE__ */ Z({
203
- recipe: ge
204
- }), Ee = /* @__PURE__ */ De(
205
- "div",
206
- "root"
207
- ), ve = /* @__PURE__ */ $("button", "trigger"), ye = /* @__PURE__ */ $("div", "modalOverlay"), Oe = /* @__PURE__ */ $("div", "modal"), we = /* @__PURE__ */ $("div", "content"), Ce = /* @__PURE__ */ $(
208
- "header",
209
- "header"
210
- ), Re = /* @__PURE__ */ $(
211
- "div",
212
- "body"
213
- ), Pe = /* @__PURE__ */ $(
214
- "footer",
215
- "footer"
216
- ), Se = /* @__PURE__ */ $("h2", "title"), Te = /* @__PURE__ */ $("div", "closeTrigger"), L = /* @__PURE__ */ b(
217
- void 0
218
- ), H = () => {
219
- const t = h(L);
220
- if (!t)
221
- throw new Error("useDialogContext must be used within Dialog.Root");
222
- return t;
223
- }, Ne = ({
224
- children: t,
225
- value: e
226
- }) => /* @__PURE__ */ r(L, { value: e, children: t }), Me = function(e) {
227
- const i = ee({ key: "dialog" }), [n] = i.splitVariantProps(e), { children: o, isOpen: s, onOpenChange: l, defaultOpen: a = !1 } = e, d = /* @__PURE__ */ r(Ee, { ...n, children: o }), c = u.Children.toArray(o).some((g) => {
228
- if (u.isValidElement(g) && typeof g.type == "function") {
229
- const m = g.type?.displayName;
230
- return m === "DialogTrigger" || m === "Dialog.Trigger";
231
- }
232
- return !1;
233
- });
234
- return /* @__PURE__ */ r(Ne, { value: e, children: c ? (
235
- // When there's a Dialog.Trigger, use DialogTrigger for React Aria integration
236
- /* @__PURE__ */ r(
237
- X,
238
- {
239
- isOpen: s,
240
- onOpenChange: l,
241
- defaultOpen: a,
242
- children: d
243
- }
244
- )
245
- ) : (
246
- // When no Dialog.Trigger, skip using RaDialogTrigger to avoid console.warning's
247
- d
248
- ) });
249
- };
250
- Me.displayName = "Dialog.Root";
251
- const Be = ({
252
- ref: t,
253
- children: e,
254
- asChild: i,
255
- ...n
256
- }) => {
257
- if (i)
258
- return /* @__PURE__ */ r(te.button, { ref: t, asChild: !0, ...n, children: e });
259
- const [o, s] = P(n);
260
- return /* @__PURE__ */ r(ve, { ...o, asChild: !0, children: /* @__PURE__ */ r(ie, { ref: t, ...s, children: e }) });
261
- };
262
- Be.displayName = "Dialog.Trigger";
263
- const Ie = (t) => {
264
- const { ref: e, children: i, ...n } = t, {
265
- defaultOpen: o,
266
- isDismissable: s,
267
- isKeyboardDismissDisabled: l,
268
- shouldCloseOnInteractOutside: a,
269
- isOpen: d,
270
- onOpenChange: c
271
- } = H(), g = {
272
- defaultOpen: o,
273
- isDismissable: s,
274
- isKeyboardDismissDisabled: l,
275
- shouldCloseOnInteractOutside: a,
276
- isOpen: d,
277
- onOpenChange: c
278
- }, [m] = P(n);
279
- return /* @__PURE__ */ r(ye, { asChild: !0, children: /* @__PURE__ */ r(I, { ...g, children: /* @__PURE__ */ r(Oe, { asChild: !0, children: /* @__PURE__ */ r(pe, { children: /* @__PURE__ */ r(we, { asChild: !0, ...m, children: /* @__PURE__ */ r(Y, { ref: e, children: i }) }) }) }) }) });
280
- };
281
- Ie.displayName = "Dialog.Content";
282
- const Le = (t) => {
283
- const { ref: e, children: i, ...n } = t;
284
- return /* @__PURE__ */ r(Ce, { ref: e, ...n, children: i });
285
- };
286
- Le.displayName = "Dialog.Header";
287
- const He = (t) => {
288
- const { ref: e, children: i, ...n } = t, { scrollBehavior: o } = H();
289
- return /* @__PURE__ */ r(Re, { ref: e, ...{
290
- /**
291
- * if scrollBehavior is set to "inside", set tabIndex to 0 to allow the body to
292
- * receive focus, effectively enabling scrolling via keyboard
293
- * arrow keys.
294
- */
295
- tabIndex: o === "inside" ? 0 : void 0
296
- }, ...n, children: i });
297
- };
298
- He.displayName = "Dialog.Body";
299
- const _e = (t) => {
300
- const { ref: e, children: i, ...n } = t;
301
- return /* @__PURE__ */ r(Pe, { ref: e, ...n, children: i });
302
- };
303
- _e.displayName = "Dialog.Footer";
304
- const Ae = /* @__PURE__ */ de({
305
- closeTrigger: {
306
- id: "Nimbus.Dialog.closeTrigger",
307
- description: "aria-label for the default close trigger button",
308
- defaultMessage: "Close dialog"
309
- }
310
- }), ze = (t) => {
311
- const { ref: e, "aria-label": i, ...n } = t, o = ce();
312
- return /* @__PURE__ */ r(Te, { children: /* @__PURE__ */ r(
313
- fe,
314
- {
315
- ref: e,
316
- slot: "close",
317
- size: "xs",
318
- variant: "ghost",
319
- "aria-label": i || o.formatMessage(Ae.closeTrigger),
320
- ...n,
321
- children: /* @__PURE__ */ r(le, {})
322
- }
323
- ) });
324
- };
325
- ze.displayName = "Dialog.CloseTrigger";
326
- const Ve = (t) => {
327
- const { ref: e, children: i, ...n } = t;
328
- return /* @__PURE__ */ r(Se, { asChild: !0, ...n, children: /* @__PURE__ */ r(ue, { ref: e, slot: "title", as: "h2", textStyle: "lg", children: i }) });
329
- };
330
- Ve.displayName = "Dialog.Title";
331
- export {
332
- Me as D,
333
- Be as a,
334
- Ie as b,
335
- Le as c,
336
- He as d,
337
- _e as e,
338
- Ve as f,
339
- ze as g
340
- };
341
- //# sourceMappingURL=dialog.title-BmS1MORJ.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.title-BmS1MORJ.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useViewportSize.mjs","../../../../node_modules/.pnpm/@react-aria+overlays@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModalOverlay.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Modal.mjs","../../src/components/dialog/dialog.slots.tsx","../../src/components/dialog/components/dialog.context.tsx","../../src/components/dialog/components/dialog.root.tsx","../../src/components/dialog/components/dialog.trigger.tsx","../../src/components/dialog/components/dialog.content.tsx","../../src/components/dialog/components/dialog.header.tsx","../../src/components/dialog/components/dialog.body.tsx","../../src/components/dialog/components/dialog.footer.tsx","../../src/components/dialog/dialog.i18n.ts","../../src/components/dialog/components/dialog.close-trigger.tsx","../../src/components/dialog/components/dialog.title.tsx"],"sourcesContent":["import {willOpenKeyboard as $21f1aa98acb08317$export$c57958e35f31ed73} from \"./keyboard.mjs\";\nimport {useState as $fuDHA$useState, useEffect as $fuDHA$useEffect} from \"react\";\nimport {useIsSSR as $fuDHA$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nlet $5df64b3807dc15ee$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\nfunction $5df64b3807dc15ee$export$d699905dd57c73ca() {\n let isSSR = (0, $fuDHA$useIsSSR)();\n let [size, setSize] = (0, $fuDHA$useState)(()=>isSSR ? {\n width: 0,\n height: 0\n } : $5df64b3807dc15ee$var$getViewportSize());\n (0, $fuDHA$useEffect)(()=>{\n // Use visualViewport api to track available height even on iOS virtual keyboard opening\n let onResize = ()=>{\n // Ignore updates when zoomed.\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n setSize((size)=>{\n let newSize = $5df64b3807dc15ee$var$getViewportSize();\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n };\n // When closing the keyboard, iOS does not fire the visual viewport resize event until the animation is complete.\n // We can anticipate this and resize early by handling the blur event and using the layout size.\n let frame;\n let onBlur = (e)=>{\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n if ((0, $21f1aa98acb08317$export$c57958e35f31ed73)(e.target)) // Wait one frame to see if a new element gets focused.\n frame = requestAnimationFrame(()=>{\n if (!document.activeElement || !(0, $21f1aa98acb08317$export$c57958e35f31ed73)(document.activeElement)) setSize((size)=>{\n let newSize = {\n width: window.innerWidth,\n height: window.innerHeight\n };\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n });\n };\n window.addEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.addEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.addEventListener('resize', onResize);\n return ()=>{\n cancelAnimationFrame(frame);\n window.removeEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.removeEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.removeEventListener('resize', onResize);\n };\n }, []);\n return size;\n}\nfunction $5df64b3807dc15ee$var$getViewportSize() {\n return {\n // Multiply by the visualViewport scale to get the \"natural\" size, unaffected by pinch zooming.\n width: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.width * $5df64b3807dc15ee$var$visualViewport.scale : window.innerWidth,\n height: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.height * $5df64b3807dc15ee$var$visualViewport.scale : window.innerHeight\n };\n}\n\n\nexport {$5df64b3807dc15ee$export$d699905dd57c73ca as useViewportSize};\n//# sourceMappingURL=useViewportSize.module.js.map\n","import {ariaHideOutside as $5e3802645cc19319$export$1c3ebcada18427bf} from \"./ariaHideOutside.mjs\";\nimport {useOverlay as $a11501f3d1d39e6c$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {useOverlayFocusContain as $337b884510726a0d$export$14c98a7594375490} from \"./Overlay.mjs\";\nimport {usePreventScroll as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {mergeProps as $7Dhkr$mergeProps} from \"@react-aria/utils\";\nimport {useEffect as $7Dhkr$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $a11501f3d1d39e6c$export$ea8f71083e90600f)({\n ...props,\n isOpen: state.isOpen,\n onClose: state.close\n }, ref);\n (0, $49c51c25361d4cd2$export$ee0f7cc6afcd1c18)({\n isDisabled: !state.isOpen\n });\n (0, $337b884510726a0d$export$14c98a7594375490)();\n (0, $7Dhkr$useEffect)(()=>{\n if (state.isOpen && ref.current) return (0, $5e3802645cc19319$export$1c3ebcada18427bf)([\n ref.current\n ], {\n shouldUseInert: true\n });\n }, [\n state.isOpen,\n ref\n ]);\n return {\n modalProps: (0, $7Dhkr$mergeProps)(overlayProps),\n underlayProps: underlayProps\n };\n}\n\n\nexport {$8ac8429251c45e4b$export$dbc0f175b25fb0fb as useModalOverlay};\n//# sourceMappingURL=useModalOverlay.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {useIsSSR as $daTMi$useIsSSR, useModalOverlay as $daTMi$useModalOverlay, Overlay as $daTMi$Overlay, DismissButton as $daTMi$DismissButton} from \"react-aria\";\nimport {useObjectRef as $daTMi$useObjectRef, useExitAnimation as $daTMi$useExitAnimation, useEnterAnimation as $daTMi$useEnterAnimation, useViewportSize as $daTMi$useViewportSize, isScrollable as $daTMi$isScrollable, mergeProps as $daTMi$mergeProps, filterDOMProps as $daTMi$filterDOMProps, mergeRefs as $daTMi$mergeRefs} from \"@react-aria/utils\";\nimport {useOverlayTriggerState as $daTMi$useOverlayTriggerState} from \"react-stately\";\nimport $daTMi$react, {createContext as $daTMi$createContext, forwardRef as $daTMi$forwardRef, useContext as $daTMi$useContext, useRef as $daTMi$useRef, useMemo as $daTMi$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nconst $f3f84453ead64de5$export$ab57792b9b6974a6 = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$var$InternalModalContext = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $daTMi$forwardRef)(function Modal(props, ref) {\n let ctx = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n if (ctx) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) {\n // create a list of props that are passed in but not allowed when using an external ModalOverlay\n const invalidSet = new Set([\n 'isDismissable',\n 'isKeyboardDismissDisabled',\n 'isOpen',\n 'defaultOpen',\n 'onOpenChange',\n 'isEntering',\n 'isExiting',\n 'UNSTABLE_portalContainer',\n 'shouldCloseOnInteractOutside'\n ]);\n const invalidProps = Object.keys(props).filter((key)=>invalidSet.has(key));\n console.warn(`This modal is already wrapped in a ModalOverlay, props [${invalidProps.join(', ')}] should be placed on the ModalOverlay instead.`);\n }\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...props,\n modalRef: ref\n }, props.children);\n }\n let { isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isOpen: isOpen, defaultOpen: defaultOpen, onOpenChange: onOpenChange, children: children, isEntering: isEntering, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$export$8948f78d83984c69, {\n isDismissable: isDismissable,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n isOpen: isOpen,\n defaultOpen: defaultOpen,\n onOpenChange: onOpenChange,\n isEntering: isEntering,\n isExiting: isExiting,\n UNSTABLE_portalContainer: UNSTABLE_portalContainer,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...otherProps,\n modalRef: ref\n }, children));\n});\nfunction $f3f84453ead64de5$var$ModalOverlayWithForwardRef(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $f3f84453ead64de5$export$ab57792b9b6974a6);\n let contextState = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let localState = (0, $daTMi$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n if (state === contextState) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) console.warn('This modals state is controlled by a trigger, place onOpenChange on the trigger instead.');\n }\n let objectRef = (0, $daTMi$useObjectRef)(ref);\n let modalRef = (0, $daTMi$useRef)(null);\n let isOverlayExiting = (0, $daTMi$useExitAnimation)(objectRef, state.isOpen);\n let isModalExiting = (0, $daTMi$useExitAnimation)(modalRef, state.isOpen);\n let isExiting = isOverlayExiting || isModalExiting || props.isExiting || false;\n let isSSR = (0, $daTMi$useIsSSR)();\n if (!state.isOpen && !isExiting || isSSR) return null;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalOverlayInner, {\n ...props,\n state: state,\n isExiting: isExiting,\n overlayRef: objectRef,\n modalRef: modalRef\n });\n}\nconst $f3f84453ead64de5$export$8948f78d83984c69 = /*#__PURE__*/ (0, $daTMi$forwardRef)($f3f84453ead64de5$var$ModalOverlayWithForwardRef);\nfunction $f3f84453ead64de5$var$ModalOverlayInner({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }) {\n let modalRef = props.modalRef;\n let { state: state } = props;\n let { modalProps: modalProps, underlayProps: underlayProps } = (0, $daTMi$useModalOverlay)(props, state, modalRef);\n let entering = (0, $daTMi$useEnterAnimation)(props.overlayRef) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ModalOverlay',\n values: {\n isEntering: entering,\n isExiting: props.isExiting,\n state: state\n }\n });\n let viewport = (0, $daTMi$useViewportSize)();\n let pageHeight = undefined;\n if (typeof document !== 'undefined') {\n let scrollingElement = (0, $daTMi$isScrollable)(document.body) ? document.body : document.scrollingElement || document.documentElement;\n // Prevent Firefox from adding scrollbars when the page has a fractional height.\n let fractionalHeightDifference = scrollingElement.getBoundingClientRect().height % 1;\n pageHeight = scrollingElement.scrollHeight - fractionalHeightDifference;\n }\n let style = {\n ...renderProps.style,\n '--visual-viewport-height': viewport.height + 'px',\n '--page-height': pageHeight !== undefined ? pageHeight + 'px' : undefined\n };\n return /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$Overlay), {\n isExiting: props.isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), underlayProps),\n ...renderProps,\n style: style,\n ref: props.overlayRef,\n \"data-entering\": entering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $daTMi$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $f3f84453ead64de5$var$InternalModalContext,\n {\n modalProps: modalProps,\n modalRef: modalRef,\n isExiting: props.isExiting,\n isDismissable: props.isDismissable\n }\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ]\n ]\n }, renderProps.children)));\n}\nfunction $f3f84453ead64de5$var$ModalContent(props) {\n let { modalProps: modalProps, modalRef: modalRef, isExiting: isExiting, isDismissable: isDismissable } = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n let state = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let mergedRefs = (0, $daTMi$useMemo)(()=>(0, $daTMi$mergeRefs)(props.modalRef, modalRef), [\n props.modalRef,\n modalRef\n ]);\n let ref = (0, $daTMi$useObjectRef)(mergedRefs);\n let entering = (0, $daTMi$useEnterAnimation)(ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Modal',\n values: {\n isEntering: entering,\n isExiting: isExiting,\n state: state\n }\n });\n return /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), modalProps),\n ...renderProps,\n ref: ref,\n \"data-entering\": entering || undefined,\n \"data-exiting\": isExiting || undefined\n }, isDismissable && /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$DismissButton), {\n onDismiss: state.close\n }), renderProps.children);\n}\n\n\nexport {$f3f84453ead64de5$export$ab57792b9b6974a6 as ModalContext, $f3f84453ead64de5$export$2b77a92f1a5ad772 as Modal, $f3f84453ead64de5$export$8948f78d83984c69 as ModalOverlay};\n//# sourceMappingURL=Modal.module.js.map\n","import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { dialogSlotRecipe } from \"./dialog.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: dialogSlotRecipe,\n});\n\n// Root slot - provides recipe context + config to all child components\nexport type DialogRootSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogRootSlot = withProvider<HTMLDivElement, DialogRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger slot - button that opens the dialog\nexport type DialogTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const DialogTriggerSlot = withContext<\n HTMLButtonElement,\n DialogTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Backdrop slot - overlay displayed behind the dialog\nexport type DialogModalOverlaySlotProps = HTMLChakraProps<\"div\">;\nexport const DialogModalOverlaySlot = withContext<\n HTMLDivElement,\n DialogModalOverlaySlotProps\n>(\"div\", \"modalOverlay\");\n\n// modal slot - positions the dialog content\nexport type DialogModalSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogModalSlot = withContext<\n HTMLDivElement,\n DialogModalSlotProps\n>(\"div\", \"modal\");\n\n// Content slot - main dialog container\nexport type DialogContentSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogContentSlot = withContext<\n HTMLDivElement,\n DialogContentSlotProps\n>(\"div\", \"content\");\n\n// Header slot - dialog header section\nexport type DialogHeaderSlotProps = HTMLChakraProps<\"header\">;\nexport const DialogHeaderSlot = withContext<HTMLElement, DialogHeaderSlotProps>(\n \"header\",\n \"header\"\n);\n\n// Body slot - dialog body content\nexport type DialogBodySlotProps = HTMLChakraProps<\"div\">;\nexport const DialogBodySlot = withContext<HTMLDivElement, DialogBodySlotProps>(\n \"div\",\n \"body\"\n);\n\n// Footer slot - dialog footer section with actions\nexport type DialogFooterSlotProps = HTMLChakraProps<\"footer\">;\nexport const DialogFooterSlot = withContext<HTMLElement, DialogFooterSlotProps>(\n \"footer\",\n \"footer\"\n);\n\n// Title slot - accessible dialog title\nexport type DialogTitleSlotProps = HTMLChakraProps<\"h2\">;\nexport const DialogTitleSlot = withContext<\n HTMLHeadingElement,\n DialogTitleSlotProps\n>(\"h2\", \"title\");\n\n// Close trigger slot - div container for positioning close button\nexport type DialogCloseTriggerSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogCloseTriggerSlot = withContext<\n HTMLDivElement,\n DialogCloseTriggerSlotProps\n>(\"div\", \"closeTrigger\");\n","import { createContext, useContext } from \"react\";\nimport type { DialogRootProps } from \"../dialog.types\";\n\n/**\n * Context value containing dialog configuration passed from Root to child components\n */\nexport type DialogContextValue = DialogRootProps;\n\nexport const DialogContext = createContext<DialogContextValue | undefined>(\n undefined\n);\n\n/**\n * Hook to access dialog configuration from DialogContext\n * @returns Dialog configuration from context\n * @throws Error if used outside of Dialog.Root\n */\nexport const useDialogRootContext = (): DialogContextValue => {\n const context = useContext(DialogContext);\n if (!context) {\n throw new Error(\"useDialogContext must be used within Dialog.Root\");\n }\n return context;\n};\n\n/**\n * Provider component that passes dialog configuration down to child components\n */\nexport const DialogProvider = ({\n children,\n value,\n}: {\n children: React.ReactNode;\n value: DialogContextValue;\n}) => {\n return <DialogContext value={value}>{children}</DialogContext>;\n};\n","import React from \"react\";\nimport { DialogTrigger as RaDialogTrigger } from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { DialogRootSlot } from \"../dialog.slots\";\nimport type { DialogRootProps } from \"../dialog.types\";\nimport { DialogProvider } from \"./dialog.context\";\n\nexport const DialogRoot = function DialogRoot(props: DialogRootProps) {\n const recipe = useSlotRecipe({ key: \"dialog\" });\n // Extract recipe props\n const [recipeProps] = recipe.splitVariantProps(props);\n // Extract props that are usable on RaDialogTrigger\n const { children, isOpen, onOpenChange, defaultOpen = false } = props;\n\n const content = <DialogRootSlot {...recipeProps}>{children}</DialogRootSlot>;\n\n // Check if any direct child is a Dialog.Trigger component\n // React Aria's DialogTrigger needs a pressable child, so we only use it when there's a trigger\n const hasDialogTrigger = React.Children.toArray(children).some((child) => {\n if (React.isValidElement(child) && typeof child.type === \"function\") {\n const displayName = (\n child.type as React.ComponentType & { displayName?: string }\n )?.displayName;\n return (\n displayName === \"DialogTrigger\" || displayName === \"Dialog.Trigger\"\n );\n }\n return false;\n });\n\n // Share all props (config + variant props) with the Dialog subcomponents\n return (\n <DialogProvider value={props}>\n {hasDialogTrigger ? (\n // When there's a Dialog.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Dialog.Trigger, skip using RaDialogTrigger to avoid console.warning's\n content\n )}\n </DialogProvider>\n );\n};\n\nDialogRoot.displayName = \"Dialog.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DialogTriggerSlot } from \"../dialog.slots\";\nimport type { DialogTriggerProps } from \"../dialog.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\nexport const DialogTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DialogTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DialogTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DialogTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DialogTriggerSlot>\n );\n};\n\nDialogTrigger.displayName = \"Dialog.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DialogModalOverlaySlot,\n DialogModalSlot,\n DialogContentSlot,\n} from \"../dialog.slots\";\nimport type { DialogContentProps } from \"../dialog.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useDialogRootContext } from \"./dialog.context\";\n\nexport const DialogContent = (props: DialogContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get recipe configuration from context instead of props\n const {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n } = useDialogRootContext();\n\n const modalProps = {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n };\n\n const [styleProps] = extractStyleProps(restProps);\n\n return (\n <DialogModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DialogModalSlot asChild>\n <RaModal>\n <DialogContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef}>{children}</RaDialog>\n </DialogContentSlot>\n </RaModal>\n </DialogModalSlot>\n </RaModalOverlay>\n </DialogModalOverlaySlot>\n );\n};\n\nDialogContent.displayName = \"Dialog.Content\";\n","import { DialogHeaderSlot } from \"../dialog.slots\";\nimport type { DialogHeaderProps } from \"../dialog.types\";\n\nexport const DialogHeader = (props: DialogHeaderProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DialogHeaderSlot ref={forwardedRef} {...restProps}>\n {children}\n </DialogHeaderSlot>\n );\n};\n\nDialogHeader.displayName = \"Dialog.Header\";\n","import { DialogBodySlot } from \"../dialog.slots\";\nimport type { DialogBodyProps } from \"../dialog.types\";\nimport { useDialogRootContext } from \"./dialog.context\";\n\nexport const DialogBody = (props: DialogBodyProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n const { scrollBehavior } = useDialogRootContext();\n\n const defaultProps = {\n /**\n * if scrollBehavior is set to \"inside\", set tabIndex to 0 to allow the body to\n * receive focus, effectively enabling scrolling via keyboard\n * arrow keys.\n */\n tabIndex: scrollBehavior === \"inside\" ? 0 : undefined,\n };\n\n return (\n <DialogBodySlot ref={forwardedRef} {...defaultProps} {...restProps}>\n {children}\n </DialogBodySlot>\n );\n};\n\nDialogBody.displayName = \"Dialog.Body\";\n","import { DialogFooterSlot } from \"../dialog.slots\";\nimport type { DialogFooterProps } from \"../dialog.types\";\n\nexport const DialogFooter = (props: DialogFooterProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DialogFooterSlot ref={forwardedRef} {...restProps}>\n {children}\n </DialogFooterSlot>\n );\n};\n\nDialogFooter.displayName = \"Dialog.Footer\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n closeTrigger: {\n id: \"Nimbus.Dialog.closeTrigger\",\n description: \"aria-label for the default close trigger button\",\n defaultMessage: \"Close dialog\",\n },\n});\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DialogCloseTriggerSlot } from \"../dialog.slots\";\nimport type { DialogCloseTriggerProps } from \"../dialog.types\";\nimport { IconButton } from \"@/components\";\nimport { messages } from \"../dialog.i18n\";\nimport { useIntl } from \"react-intl\";\n\nexport const DialogCloseTrigger = (props: DialogCloseTriggerProps) => {\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n const intl = useIntl();\n\n return (\n <DialogCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || intl.formatMessage(messages.closeTrigger)}\n {...restProps}\n >\n <Close />\n </IconButton>\n </DialogCloseTriggerSlot>\n );\n};\n\nDialogCloseTrigger.displayName = \"Dialog.CloseTrigger\";\n","import { DialogTitleSlot } from \"../dialog.slots\";\nimport type { DialogTitleProps } from \"../dialog.types\";\nimport { Heading } from \"@/components\";\n\nexport const DialogTitle = (props: DialogTitleProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DialogTitleSlot asChild {...restProps}>\n <Heading ref={forwardedRef} slot=\"title\" as=\"h2\" textStyle=\"lg\">\n {children}\n </Heading>\n </DialogTitleSlot>\n );\n};\n\nDialogTitle.displayName = \"Dialog.Title\";\n"],"names":["$5df64b3807dc15ee$var$visualViewport","$5df64b3807dc15ee$export$d699905dd57c73ca","isSSR","$fuDHA$useIsSSR","size","setSize","$fuDHA$useState","$5df64b3807dc15ee$var$getViewportSize","$fuDHA$useEffect","onResize","newSize","frame","onBlur","e","$21f1aa98acb08317$export$c57958e35f31ed73","$8ac8429251c45e4b$export$dbc0f175b25fb0fb","props","state","ref","overlayProps","underlayProps","$a11501f3d1d39e6c$export$ea8f71083e90600f","$49c51c25361d4cd2$export$ee0f7cc6afcd1c18","$337b884510726a0d$export$14c98a7594375490","$7Dhkr$useEffect","$5e3802645cc19319$export$1c3ebcada18427bf","$7Dhkr$mergeProps","$f3f84453ead64de5$export$ab57792b9b6974a6","$daTMi$createContext","$f3f84453ead64de5$var$InternalModalContext","$f3f84453ead64de5$export$2b77a92f1a5ad772","$daTMi$forwardRef","$daTMi$useContext","invalidSet","invalidProps","key","$daTMi$react","$f3f84453ead64de5$var$ModalContent","isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","children","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside","otherProps","$f3f84453ead64de5$export$8948f78d83984c69","$f3f84453ead64de5$var$ModalOverlayWithForwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$de32f1b87079253c$export$d2f961adcb0afbe","localState","$daTMi$useOverlayTriggerState","objectRef","$daTMi$useObjectRef","modalRef","$daTMi$useRef","isOverlayExiting","$daTMi$useExitAnimation","isModalExiting","$daTMi$useIsSSR","$f3f84453ead64de5$var$ModalOverlayInner","modalProps","$daTMi$useModalOverlay","entering","$daTMi$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","viewport","$daTMi$useViewportSize","pageHeight","scrollingElement","$daTMi$isScrollable","fractionalHeightDifference","style","$daTMi$Overlay","$daTMi$mergeProps","$daTMi$filterDOMProps","$64fa3d84918910a7$export$2881499e37b75b9a","mergedRefs","$daTMi$useMemo","$daTMi$mergeRefs","$daTMi$DismissButton","withProvider","withContext","createSlotRecipeContext","dialogSlotRecipe","DialogRootSlot","DialogTriggerSlot","DialogModalOverlaySlot","DialogModalSlot","DialogContentSlot","DialogHeaderSlot","DialogBodySlot","DialogFooterSlot","DialogTitleSlot","DialogCloseTriggerSlot","DialogContext","createContext","useDialogRootContext","context","useContext","DialogProvider","value","jsx","DialogRoot","recipe","useSlotRecipe","recipeProps","content","hasDialogTrigger","React","child","displayName","RaDialogTrigger","DialogTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DialogContent","RaModalOverlay","RaModal","RaDialog","DialogHeader","DialogBody","scrollBehavior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@
1
- "use strict";const s=require("react/jsx-runtime"),o=require("react"),$=require("./Dialog-XGXh4NXU.cjs.js"),D=require("@chakra-ui/react/styled-system"),W=require("./Button-CFZnLKVR.cjs.js"),w=require("./extractStyleProps-Dm0IZP1e.cjs.js"),m=require("./utils-BHdR5Nww.cjs.js"),y=require("./mergeProps-BA5Cwf5w.cjs.js"),R=require("./filterDOMProps-WUskt27c.cjs.js"),S=require("./useObjectRef-dXOJdONs.cjs.js"),G=require("./scrollIntoView-x1EbcfEq.cjs.js"),E=require("./SelectionManager-1rNaWE7D.cjs.js"),P=require("./SSRProvider-Bc-sMhsT.cjs.js"),h=require("./OverlayArrow-CYjyBtg8.cjs.js"),J=require("@commercetools/nimbus-icons"),j=require("react-intl"),Q=require("./icon-button-Bwkgcdyv.cjs.js"),X=require("./index-DhO4Z_an.cjs.js"),Y=require("./heading-BTacGwo9.cjs.js");let u=typeof document<"u"&&window.visualViewport;function Z(){let t=P.$b5e257d569688ac6$export$535bd6ca7f90a273(),[e,i]=o.useState(()=>t?{width:0,height:0}:O());return o.useEffect(()=>{let n=()=>{u&&u.scale>1||i(d=>{let a=O();return a.width===d.width&&a.height===d.height?d:a})},r,l=d=>{u&&u.scale>1||E.$21f1aa98acb08317$export$c57958e35f31ed73(d.target)&&(r=requestAnimationFrame(()=>{(!document.activeElement||!E.$21f1aa98acb08317$export$c57958e35f31ed73(document.activeElement))&&i(a=>{let c={width:window.innerWidth,height:window.innerHeight};return c.width===a.width&&c.height===a.height?a:c})}))};return window.addEventListener("blur",l,!0),u?u.addEventListener("resize",n):window.addEventListener("resize",n),()=>{cancelAnimationFrame(r),window.removeEventListener("blur",l,!0),u?u.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),e}function O(){return{width:u?u.width*u.scale:window.innerWidth,height:u?u.height*u.scale:window.innerHeight}}function ee(t,e,i){let{overlayProps:n,underlayProps:r}=$.$a11501f3d1d39e6c$export$ea8f71083e90600f({...t,isOpen:e.isOpen,onClose:e.close},i);return $.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({isDisabled:!e.isOpen}),$.$337b884510726a0d$export$14c98a7594375490(),o.useEffect(()=>{if(e.isOpen&&i.current)return $.$5e3802645cc19319$export$1c3ebcada18427bf([i.current],{shouldUseInert:!0})},[e.isOpen,i]),{modalProps:y.$3ef42575df84b30b$export$9d1611c77c2fe928(n),underlayProps:r}}const te=o.createContext(null),v=o.createContext(null),ie=o.forwardRef(function(e,i){if(o.useContext(v)){if(process.env.NODE_ENV!=="production"&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){const U=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),K=Object.keys(e).filter(k=>U.has(k));console.warn(`This modal is already wrapped in a ModalOverlay, props [${K.join(", ")}] should be placed on the ModalOverlay instead.`)}return o.createElement(C,{...e,modalRef:i},e.children)}let{isDismissable:r,isKeyboardDismissDisabled:l,isOpen:d,defaultOpen:a,onOpenChange:c,children:f,isEntering:g,isExiting:b,UNSTABLE_portalContainer:p,shouldCloseOnInteractOutside:F,..._}=e;return o.createElement(T,{isDismissable:r,isKeyboardDismissDisabled:l,isOpen:d,defaultOpen:a,onOpenChange:c,isEntering:g,isExiting:b,UNSTABLE_portalContainer:p,shouldCloseOnInteractOutside:F},o.createElement(C,{..._,modalRef:i},f))});function ne(t,e){[t,e]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(t,e,te);let i=o.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),n=h.$fc909762b330b746$export$61c6a8c84e605fb6(t),r=t.isOpen!=null||t.defaultOpen!=null||!i?n:i;r===i&&process.env.NODE_ENV!=="production"&&(t.onOpenChange||t.defaultOpen!==void 0||t.isOpen!==void 0)&&console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");let l=S.$df56164dff5785e2$export$4338b53315abf666(e),d=o.useRef(null),a=h.$d3f049242431219c$export$45fda7c47f93fd48(l,r.isOpen),c=h.$d3f049242431219c$export$45fda7c47f93fd48(d,r.isOpen),f=a||c||t.isExiting||!1,g=P.$b5e257d569688ac6$export$535bd6ca7f90a273();return!r.isOpen&&!f||g?null:o.createElement(re,{...t,state:r,isExiting:f,overlayRef:l,modalRef:d})}const T=o.forwardRef(ne);function re({UNSTABLE_portalContainer:t,...e}){let i=e.modalRef,{state:n}=e,{modalProps:r,underlayProps:l}=ee(e,n,i),d=h.$d3f049242431219c$export$6d3443f2c48bfc20(e.overlayRef)||e.isEntering||!1,a=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:d,isExiting:e.isExiting,state:n}}),c=Z(),f;if(typeof document<"u"){let b=G.$cc38e7bd3fc7b213$export$2bb74740c4e19def(document.body)?document.body:document.scrollingElement||document.documentElement,p=b.getBoundingClientRect().height%1;f=b.scrollHeight-p}let g={...a.style,"--visual-viewport-height":c.height+"px","--page-height":f!==void 0?f+"px":void 0};return o.createElement($.$337b884510726a0d$export$c6fdb837b070b4ff,{isExiting:e.isExiting,portalContainer:t},o.createElement("div",{...y.$3ef42575df84b30b$export$9d1611c77c2fe928(R.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),l),...a,style:g,ref:e.overlayRef,"data-entering":d||void 0,"data-exiting":e.isExiting||void 0},o.createElement(m.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[v,{modalProps:r,modalRef:i,isExiting:e.isExiting,isDismissable:e.isDismissable}],[$.$de32f1b87079253c$export$d2f961adcb0afbe,n]]},a.children)))}function C(t){let{modalProps:e,modalRef:i,isExiting:n,isDismissable:r}=o.useContext(v),l=o.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),d=o.useMemo(()=>m.$5dc95899b306f630$export$c9058316764c140e(t.modalRef,i),[t.modalRef,i]),a=S.$df56164dff5785e2$export$4338b53315abf666(d),c=h.$d3f049242431219c$export$6d3443f2c48bfc20(a),f=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Modal",values:{isEntering:c,isExiting:n,state:l}});return o.createElement("div",{...y.$3ef42575df84b30b$export$9d1611c77c2fe928(R.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0}),e),...f,ref:a,"data-entering":c||void 0,"data-exiting":n||void 0},r&&o.createElement($.$86ea4cb521eb2e37$export$2317d149ed6f78c4,{onDismiss:l.close}),f.children)}const{withProvider:oe,withContext:x}=D.createSlotRecipeContext({recipe:X.dialogSlotRecipe}),ae=oe("div","root"),se=x("button","trigger"),le=x("div","modalOverlay"),de=x("div","modal"),ce=x("div","content"),fe=x("header","header"),ue=x("div","body"),ge=x("footer","footer"),$e=x("h2","title"),be=x("div","closeTrigger"),N=o.createContext(void 0),q=()=>{const t=o.useContext(N);if(!t)throw new Error("useDialogContext must be used within Dialog.Root");return t},xe=({children:t,value:e})=>s.jsx(N,{value:e,children:t}),M=function(e){const i=D.useSlotRecipe({key:"dialog"}),[n]=i.splitVariantProps(e),{children:r,isOpen:l,onOpenChange:d,defaultOpen:a=!1}=e,c=s.jsx(ae,{...n,children:r}),f=o.Children.toArray(r).some(g=>{if(o.isValidElement(g)&&typeof g.type=="function"){const b=g.type?.displayName;return b==="DialogTrigger"||b==="Dialog.Trigger"}return!1});return s.jsx(xe,{value:e,children:f?s.jsx($.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:l,onOpenChange:d,defaultOpen:a,children:c}):c})};M.displayName="Dialog.Root";const B=({ref:t,children:e,asChild:i,...n})=>{if(i)return s.jsx(D.chakra.button,{ref:t,asChild:!0,...n,children:e});const[r,l]=w.extractStyleProps(n);return s.jsx(se,{...r,asChild:!0,children:s.jsx(W.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{ref:t,...l,children:e})})};B.displayName="Dialog.Trigger";const I=t=>{const{ref:e,children:i,...n}=t,{defaultOpen:r,isDismissable:l,isKeyboardDismissDisabled:d,shouldCloseOnInteractOutside:a,isOpen:c,onOpenChange:f}=q(),g={defaultOpen:r,isDismissable:l,isKeyboardDismissDisabled:d,shouldCloseOnInteractOutside:a,isOpen:c,onOpenChange:f},[b]=w.extractStyleProps(n);return s.jsx(le,{asChild:!0,children:s.jsx(T,{...g,children:s.jsx(de,{asChild:!0,children:s.jsx(ie,{children:s.jsx(ce,{asChild:!0,...b,children:s.jsx($.$de32f1b87079253c$export$3ddf2d174ce01153,{ref:e,children:i})})})})})})};I.displayName="Dialog.Content";const L=t=>{const{ref:e,children:i,...n}=t;return s.jsx(fe,{ref:e,...n,children:i})};L.displayName="Dialog.Header";const H=t=>{const{ref:e,children:i,...n}=t,{scrollBehavior:r}=q(),l={tabIndex:r==="inside"?0:void 0};return s.jsx(ue,{ref:e,...l,...n,children:i})};H.displayName="Dialog.Body";const A=t=>{const{ref:e,children:i,...n}=t;return s.jsx(ge,{ref:e,...n,children:i})};A.displayName="Dialog.Footer";const he=j.defineMessages({closeTrigger:{id:"Nimbus.Dialog.closeTrigger",description:"aria-label for the default close trigger button",defaultMessage:"Close dialog"}}),V=t=>{const{ref:e,"aria-label":i,...n}=t,r=j.useIntl();return s.jsx(be,{children:s.jsx(Q.IconButton,{ref:e,slot:"close",size:"xs",variant:"ghost","aria-label":i||r.formatMessage(he.closeTrigger),...n,children:s.jsx(J.Close,{})})})};V.displayName="Dialog.CloseTrigger";const z=t=>{const{ref:e,children:i,...n}=t;return s.jsx($e,{asChild:!0,...n,children:s.jsx(Y.Heading,{ref:e,slot:"title",as:"h2",textStyle:"lg",children:i})})};z.displayName="Dialog.Title";exports.DialogBody=H;exports.DialogCloseTrigger=V;exports.DialogContent=I;exports.DialogFooter=A;exports.DialogHeader=L;exports.DialogRoot=M;exports.DialogTitle=z;exports.DialogTrigger=B;
2
- //# sourceMappingURL=dialog.title-CsuOBAm8.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.title-CsuOBAm8.cjs.js","sources":["../../../../node_modules/.pnpm/@react-aria+utils@3.31.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/utils/dist/useViewportSize.mjs","../../../../node_modules/.pnpm/@react-aria+overlays@3.30.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/overlays/dist/useModalOverlay.mjs","../../../../node_modules/.pnpm/react-aria-components@1.13.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Modal.mjs","../../src/components/dialog/dialog.slots.tsx","../../src/components/dialog/components/dialog.context.tsx","../../src/components/dialog/components/dialog.root.tsx","../../src/components/dialog/components/dialog.trigger.tsx","../../src/components/dialog/components/dialog.content.tsx","../../src/components/dialog/components/dialog.header.tsx","../../src/components/dialog/components/dialog.body.tsx","../../src/components/dialog/components/dialog.footer.tsx","../../src/components/dialog/dialog.i18n.ts","../../src/components/dialog/components/dialog.close-trigger.tsx","../../src/components/dialog/components/dialog.title.tsx"],"sourcesContent":["import {willOpenKeyboard as $21f1aa98acb08317$export$c57958e35f31ed73} from \"./keyboard.mjs\";\nimport {useState as $fuDHA$useState, useEffect as $fuDHA$useEffect} from \"react\";\nimport {useIsSSR as $fuDHA$useIsSSR} from \"@react-aria/ssr\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nlet $5df64b3807dc15ee$var$visualViewport = typeof document !== 'undefined' && window.visualViewport;\nfunction $5df64b3807dc15ee$export$d699905dd57c73ca() {\n let isSSR = (0, $fuDHA$useIsSSR)();\n let [size, setSize] = (0, $fuDHA$useState)(()=>isSSR ? {\n width: 0,\n height: 0\n } : $5df64b3807dc15ee$var$getViewportSize());\n (0, $fuDHA$useEffect)(()=>{\n // Use visualViewport api to track available height even on iOS virtual keyboard opening\n let onResize = ()=>{\n // Ignore updates when zoomed.\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n setSize((size)=>{\n let newSize = $5df64b3807dc15ee$var$getViewportSize();\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n };\n // When closing the keyboard, iOS does not fire the visual viewport resize event until the animation is complete.\n // We can anticipate this and resize early by handling the blur event and using the layout size.\n let frame;\n let onBlur = (e)=>{\n if ($5df64b3807dc15ee$var$visualViewport && $5df64b3807dc15ee$var$visualViewport.scale > 1) return;\n if ((0, $21f1aa98acb08317$export$c57958e35f31ed73)(e.target)) // Wait one frame to see if a new element gets focused.\n frame = requestAnimationFrame(()=>{\n if (!document.activeElement || !(0, $21f1aa98acb08317$export$c57958e35f31ed73)(document.activeElement)) setSize((size)=>{\n let newSize = {\n width: window.innerWidth,\n height: window.innerHeight\n };\n if (newSize.width === size.width && newSize.height === size.height) return size;\n return newSize;\n });\n });\n };\n window.addEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.addEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.addEventListener('resize', onResize);\n return ()=>{\n cancelAnimationFrame(frame);\n window.removeEventListener('blur', onBlur, true);\n if (!$5df64b3807dc15ee$var$visualViewport) window.removeEventListener('resize', onResize);\n else $5df64b3807dc15ee$var$visualViewport.removeEventListener('resize', onResize);\n };\n }, []);\n return size;\n}\nfunction $5df64b3807dc15ee$var$getViewportSize() {\n return {\n // Multiply by the visualViewport scale to get the \"natural\" size, unaffected by pinch zooming.\n width: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.width * $5df64b3807dc15ee$var$visualViewport.scale : window.innerWidth,\n height: $5df64b3807dc15ee$var$visualViewport ? $5df64b3807dc15ee$var$visualViewport.height * $5df64b3807dc15ee$var$visualViewport.scale : window.innerHeight\n };\n}\n\n\nexport {$5df64b3807dc15ee$export$d699905dd57c73ca as useViewportSize};\n//# sourceMappingURL=useViewportSize.module.js.map\n","import {ariaHideOutside as $5e3802645cc19319$export$1c3ebcada18427bf} from \"./ariaHideOutside.mjs\";\nimport {useOverlay as $a11501f3d1d39e6c$export$ea8f71083e90600f} from \"./useOverlay.mjs\";\nimport {useOverlayFocusContain as $337b884510726a0d$export$14c98a7594375490} from \"./Overlay.mjs\";\nimport {usePreventScroll as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18} from \"./usePreventScroll.mjs\";\nimport {mergeProps as $7Dhkr$mergeProps} from \"@react-aria/utils\";\nimport {useEffect as $7Dhkr$useEffect} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {\n let { overlayProps: overlayProps, underlayProps: underlayProps } = (0, $a11501f3d1d39e6c$export$ea8f71083e90600f)({\n ...props,\n isOpen: state.isOpen,\n onClose: state.close\n }, ref);\n (0, $49c51c25361d4cd2$export$ee0f7cc6afcd1c18)({\n isDisabled: !state.isOpen\n });\n (0, $337b884510726a0d$export$14c98a7594375490)();\n (0, $7Dhkr$useEffect)(()=>{\n if (state.isOpen && ref.current) return (0, $5e3802645cc19319$export$1c3ebcada18427bf)([\n ref.current\n ], {\n shouldUseInert: true\n });\n }, [\n state.isOpen,\n ref\n ]);\n return {\n modalProps: (0, $7Dhkr$mergeProps)(overlayProps),\n underlayProps: underlayProps\n };\n}\n\n\nexport {$8ac8429251c45e4b$export$dbc0f175b25fb0fb as useModalOverlay};\n//# sourceMappingURL=useModalOverlay.module.js.map\n","import {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3} from \"./utils.mjs\";\nimport {OverlayTriggerStateContext as $de32f1b87079253c$export$d2f961adcb0afbe} from \"./Dialog.mjs\";\nimport {useIsSSR as $daTMi$useIsSSR, useModalOverlay as $daTMi$useModalOverlay, Overlay as $daTMi$Overlay, DismissButton as $daTMi$DismissButton} from \"react-aria\";\nimport {useObjectRef as $daTMi$useObjectRef, useExitAnimation as $daTMi$useExitAnimation, useEnterAnimation as $daTMi$useEnterAnimation, useViewportSize as $daTMi$useViewportSize, isScrollable as $daTMi$isScrollable, mergeProps as $daTMi$mergeProps, filterDOMProps as $daTMi$filterDOMProps, mergeRefs as $daTMi$mergeRefs} from \"@react-aria/utils\";\nimport {useOverlayTriggerState as $daTMi$useOverlayTriggerState} from \"react-stately\";\nimport $daTMi$react, {createContext as $daTMi$createContext, forwardRef as $daTMi$forwardRef, useContext as $daTMi$useContext, useRef as $daTMi$useRef, useMemo as $daTMi$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nconst $f3f84453ead64de5$export$ab57792b9b6974a6 = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$var$InternalModalContext = /*#__PURE__*/ (0, $daTMi$createContext)(null);\nconst $f3f84453ead64de5$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $daTMi$forwardRef)(function Modal(props, ref) {\n let ctx = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n if (ctx) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) {\n // create a list of props that are passed in but not allowed when using an external ModalOverlay\n const invalidSet = new Set([\n 'isDismissable',\n 'isKeyboardDismissDisabled',\n 'isOpen',\n 'defaultOpen',\n 'onOpenChange',\n 'isEntering',\n 'isExiting',\n 'UNSTABLE_portalContainer',\n 'shouldCloseOnInteractOutside'\n ]);\n const invalidProps = Object.keys(props).filter((key)=>invalidSet.has(key));\n console.warn(`This modal is already wrapped in a ModalOverlay, props [${invalidProps.join(', ')}] should be placed on the ModalOverlay instead.`);\n }\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...props,\n modalRef: ref\n }, props.children);\n }\n let { isDismissable: isDismissable, isKeyboardDismissDisabled: isKeyboardDismissDisabled, isOpen: isOpen, defaultOpen: defaultOpen, onOpenChange: onOpenChange, children: children, isEntering: isEntering, isExiting: isExiting, UNSTABLE_portalContainer: UNSTABLE_portalContainer, shouldCloseOnInteractOutside: shouldCloseOnInteractOutside, ...otherProps } = props;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$export$8948f78d83984c69, {\n isDismissable: isDismissable,\n isKeyboardDismissDisabled: isKeyboardDismissDisabled,\n isOpen: isOpen,\n defaultOpen: defaultOpen,\n onOpenChange: onOpenChange,\n isEntering: isEntering,\n isExiting: isExiting,\n UNSTABLE_portalContainer: UNSTABLE_portalContainer,\n shouldCloseOnInteractOutside: shouldCloseOnInteractOutside\n }, /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalContent, {\n ...otherProps,\n modalRef: ref\n }, children));\n});\nfunction $f3f84453ead64de5$var$ModalOverlayWithForwardRef(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $f3f84453ead64de5$export$ab57792b9b6974a6);\n let contextState = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let localState = (0, $daTMi$useOverlayTriggerState)(props);\n let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;\n if (state === contextState) {\n if (process.env.NODE_ENV !== 'production' && (props.onOpenChange || props.defaultOpen !== undefined || props.isOpen !== undefined)) console.warn('This modals state is controlled by a trigger, place onOpenChange on the trigger instead.');\n }\n let objectRef = (0, $daTMi$useObjectRef)(ref);\n let modalRef = (0, $daTMi$useRef)(null);\n let isOverlayExiting = (0, $daTMi$useExitAnimation)(objectRef, state.isOpen);\n let isModalExiting = (0, $daTMi$useExitAnimation)(modalRef, state.isOpen);\n let isExiting = isOverlayExiting || isModalExiting || props.isExiting || false;\n let isSSR = (0, $daTMi$useIsSSR)();\n if (!state.isOpen && !isExiting || isSSR) return null;\n return /*#__PURE__*/ (0, $daTMi$react).createElement($f3f84453ead64de5$var$ModalOverlayInner, {\n ...props,\n state: state,\n isExiting: isExiting,\n overlayRef: objectRef,\n modalRef: modalRef\n });\n}\nconst $f3f84453ead64de5$export$8948f78d83984c69 = /*#__PURE__*/ (0, $daTMi$forwardRef)($f3f84453ead64de5$var$ModalOverlayWithForwardRef);\nfunction $f3f84453ead64de5$var$ModalOverlayInner({ UNSTABLE_portalContainer: UNSTABLE_portalContainer, ...props }) {\n let modalRef = props.modalRef;\n let { state: state } = props;\n let { modalProps: modalProps, underlayProps: underlayProps } = (0, $daTMi$useModalOverlay)(props, state, modalRef);\n let entering = (0, $daTMi$useEnterAnimation)(props.overlayRef) || props.isEntering || false;\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-ModalOverlay',\n values: {\n isEntering: entering,\n isExiting: props.isExiting,\n state: state\n }\n });\n let viewport = (0, $daTMi$useViewportSize)();\n let pageHeight = undefined;\n if (typeof document !== 'undefined') {\n let scrollingElement = (0, $daTMi$isScrollable)(document.body) ? document.body : document.scrollingElement || document.documentElement;\n // Prevent Firefox from adding scrollbars when the page has a fractional height.\n let fractionalHeightDifference = scrollingElement.getBoundingClientRect().height % 1;\n pageHeight = scrollingElement.scrollHeight - fractionalHeightDifference;\n }\n let style = {\n ...renderProps.style,\n '--visual-viewport-height': viewport.height + 'px',\n '--page-height': pageHeight !== undefined ? pageHeight + 'px' : undefined\n };\n return /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$Overlay), {\n isExiting: props.isExiting,\n portalContainer: UNSTABLE_portalContainer\n }, /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), underlayProps),\n ...renderProps,\n style: style,\n ref: props.overlayRef,\n \"data-entering\": entering || undefined,\n \"data-exiting\": props.isExiting || undefined\n }, /*#__PURE__*/ (0, $daTMi$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $f3f84453ead64de5$var$InternalModalContext,\n {\n modalProps: modalProps,\n modalRef: modalRef,\n isExiting: props.isExiting,\n isDismissable: props.isDismissable\n }\n ],\n [\n (0, $de32f1b87079253c$export$d2f961adcb0afbe),\n state\n ]\n ]\n }, renderProps.children)));\n}\nfunction $f3f84453ead64de5$var$ModalContent(props) {\n let { modalProps: modalProps, modalRef: modalRef, isExiting: isExiting, isDismissable: isDismissable } = (0, $daTMi$useContext)($f3f84453ead64de5$var$InternalModalContext);\n let state = (0, $daTMi$useContext)((0, $de32f1b87079253c$export$d2f961adcb0afbe));\n let mergedRefs = (0, $daTMi$useMemo)(()=>(0, $daTMi$mergeRefs)(props.modalRef, modalRef), [\n props.modalRef,\n modalRef\n ]);\n let ref = (0, $daTMi$useObjectRef)(mergedRefs);\n let entering = (0, $daTMi$useEnterAnimation)(ref);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Modal',\n values: {\n isEntering: entering,\n isExiting: isExiting,\n state: state\n }\n });\n return /*#__PURE__*/ (0, $daTMi$react).createElement(\"div\", {\n ...(0, $daTMi$mergeProps)((0, $daTMi$filterDOMProps)(props, {\n global: true\n }), modalProps),\n ...renderProps,\n ref: ref,\n \"data-entering\": entering || undefined,\n \"data-exiting\": isExiting || undefined\n }, isDismissable && /*#__PURE__*/ (0, $daTMi$react).createElement((0, $daTMi$DismissButton), {\n onDismiss: state.close\n }), renderProps.children);\n}\n\n\nexport {$f3f84453ead64de5$export$ab57792b9b6974a6 as ModalContext, $f3f84453ead64de5$export$2b77a92f1a5ad772 as Modal, $f3f84453ead64de5$export$8948f78d83984c69 as ModalOverlay};\n//# sourceMappingURL=Modal.module.js.map\n","import {\n createSlotRecipeContext,\n type HTMLChakraProps,\n} from \"@chakra-ui/react/styled-system\";\nimport { dialogSlotRecipe } from \"./dialog.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n recipe: dialogSlotRecipe,\n});\n\n// Root slot - provides recipe context + config to all child components\nexport type DialogRootSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogRootSlot = withProvider<HTMLDivElement, DialogRootSlotProps>(\n \"div\",\n \"root\"\n);\n\n// Trigger slot - button that opens the dialog\nexport type DialogTriggerSlotProps = HTMLChakraProps<\"button\">;\nexport const DialogTriggerSlot = withContext<\n HTMLButtonElement,\n DialogTriggerSlotProps\n>(\"button\", \"trigger\");\n\n// Backdrop slot - overlay displayed behind the dialog\nexport type DialogModalOverlaySlotProps = HTMLChakraProps<\"div\">;\nexport const DialogModalOverlaySlot = withContext<\n HTMLDivElement,\n DialogModalOverlaySlotProps\n>(\"div\", \"modalOverlay\");\n\n// modal slot - positions the dialog content\nexport type DialogModalSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogModalSlot = withContext<\n HTMLDivElement,\n DialogModalSlotProps\n>(\"div\", \"modal\");\n\n// Content slot - main dialog container\nexport type DialogContentSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogContentSlot = withContext<\n HTMLDivElement,\n DialogContentSlotProps\n>(\"div\", \"content\");\n\n// Header slot - dialog header section\nexport type DialogHeaderSlotProps = HTMLChakraProps<\"header\">;\nexport const DialogHeaderSlot = withContext<HTMLElement, DialogHeaderSlotProps>(\n \"header\",\n \"header\"\n);\n\n// Body slot - dialog body content\nexport type DialogBodySlotProps = HTMLChakraProps<\"div\">;\nexport const DialogBodySlot = withContext<HTMLDivElement, DialogBodySlotProps>(\n \"div\",\n \"body\"\n);\n\n// Footer slot - dialog footer section with actions\nexport type DialogFooterSlotProps = HTMLChakraProps<\"footer\">;\nexport const DialogFooterSlot = withContext<HTMLElement, DialogFooterSlotProps>(\n \"footer\",\n \"footer\"\n);\n\n// Title slot - accessible dialog title\nexport type DialogTitleSlotProps = HTMLChakraProps<\"h2\">;\nexport const DialogTitleSlot = withContext<\n HTMLHeadingElement,\n DialogTitleSlotProps\n>(\"h2\", \"title\");\n\n// Close trigger slot - div container for positioning close button\nexport type DialogCloseTriggerSlotProps = HTMLChakraProps<\"div\">;\nexport const DialogCloseTriggerSlot = withContext<\n HTMLDivElement,\n DialogCloseTriggerSlotProps\n>(\"div\", \"closeTrigger\");\n","import { createContext, useContext } from \"react\";\nimport type { DialogRootProps } from \"../dialog.types\";\n\n/**\n * Context value containing dialog configuration passed from Root to child components\n */\nexport type DialogContextValue = DialogRootProps;\n\nexport const DialogContext = createContext<DialogContextValue | undefined>(\n undefined\n);\n\n/**\n * Hook to access dialog configuration from DialogContext\n * @returns Dialog configuration from context\n * @throws Error if used outside of Dialog.Root\n */\nexport const useDialogRootContext = (): DialogContextValue => {\n const context = useContext(DialogContext);\n if (!context) {\n throw new Error(\"useDialogContext must be used within Dialog.Root\");\n }\n return context;\n};\n\n/**\n * Provider component that passes dialog configuration down to child components\n */\nexport const DialogProvider = ({\n children,\n value,\n}: {\n children: React.ReactNode;\n value: DialogContextValue;\n}) => {\n return <DialogContext value={value}>{children}</DialogContext>;\n};\n","import React from \"react\";\nimport { DialogTrigger as RaDialogTrigger } from \"react-aria-components\";\nimport { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { DialogRootSlot } from \"../dialog.slots\";\nimport type { DialogRootProps } from \"../dialog.types\";\nimport { DialogProvider } from \"./dialog.context\";\n\nexport const DialogRoot = function DialogRoot(props: DialogRootProps) {\n const recipe = useSlotRecipe({ key: \"dialog\" });\n // Extract recipe props\n const [recipeProps] = recipe.splitVariantProps(props);\n // Extract props that are usable on RaDialogTrigger\n const { children, isOpen, onOpenChange, defaultOpen = false } = props;\n\n const content = <DialogRootSlot {...recipeProps}>{children}</DialogRootSlot>;\n\n // Check if any direct child is a Dialog.Trigger component\n // React Aria's DialogTrigger needs a pressable child, so we only use it when there's a trigger\n const hasDialogTrigger = React.Children.toArray(children).some((child) => {\n if (React.isValidElement(child) && typeof child.type === \"function\") {\n const displayName = (\n child.type as React.ComponentType & { displayName?: string }\n )?.displayName;\n return (\n displayName === \"DialogTrigger\" || displayName === \"Dialog.Trigger\"\n );\n }\n return false;\n });\n\n // Share all props (config + variant props) with the Dialog subcomponents\n return (\n <DialogProvider value={props}>\n {hasDialogTrigger ? (\n // When there's a Dialog.Trigger, use DialogTrigger for React Aria integration\n <RaDialogTrigger\n isOpen={isOpen}\n onOpenChange={onOpenChange}\n defaultOpen={defaultOpen}\n >\n {content}\n </RaDialogTrigger>\n ) : (\n // When no Dialog.Trigger, skip using RaDialogTrigger to avoid console.warning's\n content\n )}\n </DialogProvider>\n );\n};\n\nDialogRoot.displayName = \"Dialog.Root\";\n","import { Button as RaButton } from \"react-aria-components\";\nimport { DialogTriggerSlot } from \"../dialog.slots\";\nimport type { DialogTriggerProps } from \"../dialog.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { chakra } from \"@chakra-ui/react/styled-system\";\n\nexport const DialogTrigger = ({\n ref: forwardedRef,\n children,\n asChild,\n ...props\n}: DialogTriggerProps) => {\n // If asChild is true, wrap children directly in RaButton with asChild\n if (asChild) {\n return (\n <chakra.button ref={forwardedRef} asChild {...props}>\n {children}\n </chakra.button>\n );\n }\n\n const [styleProps, restProps] = extractStyleProps(props);\n\n // Otherwise, wrap with both DialogTriggerSlot and RaButton\n // Only pass React Aria compatible props to avoid type conflicts\n return (\n <DialogTriggerSlot {...styleProps} asChild>\n <RaButton ref={forwardedRef} {...restProps}>\n {children}\n </RaButton>\n </DialogTriggerSlot>\n );\n};\n\nDialogTrigger.displayName = \"Dialog.Trigger\";\n","import {\n Modal as RaModal,\n ModalOverlay as RaModalOverlay,\n Dialog as RaDialog,\n} from \"react-aria-components\";\nimport {\n DialogModalOverlaySlot,\n DialogModalSlot,\n DialogContentSlot,\n} from \"../dialog.slots\";\nimport type { DialogContentProps } from \"../dialog.types\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport { useDialogRootContext } from \"./dialog.context\";\n\nexport const DialogContent = (props: DialogContentProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n // Get recipe configuration from context instead of props\n const {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n } = useDialogRootContext();\n\n const modalProps = {\n defaultOpen,\n isDismissable,\n isKeyboardDismissDisabled,\n shouldCloseOnInteractOutside,\n isOpen,\n onOpenChange,\n };\n\n const [styleProps] = extractStyleProps(restProps);\n\n return (\n <DialogModalOverlaySlot asChild>\n <RaModalOverlay {...modalProps}>\n <DialogModalSlot asChild>\n <RaModal>\n <DialogContentSlot asChild {...styleProps}>\n <RaDialog ref={forwardedRef}>{children}</RaDialog>\n </DialogContentSlot>\n </RaModal>\n </DialogModalSlot>\n </RaModalOverlay>\n </DialogModalOverlaySlot>\n );\n};\n\nDialogContent.displayName = \"Dialog.Content\";\n","import { DialogHeaderSlot } from \"../dialog.slots\";\nimport type { DialogHeaderProps } from \"../dialog.types\";\n\nexport const DialogHeader = (props: DialogHeaderProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DialogHeaderSlot ref={forwardedRef} {...restProps}>\n {children}\n </DialogHeaderSlot>\n );\n};\n\nDialogHeader.displayName = \"Dialog.Header\";\n","import { DialogBodySlot } from \"../dialog.slots\";\nimport type { DialogBodyProps } from \"../dialog.types\";\nimport { useDialogRootContext } from \"./dialog.context\";\n\nexport const DialogBody = (props: DialogBodyProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n const { scrollBehavior } = useDialogRootContext();\n\n const defaultProps = {\n /**\n * if scrollBehavior is set to \"inside\", set tabIndex to 0 to allow the body to\n * receive focus, effectively enabling scrolling via keyboard\n * arrow keys.\n */\n tabIndex: scrollBehavior === \"inside\" ? 0 : undefined,\n };\n\n return (\n <DialogBodySlot ref={forwardedRef} {...defaultProps} {...restProps}>\n {children}\n </DialogBodySlot>\n );\n};\n\nDialogBody.displayName = \"Dialog.Body\";\n","import { DialogFooterSlot } from \"../dialog.slots\";\nimport type { DialogFooterProps } from \"../dialog.types\";\n\nexport const DialogFooter = (props: DialogFooterProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DialogFooterSlot ref={forwardedRef} {...restProps}>\n {children}\n </DialogFooterSlot>\n );\n};\n\nDialogFooter.displayName = \"Dialog.Footer\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n closeTrigger: {\n id: \"Nimbus.Dialog.closeTrigger\",\n description: \"aria-label for the default close trigger button\",\n defaultMessage: \"Close dialog\",\n },\n});\n","import { Close } from \"@commercetools/nimbus-icons\";\nimport { DialogCloseTriggerSlot } from \"../dialog.slots\";\nimport type { DialogCloseTriggerProps } from \"../dialog.types\";\nimport { IconButton } from \"@/components\";\nimport { messages } from \"../dialog.i18n\";\nimport { useIntl } from \"react-intl\";\n\nexport const DialogCloseTrigger = (props: DialogCloseTriggerProps) => {\n const { ref: forwardedRef, \"aria-label\": ariaLabel, ...restProps } = props;\n const intl = useIntl();\n\n return (\n <DialogCloseTriggerSlot>\n <IconButton\n ref={forwardedRef}\n slot=\"close\"\n size=\"xs\"\n variant=\"ghost\"\n aria-label={ariaLabel || intl.formatMessage(messages.closeTrigger)}\n {...restProps}\n >\n <Close />\n </IconButton>\n </DialogCloseTriggerSlot>\n );\n};\n\nDialogCloseTrigger.displayName = \"Dialog.CloseTrigger\";\n","import { DialogTitleSlot } from \"../dialog.slots\";\nimport type { DialogTitleProps } from \"../dialog.types\";\nimport { Heading } from \"@/components\";\n\nexport const DialogTitle = (props: DialogTitleProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n return (\n <DialogTitleSlot asChild {...restProps}>\n <Heading ref={forwardedRef} slot=\"title\" as=\"h2\" textStyle=\"lg\">\n {children}\n </Heading>\n </DialogTitleSlot>\n );\n};\n\nDialogTitle.displayName = \"Dialog.Title\";\n"],"names":["$5df64b3807dc15ee$var$visualViewport","$5df64b3807dc15ee$export$d699905dd57c73ca","isSSR","$fuDHA$useIsSSR","size","setSize","$fuDHA$useState","$5df64b3807dc15ee$var$getViewportSize","$fuDHA$useEffect","onResize","newSize","frame","onBlur","e","$21f1aa98acb08317$export$c57958e35f31ed73","$8ac8429251c45e4b$export$dbc0f175b25fb0fb","props","state","ref","overlayProps","underlayProps","$a11501f3d1d39e6c$export$ea8f71083e90600f","$49c51c25361d4cd2$export$ee0f7cc6afcd1c18","$337b884510726a0d$export$14c98a7594375490","$7Dhkr$useEffect","$5e3802645cc19319$export$1c3ebcada18427bf","$7Dhkr$mergeProps","$f3f84453ead64de5$export$ab57792b9b6974a6","$daTMi$createContext","$f3f84453ead64de5$var$InternalModalContext","$f3f84453ead64de5$export$2b77a92f1a5ad772","$daTMi$forwardRef","$daTMi$useContext","invalidSet","invalidProps","key","$daTMi$react","$f3f84453ead64de5$var$ModalContent","isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","children","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside","otherProps","$f3f84453ead64de5$export$8948f78d83984c69","$f3f84453ead64de5$var$ModalOverlayWithForwardRef","$64fa3d84918910a7$export$29f1550f4b0d4415","contextState","$de32f1b87079253c$export$d2f961adcb0afbe","localState","$daTMi$useOverlayTriggerState","objectRef","$daTMi$useObjectRef","modalRef","$daTMi$useRef","isOverlayExiting","$daTMi$useExitAnimation","isModalExiting","$daTMi$useIsSSR","$f3f84453ead64de5$var$ModalOverlayInner","modalProps","$daTMi$useModalOverlay","entering","$daTMi$useEnterAnimation","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","viewport","$daTMi$useViewportSize","pageHeight","scrollingElement","$daTMi$isScrollable","fractionalHeightDifference","style","$daTMi$Overlay","$daTMi$mergeProps","$daTMi$filterDOMProps","$64fa3d84918910a7$export$2881499e37b75b9a","mergedRefs","$daTMi$useMemo","$daTMi$mergeRefs","$daTMi$DismissButton","withProvider","withContext","createSlotRecipeContext","dialogSlotRecipe","DialogRootSlot","DialogTriggerSlot","DialogModalOverlaySlot","DialogModalSlot","DialogContentSlot","DialogHeaderSlot","DialogBodySlot","DialogFooterSlot","DialogTitleSlot","DialogCloseTriggerSlot","DialogContext","createContext","useDialogRootContext","context","useContext","DialogProvider","value","jsx","DialogRoot","recipe","useSlotRecipe","recipeProps","content","hasDialogTrigger","React","child","displayName","RaDialogTrigger","DialogTrigger","forwardedRef","asChild","chakra","styleProps","restProps","extractStyleProps","RaButton","DialogContent","RaModalOverlay","RaModal","RaDialog","DialogHeader","DialogBody","scrollBehavior","defaultProps","DialogFooter","messages","defineMessages","DialogCloseTrigger","ariaLabel","intl","useIntl","IconButton","Close","DialogTitle","Heading"],"mappings":"owBAiBA,IAAIA,EAAuC,OAAO,SAAa,KAAe,OAAO,eACrF,SAASC,GAA4C,CACjD,IAAIC,EAAYC,4CAAe,EAC3B,CAACC,EAAMC,CAAO,EAAQC,EAAAA,SAAiB,IAAIJ,EAAQ,CAC/C,MAAO,EACP,OAAQ,CACpB,EAAYK,EAAqC,CAAE,EAC/C,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