@wix/editor-react-components 1.2828.0 → 1.2830.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 (30) hide show
  1. package/dist/site/components/AccordionComponent/manifest.js +9 -15
  2. package/dist/site/components/AnimatedIcon/manifest.js +6 -11
  3. package/dist/site/components/AudioPlayer/manifest.js +3 -6
  4. package/dist/site/components/AudioPlayer/manifestConfigs/controlsConfig.d.ts +0 -1
  5. package/dist/site/components/Breadcrumbs/manifest.js +6 -9
  6. package/dist/site/components/Button/manifest.js +8 -14
  7. package/dist/site/components/Checkbox/manifest.js +10 -15
  8. package/dist/site/components/CheckboxGroup/manifest.js +10 -15
  9. package/dist/site/components/DatePicker/constants.d.ts +2 -3
  10. package/dist/site/components/DatePicker/manifest.js +5 -8
  11. package/dist/site/components/Dropdown/manifest.js +13 -21
  12. package/dist/site/components/HTMLComponent/component.js +2 -1
  13. package/dist/site/components/LinkBar/manifest.js +3 -6
  14. package/dist/site/components/Menu/manifest.js +14 -23
  15. package/dist/site/components/RadioButtons/manifest.js +10 -15
  16. package/dist/site/components/ShareButtons/manifest.js +10 -17
  17. package/dist/site/components/Tabs/manifest.js +4 -8
  18. package/dist/site/components/TextBox/manifest.js +10 -15
  19. package/dist/site/components/TextInput/manifest.js +0 -2
  20. package/dist/site/components/TimePicker/manifest.js +7 -9
  21. package/dist/site/components/chunks/constants18.js +2 -2
  22. package/dist/site/components/chunks/constants24.js +2 -2
  23. package/dist/site/components/chunks/constants31.js +2 -2
  24. package/dist/site/components/chunks/constants39.js +2 -2
  25. package/dist/site/components/chunks/constants40.js +2 -2
  26. package/dist/site/components/chunks/constants43.js +2 -2
  27. package/dist/site/components/chunks/hls.js +32303 -26955
  28. package/dist/site/components/chunks/manifest.js +1 -3
  29. package/package.json +3 -3
  30. package/dist/site/components/chunks/specs.js +0 -8
@@ -2,8 +2,6 @@ import { C as CSS_PROPERTIES, N as NativeStateType, E as ELEMENTS, a as ACTIONS,
2
2
  import { g as getTranslationResources } from "../chunks/translationResources.js";
3
3
  import { h as elementKeys, i as DesignStates, j as DisplayNames, k as DisplayConfig, d as DefaultValues, I as IconPositionOptions, S as StaticDisplayFilters, l as PageToShareOptions, m as DefaultButtons, B as ButtonWidthOptions, b as COMPONENT_TYPE } from "../chunks/constants22.js";
4
4
  import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
5
- import { w as withSpec } from "../chunks/manifest.js";
6
- import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
7
5
  const presets = {
8
6
  horizontal: "horizontal",
9
7
  vertical: "vertical"
@@ -289,12 +287,11 @@ const manifest = {
289
287
  }
290
288
  },
291
289
  states: {
292
- hover: withSpec({
293
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
290
+ hover: {
294
291
  displayName: DesignStates.button.hover.displayName,
295
292
  className: DesignStates.button.hover.className,
296
293
  pseudoClass: NativeStateType.hover
297
- })
294
+ }
298
295
  },
299
296
  elements: {
300
297
  [elementKeys.label]: {
@@ -313,12 +310,11 @@ const manifest = {
313
310
  ...textPartCssProperties
314
311
  },
315
312
  states: {
316
- hover: withSpec({
317
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
313
+ hover: {
318
314
  displayName: DesignStates.label.hover.displayName,
319
315
  className: DesignStates.label.hover.className,
320
316
  pseudoClass: NativeStateType.hover
321
- })
317
+ }
322
318
  }
323
319
  }
324
320
  },
@@ -340,12 +336,11 @@ const manifest = {
340
336
  ...iconPartCssCustomProperties
341
337
  },
342
338
  states: {
343
- hover: withSpec({
344
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
339
+ hover: {
345
340
  displayName: DesignStates.icon.hover.displayName,
346
341
  className: DesignStates.icon.hover.className,
347
342
  pseudoClass: NativeStateType.hover
348
- })
343
+ }
349
344
  }
350
345
  }
351
346
  }
@@ -370,12 +365,11 @@ const manifest = {
370
365
  ...textPartCssProperties
371
366
  },
372
367
  states: {
373
- hover: withSpec({
374
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
368
+ hover: {
375
369
  displayName: DesignStates.label.hover.displayName,
376
370
  className: DesignStates.label.hover.className,
377
371
  pseudoClass: NativeStateType.hover
378
- })
372
+ }
379
373
  }
