@wix/editor-react-components 1.2886.0 → 1.2887.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.
|
@@ -120,6 +120,7 @@ const MarqueeUnit = (props) => {
|
|
|
120
120
|
isBuilder
|
|
121
121
|
} = props;
|
|
122
122
|
const compRef = React__default.useRef(null);
|
|
123
|
+
const letterSpacing = styleProperties == null ? void 0 : styleProperties["letter-spacing"];
|
|
123
124
|
const isSemanticElement = isOriginal && index === 0 && (!isDecorative || singleTextItem.resolvedLink);
|
|
124
125
|
React__default.useEffect(() => {
|
|
125
126
|
if (index === 0 && isOriginal) {
|
|
@@ -133,6 +134,7 @@ const MarqueeUnit = (props) => {
|
|
|
133
134
|
}
|
|
134
135
|
}, [
|
|
135
136
|
styleProperties == null ? void 0 : styleProperties.font,
|
|
137
|
+
letterSpacing,
|
|
136
138
|
index,
|
|
137
139
|
isOriginal,
|
|
138
140
|
setWidth,
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
.marqueeText__nbkgh {
|
|
123
123
|
font: var(--font);
|
|
124
124
|
text-decoration: var(--font-decoration, none);
|
|
125
|
-
letter-spacing: var(--letter-spacing,
|
|
125
|
+
letter-spacing: var(--letter-spacing, inherit);
|
|
126
126
|
text-transform: var(--text-transform, none);
|
|
127
127
|
background-color: var(--textHighlight, none);
|
|
128
128
|
display: block;
|
|
@@ -136,6 +136,11 @@ const manifest = {
|
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
cssCustomProperties: {
|
|
139
|
+
"letter-spacing": {
|
|
140
|
+
displayName: "Letter spacing",
|
|
141
|
+
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.letterSpacing,
|
|
142
|
+
defaultValue: "inherit"
|
|
143
|
+
},
|
|
139
144
|
spaceBetweenItems: {
|
|
140
145
|
displayName: running_text.settings.space_between_items,
|
|
141
146
|
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.columnGap,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2887.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": "
|
|
231
|
+
"falconPackageHash": "40ca44fc6d77791f40151f9347f73675d62d6b2c1ea2e3255c625fd6"
|
|
232
232
|
}
|