@wix/patterns-fields 1.33.0 → 1.36.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 (339) 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.st.css.js +4 -4
  6. package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  7. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
  8. package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  9. package/dist/cjs/components/boolean/form-checkbox.driver.js +16 -0
  10. package/dist/cjs/components/boolean/form-checkbox.driver.js.map +1 -0
  11. package/dist/cjs/components/boolean/form-checkbox.js +31 -0
  12. package/dist/cjs/components/boolean/form-checkbox.js.map +1 -0
  13. package/dist/cjs/components/boolean/index.js +6 -0
  14. package/dist/cjs/components/boolean/index.js.map +1 -1
  15. package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
  16. package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
  17. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
  18. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  19. package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
  20. package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
  21. package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
  22. package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
  23. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
  24. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  25. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
  26. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  27. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  28. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  29. package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
  30. package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
  31. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
  32. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  33. package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
  34. package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
  35. package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
  36. package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
  37. package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
  38. package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
  39. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  40. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  41. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
  42. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  43. package/dist/cjs/components/number-input/form-number.driver.js +23 -0
  44. package/dist/cjs/components/number-input/form-number.driver.js.map +1 -0
  45. package/dist/cjs/components/number-input/form-number.js +80 -0
  46. package/dist/cjs/components/number-input/form-number.js.map +1 -0
  47. package/dist/cjs/components/number-input/index.js +6 -0
  48. package/dist/cjs/components/number-input/index.js.map +1 -1
  49. package/dist/cjs/components/reference/cell-reference-input.js +1 -0
  50. package/dist/cjs/components/reference/cell-reference-input.js.map +1 -1
  51. package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
  52. package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
  53. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
  54. package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
  55. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
  56. package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
  57. package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  58. 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
  59. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
  60. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  61. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
  62. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
  63. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  64. package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
  65. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
  66. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
  67. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +4 -4
  68. package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  69. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
  70. package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
  71. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
  72. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  73. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
  74. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
  75. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
  76. package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
  77. package/dist/cjs/components/text/form-long-text.driver.js +24 -0
  78. package/dist/cjs/components/text/form-long-text.driver.js.map +1 -0
  79. package/dist/cjs/components/text/form-long-text.js +65 -0
  80. package/dist/cjs/components/text/form-long-text.js.map +1 -0
  81. package/dist/cjs/components/text/form-short-text.driver.js +26 -0
  82. package/dist/cjs/components/text/form-short-text.driver.js.map +1 -0
  83. package/dist/cjs/components/text/form-short-text.js +80 -0
  84. package/dist/cjs/components/text/form-short-text.js.map +1 -0
  85. package/dist/cjs/components/text/index.js +12 -0
  86. package/dist/cjs/components/text/index.js.map +1 -1
  87. package/dist/cjs/components/text/text-view.st.css.js +3 -3
  88. package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
  89. package/dist/cjs/components/time-input/cell-time-input.js +96 -0
  90. package/dist/cjs/components/time-input/cell-time-input.js.map +1 -0
  91. package/dist/cjs/components/time-input/index.js +6 -0
  92. package/dist/cjs/components/time-input/index.js.map +1 -1
  93. package/dist/cjs/components/time-view/hooks.js +11 -5
  94. package/dist/cjs/components/time-view/hooks.js.map +1 -1
  95. package/dist/cjs/components/time-view/index.js.map +1 -1
  96. package/dist/cjs/components/url/form-url.driver.js +25 -0
  97. package/dist/cjs/components/url/form-url.driver.js.map +1 -0
  98. package/dist/cjs/components/url/form-url.js +85 -0
  99. package/dist/cjs/components/url/form-url.js.map +1 -0
  100. package/dist/cjs/components/url/index.js +6 -0
  101. package/dist/cjs/components/url/index.js.map +1 -1
  102. package/dist/cjs/styles.global.css +1 -1
  103. package/dist/cjs/testkit/patterns-fields-test-provider.js +12 -4
  104. package/dist/cjs/testkit/patterns-fields-test-provider.js.map +1 -1
  105. package/dist/cjs/types/base-input.js +4 -0
  106. package/dist/cjs/types/base-input.js.map +1 -0
  107. package/dist/cjs/types/index.js +6 -0
  108. package/dist/cjs/types/index.js.map +1 -1
  109. package/dist/cjs/validations/number.js +9 -0
  110. package/dist/cjs/validations/number.js.map +1 -0
  111. package/dist/cjs/validations/string.js +11 -0
  112. package/dist/cjs/validations/string.js.map +1 -0
  113. package/dist/cjs/validations/url.js +11 -0
  114. package/dist/cjs/validations/url.js.map +1 -0
  115. package/dist/esm/components/address/input/address-input.st.css.js +2 -2
  116. package/dist/esm/components/address/input/address-input.st.css.js.map +1 -1
  117. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  118. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
  119. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  120. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  121. package/dist/esm/components/audio/audio-player/audio-player.st.css.js.map +1 -1
  122. package/dist/esm/components/boolean/form-checkbox.driver.js +12 -0
  123. package/dist/esm/components/boolean/form-checkbox.driver.js.map +1 -0
  124. package/dist/esm/components/boolean/form-checkbox.js +9 -0
  125. package/dist/esm/components/boolean/form-checkbox.js.map +1 -0
  126. package/dist/esm/components/boolean/index.js +1 -0
  127. package/dist/esm/components/boolean/index.js.map +1 -1
  128. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  129. package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
  130. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  131. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  132. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  133. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  134. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  135. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  136. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  137. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  138. package/dist/esm/components/media-control/paste-url-button.st.css.js.map +1 -1
  139. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  140. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  141. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  142. package/dist/esm/components/media-image/media-image.st.css.js.map +1 -1
  143. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  144. package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
  145. package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
  146. package/dist/esm/components/media-loader/media-loader.st.css.js.map +1 -1
  147. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  148. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  149. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  150. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  151. package/dist/esm/components/number-input/form-number.driver.js +19 -0
  152. package/dist/esm/components/number-input/form-number.driver.js.map +1 -0
  153. package/dist/esm/components/number-input/form-number.js +39 -0
  154. package/dist/esm/components/number-input/form-number.js.map +1 -0
  155. package/dist/esm/components/number-input/index.js +1 -0
  156. package/dist/esm/components/number-input/index.js.map +1 -1
  157. package/dist/esm/components/reference/cell-reference-input.js +1 -1
  158. package/dist/esm/components/reference/cell-reference-input.js.map +1 -1
  159. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  160. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  161. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
  162. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  163. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
  164. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
  165. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
  166. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  167. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
  168. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  169. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
  170. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  171. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  172. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
  173. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  174. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
  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/form-long-text.driver.js +20 -0
  177. package/dist/esm/components/text/form-long-text.driver.js.map +1 -0
  178. package/dist/esm/components/text/form-long-text.js +27 -0
  179. package/dist/esm/components/text/form-long-text.js.map +1 -0
  180. package/dist/esm/components/text/form-short-text.driver.js +22 -0
  181. package/dist/esm/components/text/form-short-text.driver.js.map +1 -0
  182. package/dist/esm/components/text/form-short-text.js +43 -0
  183. package/dist/esm/components/text/form-short-text.js.map +1 -0
  184. package/dist/esm/components/text/index.js +2 -0
  185. package/dist/esm/components/text/index.js.map +1 -1
  186. package/dist/esm/components/text/text-view.st.css.js +2 -2
  187. package/dist/esm/components/text/text-view.st.css.js.map +1 -1
  188. package/dist/esm/components/time-input/cell-time-input.js +40 -0
  189. package/dist/esm/components/time-input/cell-time-input.js.map +1 -0
  190. package/dist/esm/components/time-input/index.js +1 -0
  191. package/dist/esm/components/time-input/index.js.map +1 -1
  192. package/dist/esm/components/time-view/hooks.js +8 -6
  193. package/dist/esm/components/time-view/hooks.js.map +1 -1
  194. package/dist/esm/components/url/form-url.driver.js +21 -0
  195. package/dist/esm/components/url/form-url.driver.js.map +1 -0
  196. package/dist/esm/components/url/form-url.js +33 -0
  197. package/dist/esm/components/url/form-url.js.map +1 -0
  198. package/dist/esm/components/url/index.js +1 -0
  199. package/dist/esm/components/url/index.js.map +1 -1
  200. package/dist/esm/styles.global.css +1 -1
  201. package/dist/esm/testkit/patterns-fields-test-provider.js +12 -2
  202. package/dist/esm/testkit/patterns-fields-test-provider.js.map +1 -1
  203. package/dist/esm/types/base-input.js +2 -0
  204. package/dist/esm/types/base-input.js.map +1 -0
  205. package/dist/esm/types/index.js +1 -0
  206. package/dist/esm/types/index.js.map +1 -1
  207. package/dist/esm/validations/number.js +3 -0
  208. package/dist/esm/validations/number.js.map +1 -0
  209. package/dist/esm/validations/string.js +4 -0
  210. package/dist/esm/validations/string.js.map +1 -0
  211. package/dist/esm/validations/url.js +6 -0
  212. package/dist/esm/validations/url.js.map +1 -0
  213. package/dist/types/components/address/input/address-input.st.css.d.ts.map +1 -1
  214. package/dist/types/components/audio/actions/actions-menu/actions-menu.st.css.d.ts.map +1 -1
  215. package/dist/types/components/audio/audio-player/audio-player.st.css.d.ts.map +1 -1
  216. package/dist/types/components/boolean/form-checkbox.d.ts +6 -0
  217. package/dist/types/components/boolean/form-checkbox.d.ts.map +1 -0
  218. package/dist/types/components/boolean/form-checkbox.driver.d.ts +17 -0
  219. package/dist/types/components/boolean/form-checkbox.driver.d.ts.map +1 -0
  220. package/dist/types/components/boolean/index.d.ts +1 -0
  221. package/dist/types/components/boolean/index.d.ts.map +1 -1
  222. package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
  223. package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
  224. package/dist/types/components/media-control/paste-url-button.st.css.d.ts.map +1 -1
  225. package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
  226. package/dist/types/components/media-image/media-image.st.css.d.ts.map +1 -1
  227. package/dist/types/components/media-image/overlays/overlay.st.css.d.ts.map +1 -1
  228. package/dist/types/components/media-loader/media-loader.st.css.d.ts.map +1 -1
  229. package/dist/types/components/media-tag/web-media-tag/media-tag.st.css.d.ts.map +1 -1
  230. package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
  231. package/dist/types/components/number-input/form-number.d.ts +8 -0
  232. package/dist/types/components/number-input/form-number.d.ts.map +1 -0
  233. package/dist/types/components/number-input/form-number.driver.d.ts +20 -0
  234. package/dist/types/components/number-input/form-number.driver.d.ts.map +1 -0
  235. package/dist/types/components/number-input/index.d.ts +1 -0
  236. package/dist/types/components/number-input/index.d.ts.map +1 -1
  237. package/dist/types/components/reference/cell-reference-input.d.ts.map +1 -1
  238. package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
  239. package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
  240. package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
  241. package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.d.ts.map +1 -1
  242. package/dist/types/components/text/form-long-text.d.ts +8 -0
  243. package/dist/types/components/text/form-long-text.d.ts.map +1 -0
  244. package/dist/types/components/text/form-long-text.driver.d.ts +20 -0
  245. package/dist/types/components/text/form-long-text.driver.d.ts.map +1 -0
  246. package/dist/types/components/text/form-short-text.d.ts +8 -0
  247. package/dist/types/components/text/form-short-text.d.ts.map +1 -0
  248. package/dist/types/components/text/form-short-text.driver.d.ts +22 -0
  249. package/dist/types/components/text/form-short-text.driver.d.ts.map +1 -0
  250. package/dist/types/components/text/index.d.ts +2 -0
  251. package/dist/types/components/text/index.d.ts.map +1 -1
  252. package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
  253. package/dist/types/components/time-input/cell-time-input.d.ts +29 -0
  254. package/dist/types/components/time-input/cell-time-input.d.ts.map +1 -0
  255. package/dist/types/components/time-input/index.d.ts +1 -0
  256. package/dist/types/components/time-input/index.d.ts.map +1 -1
  257. package/dist/types/components/time-view/hooks.d.ts.map +1 -1
  258. package/dist/types/components/url/form-url.d.ts +8 -0
  259. package/dist/types/components/url/form-url.d.ts.map +1 -0
  260. package/dist/types/components/url/form-url.driver.d.ts +21 -0
  261. package/dist/types/components/url/form-url.driver.d.ts.map +1 -0
  262. package/dist/types/components/url/index.d.ts +1 -0
  263. package/dist/types/components/url/index.d.ts.map +1 -1
  264. package/dist/types/testkit/patterns-fields-test-provider.d.ts.map +1 -1
  265. package/dist/types/types/base-input.d.ts +35 -0
  266. package/dist/types/types/base-input.d.ts.map +1 -0
  267. package/dist/types/types/index.d.ts +1 -0
  268. package/dist/types/types/index.d.ts.map +1 -1
  269. package/dist/types/validations/number.d.ts +3 -0
  270. package/dist/types/validations/number.d.ts.map +1 -0
  271. package/dist/types/validations/string.d.ts +4 -0
  272. package/dist/types/validations/string.d.ts.map +1 -0
  273. package/dist/types/validations/url.d.ts +2 -0
  274. package/dist/types/validations/url.d.ts.map +1 -0
  275. package/package.json +6 -4
  276. package/src/__tests__/components/boolean/form-checkbox.spec.tsx +45 -0
  277. package/src/__tests__/components/number-input/form-number.spec.tsx +78 -0
  278. package/src/__tests__/components/text/form-long-text.spec.tsx +63 -0
  279. package/src/__tests__/components/text/form-short-text.spec.tsx +104 -0
  280. package/src/__tests__/components/url/form-url.spec.tsx +82 -0
  281. package/src/__tests__/form-field.driver.tsx +96 -0
  282. package/src/components/address/input/address-input.st.css.ts +2 -2
  283. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  284. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  285. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  286. package/src/components/boolean/form-checkbox.driver.ts +13 -0
  287. package/src/components/boolean/form-checkbox.tsx +21 -0
  288. package/src/components/boolean/index.ts +1 -0
  289. package/src/components/color-view/color-view.st.css.ts +2 -2
  290. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  291. package/src/components/document/form-document-field.st.css.ts +2 -2
  292. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  293. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  294. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  295. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  296. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  297. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  298. package/src/components/media-image/media-image.st.css.ts +3 -3
  299. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  300. package/src/components/media-loader/media-loader.st.css.ts +2 -2
  301. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  302. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  303. package/src/components/number-input/form-number.driver.ts +25 -0
  304. package/src/components/number-input/form-number.tsx +67 -0
  305. package/src/components/number-input/index.ts +1 -0
  306. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  307. package/src/components/reference/cell-reference-input.tsx +1 -0
  308. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  309. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  310. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  311. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  312. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  313. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  314. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  315. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  316. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  317. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  318. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  319. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  320. package/src/components/text/form-long-text.driver.ts +26 -0
  321. package/src/components/text/form-long-text.tsx +51 -0
  322. package/src/components/text/form-short-text.driver.ts +28 -0
  323. package/src/components/text/form-short-text.tsx +72 -0
  324. package/src/components/text/index.ts +2 -0
  325. package/src/components/text/text-view.st.css.ts +2 -2
  326. package/src/components/time-input/cell-time-input.tsx +104 -0
  327. package/src/components/time-input/index.ts +1 -0
  328. package/src/components/time-view/hooks.ts +8 -7
  329. package/src/components/time-view/index.ts +0 -1
  330. package/src/components/url/form-url.driver.ts +27 -0
  331. package/src/components/url/form-url.tsx +59 -0
  332. package/src/components/url/index.ts +1 -0
  333. package/src/styles.global.css +1 -1
  334. package/src/testkit/patterns-fields-test-provider.tsx +12 -2
  335. package/src/types/base-input.ts +36 -0
  336. package/src/types/index.ts +1 -0
  337. package/src/validations/number.ts +4 -0
  338. package/src/validations/string.ts +8 -0
  339. package/src/validations/url.ts +6 -0
