@commercetools/nimbus 0.0.0-canary-20260116101948 → 0.0.0-canary-20260119090325

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 (588) hide show
  1. package/README.md +87 -21
  2. package/dist/chunks/{CollectionBuilder-BnYe2z4W.es.js → CollectionBuilder-BOe312C_.es.js} +6 -6
  3. package/dist/chunks/{CollectionBuilder-BnYe2z4W.es.js.map → CollectionBuilder-BOe312C_.es.js.map} +1 -1
  4. package/dist/chunks/DateField-BxXzaXAv.cjs.js +2 -0
  5. package/dist/chunks/{DateField-D_ywBfBB.cjs.js.map → DateField-BxXzaXAv.cjs.js.map} +1 -1
  6. package/dist/chunks/{DateField-DMHI1uyM.es.js → DateField-DCWy1Ysp.es.js} +25 -24
  7. package/dist/chunks/{DateField-DMHI1uyM.es.js.map → DateField-DCWy1Ysp.es.js.map} +1 -1
  8. package/dist/chunks/{DatePicker-VyVWP-2-.es.js → DatePicker-CL72jbDo.es.js} +5 -5
  9. package/dist/chunks/{DatePicker-VyVWP-2-.es.js.map → DatePicker-CL72jbDo.es.js.map} +1 -1
  10. package/dist/chunks/{DatePicker-DdoSCY92.cjs.js → DatePicker-NWRDzwUt.cjs.js} +2 -2
  11. package/dist/chunks/{DatePicker-DdoSCY92.cjs.js.map → DatePicker-NWRDzwUt.cjs.js.map} +1 -1
  12. package/dist/chunks/{Dialog-BZs_dKan.es.js → Dialog-B0BQfdQa.es.js} +58 -58
  13. package/dist/chunks/{Dialog-BZs_dKan.es.js.map → Dialog-B0BQfdQa.es.js.map} +1 -1
  14. package/dist/chunks/{Dialog-DilDtCFc.cjs.js → Dialog-CSr6lHSd.cjs.js} +2 -2
  15. package/dist/chunks/{Dialog-DilDtCFc.cjs.js.map → Dialog-CSr6lHSd.cjs.js.map} +1 -1
  16. package/dist/chunks/{Header-2KETI4X9.es.js → Header-CiYtrnTw.es.js} +3 -3
  17. package/dist/chunks/{Header-2KETI4X9.es.js.map → Header-CiYtrnTw.es.js.map} +1 -1
  18. package/dist/chunks/{Heading-DDEPjNlF.es.js → Heading-BMsylHxq.es.js} +2 -2
  19. package/dist/chunks/{Heading-DDEPjNlF.es.js.map → Heading-BMsylHxq.es.js.map} +1 -1
  20. package/dist/chunks/{Heading-UZcOiBkN.cjs.js → Heading-C7J8IDnn.cjs.js} +2 -2
  21. package/dist/chunks/{Heading-UZcOiBkN.cjs.js.map → Heading-C7J8IDnn.cjs.js.map} +1 -1
  22. package/dist/chunks/{ListBox-DkaySjTS.es.js → ListBox-RrHJjnuq.es.js} +6 -6
  23. package/dist/chunks/{ListBox-DkaySjTS.es.js.map → ListBox-RrHJjnuq.es.js.map} +1 -1
  24. package/dist/chunks/LocalizedStringDictionary-DZNwHzto.cjs.js +2 -0
  25. package/dist/chunks/LocalizedStringDictionary-DZNwHzto.cjs.js.map +1 -0
  26. package/dist/chunks/LocalizedStringDictionary-rmcyf3BY.es.js +48 -0
  27. package/dist/chunks/LocalizedStringDictionary-rmcyf3BY.es.js.map +1 -0
  28. package/dist/chunks/{Modal-DcbaiE5l.es.js → Modal-K4JEy19g.es.js} +3 -3
  29. package/dist/chunks/{Modal-DcbaiE5l.es.js.map → Modal-K4JEy19g.es.js.map} +1 -1
  30. package/dist/chunks/{Modal-CSjx-pPv.cjs.js → Modal-u97jKK9t.cjs.js} +2 -2
  31. package/dist/chunks/{Modal-CSjx-pPv.cjs.js.map → Modal-u97jKK9t.cjs.js.map} +1 -1
  32. package/dist/chunks/{SelectionManager-XpKaZHOS.es.js → SelectionManager-CX9btso_.es.js} +5 -5
  33. package/dist/chunks/{SelectionManager-XpKaZHOS.es.js.map → SelectionManager-CX9btso_.es.js.map} +1 -1
  34. package/dist/chunks/{Separator-DP89PKAS.es.js → Separator-x6wk4JUe.es.js} +2 -2
  35. package/dist/chunks/{Separator-DP89PKAS.es.js.map → Separator-x6wk4JUe.es.js.map} +1 -1
  36. package/dist/chunks/{accordion-C0MESyjK.es.js → accordion-Dh0RVlNx.es.js} +2 -2
  37. package/dist/chunks/{accordion-C0MESyjK.es.js.map → accordion-Dh0RVlNx.es.js.map} +1 -1
  38. package/dist/chunks/{accordion.content-DxOsZTFV.es.js → accordion.content-GGayEeqD.es.js} +2 -2
  39. package/dist/chunks/{accordion.content-DxOsZTFV.es.js.map → accordion.content-GGayEeqD.es.js.map} +1 -1
  40. package/dist/chunks/{alert-DVNh9ZZh.es.js → alert-DCgWOaY2.es.js} +50 -50
  41. package/dist/chunks/alert-DCgWOaY2.es.js.map +1 -0
  42. package/dist/chunks/alert-pPmN9CXZ.cjs.js +2 -0
  43. package/dist/chunks/alert-pPmN9CXZ.cjs.js.map +1 -0
  44. package/dist/chunks/avatar-1Y7cLjZT.es.js +59 -0
  45. package/dist/chunks/avatar-1Y7cLjZT.es.js.map +1 -0
  46. package/dist/chunks/avatar-BVQ91Ccd.cjs.js +2 -0
  47. package/dist/chunks/avatar-BVQ91Ccd.cjs.js.map +1 -0
  48. package/dist/chunks/{button-CGhRXrYT.es.js → button-BEJnxXsL.es.js} +2 -2
  49. package/dist/chunks/{button-CGhRXrYT.es.js.map → button-BEJnxXsL.es.js.map} +1 -1
  50. package/dist/chunks/calendar-B01Vti5k.cjs.js +2 -0
  51. package/dist/chunks/calendar-B01Vti5k.cjs.js.map +1 -0
  52. package/dist/chunks/calendar-lSoXK-yt.es.js +227 -0
  53. package/dist/chunks/calendar-lSoXK-yt.es.js.map +1 -0
  54. package/dist/chunks/{card-BClQfyiK.es.js → card-q5i119kB.es.js} +2 -2
  55. package/dist/chunks/{card-BClQfyiK.es.js.map → card-q5i119kB.es.js.map} +1 -1
  56. package/dist/chunks/{checkbox-C714rIb1.es.js → checkbox-CputcCVr.es.js} +2 -2
  57. package/dist/chunks/{checkbox-C714rIb1.es.js.map → checkbox-CputcCVr.es.js.map} +1 -1
  58. package/dist/chunks/{collapsible-motion-CfzVnfFa.es.js → collapsible-motion-DvtUDuxb.es.js} +2 -2
  59. package/dist/chunks/{collapsible-motion-CfzVnfFa.es.js.map → collapsible-motion-DvtUDuxb.es.js.map} +1 -1
  60. package/dist/chunks/combobox-Do4z66WO.cjs.js +2 -0
  61. package/dist/chunks/combobox-Do4z66WO.cjs.js.map +1 -0
  62. package/dist/chunks/{combobox-B_Qx3gRo.es.js → combobox-h1qOiDJD.es.js} +232 -222
  63. package/dist/chunks/combobox-h1qOiDJD.es.js.map +1 -0
  64. package/dist/chunks/data-table-CBZLbe9h.cjs.js +2 -0
  65. package/dist/chunks/data-table-CBZLbe9h.cjs.js.map +1 -0
  66. package/dist/chunks/{data-table-4Q4HP9cz.es.js → data-table-DA4SdIgU.es.js} +1186 -1192
  67. package/dist/chunks/data-table-DA4SdIgU.es.js.map +1 -0
  68. package/dist/chunks/{date-input-BYwVUYj2.es.js → date-input-Cd9q4qBj.es.js} +4 -4
  69. package/dist/chunks/{date-input-BYwVUYj2.es.js.map → date-input-Cd9q4qBj.es.js.map} +1 -1
  70. package/dist/chunks/{date-input-DnFinTEI.cjs.js → date-input-DkYcGwBy.cjs.js} +2 -2
  71. package/dist/chunks/{date-input-DnFinTEI.cjs.js.map → date-input-DkYcGwBy.cjs.js.map} +1 -1
  72. package/dist/chunks/date-picker-B8VVNXU3.es.js +228 -0
  73. package/dist/chunks/date-picker-B8VVNXU3.es.js.map +1 -0
  74. package/dist/chunks/date-picker-DQ5IZcRe.cjs.js +2 -0
  75. package/dist/chunks/date-picker-DQ5IZcRe.cjs.js.map +1 -0
  76. package/dist/chunks/date-range-picker-BnbKgO1E.es.js +364 -0
  77. package/dist/chunks/date-range-picker-BnbKgO1E.es.js.map +1 -0
  78. package/dist/chunks/date-range-picker-CO2HH0mY.cjs.js +2 -0
  79. package/dist/chunks/date-range-picker-CO2HH0mY.cjs.js.map +1 -0
  80. package/dist/chunks/{date-range-picker-field-DDfKxFxE.es.js → date-range-picker-field-BuI6eLMY.es.js} +4 -4
  81. package/dist/chunks/{date-range-picker-field-DDfKxFxE.es.js.map → date-range-picker-field-BuI6eLMY.es.js.map} +1 -1
  82. package/dist/chunks/{date-range-picker-field-EKBwiCfz.cjs.js → date-range-picker-field-DcIo1YzI.cjs.js} +2 -2
  83. package/dist/chunks/{date-range-picker-field-EKBwiCfz.cjs.js.map → date-range-picker-field-DcIo1YzI.cjs.js.map} +1 -1
  84. package/dist/chunks/{dialog-D70n2Z4v.es.js → dialog-DuS3dXVi.es.js} +89 -89
  85. package/dist/chunks/dialog-DuS3dXVi.es.js.map +1 -0
  86. package/dist/chunks/dialog-gyrFT8w0.cjs.js +2 -0
  87. package/dist/chunks/dialog-gyrFT8w0.cjs.js.map +1 -0
  88. package/dist/chunks/{draggable-list-hEe1Td1r.cjs.js → draggable-list-fvTG-VYt.cjs.js} +3 -3
  89. package/dist/chunks/{draggable-list-C5rPnMr8.es.js.map → draggable-list-fvTG-VYt.cjs.js.map} +1 -1
  90. package/dist/chunks/{draggable-list-C5rPnMr8.es.js → draggable-list-z7a7tu_F.es.js} +349 -339
  91. package/dist/chunks/draggable-list-z7a7tu_F.es.js.map +1 -0
  92. package/dist/chunks/{drawer-CyVQICgN.es.js → drawer-BPcEUbUt.es.js} +94 -94
  93. package/dist/chunks/drawer-BPcEUbUt.es.js.map +1 -0
  94. package/dist/chunks/drawer-DbSJSCl_.cjs.js +2 -0
  95. package/dist/chunks/drawer-DbSJSCl_.cjs.js.map +1 -0
  96. package/dist/chunks/{extract-style-props-BUbbGs7l.es.js → extract-style-props-BdibuNZ7.es.js} +2 -2
  97. package/dist/chunks/{extract-style-props-BUbbGs7l.es.js.map → extract-style-props-BdibuNZ7.es.js.map} +1 -1
  98. package/dist/chunks/field-errors-D1BQvoYg.es.js +219 -0
  99. package/dist/chunks/field-errors-D1BQvoYg.es.js.map +1 -0
  100. package/dist/chunks/field-errors-aqrV93vp.cjs.js +2 -0
  101. package/dist/chunks/field-errors-aqrV93vp.cjs.js.map +1 -0
  102. package/dist/chunks/{form-field-m9PmNrgJ.es.js → form-field-BfDU18h3.es.js} +7 -7
  103. package/dist/chunks/{form-field-m9PmNrgJ.es.js.map → form-field-BfDU18h3.es.js.map} +1 -1
  104. package/dist/chunks/{form-field-Cjpw2GQw.cjs.js → form-field-FdRNl2bZ.cjs.js} +2 -2
  105. package/dist/chunks/{form-field-Cjpw2GQw.cjs.js.map → form-field-FdRNl2bZ.cjs.js.map} +1 -1
  106. package/dist/chunks/{icon-button-CXRvSNxO.es.js → icon-button-CosIm3oY.es.js} +2 -2
  107. package/dist/chunks/{icon-button-CXRvSNxO.es.js.map → icon-button-CosIm3oY.es.js.map} +1 -1
  108. package/dist/chunks/{icon-toggle-button-BhzKiS9U.es.js → icon-toggle-button-8fX8JAXp.es.js} +2 -2
  109. package/dist/chunks/{icon-toggle-button-BhzKiS9U.es.js.map → icon-toggle-button-8fX8JAXp.es.js.map} +1 -1
  110. package/dist/chunks/{index-UVW-kSPu.es.js → index-C2qW4ynb.es.js} +3 -3
  111. package/dist/chunks/{index-UVW-kSPu.es.js.map → index-C2qW4ynb.es.js.map} +1 -1
  112. package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js +2 -0
  113. package/dist/chunks/loading-spinner-DYEYnI5N.cjs.js.map +1 -0
  114. package/dist/chunks/loading-spinner-gf62wtm3.es.js +53 -0
  115. package/dist/chunks/loading-spinner-gf62wtm3.es.js.map +1 -0
  116. package/dist/chunks/localized-field-D78l88ux.cjs.js +2 -0
  117. package/dist/chunks/localized-field-D78l88ux.cjs.js.map +1 -0
  118. package/dist/chunks/localized-field-DdeHzXdh.es.js +483 -0
  119. package/dist/chunks/localized-field-DdeHzXdh.es.js.map +1 -0
  120. package/dist/chunks/{menu-Bb7wAuM8.cjs.js → menu-Dno8yFDE.cjs.js} +2 -2
  121. package/dist/chunks/{menu-Bb7wAuM8.cjs.js.map → menu-Dno8yFDE.cjs.js.map} +1 -1
  122. package/dist/chunks/{menu-BMnaUtPU.es.js → menu-Zlnps1eW.es.js} +5 -5
  123. package/dist/chunks/{menu-BMnaUtPU.es.js.map → menu-Zlnps1eW.es.js.map} +1 -1
  124. package/dist/chunks/money-input-C9eVmgeL.cjs.js +2 -0
  125. package/dist/chunks/money-input-C9eVmgeL.cjs.js.map +1 -0
  126. package/dist/chunks/{money-input-D876xwrm.es.js → money-input-D65vrUj4.es.js} +119 -109
  127. package/dist/chunks/money-input-D65vrUj4.es.js.map +1 -0
  128. package/dist/chunks/{money-input-field-CkUVFul7.cjs.js → money-input-field-BGZ_9HKh.cjs.js} +2 -2
  129. package/dist/chunks/{money-input-field-CkUVFul7.cjs.js.map → money-input-field-BGZ_9HKh.cjs.js.map} +1 -1
  130. package/dist/chunks/{money-input-field-DsnyL34_.es.js → money-input-field-CSnaaDk-.es.js} +4 -4
  131. package/dist/chunks/{money-input-field-DsnyL34_.es.js.map → money-input-field-CSnaaDk-.es.js.map} +1 -1
  132. package/dist/chunks/{multiline-text-input-CHtsHJ-Y.es.js → multiline-text-input-CrDTYrM3.es.js} +3 -3
  133. package/dist/chunks/{multiline-text-input-CHtsHJ-Y.es.js.map → multiline-text-input-CrDTYrM3.es.js.map} +1 -1
  134. package/dist/chunks/{multiline-text-input-field-Czy-oJel.cjs.js → multiline-text-input-field-BX-w2v1Y.cjs.js} +2 -2
  135. package/dist/chunks/{multiline-text-input-field-Czy-oJel.cjs.js.map → multiline-text-input-field-BX-w2v1Y.cjs.js.map} +1 -1
  136. package/dist/chunks/{multiline-text-input-field-D5goi-7i.es.js → multiline-text-input-field-C6UTl_c8.es.js} +4 -4
  137. package/dist/chunks/{multiline-text-input-field-D5goi-7i.es.js.map → multiline-text-input-field-C6UTl_c8.es.js.map} +1 -1
  138. package/dist/chunks/nimbus-provider-Dnu5ohMR.cjs.js +2 -0
  139. package/dist/chunks/nimbus-provider-Dnu5ohMR.cjs.js.map +1 -0
  140. package/dist/chunks/nimbus-provider-S02SpkpM.es.js +101 -0
  141. package/dist/chunks/nimbus-provider-S02SpkpM.es.js.map +1 -0
  142. package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js +2 -0
  143. package/dist/chunks/normalize-messages-CaDzkuUm.cjs.js.map +1 -0
  144. package/dist/chunks/normalize-messages-D5T4I93D.es.js +52 -0
  145. package/dist/chunks/normalize-messages-D5T4I93D.es.js.map +1 -0
  146. package/dist/chunks/number-input-CR1hdy-B.cjs.js +2 -0
  147. package/dist/chunks/number-input-CR1hdy-B.cjs.js.map +1 -0
  148. package/dist/chunks/{number-input-BVq6t7j1.es.js → number-input-Dp13Mn-8.es.js} +224 -229
  149. package/dist/chunks/number-input-Dp13Mn-8.es.js.map +1 -0
  150. package/dist/chunks/{number-input-field-D8feRNKH.cjs.js → number-input-field-BDNpAP6t.cjs.js} +2 -2
  151. package/dist/chunks/{number-input-field-D8feRNKH.cjs.js.map → number-input-field-BDNpAP6t.cjs.js.map} +1 -1
  152. package/dist/chunks/{number-input-field-BqBsmhZg.es.js → number-input-field-C90uFO4e.es.js} +4 -4
  153. package/dist/chunks/{number-input-field-BqBsmhZg.es.js.map → number-input-field-C90uFO4e.es.js.map} +1 -1
  154. package/dist/chunks/pagination-BIxlGft7.cjs.js +2 -0
  155. package/dist/chunks/pagination-BIxlGft7.cjs.js.map +1 -0
  156. package/dist/chunks/pagination-BlrGdyD5.es.js +226 -0
  157. package/dist/chunks/pagination-BlrGdyD5.es.js.map +1 -0
  158. package/dist/chunks/password-input-8bkpGOIX.es.js +47 -0
  159. package/dist/chunks/password-input-8bkpGOIX.es.js.map +1 -0
  160. package/dist/chunks/password-input-BVbQ42NG.cjs.js +2 -0
  161. package/dist/chunks/password-input-BVbQ42NG.cjs.js.map +1 -0
  162. package/dist/chunks/{password-input-field-2myF6wdP.cjs.js → password-input-field-B5lWzWAQ.cjs.js} +2 -2
  163. package/dist/chunks/{password-input-field-2myF6wdP.cjs.js.map → password-input-field-B5lWzWAQ.cjs.js.map} +1 -1
  164. package/dist/chunks/{password-input-field-CgkfaI7E.es.js → password-input-field-XXaNUALk.es.js} +4 -4
  165. package/dist/chunks/{password-input-field-CgkfaI7E.es.js.map → password-input-field-XXaNUALk.es.js.map} +1 -1
  166. package/dist/chunks/{popover-MW_SlCEP.es.js → popover-CuA9VugH.es.js} +2 -2
  167. package/dist/chunks/{popover-MW_SlCEP.es.js.map → popover-CuA9VugH.es.js.map} +1 -1
  168. package/dist/chunks/{popover-2KxMEf0s.cjs.js → popover-Dhg--8YC.cjs.js} +2 -2
  169. package/dist/chunks/{popover-2KxMEf0s.cjs.js.map → popover-Dhg--8YC.cjs.js.map} +1 -1
  170. package/dist/chunks/{progress-bar-QL-876RP.es.js → progress-bar-C2ZnGdLv.es.js} +2 -2
  171. package/dist/chunks/{progress-bar-QL-876RP.es.js.map → progress-bar-C2ZnGdLv.es.js.map} +1 -1
  172. package/dist/chunks/{radio-input-CjJwVVHd.es.js → radio-input-DV-hhL4S.es.js} +8 -8
  173. package/dist/chunks/{radio-input-CjJwVVHd.es.js.map → radio-input-DV-hhL4S.es.js.map} +1 -1
  174. package/dist/chunks/range-calendar-CEIaa08T.es.js +229 -0
  175. package/dist/chunks/range-calendar-CEIaa08T.es.js.map +1 -0
  176. package/dist/chunks/range-calendar-Dq5Gtsb6.cjs.js +2 -0
  177. package/dist/chunks/range-calendar-Dq5Gtsb6.cjs.js.map +1 -0
  178. package/dist/chunks/rich-text-input-CRGUa5d2.es.js +1200 -0
  179. package/dist/chunks/rich-text-input-CRGUa5d2.es.js.map +1 -0
  180. package/dist/chunks/rich-text-input-Dml5F7pU.cjs.js +4 -0
  181. package/dist/chunks/rich-text-input-Dml5F7pU.cjs.js.map +1 -0
  182. package/dist/chunks/scoped-search-input-CSpFefUJ.es.js +147 -0
  183. package/dist/chunks/scoped-search-input-CSpFefUJ.es.js.map +1 -0
  184. package/dist/chunks/scoped-search-input-DKCK7idN.cjs.js +2 -0
  185. package/dist/chunks/scoped-search-input-DKCK7idN.cjs.js.map +1 -0
  186. package/dist/chunks/{search-input-CdiPpvIA.es.js → search-input-BDUJ48BC.es.js} +147 -147
  187. package/dist/chunks/search-input-BDUJ48BC.es.js.map +1 -0
  188. package/dist/chunks/search-input-BNXlpYtP.cjs.js +2 -0
  189. package/dist/chunks/search-input-BNXlpYtP.cjs.js.map +1 -0
  190. package/dist/chunks/{search-input-field-CxbiRQfV.es.js → search-input-field-CEemw2P1.es.js} +4 -4
  191. package/dist/chunks/{search-input-field-CxbiRQfV.es.js.map → search-input-field-CEemw2P1.es.js.map} +1 -1
  192. package/dist/chunks/{search-input-field-CBzwVEI3.cjs.js → search-input-field-v60x1oiw.cjs.js} +2 -2
  193. package/dist/chunks/{search-input-field-CBzwVEI3.cjs.js.map → search-input-field-v60x1oiw.cjs.js.map} +1 -1
  194. package/dist/chunks/{select-DrkplYbs.es.js → select-D9yYDW0d.es.js} +243 -243
  195. package/dist/chunks/select-D9yYDW0d.es.js.map +1 -0
  196. package/dist/chunks/select-Dq_6o0BB.cjs.js +2 -0
  197. package/dist/chunks/select-Dq_6o0BB.cjs.js.map +1 -0
  198. package/dist/chunks/{separator-CN_ly_kW.es.js → separator-BJ9k_D4l.es.js} +4 -4
  199. package/dist/chunks/{separator-CN_ly_kW.es.js.map → separator-BJ9k_D4l.es.js.map} +1 -1
  200. package/dist/chunks/split-button-B4gVhpP9.cjs.js +2 -0
  201. package/dist/chunks/split-button-B4gVhpP9.cjs.js.map +1 -0
  202. package/dist/chunks/split-button-C94SY3qF.es.js +106 -0
  203. package/dist/chunks/split-button-C94SY3qF.es.js.map +1 -0
  204. package/dist/chunks/{switch-B_xUN9Bs.es.js → switch-Nn1Fbk5O.es.js} +3 -3
  205. package/dist/chunks/{switch-B_xUN9Bs.es.js.map → switch-Nn1Fbk5O.es.js.map} +1 -1
  206. package/dist/chunks/{tabs-CkZr6Jmu.es.js → tabs-D0OPeQ_J.es.js} +10 -10
  207. package/dist/chunks/{tabs-CkZr6Jmu.es.js.map → tabs-D0OPeQ_J.es.js.map} +1 -1
  208. package/dist/chunks/{tag-group-DrXuPS-n.es.js → tag-group-BE8d6xcP.es.js} +208 -208
  209. package/dist/chunks/tag-group-BE8d6xcP.es.js.map +1 -0
  210. package/dist/chunks/tag-group-BI8_32rM.cjs.js +2 -0
  211. package/dist/chunks/tag-group-BI8_32rM.cjs.js.map +1 -0
  212. package/dist/chunks/{text-input-BJzS6xDD.es.js → text-input-CCiZeQad.es.js} +3 -3
  213. package/dist/chunks/{text-input-BJzS6xDD.es.js.map → text-input-CCiZeQad.es.js.map} +1 -1
  214. package/dist/chunks/{text-input-field-D5-C6-_a.es.js → text-input-field-6Cj35cYL.es.js} +4 -4
  215. package/dist/chunks/{text-input-field-D5-C6-_a.es.js.map → text-input-field-6Cj35cYL.es.js.map} +1 -1
  216. package/dist/chunks/{text-input-field-ecy-VdRB.cjs.js → text-input-field-Cmht3hDK.cjs.js} +2 -2
  217. package/dist/chunks/{text-input-field-ecy-VdRB.cjs.js.map → text-input-field-Cmht3hDK.cjs.js.map} +1 -1
  218. package/dist/chunks/{time-input-v2Tg1CRp.cjs.js → time-input-9Q5vV4UD.cjs.js} +2 -2
  219. package/dist/chunks/{time-input-v2Tg1CRp.cjs.js.map → time-input-9Q5vV4UD.cjs.js.map} +1 -1
  220. package/dist/chunks/{time-input-DbWrpALN.es.js → time-input-CCuIFoY2.es.js} +4 -4
  221. package/dist/chunks/{time-input-DbWrpALN.es.js.map → time-input-CCuIFoY2.es.js.map} +1 -1
  222. package/dist/chunks/{toggle-button-DsGaTWXb.es.js → toggle-button-UcXy5q2C.es.js} +3 -3
  223. package/dist/chunks/{toggle-button-DsGaTWXb.es.js.map → toggle-button-UcXy5q2C.es.js.map} +1 -1
  224. package/dist/chunks/{toolbar-CyVt8Wsi.es.js → toolbar-C7-6gqba.es.js} +3 -3
  225. package/dist/chunks/{toolbar-CyVt8Wsi.es.js.map → toolbar-C7-6gqba.es.js.map} +1 -1
  226. package/dist/chunks/{useGridListItem-CoQB2TMS.cjs.js → useGridListItem-Bjqm2KGe.cjs.js} +2 -2
  227. package/dist/chunks/{useGridListItem-CoQB2TMS.cjs.js.map → useGridListItem-Bjqm2KGe.cjs.js.map} +1 -1
  228. package/dist/chunks/{useGridListItem-BghCdwwN.es.js → useGridListItem-CJrr2QNO.es.js} +4 -4
  229. package/dist/chunks/{useGridListItem-BghCdwwN.es.js.map → useGridListItem-CJrr2QNO.es.js.map} +1 -1
  230. package/dist/chunks/{useListState-6ejgSjM7.es.js → useListState-Dd0Mtev3.es.js} +2 -2
  231. package/dist/chunks/{useListState-6ejgSjM7.es.js.map → useListState-Dd0Mtev3.es.js.map} +1 -1
  232. package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js +2 -0
  233. package/dist/chunks/useLocalizedStringFormatter-CJ-iYW1Z.cjs.js.map +1 -0
  234. package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js +53 -0
  235. package/dist/chunks/useLocalizedStringFormatter-DWb0DkHL.es.js.map +1 -0
  236. package/dist/chunks/{useSpinButton-YcV6vlPf.es.js → useSpinButton-D8B_x4uj.es.js} +2 -2
  237. package/dist/chunks/{useSpinButton-YcV6vlPf.es.js.map → useSpinButton-D8B_x4uj.es.js.map} +1 -1
  238. package/dist/chunks/{useSpinButton-Dyt6kG4o.cjs.js → useSpinButton-RB0J1fiP.cjs.js} +2 -2
  239. package/dist/chunks/{useSpinButton-Dyt6kG4o.cjs.js.map → useSpinButton-RB0J1fiP.cjs.js.map} +1 -1
  240. package/dist/components/accordion.es.js +2 -2
  241. package/dist/components/alert/alert.messages.d.ts +6 -0
  242. package/dist/components/alert/intl/de.d.ts +9 -0
  243. package/dist/components/alert/intl/en.d.ts +9 -0
  244. package/dist/components/alert/intl/es.d.ts +9 -0
  245. package/dist/components/alert/intl/fr-FR.d.ts +9 -0
  246. package/dist/components/alert/intl/pt-BR.d.ts +9 -0
  247. package/dist/components/alert.cjs +1 -1
  248. package/dist/components/alert.es.js +1 -1
  249. package/dist/components/avatar/avatar.messages.d.ts +6 -0
  250. package/dist/components/avatar/intl/de.d.ts +9 -0
  251. package/dist/components/avatar/intl/en.d.ts +9 -0
  252. package/dist/components/avatar/intl/es.d.ts +9 -0
  253. package/dist/components/avatar/intl/fr-FR.d.ts +9 -0
  254. package/dist/components/avatar/intl/pt-BR.d.ts +9 -0
  255. package/dist/components/avatar.cjs +1 -1
  256. package/dist/components/avatar.es.js +1 -1
  257. package/dist/components/button.es.js +1 -1
  258. package/dist/components/calendar/calendar.messages.d.ts +6 -0
  259. package/dist/components/calendar/intl/de.d.ts +12 -0
  260. package/dist/components/calendar/intl/en.d.ts +12 -0
  261. package/dist/components/calendar/intl/es.d.ts +12 -0
  262. package/dist/components/calendar/intl/fr-FR.d.ts +12 -0
  263. package/dist/components/calendar/intl/pt-BR.d.ts +12 -0
  264. package/dist/components/calendar.cjs +1 -1
  265. package/dist/components/calendar.es.js +1 -1
  266. package/dist/components/card.es.js +1 -1
  267. package/dist/components/checkbox.es.js +1 -1
  268. package/dist/components/collapsible-motion.es.js +1 -1
  269. package/dist/components/combo-box/combo-box.messages.d.ts +6 -0
  270. package/dist/components/combo-box/intl/de.d.ts +14 -0
  271. package/dist/components/combo-box/intl/en.d.ts +14 -0
  272. package/dist/components/combo-box/intl/es.d.ts +14 -0
  273. package/dist/components/combo-box/intl/fr-FR.d.ts +14 -0
  274. package/dist/components/combo-box/intl/pt-BR.d.ts +14 -0
  275. package/dist/components/combobox/combobox.messages.d.ts +6 -0
  276. package/dist/components/combobox/intl/de.d.ts +12 -0
  277. package/dist/components/combobox/intl/en.d.ts +12 -0
  278. package/dist/components/combobox/intl/es.d.ts +12 -0
  279. package/dist/components/combobox/intl/fr-FR.d.ts +12 -0
  280. package/dist/components/combobox/intl/pt-BR.d.ts +12 -0
  281. package/dist/components/combobox.cjs +1 -1
  282. package/dist/components/combobox.es.js +1 -1
  283. package/dist/components/components.es.js +1 -1
  284. package/dist/components/data-table/data-table.messages.d.ts +6 -0
  285. package/dist/components/data-table/intl/de.d.ts +39 -0
  286. package/dist/components/data-table/intl/en.d.ts +39 -0
  287. package/dist/components/data-table/intl/es.d.ts +39 -0
  288. package/dist/components/data-table/intl/fr-FR.d.ts +39 -0
  289. package/dist/components/data-table/intl/pt-BR.d.ts +39 -0
  290. package/dist/components/data-table.cjs +1 -1
  291. package/dist/components/data-table.es.js +1 -1
  292. package/dist/components/date-input.cjs +1 -1
  293. package/dist/components/date-input.es.js +1 -1
  294. package/dist/components/date-picker/date-picker.messages.d.ts +6 -0
  295. package/dist/components/date-picker/intl/de.d.ts +14 -0
  296. package/dist/components/date-picker/intl/en.d.ts +14 -0
  297. package/dist/components/date-picker/intl/es.d.ts +14 -0
  298. package/dist/components/date-picker/intl/fr-FR.d.ts +14 -0
  299. package/dist/components/date-picker/intl/pt-BR.d.ts +14 -0
  300. package/dist/components/date-picker.cjs +1 -1
  301. package/dist/components/date-picker.es.js +1 -1
  302. package/dist/components/date-range-picker/date-range-picker.messages.d.ts +6 -0
  303. package/dist/components/date-range-picker/intl/de.d.ts +21 -0
  304. package/dist/components/date-range-picker/intl/en.d.ts +21 -0
  305. package/dist/components/date-range-picker/intl/es.d.ts +21 -0
  306. package/dist/components/date-range-picker/intl/fr-FR.d.ts +21 -0
  307. package/dist/components/date-range-picker/intl/pt-BR.d.ts +21 -0
  308. package/dist/components/date-range-picker-field.cjs +1 -1
  309. package/dist/components/date-range-picker-field.es.js +1 -1
  310. package/dist/components/date-range-picker.cjs +1 -1
  311. package/dist/components/date-range-picker.es.js +1 -1
  312. package/dist/components/dialog/dialog.messages.d.ts +6 -0
  313. package/dist/components/dialog/intl/de.d.ts +9 -0
  314. package/dist/components/dialog/intl/en.d.ts +9 -0
  315. package/dist/components/dialog/intl/es.d.ts +9 -0
  316. package/dist/components/dialog/intl/fr-FR.d.ts +9 -0
  317. package/dist/components/dialog/intl/pt-BR.d.ts +9 -0
  318. package/dist/components/dialog.cjs +1 -1
  319. package/dist/components/dialog.es.js +1 -1
  320. package/dist/components/draggable-list/draggable-list.messages.d.ts +6 -0
  321. package/dist/components/draggable-list/intl/de.d.ts +10 -0
  322. package/dist/components/draggable-list/intl/en.d.ts +10 -0
  323. package/dist/components/draggable-list/intl/es.d.ts +10 -0
  324. package/dist/components/draggable-list/intl/fr-FR.d.ts +10 -0
  325. package/dist/components/draggable-list/intl/pt-BR.d.ts +10 -0
  326. package/dist/components/draggable-list.cjs +1 -1
  327. package/dist/components/draggable-list.es.js +1 -1
  328. package/dist/components/drawer/drawer.messages.d.ts +6 -0
  329. package/dist/components/drawer/intl/de.d.ts +9 -0
  330. package/dist/components/drawer/intl/en.d.ts +9 -0
  331. package/dist/components/drawer/intl/es.d.ts +9 -0
  332. package/dist/components/drawer/intl/fr-FR.d.ts +9 -0
  333. package/dist/components/drawer/intl/pt-BR.d.ts +9 -0
  334. package/dist/components/drawer.cjs +1 -1
  335. package/dist/components/drawer.es.js +1 -1
  336. package/dist/components/field-errors/field-errors.d.ts +1 -1
  337. package/dist/components/field-errors/field-errors.messages.d.ts +6 -0
  338. package/dist/components/field-errors/intl/de.d.ts +23 -0
  339. package/dist/components/field-errors/intl/en.d.ts +23 -0
  340. package/dist/components/field-errors/intl/es.d.ts +23 -0
  341. package/dist/components/field-errors/intl/fr-FR.d.ts +23 -0
  342. package/dist/components/field-errors/intl/pt-BR.d.ts +23 -0
  343. package/dist/components/field-errors.cjs +1 -1
  344. package/dist/components/field-errors.es.js +1 -1
  345. package/dist/components/fields.cjs +1 -1
  346. package/dist/components/fields.es.js +7 -7
  347. package/dist/components/form-field.cjs +1 -1
  348. package/dist/components/form-field.es.js +1 -1
  349. package/dist/components/icon-button.es.js +1 -1
  350. package/dist/components/icon-toggle-button.es.js +1 -1
  351. package/dist/components/loading-spinner/intl/de.d.ts +9 -0
  352. package/dist/components/loading-spinner/intl/en.d.ts +9 -0
  353. package/dist/components/loading-spinner/intl/es.d.ts +9 -0
  354. package/dist/components/loading-spinner/intl/fr-FR.d.ts +9 -0
  355. package/dist/components/loading-spinner/intl/pt-BR.d.ts +9 -0
  356. package/dist/components/loading-spinner/loading-spinner.messages.d.ts +6 -0
  357. package/dist/components/loading-spinner.cjs +1 -1
  358. package/dist/components/loading-spinner.es.js +1 -1
  359. package/dist/components/localized-field/intl/de.d.ts +14 -0
  360. package/dist/components/localized-field/intl/en.d.ts +14 -0
  361. package/dist/components/localized-field/intl/es.d.ts +14 -0
  362. package/dist/components/localized-field/intl/fr-FR.d.ts +14 -0
  363. package/dist/components/localized-field/intl/pt-BR.d.ts +14 -0
  364. package/dist/components/localized-field/localized-field.messages.d.ts +6 -0
  365. package/dist/components/localized-field.cjs +1 -1
  366. package/dist/components/localized-field.es.js +1 -1
  367. package/dist/components/money-input/intl/de.d.ts +11 -0
  368. package/dist/components/money-input/intl/en.d.ts +11 -0
  369. package/dist/components/money-input/intl/es.d.ts +11 -0
  370. package/dist/components/money-input/intl/fr-FR.d.ts +11 -0
  371. package/dist/components/money-input/intl/pt-BR.d.ts +11 -0
  372. package/dist/components/money-input/money-input.messages.d.ts +6 -0
  373. package/dist/components/money-input-field.cjs +1 -1
  374. package/dist/components/money-input-field.es.js +1 -1
  375. package/dist/components/money-input.cjs +1 -1
  376. package/dist/components/money-input.es.js +1 -1
  377. package/dist/components/multiline-text-input-field.cjs +1 -1
  378. package/dist/components/multiline-text-input-field.es.js +1 -1
  379. package/dist/components/multiline-text-input.es.js +1 -1
  380. package/dist/components/nimbus-provider/index.d.ts +0 -1
  381. package/dist/components/nimbus-provider/nimbus-provider.d.ts +1 -0
  382. package/dist/components/nimbus-provider.cjs +1 -1
  383. package/dist/components/nimbus-provider.es.js +1 -3
  384. package/dist/components/nimbus-provider.es.js.map +1 -1
  385. package/dist/components/number-input/intl/de.d.ts +10 -0
  386. package/dist/components/number-input/intl/en.d.ts +10 -0
  387. package/dist/components/number-input/intl/es.d.ts +10 -0
  388. package/dist/components/number-input/intl/fr-FR.d.ts +10 -0
  389. package/dist/components/number-input/intl/pt-BR.d.ts +10 -0
  390. package/dist/components/number-input/number-input.messages.d.ts +6 -0
  391. package/dist/components/number-input-field.cjs +1 -1
  392. package/dist/components/number-input-field.es.js +1 -1
  393. package/dist/components/number-input.cjs +1 -1
  394. package/dist/components/number-input.es.js +1 -1
  395. package/dist/components/pagination/intl/de.d.ts +16 -0
  396. package/dist/components/pagination/intl/en.d.ts +16 -0
  397. package/dist/components/pagination/intl/es.d.ts +16 -0
  398. package/dist/components/pagination/intl/fr-FR.d.ts +16 -0
  399. package/dist/components/pagination/intl/pt-BR.d.ts +16 -0
  400. package/dist/components/pagination/pagination.messages.d.ts +6 -0
  401. package/dist/components/pagination.cjs +1 -1
  402. package/dist/components/pagination.es.js +1 -1
  403. package/dist/components/password-input/intl/de.d.ts +10 -0
  404. package/dist/components/password-input/intl/en.d.ts +10 -0
  405. package/dist/components/password-input/intl/es.d.ts +10 -0
  406. package/dist/components/password-input/intl/fr-FR.d.ts +10 -0
  407. package/dist/components/password-input/intl/pt-BR.d.ts +10 -0
  408. package/dist/components/password-input/password-input.messages.d.ts +6 -0
  409. package/dist/components/password-input-field.cjs +1 -1
  410. package/dist/components/password-input-field.es.js +1 -1
  411. package/dist/components/password-input.cjs +1 -1
  412. package/dist/components/password-input.es.js +1 -1
  413. package/dist/components/patterns.cjs +1 -1
  414. package/dist/components/patterns.es.js +7 -7
  415. package/dist/components/popover.cjs +1 -1
  416. package/dist/components/popover.es.js +1 -1
  417. package/dist/components/progress-bar.es.js +1 -1
  418. package/dist/components/radio-input.es.js +1 -1
  419. package/dist/components/range-calendar/intl/de.d.ts +12 -0
  420. package/dist/components/range-calendar/intl/en.d.ts +12 -0
  421. package/dist/components/range-calendar/intl/es.d.ts +12 -0
  422. package/dist/components/range-calendar/intl/fr-FR.d.ts +12 -0
  423. package/dist/components/range-calendar/intl/pt-BR.d.ts +12 -0
  424. package/dist/components/range-calendar/range-calendar.messages.d.ts +6 -0
  425. package/dist/components/range-calendar.cjs +1 -1
  426. package/dist/components/range-calendar.es.js +1 -1
  427. package/dist/components/rich-text-input/constants/text-styles.d.ts +2 -3
  428. package/dist/components/rich-text-input/intl/de.d.ts +32 -0
  429. package/dist/components/rich-text-input/intl/en.d.ts +32 -0
  430. package/dist/components/rich-text-input/intl/es.d.ts +32 -0
  431. package/dist/components/rich-text-input/intl/fr-FR.d.ts +32 -0
  432. package/dist/components/rich-text-input/intl/pt-BR.d.ts +32 -0
  433. package/dist/components/rich-text-input/rich-text-input.messages.d.ts +6 -0
  434. package/dist/components/rich-text-input.cjs +1 -1
  435. package/dist/components/rich-text-input.es.js +1 -1
  436. package/dist/components/scoped-search-input/intl/de.d.ts +10 -0
  437. package/dist/components/scoped-search-input/intl/en.d.ts +10 -0
  438. package/dist/components/scoped-search-input/intl/es.d.ts +10 -0
  439. package/dist/components/scoped-search-input/intl/fr-FR.d.ts +10 -0
  440. package/dist/components/scoped-search-input/intl/pt-BR.d.ts +10 -0
  441. package/dist/components/scoped-search-input/scoped-search-input.messages.d.ts +6 -0
  442. package/dist/components/scoped-search-input.cjs +1 -1
  443. package/dist/components/scoped-search-input.es.js +1 -1
  444. package/dist/components/search-input/intl/de.d.ts +9 -0
  445. package/dist/components/search-input/intl/en.d.ts +9 -0
  446. package/dist/components/search-input/intl/es.d.ts +9 -0
  447. package/dist/components/search-input/intl/fr-FR.d.ts +9 -0
  448. package/dist/components/search-input/intl/pt-BR.d.ts +9 -0
  449. package/dist/components/search-input/search-input.messages.d.ts +6 -0
  450. package/dist/components/search-input-field.cjs +1 -1
  451. package/dist/components/search-input-field.es.js +1 -1
  452. package/dist/components/search-input.cjs +1 -1
  453. package/dist/components/search-input.es.js +1 -1
  454. package/dist/components/select/intl/de.d.ts +9 -0
  455. package/dist/components/select/intl/en.d.ts +9 -0
  456. package/dist/components/select/intl/es.d.ts +9 -0
  457. package/dist/components/select/intl/fr-FR.d.ts +9 -0
  458. package/dist/components/select/intl/pt-BR.d.ts +9 -0
  459. package/dist/components/select/select.messages.d.ts +6 -0
  460. package/dist/components/select.cjs +1 -1
  461. package/dist/components/select.es.js +1 -1
  462. package/dist/components/separator.es.js +1 -1
  463. package/dist/components/split-button/intl/de.d.ts +9 -0
  464. package/dist/components/split-button/intl/en.d.ts +9 -0
  465. package/dist/components/split-button/intl/es.d.ts +9 -0
  466. package/dist/components/split-button/intl/fr-FR.d.ts +9 -0
  467. package/dist/components/split-button/intl/pt-BR.d.ts +9 -0
  468. package/dist/components/split-button/split-button.messages.d.ts +6 -0
  469. package/dist/components/split-button.cjs +1 -1
  470. package/dist/components/split-button.es.js +1 -1
  471. package/dist/components/switch.es.js +1 -1
  472. package/dist/components/tabs.es.js +1 -1
  473. package/dist/components/tag-group/intl/de.d.ts +9 -0
  474. package/dist/components/tag-group/intl/en.d.ts +9 -0
  475. package/dist/components/tag-group/intl/es.d.ts +9 -0
  476. package/dist/components/tag-group/intl/fr-FR.d.ts +9 -0
  477. package/dist/components/tag-group/intl/pt-BR.d.ts +9 -0
  478. package/dist/components/tag-group/tag-group.messages.d.ts +6 -0
  479. package/dist/components/tag-group.cjs +1 -1
  480. package/dist/components/tag-group.es.js +1 -1
  481. package/dist/components/text-input-field.cjs +1 -1
  482. package/dist/components/text-input-field.es.js +1 -1
  483. package/dist/components/text-input.es.js +1 -1
  484. package/dist/components/time-input.cjs +1 -1
  485. package/dist/components/time-input.es.js +1 -1
  486. package/dist/components/toggle-button.es.js +1 -1
  487. package/dist/components/toolbar.es.js +1 -1
  488. package/dist/hooks/index.d.ts +1 -0
  489. package/dist/hooks/use-localized-string-formatter/index.d.ts +1 -0
  490. package/dist/hooks/use-localized-string-formatter/use-localized-string-formatter.d.ts +56 -0
  491. package/dist/index.cjs +1 -1
  492. package/dist/index.cjs.map +1 -1
  493. package/dist/index.es.js +180 -180
  494. package/dist/utils/normalize-messages.d.ts +10 -0
  495. package/package.json +6 -6
  496. package/dist/chunks/DateField-D_ywBfBB.cjs.js +0 -2
  497. package/dist/chunks/alert-D4tX-OcR.cjs.js +0 -2
  498. package/dist/chunks/alert-D4tX-OcR.cjs.js.map +0 -1
  499. package/dist/chunks/alert-DVNh9ZZh.es.js.map +0 -1
  500. package/dist/chunks/avatar-Dx_Cda2J.es.js +0 -47
  501. package/dist/chunks/avatar-Dx_Cda2J.es.js.map +0 -1
  502. package/dist/chunks/avatar-wRR1leVi.cjs.js +0 -2
  503. package/dist/chunks/avatar-wRR1leVi.cjs.js.map +0 -1
  504. package/dist/chunks/calendar-B8v5EUVK.es.js +0 -217
  505. package/dist/chunks/calendar-B8v5EUVK.es.js.map +0 -1
  506. package/dist/chunks/calendar-CiVIhTnF.cjs.js +0 -2
  507. package/dist/chunks/calendar-CiVIhTnF.cjs.js.map +0 -1
  508. package/dist/chunks/combobox-B_Qx3gRo.es.js.map +0 -1
  509. package/dist/chunks/combobox-DInM9yq3.cjs.js +0 -2
  510. package/dist/chunks/combobox-DInM9yq3.cjs.js.map +0 -1
  511. package/dist/chunks/data-table-4Q4HP9cz.es.js.map +0 -1
  512. package/dist/chunks/data-table-BIRJ5k7_.cjs.js +0 -2
  513. package/dist/chunks/data-table-BIRJ5k7_.cjs.js.map +0 -1
  514. package/dist/chunks/date-picker-BpjiOuWS.es.js +0 -218
  515. package/dist/chunks/date-picker-BpjiOuWS.es.js.map +0 -1
  516. package/dist/chunks/date-picker-Dut8OHjl.cjs.js +0 -2
  517. package/dist/chunks/date-picker-Dut8OHjl.cjs.js.map +0 -1
  518. package/dist/chunks/date-range-picker-CHZHQHZe.cjs.js +0 -2
  519. package/dist/chunks/date-range-picker-CHZHQHZe.cjs.js.map +0 -1
  520. package/dist/chunks/date-range-picker-f-_fag4t.es.js +0 -356
  521. package/dist/chunks/date-range-picker-f-_fag4t.es.js.map +0 -1
  522. package/dist/chunks/dialog-CJIPm3PE.cjs.js +0 -2
  523. package/dist/chunks/dialog-CJIPm3PE.cjs.js.map +0 -1
  524. package/dist/chunks/dialog-D70n2Z4v.es.js.map +0 -1
  525. package/dist/chunks/draggable-list-hEe1Td1r.cjs.js.map +0 -1
  526. package/dist/chunks/drawer-Bl0M98va.cjs.js +0 -2
  527. package/dist/chunks/drawer-Bl0M98va.cjs.js.map +0 -1
  528. package/dist/chunks/drawer-CyVQICgN.es.js.map +0 -1
  529. package/dist/chunks/field-errors-ClQprmQz.es.js +0 -213
  530. package/dist/chunks/field-errors-ClQprmQz.es.js.map +0 -1
  531. package/dist/chunks/field-errors-D2re_C_c.cjs.js +0 -2
  532. package/dist/chunks/field-errors-D2re_C_c.cjs.js.map +0 -1
  533. package/dist/chunks/loading-spinner-DF6c3rBM.es.js +0 -59
  534. package/dist/chunks/loading-spinner-DF6c3rBM.es.js.map +0 -1
  535. package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js +0 -2
  536. package/dist/chunks/loading-spinner-DsKcjJ2b.cjs.js.map +0 -1
  537. package/dist/chunks/localized-field-B1qPoFn3.es.js +0 -470
  538. package/dist/chunks/localized-field-B1qPoFn3.es.js.map +0 -1
  539. package/dist/chunks/localized-field-DYJRI5TY.cjs.js +0 -2
  540. package/dist/chunks/localized-field-DYJRI5TY.cjs.js.map +0 -1
  541. package/dist/chunks/money-input-0nJup2NP.cjs.js +0 -2
  542. package/dist/chunks/money-input-0nJup2NP.cjs.js.map +0 -1
  543. package/dist/chunks/money-input-D876xwrm.es.js.map +0 -1
  544. package/dist/chunks/nimbus-provider-CRTp8MQ2.es.js +0 -102
  545. package/dist/chunks/nimbus-provider-CRTp8MQ2.es.js.map +0 -1
  546. package/dist/chunks/nimbus-provider-pE_RwP9a.cjs.js +0 -2
  547. package/dist/chunks/nimbus-provider-pE_RwP9a.cjs.js.map +0 -1
  548. package/dist/chunks/number-input-BVq6t7j1.es.js.map +0 -1
  549. package/dist/chunks/number-input-ClPH8jSw.cjs.js +0 -2
  550. package/dist/chunks/number-input-ClPH8jSw.cjs.js.map +0 -1
  551. package/dist/chunks/pagination-BxHJknCr.es.js +0 -210
  552. package/dist/chunks/pagination-BxHJknCr.es.js.map +0 -1
  553. package/dist/chunks/pagination-DCC0XyhX.cjs.js +0 -2
  554. package/dist/chunks/pagination-DCC0XyhX.cjs.js.map +0 -1
  555. package/dist/chunks/password-input-DSv5pS26.cjs.js +0 -2
  556. package/dist/chunks/password-input-DSv5pS26.cjs.js.map +0 -1
  557. package/dist/chunks/password-input-NQVqLKTo.es.js +0 -54
  558. package/dist/chunks/password-input-NQVqLKTo.es.js.map +0 -1
  559. package/dist/chunks/range-calendar-BybIyx-9.es.js +0 -219
  560. package/dist/chunks/range-calendar-BybIyx-9.es.js.map +0 -1
  561. package/dist/chunks/range-calendar-DFs8cfYP.cjs.js +0 -2
  562. package/dist/chunks/range-calendar-DFs8cfYP.cjs.js.map +0 -1
  563. package/dist/chunks/rich-text-input-CJuQruOT.cjs.js +0 -4
  564. package/dist/chunks/rich-text-input-CJuQruOT.cjs.js.map +0 -1
  565. package/dist/chunks/rich-text-input-DTaul6rg.es.js +0 -1193
  566. package/dist/chunks/rich-text-input-DTaul6rg.es.js.map +0 -1
  567. package/dist/chunks/scoped-search-input-C87JBFtg.es.js +0 -152
  568. package/dist/chunks/scoped-search-input-C87JBFtg.es.js.map +0 -1
  569. package/dist/chunks/scoped-search-input-Ck7qrfBS.cjs.js +0 -2
  570. package/dist/chunks/scoped-search-input-Ck7qrfBS.cjs.js.map +0 -1
  571. package/dist/chunks/search-input-CdiPpvIA.es.js.map +0 -1
  572. package/dist/chunks/search-input-CkVlnfvh.cjs.js +0 -2
  573. package/dist/chunks/search-input-CkVlnfvh.cjs.js.map +0 -1
  574. package/dist/chunks/select-DqTNXz4B.cjs.js +0 -2
  575. package/dist/chunks/select-DqTNXz4B.cjs.js.map +0 -1
  576. package/dist/chunks/select-DrkplYbs.es.js.map +0 -1
  577. package/dist/chunks/split-button--8mZUaqB.es.js +0 -106
  578. package/dist/chunks/split-button--8mZUaqB.es.js.map +0 -1
  579. package/dist/chunks/split-button-CN_kydZc.cjs.js +0 -2
  580. package/dist/chunks/split-button-CN_kydZc.cjs.js.map +0 -1
  581. package/dist/chunks/tag-group-CVLufmbd.cjs.js +0 -2
  582. package/dist/chunks/tag-group-CVLufmbd.cjs.js.map +0 -1
  583. package/dist/chunks/tag-group-DrXuPS-n.es.js.map +0 -1
  584. package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js +0 -97
  585. package/dist/chunks/useLocalizedStringFormatter-DaRRUvyV.es.js.map +0 -1
  586. package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js +0 -2
  587. package/dist/chunks/useLocalizedStringFormatter-kWoZGAh5.cjs.js.map +0 -1
  588. package/dist/components/combobox/combobox.i18n.d.ts +0 -22
