Skip to content

Commit 42b670b

Browse files
committed
5.5.0 release
2 parents 85c1a6f + 1e20542 commit 42b670b

124 files changed

Lines changed: 8829 additions & 8461 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-branch.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- master
8+
pull_request:
9+
types: [opened, synchronize, reopened]
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
concurrency:
16+
group: ci-branch-${{ github.event.pull_request.number || github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
branch:
21+
uses: ./.github/workflows/ci-reusable.yml
22+
with:
23+
checkout-ref: ${{ github.event.pull_request.head.sha || github.sha }}
24+
secrets: inherit
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
permissions:
8+
contents: read
9+
10+
concurrency:
11+
group: ci-pr-${{ github.event.pull_request.number }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
pull-request:
16+
uses: ./.github/workflows/ci-reusable.yml
17+
with:
18+
checkout-ref: ''
19+
secrets: inherit

.github/workflows/ci-reusable.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
name: CI Pipeline
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
checkout-ref:
7+
description: 'Git ref to checkout (empty for default merge commit)'
8+
type: string
9+
required: false
10+
default: ''
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
19+
strategy:
20+
matrix:
21+
node-version: ['lts/*', 'node']
22+
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v4
26+
with:
27+
ref: ${{ inputs.checkout-ref || github.ref }}
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: ${{ matrix.node-version }}
33+
34+
- name: Install system dependencies
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
38+
39+
- name: Clone and setup Enact CLI
40+
run: |
41+
git clone --branch=develop --depth 1 https://github.com/enactjs/cli ../cli
42+
pushd ../cli
43+
npm install
44+
npm link
45+
popd
46+
47+
- name: Install project dependencies
48+
run: npm install
49+
50+
- name: Bootstrap packages
51+
run: npm run bootstrap
52+
53+
- name: Interlink packages
54+
run: npm run interlink
55+
56+
- name: Run tests with coverage
57+
run: npm test -- -- --runInBand --coverage
58+
59+
- name: Upload coverage to Codecov
60+
uses: codecov/codecov-action@v5
61+
with:
62+
token: ${{ secrets.CODECOV_TOKEN }}
63+
fail_ci_if_error: false
64+
65+
- name: Run ESLint
66+
run: npm run lerna -- run lint -- -- --report-unused-disable-directives --max-warnings 0 .
67+
68+
- name: Validate documentation
69+
run: npm run validate-docs
70+
71+
- name: Build sampler
72+
run: npm run pack
73+
working-directory: packages/sampler

.travis.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22

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

5+
## [5.5.0] - 2026-05-08
6+
7+
### Added
8+
9+
- `core/util` function `checkPropTypes` to check the prop types of a component
10+
- `spotlight/SpotlightRootDecorator` config `focusEffectClass` and function `setFocusEffectClass` to apply a css class to every spottable component when it receives spotlight focus.
11+
- `ui/resolution` Added support for linear scaling type
12+
- `ui/Slider` support for `colorPicker`
13+
14+
### Changed
15+
16+
- `sampler` look and feel by updating to Storybook 10
17+
- `spotlight/Spottable` to reduce redundant work during high-frequency re-renders
18+
- `ui/Marquee` to reduce redundant lifecycle work during high-frequency re-renders
19+
20+
### Fixed
21+
22+
- `spotlight` to focus visible children of elements which do not have `overflow:true`
23+
- `ui/resolution` to display the components accordingly on wide resolutions
24+
- `ui/VirtualList.VirtualList` to adjust itemSize properly when resizing window
25+
- `ui/VirtualList.VirtualList` to scroll properly when another VirtualList exist
26+
27+
## [5.4.3] - 2026-02-26
28+
29+
### Fixed
30+
31+
- `spotlight` to revert 5.4.0 fix to skip visibility check when entering a restricted container or choose a visible container as next target
32+
- `spotlight` to focus visible children of elements which do not have `overflow:true`
33+
- `ui/VirtualList` to revert 5.4.2 cix that not to jump to the top when item size was changed
34+
- `ui/VirtulList` to revert 5.4.2 fix that not to cut off focused item when scroll by pressing key
35+
- `ui/VirtualList.VirtualGridList` to revert 5.4.2 fix to adjust itemSize properly when resizing window
36+
537
## [5.4.2] - 2026-01-28
638

739
### Changed
@@ -13,7 +45,7 @@ The following is a curated list of changes in the Enact project, newest changes
1345

1446
- `ui/VirtulList` not to cut off focused item when scroll by pressing key
1547
- `ui/VirtualList` not to jump to the top when item size was changed
16-
- `ui/VirtualList.VirtualGridList` to adjust itemSize properly when resizing window
48+
- `ui/VirtualList.VirtualList`, `ui/VirtualList.VirtualGridList` to adjust itemSize properly when resizing window
1749

1850
## [5.4.1] - 2025-12-30
1951

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.4.2",
2+
"version": "5.5.0",
33
"packages": [
44
"packages/*"
55
],

0 commit comments

Comments
 (0)