380
374
  }
381
375
  },
@@ -399,12 +393,11 @@ const manifest = {
399
393
  ...iconPartCssCustomProperties
400
394
  },
401
395
  states: {
402
- hover: withSpec({
403
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
396
+ hover: {
404
397
  displayName: DesignStates.icon.hover.displayName,
405
398
  className: DesignStates.icon.hover.className,
406
399
  pseudoClass: NativeStateType.hover
407
- })
400
+ }
408
401
  }
409
402
  }
410
403
  }
@@ -1,7 +1,5 @@
1
1
  import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
2
  import { D as DesignStates, c as classes, R as ROOT_MENU_ITEM_CSS_PROPERTIES, a as ROOT_MENU_ITEM_CUSTOM_PROPERTIES } from "../chunks/constants20.js";
3
- import { w as withSpec } from "../chunks/manifest.js";
4
- import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
5
3
  import { a as manifestFocusable, c as manifestMouseHover, d as manifestClickable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
6
4
  const menuItemConfig = {
7
5
  elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
@@ -94,17 +92,15 @@ const menuItemConfig = {
94
92
  }
95
93
  },
96
94
  states: {
97
- hover: withSpec({
98
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
95
+ hover: {
99
96
  displayName: DesignStates.menuItem.hover.displayName,
100
97
  className: DesignStates.menuItem.hover.className,
101
98
  pseudoClass: NativeStateType.hover
102
- }),
103
- selected: withSpec({
104
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
99
+ },
100
+ selected: {
105
101
  displayName: DesignStates.menuItem.selected.displayName,
106
102
  className: DesignStates.menuItem.selected.className
107
- })
103
+ }
108
104
  }
109
105
  }
110
106
  };
@@ -1,7 +1,6 @@
1
1
  import { E as ELEMENTS, N as NativeStateType, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
- import { D as DesignStates, b as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants18.js";
3
- import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
- import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
2
+ import { D as DisplayNames, b as DesignStates, d as defaultValues, s as selectors } from "../chunks/constants18.js";
3
+ import { g as getSelector } from "../chunks/manifest.js";
5
4
  import { a as manifestFocusable, b as manifestChangeable } from "../chunks/manifestSdkMixins.js";
6
5
  import { m as manifestValidation } from "../chunks/manifest2.js";
7
6
  const manifest = {
@@ -206,31 +205,27 @@ const manifest = {
206
205
  }
207
206
  },
208
207
  states: {
209
- hover: withSpec({
210
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
208
+ hover: {
211
209
  displayName: DesignStates.input.hover.displayName,
212
210
  className: DesignStates.input.hover.className,
213
211
  pseudoClass: NativeStateType.hover
214
- }),
215
- focus: withSpec({
216
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
212
+ },
213
+ focus: {
217
214
  displayName: DesignStates.input.focus.displayName,
218
215
  className: DesignStates.input.focus.className,
219
216
  pseudoClass: NativeStateType.focus
220
- }),
221
- disabled: withSpec({
222
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
217
+ },
218
+ disabled: {
223
219
  displayName: DesignStates.input.disabled.displayName,
224
220
  className: DesignStates.input.disabled.className,
225
221
  pseudoClass: NativeStateType.disabled,
226
222
  props: { disabled: true }
227
- }),
228
- invalid: withSpec({
229
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
223
+ },
224
+ invalid: {
230
225
  displayName: DesignStates.input.invalid.displayName,
231
226
  className: DesignStates.input.invalid.className,
232
227
  pseudoClass: NativeStateType.invalid
233
- })
228
+ }
234
229
  }
235
230
  }
236
231
  },
