@wix/patterns-fields 1.79.0 → 1.81.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 (191) 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-boolean-radio-group-input.js +71 -0
  10. package/dist/cjs/components/boolean/form-boolean-radio-group-input.js.map +1 -0
  11. package/dist/cjs/components/boolean/index.js +6 -0
  12. package/dist/cjs/components/boolean/index.js.map +1 -1
  13. package/dist/cjs/components/color-view/cell-color-view.st.css.js +3 -3
  14. package/dist/cjs/components/color-view/cell-color-view.st.css.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/controlled-input.uni.driver.js +2 -1
  18. package/dist/cjs/components/controlled-input.uni.driver.js.map +1 -1
  19. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
  20. package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
  21. package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
  22. package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
  23. package/dist/cjs/components/email/form-email-input.js +31 -2
  24. package/dist/cjs/components/email/form-email-input.js.map +1 -1
  25. package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
  26. package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
  27. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
  28. package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
  29. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
  30. package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
  31. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  32. package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
  33. package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
  34. package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
  35. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
  36. package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  37. package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
  38. package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
  39. package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
  40. package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
  41. package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
  42. package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
  43. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  44. package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
  45. package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
  46. package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
  47. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
  48. package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
  49. package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
  50. package/dist/cjs/components/reference/cell-multi-reference-input.st.css.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 +5 -5
  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/text-view.st.css.js +3 -3
  78. package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
  79. package/dist/cjs/styles.global.css +1 -1
  80. package/dist/esm/components/address/input/address-input.st.css.js +2 -2
  81. package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
  82. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
  83. package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
  84. package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
  85. package/dist/esm/components/boolean/form-boolean-radio-group-input.js +24 -0
  86. package/dist/esm/components/boolean/form-boolean-radio-group-input.js.map +1 -0
  87. package/dist/esm/components/boolean/index.js +1 -0
  88. package/dist/esm/components/boolean/index.js.map +1 -1
  89. package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
  90. package/dist/esm/components/color-view/color-view.st.css.js +2 -2
  91. package/dist/esm/components/color-view/color-view.st.css.js.map +1 -1
  92. package/dist/esm/components/controlled-input.uni.driver.js +2 -1
  93. package/dist/esm/components/controlled-input.uni.driver.js.map +1 -1
  94. package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
  95. package/dist/esm/components/document/form-document-field.st.css.js +2 -2
  96. package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
  97. package/dist/esm/components/email/form-email-input.js +3 -0
  98. package/dist/esm/components/email/form-email-input.js.map +1 -1
  99. package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
  100. package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
  101. package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
  102. package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
  103. package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
  104. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
  105. package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
  106. package/dist/esm/components/media-image/media-image.st.css.js +3 -3
  107. package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
  108. package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
  109. package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
  110. package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
  111. package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
  112. package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
  113. package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
  114. package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
  115. package/dist/esm/components/reference/cell-reference-input.st.css.js.map +1 -1
  116. package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
  117. package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
  118. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
  119. package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
  120. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
  121. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
  122. package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
  123. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
  124. package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
  125. package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
  126. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
  127. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
  128. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
  129. package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
  130. package/dist/esm/components/text/text-view.st.css.js +2 -2
  131. package/dist/esm/components/text/text-view.st.css.js.map +1 -1
  132. package/dist/esm/styles.global.css +1 -1
  133. package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
  134. package/dist/types/components/boolean/form-boolean-radio-group-input.d.ts +13 -0
  135. package/dist/types/components/boolean/form-boolean-radio-group-input.d.ts.map +1 -0
  136. package/dist/types/components/boolean/index.d.ts +1 -0
  137. package/dist/types/components/boolean/index.d.ts.map +1 -1
  138. package/dist/types/components/color-view/color-view.st.css.d.ts.map +1 -1
  139. package/dist/types/components/controlled-input.uni.driver.d.ts +1 -0
  140. package/dist/types/components/controlled-input.uni.driver.d.ts.map +1 -1
  141. package/dist/types/components/document/form-document-field.st.css.d.ts.map +1 -1
  142. package/dist/types/components/email/form-email-input.d.ts +6 -0
  143. package/dist/types/components/email/form-email-input.d.ts.map +1 -1
  144. package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
  145. package/dist/types/components/multi-document/cell-multi-document-edit.st.css.d.ts.map +1 -1
  146. package/dist/types/components/reference/cell-reference-input.st.css.d.ts.map +1 -1
  147. package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.d.ts.map +1 -1
  148. package/dist/types/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.d.ts.map +1 -1
  149. package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
  150. package/package.json +4 -4
  151. package/src/__tests__/exports/controlled-inputs.spec.tsx +154 -1
  152. package/src/components/address/input/address-input.st.css.ts +2 -2
  153. package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
  154. package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
  155. package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
  156. package/src/components/boolean/form-boolean-radio-group-input.tsx +68 -0
  157. package/src/components/boolean/index.ts +1 -0
  158. package/src/components/color-view/cell-color-view.st.css.ts +2 -2
  159. package/src/components/color-view/color-view.st.css.ts +2 -2
  160. package/src/components/controlled-input.uni.driver.ts +2 -0
  161. package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
  162. package/src/components/document/form-document-field.st.css.ts +2 -2
  163. package/src/components/email/form-email-input.tsx +32 -0
  164. package/src/components/exclamation/exclamation.st.css.ts +2 -2
  165. package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
  166. package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
  167. package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
  168. package/src/components/media-control/paste-url-button.st.css.ts +2 -2
  169. package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
  170. package/src/components/media-image/media-image.st.css.ts +3 -3
  171. package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
  172. package/src/components/media-loader/media-loader.st.css.ts +2 -2
  173. package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
  174. package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
  175. package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
  176. package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
  177. package/src/components/reference/cell-reference-input.st.css.ts +2 -2
  178. package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
  179. package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
  180. package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
  181. package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
  182. package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
  183. package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
  184. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
  185. package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
  186. package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
  187. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
  188. package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
  189. package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
  190. package/src/components/text/text-view.st.css.ts +2 -2
  191. package/src/styles.global.css +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"text-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/text/text-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAAgF,CAAC;AACnG,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
