@infomaniak-design-system/tokens 0.8.0 → 0.8.1-dev.1793193836023

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.1 (2026-10-28)
4
+
5
+ ### Patch Changes
6
+
7
+ - [#474](https://github.com/Infomaniak/design-system/pull/474) [`c3bcded`](https://github.com/Infomaniak/design-system/commit/c3bcded9eecc7ce23a7968822357a45553c79e90): Fixed Tailwind tooling resolution of spacing and radius tokens in the generated Tailwind CSS: `--spacing` and `--radius-*` are now emitted in a non-inline `@theme` block instead of `@theme inline`, so utilities such as `w-8` or `rounded-xs` reference `var(--spacing)` / `var(--radius-xs)` and the variables stay exposed on the Theme object for value-resolution tooling (linters, IntelliSense, equivalence checkers). No rendering change: values are identical at runtime and dark/light theming is unaffected (colors remain inline).
8
+
3
9
  ## 0.8.0 (2026-10-26)
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaniak-design-system/tokens",
3
- "version": "0.8.0",
3
+ "version": "0.8.1-dev.1793193836023",
4
4
  "type": "module",
5
5
  "description": "Infomaniak's Design System - Tokens",
6
6
  "keywords": [
package/tailwind.css CHANGED
@@ -2,14 +2,58 @@
2
2
  Do not edit directly, this file was auto-generated.
3
3
  */
4
4
 
5
+ @theme {
6
+ --spacing-*: initial;
7
+ --radius-*: initial;
8
+ /*
9
+ * No corner radius; sharp corners.
10
+ */
11
+ --radius-none: var(--esds-radius-none);
12
+ /*
13
+ * Extra-small radius for subtle rounding.
14
+ */
15
+ --radius-xs: var(--esds-radius-xs);
16
+ /*
17
+ * Small radius for slightly rounded corners.
18
+ */
19
+ --radius-sm: var(--esds-radius-sm);
20
+ /*
21
+ * Medium radius for default rounded corners.
22
+ */
23
+ --radius-md: var(--esds-radius-md);
24
+ /*
25
+ * Large radius for comfortably rounded corners.
26
+ */
27
+ --radius-lg: var(--esds-radius-lg);
28
+ /*
29
+ * Extra-large radius for prominently rounded corners.
30
+ */
31
+ --radius-xl: var(--esds-radius-xl);
32
+ /*
33
+ * 2x-large radius for very rounded corners.
34
+ */
35
+ --radius-2xl: var(--esds-radius-2xl);
36
+ /*
37
+ * 3x-large radius for heavily rounded corners.
38
+ */
39
+ --radius-3xl: var(--esds-radius-3xl);
40
+ /*
41
+ * 4x-large radius for extremely rounded corners.
42
+ */
43
+ --radius-4xl: var(--esds-radius-4xl);
44
+ /*
45
+ * Fully rounded radius for pill and circular shapes.
46
+ */
47
+ --radius-full: var(--esds-radius-full);
48
+ --spacing: 0.25rem;
49
+ }
50
+
5
51
  @theme inline {
6
52
  --color-*: initial;
7
53
  --font-*: initial;
8
54
  --text-*: initial;
9
55
  --font-weight-*: initial;
10
56
  --tracking-*: initial;
11
- --spacing-*: initial;
12
- --radius-*: initial;
13
57
  --blur-*: initial;
14
58
  --color-transparent: var(--esds-color-transparent);
15
59
  /*
@@ -6314,46 +6358,6 @@
6314
6358
  * Extra-large icon size for prominent display icons.
6315
6359
  */
6316
6360
  --text-icon-xl: var(--esds-icon-size-xl);
6317
- /*
6318
- * No corner radius; sharp corners.
6319
- */
6320
- --radius-none: var(--esds-radius-none);
6321
- /*
6322
- * Extra-small radius for subtle rounding.
6323
- */
6324
- --radius-xs: var(--esds-radius-xs);
6325
- /*
6326
- * Small radius for slightly rounded corners.
6327
- */
6328
- --radius-sm: var(--esds-radius-sm);
6329
- /*
6330
- * Medium radius for default rounded corners.
6331
- */
6332
- --radius-md: var(--esds-radius-md);
6333
- /*
6334
- * Large radius for comfortably rounded corners.
6335
- */
6336
- --radius-lg: var(--esds-radius-lg);
6337
- /*
6338
- * Extra-large radius for prominently rounded corners.
6339
- */
6340
- --radius-xl: var(--esds-radius-xl);
6341
- /*
6342
- * 2x-large radius for very rounded corners.
6343
- */
6344
- --radius-2xl: var(--esds-radius-2xl);
6345
- /*
6346
- * 3x-large radius for heavily rounded corners.
6347
- */
6348
- --radius-3xl: var(--esds-radius-3xl);
6349
- /*
6350
- * 4x-large radius for extremely rounded corners.
6351
- */
6352
- --radius-4xl: var(--esds-radius-4xl);
6353
- /*
6354
- * Fully rounded radius for pill and circular shapes.
6355
- */
6356
- --radius-full: var(--esds-radius-full);
6357
6361
  /*
6358
6362
  * Font size for extra-small text.
6359
6363
  */
@@ -6426,7 +6430,6 @@
6426
6430
  * Line-height for 5x-large text.
6427
6431
  */
6428
6432
  --text-5xl--line-height: var(--esds-text-5xl-line-height);
6429
- --spacing: 0.25rem;
6430
6433
  }
6431
6434
 
6432
6435
  @utility esds-heading-xs {