@massimo-cassandro/minimo 1.20.6 → 1.20.8

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.
Files changed (46) hide show
  1. package/design-tokens/README.md +13 -12
  2. package/design-tokens/_src/typography.minimo.tokens.mjs +19 -13
  3. package/design-tokens/tokens-config-sample.mjs +19 -14
  4. package/design-tokens/utilities/build-tokens-src/config.mjs +11 -11
  5. package/design-tokens/utilities/build-tokens-src/formats/css.mjs +19 -2
  6. package/design-tokens/utilities/build-tokens-src/formats/{penpot.mjs → json.mjs} +61 -58
  7. package/design-tokens/utilities/build-tokens-src/platforms.mjs +22 -21
  8. package/design-tokens/utilities/build-tokens.mjs +37 -29
  9. package/index.js +6 -2
  10. package/package.json +1 -1
  11. package/src/custom-properties.css +9 -9
  12. package/src/utilities/dom-builder-helpers/form-tags.js +2 -2
  13. package/design-tokens/tokens/design-tokens/_src/alerts.minimo.tokens.jsonc +0 -28
  14. package/design-tokens/tokens/design-tokens/_src/badge.minimo.tokens.jsonc +0 -42
  15. package/design-tokens/tokens/design-tokens/_src/btn-close.minimo.tokens.jsonc +0 -102
  16. package/design-tokens/tokens/design-tokens/_src/btn-color-themes.minimo.tokens.jsonc +0 -182
  17. package/design-tokens/tokens/design-tokens/_src/btn.minimo.tokens.jsonc +0 -210
  18. package/design-tokens/tokens/design-tokens/_src/color-accent.minimo.tokens.jsonc +0 -16
  19. package/design-tokens/tokens/design-tokens/_src/color-neutral.minimo.tokens.jsonc +0 -18
  20. package/design-tokens/tokens/design-tokens/_src/color-primary.minimo.tokens.jsonc +0 -18
  21. package/design-tokens/tokens/design-tokens/_src/color-secondary.minimo.tokens.jsonc +0 -18
  22. package/design-tokens/tokens/design-tokens/_src/flex-grid.minimo.tokens.jsonc +0 -24
  23. package/design-tokens/tokens/design-tokens/_src/form-validation.minimo.tokens.jsonc +0 -22
  24. package/design-tokens/tokens/design-tokens/_src/form.minimo.tokens.jsonc +0 -366
  25. package/design-tokens/tokens/design-tokens/_src/headings.minimo.tokens.jsonc +0 -70
  26. package/design-tokens/tokens/design-tokens/_src/layout.minimo.tokens.jsonc +0 -28
  27. package/design-tokens/tokens/design-tokens/_src/link.minimo.tokens.jsonc +0 -44
  28. package/design-tokens/tokens/design-tokens/_src/radius.minimo.tokens.jsonc +0 -42
  29. package/design-tokens/tokens/design-tokens/_src/shadows.minimo.tokens.jsonc +0 -19
  30. package/design-tokens/tokens/design-tokens/_src/size.minimo.tokens.jsonc +0 -46
  31. package/design-tokens/tokens/design-tokens/_src/status.minimo.tokens.jsonc +0 -98
  32. package/design-tokens/tokens/design-tokens/_src/switch.minimo.tokens.jsonc +0 -32
  33. package/design-tokens/tokens/design-tokens/_src/table.minimo.tokens.jsonc +0 -84
  34. package/design-tokens/tokens/design-tokens/_src/text.minimo.tokens.jsonc +0 -38
  35. package/design-tokens/tokens/design-tokens/_src/typography.minimo.tokens.jsonc +0 -110
  36. package/design-tokens/tokens/design-tokens/_src/utility.minimo.tokens.jsonc +0 -14
  37. package/design-tokens/tokens/design-tokens/_src/z-index.minimo.tokens.jsonc +0 -18
  38. package/design-tokens/tokens/src/components/inner-nav/inner-nav.minimo.tokens.jsonc +0 -20
  39. package/design-tokens/tokens/src/components/modal-alert/modal-alert.minimo.tokens.jsonc +0 -246
  40. package/design-tokens/tokens/src/components/modal-popup/modal-popup.minimo.tokens.jsonc +0 -128
  41. package/design-tokens/tokens/src/components/sf-macro/sf-macro.minimo.tokens.jsonc +0 -84
  42. package/design-tokens/tokens/src/components/slide-up-down-toggle/slide-up-down-toggle.minimo.tokens.jsonc +0 -14
  43. package/design-tokens/tokens/src/components/snackbar/snackbar.minimo.tokens.jsonc +0 -146
  44. package/design-tokens/tokens/src/components/spinner/spinner.minimo.tokens.jsonc +0 -24
  45. package/design-tokens/tokens/src/components/unsplash-page/unsplash-page.minimo.tokens.jsonc +0 -170
  46. package/design-tokens/tokens/src/web-components/s-datatable-component/simple-datatable.minimo.tokens.jsonc +0 -51
