@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 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,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
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 Thu, 19 Jun 2025 14:38:18 GMT
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/>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export declare const theme: {
6
6
  readonly color: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export const theme = {
6
6
  "color": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  export const theme = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export declare const theme: {
6
6
  readonly color: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export const theme = {
6
6
  "color": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  export const theme = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export declare const theme: {
6
6
  readonly color: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export const theme = {
6
6
  "color": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  export const theme = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export declare const theme: {
6
6
  readonly color: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export const theme = {
6
6
  "color": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  export const theme = {
package/lib/pro/dark.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  [data-theme="dark"] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export declare const theme: {
6
6
  readonly color: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export const theme = {
6
6
  "color": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  export const theme = {
package/lib/pro/light.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  [data-theme="light"] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export declare const theme: {
6
6
  readonly color: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
  export const theme = {
6
6
  "color": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly, this file was auto-generated.
3
- * Generated on Thu, 19 Jun 2025 14:38:18 GMT
3
+ * Generated on Fri, 20 Jun 2025 14:58:04 GMT
4
4
  */
5
5
 
6
6
  export const theme = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pass-culture/design-system",
3
- "version": "0.1.2",
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.1.3"
20
+ "vitest": "^3.2.4"
21
21
  },
22
22
  "packageManager": "yarn@3.6.4"
23
23
  }