@wix/editor-react-components 1.2479.0 → 1.2480.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.
@@ -1,4 +1,4 @@
1
- import { a as ACTIONS, E as ELEMENTS, C as CSS_PROPERTIES, I as INTERACTIONS, D as DATA, N as NativeStateType, L as LAYOUT, A as Archetype } from "../chunks/chunk-V7QOLP3D.js";
1
+ import { a as ACTIONS, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, I as INTERACTIONS, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-V7QOLP3D.js";
2
2
  import { D as DesignStates, b as DisplayNames } from "../chunks/constants20.js";
3
3
  import { m as manifestFocusable, c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
4
4
  import { w as withSpec } from "../chunks/manifest.js";
@@ -279,6 +279,20 @@ const manifest = {
279
279
  "text-shadow": {
280
280
  cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.textShadow
281
281
  }
282
+ },
283
+ states: {
284
+ hover: withSpec({
285
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
286
+ displayName: DesignStates.label.hover.displayName,
287
+ className: DesignStates.label.hover.className,
288
+ pseudoClass: NativeStateType.hover
289
+ }),
290
+ disabled: withSpec({
291
+ spec: IS_SUPPORT_DESIGN_STATE_SPEC,
292
+ displayName: DesignStates.label.disabled.displayName,
293
+ className: DesignStates.label.disabled.className,
294
+ pseudoClass: NativeStateType.disabled
295
+ })
282
296
  }
283
297
  }
284
298
  },
@@ -291,11 +305,6 @@ const manifest = {
291
305
  behaviors: {
292
306
  selectable: false,
293
307
  removable: true
294
- },
295
- displayFilters: {
296
- states: {
297
- hide: ["hover", "disabled", "selected"]
298
- }
299
308
  }
300
309
  }
301
310
  }
@@ -11,6 +11,10 @@ const DesignStates = {
11
11
  root: {
12
12
  hover: { displayName: "Hover", className: "button--hover" },
13
13
  disabled: { displayName: "Disabled", className: "button--disabled" }
14
+ },
15
+ label: {
16
+ hover: { displayName: "Hover", className: "button__label--hover" },
17
+ disabled: { displayName: "Disabled", className: "button__label--disabled" }
14
18
  }
15
19
  };
16
20
  const DisplayNames = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2479.0",
3
+ "version": "1.2480.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -197,5 +197,5 @@
197
197
  "registry": "https://registry.npmjs.org/",
198
198
  "access": "public"
199
199
  },
200
- "falconPackageHash": "5950a1396a9f0990233d5b12db368df55a1ab6be0304ba85fb9adec3"
200
+ "falconPackageHash": "69893529805957b9c1fc5462a9b8964610b9dfd35cd23a5d3de3dc4d"
201
201
  }