@wix/patterns-fields 1.40.0 → 1.41.0

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 (286) hide show
  1. package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
  2. package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
  3. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
  4. package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  5. package/dist/cjs/components/audio/audio-field/form-audio-field.js +12 -10
  6. package/dist/cjs/components/audio/audio-field/form-audio-field.js.map +1 -1
  7. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
  8. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  9. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
  10. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  11. package/dist/cjs/components/color-view/cell-color-input.js +195 -0
  12. package/dist/cjs/components/color-view/cell-color-input.js.map +1 -0
  13. package/dist/cjs/components/color-view/cell-color-view.js +89 -0
  14. package/dist/cjs/components/color-view/cell-color-view.js.map +1 -0
  15. package/dist/cjs/components/color-view/cell-color-view.st.css +8 -0
  16. package/dist/cjs/components/color-view/cell-color-view.st.css.js +25 -0
  17. package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -0
  18. package/dist/cjs/components/color-view/color-input.js +33 -27
  19. package/dist/cjs/components/color-view/color-input.js.map +1 -1
  20. package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
  21. package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
  22. package/dist/cjs/components/color-view/hex.js +16 -0
  23. package/dist/cjs/components/color-view/hex.js.map +1 -0
  24. package/dist/cjs/components/color-view/index.js +18 -0
  25. package/dist/cjs/components/color-view/index.js.map +1 -1
  26. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
  27. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  28. package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
  29. package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
  30. package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
  31. package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
  32. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
  33. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  34. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
  35. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  36. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  37. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  38. package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
  39. package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
  40. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
  41. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  42. package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
  43. package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
  44. package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
  45. package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
  46. package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
  47. package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
  48. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  49. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  50. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
  51. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  52. package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
  53. package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
  54. package/dist/cjs/components/rich-content/cell-rich-content-input.js +4 -3
  55. package/dist/cjs/components/rich-content/cell-rich-content-input.js.map +1 -1
  56. package/dist/cjs/components/rich-content/cell-rich-content-view.js +3 -2
  57. package/dist/cjs/components/rich-content/cell-rich-content-view.js.map +1 -1
  58. package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js +1 -1
  59. package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  60. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
  61. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  62. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
  63. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  64. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  65. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
  66. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
  67. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  68. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js +1 -1
  69. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
  70. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
  71. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
  72. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  73. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  74. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js +0 -5
  75. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
  76. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +169 -192
  77. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
  78. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
  79. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  80. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +52 -36
  81. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  82. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  83. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -4
  84. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  85. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +10 -10
  86. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  87. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
  88. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  89. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
  90. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  91. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
  92. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
  93. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
  94. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
  95. package/dist/cjs/components/text/text-view.st.css.js +3 -3
  96. package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
  97. package/dist/cjs/components/time-input/form-time-input.js +21 -2
  98. package/dist/cjs/components/time-input/form-time-input.js.map +1 -1
  99. package/dist/cjs/styles.global.css +1 -1
  100. package/dist/cjs/validations/rich-content.js +2 -3
  101. package/dist/cjs/validations/rich-content.js.map +1 -1
  102. package/dist/esm/components/address/input/address-input.st.css.js +2 -2
  103. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  104. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  105. package/dist/esm/components/audio/audio-field/form-audio-field.js +2 -0
  106. package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
  107. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  108. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  109. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  110. package/dist/esm/components/color-view/cell-color-input.js +104 -0
  111. package/dist/esm/components/color-view/cell-color-input.js.map +1 -0
  112. package/dist/esm/components/color-view/cell-color-view.js +25 -0
  113. package/dist/esm/components/color-view/cell-color-view.js.map +1 -0
  114. package/dist/esm/components/color-view/cell-color-view.st.css +8 -0
  115. package/dist/esm/components/color-view/cell-color-view.st.css.js +15 -0
  116. package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -0
  117. package/dist/esm/components/color-view/color-input.js +12 -12
  118. package/dist/esm/components/color-view/color-input.js.map +1 -1
  119. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  120. package/dist/esm/components/color-view/hex.js +9 -0
  121. package/dist/esm/components/color-view/hex.js.map +1 -0
  122. package/dist/esm/components/color-view/index.js +3 -0
  123. package/dist/esm/components/color-view/index.js.map +1 -1
  124. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  125. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  126. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  127. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  128. package/dist/esm/components/exclamation/exclamation.st.css.js.map +1 -1
  129. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  130. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  131. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  132. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  133. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  134. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  135. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  136. package/dist/esm/components/media-image/media-image.st.css.js.map +1 -1
  137. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  138. package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
  139. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  140. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  141. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  142. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  143. package/dist/esm/components/rich-content/cell-rich-content-input.js +4 -3
  144. package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
  145. package/dist/esm/components/rich-content/cell-rich-content-view.js +3 -4
  146. package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
  147. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +2 -2
  148. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  149. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  150. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  151. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
  152. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  153. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
  154. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  155. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js +2 -2
  156. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
  157. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
  158. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  159. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js +0 -5
  160. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
  161. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +112 -135
  162. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
  163. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
  164. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  165. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +27 -35
  166. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  167. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  168. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  169. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  170. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +2 -2
  171. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  172. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  173. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  174. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  175. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  176. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  177. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
  178. package/dist/esm/components/text/text-view.st.css.js +2 -2
  179. package/dist/esm/components/time-input/form-time-input.js +8 -3
  180. package/dist/esm/components/time-input/form-time-input.js.map +1 -1
  181. package/dist/esm/styles.global.css +1 -1
  182. package/dist/esm/validations/rich-content.js +3 -4
  183. package/dist/esm/validations/rich-content.js.map +1 -1
  184. package/dist/types/components/audio/actions/actions-menu/actions-menu.st.css.d.ts.map +1 -1
  185. package/dist/types/components/audio/audio-field/form-audio-field.d.ts.map +1 -1
  186. package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
  187. package/dist/types/components/color-view/cell-color-input.d.ts +23 -0
  188. package/dist/types/components/color-view/cell-color-input.d.ts.map +1 -0
  189. package/dist/types/components/color-view/cell-color-view.d.ts +15 -0
  190. package/dist/types/components/color-view/cell-color-view.d.ts.map +1 -0
  191. package/dist/types/components/color-view/cell-color-view.st.css.d.ts +16 -0
  192. package/dist/types/components/color-view/cell-color-view.st.css.d.ts.map +1 -0
  193. package/dist/types/components/color-view/color-input.d.ts.map +1 -1
  194. package/dist/types/components/color-view/hex.d.ts +5 -0
  195. package/dist/types/components/color-view/hex.d.ts.map +1 -0
  196. package/dist/types/components/color-view/index.d.ts +3 -0
  197. package/dist/types/components/color-view/index.d.ts.map +1 -1
  198. package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
  199. package/dist/types/components/exclamation/exclamation.st.css.d.ts.map +1 -1
  200. package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
  201. package/dist/types/components/media-image/media-image.st.css.d.ts.map +1 -1
  202. package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
  203. package/dist/types/components/rich-content/cell-rich-content-input.d.ts +2 -2
  204. package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
  205. package/dist/types/components/rich-content/cell-rich-content-view.d.ts.map +1 -1
  206. package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts +2 -2
  207. package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts.map +1 -1
  208. package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
  209. package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts +2 -2
  210. package/dist/types/components/rich-content/rich-content-input/hooks.d.ts +1 -1
  211. package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
  212. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +3 -3
  213. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts.map +1 -1
  214. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts +2 -2
  215. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts.map +1 -1
  216. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +12 -11
  217. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
  218. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.d.ts.map +1 -1
  219. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts +2 -15
  220. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts.map +1 -1
  221. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts +1 -0
  222. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
  223. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts +1 -1
  224. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts.map +1 -1
  225. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts +5 -3
  226. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts.map +1 -1
  227. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.d.ts.map +1 -1
  228. package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
  229. package/dist/types/components/time-input/form-time-input.d.ts.map +1 -1
  230. package/dist/types/validations/rich-content.d.ts +3 -3
  231. package/dist/types/validations/rich-content.d.ts.map +1 -1
  232. package/package.json +5 -5
  233. package/src/__tests__/components/rich-content-editor.spec.tsx +63 -72
  234. package/src/__tests__/validations/rich-content.spec.ts +4 -8
  235. package/src/components/address/input/address-input.st.css.ts +2 -2
  236. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  237. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  238. package/src/components/audio/audio-field/form-audio-field.tsx +2 -0
  239. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  240. package/src/components/color-view/cell-color-input.tsx +200 -0
  241. package/src/components/color-view/cell-color-view.st.css +8 -0
  242. package/src/components/color-view/cell-color-view.st.css.ts +25 -0
  243. package/src/components/color-view/cell-color-view.tsx +52 -0
  244. package/src/components/color-view/color-input.tsx +23 -17
  245. package/src/components/color-view/color-view.st.css.ts +2 -2
  246. package/src/components/color-view/hex.ts +13 -0
  247. package/src/components/color-view/index.ts +3 -0
  248. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  249. package/src/components/document/form-document-field.st.css.ts +2 -2
  250. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  251. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  252. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  253. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  254. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  255. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  256. package/src/components/media-image/media-image.st.css.ts +3 -3
  257. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  258. package/src/components/media-loader/media-loader.st.css.ts +2 -2
  259. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  260. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  261. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  262. package/src/components/rich-content/cell-rich-content-input.tsx +11 -14
  263. package/src/components/rich-content/cell-rich-content-view.tsx +3 -4
  264. package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -4
  265. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  266. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  267. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  268. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  269. package/src/components/rich-content/rich-content-input/rich-content-common/hooks.ts +5 -5
  270. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  271. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  272. package/src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts +0 -6
  273. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  274. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +346 -355
  275. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  276. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  277. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx +35 -62
  278. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  279. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx +8 -9
  280. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  281. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  282. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  283. package/src/components/text/text-view.st.css.ts +2 -2
  284. package/src/components/time-input/form-time-input.tsx +21 -4
  285. package/src/styles.global.css +1 -1
  286. package/src/validations/rich-content.ts +6 -7