@@ -0,0 +1,104 @@
1
+ import React, {
2
+ forwardRef,
3
+ useCallback,
4
+ useEffect,
5
+ useMemo,
6
+ useRef,
7
+ } from 'react';
8
+ import {
9
+ TimeInput as WSRTimeInput,
10
+ CloseButton,
11
+ type TimeInputImperativeActions,
12
+ type TimeInputProps as WSRTimeInputProps,
13
+ } from '@wix/design-system';
14
+ import { useTranslations } from '../../hooks/use-translations';
15
+ import { dateToTime, timeToDate, type Time } from './hooks';
16
+
17
+ export interface CellTimeInputProps {
18
+ value?: Time | null;
19
+ onChange?: (value: Time | null) => void;
20
+ onCommit?: () => void;
21
+ inputRef?: React.MutableRefObject<{ focus: () => void } | null | undefined>;
22
+ dataHook?: string;
23
+ placeholder?: string;
24
+ step?: WSRTimeInputProps['step'];
25
+ }
26
+
27
+ /**
28
+ * Cell-layer Time input. Wraps WDS `<TimeInput>` with cell-edit semantics:
29
+ * - `value`/`onChange` use the `Time` string format (`hh:mm:ss.SSS`);
30
+ * conversion to/from `Date` for the WDS boundary happens via
31
+ * `timeToDate`/`dateToTime`.
32
+ * - WDS `onChange` (fires on option click and on blur with a parsed custom
33
+ * value) forwards a `Time` string to `onChange`, then schedules `onCommit`
34
+ * on a microtask so WDS's two-phase change (synchronous blur + async
35
+ * selection callback) collapses into a single commit.
36
+ * - Clear button (X) suffix clears the value and commits.
37
+ * - Locale is sourced from i18n so the dropdown's 12/24h cycle matches the
38
+ * format rendered by `<TimeView>` in view mode.
39
+ */
40
+ export const CellTimeInput = forwardRef<
41
+ TimeInputImperativeActions,
42
+ CellTimeInputProps
43
+ >(({ value, onChange, onCommit, dataHook, placeholder, step = 15 }) => {
44
+ const { i18n } = useTranslations();
45
+
46
+ const dateValue = useMemo(
47
+ () => (value ? timeToDate(value) : undefined),
48
+ [value],
49
+ );
50
+
51
+ const wsrRef = useRef<TimeInputImperativeActions | null>(null);
52
+
53
+ useEffect(() => {
54
+ wsrRef.current?.focus();
55
+ }, []);
56
+
57
+ const handleChange = useCallback(
58
+ ({ date }: { date: Date | null }) => {
59
+ const newTime = date ? dateToTime(date) : null;
60
+ if (newTime === value) {
61
+ return;
62
+ }
63
+ onChange?.(newTime);
64
+ onCommit?.();
65
+ },
66
+ [onChange, onCommit, value],
67
+ );
68
+
69
+ const handleClear = useCallback(() => {
70
+ onChange?.(null);
71
+ onCommit?.();
72
+ }, [onChange, onCommit]);
73
+
74
+ return (
75
+ <WSRTimeInput
76
+ dataHook={dataHook}
77
+ ref={wsrRef}
78
+ size="small"
79
+ border="none"
80
+ step={step}
81
+ timeStyle="short"
82
+ width="100%"
83
+ locale={i18n.language as WSRTimeInputProps['locale']}
84
+ placeholder={placeholder ?? 'hh:mm'}
85
+ autoSelect={false}
86
+ value={dateValue ?? null}
87
+ onChange={handleChange}
88
+ popoverProps={{ appendTo: 'window', moveBy: { y: 4 } }}
89
+ suffix={
90
+ value ? (
91
+ <CloseButton
92
+ as="button"
93
+ size="small"
94
+ skin="standardFilled"
95
+ onClick={handleClear}
96
+ dataHook="cell-time-input-clear"
97
+ />
98
+ ) : undefined
99
+ }
100
+ />
101
+ );
102
+ });
103
+
104
+ CellTimeInput.displayName = 'CellTimeInput';
@@ -1,3 +1,4 @@
1
1
  export * from './time-input';
