@uncinq/component-tokens 1.1.10 → 1.1.12

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.
@@ -25,6 +25,7 @@
25
25
  --btn-font-size: var(--font-size-sm);
26
26
  --btn-font-weight: var(--font-weight-control);
27
27
  --btn-gap: var(--spacing-xs);
28
+ --btn-line-height: var(--line-height-snug);
28
29
  --btn-padding-inline: var(--spacing-control);
29
30
  --btn-padding-block: var(--spacing-control);
30
31
  --btn-shadow: var(--shadow-control);
@@ -35,7 +35,9 @@
35
35
  --card-padding-block: var(--item-padding-block);
36
36
  --card-shadow: var(--item-shadow);
37
37
  --card-shadow-hover: var(--item-shadow-hover);
38
+ --card-surtitle-margin-block-end: calc(var(--card-gap) * -1);
38
39
  --card-title-color: var(--item-title-color);
40
+ --card-title-font-family: var(--item-title-font-family);
39
41
  --card-title-font-size: var(--item-title-font-size);
40
42
  --card-title-font-weight: var(--item-title-font-weight);
41
43
  --card-title-line-height: var(--item-title-line-height);
@@ -7,5 +7,6 @@
7
7
  :root {
8
8
  --heading-gap: var(--spacing-xs);
9
9
  --heading-margin-block-end: var(--spacing-fluid-md);
10
+ --heading-surtitle-margin-block-end: calc(var(--heading-gap) * -1);
10
11
  }
11
12
  }
@@ -28,11 +28,12 @@
28
28
  --item-media-icon-border-width: var(--item-media-border-width);
29
29
  --item-media-icon-color: var(--item-title-color);
30
30
  --item-media-icon-color-background: transparent;
31
+ --item-media-icon-color-border: transparent;
31
32
  --item-media-icon-margin-inline: var(--item-padding-inline);
32
33
  --item-media-icon-margin-block: var(--item-padding-block);
33
34
  --item-media-icon-ratio: var(--ratio-square);
34
35
  --item-media-icon-size: var(--font-size-fluid-md);
35
- --item-media-icon-width: var(--size-40);
36
+ --item-media-icon-width: auto;
36
37
  --item-media-order: -2;
37
38
  --item-media-ratio: var(--media-ratio);
38
39
  --item-metas-border-end: 0;
@@ -52,8 +53,10 @@
52
53
  --item-padding-block-end: var(--spacing-card);
53
54
  --item-shadow: var(--shadow-sm);
54
55
  --item-shadow-hover: var(--shadow-md);
56
+ --item-surtitle-margin-block-end: calc(var(--item-gap) * -1);
55
57
  --item-title-color: var(--color-text);
56
- --item-title-font-size: var(--font-size-md);
58
+ --item-title-font-family: var(--font-family-heading);
59
+ --item-title-font-size: var(--font-size-fluid-md);
57
60
  --item-title-font-weight: var(--font-weight-heading);
58
61
  --item-title-line-height: var(--line-height-heading);
59
62
  --item-transition: var(--transition-box-shadow);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/component-tokens",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Framework-agnostic CSS design tokens — component layers.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "hover": {
54
54
  "$value": "transparent",
55
- "$type": "color"
55
+ "$type": "color"
56
56
  }
57
57
  }
58
58
  },
@@ -102,6 +102,10 @@
102
102
  "$value": "{spacing.xs}",
103
103
  "$type": "dimension"
104
104
  },
105
+ "lineHeight": {
106
+ "$value": "{lineHeight.snug}",
107
+ "$type": "dimension"
108
+ },
105
109
  "padding": {
106
110
  "inline": {
107
111
  "$value": "{spacing.control}",
@@ -144,11 +144,21 @@
144
144
  "$type": "string"
145
145
  }
146
146
  },
147
+ "surtitle": {
148
+ "marginBlockEnd": {
149
+ "$value": "calc(var(--card-gap) * -1)",
150
+ "$type": "dimension"
151
+ }
152
+ },
147
153
  "title": {
148
154
  "color": {
149
155
  "$value": "{item.title.color}",
150
156
  "$type": "color"
151
157
  },
158
+ "fontFamily": {
159
+ "$value": "{item.title.fontFamily}",
160
+ "$type": "fontFamily"
161
+ },
152
162
  "fontSize": {
153
163
  "$value": "{item.title.fontSize}",
154
164
  "$type": "dimension"
@@ -9,6 +9,12 @@
9
9
  "$value": "{spacing.fluid.md}",
10
10
  "$type": "dimension"
11
11
  }
12
+ },
13
+ "surtitle": {
14
+ "marginBlockEnd": {
15
+ "$value": "calc(var(--heading-gap) * -1)",
16
+ "$type": "dimension"
17
+ }
12
18
  }
13
19
  }
14
20
  }
@@ -114,6 +114,10 @@
114
114
  "background": {
115
115
  "$value": "transparent",
116
116
  "$type": "color"
117
+ },
118
+ "border": {
119
+ "$value": "transparent",
120
+ "$type": "color"
117
121
  }
118
122
  },
119
123
  "margin": {
@@ -135,7 +139,7 @@
135
139
  "$type": "dimension"
136
140
  },
137
141
  "width": {
138
- "$value": "{size.40}",
142
+ "$value": "auto",
139
143
  "$type": "dimension"
140
144
  }
141
145
  },
@@ -232,13 +236,23 @@
232
236
  "$type": "shadow"
233
237
  }
234
238
  },
239
+ "surtitle": {
240
+ "marginBlockEnd": {
241
+ "$value": "calc(var(--item-gap) * -1)",
242
+ "$type": "dimension"
243
+ }
244
+ },
235
245
  "title": {
236
246
  "color": {
237
247
  "$value": "{color.text.default}",
238
248
  "$type": "color"
239
249
  },
250
+ "fontFamily": {
251
+ "$value": "{fontFamily.heading}",
252
+ "$type": "fontFamily"
253
+ },
240
254
  "fontSize": {
241
- "$value": "{fontSize.md}",
255
+ "$value": "{fontSize.fluid.md}",
242
256
  "$type": "dimension"
243
257
  },
244
258
  "fontWeight": {