1
+ {"version":3,"file":"text-view.st.css.d.ts","sourceRoot":"","sources":["../../../../src/components/text/text-view.st.css.ts"],"names":[],"mappings":"AAUA,eAAO,IAAI,SAAS,+BAAwC,CAAC;AAC7D,eAAO,IAAI,KAAK,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AACnE,eAAO,IAAI,EAAE,EAAE,OAAO,mBAAmB,EAAE,UAAoB,CAAC;AAEhE,eAAO,IAAI,SAAS,QAAc,CAAC;AACnC,eAAO,IAAI,OAAO;;;CAA8E,CAAC;AACjG,eAAO,IAAI,SAAS,IAAK,CAAC;AAC1B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,UAAU,IAAK,CAAC;AAC3B,eAAO,IAAI,MAAM,IAAK,CAAC;AACvB,eAAO,IAAI,IAAI,IAAK,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/patterns-fields",
3
- "version": "1.79.0",
3
+ "version": "1.81.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Kobi",
@@ -124,7 +124,7 @@
124
124
  "@wix/atlas": "^1.0.35",
125
125
  "@wix/data": "^1.0.323",
126
126
  "@wix/media": "^1.0.231",
127
- "@wix/patterns-fields-utils": "1.60.0",
127
+ "@wix/patterns-fields-utils": "1.62.0",
128
128
  "@wix/rich-content": "1.0.37",
129
129
  "@wix/sdk": "^1.17.2",
130
130
  "@wix/wix-ui-icons-common": "^3.189.0",
@@ -152,7 +152,7 @@
152
152
  "@types/lodash": "^4.17.20",
153
153
  "@types/react": "^16.14.68",
154
154
  "@wix/babel-cli": "^1.11.0",
155
- "@wix/bex-core": "2.357.0",
155
+ "@wix/bex-core": "2.359.0",
156
156
  "@wix/design-system": "^1.314.0",
157
157
  "@wix/eslint-config-yoshi": "^6.74.0",
158
158
  "@wix/jest-yoshi-preset": "^6.74.0",
@@ -212,5 +212,5 @@
212
212
  "optional": true
213
213
  }