@@ -2,9 +2,7 @@ import { I as INTERACTIONS, D as DATA, b as DISPLAY_GROUPS, E as ELEMENTS, C as
2
2
  import { D as DomEventType } from "../chunks/types.impl.js";
3
3
  import { D as DesignStates, a as DisplayNames, F as FunctionalStateKeys, c as componentClassNames } from "../chunks/constants3.js";
4
4
  import { m as manifestInputable, a as manifestFocusable } from "../chunks/manifestSdkMixins.js";
5
- import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
6
5
  const designState = (s, pseudoClass) => ({
7
- spec: IS_SUPPORT_DESIGN_STATE_SPEC,
8
6
  displayName: s.displayName,
9
7
  className: s.className,
10
8
  ...pseudoClass ? { pseudoClass } : {}
@@ -1,10 +1,8 @@
1
1
  import { b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
2
2
  import { g as getTranslationResources } from "../chunks/translationResources.js";
3
- import { b as DisplayNames, c as Descriptions, d as TEXT_PROP_STATIC_VALUE_MAX_LENGTH, P as PREVIEW_ERROR_MESSAGE, C as COMPONENT_TYPE, s as selectors, D as DesignStates } from "../chunks/constants2.js";
4
- import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
5
- import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
3
+ import { b as DisplayNames, c as Descriptions, d as TEXT_PROP_STATIC_VALUE_MAX_LENGTH, D as DesignStates, P as PREVIEW_ERROR_MESSAGE, C as COMPONENT_TYPE, s as selectors } from "../chunks/constants2.js";
4
+ import { g as getSelector } from "../chunks/manifest.js";
6
5
  const basePresetName = "baseTimePicker";
7
- const designState = (state) => withSpec({ spec: IS_SUPPORT_DESIGN_STATE_SPEC, ...state });
8
6
  const manifest = {
9
7
  id: "41156bbe-2741-4a01-a715-7eba6e294f0b",
10
8
  type: COMPONENT_TYPE,
@@ -193,13 +191,13 @@ const manifest = {
193
191
  paddingInlineEnd: {}
194
192
  },
195
193
  states: {
196
- hover: designState(DesignStates.timeInput.hover),
197
- focus: designState(DesignStates.timeInput.focus),
194
+ hover: DesignStates.timeInput.hover,
195
+ focus: DesignStates.timeInput.focus,
198
196
  error: {
199
- ...designState(DesignStates.timeInput.error),
197
+ ...DesignStates.timeInput.error,
200
198
  props: { errorMessage: PREVIEW_ERROR_MESSAGE }
201
199
  },
202
- disabled: designState(DesignStates.timeInput.disabled)
200
+ disabled: DesignStates.timeInput.disabled
203
201
  }
204
202
  }
205
203
  },
@@ -233,7 +231,7 @@ const manifest = {
233
231
  color: {}
234
232
  },
235
233
  states: {
236
- focus: designState(DesignStates.segment.focus)
234
+ focus: DesignStates.segment.focus
237
235
  }
238
236
  }
239
237
  },
@@ -93,11 +93,11 @@ const semanticClassNames = {
93
93
  errorMessage: "textbox__error-message"
94
94
  };
95
95
  export {
96
- DesignStates as D,
96
+ DisplayNames as D,
97
97
  TestIds as T,
98
98
  VALIDATION_MESSAGES as V,
99
99
  semanticClassNames as a,
100
- DisplayNames as b,
100
+ DesignStates as b,
101
101
  defaultValues as d,
102
102
  selectors as s
103
103
  };
@@ -100,12 +100,12 @@ const semanticClassNames = {
100
100
  errorMessage: "radio-buttons__error-message"
101
101
  };
102
102
  export {
103
- DesignStates as D,
103
+ DisplayNames as D,
104
104
  TestIds as T,
105
105
  VALUE_MISSING_MESSAGE as V,
106
106
  defaultOptions as a,
107
107
  semanticClassNames as b,
108
- DisplayNames as c,
108
+ DesignStates as c,
109
109
  defaultValues as d,
110
110
  selectors as s
111
111
  };
@@ -58,7 +58,7 @@ export {
58
58
  DefaultTranslations as D,
59
59
  LegacyTranslationKeys as L,
60
60
  TranslationKeys as T,
61
- DesignStates as a,
62
- DisplayNames as b,
61
+ DisplayNames as a,
62
+ DesignStates as b,
63
63
  presets as p
64
64
  };
@@ -109,12 +109,12 @@ const semanticClassNames = {
109
109
  errorMessage: "checkbox-group__error-message"
110
110
  };
111
111
  export {
112
- DesignStates as D,
112
+ DisplayNames as D,
113
113
  TestIds as T,
114
114
  VALUE_MISSING_MESSAGE as V,
115
115
  defaultOptions as a,
116
116
  semanticClassNames as b,
117
- DisplayNames as c,
117
+ DesignStates as c,
118
118
  defaultValues as d,
119
119
  selectors as s
120
120
  };
@@ -80,11 +80,11 @@ const semanticClassNames = {
80
80
  errorMessage: "checkbox__error-message"
81
81
  };
82
82
  export {
83
- DesignStates as D,
83
+ DisplayNames as D,
84
84
  TestIds as T,
85
85
  VALUE_MISSING_MESSAGE as V,
86
86
  semanticClassNames as a,
87
- DisplayNames as b,
87
+ DesignStates as b,
88
88
  defaultValues as d,
89
89
  selectors as s
90
90
  };
@@ -83,8 +83,8 @@ const DisplayNames = {
83
83
  };
84
84
  export {
85
85
  ARIA_LABELS as A,
86
- DesignStates as D,
87
- DisplayNames as a,
86
+ DisplayNames as D,
87
+ DesignStates as a,
88
88
  borderDefaultValue as b,
89
89
  dataDefaults as d,
90
90
  selectors as s