@@ -1,170 +0,0 @@
1
- // -----------------------------------------------------------------------
2
- // Generated file — do not edit manually.
3
- // This file is produced by the design-token build pipeline.
4
- // Source of truth: the token files in the project source directory.
5
- // Re-generate with: node build-tokens.mjs --config <path/to/config>
6
- // -----------------------------------------------------------------------
7
- {
8
- "uspg": {
9
- "bg": {
10
- "color": {
11
- "$type": "color",
12
- "$value": "hsl(0deg 0% 0% / .7)"
13
- }
14
- },
15
- "text": {
16
- "color": {
17
- "$type": "color",
18
- "$value": "#fff"
19
- }
20
- },
21
- "line-height": {
22
- "$type": "number",
23
- "$value": "{line-height.sm}"
24
- },
25
- "font": {
26
- "family": {
27
- "$type": "fontFamily",
28
- "$value": "{font.family}"
29
- },
30
- "size": {
31
- "$type": "dimension",
32
- "$value": "{font.size.base}"
33
- },
34
- "weight": {
35
- "$type": "fontWeight",
36
- "$value": "{font.weight.regular}"
37
- },
38
- "variation-settings": {
39
- "$type": "string",
40
- "$value": "unset"
41
- }
42
- },
43
- "h1": {
44
- "color": {
45
- "$type": "color",
46
- "$value": "{uspg.text.color}"
47
- },
48
- "font": {
49
- "size": {
50
- "$type": "dimension",
51
- "$value": "{font.size.xl}"
52
- },
53
- "weight": {
54
- "$type": "fontWeight",
55
- "$value": "{font.weight.bold}"
56
- },
57
- "variation-settings": {
58
- "$type": "string",
59
- "$value": "unset"
60
- }
61
- },
62
- "line-height": {
63
- "$type": "number",
64
- "$value": "{line-height.xs}"
65
- }
66
- },
67
- "link": {
68
- "color": {
69
- "$type": "color",
70
- "$value": "#fc0"
71
- },
72
- "decoration": {
73
- "$type": "string",
74
- "$value": "none"
75
- },
76
- "visited": {
77
- "color": {
78
- "$type": "color",
79
- "$value": "#ff117b"
80
- }
81
- },
82
- "hover": {
83
- "color": {
84
- "$type": "color",
85
- "$value": "{uspg.link.color}"
86
- },
87
- "background": {
88
- "color": {
89
- "$type": "color",
90
- "$value": "transparent"
91
- }
92
- },
93
- "decoration": {
94
- "$type": "string",
95
- "$value": "underline"
96
- }
97
- },
98
- "active": {
99
- "color": {
100
- "$type": "color",
101
- "$value": "#F49C29"
102
- }
103
- },
104
- "focus": {
105
- "outline": {
106
- "width": {
107
- "$type": "dimension",
108
- "$value": "2px"
109
- },
110
- "style": {
111
- "$type": "string",
112
- "$value": "solid"
113
- },
114
- "color": {
115
- "$type": "color",
116
- "$value": "{uspg.link.color}"
117
- },
118
- "offset": {
119
- "$type": "dimension",
120
- "$value": "2px"
121
- }
122
- }
123
- }
124
- },
125
- "credits": {
126
- "font": {
127
- "size": {
128
- "$type": "dimension",
129
- "$value": "{font.size.xs}"
130
- },
131
- "weight": {
132
- "$type": "fontWeight",
133
- "$value": "{font.weight.regular}"
134
- }
135
- },
136
- "line-height": {
137
- "$type": "number",
138
- "$value": "{line-height.xs}"
139
- }
140
- },
141
- "icon": {
142
- "box": {
143
- "bg": {
144
- "$type": "color",
145
- "$value": "{uspg.link.color}"
146
- }
147
- },
148
- "fill": {
149
- "color": {
150
- "$type": "color",
151
- "$value": "#333"
152
- }
153
- },
154
- "hover": {
155
- "box": {
156
- "bg": {
157
- "$type": "color",
158
- "$value": "#fff"
159
- }
160
- }
161
- }
162
- },
163
- "loader": {
164
- "color": {
165
- "$type": "color",
166
- "$value": "hsl(0deg 0% 100% / .6)"
167
- }
168
- }
169
- }
170
- }
@@ -1,51 +0,0 @@
1
- // -----------------------------------------------------------------------
2
- // Generated file — do not edit manually.
3
- // This file is produced by the design-token build pipeline.
4
- // Source of truth: the token files in the project source directory.
5
- // Re-generate with: node build-tokens.mjs --config <path/to/config>
6
- // -----------------------------------------------------------------------
7
- {
8
- "sdt": {
9
- "thead": {
10
- "hover": {
11
- "background": {
12
- "color": {
13
- "$type": "color",
14
- "$value": "color-mix(in srgb, {table.thead.background.color} 90%, {accent})"
15
- }
16
- }
17
- }
18
- },
19
- "pagination": {
20
- "border": {
21
- "$type": "border",
22
- "$value": {
23
- "color": "#666",
24
- "width": "1px"
25
- }
26
- },
27
- "padding": {
28
- "block": {
29
- "$type": "dimension",
30
- "$value": "{size.xxs}"
31
- },
32
- "inline": {
33
- "$type": "dimension",
34
- "$value": "{size.xs}"
35
- }
36
- }
37
- },
38
- "hover": {
39
- "background": {
40
- "color": {
41
- "$type": "color",
42
- "$value": "{btn.primary.background.color}"
43
- }
44
- },
45
- "color": {
46
- "$type": "color",
47
- "$value": "{btn.primary.color}"
48
- }
49
- }
50
- }
51
- }