214
214
  },
215
- "falconPackageHash": "762e83ede14e81abc9244ed1a945ba63c4c4c3f8c1d5000e9a56a62f"
215
+ "falconPackageHash": "7f3ac142c92989cd0bc2506f1510478c1b2edc0c549e190447a20f49"
216
216
  }
@@ -4,11 +4,15 @@ import React from 'react';
4
4
  import { render } from '@testing-library/react';
5
5
  import { uniTestkitFactoryCreator } from '@wix/wix-ui-test-utils/testing-library';
6
6
 
7
- import { FormCheckboxInput } from '../../components/boolean';
7
+ import {
8
+ ControlledBooleanRadioGroupInput,
9
+ FormCheckboxInput,
10
+ } from '../../components/boolean';
8
11
  import { ControlledColorInput } from '../../components/color-view';
9
12
  import { ControlledInputUniDriver } from '../../components/controlled-input.uni.driver';
10
13
  import { DateInput } from '../../components/date-input';
11
14
  import { DateTimeInput } from '../../components/datetime-input';
15
+ import { ControlledEmailInput } from '../../components/email';
12
16
  import { FormNumberInput } from '../../components/number-input';
13
17
  import { FormShortTextInput } from '../../components/text';
14
18
  import { FormUrlInput } from '../../components/url';
@@ -51,6 +55,72 @@ describe('controlled inputs', () => {
51
55
  expect(onChange).toHaveBeenCalledWith(false);
52
56
  });
53
57
 