@@ -0,0 +1,1200 @@
1
+ import { jsx as i, jsxs as d } from "react/jsx-runtime";
2
+ import { useCallback as R, useMemo as I, useRef as be, useImperativeHandle as De, useState as se, useEffect as Ke } from "react";
3
+ import { createSlotRecipeContext as Oe, mergeRefs as He, useSlotRecipe as Ne } from "@chakra-ui/react";
4
+ import { e as Pe } from "./extract-style-props-BdibuNZ7.es.js";
5
+ import { n as $e } from "./index-C2qW4ynb.es.js";
6
+ import { Transforms as E, Text as j, Element as _, Editor as b, Range as xe, createEditor as ze } from "slate";
7
+ import { ReactEditor as ne, useSlate as Z, withReact as _e, Slate as qe, Editable as Be } from "slate-react";
8
+ import { withHistory as Ue } from "slate-history";
9
+ import { $ as Ve } from "./useObjectRef-CaJ5pgjX.es.js";
10
+ import { I as B } from "./icon-toggle-button-8fX8JAXp.es.js";
11
+ import { G as ae } from "./group-CCBgdph2.es.js";
12
+ import { MoreHoriz as We, FormatStrikethrough as je, Code as Ge, KeyboardArrowDown as Xe, FormatBold as Ye, FormatItalic as Qe, FormatUnderlined as Ze, FormatListBulleted as Je, FormatListNumbered as et, Undo as tt, Redo as rt } from "@commercetools/nimbus-icons";
13
+ import { n as U, u as Se } from "./normalize-messages-D5T4I93D.es.js";
14
+ import { M as v } from "./menu-Zlnps1eW.es.js";
15
+ import { T as g } from "./tooltip-D3QrrizN.es.js";
16
+ import { I as oe } from "./icon-button-CosIm3oY.es.js";
17
+ import { B as $ } from "./box-DuBoAZvq.es.js";
18
+ import { T as A } from "./text-CIb_VDvO.es.js";
19
+ import { T as nt } from "./toolbar-C7-6gqba.es.js";
20
+ import { S as le } from "./separator-BJ9k_D4l.es.js";
21
+ import { T as ce } from "./toggle-button-group-BWpmMkEz.es.js";
22
+ import { V } from "./visually-hidden-Dj5CT-u_.es.js";
23
+ function Te(t) {
24
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
25
+ }
26
+ const { withProvider: ot, withContext: we } = /* @__PURE__ */ Oe({
27
+ key: "richTextInput"
28
+ }), it = /* @__PURE__ */ ot("div", "root"), st = /* @__PURE__ */ we("div", "toolbar"), at = /* @__PURE__ */ we("div", "editable"), ke = (t) => R(
29
+ (e) => () => {
30
+ const { selection: r } = t;
31
+ e(), r && !t.selection && E.select(t, r), ne.isFocused(t) || ne.focus(t);
32
+ },
33
+ [t]
34
+ ), ue = {
35
+ "mod+b": "bold",
36
+ "mod+i": "italic",
37
+ "mod+u": "underline",
38
+ "mod+`": "code"
39
+ }, X = {
40
+ placeholder: "Start typing...",
41
+ isDisabled: !1,
42
+ isReadOnly: !1,
43
+ autoFocus: !1
44
+ }, de = {
45
+ blockquote: "block-quote",
46
+ p: "paragraph",
47
+ pre: "code",
48
+ h1: "heading-one",
49
+ h2: "heading-two",
50
+ h3: "heading-three",
51
+ h4: "heading-four",
52
+ h5: "heading-five",
53
+ ul: "bulleted-list",
54
+ ol: "numbered-list",
55
+ li: "list-item",
56
+ a: "link"
57
+ }, he = {
58
+ strong: "bold",
59
+ b: "bold",
60
+ em: "italic",
61
+ i: "italic",
62
+ u: "underline",
63
+ code: "code",
64
+ sup: "superscript",
65
+ sub: "subscript",
66
+ del: "strikethrough",
67
+ s: "strikethrough"
68
+ }, Q = {
69
+ STRIKETHROUGH: "strikethrough",
70
+ CODE: "code",
71
+ SUPERSCRIPT: "superscript",
72
+ SUBSCRIPT: "subscript"
73
+ }, lt = [
74
+ Q.STRIKETHROUGH,
75
+ Q.CODE
76
+ ], ct = [
77
+ Q.SUPERSCRIPT,
78
+ Q.SUBSCRIPT
79
+ ], ut = (t) => [
80
+ {
81
+ id: "paragraph",
82
+ label: t("paragraph"),
83
+ props: {
84
+ textStyle: "md",
85
+ fontWeight: "500"
86
+ }
87
+ },
88
+ {
89
+ id: "heading-one",
90
+ label: t("headingOne"),
91
+ props: {
92
+ textStyle: "2xl",
93
+ fontWeight: "500"
94
+ }
95
+ },
96
+ {
97
+ id: "heading-two",
98
+ label: t("headingTwo"),
99
+ props: {
100
+ textStyle: "xl",
101
+ fontWeight: "500"
102
+ }
103
+ },
104
+ {
105
+ id: "heading-three",
106
+ label: t("headingThree"),
107
+ props: {
108
+ textStyle: "lg",
109
+ fontWeight: "500"
110
+ }
111
+ },
112
+ {
113
+ id: "heading-four",
114
+ label: t("headingFour"),
115
+ props: {
116
+ textStyle: "md",
117
+ fontWeight: "500"
118
+ }
119
+ },
120
+ {
121
+ id: "heading-five",
122
+ label: t("headingFive"),
123
+ props: {
124
+ textStyle: "xs",
125
+ fontWeight: "500"
126
+ }
127
+ },
128
+ {
129
+ id: "block-quote",
130
+ label: t("quote"),
131
+ props: {
132
+ textStyle: "md",
133
+ fontWeight: "400"
134
+ }
135
+ }
136
+ ], dt = [
137
+ "heading-one",
138
+ "heading-two",
139
+ "heading-three",
140
+ "heading-four",
141
+ "heading-five",
142
+ "block-quote"
143
+ ];
144
+ var ee, pe;
145
+ function ht() {
146
+ if (pe) return ee;
147
+ pe = 1;
148
+ var t = /["'&<>]/;
149
+ ee = e;
150
+ function e(r) {
151
+ var o = "" + r, n = t.exec(o);
152
+ if (!n)
153
+ return o;
154
+ var l, c = "", u = 0, h = 0;
155
+ for (u = n.index; u < o.length; u++) {
156
+ switch (o.charCodeAt(u)) {
157
+ case 34:
158
+ l = "&quot;";
159
+ break;
160
+ case 38:
161
+ l = "&amp;";
162
+ break;
163
+ case 39:
164
+ l = "&#39;";
165
+ break;
166
+ case 60:
167
+ l = "&lt;";
168
+ break;
169
+ case 62:
170
+ l = "&gt;";
171
+ break;
172
+ default:
173
+ continue;
174
+ }
175
+ h !== u && (c += o.substring(h, u)), h = u + 1, c += l;
176
+ }
177
+ return h !== u ? c + o.substring(h, u) : c;
178
+ }
179
+ return ee;
180
+ }
181
+ var pt = /* @__PURE__ */ ht();
182
+ const Y = /* @__PURE__ */ Te(pt), Ce = `​
183
+ `, O = () => [
184
+ {
185
+ type: "paragraph",
186
+ children: [{ text: "" }]
187
+ }
188
+ ], ft = (t) => t.map(ve).join(""), ve = (t) => {
189
+ if (j.isText(t)) {
190
+ const o = t;
191
+ let n = Y(o.text);
192
+ return o.bold && (n = `<strong>${n}</strong>`), o.code && (n = `<code>${n}</code>`), o.italic && (n = `<em>${n}</em>`), o.underline && (n = `<u>${n}</u>`), o.superscript && (n = `<sup>${n}</sup>`), o.subscript && (n = `<sub>${n}</sub>`), o.strikethrough && (n = `<del>${n}</del>`), n = n.replace(new RegExp(Ce, "g"), "<br>"), n;
193
+ }
194
+ const e = t.children.map(ve).join(""), r = t;
195
+ switch (r.type) {
196
+ case "block-quote":
197
+ return `<blockquote>${e}</blockquote>`;
198
+ case "paragraph":
199
+ return `<p>${e}</p>`;
200
+ case "code":
201
+ return `<pre><code>${e}</code></pre>`;
202
+ case "bulleted-list":
203
+ return `<ul>${e}</ul>`;
204
+ case "numbered-list":
205
+ return `<ol>${e}</ol>`;
206
+ case "list-item":
207
+ return `<li>${e}</li>`;
208
+ case "heading-one":
209
+ return `<h1>${e}</h1>`;
210
+ case "heading-two":
211
+ return `<h2>${e}</h2>`;
212
+ case "heading-three":
213
+ return `<h3>${e}</h3>`;
214
+ case "heading-four":
215
+ return `<h4>${e}</h4>`;
216
+ case "heading-five":
217
+ return `<h5>${e}</h5>`;
218
+ case "link": {
219
+ let o = "";
220
+ if (r.url) {
221
+ const l = gt(r.url);
222
+ o = ` href="${Y(l)}"`;
223
+ }
224
+ let n = "";
225
+ if (r.htmlAttributes && typeof r.htmlAttributes == "object")
226
+ for (const [l, c] of Object.entries(r.htmlAttributes))
227
+ l.toLowerCase().startsWith("on") || (n += ` ${Y(l)}="${Y(String(c))}"`);
228
+ return `<a${o}${n}>${e}</a>`;
229
+ }
230
+ default:
231
+ return e;
232
+ }
233
+ }, ie = (t) => {
234
+ if (!t || t.trim() === "")
235
+ return O();
236
+ try {
237
+ if (t.includes("<p>") || t.includes("<h") || t.includes("<div>") || t.includes("<blockquote>") || t.includes("<ul>") || t.includes("<ol>")) {
238
+ const r = new DOMParser().parseFromString(t, "text/html").body, o = Array.from(r.childNodes).map(Ee).filter(Boolean);
239
+ return Fe(o);
240
+ } else
241
+ return [
242
+ {
243
+ type: "paragraph",
244
+ children: [{ text: t }]
245
+ }
246
+ ];
247
+ } catch (e) {
248
+ return console.warn("Failed to parse HTML:", e), O();
249
+ }
250
+ }, Ee = (t) => {
251
+ if (t.nodeType === Node.TEXT_NODE)
252
+ return (t.textContent || "").replace(/<br\s*\/?>/gi, Ce);
253
+ if (t.nodeType !== Node.ELEMENT_NODE)
254
+ return null;
255
+ const e = t, r = e.tagName.toLowerCase(), o = Array.from(e.childNodes).map(Ee).filter(Boolean);
256
+ if (r in de) {
257
+ const l = de[r], c = { type: l, children: [] };
258
+ if (l === "link") {
259
+ const u = e.getAttribute("href");
260
+ u && (c.url = u);
261
+ const h = {};
262
+ Array.from(e.attributes).forEach((f) => {
263
+ f.name !== "href" && !f.name.toLowerCase().startsWith("on") && (h[f.name] = f.value);
264
+ }), Object.keys(h).length > 0 && (c.htmlAttributes = h);
265
+ }
266
+ return c.children = mt(o), c;
267
+ }
268
+ if (r in he) {
269
+ const l = he[r];
270
+ return { text: te(o), [l]: !0 };
271
+ }
272
+ return r === "span" ? { text: te(o) } : { text: te(o) };
273
+ }, mt = (t) => {
274
+ const e = [];
275
+ for (const r of t)
276
+ typeof r == "string" ? r.trim() && e.push({ text: r }) : (r && j.isText(r) || r && _.isElement(r)) && e.push(r);
277
+ return e.length === 0 && e.push({ text: "" }), e;
278
+ }, Re = (t) => t.children.map((e) => j.isText(e) ? e.text : _.isElement(e) ? Re(e) : "").join(""), te = (t) => t.filter(Boolean).map((e) => typeof e == "string" ? e : e && typeof e == "object" && "text" in e ? e.text : e && typeof e == "object" && "children" in e ? Re(e) : String(e || "")).join(""), gt = (t) => {
279
+ const e = String(t).trim().toLowerCase();
280
+ return e.startsWith("javascript:") || e.startsWith("data:") || e.startsWith("vbscript:") ? "#" : String(t);
281
+ }, Fe = (t) => !Array.isArray(t) || t.length === 0 ? O() : t.map((e) => _.isElement(e) ? !e.children || e.children.length === 0 ? { ...e, children: [{ text: "" }] } : e : {
282
+ type: "paragraph",
283
+ children: [{ text: String(e) }]
284
+ }), fe = (t) => {
285
+ try {
286
+ const e = new URL(t);
287
+ return e.protocol === "http:" || e.protocol === "https:";
288
+ } catch {
289
+ return !1;
290
+ }
291
+ }, me = ["bulleted-list", "numbered-list"], yt = [
292
+ "bold",
293
+ "code",
294
+ "italic",
295
+ "underline",
296
+ "superscript",
297
+ "subscript",
298
+ "strikethrough"
299
+ ], W = (t) => yt.includes(t), bt = (t, e) => W(e) ? t[e] === !0 : !1, D = (t, e) => {
300
+ const { selection: r } = t;
301
+ if (!r || xe.isCollapsed(r)) {
302
+ const o = b.marks(t);
303
+ if (o && W(e))
304
+ return o[e] === !0;
305
+ if (!r && t.children.length > 0) {
306
+ const n = t.children[0];
307
+ if (n.children && n.children.length > 0) {
308
+ const l = n.children[0];
309
+ if (j.isText(l) && W(e))
310
+ return l[e] === !0;
311
+ }
312
+ }
313
+ return !1;
314
+ }
315
+ try {
316
+ const o = Array.from(
317
+ b.nodes(t, {
318
+ at: r,
319
+ match: (n) => j.isText(n)
320
+ })
321
+ );
322
+ if (o.length === 0) {
323
+ const n = b.marks(t);
324
+ return !n || !W(e) ? !1 : n[e] === !0;
325
+ }
326
+ return o.every(([n]) => bt(n, e));
327
+ } catch {
328
+ const o = b.marks(t);
329
+ return !o || !W(e) ? !1 : o[e] === !0;
330
+ }
331
+ }, P = (t, e) => {
332
+ const { selection: r } = t;
333
+ if (r) {
334
+ const [o] = Array.from(
335
+ b.nodes(t, {
336
+ at: b.unhangRange(t, r),
337
+ match: (n) => !b.isEditor(n) && _.isElement(n) && n.type === e
338
+ })
339
+ );
340
+ return !!o;
341
+ }
342
+ return t.children.length > 0 ? t.children[0].type === e : !1;
343
+ }, K = (t, e) => {
344
+ D(t, e) ? b.removeMark(t, e) : b.addMark(t, e, !0);
345
+ }, re = (t, e) => {
346
+ const r = P(t, e), o = me.includes(e);
347
+ E.unwrapNodes(t, {
348
+ match: (l) => !b.isEditor(l) && _.isElement(l) && me.includes(l.type),
349
+ split: !0
350
+ });
351
+ let n;
352
+ if (r ? n = { type: "paragraph" } : o ? n = { type: "list-item" } : n = { type: e }, E.setNodes(t, n), !r && o) {
353
+ const l = { type: e, children: [] };
354
+ E.wrapNodes(t, l);
355
+ }
356
+ }, xt = (t) => {
357
+ ne.focus(t);
358
+ }, St = (t, e) => {
359
+ const r = ie(e);
360
+ E.delete(t, {
361
+ at: {
362
+ anchor: b.start(t, []),
363
+ focus: b.end(t, [])
364
+ }
365
+ }), E.insertNodes(t, r), E.select(t, b.start(t, []));
366
+ }, Tt = (t) => {
367
+ const { insertData: e, insertText: r, isInline: o } = t;
368
+ return t.isInline = (n) => n.type === "link" ? !0 : o(n), t.insertText = (n) => {
369
+ n && fe(n) ? ge(t, n) : r(n);
370
+ }, t.insertData = (n) => {
371
+ const l = n.getData("text/plain");
372
+ l && fe(l) ? ge(t, l) : e(n);
373
+ }, t;
374
+ }, wt = (t) => {
375
+ E.unwrapNodes(t, {
376
+ match: (e) => !b.isEditor(e) && _.isElement(e) && e.type === "link"
377
+ });
378
+ }, ge = (t, e) => {
379
+ P(t, "link") && wt(t);
380
+ const { selection: r } = t, o = r && xe.isCollapsed(r), n = {
381
+ type: "link",
382
+ url: e,
383
+ children: o ? [{ text: e }] : []
384
+ };
385
+ o ? E.insertNodes(t, n) : (E.wrapNodes(t, n, { split: !0 }), E.collapse(t, { edge: "end" }));
386
+ }, kt = ({
387
+ attributes: t,
388
+ children: e,
389
+ element: r
390
+ }) => {
391
+ const o = r, n = { textAlign: o.align };
392
+ switch (o.type) {
393
+ case "block-quote":
394
+ return /* @__PURE__ */ i("blockquote", { style: n, ...t, children: e });
395
+ case "bulleted-list":
396
+ return /* @__PURE__ */ i("ul", { style: n, ...t, children: e });
397
+ case "heading-one":
398
+ return /* @__PURE__ */ i("h1", { style: n, ...t, children: e });
399
+ case "heading-two":
400
+ return /* @__PURE__ */ i("h2", { style: n, ...t, children: e });
401
+ case "heading-three":
402
+ return /* @__PURE__ */ i("h3", { style: n, ...t, children: e });
403
+ case "heading-four":
404
+ return /* @__PURE__ */ i("h4", { style: n, ...t, children: e });
405
+ case "heading-five":
406
+ return /* @__PURE__ */ i("h5", { style: n, ...t, children: e });
407
+ case "list-item":
408
+ return /* @__PURE__ */ i("li", { style: n, ...t, children: e });
409
+ case "numbered-list":
410
+ return /* @__PURE__ */ i("ol", { style: n, ...t, children: e });
411
+ case "link":
412
+ return /* @__PURE__ */ i(
413
+ "a",
414
+ {
415
+ ...t,
416
+ href: o.url,
417
+ rel: "noopener noreferrer",
418
+ style: n,
419
+ children: e
420
+ }
421
+ );
422
+ default:
423
+ return /* @__PURE__ */ i("p", { style: n, ...t, children: e });
424
+ }
425
+ }, Ct = ({
426
+ attributes: t,
427
+ children: e,
428
+ leaf: r
429
+ }) => {
430
+ const o = r;
431
+ return o.bold && (e = /* @__PURE__ */ i("strong", { children: e })), o.code && (e = /* @__PURE__ */ i("code", { children: e })), o.italic && (e = /* @__PURE__ */ i("em", { children: e })), o.underline && (e = /* @__PURE__ */ i("u", { children: e })), o.strikethrough && (e = /* @__PURE__ */ i("del", { children: e })), o.superscript && (e = /* @__PURE__ */ i("sup", { children: e })), o.subscript && (e = /* @__PURE__ */ i("sub", { children: e })), /* @__PURE__ */ i("span", { ...t, children: e });
432
+ }, vt = {
433
+ placeholderCharacter: `​
434
+ `
435
+ }, Et = ({
436
+ withPreservedSelection: t
437
+ }) => {
438
+ const e = Z(), r = I(() => {
439
+ const c = [];
440
+ return lt.forEach((u) => {
441
+ D(e, u) && c.push(u);
442
+ }), new Set(c);
443
+ }, [e.selection, e.children, b.marks(e)]), o = I(() => {
444
+ const c = [];
445
+ return ct.forEach((u) => {
446
+ D(e, u) && c.push(u);
447
+ }), new Set(c);
448
+ }, [e.selection, e.children, b.marks(e)]), n = I(() => /* @__PURE__ */ new Set([
449
+ ...Array.from(r),
450
+ ...Array.from(o)
451
+ ]), [r, o]), l = R(
452
+ (c) => {
453
+ if (c === "all") return;
454
+ const u = Array.from(c), h = Array.from(n), f = u.filter(
455
+ (p) => !h.includes(p)
456
+ ), T = h.filter(
457
+ (p) => !u.includes(p)
458
+ );
459
+ [...f, ...T].forEach((p) => {
460
+ p === "superscript" || p === "subscript" ? t(() => {
461
+ const a = D(e, "superscript") ? "superscript" : D(e, "subscript") ? "subscript" : null;
462
+ f.includes(p) && a && a !== p && K(e, a), K(e, p);
463
+ })() : t(() => K(e, p))();
464
+ });
465
+ },
466
+ [e, n, t]
467
+ );
468
+ return {
469
+ selectedKeys: r,
470
+ selectedScriptKeys: o,
471
+ allSelectedKeys: n,
472
+ handleAllSelectionChange: l
473
+ };
474
+ }, Rt = {
475
+ bold: "Bold",
476
+ bulletedList: "Bulleted list",
477
+ code: "Code",
478
+ headingFive: "Heading 5",
479
+ headingFour: "Heading 4",
480
+ headingOne: "Heading 1",
481
+ headingThree: "Heading 3",
482
+ headingTwo: "Heading 2",
483
+ italic: "Italic",
484
+ listFormatting: "List formatting",
485
+ moreFormattingOptions: "More formatting options",
486
+ moreStyles: "More styles",
487
+ numberedList: "Numbered list",
488
+ paragraph: "Paragraph",
489
+ quote: "Quote",
490
+ redo: "Redo",
491
+ strikethrough: "Strikethrough",
492
+ subscript: "Subscript",
493
+ superscript: "Superscript",
494
+ textFormatting: "Text formatting",
495
+ textStyle: "Text style",
496
+ textStyleMenu: "Text style menu",
497
+ underline: "Underline",
498
+ undo: "Undo"
499
+ }, Ft = {
500
+ bold: "Fett",
501
+ bulletedList: "Aufzählungsliste",
502
+ code: "Code",
503
+ headingFive: "Überschrift 5",
504
+ headingFour: "Überschrift 4",
505
+ headingOne: "Überschrift 1",
506
+ headingThree: "Überschrift 3",
507
+ headingTwo: "Überschrift 2",
508
+ italic: "Kursiv",
509
+ listFormatting: "Listenformatierung",
510
+ moreFormattingOptions: "Weitere Formatierungsoptionen",
511
+ moreStyles: "Weitere Stile",
512
+ numberedList: "Nummerierte Liste",
513
+ paragraph: "Paragraph",
514
+ quote: "Zitat",
515
+ redo: "Wiederherstellen",
516
+ strikethrough: "Durchstreichen",
517
+ subscript: "Tiefgestellt",
518
+ superscript: "Hochgestellt",
519
+ textFormatting: "Textformatierung",
520
+ textStyle: "Textstil",
521
+ textStyleMenu: "Textstilmenü",
522
+ underline: "Unterstreichen",
523
+ undo: "Rückgängig machen"
524
+ }, Mt = {
525
+ bold: "Negrita",
526
+ bulletedList: "Lista no numerada",
527
+ code: "Código",
528
+ headingFive: "Encabezamiento 5",
529
+ headingFour: "Encabezamiento 4",
530
+ headingOne: "Encabezamiento 1",
531
+ headingThree: "Encabezamiento 3",
532
+ headingTwo: "Encabezamiento 2",
533
+ italic: "Cursiva",
534
+ listFormatting: "Formatear lista",
535
+ moreFormattingOptions: "Más opciones de formato",
536
+ moreStyles: "Más estilos",
537
+ numberedList: "Lista numerada",
538
+ paragraph: "Párrafo",
539
+ quote: "Presupuesto",
540
+ redo: "Repetir",
541
+ strikethrough: "Tachado",
542
+ subscript: "Subíndice",
543
+ superscript: "Índice superior",
544
+ textFormatting: "Formatear texto",
545
+ textStyle: "Estilo de texto",
546
+ textStyleMenu: "Menú de estilo de texto",
547
+ underline: "Subrayar",
548
+ undo: "Deshacer"
549
+ }, It = {
550
+ bold: "Gras",
551
+ bulletedList: "Liste à puces",
552
+ code: "Code",
553
+ headingFive: "En-tête 5",
554
+ headingFour: "En-tête 4",
555
+ headingOne: "En-tête 1",
556
+ headingThree: "En-tête 3",
557
+ headingTwo: "En-tête 2",
558
+ italic: "Italique",
559
+ listFormatting: "Formatage de la liste",
560
+ moreFormattingOptions: "Plus d'options de formatage",
561
+ moreStyles: "Plus de styles",
562
+ numberedList: "Liste numérotée",
563
+ paragraph: "Paragraphe",
564
+ quote: "Citation",
565
+ redo: "Rétablir",
566
+ strikethrough: "Barré",
567
+ subscript: "Indice",
568
+ superscript: "Exposant",
569
+ textFormatting: "Formatage du texte",
570
+ textStyle: "Style de texte",
571
+ textStyleMenu: "Menu style de texte",
572
+ underline: "Souligné",
573
+ undo: "Annuler"
574
+ }, Lt = {
575
+ bold: "Negrito",
576
+ bulletedList: "Lista com marcadores",
577
+ code: "Código",
578
+ headingFive: "Cabeçalho 5",
579
+ headingFour: "Cabeçalho 4",
580
+ headingOne: "Cabeçalho 1",
581
+ headingThree: "Cabeçalho 3",
582
+ headingTwo: "Cabeçalho 2",
583
+ italic: "Itálico",
584
+ listFormatting: "Formatação de lista",
585
+ moreFormattingOptions: "Mais opções de formatação",
586
+ moreStyles: "Mais estilos",
587
+ numberedList: "Lista numerada",
588
+ paragraph: "Parágrafo",
589
+ quote: "Cotação",
590
+ redo: "Refazer",
591
+ strikethrough: "Tachado",
592
+ subscript: "Subscrito",
593
+ superscript: "Sobrescrito",
594
+ textFormatting: "Formatação de texto",
595
+ textStyle: "Estilo de texto",
596
+ textStyleMenu: "Menu de estilo de texto",
597
+ underline: "Sublinhado",
598
+ undo: "Desfazer"
599
+ }, Me = {
600
+ en: /* @__PURE__ */ U(Rt),
601
+ de: /* @__PURE__ */ U(Ft),
602
+ es: /* @__PURE__ */ U(Mt),
603
+ "fr-FR": /* @__PURE__ */ U(It),
604
+ "pt-BR": /* @__PURE__ */ U(Lt)
605
+ }, At = ({ isDisabled: t = !1 }) => {
606
+ const e = Se(Me), r = Z(), o = ke(r), { allSelectedKeys: n, handleAllSelectionChange: l } = Et({
607
+ withPreservedSelection: o
608
+ });
609
+ return /* @__PURE__ */ d(
610
+ v.Root,
611
+ {
612
+ selectionMode: "multiple",
613
+ selectedKeys: n,
614
+ onSelectionChange: l,
615
+ children: [
616
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
617
+ /* @__PURE__ */ i(v.Trigger, { asChild: !0, children: /* @__PURE__ */ i(
618
+ oe,
619
+ {
620
+ size: "xs",
621
+ variant: "ghost",
622
+ "aria-label": e.format("moreFormattingOptions"),
623
+ isDisabled: t,
624
+ onMouseDown: (c) => c.preventDefault(),
625
+ children: /* @__PURE__ */ i(We, {})
626
+ }
627
+ ) }),
628
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("moreStyles") })
629
+ ] }),
630
+ /* @__PURE__ */ d(v.Content, { children: [
631
+ /* @__PURE__ */ i(v.Item, { id: "strikethrough", children: /* @__PURE__ */ d($, { slot: "label", display: "flex", alignItems: "center", gap: "200", children: [
632
+ /* @__PURE__ */ i(je, {}),
633
+ /* @__PURE__ */ i(A, { textStyle: "sm", children: e.format("strikethrough") })
634
+ ] }) }),
635
+ /* @__PURE__ */ i(v.Item, { id: "code", children: /* @__PURE__ */ d($, { slot: "label", display: "flex", alignItems: "center", gap: "200", children: [
636
+ /* @__PURE__ */ i(Ge, {}),
637
+ /* @__PURE__ */ i(A, { textStyle: "sm", children: e.format("code") })
638
+ ] }) }),
639
+ /* @__PURE__ */ i(v.Item, { id: "superscript", children: /* @__PURE__ */ d($, { slot: "label", display: "flex", alignItems: "center", gap: "200", children: [
640
+ /* @__PURE__ */ i(A, { children: "X²" }),
641
+ /* @__PURE__ */ i(A, { textStyle: "sm", children: e.format("superscript") })
642
+ ] }) }),
643
+ /* @__PURE__ */ i(v.Item, { id: "subscript", children: /* @__PURE__ */ d($, { slot: "label", display: "flex", alignItems: "center", gap: "200", children: [
644
+ /* @__PURE__ */ i(A, { children: "X₂" }),
645
+ /* @__PURE__ */ i(A, { textStyle: "sm", children: e.format("subscript") })
646
+ ] }) })
647
+ ] })
648
+ ]
649
+ }
650
+ );
651
+ };
652
+ var C = {}, ye;
653
+ function Dt() {
654
+ if (ye) return C;
655
+ ye = 1, Object.defineProperty(C, "__esModule", {
656
+ value: !0
657
+ });
658
+ for (var t = typeof window < "u" && /Mac|iPod|iPhone|iPad/.test(window.navigator.platform), e = {
659
+ alt: "altKey",
660
+ control: "ctrlKey",
661
+ meta: "metaKey",
662
+ shift: "shiftKey"
663
+ }, r = {
664
+ add: "+",
665
+ break: "pause",
666
+ cmd: "meta",
667
+ command: "meta",
668
+ ctl: "control",
669
+ ctrl: "control",
670
+ del: "delete",
671
+ down: "arrowdown",
672
+ esc: "escape",
673
+ ins: "insert",
674
+ left: "arrowleft",
675
+ mod: t ? "meta" : "control",
676
+ opt: "alt",
677
+ option: "alt",
678
+ return: "enter",
679
+ right: "arrowright",
680
+ space: " ",
681
+ spacebar: " ",
682
+ up: "arrowup",
683
+ win: "meta",
684
+ windows: "meta"
685
+ }, o = {
686
+ backspace: 8,
687
+ tab: 9,
688
+ enter: 13,
689
+ shift: 16,
690
+ control: 17,
691
+ alt: 18,
692
+ pause: 19,
693
+ capslock: 20,
694
+ escape: 27,
695
+ " ": 32,
696
+ pageup: 33,
697
+ pagedown: 34,
698
+ end: 35,
699
+ home: 36,
700
+ arrowleft: 37,
701
+ arrowup: 38,
702
+ arrowright: 39,
703
+ arrowdown: 40,
704
+ insert: 45,
705
+ delete: 46,
706
+ meta: 91,
707
+ numlock: 144,
708
+ scrolllock: 145,
709
+ ";": 186,
710
+ "=": 187,
711
+ ",": 188,
712
+ "-": 189,
713
+ ".": 190,
714
+ "/": 191,
715
+ "`": 192,
716
+ "[": 219,
717
+ "\\": 220,
718
+ "]": 221,
719
+ "'": 222
720
+ }, n = 1; n < 20; n++)
721
+ o["f" + n] = 111 + n;
722
+ function l(a, s, y) {
723
+ s && !("byKey" in s) && (y = s, s = null), Array.isArray(a) || (a = [a]);
724
+ var x = a.map(function(L) {
725
+ return h(L, s);
726
+ }), S = function(F) {
727
+ return x.some(function(M) {
728
+ return f(M, F);
729
+ });
730
+ }, H = y == null ? S : S(y);
731
+ return H;
732
+ }
733
+ function c(a, s) {
734
+ return l(a, s);
735
+ }
736
+ function u(a, s) {
737
+ return l(a, { byKey: !0 }, s);
738
+ }
739
+ function h(a, s) {
740
+ var y = s && s.byKey, x = {};
741
+ a = a.replace("++", "+add");
742
+ var S = a.split("+"), H = S.length;
743
+ for (var L in e)
744
+ x[e[L]] = !1;
745
+ var F = !0, M = !1, m = void 0;
746
+ try {
747
+ for (var z = S[Symbol.iterator](), G; !(F = (G = z.next()).done); F = !0) {
748
+ var k = G.value, J = k.endsWith("?") && k.length > 1;
749
+ J && (k = k.slice(0, -1));
750
+ var q = p(k), w = e[q];
751
+ if (k.length > 1 && !w && !r[k] && !o[q])
752
+ throw new TypeError('Unknown modifier: "' + k + '"');
753
+ (H === 1 || !w) && (y ? x.key = q : x.which = T(k)), w && (x[w] = J ? null : !0);
754
+ }
755
+ } catch (N) {
756
+ M = !0, m = N;
757
+ } finally {
758
+ try {
759
+ !F && z.return && z.return();
760
+ } finally {
761
+ if (M)
762
+ throw m;
763
+ }
764
+ }
765
+ return x;
766
+ }
767
+ function f(a, s) {
768
+ for (var y in a) {
769
+ var x = a[y], S = void 0;
770
+ if (x != null && (y === "key" && s.key != null ? S = s.key.toLowerCase() : y === "which" ? S = x === 91 && s.which === 93 ? 91 : s.which : S = s[y], !(S == null && x === !1) && S !== x))
771
+ return !1;
772
+ }
773
+ return !0;
774
+ }
775
+ function T(a) {
776
+ a = p(a);
777
+ var s = o[a] || a.toUpperCase().charCodeAt(0);
778
+ return s;
779
+ }
780
+ function p(a) {
781
+ return a = a.toLowerCase(), a = r[a] || a, a;
782
+ }
783
+ return C.default = l, C.isHotkey = l, C.isCodeHotkey = c, C.isKeyHotkey = u, C.parseHotkey = h, C.compareHotkey = f, C.toKeyCode = T, C.toKeyName = p, C;
784
+ }
785
+ var Kt = /* @__PURE__ */ Dt();
786
+ const Ot = /* @__PURE__ */ Te(Kt), Ht = ({ editor: t }) => ({ handleKeyDown: R(
787
+ (r) => {
788
+ if ((r.metaKey || r.ctrlKey) && r.key === "z") {
789
+ r.preventDefault(), r.shiftKey ? t.redo() : t.undo();
790
+ return;
791
+ }
792
+ for (const o in ue)
793
+ if (Ot(o, r)) {
794
+ r.preventDefault();
795
+ const n = ue[o];
796
+ K(t, n);
797
+ return;
798
+ }
799
+ if (r.shiftKey && r.key === "Enter") {
800
+ r.preventDefault(), t.insertText(vt.placeholderCharacter);
801
+ return;
802
+ }
803
+ },
804
+ [t]
805
+ ) }), Ie = function({
806
+ ref: e,
807
+ value: r,
808
+ onChange: o,
809
+ onFocus: n,
810
+ onBlur: l,
811
+ placeholder: c = X.placeholder,
812
+ isDisabled: u = X.isDisabled,
813
+ isReadOnly: h = X.isReadOnly,
814
+ autoFocus: f = X.autoFocus,
815
+ toolbar: T
816
+ //...props
817
+ }) {
818
+ const p = be(null), a = Ve(He(p, e)), s = I(() => {
819
+ const m = ze();
820
+ return Tt(Ue(_e(m)));
821
+ }, []), { handleKeyDown: y } = Ht({ editor: s }), x = R(
822
+ (m) => {
823
+ n && n(m);
824
+ },
825
+ [n]
826
+ ), S = R(
827
+ (m) => {
828
+ l && l(m);
829
+ },
830
+ [l]
831
+ );
832
+ De(
833
+ a,
834
+ () => ({
835
+ focus: () => xt(s),
836
+ resetValue: (m) => St(s, m)
837
+ }),
838
+ [s]
839
+ );
840
+ const H = R(
841
+ (m) => /* @__PURE__ */ i(kt, { ...m }),
842
+ []
843
+ ), L = R(
844
+ (m) => /* @__PURE__ */ i(Ct, { ...m }),
845
+ []
846
+ ), F = O(), M = Array.isArray(r) && r.length > 0 ? r : F;
847
+ return /* @__PURE__ */ d(qe, { editor: s, value: M, onChange: o, children: [
848
+ T && /* @__PURE__ */ i(st, { children: T }),
849
+ /* @__PURE__ */ i(at, { asChild: !0, children: /* @__PURE__ */ i(
850
+ Be,
851
+ {
852
+ renderElement: H,
853
+ renderLeaf: L,
854
+ placeholder: c,
855
+ autoFocus: f,
856
+ readOnly: h || u,
857
+ onKeyDown: y,
858
+ onFocus: x,
859
+ onBlur: S,
860
+ "aria-label": "Rich text editor",
861
+ role: "textbox",
862
+ "aria-multiline": "true"
863
+ }
864
+ ) })
865
+ ] });
866
+ };
867
+ Ie.displayName = "RichTextEditor";
868
+ const Nt = ({
869
+ withPreservedSelection: t,
870
+ textStyles: e
871
+ }) => {
872
+ const r = Z(), o = I(() => dt.find(
873
+ (a) => P(r, a)
874
+ ) || "paragraph", [r.selection, r.children]), n = e.find((a) => a.id === o), l = n?.label || "", c = R(
875
+ (a) => {
876
+ t(() => {
877
+ re(r, a);
878
+ })();
879
+ },
880
+ [r, t]
881
+ ), u = R(
882
+ (a) => {
883
+ t(() => {
884
+ const s = Array.from(a)[0], y = P(r, "bulleted-list") ? "bulleted-list" : P(r, "numbered-list") ? "numbered-list" : null;
885
+ s ? re(r, s) : y && re(r, y);
886
+ })();
887
+ },
888
+ [r, t]
889
+ ), h = I(() => {
890
+ const a = [];
891
+ return D(r, "bold") && a.push("bold"), D(r, "italic") && a.push("italic"), D(r, "underline") && a.push("underline"), new Set(a);
892
+ }, [r.selection, r.children, b.marks(r)]), f = I(() => {
893
+ const a = [];
894
+ return P(r, "bulleted-list") && a.push("bulleted-list"), P(r, "numbered-list") && a.push("numbered-list"), new Set(a);
895
+ }, [r.selection, r.children]), T = I(() => r.history && r.history.undos.length > 0, [r.selection, r.children]), p = I(() => r.history && r.history.redos.length > 0, [r.selection, r.children]);
896
+ return {
897
+ currentTextStyle: o,
898
+ selectedTextStyle: n,
899
+ selectedTextStyleLabel: l,
900
+ handleTextStyleChange: c,
901
+ handleListToggle: u,
902
+ selectedFormatKeys: h,
903
+ selectedListKeys: f,
904
+ hasUndos: T,
905
+ hasRedos: p
906
+ };
907
+ }, Le = ({
908
+ isDisabled: t = !1
909
+ }) => {
910
+ const e = Se(Me), r = Z(), o = ke(r), n = ut(e.format), {
911
+ currentTextStyle: l,
912
+ selectedTextStyleLabel: c,
913
+ handleTextStyleChange: u,
914
+ handleListToggle: h,
915
+ selectedFormatKeys: f,
916
+ selectedListKeys: T,
917
+ hasUndos: p,
918
+ hasRedos: a
919
+ } = Nt({ withPreservedSelection: o, textStyles: n });
920
+ return /* @__PURE__ */ d(
921
+ nt,
922
+ {
923
+ orientation: "horizontal",
924
+ "aria-label": e.format("textFormatting"),
925
+ width: "full",
926
+ overflow: "hidden",
927
+ size: "xs",
928
+ children: [
929
+ /* @__PURE__ */ i(ae, { children: /* @__PURE__ */ d(
930
+ v.Root,
931
+ {
932
+ onAction: (s) => u(String(s)),
933
+ children: [
934
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
935
+ /* @__PURE__ */ i(
936
+ v.Trigger,
937
+ {
938
+ height: "800",
939
+ width: "4000",
940
+ bg: "primary.1",
941
+ borderRadius: "200",
942
+ _hover: { bg: "primary.2" },
943
+ isDisabled: t,
944
+ onMouseDown: (s) => s.preventDefault(),
945
+ "aria-label": e.format("textStyleMenu"),
946
+ children: /* @__PURE__ */ d($, { display: "flex", alignItems: "center", gap: "200", px: "200", children: [
947
+ /* @__PURE__ */ i($, { display: "flex", alignItems: "center", gap: "200", flexGrow: "1", children: /* @__PURE__ */ i(A, { my: "auto", textStyle: "sm", fontWeight: "500", children: c }) }),
948
+ /* @__PURE__ */ i(Xe, {})
949
+ ] })
950
+ }
951
+ ),
952
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("textStyle") })
953
+ ] }),
954
+ /* @__PURE__ */ i(v.Content, { children: n.map((s) => /* @__PURE__ */ i(
955
+ v.Item,
956
+ {
957
+ id: s.id,
958
+ ...l === s.id && {
959
+ "data-state": "checked"
960
+ },
961
+ children: /* @__PURE__ */ i(A, { ...s.props, children: s.label })
962
+ },
963
+ s.id
964
+ )) })
965
+ ]
966
+ }
967
+ ) }),
968
+ /* @__PURE__ */ i(le, { orientation: "vertical" }),
969
+ /* @__PURE__ */ d(
970
+ ce.Root,
971
+ {
972
+ selectionMode: "multiple",
973
+ selectedKeys: f,
974
+ isDisabled: t,
975
+ children: [
976
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
977
+ /* @__PURE__ */ d(
978
+ B,
979
+ {
980
+ id: "bold",
981
+ size: "xs",
982
+ variant: "ghost",
983
+ "aria-label": e.format("bold"),
984
+ isDisabled: t,
985
+ onMouseDown: (s) => s.preventDefault(),
986
+ onPress: o(() => K(r, "bold")),
987
+ children: [
988
+ /* @__PURE__ */ i(Ye, {}),
989
+ /* @__PURE__ */ i(V, { children: e.format("bold") })
990
+ ]
991
+ }
992
+ ),
993
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("bold") })
994
+ ] }),
995
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
996
+ /* @__PURE__ */ d(
997
+ B,
998
+ {
999
+ id: "italic",
1000
+ size: "xs",
1001
+ variant: "ghost",
1002
+ "aria-label": e.format("italic"),
1003
+ isDisabled: t,
1004
+ onMouseDown: (s) => s.preventDefault(),
1005
+ onPress: o(() => K(r, "italic")),
1006
+ children: [
1007
+ /* @__PURE__ */ i(Qe, {}),
1008
+ /* @__PURE__ */ i(V, { children: e.format("italic") })
1009
+ ]
1010
+ }
1011
+ ),
1012
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("italic") })
1013
+ ] }),
1014
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
1015
+ /* @__PURE__ */ d(
1016
+ B,
1017
+ {
1018
+ id: "underline",
1019
+ size: "xs",
1020
+ variant: "ghost",
1021
+ "aria-label": e.format("underline"),
1022
+ isDisabled: t,
1023
+ onMouseDown: (s) => s.preventDefault(),
1024
+ onPress: o(
1025
+ () => K(r, "underline")
1026
+ ),
1027
+ children: [
1028
+ /* @__PURE__ */ i(Ze, {}),
1029
+ /* @__PURE__ */ i(V, { children: e.format("underline") })
1030
+ ]
1031
+ }
1032
+ ),
1033
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("underline") })
1034
+ ] })
1035
+ ]
1036
+ }
1037
+ ),
1038
+ /* @__PURE__ */ i(At, { isDisabled: t }),
1039
+ /* @__PURE__ */ i(le, { orientation: "vertical" }),
1040
+ /* @__PURE__ */ d(
1041
+ ce.Root,
1042
+ {
1043
+ selectionMode: "single",
1044
+ selectedKeys: T,
1045
+ onSelectionChange: h,
1046
+ "aria-label": e.format("listFormatting"),
1047
+ isDisabled: t,
1048
+ children: [
1049
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
1050
+ /* @__PURE__ */ i(
1051
+ B,
1052
+ {
1053
+ id: "bulleted-list",
1054
+ size: "xs",
1055
+ variant: "ghost",
1056
+ "aria-label": e.format("bulletedList"),
1057
+ isDisabled: t,
1058
+ onMouseDown: (s) => s.preventDefault(),
1059
+ children: /* @__PURE__ */ i(Je, {})
1060
+ }
1061
+ ),
1062
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("bulletedList") })
1063
+ ] }),
1064
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
1065
+ /* @__PURE__ */ i(
1066
+ B,
1067
+ {
1068
+ id: "numbered-list",
1069
+ size: "xs",
1070
+ variant: "ghost",
1071
+ "aria-label": e.format("numberedList"),
1072
+ isDisabled: t,
1073
+ onMouseDown: (s) => s.preventDefault(),
1074
+ children: /* @__PURE__ */ i(et, {})
1075
+ }
1076
+ ),
1077
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("numberedList") })
1078
+ ] })
1079
+ ]
1080
+ }
1081
+ ),
1082
+ /* @__PURE__ */ i($, { flexGrow: "1" }),
1083
+ /* @__PURE__ */ d(ae, { children: [
1084
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
1085
+ /* @__PURE__ */ d(
1086
+ oe,
1087
+ {
1088
+ size: "xs",
1089
+ variant: "ghost",
1090
+ "aria-label": e.format("undo"),
1091
+ isDisabled: !p || t,
1092
+ onPress: o(() => r.undo()),
1093
+ onMouseDown: (s) => s.preventDefault(),
1094
+ children: [
1095
+ /* @__PURE__ */ i(tt, {}),
1096
+ /* @__PURE__ */ i(V, { children: e.format("undo") })
1097
+ ]
1098
+ }
1099
+ ),
1100
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("undo") })
1101
+ ] }),
1102
+ /* @__PURE__ */ d(g.Root, { delay: 0, closeDelay: 0, children: [
1103
+ /* @__PURE__ */ d(
1104
+ oe,
1105
+ {
1106
+ size: "xs",
1107
+ variant: "ghost",
1108
+ "aria-label": e.format("redo"),
1109
+ isDisabled: !a || t,
1110
+ onPress: o(() => r.redo()),
1111
+ onMouseDown: (s) => s.preventDefault(),
1112
+ children: [
1113
+ /* @__PURE__ */ i(rt, {}),
1114
+ /* @__PURE__ */ i(V, { children: e.format("redo") })
1115
+ ]
1116
+ }
1117
+ ),
1118
+ /* @__PURE__ */ i(g.Content, { placement: "top", children: e.format("redo") })
1119
+ ] })
1120
+ ] })
1121
+ ]
1122
+ }
1123
+ );
1124
+ };
1125
+ Le.displayName = "RichTextToolbar";
1126
+ const Pt = (t) => {
1127
+ const {
1128
+ ref: e,
1129
+ value: r,
1130
+ defaultValue: o,
1131
+ onChange: n,
1132
+ onFocus: l,
1133
+ onBlur: c,
1134
+ placeholder: u = "",
1135
+ isDisabled: h = !1,
1136
+ isReadOnly: f = !1,
1137
+ isInvalid: T = !1,
1138
+ autoFocus: p = !1,
1139
+ ...a
1140
+ } = t, s = Ne({ recipe: $e }), [y, x] = s.splitVariantProps({
1141
+ // Only semantic variants go here (none currently defined)
1142
+ ...a
1143
+ }), [S, H] = Pe(x), L = {
1144
+ "data-disabled": h ? "true" : void 0,
1145
+ "data-invalid": T ? "true" : void 0,
1146
+ "data-readonly": f ? "true" : void 0
1147
+ }, [F, M] = se(() => {
1148
+ const w = r ?? o ?? "";
1149
+ try {
1150
+ return w ? ie(w) : O();
1151
+ } catch (N) {
1152
+ return console.warn("Failed to parse initial HTML, using empty value:", N), O();
1153
+ }
1154
+ }), [m, z] = se(() => r ?? o ?? ""), G = be(null);
1155
+ Ke(() => {
1156
+ if (r !== void 0 && r !== m) {
1157
+ const w = r ? ie(r) : O();
1158
+ M(w), z(r);
1159
+ }
1160
+ }, [r, m]);
1161
+ const k = R(
1162
+ (w) => {
1163
+ const N = ft(w), Ae = N !== m;
1164
+ M(w), z(N), Ae && n && n(N);
1165
+ },
1166
+ [m, n]
1167
+ ), q = Fe(F);
1168
+ return /* @__PURE__ */ i(
1169
+ it,
1170
+ {
1171
+ role: "group",
1172
+ ...y,
1173
+ ...S,
1174
+ ...H,
1175
+ ...L,
1176
+ ref: e,
1177
+ children: /* @__PURE__ */ i(
1178
+ Ie,
1179
+ {
1180
+ ref: G,
1181
+ value: q,
1182
+ onChange: k,
1183
+ onFocus: l,
1184
+ onBlur: c,
1185
+ placeholder: u,
1186
+ isDisabled: h,
1187
+ isReadOnly: f,
1188
+ autoFocus: p,
1189
+ toolbar: f ? null : /* @__PURE__ */ i(Le, { isDisabled: h })
1190
+ }
1191
+ )
1192
+ }
1193
+ );
1194
+ };
1195
+ Pt.displayName = "RichTextInput";
1196
+ export {
1197
+ Pt as R,
1198
+ Te as g
1199
+ };
1200
+ //# sourceMappingURL=rich-text-input-CRGUa5d2.es.js.map