2
+ export * from './cell-time-input';
2
3
  export * from './form-time-input';
3
4
  export * from './hooks';
@@ -1,13 +1,14 @@
1
+ import { useTranslations } from '../../hooks/use-translations';
1
2
  import { timeToDate, type Time } from '../time-input/hooks';
2
3
 
3
- const formatLocalTime = (date: Date): string => {
4
- return date.toLocaleTimeString([], {
5
- hour: '2-digit',
6
- minute: '2-digit',
7
- });
4
+ const formatLocalTime = (date: Date, locale: string): string => {
5
+ // `timeStyle: 'short'` matches WDS TimeInput's own format: numeric hour in
6
+ // 12h locales ("9:45 AM") and zero-padded hour in 24h locales ("09:45"),
7
+ // so View and Edit render the same string.
8
+ return date.toLocaleTimeString(locale, { timeStyle: 'short' });
8
9
  };
9
10
 
10
11
  export const useFormattedTime = (time?: Time) => {
11
- return time ? formatLocalTime(timeToDate(time)) : undefined;
12
+ const { i18n } = useTranslations();
13
+ return time ? formatLocalTime(timeToDate(time), i18n.language) : undefined;
12
14
  };
13
-
@@ -1,3 +1,2 @@
1
1
  export * from './time-view';
2
2
  export * from './hooks';
3
-
@@ -0,0 +1,27 @@
1
+ import { UniDriver } from '@wix/wix-ui-test-utils/unidriver';
2
+ import {
3
+ FormFieldUniDriver,
4
+ InputUniDriver,
5
+ } from '@wix/design-system/dist/testkit/unidriver';
6
+
7
+ import { baseUniDriverFactory } from '../../testkit/base-driver';
8
+
9
+ export function FormUrlDriver(base: UniDriver, body: UniDriver) {
10
+ const formField = FormFieldUniDriver(base, body);
11
+ const inputBase = base.$(`[data-hook^="url-"]`);
12
+ const input = InputUniDriver(inputBase, body);
13
+
14
+ return {
15
+ ...baseUniDriverFactory(base),
16
+ getLabel: async () => {
17
+ const labelEl = await formField.getLabel();
18
+ return labelEl?.textContent ?? '';
19
+ },
20
+ getValue: () => input.getValue(),
21
+ enterText: (value: string) => input.enterText(value),
22
+ blur: () => input.blur(),
23
+ hasError: () => formField.hasStatus('error'),
24
+ getErrorMessage: () => formField.getStatusMessage(),
25
+ isRequired: () => formField.isRequired(),
26
+ };
27
+ }
@@ -0,0 +1,59 @@
1
+ import React from 'react';
2
+ import { FormField, Input } from '@wix/design-system';
3
+ import { observer } from 'mobx-react-lite';
4
+ import { Link } from '@wix/wix-ui-icons-common';
5
+ import { useWixPatternsContainer } from '@wix/bex-core/react';
6
+ import { useController } from '@wix/bex-core/form';
7
+
8
+ import { BaseInputProps } from '../../types/base-input';
9
+ import { isEmpty } from '../../validations/string';
10
+ import { isValidUri } from '../../validations/url';
11
+
12
+ export interface FormUrlProps extends BaseInputProps<string> {}
13
+
14
+ const _FormUrl = (props: FormUrlProps) => {
15
+ const { field, dataHook, formControl, data } = props;
16
+ const { translate: t } = useWixPatternsContainer();
17
+
18
+ const controller = useController({
19
+ name: field.id,
20
+ control: formControl,
21
+ defaultValue: data?.[field.id],
22
+ rules: {
23
+ validate: (value: string | null | undefined) => {
24
+ if (field.validation?.required && isEmpty(value)) {
25
+ return t('cairo.fieldValidation.requiredField');
26
+ } else if (value) {
27
+ return isValidUri(value) || t('cairo.customFields.url-input.error');
28
+ }
29
+ return true;
30
+ },
31
+ },
32
+ });
33
+
34
+ return (
35
+ <FormField
36
+ label={field.displayName}
37
+ required={field.validation?.required}
38
+ dataHook={dataHook}
39
+ status={controller.fieldState.error ? 'error' : undefined}
40
+ statusMessage={controller.fieldState.error?.message}
41
+ >
42
+ <Input
43
+ prefix={
44
+ <Input.IconAffix>
45
+ <Link />
46
+ </Input.IconAffix>
47
+ }
48
+ placeholder={t('cairo.customFields.url-input.placeholder')}
49
+ dataHook={`url-${field.id}`}
50
+ value={controller.field.value}
51
+ onChange={(e) => controller.field.onChange?.(e.target.value)}
52
+ onBlur={controller.field.onBlur}
53
+ ref={controller.field.ref}
54
+ />
55
+ </FormField>
56
+ );
57
+ };
58
+
59
+ export const FormUrl = observer(_FormUrl);
@@ -1,2 +1,3 @@
1
1
  export * from './url-view';
2
2
  export * from './cell-url-input';
3
+ export * from './form-url';
@@ -1 +1 @@
1
- .addressinput729874005__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput729874005__tableAddressInput>div{padding:0!important;width:100%}.addressinput729874005__tableAddressInput:focus-within{margin-left:2px}.actionsmenu2444683558__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1088573464__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1088573464__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)}.formaudiofield1088573464__addItem.formaudiofield1088573464--disabled{pointer-events:auto!important}.formaudiofield1088573464__addItem.formaudiofield1088573464--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1088573464__mediaTitle{line-height:18px!important}.audioplayer1564949382__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}.colorview2222739831__view{width:100%}.colorview2222739831__fillPreview{flex-shrink:0}.colorview2222739831__view .colorview2222739831__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog1823883360__layout{max-width:510px!important}.formdocumentfield2675233247__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield2675233247__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield2675233247__textWidth{max-width:calc(100% - 196px)}.formdocumentfield2675233247__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield2675233247__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield2675233247__addDocument.formdocumentfield2675233247--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield2675233247__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))}.exclamation3841682411__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation3841682411__exclamation.exclamation3841682411---type-7-warning:not(.exclamation3841682411--customSize),.exclamation3841682411__exclamation.exclamation3841682411---type-5-error:not(.exclamation3841682411--customSize){width:24px;height:24px}.exclamation3841682411__exclamation.exclamation3841682411---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation3841682411__exclamation.exclamation3841682411---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation3841682411__actions{display:flex;flex-direction:column}.exclamation3841682411__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation3841682411__action+.exclamation3841682411__action{margin-top:6px}.exclamation3841682411__action.exclamation3841682411--accented{color:var(--wds-color-blue-100)}.exclamation3841682411__action.exclamation3841682411--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext1497165029__root.highlightedtext1497165029--highlightedBackground{animation:highlightedtext1497165029__highlighted 150ms ease-out 1 forwards}.highlightedtext1497165029__substring.highlightedtext1497165029--isHighlighted{animation:highlightedtext1497165029__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext1497165029__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext1497165029__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay4228634431__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay4228634431__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2491537557__root{width:100%;height:100%}.pasteurlbutton3895047373__root{margin-top:6px}.pasteurlbutton3895047373__iconButtonTooltip{height:max-content}.pasteurlbutton3895047373__iconButton{width:24px;height:24px}.formmediagalleryfield522227644__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield522227644__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield522227644__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield522227644__addItem{box-sizing:border-box}.formmediagalleryfield522227644__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield522227644__image.formmediagalleryfield522227644--withMarginRight{margin-right:3px}.formmediagalleryfield522227644__image.formmediagalleryfield522227644--withMarginTop{margin-top:3px}.formmediagalleryfield522227644__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield522227644__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1121376779__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1121376779__root.mediaimage1121376779--error{--mediaimage1121376779-from:calc(50% - 0.5px);--mediaimage1121376779-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1121376779-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1121376779-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1121376779-to),transparent var(--mediaimage1121376779-to))}.mediaimage1121376779__root.mediaimage1121376779--error>*{opacity:0}.overlay4219437867__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))}.overlay4219437867__iconOverlay.overlay4219437867---size-5-small{width:20px;height:20px}.overlay4219437867__iconOverlay.overlay4219437867---size-6-medium{width:24px;height:24px}.overlay4219437867__iconOverlay.overlay4219437867---size-5-large{width:28px;height:28px}.overlay4219437867__iconOverlay.overlay4219437867---placement-7-topLeft{top:2px;left:2px}.overlay4219437867__iconOverlay.overlay4219437867---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader1547496445__loader{border-radius:6px}.medialoader1547496445__loader.medialoader1547496445--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader1547496445__loader.medialoader1547496445--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag3157960080__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))}.formmultidocument1870890700__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument1870890700__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument1870890700__viewRoot>div:first-child .formmultidocument1870890700__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))}.formmultidocument1870890700__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument1870890700__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument1870890700__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))}.formmultidocument1870890700__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))}.cellreferenceinput2828272189__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput2828272189__autocomplete{width:100%}.richcontentdefaultvalueinput3397011445__richContentEditorContainer .richcontentdefaultvalueinput3397011445__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput3261936449__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput3261936449__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput3261936449__root .richcontentforminput3261936449__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput4192965545__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput4192965545__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal2136777804__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}.publishloader4122031313__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton118374390__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton118374390__root button{border-radius:6px!important}.richcontenteditor1736622042__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1736622042__root,.richcontenteditor1736622042__toolbarContainer,.richcontenteditor1736622042__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1736622042__toolbarContainer div{box-sizing:border-box}.richcontenteditor1736622042__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1736622042__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1736622042__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1736622042__modalEditor .richcontenteditor1736622042__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1736622042__modalEditor .richcontenteditor1736622042__footerToolbarContainer{margin-top:9px}.richcontenteditor1736622042__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1736622042__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar2377248550__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}.richcontenttoolbar2377248550__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar2377248550__toolbarButton:disabled{color:graytext}.richcontenttoolbar2377248550__toolbar label{padding:0 8px}.richcontentviewer3514534486__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer3514534486__root.richcontentviewer3514534486--isFullScreen{padding:12px 24px}.richcontentviewer3514534486__root:not(.richcontentviewer3514534486--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer3514534486__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer3514534486__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer3514534486__modalViewer{min-width:592px;overflow:auto}.richtexteditor3533418776__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3533418776__root.richtexteditor3533418776---border-4-none{border:0}.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard:focus,.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard.richtexteditor3533418776---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard.richtexteditor3533418776---status-5-error:focus,.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard.richtexteditor3533418776---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard.richtexteditor3533418776---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard.richtexteditor3533418776---status-7-warning:focus,.richtexteditor3533418776__root.richtexteditor3533418776---border-8-standard.richtexteditor3533418776---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3533418776__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3533418776__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)}.richtexteditor3533418776__editor.richtexteditor3533418776--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3533418776__editor:not(.richtexteditor3533418776--isFullScreen){max-height:80vh}.richtexteditor3533418776__editor>div{flex:1;max-width:100%}.toolbar1298222680__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}.toolbar1298222680__item{display:flex;margin-right:12px}.toolbar1298222680__item svg,.toolbar1298222680__item svg path,.toolbar1298222680__item svg text{color:inherit;fill:currentColor}.toolbar1298222680__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar1298222680__clearFormatting{margin-left:auto}.toolbar1298222680__fullScreen{margin-right:0}.toolbar1298222680__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar1298222680__dropdownItemContent.toolbar1298222680--selected .toolbar1298222680__dropdownItemTitle,.toolbar1298222680__dropdownItemContent.toolbar1298222680--selected .toolbar1298222680__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar1298222680__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.toolbar1298222680__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}.textview846688269__textView::after{content:"";display:block}.richeditor60697488__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))}.richeditor60697488__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))}.richeditor60697488__editor .DraftEditor-root{width:100%;height:100%}.richeditor60697488__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor60697488__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor60697488__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor60697488__editor .public-DraftEditor-content ol,.richeditor60697488__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor60697488__editor .public-DraftEditor-content a,.richeditor60697488__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor60697488__header-one:not(li),.richeditor60697488__header-two:not(li),.richeditor60697488__header-three:not(li),.richeditor60697488__header-four:not(li),.richeditor60697488__header-five:not(li),.richeditor60697488__header-six:not(li){margin-block:0;margin:0}.richeditor60697488__header-one,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__header-two,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__header-three,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__header-four,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__header-five,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__header-six,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__paragraph-one,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__unstyled,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__paragraph-three,.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__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)))}.richeditor60697488__editor li.richeditor60697488__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}.richeditor60697488__align-left{text-align:left;align-self:flex-start}.richeditor60697488__align-right{text-align:right;align-self:flex-end}.richeditor60697488__align-center{text-align:center;align-self:center}.richeditor60697488__align-justify{text-align:justify;align-self:stretch}.richeditor60697488__withMargin{display:inline-block}.richeditor60697488__dir-rtl,.richeditor60697488__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor60697488__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
1
+ .addressinput4174358991__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput4174358991__tableAddressInput>div{padding:0!important;width:100%}.addressinput4174358991__tableAddressInput:focus-within{margin-left:2px}.actionsmenu404510853__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield3136717165__addItem{height:120px!important;box-sizing:border-box}.formaudiofield3136717165__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)}.formaudiofield3136717165__addItem.formaudiofield3136717165--disabled{pointer-events:auto!important}.formaudiofield3136717165__addItem.formaudiofield3136717165--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield3136717165__mediaTitle{line-height:18px!important}.audioplayer222144949__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}.colorview366587587__view{width:100%}.colorview366587587__fillPreview{flex-shrink:0}.colorview366587587__view .colorview366587587__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog703678680__layout{max-width:510px!important}.formdocumentfield1781643917__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield1781643917__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield1781643917__textWidth{max-width:calc(100% - 196px)}.formdocumentfield1781643917__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield1781643917__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield1781643917__addDocument.formdocumentfield1781643917--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield1781643917__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))}.exclamation2557246513__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2557246513__exclamation.exclamation2557246513---type-7-warning:not(.exclamation2557246513--customSize),.exclamation2557246513__exclamation.exclamation2557246513---type-5-error:not(.exclamation2557246513--customSize){width:24px;height:24px}.exclamation2557246513__exclamation.exclamation2557246513---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2557246513__exclamation.exclamation2557246513---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2557246513__actions{display:flex;flex-direction:column}.exclamation2557246513__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2557246513__action+.exclamation2557246513__action{margin-top:6px}.exclamation2557246513__action.exclamation2557246513--accented{color:var(--wds-color-blue-100)}.exclamation2557246513__action.exclamation2557246513--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext4048086956__root.highlightedtext4048086956--highlightedBackground{animation:highlightedtext4048086956__highlighted 150ms ease-out 1 forwards}.highlightedtext4048086956__substring.highlightedtext4048086956--isHighlighted{animation:highlightedtext4048086956__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext4048086956__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext4048086956__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay3859327744__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay3859327744__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell2103765304__root{width:100%;height:100%}.pasteurlbutton323743403__root{margin-top:6px}.pasteurlbutton323743403__iconButtonTooltip{height:max-content}.pasteurlbutton323743403__iconButton{width:24px;height:24px}.formmediagalleryfield3333265392__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3333265392__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3333265392__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3333265392__addItem{box-sizing:border-box}.formmediagalleryfield3333265392__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3333265392__image.formmediagalleryfield3333265392--withMarginRight{margin-right:3px}.formmediagalleryfield3333265392__image.formmediagalleryfield3333265392--withMarginTop{margin-top:3px}.formmediagalleryfield3333265392__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3333265392__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage83983951__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage83983951__root.mediaimage83983951--error{--mediaimage83983951-from:calc(50% - 0.5px);--mediaimage83983951-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage83983951-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage83983951-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage83983951-to),transparent var(--mediaimage83983951-to))}.mediaimage83983951__root.mediaimage83983951--error>*{opacity:0}.overlay448562002__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))}.overlay448562002__iconOverlay.overlay448562002---size-5-small{width:20px;height:20px}.overlay448562002__iconOverlay.overlay448562002---size-6-medium{width:24px;height:24px}.overlay448562002__iconOverlay.overlay448562002---size-5-large{width:28px;height:28px}.overlay448562002__iconOverlay.overlay448562002---placement-7-topLeft{top:2px;left:2px}.overlay448562002__iconOverlay.overlay448562002---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader732921463__loader{border-radius:6px}.medialoader732921463__loader.medialoader732921463--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader732921463__loader.medialoader732921463--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag803492834__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))}.formmultidocument441385592__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument441385592__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument441385592__viewRoot>div:first-child .formmultidocument441385592__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))}.formmultidocument441385592__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument441385592__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument441385592__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))}.formmultidocument441385592__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))}.cellreferenceinput2634747470__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput2634747470__autocomplete{width:100%}.richcontentdefaultvalueinput2663839494__richContentEditorContainer .richcontentdefaultvalueinput2663839494__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput2084404769__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput2084404769__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput2084404769__root .richcontentforminput2084404769__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2046372641__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2046372641__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal494200678__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}.publishloader3698165698__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton240346221__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton240346221__root button{border-radius:6px!important}.richcontenteditor1214222774__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1214222774__root,.richcontenteditor1214222774__toolbarContainer,.richcontenteditor1214222774__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1214222774__toolbarContainer div{box-sizing:border-box}.richcontenteditor1214222774__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1214222774__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1214222774__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1214222774__modalEditor .richcontenteditor1214222774__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1214222774__modalEditor .richcontenteditor1214222774__footerToolbarContainer{margin-top:9px}.richcontenteditor1214222774__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1214222774__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar647559125__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}.richcontenttoolbar647559125__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar647559125__toolbarButton:disabled{color:graytext}.richcontenttoolbar647559125__toolbar label{padding:0 8px}.richcontentviewer4124111482__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer4124111482__root.richcontentviewer4124111482--isFullScreen{padding:12px 24px}.richcontentviewer4124111482__root:not(.richcontentviewer4124111482--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer4124111482__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer4124111482__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer4124111482__modalViewer{min-width:592px;overflow:auto}.richtexteditor861894303__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor861894303__root.richtexteditor861894303---border-4-none{border:0}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard:focus,.richtexteditor861894303__root.richtexteditor861894303---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-5-error:focus,.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-7-warning:focus,.richtexteditor861894303__root.richtexteditor861894303---border-8-standard.richtexteditor861894303---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor861894303__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor861894303__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)}.richtexteditor861894303__editor.richtexteditor861894303--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor861894303__editor:not(.richtexteditor861894303--isFullScreen){max-height:80vh}.richtexteditor861894303__editor>div{flex:1;max-width:100%}.toolbar3272803868__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}.toolbar3272803868__item{display:flex;margin-right:12px}.toolbar3272803868__item svg,.toolbar3272803868__item svg path,.toolbar3272803868__item svg text{color:inherit;fill:currentColor}.toolbar3272803868__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3272803868__clearFormatting{margin-left:auto}.toolbar3272803868__fullScreen{margin-right:0}.toolbar3272803868__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3272803868__dropdownItemContent.toolbar3272803868--selected .toolbar3272803868__dropdownItemTitle,.toolbar3272803868__dropdownItemContent.toolbar3272803868--selected .toolbar3272803868__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3272803868__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.toolbar3272803868__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}.textview2761560688__textView::after{content:"";display:block}.richeditor3766248638__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))}.richeditor3766248638__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))}.richeditor3766248638__editor .DraftEditor-root{width:100%;height:100%}.richeditor3766248638__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor3766248638__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor3766248638__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor3766248638__editor .public-DraftEditor-content ol,.richeditor3766248638__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor3766248638__editor .public-DraftEditor-content a,.richeditor3766248638__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor3766248638__header-one:not(li),.richeditor3766248638__header-two:not(li),.richeditor3766248638__header-three:not(li),.richeditor3766248638__header-four:not(li),.richeditor3766248638__header-five:not(li),.richeditor3766248638__header-six:not(li){margin-block:0;margin:0}.richeditor3766248638__header-one,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-two,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-three,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-four,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-five,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__header-six,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__paragraph-one,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__unstyled,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__paragraph-three,.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__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)))}.richeditor3766248638__editor li.richeditor3766248638__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}.richeditor3766248638__align-left{text-align:left;align-self:flex-start}.richeditor3766248638__align-right{text-align:right;align-self:flex-end}.richeditor3766248638__align-center{text-align:center;align-self:center}.richeditor3766248638__align-justify{text-align:justify;align-self:stretch}.richeditor3766248638__withMargin{display:inline-block}.richeditor3766248638__dir-rtl,.richeditor3766248638__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor3766248638__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
@@ -4,14 +4,24 @@ import type { WixPatternsContainer } from '@wix/bex-core';
4
4
  import { PatternsFieldsContainerProvider } from '../providers/PatternsFieldsContainerProvider';