58
+ it('follows boolean radio-group prop changes and reports user edits', async () => {
59
+ const onChange = jest.fn();
60
+ const { container, rerender } = render(
61
+ <ControlledBooleanRadioGroupInput
62
+ data={undefined}
63
+ onChange={onChange}
64
+ unsetLabel="No default (empty)"
65
+ falseLabel="False"
66
+ trueLabel="True"
67
+ dataHook="boolean-radio-group"
68
+ />,
69
+ );
70
+ const input = getInput(container, 'boolean-radio-group').radioGroup;
71
+
72
+ expect(await input.getNumberOfRadios()).toBe(3);
73
+ expect(await input.getSelectedValue()).toBe('unset');
74
+
75
+ rerender(
76
+ <ControlledBooleanRadioGroupInput
77
+ data
78
+ onChange={onChange}
79
+ unsetLabel="No default (empty)"
80
+ falseLabel="False"
81
+ trueLabel="True"
82
+ dataHook="boolean-radio-group"
83
+ />,
84
+ );
85
+ expect(await input.getSelectedValue()).toBe('true');
86
+
87
+ await input.selectByValue('false');
88
+ expect(onChange).toHaveBeenCalledTimes(1);
89
+ expect(onChange).toHaveBeenCalledWith(false);
90
+
91
+ await input.selectByValue('unset');
92
+ expect(onChange).toHaveBeenCalledTimes(2);
93
+ expect(onChange).toHaveBeenLastCalledWith(undefined);
94
+
95
+ rerender(
96
+ <ControlledBooleanRadioGroupInput
97
+ data={null}
98
+ onChange={onChange}
99
+ unsetLabel="No default (empty)"
100
+ falseLabel="False"
101
+ trueLabel="True"
102
+ dataHook="boolean-radio-group"
103
+ />,
104
+ );
105
+ expect(await input.getSelectedValue()).toBe('unset');
106
+ });
107
+
108
+ it('hides the unset radio when no unset label is given', async () => {
109
+ const { container } = render(
110
+ <ControlledBooleanRadioGroupInput
111
+ data={false}
112
+ onChange={jest.fn()}
113
+ falseLabel="False"
114
+ trueLabel="True"
115
+ dataHook="boolean-radio-group-binary"
116
+ />,
117
+ );
118
+ const input = getInput(container, 'boolean-radio-group-binary').radioGroup;
119
+
120
+ expect(await input.getNumberOfRadios()).toBe(2);
121
+ expect(await input.getSelectedValue()).toBe('false');
122
+ });
123
+
54
124
  it('follows number prop changes and reports user edits', async () => {
55
125
  const onChange = jest.fn();
56
126
  const { container, rerender } = render(
@@ -121,6 +191,89 @@ describe('controlled inputs', () => {
121
191
  expect(onBlur).toHaveBeenCalledTimes(1);
122
192
  });
123
193
 
194
+ it('follows email prop changes and reports edits and blur without validating', async () => {
195
+ const onChange = jest.fn();
196
+ const onBlur = jest.fn();
197
+ const { container, rerender } = render(
198
+ <ControlledEmailInput
199
+ data="before@example.com"
200
+ onChange={onChange}
201
+ onBlur={onBlur}
202
+ dataHook="email"
203
+ />,
204
+ );
205
+ const input = getInput(container, 'email').text;
206
+
207
+ expect(await input.getValue()).toBe('before@example.com');
208
+ rerender(
209
+ <ControlledEmailInput
210
+ data="after@example.com"
211
+ onChange={onChange}
212
+ onBlur={onBlur}
213
+ dataHook="email"
214
+ />,
215
+ );
216
+ expect(await input.getValue()).toBe('after@example.com');
217
+
218
+ await input.enterText('not-an-email');
219
+ await input.blur();
220
+
221
+ expect(onChange).toHaveBeenCalledWith('not-an-email');
222
+ expect(onBlur).toHaveBeenCalledTimes(1);
223
+ expect(await input.hasStatus('error')).toBe(false);
224
+ });
225
+
226
+ it('shows the error status on email only when the invalid prop is set', async () => {
227
+ const { container, rerender } = render(
228
+ <ControlledEmailInput
229
+ data="valid@example.com"
230
+ onChange={jest.fn()}
231
+ invalid
232
+ dataHook="email-invalid"
233
+ />,
234
+ );
235
+ const input = getInput(container, 'email-invalid').text;
236
+
237
+ expect(await input.hasStatus('error')).toBe(true);
238
+
239
+ rerender(
240
+ <ControlledEmailInput
241
+ data="valid@example.com"
242
+ onChange={jest.fn()}
243
+ dataHook="email-invalid"
244
+ />,
245
+ );
246
+ expect(await input.hasStatus('error')).toBe(false);
247
+ });
248
+
249
+ it('forwards readOnly, autoFocus and placeholder to the email input', async () => {
250
+ const { container } = render(
251
+ <ControlledEmailInput
252
+ data=""
253
+ onChange={jest.fn()}
254
+ readOnly
255
+ placeholder="Enter an email"
256
+ dataHook="email-readonly"
257
+ />,
258
+ );
259
+ const readOnlyInput = getInput(container, 'email-readonly').text;
260
+
261
+ expect(await readOnlyInput.getReadOnly()).toBe(true);
262
+ expect(await readOnlyInput.getPlaceholder()).toBe('Enter an email');
263
+
264
+ const { container: focusContainer } = render(
265
+ <ControlledEmailInput
266
+ data=""
267
+ onChange={jest.fn()}
268
+ autoFocus
269
+ dataHook="email-focus"
270
+ />,
271
+ );
272
+ const focusedInput = getInput(focusContainer, 'email-focus').text;
273
+
274
+ expect(await focusedInput.isFocus()).toBe(true);
275
+ });
276
+
124
277
  it('uses option IDs as controlled specific values', async () => {
125
278
  const onChange = jest.fn();
126
279
  const { container } = render(
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "addressinput1071085247";
8
+ var _namespace_ = "addressinput1467036950";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"addressinput1071085247__root","tableAddressInput":"addressinput1071085247__tableAddressInput"};
16
+ export var classes = {"root":"addressinput1467036950__root","tableAddressInput":"addressinput1467036950__tableAddressInput"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "actionsmenu3841951106";
8
+ var _namespace_ = "actionsmenu1437673280";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"actionsmenu3841951106__root","action":"actionsmenu3841951106__action"};
16
+ export var classes = {"root":"actionsmenu1437673280__root","action":"actionsmenu1437673280__action"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "formaudiofield3850785794";
8
+ var _namespace_ = "formaudiofield633769055";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"formaudiofield3850785794__root","addItem":"formaudiofield3850785794__addItem","mediaTitle":"formaudiofield3850785794__mediaTitle"};
16
+ export var classes = {"root":"formaudiofield633769055__root","addItem":"formaudiofield633769055__addItem","mediaTitle":"formaudiofield633769055__mediaTitle"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "audioplayer2670232272";
8
+ var _namespace_ = "audioplayer1086324460";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"audioplayer2670232272__root"};
16
+ export var classes = {"root":"audioplayer1086324460__root"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -0,0 +1,68 @@
1
+ import React from 'react';
2
+ import { RadioGroup } from '@wix/design-system';
3
+
4
+ import type { ControlledInputProps } from '../../types/controlled-input';
5
+
6
+ type BooleanSelection = 'unset' | 'false' | 'true';
7
+
8
+ // RadioGroup values must be string | number, so the boolean | null | undefined
9
+ // value is mapped to string tokens. Both null and undefined mean "no value" —
10
+ // neither must ever render as a selected "false".
11
+ const toSelection = (value: boolean | null | undefined): BooleanSelection => {
12
+ if (value == null) {
13
+ return 'unset';
14
+ }
15
+ return value ? 'true' : 'false';
16
+ };
17
+
18
+ const fromSelection = (
19
+ selection: string | number | undefined,
20
+ ): boolean | undefined => {
21
+ if (selection === 'true') {
22
+ return true;
23
+ }
24
+ return selection === 'false' ? false : undefined;
25
+ };
26
+
27
+ export interface BooleanRadioGroupInputProps
28
+ extends Omit<
29
+ ControlledInputProps<boolean | null | undefined>,
30
+ 'onBlur' | 'autoFocus' | 'invalid'
31
+ > {
32
+ trueLabel: React.ReactNode;
33
+ falseLabel: React.ReactNode;
34
+ /**
35
+ * When provided, renders a third radio (first in the list) that clears the
36
+ * value back to `undefined`.
37
+ */
38
+ unsetLabel?: React.ReactNode;
39
+ }
40
+
41
+ export const ControlledBooleanRadioGroupInput: React.FC<
42
+ BooleanRadioGroupInputProps
43
+ > = ({
44
+ data,
45
+ onChange,
46
+ readOnly,
47
+ dataHook,
48
+ trueLabel,
49
+ falseLabel,
50
+ unsetLabel,
51
+ }) => (
52
+ <RadioGroup
53
+ value={toSelection(data)}
54
+ onChange={(selection) => onChange(fromSelection(selection))}
55
+ disabled={readOnly}
56
+ vAlign="top"
57
+ dataHook={dataHook}
58
+ >
59
+ {unsetLabel !== undefined && (
60
+ <RadioGroup.Radio value="unset">{unsetLabel}</RadioGroup.Radio>
61
+ )}
62
+ <RadioGroup.Radio value="false">{falseLabel}</RadioGroup.Radio>
63
+ <RadioGroup.Radio value="true">{trueLabel}</RadioGroup.Radio>
64
+ </RadioGroup>
65
+ );
66
+
67
+ ControlledBooleanRadioGroupInput.displayName =
68
+ 'ControlledBooleanRadioGroupInput';
@@ -2,3 +2,4 @@ export * from './boolean-view';
2
2
  export * from './cell-checkbox';
3
3
  export * from './form-checkbox';
4
4
  export * from './form-checkbox-input';
5
+ export * from './form-boolean-radio-group-input';
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "cellcolorview3462835890";
8
+ var _namespace_ = "cellcolorview1815702415";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"cellcolorview3462835890__root","hashPrefix":"cellcolorview3462835890__hashPrefix"};
16
+ export var classes = {"root":"cellcolorview1815702415__root","hashPrefix":"cellcolorview1815702415__hashPrefix"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "colorview3811976686";
8
+ var _namespace_ = "colorview308249970";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"colorview3811976686__root","view":"colorview3811976686__view","fillPreview":"colorview3811976686__fillPreview"};
16
+ export var classes = {"root":"colorview308249970__root","view":"colorview308249970__view","fillPreview":"colorview308249970__fillPreview"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,6 +5,7 @@ import {
5
5
  DatePickerUniDriver,
6
6
  InputUniDriver,
7
7
  NumberInputUniDriver,
8
+ RadioGroupUniDriver,
8
9
  } from '@wix/design-system/dist/testkit/unidriver';
9
10
 
10
11
  import { baseUniDriverFactory } from '../testkit/base-driver';
@@ -20,5 +21,6 @@ export function ControlledInputUniDriver(base: UniDriver, body: UniDriver) {
20
21
  datePicker: DatePickerUniDriver(base, body),
21
22
  dateTime: DateTimeInputUniDriver(base, body),
22
23
  color: InputUniDriver(base, body),
24
+ radioGroup: RadioGroupUniDriver(base, body),
23
25
  };
24
26
  }
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "deletedialog422127738";
8
+ var _namespace_ = "deletedialog928694296";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"deletedialog422127738__root","layout":"deletedialog422127738__layout"};
16
+ export var classes = {"root":"deletedialog928694296__root","layout":"deletedialog928694296__layout"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "formdocumentfield3433034809";
8
+ var _namespace_ = "formdocumentfield998924595";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"formdocumentfield3433034809__root","viewWrapper":"formdocumentfield3433034809__viewWrapper","textWidth":"formdocumentfield3433034809__textWidth","documentLoader":"formdocumentfield3433034809__documentLoader","addDocument":"formdocumentfield3433034809__addDocument","addItemWrapper":"formdocumentfield3433034809__addItemWrapper"};
16
+ export var classes = {"root":"formdocumentfield998924595__root","viewWrapper":"formdocumentfield998924595__viewWrapper","textWidth":"formdocumentfield998924595__textWidth","documentLoader":"formdocumentfield998924595__documentLoader","addDocument":"formdocumentfield998924595__addDocument","addItemWrapper":"formdocumentfield998924595__addItemWrapper"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -2,12 +2,44 @@ import type { FC } from 'react';
2
2
  import React, { useRef, useCallback } from 'react';
3
3
 
4
4
  import type { InputImperativeActions } from '@wix/design-system';
5
+ import { Input } from '@wix/design-system';
5
6
 
6
7
  import type { FormInputProps } from '../../types';
8
+ import type { ControlledInputProps } from '../../types/controlled-input';
7
9
  import { useAutoFocus } from '../../hooks';
8
10
 
9
11
  import { EmailInput } from './email-input';
10
12
 
13
+ export interface ControlledEmailInputProps
14
+ extends ControlledInputProps<string> {
15
+ placeholder?: string;
16
+ }
17
+
18
+ export const ControlledEmailInput: React.FC<ControlledEmailInputProps> = ({
19
+ data,
20
+ onChange,
21
+ onBlur,
22
+ readOnly,
23
+ autoFocus,
24
+ invalid,
25
+ dataHook,
26
+ placeholder,
27
+ }) => (
28
+ <Input
29
+ type="email"
30
+ value={data}
31
+ onChange={(event) => onChange(event.target.value)}
32
+ onBlur={onBlur}
33
+ readOnly={readOnly}
34
+ autoFocus={autoFocus}
35
+ status={invalid ? 'error' : undefined}
36
+ placeholder={placeholder}
37
+ dataHook={dataHook}
38
+ />
39
+ );
40
+
41
+ ControlledEmailInput.displayName = 'ControlledEmailInput';
42
+
11
43
  export type FormEmailInputProps = FormInputProps<string>;
12
44
 
13
45
  export const FormEmailInput: FC<FormEmailInputProps> = ({
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "exclamation4293267822";
8
+ var _namespace_ = "exclamation3904891972";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"exclamation4293267822__root","exclamation":"exclamation4293267822__exclamation","actions":"exclamation4293267822__actions","action":"exclamation4293267822__action"};
16
+ export var classes = {"root":"exclamation3904891972__root","exclamation":"exclamation3904891972__exclamation","actions":"exclamation3904891972__actions","action":"exclamation3904891972__action"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "highlightedtext435958164";
8
+ var _namespace_ = "highlightedtext974507702";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,8 +13,8 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"highlightedtext435958164__root","substring":"highlightedtext435958164__substring"};
17
- export var keyframes = {"highlighted":"highlightedtext435958164__highlighted","highlighted-match":"highlightedtext435958164__highlighted-match"};
16
+ export var classes = {"root":"highlightedtext974507702__root","substring":"highlightedtext974507702__substring"};
17
+ export var keyframes = {"highlighted":"highlightedtext974507702__highlighted","highlighted-match":"highlightedtext974507702__highlighted-match"};
18
18
  export var layers = {};
19
19
  export var containers = {};
20
20
  export var stVars = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "thumbnailreplaceoverlay1698318961";
8
+ var _namespace_ = "thumbnailreplaceoverlay1007832735";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"thumbnailreplaceoverlay1698318961__root","icon":"thumbnailreplaceoverlay1698318961__icon"};
16
+ export var classes = {"root":"thumbnailreplaceoverlay1007832735__root","icon":"thumbnailreplaceoverlay1007832735__icon"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "cellmediaeditshell2837122242";
8
+ var _namespace_ = "cellmediaeditshell1610593214";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"cellmediaeditshell2837122242__root"};
16
+ export var classes = {"root":"cellmediaeditshell1610593214__root"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "pasteurlbutton1980130220";
8
+ var _namespace_ = "pasteurlbutton2545295395";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"pasteurlbutton1980130220__root","iconButtonTooltip":"pasteurlbutton1980130220__iconButtonTooltip","iconButton":"pasteurlbutton1980130220__iconButton"};
16
+ export var classes = {"root":"pasteurlbutton2545295395__root","iconButtonTooltip":"pasteurlbutton2545295395__iconButtonTooltip","iconButton":"pasteurlbutton2545295395__iconButton"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "formmediagalleryfield1500416633";
8
+ var _namespace_ = "formmediagalleryfield943892357";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"formmediagalleryfield1500416633__root","container":"formmediagalleryfield1500416633__container","viewBox":"formmediagalleryfield1500416633__viewBox","addItemWrapper":"formmediagalleryfield1500416633__addItemWrapper","addItem":"formmediagalleryfield1500416633__addItem","overlay":"formmediagalleryfield1500416633__overlay","image":"formmediagalleryfield1500416633__image","previewImage":"formmediagalleryfield1500416633__previewImage","previewVideo":"formmediagalleryfield1500416633__previewVideo"};
16
+ export var classes = {"root":"formmediagalleryfield943892357__root","container":"formmediagalleryfield943892357__container","viewBox":"formmediagalleryfield943892357__viewBox","addItemWrapper":"formmediagalleryfield943892357__addItemWrapper","addItem":"formmediagalleryfield943892357__addItem","overlay":"formmediagalleryfield943892357__overlay","image":"formmediagalleryfield943892357__image","previewImage":"formmediagalleryfield943892357__previewImage","previewVideo":"formmediagalleryfield943892357__previewVideo"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
5
5
 
6
6
 
7
7
 
8
- var _namespace_ = "mediaimage3002696231";
8
+ var _namespace_ = "mediaimage3596369688";
9
9
  var _style_ = classesRuntime.bind(null, _namespace_);
10
10
 
11
11
  export var cssStates = statesRuntime.bind(null, _namespace_);
@@ -13,12 +13,12 @@ export var style: import("@stylable/runtime").STFunction = _style_;
13
13
  export var st: import("@stylable/runtime").STFunction = _style_;
14
14
 
15
15
  export var namespace = _namespace_;
16
- export var classes = {"root":"mediaimage3002696231__root"};
16
+ export var classes = {"root":"mediaimage3596369688__root"};
17
17
  export var keyframes = {};
18
18
  export var layers = {};
19
19
  export var containers = {};
20
20
  export var stVars = {};
21
- export var vars = {"wds-color-red-200":"--wds-color-red-200","wsr-color-R20":"--wsr-color-R20","wds-color-black-550":"--wds-color-black-550","wsr-color-D55":"--wsr-color-D55","from":"--mediaimage3002696231-from","to":"--mediaimage3002696231-to"};
21
+ export var vars = {"wds-color-red-200":"--wds-color-red-200","wsr-color-R20":"--wsr-color-R20","wds-color-black-550":"--wds-color-black-550","wsr-color-D55":"--wsr-color-D55","from":"--mediaimage3596369688-from","to":"--mediaimage3596369688-to"};
22
22
 
23
23
 
24
24