@enact/ui 4.0.6 → 4.1.1
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 +24 -0
- package/Marquee/Marquee.module.css +1 -1
- package/Marquee/MarqueeDecorator.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.1.1] - 2021-11-30
|
|
6
|
+
|
|
7
|
+
No significant changes.
|
|
8
|
+
|
|
9
|
+
## [4.1.0] - 2021-11-04
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `ui/MarqueeDecorator` to restart animation when text changed while focus retained
|
|
14
|
+
|
|
15
|
+
## [4.0.8] - 2021-10-21
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- `ui/MarqueeDecorator` style to render text properly when starting animation
|
|
20
|
+
|
|
21
|
+
## [4.0.7] - 2021-09-28
|
|
22
|
+
|
|
23
|
+
No significant changes.
|
|
24
|
+
|
|
25
|
+
## [4.0.6] - 2021-09-28
|
|
26
|
+
|
|
27
|
+
No significant changes.
|
|
28
|
+
|
|
5
29
|
## [4.0.5] - 2021-08-02
|
|
6
30
|
|
|
7
31
|
No significant changes.
|
|
@@ -492,6 +492,10 @@ var MarqueeDecorator = (0, _hoc["default"])(defaultConfig, function (config, Wra
|
|
|
492
492
|
forceRestartMarquee = marqueeOn === 'render' || this.sync && (this.state.animating || this.timerState > TimerState.CLEAR);
|
|
493
493
|
this.invalidateMetrics();
|
|
494
494
|
this.cancelAnimation();
|
|
495
|
+
|
|
496
|
+
if (forceRestartMarquee && marqueeOn === 'focus') {
|
|
497
|
+
this.resetAnimation();
|
|
498
|
+
}
|
|
495
499
|
} else if (prevProps.marqueeOn !== marqueeOn || prevProps.marqueeDisabled !== marqueeDisabled || prevProps.marqueeSpeed !== marqueeSpeed || prevProps.forceDirection !== forceDirection) {
|
|
496
500
|
this.cancelAnimation();
|
|
497
501
|
} else if (disabled && this.isHovered && marqueeOn === 'focus' && this.sync) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1",
|
|
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.
|
|
28
|
+
"@enact/core": "^4.1.1",
|
|
29
29
|
"classnames": "^2.2.5",
|
|
30
30
|
"direction": "^1.0.1",
|
|
31
31
|
"invariant": "^2.2.2",
|