@lab-anssi/ui-kit 1.23.1 → 1.24.0
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 +12 -15
- package/dist/lab/Bouton.svelte +24 -1
- package/dist/lab/Bouton.svelte.d.ts +2 -1
- package/dist/lab/Lien.svelte +29 -1
- package/dist/lab/Lien.svelte.d.ts +2 -1
- package/dist/lab/Tag.svelte +2 -0
- package/dist/lab/apparence-bouton.scss +27 -1
- package/dist/mes-services-cyber/lien/LienDiagnosticCyber.svelte +1 -0
- package/dist/webcomponents/lab-anssi-ui-kit.iife.js +23 -23
- package/dist/webcomponents/lab-anssi-ui-kit.jsx.d.ts +2 -0
- package/package.json +27 -10
|
@@ -20,6 +20,7 @@ declare namespace JSX {
|
|
|
20
20
|
icone?: string;
|
|
21
21
|
"position-icone"?: string;
|
|
22
22
|
actif?: string;
|
|
23
|
+
"largeur-maximale"?: string;
|
|
23
24
|
};
|
|
24
25
|
"lab-anssi-icone": { nom: string; taille?: string };
|
|
25
26
|
"lab-anssi-lien": {
|
|
@@ -32,6 +33,7 @@ declare namespace JSX {
|
|
|
32
33
|
cible?: string;
|
|
33
34
|
"position-icone"?: string;
|
|
34
35
|
actif?: string;
|
|
36
|
+
"largeur-maximale"?: string;
|
|
35
37
|
};
|
|
36
38
|
"lab-anssi-resume-pssi": { nomService: string };
|
|
37
39
|
"lab-anssi-tag": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lab-anssi/ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/betagouv/lab-anssi-ui-kit.git"
|
|
@@ -15,10 +15,11 @@
|
|
|
15
15
|
"build:webcomponents": "vite -c vite.webcomponents.config.ts build",
|
|
16
16
|
"prepare": "svelte-kit sync || echo '' && husky",
|
|
17
17
|
"prepack": "svelte-kit sync && svelte-package && npm run build:webcomponents && publint",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
18
|
+
"test": "vitest run",
|
|
19
|
+
"storybook:dev": "STORYBOOK_ENV=development storybook dev -p 6006",
|
|
20
|
+
"storybook:build": "STORYBOOK_ENV=production storybook build",
|
|
21
|
+
"storybook:build-dev": "STORYBOOK_ENV=development storybook build",
|
|
22
|
+
"storybook:test": "STORYBOOK_ENV=production test-storybook"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
25
|
"dist",
|
|
@@ -45,9 +46,19 @@
|
|
|
45
46
|
"svelte": "^4.2.19"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
49
|
+
"@chromatic-com/storybook": "^1.9.0",
|
|
48
50
|
"@eslint/compat": "^1.2.5",
|
|
49
51
|
"@eslint/js": "^9.18.0",
|
|
50
|
-
"@
|
|
52
|
+
"@storybook/addon-essentials": "8.3.7",
|
|
53
|
+
"@storybook/addon-interactions": "8.3.7",
|
|
54
|
+
"@storybook/addon-links": "8.3.7",
|
|
55
|
+
"@storybook/addon-svelte-csf": "^4.2.0",
|
|
56
|
+
"@storybook/addon-themes": "8.3.7",
|
|
57
|
+
"@storybook/blocks": "8.3.7",
|
|
58
|
+
"@storybook/svelte": "8.3.7",
|
|
59
|
+
"@storybook/sveltekit": "8.3.7",
|
|
60
|
+
"@storybook/test": "8.3.7",
|
|
61
|
+
"@storybook/test-runner": "0.19.0",
|
|
51
62
|
"@sveltejs/adapter-auto": "^4.0.0",
|
|
52
63
|
"@sveltejs/kit": "^2.16.0",
|
|
53
64
|
"@sveltejs/package": "^2.0.0",
|
|
@@ -57,16 +68,17 @@
|
|
|
57
68
|
"@types/node": "^22.13.5",
|
|
58
69
|
"dotenv": "^16.5.0",
|
|
59
70
|
"eslint": "^9.18.0",
|
|
60
|
-
"eslint-config-prettier": "^10.
|
|
71
|
+
"eslint-config-prettier": "^10.1.8",
|
|
72
|
+
"eslint-plugin-storybook": "^0.12.0",
|
|
61
73
|
"eslint-plugin-svelte": "^3.0.0",
|
|
62
74
|
"globals": "^16.0.0",
|
|
63
|
-
"histoire": "^0.17.9",
|
|
64
75
|
"husky": "^9.1.7",
|
|
65
|
-
"jsdom": "^26.0.0",
|
|
66
76
|
"lint-staged": "^16.1.0",
|
|
67
77
|
"prettier": "^3.4.2",
|
|
68
78
|
"prettier-plugin-svelte": "^3.3.3",
|
|
69
79
|
"publint": "^0.3.2",
|
|
80
|
+
"sass": "^1.85.1",
|
|
81
|
+
"storybook": "8.3.7",
|
|
70
82
|
"svelte": "^4.2.19",
|
|
71
83
|
"svelte-check": "^4.0.0",
|
|
72
84
|
"typescript": "^5.0.0",
|
|
@@ -76,6 +88,11 @@
|
|
|
76
88
|
},
|
|
77
89
|
"lint-staged": {
|
|
78
90
|
"*.js": "eslint --cache --fix",
|
|
79
|
-
"*.{js,css,md}": "prettier --write"
|
|
91
|
+
"*.{js,ts,css,md,yml}": "prettier --write"
|
|
92
|
+
},
|
|
93
|
+
"eslintConfig": {
|
|
94
|
+
"extends": [
|
|
95
|
+
"plugin:storybook/recommended"
|
|
96
|
+
]
|
|
80
97
|
}
|
|
81
98
|
}
|