@lab-anssi/ui-kit 1.60.11 → 1.61.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/dist/ui-kit-components.json +48 -5
- package/dist/web-types.json +67 -3
- package/dist/webcomponents/lab-anssi-ui-kit.iife.js +9 -9
- package/dist/webcomponents/lab-anssi-ui-kit.jsx.d.ts +6 -0
- package/package.json +10 -9
- package/dist/assets/icones/dsfr/system/arrow-down-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-down-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-down-s-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-down-s-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-go-back-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-go-back-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-go-forward-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-go-forward-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-left-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-left-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-left-s-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-left-s-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-right-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-right-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-right-s-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-right-s-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-right-up-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-up-down-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-up-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-up-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-up-s-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/arrow-up-s-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/fr--arrow-left-s-first-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/fr--arrow-left-s-line-double.svg +0 -1
- package/dist/assets/icones/dsfr/system/fr--arrow-right-down-circle-fill.svg +0 -1
- package/dist/assets/icones/dsfr/system/fr--arrow-right-s-last-line.svg +0 -1
- package/dist/assets/icones/dsfr/system/fr--arrow-right-s-line-double.svg +0 -1
- package/dist/assets/icones/dsfr/system/fr--arrow-right-up-circle-fill.svg +0 -1
|
@@ -523,6 +523,12 @@ declare namespace JSX {
|
|
|
523
523
|
"label-size"?: string;
|
|
524
524
|
"label-weight"?: string;
|
|
525
525
|
};
|
|
526
|
+
"dsfr-share": {
|
|
527
|
+
title?: string;
|
|
528
|
+
buttons?: string;
|
|
529
|
+
disabled?: string;
|
|
530
|
+
text?: string;
|
|
531
|
+
};
|
|
526
532
|
"dsfr-side-menu": {
|
|
527
533
|
title: string;
|
|
528
534
|
items: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lab-anssi/ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.61.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/betagouv/lab-anssi-ui-kit.git"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"web-types": "./dist/web-types.json",
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"svelte": "
|
|
38
|
+
"svelte": "^5.55.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@chromatic-com/storybook": "~5.3.0",
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
"@vitest/browser-playwright": "~4.1.11",
|
|
58
58
|
"@vitest/coverage-v8": "~4.1.11",
|
|
59
59
|
"concurrently": "~10.0.5",
|
|
60
|
-
"cssnano": "~
|
|
60
|
+
"cssnano": "~9.0.2",
|
|
61
61
|
"dotenv": "~17.4.2",
|
|
62
|
-
"eslint": "~10.
|
|
62
|
+
"eslint": "~10.9.1",
|
|
63
63
|
"eslint-config-prettier": "~10.1.8",
|
|
64
64
|
"eslint-plugin-storybook": "~10.5.10",
|
|
65
65
|
"eslint-plugin-svelte": "~3.23.0",
|
|
66
|
-
"globals": "~17.
|
|
66
|
+
"globals": "~17.12.0",
|
|
67
67
|
"http-server": "~14.1.1",
|
|
68
68
|
"husky": "~9.1.7",
|
|
69
|
-
"lint-staged": "~17.
|
|
69
|
+
"lint-staged": "~17.4.1",
|
|
70
70
|
"playwright": "~1.62.1",
|
|
71
71
|
"postcss": "~8.5.26",
|
|
72
|
-
"postcss-discard-empty": "~
|
|
72
|
+
"postcss-discard-empty": "~9.0.1",
|
|
73
73
|
"postcss-root-to-host": "~0.0.0",
|
|
74
74
|
"prettier": "~3.9.6",
|
|
75
75
|
"prettier-plugin-svelte": "~4.1.1",
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
"sass": "~1.103.1",
|
|
78
78
|
"storybook": "~10.5.10",
|
|
79
79
|
"style-dictionary": "^5.5.2",
|
|
80
|
-
"svelte": "~5.
|
|
80
|
+
"svelte": "~5.57.0",
|
|
81
81
|
"svelte-check": "~4.7.6",
|
|
82
82
|
"typescript": "~6.0.3",
|
|
83
|
-
"typescript-eslint": "~8.
|
|
83
|
+
"typescript-eslint": "~8.69.0",
|
|
84
84
|
"vite": "~8.2.2",
|
|
85
85
|
"vitest": "~4.1.11",
|
|
86
86
|
"wait-on": "~9.1.0"
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"build:webcomponents": "vite -c vite.webcomponents.config.ts build",
|
|
101
101
|
"build:styles:dsfr": "sass src/lib/styles/dsfr-variables.scss dist/assets/dsfr-variables.css -I node_modules -I node_modules/@gouvfr/dsfr --no-source-map",
|
|
102
102
|
"build:manifest": "node scripts/generate-ui-manifest.mjs",
|
|
103
|
+
"check": "UI_KIT_CHECK=1 svelte-check --tsconfig ./tsconfig.check.json --threshold error",
|
|
103
104
|
"test": "vitest run",
|
|
104
105
|
"storybook:dev": "STORYBOOK_ENV=development storybook dev -p 6006",
|
|
105
106
|
"storybook:build": "STORYBOOK_ENV=production storybook build",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M13 12h7l-8 8-8-8h7V4h2v8Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m13 16.172 5.364-5.364 1.414 1.414L12 20l-7.778-7.778 1.414-1.414L11 16.172V4h2v12.172Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m12 16-6-6h12l-6 6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m12 13.172 4.95-4.95 1.414 1.414L12 16 5.636 9.636 7.05 8.222l4.95 4.95Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M8 7v4L2 6l6-5v4h5a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H8Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m5.828 7 2.536 2.536L6.95 10.95 2 6l4.95-4.95 1.414 1.414L5.828 5H13a8 8 0 1 1 0 16H4v-2h9a6 6 0 1 0 0-12H5.828Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16 7h-5a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h5V1l6 5-6 5V7Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M18.172 7H11a6 6 0 1 0 0 12h9v2h-9a8 8 0 1 1 0-16h7.172l-2.536-2.536L17.05 1.05 22 6l-4.95 4.95-1.414-1.414L18.172 7Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M12 13v7l-8-8 8-8v7h8v2h-8Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M7.828 11H20v2H7.828l5.364 5.364-1.414 1.414L4 12l7.778-7.778 1.414 1.414L7.828 11Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m8 12 6-6v12l-6-6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m10.828 12 4.95 4.95-1.414 1.414L8 12l6.364-6.364 1.414 1.414-4.95 4.95Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M12 13H4v-2h8V4l8 8-8 8v-7Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m16.172 11-5.364-5.364 1.414-1.414L20 12l-7.778 7.778-1.414-1.414L16.172 13H4v-2h12.172Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m16 12-6 6V6l6 6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m13.172 12-4.95-4.95 1.414-1.414L16 12l-6.364 6.364-1.414-1.414 4.95-4.95Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16 9.41l-8.6 8.61-1.42-1.41L14.58 8H7V6h11v11h-2V9.41z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m11.9498 7.94975-1.4142 1.41421L8.00079 6.828 8.00004 20h-2l.00075-13.172-2.53628 2.53596-1.41422-1.41421L7.00004 3l4.94976 4.94975Zm10 8.10055L17 21l-4.9497-4.9497 1.4142-1.4143 2.5363 2.536L16 4h2l.0008 13.172 2.5348-2.536 1.4142 1.4143Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M13 12v8h-2v-8H4l8-8 8 8h-7Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M13 7.828V20h-2V7.828l-5.364 5.364-1.414-1.414L12 4l7.778 7.778-1.414 1.414L13 7.828Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m12 8 6 6H6l6-6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m12 10.828-4.95 4.95-1.414-1.414L12 8l6.364 6.364-1.414 1.414-4.95-4.95Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m12.828 12.364 4.95 4.95-1.414 1.414L10 12.364 16.364 6l1.414 1.414-4.95 4.95ZM6 6h2v12.73H6V6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13.9 12l5 5-1.4 1.4-6.4-6.4 6.4-6.4L18.9 7l-5 5zm-1-5l-1.4-1.4L5.1 12l6.4 6.4 1.4-1.4-5-5 5-5z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><path d="M19.0721 19.0721c3.9039-3.9038 3.9039-10.2404 0-14.1442-3.9038-3.9039-10.2404-3.9039-14.1442 0-3.9039 3.9038-3.9039 10.2404 0 14.1442 3.9038 3.9039 10.2404 3.9039 14.1442 0Zm-2.8288-2.8288H7.7567l3.1825-3.1825-4.2433-4.2433L8.8175 6.696l4.2433 4.2433 3.1825-3.1825v8.4866Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="m11.17 12.364-4.95 4.95 1.414 1.414 6.364-6.364L7.634 6 6.22 7.414l4.95 4.95ZM17.998 6h-2v12.73h2V6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.1 12l-5-4.9 1.4-1.4 6.4 6.4-6.4 6.4L5.1 17l5-5zm6 0l-5-4.9 1.4-1.4 6.4 6.4-6.4 6.4-1.4-1.5 5-5z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><path d="M19.0721 4.9279c3.9039 3.9038 3.9039 10.2404 0 14.1442-3.9038 3.9039-10.2404 3.9039-14.1442 0-3.9039-3.9038-3.9039-10.2404 0-14.1442 3.9038-3.9039 10.2404-3.9039 14.1442 0Zm-2.8288 2.8288H7.7567l3.1825 3.1825-4.2433 4.2433 2.1216 2.1216 4.2433-4.2433 3.1825 3.1825V7.7567Z"/></svg>
|