@wix/editor-react-components 1.2849.0 → 1.2850.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.
@@ -16,8 +16,7 @@ const SPECIAL_KEYS = /* @__PURE__ */ new Set([
16
16
  "tabIndex",
17
17
  "tabindex",
18
18
  "ariaLabel",
19
- "aria-label",
20
- "ariaHidden"
19
+ "aria-label"
21
20
  ]);
22
21
  const normalizeBoxContainerA11y = (a11y, ariaLabelOverride) => {
23
22
  var _a;
@@ -45,7 +45,6 @@ const manifest = {
45
45
  DATA.A11Y_ATTRIBUTES.ariaLive,
46
46
  DATA.A11Y_ATTRIBUTES.ariaRoledescription,
47
47
  DATA.A11Y_ATTRIBUTES.ariaLevel,
48
- // Existing sites persist this value, so it must remain schema-valid.
49
48
  DATA.A11Y_ATTRIBUTES.ariaHidden,
50
49
  DATA.A11Y_ATTRIBUTES.ariaAtomic,
51
50
  DATA.A11Y_ATTRIBUTES.ariaCurrent,
@@ -4,9 +4,11 @@ import { T as TestIds } from "../chunks/constants17.js";
4
4
  import { u as usePatterns, P as Patterns } from "../chunks/Patterns.js";
5
5
  import { c as cn } from "../chunks/index8.js";
6
6
  const container = "container__kUr-I";
7
+ const shadow = "shadow__nrGyZ";
7
8
  const block = "block__EMDF3";
8
9
  const styles = {
9
10
  container,
11
+ shadow,
10
12
  block
11
13
  };
12
14
  const TextEffects3d$1 = (props) => {
@@ -30,7 +32,7 @@ const TextEffects3d$1 = (props) => {
30
32
  className: styles.container,
31
33
  disabledPattern: arePatternsDisabled
32
34
  }),
33
- unitPredicate: (data) => /* @__PURE__ */ jsx("span", { className: styles.block, "data-testid": TestIds.viewer.text, children: data })
35
+ unitPredicate: (data) => /* @__PURE__ */ jsx("span", { className: styles.shadow, children: /* @__PURE__ */ jsx("span", { className: styles.block, "data-testid": TestIds.viewer.text, children: data }) })
34
36
  }
35
37
  )
36
38
  }
@@ -3,11 +3,17 @@
3
3
  --unit-size: 0.01em;
4
4
  color: rgb(from var(--fill-color) r g b/var(--fill-opacity));
5
5
  -webkit-text-stroke: calc(var(--unit-size) * var(--text-stroke)) rgb(from var(--text-stroke-color) r g b/var(--text-stroke-opacity));
6
- filter: drop-shadow(var(--text-shadow-1)) drop-shadow(var(--text-shadow-2)) drop-shadow(var(--text-shadow-3));
6
+ filter: drop-shadow(var(--text-shadow-3));
7
+ }
8
+
9
+ .shadow__nrGyZ {
10
+ display: block;
11
+ filter: drop-shadow(var(--text-shadow-2));
7
12
  }
8
13
 
9
14
  .block__EMDF3 {
10
15
  display: block;
16
+ filter: drop-shadow(var(--text-shadow-1));
11
17
  }.textEffects3d__1BhaT {
12
18
  --fill-color: var(--text-fill);
13
19
  --fill-opacity: var(--text-fill-opacity);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2849.0",
3
+ "version": "1.2850.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -228,5 +228,5 @@
228
228
  "registry": "https://registry.npmjs.org/",
229
229
  "access": "public"
230
230
  },
231
- "falconPackageHash": "87fda7bac018df8b6c2d46f9cec101626a51a8642229dfc8b3dc6f1d"
231
+ "falconPackageHash": "df5ad4374c691faaf8120f0e1249e10a3f20c44b12349039290229f3"
232
232
  }