5
5
  import type { PatternsFieldsAppContainer } from '../providers/PatternsFieldsAppContainer';
6
6
 
7
- const passthrough = (key: string) => key;
7
+ const passthrough = (key: string, params?: Record<string, unknown>) => {
8
+ if (!params) {
9
+ return key;
10
+ }
11
+ const suffix = Object.entries(params)
12
+ .map(([k, v]) => `${k}=${String(v)}`)
13
+ .join(',');
14
+ return `${key}{${suffix}}`;
15
+ };
8
16
 
9
17
  const mockContainer = {
10
18
  translate: passthrough,
11
19
  i18n: { t: passthrough, init: () => Promise.resolve() },
12
20
  } as unknown as PatternsFieldsAppContainer;
13
21
 
14
- const mockWixPatternsContainer = {} as unknown as WixPatternsContainer;
22
+ const mockWixPatternsContainer = {
23
+ translate: passthrough,
24
+ } as unknown as WixPatternsContainer;
15
25
 
16
26
  export const PatternsFieldsTestProvider: React.FC = ({ children }) => (
17
27
  <WixPatternsContainerProvider value={mockWixPatternsContainer}>
@@ -0,0 +1,36 @@
1
+ import { Control } from '@wix/bex-core/form';
2
+ import { Field } from '@wix/bex-core';
3
+
4
+ /**
5
+ * Ref handle exposed by schema-driven renderers so a parent dispatcher can
6
+ * focus the input or read its validity.
7
+ *
8
+ * See [[BaseInputProps]] for the matching prop contract.
9
+ */
10
+ export interface BaseInputRef {
11
+ focus?: () => void;
12
+ invalid?: boolean;
13
+ }
14
+
15
+ /**
16
+ * Contract for schema-driven field renderers dispatched from a form's
17
+ * `<FormField>` based on the field's type.
18
+ *
19
+ * Renderers conforming to this contract receive the resolved `Field` schema
20
+ * plus the parent `formControl`, and they own their own validation wiring
21
+ * (via React Hook Form's `useController`).
22
+ *
23
+ * Distinct from `FormInputProps`, which is the contract for standalone
24
+ * controlled inputs that are composed directly by the consumer (no schema,
25
+ * no `Field`, no form control passed in). Both contracts coexist on
26
+ * purpose — they describe different abstraction layers.
27
+ */
28
+ export interface BaseInputProps<T> {
29
+ field: Field;
30
+ value: T;
31
+ onChange: (newValue: T) => void;
32
+ dataHook?: string;
33
+ inputRef?: (ref: BaseInputRef) => void;
34
+ formControl: Control<any>;
35
+ data: Record<string, any>;
36
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './address';
2
+ export * from './base-input';
2
3
  export * from './form-input';
3
4
  export * from './validation';
4
5
  export type { Translate } from '../services/translations';
@@ -0,0 +1,4 @@
1
+ export const isLessThan = (value: number, min: number): boolean => value < min;
2
+
3
+ export const isGreaterThan = (value: number, max: number): boolean =>
4
+ value > max;
@@ -0,0 +1,8 @@
1
+ export const isEmpty = (value: string | null | undefined): boolean =>
2
+ value === null || value === undefined || value === '';
3
+
4
+ export const isShorterThan = (value: string, min: number): boolean =>
5
+ value.length < min;
6
+
7
+ export const isLongerThan = (value: string, max: number): boolean =>
8
+ value.length > max;
@@ -0,0 +1,6 @@
1
+ // Same regex as data-extensions https://github.com/wix-private/server-infra/blob/a6c3009d39bbb0312c929f68ee81c559e1eb5b4e/iptf/dataextensions/src/main/scala/com/wixpress/infra/dataextensions/runtime/validator/Formats.scala#L31
2
+ const uriPattern =
3
+ // eslint-disable-next-line no-useless-escape
4
+ /^[A-Za-z][A-Za-z0-9+.-]*:(\/\/([A-Za-z0-9._~\-%!$&'()*+,;=:]*@)?[A-Za-z0-9._~\-!$&'()*+,;=%:\[\]]*(:[0-9]*)?)?[A-Za-z0-9._~\-%!$&'()*+,;=:@\/]*([?][A-Za-z0-9._~\-%!$&'()*+,;=:@\/?]*)?([#][A-Za-z0-9._~\-%!$&'()*+,;=:@\/?]*)?$/;
5
+
6
+ export const isValidUri = (value: string): boolean => uriPattern.test(value);