Skip to content

Commit 4164eb2

Browse files
committed
3.1.0 release
2 parents 6db4aab + fb84b71 commit 4164eb2

54 files changed

Lines changed: 4847 additions & 4322 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.

Button/tests/Button-specs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ describe('Button Specs', () => {
127127

128128
await user.click(button);
129129

130-
expect(handleClick).toBeCalled();
130+
expect(handleClick).toHaveBeenCalled();
131131
});
132132

133133
test('should not call onClick when disabled', async () => {
@@ -138,7 +138,7 @@ describe('Button Specs', () => {
138138

139139
await user.click(button);
140140

141-
expect(handleClick).not.toBeCalled();
141+
expect(handleClick).not.toHaveBeenCalled();
142142
});
143143
});
144144
});

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

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

5+
## [3.1.0] - 2025-08-08
6+
7+
- Update dependencies including Storybook 9
8+
59
## [3.0.0] - 2025-06-13
610

711
No significant changes.

IncrementSlider/tests/IncrementSlider-specs.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ describe('IncrementSlider Specs', () => {
205205

206206
const expected = 1;
207207

208-
expect(handleSpotlight).toBeCalledTimes(expected);
208+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
209209
});
210210

211211
test('should call onSpotlightLeft from the decrement button of vertical IncrementSlider', () => {
@@ -216,7 +216,7 @@ describe('IncrementSlider Specs', () => {
216216

217217
const expected = 1;
218218

219-
expect(handleSpotlight).toBeCalledTimes(expected);
219+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
220220
});
221221

222222
test('should call onSpotlightLeft from the increment button of vertical IncrementSlider', () => {
@@ -227,7 +227,7 @@ describe('IncrementSlider Specs', () => {
227227

228228
const expected = 1;
229229

230-
expect(handleSpotlight).toBeCalledTimes(expected);
230+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
231231
});
232232

233233
test('should call onSpotlightRight from the increment button of horizontal IncrementSlider', () => {
@@ -238,7 +238,7 @@ describe('IncrementSlider Specs', () => {
238238

239239
const expected = 1;
240240

241-
expect(handleSpotlight).toBeCalledTimes(expected);
241+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
242242
});
243243

244244
test('should call onSpotlightRight from the increment button of vertical IncrementSlider', () => {
@@ -249,7 +249,7 @@ describe('IncrementSlider Specs', () => {
249249

250250
const expected = 1;
251251

252-
expect(handleSpotlight).toBeCalledTimes(expected);
252+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
253253
});
254254

255255
test('should call onSpotlightRight from the decrement button of vertical IncrementSlider', () => {
@@ -260,7 +260,7 @@ describe('IncrementSlider Specs', () => {
260260

261261
const expected = 1;
262262

263-
expect(handleSpotlight).toBeCalledTimes(expected);
263+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
264264
});
265265

266266
test('should call onSpotlightUp from the decrement button of horizontal IncrementSlider', () => {
@@ -271,7 +271,7 @@ describe('IncrementSlider Specs', () => {
271271

272272
const expected = 1;
273273

274-
expect(handleSpotlight).toBeCalledTimes(expected);
274+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
275275
});
276276

277277
test('should call onSpotlightUp from the increment button of horizontal IncrementSlider', () => {
@@ -282,7 +282,7 @@ describe('IncrementSlider Specs', () => {
282282

283283
const expected = 1;
284284

285-
expect(handleSpotlight).toBeCalledTimes(expected);
285+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
286286
});
287287

288288
test('should call onSpotlightUp from the increment button of vertical IncrementSlider', () => {
@@ -293,7 +293,7 @@ describe('IncrementSlider Specs', () => {
293293

294294
const expected = 1;
295295

296-
expect(handleSpotlight).toBeCalledTimes(expected);
296+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
297297
});
298298

299299
test('should call onSpotlightDown from the increment button of horizontal IncrementSlider', () => {
@@ -304,7 +304,7 @@ describe('IncrementSlider Specs', () => {
304304

305305
const expected = 1;
306306

307-
expect(handleSpotlight).toBeCalledTimes(expected);
307+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
308308
});
309309

310310
test('should call onSpotlightDown from the decrement button of horizontal IncrementSlider', () => {
@@ -315,7 +315,7 @@ describe('IncrementSlider Specs', () => {
315315

316316
const expected = 1;
317317

318-
expect(handleSpotlight).toBeCalledTimes(expected);
318+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
319319
});
320320

321321
test('should call onSpotlightDown from the decrement button of vertical IncrementSlider', () => {
@@ -326,7 +326,7 @@ describe('IncrementSlider Specs', () => {
326326

327327
const expected = 1;
328328

329-
expect(handleSpotlight).toBeCalledTimes(expected);
329+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
330330
});
331331
});
332332

@@ -339,7 +339,7 @@ describe('IncrementSlider Specs', () => {
339339

340340
const expected = 1;
341341

342-
expect(handleSpotlight).toBeCalledTimes(expected);
342+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
343343
});
344344

345345
test('should call onSpotlightRight from slider of horizontal IncrementSlider when value is at max', () => {
@@ -350,7 +350,7 @@ describe('IncrementSlider Specs', () => {
350350

351351
const expected = 1;
352352

353-
expect(handleSpotlight).toBeCalledTimes(expected);
353+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
354354
});
355355

356356
test('should call onSpotlightDown from slider of vertical IncrementSlider when value is at min', () => {
@@ -361,7 +361,7 @@ describe('IncrementSlider Specs', () => {
361361

362362
const expected = 1;
363363

364-
expect(handleSpotlight).toBeCalledTimes(expected);
364+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
365365
});
366366

367367
test('should call onSpotlightUp from slider of vertical IncrementSlider when value is at max', () => {
@@ -372,7 +372,7 @@ describe('IncrementSlider Specs', () => {
372372

373373
const expected = 1;
374374

375-
expect(handleSpotlight).toBeCalledTimes(expected);
375+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
376376
});
377377
});
378378
});

Slider/tests/Slider-specs.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ describe('Slider', () => {
262262
activate(slider);
263263
leftKeyDown(slider);
264264

265-
expect(handleChange).not.toBeCalled();
265+
expect(handleChange).not.toHaveBeenCalled();
266266
});
267267

268268
test('should increment from the lower bound when value is unset', () => {
@@ -289,7 +289,7 @@ describe('Slider', () => {
289289

290290
const expected = 1;
291291

292-
expect(handleSpotlight).toBeCalledTimes(expected);
292+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
293293
});
294294

295295
test('should call onSpotlightLeft on vertical slider at any value', () => {
@@ -302,7 +302,7 @@ describe('Slider', () => {
302302

303303
const expected = 1;
304304

305-
expect(handleSpotlight).toBeCalledTimes(expected);
305+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
306306
});
307307

308308
test('should not call onSpotlightLeft on horizontal slider at greater than min value', () => {
@@ -313,7 +313,7 @@ describe('Slider', () => {
313313
focus(slider);
314314
leftKeyDown(slider);
315315

316-
expect(handleSpotlight).not.toBeCalled();
316+
expect(handleSpotlight).not.toHaveBeenCalled();
317317
});
318318

319319
test('should call onSpotlightDown on vertical slider at min value', () => {
@@ -326,7 +326,7 @@ describe('Slider', () => {
326326

327327
const expected = 1;
328328

329-
expect(handleSpotlight).toBeCalledTimes(expected);
329+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
330330
});
331331

332332
test('should call onSpotlightDown on horizontal slider at any value', () => {
@@ -339,7 +339,7 @@ describe('Slider', () => {
339339

340340
const expected = 1;
341341

342-
expect(handleSpotlight).toBeCalledTimes(expected);
342+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
343343
});
344344

345345
test('should not call onSpotlightDown on vertical slider at greater than min value', () => {
@@ -350,7 +350,7 @@ describe('Slider', () => {
350350
focus(slider);
351351
downKeyDown(slider);
352352

353-
expect(handleSpotlight).not.toBeCalled();
353+
expect(handleSpotlight).not.toHaveBeenCalled();
354354
});
355355

356356
test('should call onSpotlightRight on horizontal slider at max value', () => {
@@ -363,7 +363,7 @@ describe('Slider', () => {
363363

364364
const expected = 1;
365365

366-
expect(handleSpotlight).toBeCalledTimes(expected);
366+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
367367
});
368368

369369
test('should call onSpotlightRight on vertical slider at any value', () => {
@@ -376,7 +376,7 @@ describe('Slider', () => {
376376

377377
const expected = 1;
378378

379-
expect(handleSpotlight).toBeCalledTimes(expected);
379+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
380380
});
381381

382382
test('should not call onSpotlightRight on horizontal slider at less than max value', () => {
@@ -387,7 +387,7 @@ describe('Slider', () => {
387387
focus(slider);
388388
rightKeyDown(slider);
389389

390-
expect(handleSpotlight).not.toBeCalled();
390+
expect(handleSpotlight).not.toHaveBeenCalled();
391391
});
392392

393393
test('should call onSpotlightUp on vertical slider at max value', () => {
@@ -400,7 +400,7 @@ describe('Slider', () => {
400400

401401
const expected = 1;
402402

403-
expect(handleSpotlight).toBeCalledTimes(expected);
403+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
404404
});
405405

406406
test('should call onSpotlightUp on horizontal slider at any value', () => {
@@ -413,7 +413,7 @@ describe('Slider', () => {
413413

414414
const expected = 1;
415415

416-
expect(handleSpotlight).toBeCalledTimes(expected);
416+
expect(handleSpotlight).toHaveBeenCalledTimes(expected);
417417
});
418418

419419
test('should not call onSpotlightUp on vertical slider at less than max value', () => {
@@ -424,7 +424,7 @@ describe('Slider', () => {
424424
focus(slider);
425425
upKeyDown(slider);
426426

427-
expect(handleSpotlight).not.toBeCalled();
427+
expect(handleSpotlight).not.toHaveBeenCalled();
428428
});
429429

430430
test('should set the tooltip to visible when focused', () => {

VirtualList/tests/VirtualGridList-translate-specs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ describe('VirtualGridList with translate `scrollMode`', () => {
575575

576576
act(() => jest.advanceTimersByTime(1000)); // Wait onScrollStop
577577

578-
expect(fn).toBeCalled();
578+
expect(fn).toHaveBeenCalled();
579579
});
580580

581581
test('should not scroll by wheel when `noScrollByWheel` prop is true', (done) => {

VirtualList/tests/VirtualList-translate-specs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ describe('VirtualList with translate `scrollMode`', () => {
419419

420420
act(() => jest.advanceTimersByTime(1000)); // Wait onScrollStop
421421

422-
expect(fn).toBeCalled();
422+
expect(fn).toHaveBeenCalled();
423423
});
424424

425425
test('should not scroll by wheel when `noScrollByWheel` prop is true', (done) => {

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@enact/agate",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "A theme library for Enact, containing a variety of UI components.",
55
"repository": "https://github.com/enactjs/agate",
66
"main": "index.js",
@@ -12,12 +12,12 @@
1212
"sampler": "npm run --prefix samples/sampler serve",
1313
"sampler-qa": "npm run --prefix samples/sampler serve-qa",
1414
"test": "enact test",
15-
"test-ui": "start-tests tests/ui/wdio.conf.js",
16-
"test-ui-docker": "start-tests tests/ui/wdio.docker.conf.js",
17-
"test-ui-tv": "start-tests tests/ui/wdio.tv.conf.js",
18-
"test-ss": "start-tests tests/screenshot/wdio.conf.js",
19-
"test-ss-docker": "start-tests tests/screenshot/wdio.docker.conf.js",
20-
"test-ss-tv": "start-tests tests/screenshot/wdio.tv.conf.js",
15+
"test-ui": "start-tests tests/ui/config/wdio.conf.js",
16+
"test-ui-docker": "start-tests tests/ui/config/wdio.docker.conf.js",
17+
"test-ui-tv": "start-tests tests/ui/config/wdio.tv.conf.js",
18+
"test-ss": "start-tests tests/screenshot/config/wdio.conf.js",
19+
"test-ss-docker": "start-tests tests/screenshot/config/wdio.docker.conf.js",
20+
"test-ss-tv": "start-tests tests/screenshot/config/wdio.tv.conf.js",
2121
"test-watch": "enact test --watch",
2222
"transpile": "enact transpile",
2323
"validate-docs": "validate-docs --strict --standalone"
@@ -37,10 +37,10 @@
3737
"extends": "enact-proxy/strict"
3838
},
3939
"dependencies": {
40-
"@enact/core": "^5.0.0",
41-
"@enact/i18n": "^5.0.0",
42-
"@enact/spotlight": "^5.0.0",
43-
"@enact/ui": "^5.0.0",
40+
"@enact/core": "^5.2.0",
41+
"@enact/i18n": "^5.2.0",
42+
"@enact/spotlight": "^5.2.0",
43+
"@enact/ui": "^5.2.0",
4444
"classnames": "^2.5.1",
4545
"color-convert": "^2.0.1",
4646
"deep-freeze": "0.0.1",
@@ -51,14 +51,14 @@
5151
"react": "^19.1.0",
5252
"react-dom": "^19.1.0",
5353
"warning": "^4.0.3",
54-
"ilib": "^14.21.0"
54+
"ilib": "^14.21.1"
5555
},
5656
"peerDependencies": {
5757
"ilib": "^14.20.0 || ^14.20.0-webos1"
5858
},
5959
"devDependencies": {
6060
"@enact/docs-utils": "^0.4.13",
61-
"@enact/ui-test-utils": "^2.0.0",
61+
"@enact/ui-test-utils": "^3.0.0",
6262
"eslint-config-enact-proxy": "^1.0.9"
6363
},
6464
"overrides": {

samples/event-logger/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
},
2424
"dependencies": {
2525
"@enact/agate": "../../",
26-
"@enact/core": "^5.0.0",
27-
"@enact/i18n": "^5.0.0",
28-
"@enact/spotlight": "^5.0.0",
29-
"@enact/ui": "^5.0.0",
30-
"@reduxjs/toolkit": "^2.6.1",
31-
"ilib": "^14.21.0",
26+
"@enact/core": "^5.2.0",
27+
"@enact/i18n": "^5.2.0",
28+
"@enact/spotlight": "^5.2.0",
29+
"@enact/ui": "^5.2.0",
30+
"@reduxjs/toolkit": "^2.8.2",
31+
"ilib": "^14.21.1",
3232
"prop-types": "^15.8.1",
3333
"react": "^19.1.0",
3434
"react-dom": "^19.1.0",

0 commit comments

Comments
 (0)