@pass-culture/design-system 0.1.2 → 0.1.3
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 +2 -2
- package/lib/global/font-faces.css +1 -1
- package/lib/global/font-preloads.d.ts +1 -1
- package/lib/global/font-preloads.js +1 -1
- package/lib/global/font-preloads.ts +1 -1
- package/lib/jeune/dark.mobile.d.ts +1 -1
- package/lib/jeune/dark.mobile.js +1 -1
- package/lib/jeune/dark.mobile.ts +1 -1
- package/lib/jeune/dark.web.d.ts +1 -1
- package/lib/jeune/dark.web.js +1 -1
- package/lib/jeune/dark.web.ts +1 -1
- package/lib/jeune/light.mobile.d.ts +1 -1
- package/lib/jeune/light.mobile.js +1 -1
- package/lib/jeune/light.mobile.ts +1 -1
- package/lib/jeune/light.web.d.ts +1 -1
- package/lib/jeune/light.web.js +1 -1
- package/lib/jeune/light.web.ts +1 -1
- package/lib/pro/dark.css +1 -1
- package/lib/pro/dark.web.d.ts +1 -1
- package/lib/pro/dark.web.js +1 -1
- package/lib/pro/dark.web.ts +1 -1
- package/lib/pro/light.css +1 -1
- package/lib/pro/light.web.d.ts +1 -1
- package/lib/pro/light.web.js +1 -1
- package/lib/pro/light.web.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ yarn add @pass-culture/design-system
|
|
|
17
17
|
La librairie donne accès aux _design tokens_ soit via un fichier de variables CSS qu'on peut importer cette manière :
|
|
18
18
|
|
|
19
19
|
```css
|
|
20
|
-
@import 'design-system/lib/pro/light.css';
|
|
20
|
+
@import '@pass-culture/design-system/lib/pro/light.css';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Dans ce cas, les variables CSS sont directement déclarées à la racine de l'arbre du document.
|
|
@@ -25,7 +25,7 @@ Dans ce cas, les variables CSS sont directement déclarées à la racine de l'ar
|
|
|
25
25
|
Ou bien via un fichier typescript depuis lequel on importe l'objet contenant les _design tokens_ :
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
|
-
import * as tokens from 'design-system/lib/jeune/light.web.ts'
|
|
28
|
+
import * as tokens from '@pass-culture/design-system/lib/jeune/light.web.ts'
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Création d'une nouvelle version de la librairie
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 20 Jun 2025 14:58:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
export declare const fontPreloads = "<link rel=\"preload\" href=\"https://fonts.gstatic.com/s/montserrat/v29/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Hw5aXp-p7K4KLg.woff2\" as=\"font\" type=\"font/woff2\" crossorigin/>\n<link rel=\"preload\" href=\"https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq5Z9WXh0ppC8MLnbtg.woff2\" as=\"font\" type=\"font/woff2\" crossorigin/>\n<link rel=\"preload\" href=\"https://fonts.gstatic.com/s/montserrat/v29/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu173w5aXp-p7K4KLg.woff2\" as=\"font\" type=\"font/woff2\" crossorigin/>\n<link rel=\"preload\" href=\"https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq3p6WXh0ppC8MLnbtg.woff2\" as=\"font\" type=\"font/woff2\" crossorigin/>\n<link rel=\"preload\" href=\"https://fonts.gstatic.com/s/montserrat/v29/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM73w5aXp-p7K4KLg.woff2\" as=\"font\" type=\"font/woff2\" crossorigin/>";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 20 Jun 2025 14:58:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
export const fontPreloads = `<link rel="preload" href="https://fonts.gstatic.com/s/montserrat/v29/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Hw5aXp-p7K4KLg.woff2" as="font" type="font/woff2" crossorigin/>
|
|
6
6
|
<link rel="preload" href="https://fonts.gstatic.com/s/montserrat/v29/JTUFjIg1_i6t8kCHKm459Wx7xQYXK0vOoz6jq5Z9WXh0ppC8MLnbtg.woff2" as="font" type="font/woff2" crossorigin/>
|
package/lib/jeune/dark.mobile.js
CHANGED
package/lib/jeune/dark.mobile.ts
CHANGED
package/lib/jeune/dark.web.d.ts
CHANGED
package/lib/jeune/dark.web.js
CHANGED
package/lib/jeune/dark.web.ts
CHANGED
package/lib/jeune/light.web.d.ts
CHANGED
package/lib/jeune/light.web.js
CHANGED
package/lib/jeune/light.web.ts
CHANGED
package/lib/pro/dark.css
CHANGED
package/lib/pro/dark.web.d.ts
CHANGED
package/lib/pro/dark.web.js
CHANGED
package/lib/pro/dark.web.ts
CHANGED
package/lib/pro/light.css
CHANGED
package/lib/pro/light.web.d.ts
CHANGED
package/lib/pro/light.web.js
CHANGED
package/lib/pro/light.web.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pass-culture/design-system",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"repository": "git@github.com:pass-culture/design-system.git",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"style-dictionary": "^4.4.0",
|
|
18
18
|
"tsx": "^4.20.3",
|
|
19
19
|
"typescript": "^5.8.3",
|
|
20
|
-
"vitest": "^3.
|
|
20
|
+
"vitest": "^3.2.4"
|
|
21
21
|
},
|
|
22
22
|
"packageManager": "yarn@3.6.4"
|
|
23
23
|
}
|