@altinn/altinn-components 0.68.7 → 0.68.8
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/README.md
CHANGED
|
@@ -182,6 +182,9 @@ pnpm test:screenshots:filter "Button"
|
|
|
182
182
|
|
|
183
183
|
# Delete all screenshots and generate new
|
|
184
184
|
pnpm test:screenshots:regenerate-all
|
|
185
|
+
|
|
186
|
+
# Regenerate only the screenshots that are currently failing
|
|
187
|
+
pnpm test:screenshots:regenerate-failed
|
|
185
188
|
```
|
|
186
189
|
|
|
187
190
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._content_5oxr9_1{overflow-wrap:anywhere;flex-grow:1;display:flex;flex-direction:column;width:100%;padding:1rem 0;margin:0 auto}._content_5oxr9_1:focus-visible{outline:none}@media(min-width:1024px){[aria-hidden=true]+._content_5oxr9_1{padding:1rem 112px}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/LayoutContent.css';const c = "
|
|
2
|
+
import '../../assets/LayoutContent.css';const c = "_content_5oxr9_1", a = {
|
|
3
3
|
content: c
|
|
4
4
|
}, r = ({ color: t, children: n, id: o = "main-content" }) => /* @__PURE__ */ e("main", { className: a.content, "data-color": t, id: o, tabIndex: -1, children: n });
|
|
5
5
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@altinn/altinn-components",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.8",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"test:screenshots": "rm -rf .screenshots-temp/actual && SCREENSHOT_MODE=test vitest --run --project=storybook && node --import tsx lib/test-utils/screenshot-compare.ts",
|
|
96
96
|
"test:screenshots:filter": "bash scripts/test-screenshots-filter.sh",
|
|
97
97
|
"test:screenshots:regenerate-all": "node --import tsx scripts/regenerate-screenshots.ts",
|
|
98
|
+
"test:screenshots:regenerate-failed": "node --import tsx scripts/regenerate-failed-screenshots.ts",
|
|
98
99
|
"ci:test-storybook": "pnpm dlx concurrently -k -s first \"pnpm storybook\" \"pnpm dlx wait-on http://localhost:6006 && pnpm test-storybook\"",
|
|
99
100
|
"install:browsers": "pnpm exec playwright install",
|
|
100
101
|
"build-tokens": "node --import tsx scripts/build-tokens.ts && pnpm biome check ./lib/css/tokens/design-tokens-build/. --write"
|