Skip to content

Commit

Permalink
4.5.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
enact-bot committed Jun 7, 2023
2 parents cef6944 + f5517af commit 64cca9c
Show file tree
Hide file tree
Showing 18 changed files with 110 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ before_install:
- sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
install:
- npm config set prefer-offline false
- npm install -g enactjs/cli#develop
- npm install -g @enact/cli@5.1.3
- npm install -g codecov
- npm install
- npm run bootstrap --legacy-peer-deps
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The following is a curated list of changes in the Enact project, newest changes on the top.

## [4.5.4] - 2023-06-07

### Fixed

- `ui/Scroller` and `ui/VirtualList` to pass scrolling state properly to UI libraries

## [4.5.3] - 2023-04-06

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "4.0.0",
"version": "4.5.3",
"version": "4.5.4",
"command": {
"bootstrap": {
"ci": false,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enact",
"version": "4.5.3",
"version": "4.5.4",
"description": "Monorepo for all Enact front end libraries.",
"private": true,
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact core module, newest changes on the top.

## [4.5.4] - 2023-06-07

No significant changes.

## [4.5.3] - 2023-04-06

No significant changes.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/core",
"version": "4.5.3",
"version": "4.5.4",
"description": "Enact is an open source JavaScript framework containing everything you need to create a fast, scalable mobile or web application.",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions packages/i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact i18n module, newest changes on the top.

## [4.5.4] - 2023-06-07

No significant changes.

## [4.5.3] - 2023-04-06

No significant changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@enact/i18n",
"main": "./src/index.js",
"version": "4.5.3",
"version": "4.5.4",
"description": "Internationalization support for Enact using iLib",
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,7 +47,7 @@
]
},
"dependencies": {
"@enact/core": "^4.5.3",
"@enact/core": "^4.5.4",
"prop-types": "^15.8.1",
"ramda": "^0.28.0",
"react": "^18.2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/sampler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact Sampler, newest changes on the top.

## [4.5.4] - 2023-06-07

No significant changes.

## [4.5.3] - 2023-04-06

### Fixed
Expand Down
12 changes: 6 additions & 6 deletions packages/sampler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enact-sampler",
"version": "4.5.3",
"version": "4.5.4",
"description": "Component and QA samples for Enact",
"private": true,
"main": "index.js",
Expand All @@ -12,11 +12,11 @@
},
"license": "Apache-2.0",
"dependencies": {
"@enact/core": "^4.5.3",
"@enact/i18n": "^4.5.3",
"@enact/spotlight": "^4.5.3",
"@enact/ui": "^4.5.3",
"@enact/webos": "^4.5.3",
"@enact/core": "^4.5.4",
"@enact/i18n": "^4.5.4",
"@enact/spotlight": "^4.5.4",
"@enact/ui": "^4.5.4",
"@enact/webos": "^4.5.4",
"classnames": "^2.3.1",
"ilib": "^14.14.0",
"prop-types": "^15.8.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/spotlight/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact spotlight module, newest changes on the top.

## [4.5.4] - 2023-06-07

No significant changes.

## [4.5.3] - 2023-04-06

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions packages/spotlight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/spotlight",
"version": "4.5.3",
"version": "4.5.4",
"description": "A focus management library",
"repository": {
"type": "git",
Expand All @@ -24,7 +24,7 @@
}
},
"dependencies": {
"@enact/core": "^4.5.3",
"@enact/core": "^4.5.4",
"classnames": "^2.3.1",
"prop-types": "^15.8.1",
"ramda": "^0.28.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The following is a curated list of changes in the Enact ui module, newest changes on the top.

## [4.5.4] - 2023-06-07

### Fixed

- `ui/Scroller` and `ui/VirtualList` to pass scrolling state properly to UI libraries

## [4.5.3] - 2023-04-06

No significant changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/ui",
"version": "4.5.3",
"version": "4.5.4",
"description": "A collection of simplified unstyled cross-platform UI components for Enact",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,7 +31,7 @@
}
},
"dependencies": {
"@enact/core": "^4.5.3",
"@enact/core": "^4.5.4",
"classnames": "^2.3.1",
"direction": "^1.0.4",
"invariant": "^2.2.4",
Expand Down
108 changes: 59 additions & 49 deletions packages/ui/useScroll/useScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,74 +214,84 @@ const useScrollBase = (props) => {
prevState: {isHorizontalScrollbarVisible, isVerticalScrollbarVisible}
});

