@gouvfr-lasuite/ui-kit 0.23.0 → 0.23.2

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.23.0",
7
+ "version": "0.23.2",
8
8
  "type": "module",
9
9
  "main": "./dist/index.cjs",
10
10
  "module": "./dist/index.js",
@@ -18,6 +18,11 @@
18
18
  "import": "./dist/index.js",
19
19
  "require": "./dist/index.cjs"
20
20
  },
21
+ "./icons": {
22
+ "types": "./dist/icons.d.ts",
23
+ "import": "./dist/icons.js",
24
+ "require": "./dist/icons.cjs"
25
+ },
21
26
  "./style": "./dist/style.css",
22
27
  "./sass/fonts": "./dist/sass/fonts.scss",
23
28
  "./fonts/Marianne": "./dist/assets/fonts/Marianne/Marianne-font.css"
@@ -30,9 +35,12 @@
30
35
  "preview": "vite preview",
31
36
  "test": "vitest run",
32
37
  "build-theme": "cunningham -g css,scss,ts -o src && mv src/cunningham-tokens.scss src/cunningham-tokens-sass.scss",
38
+ "copy-pdf-worker": "shx cp node_modules/pdfjs-dist/build/pdf.worker.mjs public/pdf.worker.mjs",
39
+ "prestorybook": "yarn copy-pdf-worker",
33
40
  "storybook": "storybook dev -p 6006",
34
41
  "build-storybook": "storybook build",
35
42
  "generate-icons": "tsx scripts/generate-icons.ts",
43
+ "prescalingo-postbuild": "yarn copy-pdf-worker",
36
44
  "scalingo-postbuild": "yarn build && yarn build-storybook",
37
45
  "test:ct": "playwright test -c playwright.config.ts",
38
46
  "test:ct:ui": "playwright test -c playwright.config.ts --ui",