@lab-anssi/ui-kit 1.38.1 → 1.40.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.
@@ -1,5 +1,12 @@
1
1
  declare namespace JSX {
2
2
  interface IntrinsicElements {
3
+ "dsfr-accordion": {
4
+ id: string;
5
+ label: string;
6
+ content: string;
7
+ "is-expanded"?: string;
8
+ "title-markup-level"?: string;
9
+ };
3
10
  "dsfr-alert": {
4
11
  "button-close-label"?: string;
5
12
  "has-title"?: string;
@@ -67,6 +74,18 @@ declare namespace JSX {
67
74
  reverse?: string;
68
75
  buttons?: string;
69
76
  };
77
+ "dsfr-callout": {
78
+ "has-title"?: string;
79
+ title?: string;
80
+ text: string;
81
+ id?: string;
82
+ "has-icon"?: string;
83
+ icon?: string;
84
+ "title-markup"?: string;
85
+ "has-button"?: string;
86
+ "button-label": string;
87
+ accent?: string;
88
+ };
70
89
  "dsfr-card": {
71
90
  src?: string;
72
91
  alt?: string;
@@ -289,6 +308,19 @@ declare namespace JSX {
289
308
  "prev-and-next-has-lg-label"?: string;
290
309
  "current-page-index"?: string;
291
310
  };
311
+ "dsfr-quote": {
312
+ text: string;
313
+ size?: string;
314
+ "has-author"?: string;
315
+ author?: string;
316
+ "has-details"?: string;
317
+ sources?: string;
318
+ "has-image"?: string;
319
+ src?: string;
320
+ alt?: string;
321
+ accent?: string;
322
+ "source-url"?: string;
323
+ };
292
324
  "dsfr-radio": {
293
325
  id: string;
294
326
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lab-anssi/ui-kit",
3
- "version": "1.38.1",
3
+ "version": "1.40.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/betagouv/lab-anssi-ui-kit.git"
@@ -16,52 +16,58 @@
16
16
  "!dist/**/*.spec.*"
17
17
  ],
18
18
  "type": "module",
19
+ "exports": {
20
+ "./dist/webcomponents": {
21
+ "types": "./dist/webcomponents/lab-anssi-ui-kit.jsx.d.ts",
22
+ "import": "./dist/webcomponents/lab-anssi-ui-kit.iife.js"
23
+ }
24
+ },
19
25
  "peerDependencies": {
20
26
  "svelte": "~5.38.8"
21
27
  },
22
28
  "devDependencies": {
23
29
  "@chromatic-com/storybook": "~4.1.3",
24
30
  "@eslint/compat": "~1.4.1",
25
- "@eslint/js": "~9.39.1",
31
+ "@eslint/js": "~9.39.2",
26
32
  "@fullhuman/postcss-purgecss": "~7.0.2",
27
- "@gouvfr/dsfr": "1.14.2",
33
+ "@gouvfr/dsfr": "1.14.3",
28
34
  "@storybook/addon-a11y": "~9.1.17",
29
35
  "@storybook/addon-docs": "~9.1.17",
30
36
  "@storybook/addon-svelte-csf": "~5.0.10",
31
37
  "@storybook/addon-themes": "~9.1.17",
32
38
  "@storybook/addon-vitest": "~9.1.17",
33
39
  "@storybook/svelte-vite": "~9.1.17",
34
- "@sveltejs/vite-plugin-svelte": "~6.2.1",
40
+ "@sveltejs/vite-plugin-svelte": "~6.2.3",
35
41
  "@testing-library/jest-dom": "~6.9.1",
36
- "@testing-library/svelte": "~5.2.9",
42
+ "@testing-library/svelte": "~5.3.1",
37
43
  "@types/node": "~24.10.1",
38
44
  "@vitest/browser": "3.2.4",
39
45
  "@vitest/coverage-v8": "3.2.4",
40
46
  "concurrently": "~9.2.1",
41
47
  "cssnano": "~7.1.2",
42
48
  "dotenv": "~17.2.3",
43
- "eslint": "~9.39.1",
49
+ "eslint": "~9.39.2",
44
50
  "eslint-config-prettier": "~10.1.8",
45
51
  "eslint-plugin-storybook": "~9.1.17",
46
- "eslint-plugin-svelte": "~3.13.0",
52
+ "eslint-plugin-svelte": "~3.13.1",
47
53
  "globals": "~16.5.0",
48
54
  "http-server": "~14.1.1",
49
55
  "husky": "~9.1.7",
50
- "lint-staged": "~16.2.6",
51
- "playwright": "~1.56.1",
56
+ "lint-staged": "~16.2.7",
57
+ "playwright": "~1.57.0",
52
58
  "postcss": "~8.5.6",
53
59
  "postcss-discard-empty": "~7.0.1",
54
60
  "postcss-root-to-host": "~0.0.0",
55
- "prettier": "~3.6.2",
56
- "prettier-plugin-svelte": "~3.4.0",
57
- "publint": "~0.3.15",
58
- "sass": "~1.94.0",
61
+ "prettier": "~3.7.4",
62
+ "prettier-plugin-svelte": "~3.4.1",
63
+ "publint": "~0.3.16",
64
+ "sass": "~1.97.2",
59
65
  "storybook": "~9.1.17",
60
- "svelte": "~5.43.6",
61
- "svelte-check": "~4.3.4",
66
+ "svelte": "~5.46.1",
67
+ "svelte-check": "~4.3.5",
62
68
  "typescript": "~5.9.3",
63
- "typescript-eslint": "~8.46.4",
64
- "vite": "~7.2.2",
69
+ "typescript-eslint": "~8.52.0",
70
+ "vite": "~7.3.1",
65
71
  "vitest": "~3.2.4",
66
72
  "wait-on": "~9.0.3"
67
73
  },