/* istanbul ignore next */
const themeScrollContainerHandle = useRef({
get animator () {
return mutableRef.current.animator;
},
get bounds () {
return mutableRef.current.bounds;
},
get isDragging () {
return mutableRef.current.isDragging;
},
set isDragging (val) {
mutableRef.current.isDragging = val;
},
get isScrollAnimationTargetAccumulated () {
return mutableRef.current.isScrollAnimationTargetAccumulated;
},
set isScrollAnimationTargetAccumulated (val) {
mutableRef.current.isScrollAnimationTargetAccumulated = val;
},
get lastInputType () {
return mutableRef.current.lastInputType;
},
set lastInputType (val) {
mutableRef.current.lastInputType = val;
},
get rtl () {
return rtl;
},
get scrollBounds () {
return getScrollBounds();
},
get scrollHeight () {
return mutableRef.current.bounds.scrollHeight;
},
get scrolling () {
return mutableRef.current.scrolling;
},
get scrollLeft () {
return mutableRef.current.scrollLeft;
},
get scrollToInfo () {
return mutableRef.current.scrollToInfo;
},
get scrollTop () {
return mutableRef.current.scrollTop;
},
get wheelDirection () {
return mutableRef.current.wheelDirection;
},
set wheelDirection (val) {
mutableRef.current.wheelDirection = val;
}
});

if (mutableRef.current.animator == null) {
mutableRef.current.animator = new ScrollAnimator();
}

useLayoutEffect(() => {
/* istanbul ignore next */
if (setScrollContainerHandle) {
setScrollContainerHandle({
animator: mutableRef.current.animator,
Object.assign(themeScrollContainerHandle.current, {
applyOverscrollEffect,
bounds: mutableRef.current.bounds,
calculateDistanceByWheel,
canScrollHorizontally,
canScrollVertically,
checkAndApplyOverscrollEffect,
getScrollBounds,
get isDragging () {
return mutableRef.current.isDragging;
},
set isDragging (val) {
mutableRef.current.isDragging = val;
},
get isScrollAnimationTargetAccumulated () {
return mutableRef.current.isScrollAnimationTargetAccumulated;
},
set isScrollAnimationTargetAccumulated (val) {
mutableRef.current.isScrollAnimationTargetAccumulated = val;
},
get lastInputType () {
return mutableRef.current.lastInputType;
},
set lastInputType (val) {
mutableRef.current.lastInputType = val;
},
get rtl () {
return rtl;
},
get scrollBounds () {
return getScrollBounds();
},
get scrollHeight () {
return mutableRef.current.bounds.scrollHeight;
},
get scrolling () {
return mutableRef.current.scrolling;
},
get scrollLeft () {
return mutableRef.current.scrollLeft;
},
scrollTo,
scrollToAccumulatedTarget,
get scrollToInfo () {
return mutableRef.current.scrollToInfo;
},
get scrollTop () {
return mutableRef.current.scrollTop;
},
setOverscrollStatus,
showScrollbarTrack,
start,
startHidingScrollbarTrack,
stop,
get wheelDirection () {
return mutableRef.current.wheelDirection;
},
set wheelDirection (val) {
mutableRef.current.wheelDirection = val;
}
stop
});
setScrollContainerHandle(themeScrollContainerHandle.current);
}
});

Expand Down
4 changes: 4 additions & 0 deletions packages/webos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The following is a curated list of changes in the Enact webos module, newest changes on the top.

## [4.5.4] - 2023-06-07

No significant changes.

## [4.5.3] - 2023-04-06

No significant changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/webos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enact/webos",
"version": "4.5.3",
"version": "4.5.4",
"description": "webOS support library",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,7 +31,7 @@
}
},
"dependencies": {
"@enact/core": "^4.5.3",
"@enact/core": "^4.5.4",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down

0 comments on commit 64cca9c

Please sign in to comment.