@@ -1,4 +1,4 @@
1
- import type { EditorPlugin, EditorPluginOptions } from '@wix/ricos';
1
+ import type { EditorPlugin } from '@wix/ricos';
2
2
  import type { ColorScheme } from '../../types';
3
- export declare const usePlugins: (colorScheme?: ColorScheme) => (EditorPluginOptions | EditorPlugin<Record<string, any>>)[];
3
+ export declare const usePlugins: (colorScheme?: ColorScheme) => EditorPlugin[];
4
4
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA6BpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAc/C,eAAO,MAAM,UAAU,iBAAkB,WAAW,gEA8CnD,CAAC"}
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAuB,MAAM,YAAY,CAAC;AA6BpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAY/C,eAAO,MAAM,UAAU,iBAAkB,WAAW,mBA0CnD,CAAC"}
@@ -1,12 +1,13 @@
1
1
  import type { FC } from 'react';
2
- import type { WixRicosEditorProps, GetToolbarSettings, RichContent } from '@wix/ricos';
2
+ import type { RicosDocument, RicosEditorProps } from '@wix/ricos';
3
3
  import type { ColorScheme } from '../../types';
4
- type RicosProps = Pick<WixRicosEditorProps, 'wixExperiments' | 'biSettings' | 'modalSettings' | 'theme'>;
4
+ type RicosProps = Pick<RicosEditorProps, 'biSettings' | 'theme'> & {
5
+ wixExperiments?: unknown;
6
+ };
5
7
  interface RCEProps extends RicosProps {
6
- content?: RichContent;
7
- injectedContent?: RichContent;
8
- onChange?: (content: RichContent) => void;
9
- getToolbarSettings: GetToolbarSettings;
8
+ content?: RicosDocument;
9
+ injectedContent?: RicosDocument;
10
+ onChange?: (content: RicosDocument) => void;
10
11
  autoFocus?: boolean;
11
12
  onFocus?: () => void;
12
13
  onBlur?: () => void;
@@ -15,11 +16,11 @@ interface RCEProps extends RicosProps {
15
16
  hidden?: boolean;
16
17
  dataHook?: string;
17
18
  }
18
- export type RichContentEditorProps = Omit<RCEProps, 'getToolbarSettings' | 'modalSettings' | 'onChange'> & {
19
- onEnterFullScreen?: (content?: RichContent, isContentChanged?: boolean) => void;
20
- onExitFullScreen?: (content?: RichContent, isContentChanged?: boolean) => void;
21
- onChange?: (content: RichContent, isContentChanged?: boolean) => void;
22
- onPublish?: (promise: Promise<any>) => void;
19
+ export type RichContentEditorProps = Omit<RCEProps, 'onChange'> & {
20
+ onEnterFullScreen?: (content?: RicosDocument, isContentChanged?: boolean) => void;
21
+ onExitFullScreen?: (content?: RicosDocument, isContentChanged?: boolean) => void;
22
+ onChange?: (content: RicosDocument, isContentChanged?: boolean) => void;
23
+ onPublish?: (promise: Promise<RicosDocument>) => void;
23
24
  fullScreenOnly?: boolean;
24
25
  };
25
26
  export declare const RichContentEditor: FC<RichContentEditorProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content-editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAYnD,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAElB,WAAW,EAKZ,MAAM,YAAY,CAAC;AAapB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAc/C,KAAK,UAAU,GAAG,IAAI,CACpB,mBAAmB,EACnB,gBAAgB,GAAG,YAAY,GAAG,eAAe,GAAG,OAAO,CAC5D,CAAC;AAMF,UAAU,QAAS,SAAQ,UAAU;IACnC,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAsSD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,QAAQ,EACR,oBAAoB,GAAG,eAAe,GAAG,UAAU,CACpD,GAAG;IACF,iBAAiB,CAAC,EAAE,CAClB,OAAO,CAAC,EAAE,WAAW,EACrB,gBAAgB,CAAC,EAAE,OAAO,KACvB,IAAI,CAAC;IACV,gBAAgB,CAAC,EAAE,CACjB,OAAO,CAAC,EAAE,WAAW,EACrB,gBAAgB,CAAC,EAAE,OAAO,KACvB,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACtE,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyKxD,CAAC"}
1
+ {"version":3,"file":"rich-content-editor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAYnD,OAAO,KAAK,EAEV,aAAa,EAEb,gBAAgB,EAEjB,MAAM,YAAY,CAAC;AAQpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAc/C,KAAK,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG;IACjE,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAQF,UAAU,QAAS,SAAQ,UAAU;IACnC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA+SD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG;IAChE,iBAAiB,CAAC,EAAE,CAClB,OAAO,CAAC,EAAE,aAAa,EACvB,gBAAgB,CAAC,EAAE,OAAO,KACvB,IAAI,CAAC;IACV,gBAAgB,CAAC,EAAE,CACjB,OAAO,CAAC,EAAE,aAAa,EACvB,gBAAgB,CAAC,EAAE,OAAO,KACvB,IAAI,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACxE,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;IACtD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAgNxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content-editor.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;;;CAA8Y,CAAC;AACja,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI;;CAA0D,CAAC"}
1
+ {"version":3,"file":"rich-content-editor.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;;;CAAwY,CAAC;AAC3Z,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI;;CAA0D,CAAC"}
@@ -1,20 +1,7 @@
1
1
  import React, { Component } from 'react';
2
- export interface ExternalToolbarButton {
3
- dataHook?: string;
4
- getIcon?: () => React.ComponentType;
5
- getLabel?: () => string;
6
- isActive?: () => boolean;
7
- isDisabled?: () => boolean;
8
- name?: string;
9
- tooltip?: React.ReactNode;
10
- onClick?: () => void;
11
- onChange?: (e: unknown) => void;
12
- type?: string;
13
- accept?: string;
14
- multiple?: boolean;
15
- }
2
+ import type { ExternalToolbarButton as RicosExternalToolbarButton } from '@wix/ricos';
16
3
  export interface ExternalToolbarProps {
17
- buttons?: Record<string, ExternalToolbarButton>;
4
+ buttons?: readonly RicosExternalToolbarButton[];
18
5
  }
19
6
  export declare class ExternalToolbar extends Component<ExternalToolbarProps> {
20
7
  private onMouseDown;
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content-toolbar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQzC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,KAAK,CAAC,aAAa,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA0BD,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;CACjD;AAED,qBAAa,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAClE,OAAO,CAAC,WAAW,CAAuD;IAE1E,OAAO,CAAC,YAAY,CAsBlB;IAEK,MAAM;CAYd"}
1
+ {"version":3,"file":"rich-content-toolbar.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAE,qBAAqB,IAAI,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAKtF,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAC;CACjD;AAED,qBAAa,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAClE,OAAO,CAAC,WAAW,CAAuD;IAE1E,OAAO,CAAC,YAAY,CAwClB;IAEK,MAAM;CAOd"}
@@ -6,6 +6,7 @@ export declare var classes: {
6
6
  root: string;
7
7
  toolbar: string;
8
8
  toolbarButton: string;
9
+ separator: string;
9
10
  };
10
11
  export declare var keyframes: {};
11
12
  export declare var layers: {};
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content-toolbar.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;CAA6J,CAAC;AAChL,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
1
+ {"version":3,"file":"rich-content-toolbar.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;CAAsN,CAAC;AACzO,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
@@ -12,5 +12,5 @@ import '@wix/ricos/css/plugin-gallery-viewer.global.css';
12
12
  import '@wix/ricos/css/plugin-collapsible-list-viewer.global.css';
13
13
  import '@wix/ricos/css/plugin-table-viewer.global.css';
14
14
  import '@wix/ricos/css/plugin-button-viewer.global.css';
15
- export declare const usePlugins: () => import("@wix/ricos").ViewerPlugin<import("@wix/ricos/dist/src/plugin-divider/types").DividerPluginViewerConfig>[];
15
+ export declare const usePlugins: () => import("@wix/ricos/dist/src/ricos-types/next").ViewerPlugin<Record<string, any>>[];
16
16
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-viewer/plugins.ts"],"names":[],"mappings":"AAwBA,OAAO,8CAA8C,CAAC;AACtD,OAAO,+CAA+C,CAAC;AACvD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,qDAAqD,CAAC;AAC7D,OAAO,8CAA8C,CAAC;AACtD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,wDAAwD,CAAC;AAChE,OAAO,iDAAiD,CAAC;AACzD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,0DAA0D,CAAC;AAClE,OAAO,+CAA+C,CAAC;AACvD,OAAO,gDAAgD,CAAC;AAIxD,eAAO,MAAM,UAAU,yHA0BtB,CAAC"}
1
+ {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-viewer/plugins.ts"],"names":[],"mappings":"AAwBA,OAAO,8CAA8C,CAAC;AACtD,OAAO,+CAA+C,CAAC;AACvD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,qDAAqD,CAAC;AAC7D,OAAO,8CAA8C,CAAC;AACtD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,wDAAwD,CAAC;AAChE,OAAO,iDAAiD,CAAC;AACzD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,0DAA0D,CAAC;AAClE,OAAO,+CAA+C,CAAC;AACvD,OAAO,gDAAgD,CAAC;AAIxD,eAAO,MAAM,UAAU,0FA0BtB,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
- import type { WixRicosViewerProps, RichContent } from '@wix/ricos';
2
+ import type { RicosDocument, RicosViewerProps } from '@wix/ricos';
3
3
  import '@wix/ricos/css/ricos-viewer.global.css';
4
- type RicosProps = Pick<WixRicosViewerProps, 'wixExperiments' | 'biSettings' | 'children' | 'theme'>;
4
+ type RicosProps = Pick<RicosViewerProps, 'biSettings' | 'children' | 'theme'> & {
5
+ wixExperiments?: unknown;
6
+ };
5
7
  interface RCVProps extends RicosProps {
6
8
  isFullScreen: boolean;
7
9
  onToggleFullscreen: () => void;
8
- content?: RichContent;
10
+ content?: RicosDocument;
9
11
  className?: string;
10
12
  tabIndex?: number;
11
13
  dataHook?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content-viewer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEnE,OAAO,wCAAwC,CAAC;AAchD,KAAK,UAAU,GAAG,IAAI,CACpB,mBAAmB,EACnB,gBAAgB,GAAG,YAAY,GAAG,UAAU,GAAG,OAAO,CACvD,CAAC;AAEF,UAAU,QAAS,SAAQ,UAAU;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAuCD,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,oBAAoB,CAAC;IAC7D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAuC9D,CAAC"}
1
+ {"version":3,"file":"rich-content-viewer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAElE,OAAO,wCAAwC,CAAC;AAchD,KAAK,UAAU,GAAG,IAAI,CAAC,gBAAgB,EAAE,YAAY,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IAC9E,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,UAAU,QAAS,SAAQ,UAAU;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAuCD,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,QAAQ,EAAE,cAAc,GAAG,oBAAoB,CAAC;IAC7D,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAuC9D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content-viewer.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;CAAuJ,CAAC;AAC1K,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
1
+ {"version":3,"file":"rich-content-viewer.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;CAAoJ,CAAC;AACvK,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"rich-editor.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;;;;;;;;;;;;;;CAAyyB,CAAC;AAC5zB,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiqK,CAAC;AACnrK,eAAO,IAAI,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAotE,CAAC"}
1
+ {"version":3,"file":"rich-editor.st.css.d.ts","sourceRoot":"","sources":["../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;;;;;;;;;;;;;;;;CAA0zB,CAAC;AAC70B,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiqK,CAAC;AACnrK,eAAO,IAAI,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAotE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"form-time-input.d.ts","sourceRoot":"","sources":["../../../../src/components/time-input/form-time-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,OAAO,EAAW,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuBhD,CAAC"}
1
+ {"version":3,"file":"form-time-input.d.ts","sourceRoot":"","sources":["../../../../src/components/time-input/form-time-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAIlD,OAAO,EAAW,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEtD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAwChD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { RichContent } from '@wix/ricos';
2
- export declare const isValid: (data: unknown) => data is RichContent;
3
- export declare const hardConvert: (data: unknown) => RichContent;
1
+ import type { RicosDocument } from '@wix/ricos';
2
+ export declare const isValid: (data: unknown) => data is RicosDocument;
3
+ export declare const hardConvert: (data: unknown) => RicosDocument;
4
4
  //# sourceMappingURL=rich-content.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rich-content.d.ts","sourceRoot":"","sources":["../../../src/validations/rich-content.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,eAAO,MAAM,OAAO,SAAU,OAAO,wBAUpC,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,OAAO,KAAG,WAkB3C,CAAC"}
1
+ {"version":3,"file":"rich-content.d.ts","sourceRoot":"","sources":["../../../src/validations/rich-content.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,eAAO,MAAM,OAAO,SAAU,OAAO,0BASpC,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,OAAO,KAAG,aAkB3C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/patterns-fields",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Kobi",
@@ -113,9 +113,9 @@
113
113
  "@wix/atlas": "^1.0.35",
114
114
  "@wix/data": "^1.0.323",
115
115
  "@wix/media": "^1.0.231",
116
- "@wix/patterns-fields-utils": "1.21.0",
116
+ "@wix/patterns-fields-utils": "1.22.0",
117
117
  "@wix/rich-content": "1.0.37",
118
- "@wix/ricos": "^10.155.2",
118
+ "@wix/ricos": "^11.2.0",
119
119
  "@wix/sdk": "^1.17.2",
120
120
  "@wix/wix-ui-icons-common": "^3.100.0",
121
121
  "color": "^2.0.1",
@@ -142,7 +142,7 @@
142
142
  "@types/lodash": "^4.17.20",
143
143
  "@types/react": "^16.14.68",
144
144
  "@wix/babel-cli": "^1.11.0",
145
- "@wix/bex-core": "2.318.0",
145
+ "@wix/bex-core": "2.319.0",
146
146
  "@wix/design-system": "^1.285.0",
147
147
  "@wix/eslint-config-yoshi": "^6.74.0",
148
148
  "@wix/jest-yoshi-preset": "^6.74.0",
@@ -195,5 +195,5 @@
195
195
  "type": "yoshi-flow-library"
196
196
  }
197
197
  },
198
- "falconPackageHash": "0eb805864fa0aacb7f3e0e93cc0308292555521f7ca8a8cf644e608c"
198
+ "falconPackageHash": "9cd6a608cb6f8cf8db20fe1b758eb3e726d01f1ce793bc2a26d7cfdf"
199
199
  }
@@ -32,20 +32,38 @@ jest.mock(
32
32
  // Mock variables with 'mock' prefix to satisfy Jest's out-of-scope variable rules
33
33
  const mockEditorRefObject = {
34
34
  focus: jest.fn(),
35
- // Return buttons so that isToolbarReady becomes true
36
- getToolbarProps: jest.fn(() => ({
37
- buttons: {
38
- IMAGE: { name: 'IMAGE', getIcon: () => null },
39
- VIDEO: { name: 'VIDEO', getIcon: () => null },
40
- },
41
- })),
35
+ prePublish: jest.fn(),
42
36
  getContentTraits: jest.fn(() => ({ isContentChanged: false })),
37
+ getEditorCommands: jest.fn(() => ({
38
+ setContent: jest.fn(),
39
+ })),
40
+ useToolbarProps: jest.fn(() => ({
41
+ buttons: [
42
+ {
43
+ kind: 'action',
44
+ id: 'IMAGE',
45
+ label: 'Image',
46
+ tooltip: 'Image',
47
+ icon: () => null,
48
+ isActive: false,
49
+ isDisabled: false,
50
+ onClick: jest.fn(),
51
+ },
52
+ {
53
+ kind: 'action',
54
+ id: 'VIDEO',
55
+ label: 'Video',
56
+ tooltip: 'Video',
57
+ icon: () => null,
58
+ isActive: false,
59
+ isDisabled: false,
60
+ onClick: jest.fn(),
61
+ },
62
+ ],
63
+ })),
43
64
  };
44
65
 
45
66
  const mockPublishFn = jest.fn().mockResolvedValue({});
46
- const mockEditorEventsFn = {
47
- publish: mockPublishFn,
48
- };
49
67
 
50
68
  jest.mock('@wix/ricos', () => {
51
69
  const mockReact = require('react');
@@ -60,24 +78,19 @@ jest.mock('@wix/ricos', () => {
60
78
  ],
61
79
  metadata: { version: 1 },
62
80
  }),
63
- // Mock ensureRicosContent function
64
- ensureRicosContent: (content: unknown) => content,
65
- // Mock WixRicosEditor component
66
- WixRicosEditor: mockReact.forwardRef(function MockWixRicosEditor(
67
- props: { onLoad?: () => void; content?: unknown },
81
+ // Mock RicosEditor component
82
+ RicosEditor: mockReact.forwardRef(function MockRicosEditor(
83
+ props: { initialContent?: unknown },
68
84
  ref: React.Ref<typeof mockEditorRefObject>,
69
85
  ) {
86
+ mockEditorRefObject.prePublish.mockImplementation(mockPublishFn);
70
87
  mockReact.useImperativeHandle(ref, () => mockEditorRefObject);
71
88
 
72
- mockReact.useEffect(() => {
73
- props.onLoad?.();
74
- }, [props]);
75
-
76
89
  return mockReact.createElement(
77
90
  'div',
78
91
  {
79
- 'data-hook': 'mock-wix-ricos-editor',
80
- 'data-testid': 'wix-ricos-editor',
92
+ 'data-hook': 'mock-ricos-editor',
93
+ 'data-testid': 'ricos-editor',
81
94
  },
82
95
  mockReact.createElement(
83
96
  'div',
@@ -85,56 +98,15 @@ jest.mock('@wix/ricos', () => {
85
98
  contentEditable: true,
86
99
  'data-hook': 'rich-content-editable',
87
100
  },
88
- props.content ? JSON.stringify(props.content) : 'Empty content',
101
+ props.initialContent
102
+ ? JSON.stringify(props.initialContent)
103
+ : 'Empty content',
89
104
  ),
90
105
  );
91
106
  }),
92
- // Mock withEditorContext HOC
93
- withEditorContext: <T extends Record<string, unknown>>(
94
- Component: React.ComponentType<T>,
95
- ) => {
96
- return function WrappedComponent(props: T) {
97
- const mockReactInner = require('react');
98
- return mockReactInner.createElement(Component, {
99
- ...props,
100
- editorEvents: mockEditorEventsFn,
101
- });
102
- };
103
- },
104
- // Mock TOOLBARS enum
105
- ToolbarType: {
106
- INSERT_PLUGIN: 'INSERT_PLUGIN',
107
- FOOTER: 'FOOTER',
108
- STATIC: 'STATIC',
109
- QUICK_ACTIONS: 'QUICK_ACTIONS',
110
- },
111
107
  FORMATTING_BUTTONS: {
112
108
  CODE_BLOCK: 'CODE_BLOCK',
113
109
  },
114
- // Mock INSERT_PLUGIN_BUTTONS
115
- INSERT_PLUGIN_BUTTONS: {
116
- IMAGE: 'IMAGE',
117
- VIDEO: 'VIDEO',
118
- GALLERY: 'GALLERY',
119
- LAYOUT: 'LAYOUT',
120
- DIVIDER: 'DIVIDER',
121
- TABLE: 'TABLE',
122
- FILE: 'FILE',
123
- HTML: 'HTML',
124
- INSTAGRAM: 'INSTAGRAM',
125
- TWITTER: 'TWITTER',
126
- TIKTOK: 'TIKTOK',
127
- STORES: 'STORES',
128
- BOOKINGS: 'BOOKINGS',
129
- EVENTS: 'EVENTS',
130
- EMOJI: 'EMOJI',
131
- GIF: 'GIF',
132
- CODE_BLOCK: 'CODE_BLOCK',
133
- COLLAPSIBLE_LIST: 'COLLAPSIBLE_LIST',
134
- BUTTON: 'BUTTON',
135
- UNDO: 'UNDO',
136
- REDO: 'REDO',
137
- },
138
110
  // Mock Tooltip component
139
111
  Tooltip: ({ children }: { children: React.ReactNode }) => children,
140
112
  };
@@ -223,11 +195,30 @@ describe('<RichContentEditor/>', () => {
223
195
  onPublish = jest.fn();
224
196
  mockPublishFn.mockClear();
225
197
  mockEditorRefObject.focus.mockClear();
226
- mockEditorRefObject.getToolbarProps.mockClear().mockReturnValue({
227
- buttons: {
228
- IMAGE: { name: 'IMAGE', getIcon: () => null },
229
- VIDEO: { name: 'VIDEO', getIcon: () => null },
230
- },
198
+ mockEditorRefObject.prePublish.mockClear().mockImplementation(mockPublishFn);
199
+ mockEditorRefObject.useToolbarProps.mockClear().mockReturnValue({
200
+ buttons: [
201
+ {
202
+ kind: 'action',
203
+ id: 'IMAGE',
204
+ label: 'Image',
205
+ tooltip: 'Image',
206
+ icon: () => null,
207
+ isActive: false,
208
+ isDisabled: false,
209
+ onClick: jest.fn(),
210
+ },
211
+ {
212
+ kind: 'action',
213
+ id: 'VIDEO',
214
+ label: 'Video',
215
+ tooltip: 'Video',
216
+ icon: () => null,
217
+ isActive: false,
218
+ isDisabled: false,
219
+ onClick: jest.fn(),
220
+ },
221
+ ],
231
222
  });
232
223
  mockEditorRefObject.getContentTraits
233
224
  .mockClear()
@@ -264,7 +255,7 @@ describe('<RichContentEditor/>', () => {
264
255
  });
265
256
  // Now verify editor is present (use container query for data-hook)
266
257
  const editor = container.querySelector(
267
- '[data-hook="mock-wix-ricos-editor"]',
258
+ '[data-hook="mock-ricos-editor"]',
268
259
  );
269
260
  expect(editor).toBeInTheDocument();
270
261
  });
@@ -281,7 +272,7 @@ describe('<RichContentEditor/>', () => {
281
272
  });
282
273
  // Verify editor is present
283
274
  const editor = container.querySelector(
284
- '[data-hook="mock-wix-ricos-editor"]',
275
+ '[data-hook="mock-ricos-editor"]',
285
276
  );
286
277
  expect(editor).toBeInTheDocument();
287
278
  });
@@ -39,17 +39,13 @@ describe('rich-content validation', () => {
39
39
  });
40
40
 
41
41
  it('should handle plain objects', () => {
42
- // ensureRicosContent from @wix/ricos accepts empty objects and creates default content
43
- // so empty objects are considered valid
44
- expect(isValid({})).toBe(true);
45
- expect(isValid({ text: 'value' })).toBe(true);
42
+ expect(isValid({})).toBe(false);
43
+ expect(isValid({ text: 'value' })).toBe(false);
46
44
  });
47
45
 
48
46
  it('should handle arrays', () => {
49
- // ensureRicosContent from @wix/ricos accepts arrays and creates default content
50
- // so arrays are considered valid
51
- expect(isValid([])).toBe(true);
52
- expect(isValid(['item1', 'item2'])).toBe(true);
47
+ expect(isValid([])).toBe(false);
48
+ expect(isValid(['item1', 'item2'])).toBe(false);
53
49
  });
54
50
  });
55
51
 
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "addressinput4016198681";
8
+ var _namespace_ = "addressinput3227018630";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"addressinput4016198681__root","tableAddressInput":"addressinput4016198681__tableAddressInput"};
16
+ export var classes = {"root":"addressinput3227018630__root","tableAddressInput":"addressinput3227018630__tableAddressInput"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "actionsmenu80615012";
8
+ var _namespace_ = "actionsmenu1379452986";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"actionsmenu80615012__root","action":"actionsmenu80615012__action"};
16
+ export var classes = {"root":"actionsmenu1379452986__root","action":"actionsmenu1379452986__action"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "formaudiofield56911128";
8
+ var _namespace_ = "formaudiofield1883836278";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"formaudiofield56911128__root","addItem":"formaudiofield56911128__addItem","mediaTitle":"formaudiofield56911128__mediaTitle"};
16
+ export var classes = {"root":"formaudiofield1883836278__root","addItem":"formaudiofield1883836278__addItem","mediaTitle":"formaudiofield1883836278__mediaTitle"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -77,6 +77,8 @@ export const FormAudioField: FC<FormMediaControlProps> = ({
77
77
  onDelete: handleDelete,
78
78
  readOnly,
79
79
  }),
80
+ appendTo: 'window' as const,
81
+ flip: true,
80
82
  zIndex: Z_INDEX_MODAL_POPOVER,
81
83
  }),
82
84
  [t, readOnly, handleReplace, handleDownload, handleDelete],
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "audioplayer1282513900";
8
+ var _namespace_ = "audioplayer2028983810";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"audioplayer1282513900__root"};
16
+ export var classes = {"root":"audioplayer2028983810__root"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};