@wix/patterns-fields 1.40.0 → 1.42.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 (284) 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/address/input/address-input.st.css.js.map +1 -1
  104. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  105. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  106. package/dist/esm/components/audio/audio-field/form-audio-field.js +2 -0
  107. package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
  108. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  109. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  110. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  111. package/dist/esm/components/color-view/cell-color-input.js +104 -0
  112. package/dist/esm/components/color-view/cell-color-input.js.map +1 -0
  113. package/dist/esm/components/color-view/cell-color-view.js +25 -0
  114. package/dist/esm/components/color-view/cell-color-view.js.map +1 -0
  115. package/dist/esm/components/color-view/cell-color-view.st.css +8 -0
  116. package/dist/esm/components/color-view/cell-color-view.st.css.js +15 -0
  117. package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -0
  118. package/dist/esm/components/color-view/color-input.js +12 -12
  119. package/dist/esm/components/color-view/color-input.js.map +1 -1
  120. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  121. package/dist/esm/components/color-view/hex.js +9 -0
  122. package/dist/esm/components/color-view/hex.js.map +1 -0
  123. package/dist/esm/components/color-view/index.js +3 -0
  124. package/dist/esm/components/color-view/index.js.map +1 -1
  125. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  126. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  127. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  128. package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
  129. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  130. package/dist/esm/components/exclamation/exclamation.st.css.js.map +1 -1
  131. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  132. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  133. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  134. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  135. package/dist/esm/components/media-control/paste-url-button.st.css.js.map +1 -1
  136. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  137. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  138. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  139. package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
  140. package/dist/esm/components/media-loader/media-loader.st.css.js.map +1 -1
  141. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  142. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  143. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  144. package/dist/esm/components/rich-content/cell-rich-content-input.js +4 -3
  145. package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
  146. package/dist/esm/components/rich-content/cell-rich-content-view.js +3 -4
  147. package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
  148. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +2 -2
  149. package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
  150. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  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-toolbar.js +27 -35
  165. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
  166. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  167. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  168. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  169. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +2 -2
  170. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
  171. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  172. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  173. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  174. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  175. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
  176. package/dist/esm/components/text/text-view.st.css.js +2 -2
  177. package/dist/esm/components/text/text-view.st.css.js.map +1 -1
  178. package/dist/esm/components/time-input/form-time-input.js +8 -3
  179. package/dist/esm/components/time-input/form-time-input.js.map +1 -1
  180. package/dist/esm/styles.global.css +1 -1
  181. package/dist/esm/validations/rich-content.js +3 -4
  182. package/dist/esm/validations/rich-content.js.map +1 -1
  183. package/dist/types/components/address/input/address-input.st.css.d.ts.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/document/form-document-field.st.css.d.ts.map +1 -1
  200. package/dist/types/components/exclamation/exclamation.st.css.d.ts.map +1 -1
  201. package/dist/types/components/media-control/paste-url-button.st.css.d.ts.map +1 -1
  202. package/dist/types/components/media-loader/media-loader.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/form-input/use-rich-content-form-input.d.ts +2 -2
  209. package/dist/types/components/rich-content/rich-content-input/hooks.d.ts +1 -1
  210. package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
  211. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +3 -3
  212. package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts.map +1 -1
  213. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts +2 -2
  214. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts.map +1 -1
  215. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +12 -11
  216. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
  217. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts +2 -15
  218. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts.map +1 -1
  219. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts +1 -0
  220. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
  221. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts +1 -1
  222. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts.map +1 -1
  223. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts +5 -3
  224. package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts.map +1 -1
  225. package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
  226. package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
  227. package/dist/types/components/time-input/form-time-input.d.ts.map +1 -1
  228. package/dist/types/validations/rich-content.d.ts +3 -3
  229. package/dist/types/validations/rich-content.d.ts.map +1 -1
  230. package/package.json +5 -5
  231. package/src/__tests__/components/rich-content-editor.spec.tsx +63 -72
  232. package/src/__tests__/validations/rich-content.spec.ts +4 -8
  233. package/src/components/address/input/address-input.st.css.ts +2 -2
  234. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  235. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  236. package/src/components/audio/audio-field/form-audio-field.tsx +2 -0
  237. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  238. package/src/components/color-view/cell-color-input.tsx +200 -0
  239. package/src/components/color-view/cell-color-view.st.css +8 -0
  240. package/src/components/color-view/cell-color-view.st.css.ts +25 -0
  241. package/src/components/color-view/cell-color-view.tsx +52 -0
  242. package/src/components/color-view/color-input.tsx +23 -17
  243. package/src/components/color-view/color-view.st.css.ts +2 -2
  244. package/src/components/color-view/hex.ts +13 -0
  245. package/src/components/color-view/index.ts +3 -0
  246. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  247. package/src/components/document/form-document-field.st.css.ts +2 -2
  248. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  249. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  250. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  251. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  252. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  253. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  254. package/src/components/media-image/media-image.st.css.ts +3 -3
  255. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  256. package/src/components/media-loader/media-loader.st.css.ts +2 -2
  257. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  258. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  259. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  260. package/src/components/rich-content/cell-rich-content-input.tsx +11 -14
  261. package/src/components/rich-content/cell-rich-content-view.tsx +3 -4
  262. package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -4
  263. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  264. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  265. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  266. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  267. package/src/components/rich-content/rich-content-input/rich-content-common/hooks.ts +5 -5
  268. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  269. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  270. package/src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts +0 -6
  271. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  272. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +346 -355
  273. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
  274. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  275. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx +35 -62
  276. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  277. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx +8 -9
  278. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  279. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  280. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  281. package/src/components/text/text-view.st.css.ts +2 -2
  282. package/src/components/time-input/form-time-input.tsx +21 -4
  283. package/src/styles.global.css +1 -1
  284. package/src/validations/rich-content.ts +6 -7
