@enact/ui 4.0.11 → 4.0.12
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.
- package/CHANGELOG.md +6 -0
- package/Marquee/MarqueeBase.js +6 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
The following is a curated list of changes in the Enact ui module, newest changes on the top.
|
|
4
4
|
|
|
5
|
+
## [4.0.12] - 2022-09-16
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `ui/Marquee.MarqueeDecorator` to have proper spacing for bidirectional text
|
|
10
|
+
|
|
5
11
|
## [4.0.11] - 2022-04-25
|
|
6
12
|
|
|
7
13
|
No significant changes.
|
package/Marquee/MarqueeBase.js
CHANGED
|
@@ -288,14 +288,14 @@ var MarqueeBase = (0, _kind["default"])({
|
|
|
288
288
|
css = _ref6.css,
|
|
289
289
|
duplicate = _ref6.duplicate,
|
|
290
290
|
onMarqueeComplete = _ref6.onMarqueeComplete,
|
|
291
|
-
|
|
291
|
+
rtl = _ref6.rtl,
|
|
292
|
+
rest = _objectWithoutProperties(_ref6, ["applyOffset", "children", "clientClassName", "clientRef", "clientStyle", "css", "duplicate", "onMarqueeComplete", "rtl"]);
|
|
292
293
|
|
|
293
294
|
delete rest.alignment;
|
|
294
295
|
delete rest.animating;
|
|
295
296
|
delete rest.distance;
|
|
296
297
|
delete rest.onMarqueeComplete;
|
|
297
298
|
delete rest.overflow;
|
|
298
|
-
delete rest.rtl;
|
|
299
299
|
delete rest.spacing;
|
|
300
300
|
delete rest.speed;
|
|
301
301
|
delete rest.willAnimate;
|
|
@@ -309,7 +309,10 @@ var MarqueeBase = (0, _kind["default"])({
|
|
|
309
309
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
310
310
|
className: css.spacing,
|
|
311
311
|
ref: applyOffset
|
|
312
|
-
}),
|
|
312
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
313
|
+
dir: rtl ? 'rtl' : 'ltr',
|
|
314
|
+
children: children
|
|
315
|
+
})]
|
|
313
316
|
}) : null]
|
|
314
317
|
})
|
|
315
318
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.12",
|
|
4
4
|
"description": "A collection of simplified unstyled cross-platform UI components for Enact",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@enact/core": "^4.0.
|
|
28
|
+
"@enact/core": "^4.0.12",
|
|
29
29
|
"classnames": "^2.2.5",
|
|
30
30
|
"direction": "^1.0.1",
|
|
31
31
|
"invariant": "^2.2.2",
|