cozy-ui 142.1.0 → 142.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
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [142.1.1](https://github.com/cozy/cozy-ui/compare/v142.1.0...v142.1.1) (2026-10-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Freeze spinner animation in screenshots to avoid flaky Argos diffs ([ca9e469](https://github.com/cozy/cozy-ui/commit/ca9e469))
|
|
7
|
+
|
|
1
8
|
# [142.1.0](https://github.com/cozy/cozy-ui/compare/v142.0.1...v142.1.0) (2026-09-24)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -22,6 +22,10 @@ const screenshotComponent = async (page, options) => {
|
|
|
22
22
|
|
|
23
23
|
await page.goto(link)
|
|
24
24
|
await page.addStyleTag({ content: 'body {height: auto;}' }) // to resize viewport according to its content
|
|
25
|
+
// twake-icons spin animation ignores prefers-reduced-motion, which makes Spinner screenshots flaky
|
|
26
|
+
await page.addStyleTag({
|
|
27
|
+
content: '.twake-icon--spin { animation: none !important; }'
|
|
28
|
+
})
|
|
25
29
|
await sleep(200) // to be sure the page is entirely loaded
|
|
26
30
|
|
|
27
31
|
const getScreenshotName =
|