@@ -26,6 +26,13 @@
26
26
  color: graytext;
27
27
  }
28
28
 
29
+ .separator {
30
+ width: 1px;
31
+ height: 20px;
32
+ margin: 0 8px 0 3px;
33
+ background: rgba(51, 51, 51, 0.1);
34
+ }
35
+
29
36
  .toolbar label {
30
37
  padding: 0 8px;
31
38
  }
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "richcontenttoolbar607396278";
8
+ var _namespace_ = "richcontenttoolbar2337137469";
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":"richcontenttoolbar607396278__root","toolbar":"richcontenttoolbar607396278__toolbar","toolbarButton":"richcontenttoolbar607396278__toolbarButton"};
16
+ export var classes = {"root":"richcontenttoolbar2337137469__root","toolbar":"richcontenttoolbar2337137469__toolbar","toolbarButton":"richcontenttoolbar2337137469__toolbarButton","separator":"richcontenttoolbar2337137469__separator"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -1,73 +1,51 @@
1
1
  import React, { Component } from 'react';
2
2
 
3
- import { INSERT_PLUGIN_BUTTONS, Tooltip } from '@wix/ricos';
4
-
5
- import { isTruthy } from '../../../../utils';
3
+ import type { ExternalToolbarButton as RicosExternalToolbarButton } from '@wix/ricos';
4
+ import { Tooltip } from '@wix/ricos';
6
5
 
7
6
  import { classes } from './rich-content-toolbar.st.css.js';
8
7
 
9
- export interface ExternalToolbarButton {
10
- dataHook?: string;
11
- getIcon?: () => React.ComponentType;
12
- getLabel?: () => string;
13
- isActive?: () => boolean;
14
- isDisabled?: () => boolean;
15
- name?: string;
16
- tooltip?: React.ReactNode;
17
- onClick?: () => void;
18
- onChange?: (e: unknown) => void;
19
- type?: string;
20
- accept?: string;
21
- multiple?: boolean;
22
- }
23
-
24
- const BUTTONS_ORDER = [
25
- INSERT_PLUGIN_BUTTONS.IMAGE,
26
- INSERT_PLUGIN_BUTTONS.VIDEO,
27
- INSERT_PLUGIN_BUTTONS.GALLERY,
28
- INSERT_PLUGIN_BUTTONS.LAYOUT,
29
- INSERT_PLUGIN_BUTTONS.DIVIDER,
30
- INSERT_PLUGIN_BUTTONS.TABLE,
31
- INSERT_PLUGIN_BUTTONS.FILE,
32
- INSERT_PLUGIN_BUTTONS.HTML,
33
- INSERT_PLUGIN_BUTTONS.INSTAGRAM,
34
- INSERT_PLUGIN_BUTTONS.TWITTER,
35
- INSERT_PLUGIN_BUTTONS.TIKTOK,
36
- INSERT_PLUGIN_BUTTONS.STORES,
37
- INSERT_PLUGIN_BUTTONS.BOOKINGS,
38
- INSERT_PLUGIN_BUTTONS.EVENTS,
39
- INSERT_PLUGIN_BUTTONS.EMOJI,
40
- INSERT_PLUGIN_BUTTONS.GIF,
41
- INSERT_PLUGIN_BUTTONS.CODE_BLOCK,
42
- INSERT_PLUGIN_BUTTONS.COLLAPSIBLE_LIST,
43
- INSERT_PLUGIN_BUTTONS.BUTTON,
44
- INSERT_PLUGIN_BUTTONS.UNDO,
45
- INSERT_PLUGIN_BUTTONS.REDO,
46
- ];
47
-
48
8
  export interface ExternalToolbarProps {
49
- buttons?: Record<string, ExternalToolbarButton>;
9
+ buttons?: readonly RicosExternalToolbarButton[];
50
10
  }
51
11
 
52
12
  export class ExternalToolbar extends Component<ExternalToolbarProps> {
53
13
  private onMouseDown = (event: React.MouseEvent) => event.preventDefault();
54
14
 
55
- private renderButton = ({
56
- onClick,
57
- getIcon,
58
- isDisabled,
59
- dataHook,
60
- tooltip,
61
- name,
62
- }: ExternalToolbarButton) => {
63
- const Icon = getIcon?.() ?? (() => null);
15
+ private renderButton = (button: RicosExternalToolbarButton) => {
16
+ if (button.kind === 'separator') {
17
+ return <div className={classes.separator} key={button.id} />;
18
+ }
19
+
20
+ if (button.kind === 'custom') {
21
+ const CustomButton = button.component;
22
+ return <CustomButton key={button.id} />;
23
+ }
24
+
25
+ const Icon = button.icon;
26
+ const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
27
+ if (button.kind === 'dropdown') {
28
+ const optionId = button.selectedId ?? button.options[0]?.id;
29
+ if (optionId) {
30
+ button.onSelect(optionId, {
31
+ referenceElement: event.currentTarget,
32
+ });
33
+ }
34
+ return;
35
+ }
36
+
37
+ button.onClick({
38
+ referenceElement: event.currentTarget,
39
+ });
40
+ };
41
+
64
42
  return (
65
- <Tooltip content={tooltip!} key={name}>
43
+ <Tooltip content={button.tooltip} key={button.id}>
66
44
  <button
67
45
  className={classes.toolbarButton}
68
- disabled={isDisabled?.()}
69
- data-hook={dataHook}
70
- onClick={onClick}
46
+ disabled={button.isDisabled}
47
+ data-hook={button.id}
48
+ onClick={handleClick}
71
49
  onMouseDown={this.onMouseDown}
72
50
  >
73
51
  <Icon />
@@ -79,12 +57,7 @@ export class ExternalToolbar extends Component<ExternalToolbarProps> {
79
57
  public render() {
80
58
  return (
81
59
  <div className={classes.toolbar}>
82
- {BUTTONS_ORDER.map((name) => this.props.buttons?.[name])
83
- .filter(isTruthy)
84
- .map((buttonProps, i) => {
85
- const Button = this.renderButton;
86
- return <Button {...buttonProps} key={i} />;
87
- })}
60
+ {this.props.buttons?.map((button) => this.renderButton(button))}
88
61
  </div>
89
62
  );
90
63
  }
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "richcontentviewer2620593037";
8
+ var _namespace_ = "richcontentviewer2008050199";
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":"richcontentviewer2620593037__root","viewer":"richcontentviewer2620593037__viewer","modalViewer":"richcontentviewer2620593037__modalViewer"};
16
+ export var classes = {"root":"richcontentviewer2008050199__root","viewer":"richcontentviewer2008050199__viewer","modalViewer":"richcontentviewer2008050199__modalViewer"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
 
3
- import type { WixRicosViewerProps, RichContent } from '@wix/ricos';
4
- import { WixRicosViewer, ensureRicosContent, fromPlainText } from '@wix/ricos';
3
+ import type { RicosDocument, RicosViewerProps } from '@wix/ricos';
4
+ import { RicosViewer, fromPlainText } from '@wix/ricos';
5
5
  import '@wix/ricos/css/ricos-viewer.global.css';
6
6
 
7
7
  import { useOpenState } from '../../../../hooks';
@@ -16,15 +16,14 @@ import {
16
16
  import { usePlugins } from './plugins';
17
17
  import { st, classes } from './rich-content-viewer.st.css.js';
18
18
 
19
- type RicosProps = Pick<
20
- WixRicosViewerProps,
21
- 'wixExperiments' | 'biSettings' | 'children' | 'theme'
22
- >;
19
+ type RicosProps = Pick<RicosViewerProps, 'biSettings' | 'children' | 'theme'> & {
20
+ wixExperiments?: unknown;
21
+ };
23
22
 
24
23
  interface RCVProps extends RicosProps {
25
24
  isFullScreen: boolean;
26
25
  onToggleFullscreen: () => void;
27
- content?: RichContent;
26
+ content?: RicosDocument;
28
27
  className?: string;
29
28
  tabIndex?: number;
30
29
  dataHook?: string;
@@ -54,11 +53,11 @@ const RCV: React.FC<RCVProps> = ({
54
53
  onToggleFullScreen={onToggleFullscreen}
55
54
  />
56
55
  <div data-hook={dataHook} className={classes.viewer}>
57
- <WixRicosViewer
56
+ <RicosViewer
58
57
  {...ricosProps}
59
58
  {...wixRicosProps}
60
59
  plugins={plugins}
61
- content={ensureRicosContent(content ?? fromPlainText(''))}
60
+ content={content ?? fromPlainText('')}
62
61
  />
63
62
  </div>
64
63
  </div>
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "richeditor144133490";
8
+ var _namespace_ = "richeditor1890101160";
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":"richeditor144133490__root","editor":"richeditor144133490__editor","header-one":"richeditor144133490__header-one","header-two":"richeditor144133490__header-two","header-three":"richeditor144133490__header-three","header-four":"richeditor144133490__header-four","header-five":"richeditor144133490__header-five","header-six":"richeditor144133490__header-six","paragraph-one":"richeditor144133490__paragraph-one","unstyled":"richeditor144133490__unstyled","paragraph-three":"richeditor144133490__paragraph-three","align-left":"richeditor144133490__align-left","align-right":"richeditor144133490__align-right","align-center":"richeditor144133490__align-center","align-justify":"richeditor144133490__align-justify","withMargin":"richeditor144133490__withMargin","dir-rtl":"richeditor144133490__dir-rtl"};
16
+ export var classes = {"root":"richeditor1890101160__root","editor":"richeditor1890101160__editor","header-one":"richeditor1890101160__header-one","header-two":"richeditor1890101160__header-two","header-three":"richeditor1890101160__header-three","header-four":"richeditor1890101160__header-four","header-five":"richeditor1890101160__header-five","header-six":"richeditor1890101160__header-six","paragraph-one":"richeditor1890101160__paragraph-one","unstyled":"richeditor1890101160__unstyled","paragraph-three":"richeditor1890101160__paragraph-three","align-left":"richeditor1890101160__align-left","align-right":"richeditor1890101160__align-right","align-center":"richeditor1890101160__align-center","align-justify":"richeditor1890101160__align-justify","withMargin":"richeditor1890101160__withMargin","dir-rtl":"richeditor1890101160__dir-rtl"};
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_ = "richtexteditor3749528156";
8
+ var _namespace_ = "richtexteditor1633803007";
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":"richtexteditor3749528156__root","nativeInput":"richtexteditor3749528156__nativeInput","editor":"richtexteditor3749528156__editor"};
16
+ export var classes = {"root":"richtexteditor1633803007__root","nativeInput":"richtexteditor1633803007__nativeInput","editor":"richtexteditor1633803007__editor"};
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-runti
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "toolbar3159298695";
8
+ var _namespace_ = "toolbar2197340919";
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":"toolbar3159298695__root","item":"toolbar3159298695__item","separator":"toolbar3159298695__separator","clearFormatting":"toolbar3159298695__clearFormatting","fullScreen":"toolbar3159298695__fullScreen","dropdownItemContent":"toolbar3159298695__dropdownItemContent","dropdownItemTitle":"toolbar3159298695__dropdownItemTitle","dropdownItemSubtitle":"toolbar3159298695__dropdownItemSubtitle","dropdownHeaderOne":"toolbar3159298695__dropdownHeaderOne","dropdownHeaderTwo":"toolbar3159298695__dropdownHeaderTwo","dropdownHeaderThree":"toolbar3159298695__dropdownHeaderThree","dropdownHeaderFour":"toolbar3159298695__dropdownHeaderFour","dropdownHeaderFive":"toolbar3159298695__dropdownHeaderFive","dropdownHeaderSix":"toolbar3159298695__dropdownHeaderSix","dropdownParagraphOne":"toolbar3159298695__dropdownParagraphOne","dropdownNormalText":"toolbar3159298695__dropdownNormalText","dropdownParagraphThree":"toolbar3159298695__dropdownParagraphThree"};
16
+ export var classes = {"root":"toolbar2197340919__root","item":"toolbar2197340919__item","separator":"toolbar2197340919__separator","clearFormatting":"toolbar2197340919__clearFormatting","fullScreen":"toolbar2197340919__fullScreen","dropdownItemContent":"toolbar2197340919__dropdownItemContent","dropdownItemTitle":"toolbar2197340919__dropdownItemTitle","dropdownItemSubtitle":"toolbar2197340919__dropdownItemSubtitle","dropdownHeaderOne":"toolbar2197340919__dropdownHeaderOne","dropdownHeaderTwo":"toolbar2197340919__dropdownHeaderTwo","dropdownHeaderThree":"toolbar2197340919__dropdownHeaderThree","dropdownHeaderFour":"toolbar2197340919__dropdownHeaderFour","dropdownHeaderFive":"toolbar2197340919__dropdownHeaderFive","dropdownHeaderSix":"toolbar2197340919__dropdownHeaderSix","dropdownParagraphOne":"toolbar2197340919__dropdownParagraphOne","dropdownNormalText":"toolbar2197340919__dropdownNormalText","dropdownParagraphThree":"toolbar2197340919__dropdownParagraphThree"};
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_ = "textview958310663";
8
+ var _namespace_ = "textview1395511055";
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":"textview958310663__root","textView":"textview958310663__textView"};
16
+ export var classes = {"root":"textview1395511055__root","textView":"textview1395511055__textView"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -1,12 +1,13 @@
1
1
  import type { FC } from 'react';
2
- import React, { useRef } from 'react';
2
+ import React, { useCallback, useRef } from 'react';
3
3
 
4
+ import { CloseButton } from '@wix/design-system';
4
5
  import type { TimeInputImperativeActions } from '@wix/design-system';
5
6
 
6
7
  import type { FormInputProps } from '../../types';
7
8
  import { useAutoFocus } from '../../hooks';
8
9
 
9
- import { AutoWidthTimeInput } from './time-input';
10
+ import { TimeInput } from './time-input';
10
11
  import { useTime, type Time } from './hooks';
11
12
 
12
13
  export type FormTimeInputProps = FormInputProps<Time>;
@@ -24,17 +25,33 @@ export const FormTimeInput: FC<FormTimeInputProps> = ({
24
25
 
25
26
  const [value, onChangeValue] = useTime(data, onChange);
26
27
 
28
+ const handleClear = useCallback(() => {
29
+ onChangeValue(undefined);
30
+ onInput?.();
31
+ }, [onChangeValue, onInput]);
32
+
27
33
  return (
28
- <AutoWidthTimeInput
34
+ <TimeInput
29
35
  dataHook={dataHook}
30
36
  ref={inputRef}
31
37
  readOnly={readOnly}
32
38
  value={value}
33
39
  onChange={onChangeValue}
34
40
  onInput={onInput}
41
+ width="100%"
42
+ suffix={
43
+ value && !readOnly ? (
44
+ <CloseButton
45
+ as="button"
46
+ size="small"
47
+ skin="standardFilled"
48
+ onClick={handleClear}
49
+ dataHook="form-time-input-clear"
50
+ />
51
+ ) : undefined
52
+ }
35
53
  />
36
54
  );
37
55
  };
38
56
 
39
57
  FormTimeInput.displayName = 'FormTimeInput';
40
-
@@ -1 +1 @@
1
- .addressinput4016198681__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput4016198681__tableAddressInput>div{padding:0!important;width:100%}.addressinput4016198681__tableAddressInput:focus-within{margin-left:2px}.actionsmenu80615012__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield56911128__addItem{height:120px!important;box-sizing:border-box}.formaudiofield56911128__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield56911128__addItem.formaudiofield56911128--disabled{pointer-events:auto!important}.formaudiofield56911128__addItem.formaudiofield56911128--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield56911128__mediaTitle{line-height:18px!important}.audioplayer1282513900__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.colorview2799601068__view{width:100%}.colorview2799601068__fillPreview{flex-shrink:0}.colorview2799601068__view .colorview2799601068__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog1666449724__layout{max-width:510px!important}.formdocumentfield3954791883__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3954791883__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3954791883__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3954791883__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3954791883__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3954791883__addDocument.formdocumentfield3954791883--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3954791883__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation759924886__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation759924886__exclamation.exclamation759924886---type-7-warning:not(.exclamation759924886--customSize),.exclamation759924886__exclamation.exclamation759924886---type-5-error:not(.exclamation759924886--customSize){width:24px;height:24px}.exclamation759924886__exclamation.exclamation759924886---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation759924886__exclamation.exclamation759924886---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation759924886__actions{display:flex;flex-direction:column}.exclamation759924886__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation759924886__action+.exclamation759924886__action{margin-top:6px}.exclamation759924886__action.exclamation759924886--accented{color:var(--wds-color-blue-100)}.exclamation759924886__action.exclamation759924886--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext4235751675__root.highlightedtext4235751675--highlightedBackground{animation:highlightedtext4235751675__highlighted 150ms ease-out 1 forwards}.highlightedtext4235751675__substring.highlightedtext4235751675--isHighlighted{animation:highlightedtext4235751675__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext4235751675__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext4235751675__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay1224436687__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay1224436687__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell3700849137__root{width:100%;height:100%}.pasteurlbutton3831057513__root{margin-top:6px}.pasteurlbutton3831057513__iconButtonTooltip{height:max-content}.pasteurlbutton3831057513__iconButton{width:24px;height:24px}.formmediagalleryfield299044212__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield299044212__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield299044212__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield299044212__addItem{box-sizing:border-box}.formmediagalleryfield299044212__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield299044212__image.formmediagalleryfield299044212--withMarginRight{margin-right:3px}.formmediagalleryfield299044212__image.formmediagalleryfield299044212--withMarginTop{margin-top:3px}.formmediagalleryfield299044212__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield299044212__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3603088629__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3603088629__root.mediaimage3603088629--error{--mediaimage3603088629-from:calc(50% - 0.5px);--mediaimage3603088629-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3603088629-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3603088629-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3603088629-to),transparent var(--mediaimage3603088629-to))}.mediaimage3603088629__root.mediaimage3603088629--error>*{opacity:0}.overlay3561604361__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay3561604361__iconOverlay.overlay3561604361---size-5-small{width:20px;height:20px}.overlay3561604361__iconOverlay.overlay3561604361---size-6-medium{width:24px;height:24px}.overlay3561604361__iconOverlay.overlay3561604361---size-5-large{width:28px;height:28px}.overlay3561604361__iconOverlay.overlay3561604361---placement-7-topLeft{top:2px;left:2px}.overlay3561604361__iconOverlay.overlay3561604361---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader3999422864__loader{border-radius:6px}.medialoader3999422864__loader.medialoader3999422864--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader3999422864__loader.medialoader3999422864--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1940239050__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.formmultidocument1520711159__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument1520711159__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument1520711159__viewRoot>div:first-child .formmultidocument1520711159__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument1520711159__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument1520711159__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument1520711159__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument1520711159__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellreferenceinput2943287064__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput2943287064__autocomplete{width:100%}.richcontentdefaultvalueinput1516859509__richContentEditorContainer .richcontentdefaultvalueinput1516859509__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1051770621__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput1051770621__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput1051770621__root .richcontentforminput1051770621__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2154684961__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2154684961__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal858536236__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader3184907926__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton3244257476__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton3244257476__root button{border-radius:6px!important}.richcontenteditor2251144620__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2251144620__root,.richcontenteditor2251144620__toolbarContainer,.richcontenteditor2251144620__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2251144620__toolbarContainer div{box-sizing:border-box}.richcontenteditor2251144620__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2251144620__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2251144620__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2251144620__modalEditor .richcontenteditor2251144620__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2251144620__modalEditor .richcontenteditor2251144620__footerToolbarContainer{margin-top:9px}.richcontenteditor2251144620__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2251144620__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar607396278__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar607396278__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar607396278__toolbarButton:disabled{color:graytext}.richcontenttoolbar607396278__toolbar label{padding:0 8px}.richcontentviewer2620593037__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2620593037__root.richcontentviewer2620593037--isFullScreen{padding:12px 24px}.richcontentviewer2620593037__root:not(.richcontentviewer2620593037--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2620593037__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2620593037__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2620593037__modalViewer{min-width:592px;overflow:auto}.richtexteditor3749528156__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3749528156__root.richtexteditor3749528156---border-4-none{border:0}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard:focus,.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-5-error:focus,.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-7-warning:focus,.richtexteditor3749528156__root.richtexteditor3749528156---border-8-standard.richtexteditor3749528156---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3749528156__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3749528156__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor3749528156__editor.richtexteditor3749528156--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3749528156__editor:not(.richtexteditor3749528156--isFullScreen){max-height:80vh}.richtexteditor3749528156__editor>div{flex:1;max-width:100%}.toolbar3159298695__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3159298695__item{display:flex;margin-right:12px}.toolbar3159298695__item svg,.toolbar3159298695__item svg path,.toolbar3159298695__item svg text{color:inherit;fill:currentColor}.toolbar3159298695__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3159298695__clearFormatting{margin-left:auto}.toolbar3159298695__fullScreen{margin-right:0}.toolbar3159298695__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3159298695__dropdownItemContent.toolbar3159298695--selected .toolbar3159298695__dropdownItemTitle,.toolbar3159298695__dropdownItemContent.toolbar3159298695--selected .toolbar3159298695__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3159298695__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3159298695__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar3159298695__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3159298695__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview958310663__textView::after{content:"";display:block}.richeditor144133490__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor144133490__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor144133490__editor .DraftEditor-root{width:100%;height:100%}.richeditor144133490__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor144133490__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor144133490__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor144133490__editor .public-DraftEditor-content ol,.richeditor144133490__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor144133490__editor .public-DraftEditor-content a,.richeditor144133490__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor144133490__header-one:not(li),.richeditor144133490__header-two:not(li),.richeditor144133490__header-three:not(li),.richeditor144133490__header-four:not(li),.richeditor144133490__header-five:not(li),.richeditor144133490__header-six:not(li){margin-block:0;margin:0}.richeditor144133490__header-one,.richeditor144133490__editor li.richeditor144133490__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-two,.richeditor144133490__editor li.richeditor144133490__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-three,.richeditor144133490__editor li.richeditor144133490__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-four,.richeditor144133490__editor li.richeditor144133490__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-five,.richeditor144133490__editor li.richeditor144133490__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__header-six,.richeditor144133490__editor li.richeditor144133490__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__paragraph-one,.richeditor144133490__editor li.richeditor144133490__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__unstyled,.richeditor144133490__editor li.richeditor144133490__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__paragraph-three,.richeditor144133490__editor li.richeditor144133490__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor144133490__editor li.richeditor144133490__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor144133490__editor li.richeditor144133490__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor144133490__editor li.richeditor144133490__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor144133490__editor li.richeditor144133490__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor144133490__editor li.richeditor144133490__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor144133490__editor li.richeditor144133490__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor144133490__editor li.richeditor144133490__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor144133490__align-left{text-align:left;align-self:flex-start}.richeditor144133490__align-right{text-align:right;align-self:flex-end}.richeditor144133490__align-center{text-align:center;align-self:center}.richeditor144133490__align-justify{text-align:justify;align-self:stretch}.richeditor144133490__withMargin{display:inline-block}.richeditor144133490__dir-rtl,.richeditor144133490__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor144133490__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
1
+ .addressinput705668431__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput705668431__tableAddressInput>div{padding:0!important;width:100%}.addressinput705668431__tableAddressInput:focus-within{margin-left:2px}.actionsmenu287889715__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield811929063__addItem{height:120px!important;box-sizing:border-box}.formaudiofield811929063__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield811929063__addItem.formaudiofield811929063--disabled{pointer-events:auto!important}.formaudiofield811929063__addItem.formaudiofield811929063--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield811929063__mediaTitle{line-height:18px!important}.audioplayer4013659205__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.cellcolorview2960314587__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview3681998319__view{width:100%}.colorview3681998319__fillPreview{flex-shrink:0}.colorview3681998319__view .colorview3681998319__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog939076837__layout{max-width:510px!important}.formdocumentfield189717351__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield189717351__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield189717351__textWidth{max-width:calc(100% - 196px)}.formdocumentfield189717351__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield189717351__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield189717351__addDocument.formdocumentfield189717351--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield189717351__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation1326878845__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1326878845__exclamation.exclamation1326878845---type-7-warning:not(.exclamation1326878845--customSize),.exclamation1326878845__exclamation.exclamation1326878845---type-5-error:not(.exclamation1326878845--customSize){width:24px;height:24px}.exclamation1326878845__exclamation.exclamation1326878845---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1326878845__exclamation.exclamation1326878845---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1326878845__actions{display:flex;flex-direction:column}.exclamation1326878845__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1326878845__action+.exclamation1326878845__action{margin-top:6px}.exclamation1326878845__action.exclamation1326878845--accented{color:var(--wds-color-blue-100)}.exclamation1326878845__action.exclamation1326878845--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext3563469804__root.highlightedtext3563469804--highlightedBackground{animation:highlightedtext3563469804__highlighted 150ms ease-out 1 forwards}.highlightedtext3563469804__substring.highlightedtext3563469804--isHighlighted{animation:highlightedtext3563469804__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext3563469804__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext3563469804__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay3531512781__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay3531512781__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2365634993__root{width:100%;height:100%}.pasteurlbutton19109306__root{margin-top:6px}.pasteurlbutton19109306__iconButtonTooltip{height:max-content}.pasteurlbutton19109306__iconButton{width:24px;height:24px}.formmediagalleryfield494754511__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield494754511__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield494754511__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield494754511__addItem{box-sizing:border-box}.formmediagalleryfield494754511__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield494754511__image.formmediagalleryfield494754511--withMarginRight{margin-right:3px}.formmediagalleryfield494754511__image.formmediagalleryfield494754511--withMarginTop{margin-top:3px}.formmediagalleryfield494754511__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield494754511__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3088306492__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3088306492__root.mediaimage3088306492--error{--mediaimage3088306492-from:calc(50% - 0.5px);--mediaimage3088306492-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3088306492-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3088306492-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3088306492-to),transparent var(--mediaimage3088306492-to))}.mediaimage3088306492__root.mediaimage3088306492--error>*{opacity:0}.overlay3159494699__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay3159494699__iconOverlay.overlay3159494699---size-5-small{width:20px;height:20px}.overlay3159494699__iconOverlay.overlay3159494699---size-6-medium{width:24px;height:24px}.overlay3159494699__iconOverlay.overlay3159494699---size-5-large{width:28px;height:28px}.overlay3159494699__iconOverlay.overlay3159494699---placement-7-topLeft{top:2px;left:2px}.overlay3159494699__iconOverlay.overlay3159494699---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader446546935__loader{border-radius:6px}.medialoader446546935__loader.medialoader446546935--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader446546935__loader.medialoader446546935--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag4224927626__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.formmultidocument3120106083__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3120106083__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3120106083__viewRoot>div:first-child .formmultidocument3120106083__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3120106083__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3120106083__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3120106083__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument3120106083__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellreferenceinput1850223869__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput1850223869__autocomplete{width:100%}.richcontentdefaultvalueinput2406188272__richContentEditorContainer .richcontentdefaultvalueinput2406188272__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput3680693687__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput3680693687__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput3680693687__root .richcontentforminput3680693687__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput1793260671__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput1793260671__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal1180150992__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader2485081818__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2149919655__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2149919655__root button{border-radius:6px!important}.richcontenteditor2322148827__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2322148827__root,.richcontenteditor2322148827__toolbarContainer,.richcontenteditor2322148827__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2322148827__toolbarContainer div{box-sizing:border-box}.richcontenteditor2322148827__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2322148827__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2322148827__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2322148827__modalEditor .richcontenteditor2322148827__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2322148827__modalEditor .richcontenteditor2322148827__footerToolbarContainer{margin-top:9px}.richcontenteditor2322148827__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2322148827__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar2337137469__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar2337137469__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar2337137469__toolbarButton:disabled{color:graytext}.richcontenttoolbar2337137469__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar2337137469__toolbar label{padding:0 8px}.richcontentviewer2008050199__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2008050199__root.richcontentviewer2008050199--isFullScreen{padding:12px 24px}.richcontentviewer2008050199__root:not(.richcontentviewer2008050199--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2008050199__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2008050199__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2008050199__modalViewer{min-width:592px;overflow:auto}.richtexteditor1633803007__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor1633803007__root.richtexteditor1633803007---border-4-none{border:0}.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard:focus,.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard.richtexteditor1633803007---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard.richtexteditor1633803007---status-5-error:focus,.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard.richtexteditor1633803007---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard.richtexteditor1633803007---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard.richtexteditor1633803007---status-7-warning:focus,.richtexteditor1633803007__root.richtexteditor1633803007---border-8-standard.richtexteditor1633803007---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor1633803007__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor1633803007__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor1633803007__editor.richtexteditor1633803007--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor1633803007__editor:not(.richtexteditor1633803007--isFullScreen){max-height:80vh}.richtexteditor1633803007__editor>div{flex:1;max-width:100%}.toolbar2197340919__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar2197340919__item{display:flex;margin-right:12px}.toolbar2197340919__item svg,.toolbar2197340919__item svg path,.toolbar2197340919__item svg text{color:inherit;fill:currentColor}.toolbar2197340919__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2197340919__clearFormatting{margin-left:auto}.toolbar2197340919__fullScreen{margin-right:0}.toolbar2197340919__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2197340919__dropdownItemContent.toolbar2197340919--selected .toolbar2197340919__dropdownItemTitle,.toolbar2197340919__dropdownItemContent.toolbar2197340919--selected .toolbar2197340919__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2197340919__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2197340919__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar2197340919__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar2197340919__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview1395511055__textView::after{content:"";display:block}.richeditor1890101160__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor1890101160__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor1890101160__editor .DraftEditor-root{width:100%;height:100%}.richeditor1890101160__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor1890101160__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor1890101160__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor1890101160__editor .public-DraftEditor-content ol,.richeditor1890101160__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor1890101160__editor .public-DraftEditor-content a,.richeditor1890101160__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor1890101160__header-one:not(li),.richeditor1890101160__header-two:not(li),.richeditor1890101160__header-three:not(li),.richeditor1890101160__header-four:not(li),.richeditor1890101160__header-five:not(li),.richeditor1890101160__header-six:not(li){margin-block:0;margin:0}.richeditor1890101160__header-one,.richeditor1890101160__editor li.richeditor1890101160__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__header-two,.richeditor1890101160__editor li.richeditor1890101160__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__header-three,.richeditor1890101160__editor li.richeditor1890101160__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__header-four,.richeditor1890101160__editor li.richeditor1890101160__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__header-five,.richeditor1890101160__editor li.richeditor1890101160__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__header-six,.richeditor1890101160__editor li.richeditor1890101160__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__paragraph-one,.richeditor1890101160__editor li.richeditor1890101160__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__unstyled,.richeditor1890101160__editor li.richeditor1890101160__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__paragraph-three,.richeditor1890101160__editor li.richeditor1890101160__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor1890101160__editor li.richeditor1890101160__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor1890101160__editor li.richeditor1890101160__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor1890101160__editor li.richeditor1890101160__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor1890101160__editor li.richeditor1890101160__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor1890101160__editor li.richeditor1890101160__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor1890101160__editor li.richeditor1890101160__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor1890101160__editor li.richeditor1890101160__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor1890101160__align-left{text-align:left;align-self:flex-start}.richeditor1890101160__align-right{text-align:right;align-self:flex-end}.richeditor1890101160__align-center{text-align:center;align-self:center}.richeditor1890101160__align-justify{text-align:justify;align-self:stretch}.richeditor1890101160__withMargin{display:inline-block}.richeditor1890101160__dir-rtl,.richeditor1890101160__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor1890101160__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
@@ -1,25 +1,24 @@
1
- import type { RichContent } from '@wix/ricos';
2
- import { ensureRicosContent, fromPlainText } from '@wix/ricos';
1
+ import type { RicosDocument } from '@wix/ricos';
2
+ import { fromPlainText, validateRicosDocument } from '@wix/ricos';
3
3
 
4
- export const isValid = (data: unknown): data is RichContent => {
4
+ export const isValid = (data: unknown): data is RicosDocument => {
5
5
  if (!data || typeof data !== 'object') {
6
6
  return false;
7
7
  }
8
8
  try {
9
- ensureRicosContent(data as RichContent);
10
- return true;
9
+ return validateRicosDocument(data).type === 'ok';
11
10
  } catch {
12
11
  return false;
13
12
  }
14
13
  };
15
14
 
16
- export const hardConvert = (data: unknown): RichContent => {
15
+ export const hardConvert = (data: unknown): RicosDocument => {
17
16
  if (data === null || data === undefined) {
18
17
  return fromPlainText('');
19
18
  }
20
19
 
21
20
  if (isValid(data)) {
22
- return ensureRicosContent(data);
21
+ return data;
23
22
  }
24
23
 
25
24
  if (typeof data === 'string') {