@hopper-ui/tokens 3.2.1 → 3.4.0

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,17 @@
1
1
  # @hopper-ui/tokens
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 6a2fe45: Added offset tokens to semantic Typographic composite tokens
8
+
9
+ ## 3.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - aa5d10b: Added font fallback to font tokens
14
+
3
15
  ## 3.2.1
4
16
 
5
17
  ### Patch Changes
package/dist/tokens.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 12 Mar 2024 19:32:03 GMT
3
+ * Generated on Mon, 25 Mar 2024 15:32:27 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -10,6 +10,14 @@
10
10
  --hop-border-radius-2: 0.5rem;
11
11
  --hop-border-radius-1: 0.25rem;
12
12
  --hop-border-radius-0: 0;
13
+ --hop-easing-expressive: cubic-bezier(0.72, -0.66, 0.15, 1.5);
14
+ --hop-easing-focus: cubic-bezier(0.46, 0.03, 0.52, 0.96);
15
+ --hop-easing-productive: cubic-bezier(0.22, 0.61, 0.36, 1);
16
+ --hop-easing-duration-5: 800ms;
17
+ --hop-easing-duration-4: 500ms;
18
+ --hop-easing-duration-3: 300ms;
19
+ --hop-easing-duration-2: 200ms;
20
+ --hop-easing-duration-1: 100ms;
13
21
  --hop-line-height-1-50: 1.5;
14
22
  --hop-line-height-1-4285: 1.4285714;
15
23
  --hop-line-height-1-33: 1.3333333;
@@ -34,9 +42,9 @@
34
42
  --hop-font-size-160: 1rem;
35
43
  --hop-font-size-140: 0.875rem;
36
44
  --hop-font-size-120: 0.75rem;
37
- --hop-font-family-tertiary: ABC Favorit Mono;
38
- --hop-font-family-secondary: Inter;
39
- --hop-font-family-primary: ABC Favorit;
45
+ --hop-font-family-tertiary: 'ABC Favorit Mono', Consolas, 'SF Mono', monospace;
46
+ --hop-font-family-secondary: 'Inter', Helvetica, Arial, sans-serif;
47
+ --hop-font-family-primary: 'ABC Favorit', Helvetica, Arial, sans-serif;
40
48
  --hop-shadow-lg: 0 10px 18px 8px rgba(60, 60, 60, 0.08);
41
49
  --hop-shadow-md: 0 4px 10px 4px rgba(60, 60, 60, 0.08);
42
50
  --hop-shadow-sm: 0 1px 6px 0 rgba(60, 60, 60, 0.10);
@@ -189,6 +197,24 @@
189
197
  --hop-space-40: 0.25rem;
190
198
  --hop-space-20: 0.125rem;
191
199
  --hop-space-0: 0;
200
+ --hop-overline-bottom-offset: -0.125rem;
201
+ --hop-overline-top-offset: -0.25rem;
202
+ --hop-heading-xs-medium-bottom-offset: -0.25rem;
203
+ --hop-heading-xs-medium-top-offset: -0.4166rem;
204
+ --hop-heading-xs-bottom-offset: -0.25rem;
205
+ --hop-heading-xs-top-offset: -0.4166rem;
206
+ --hop-heading-sm-bottom-offset: -0.1875rem;
207
+ --hop-heading-sm-top-offset: -0.375rem;
208
+ --hop-heading-md-bottom-offset: -0.125rem;
209
+ --hop-heading-md-top-offset: -0.3333rem;
210
+ --hop-heading-lg-bottom-offset: -0.3125rem;
211
+ --hop-heading-lg-top-offset: -0.5625rem;
212
+ --hop-heading-xl-bottom-offset: -0.1875rem;
213
+ --hop-heading-xl-top-offset: -0.5rem;
214
+ --hop-heading-2xl-bottom-offset: -0.3334rem;
215
+ --hop-heading-2xl-top-offset: -0.6667rem;
216
+ --hop-heading-3xl-bottom-offset: -0.5625rem;
217
+ --hop-heading-3xl-top-offset: -0.9375rem;
192
218
  --hop-dataviz-categorical-6colorgroup-option4-category6: #fbe997;
193
219
  --hop-dataviz-categorical-6colorgroup-option4-category5: #bfdca9;
194
220
  --hop-dataviz-categorical-6colorgroup-option4-category4: #c7ebff;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/tokens",
3
3
  "author": "Workleap",
4
- "version": "3.2.1",
4
+ "version": "3.4.0",
5
5
  "description": "The tokens package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -30,13 +30,13 @@
30
30
  "README.md"
31
31
  ],
32
32
  "devDependencies": {
33
- "@types/node": "20.11.7",
34
- "@workleap/eslint-plugin": "3.0.0",
35
- "@workleap/tsup-configs": "3.0.1",
33
+ "@types/node": "20.11.30",
34
+ "@workleap/eslint-plugin": "3.1.0",
35
+ "@workleap/tsup-configs": "3.0.4",
36
36
  "@workleap/typescript-configs": "3.0.2",
37
37
  "style-dictionary": "3.9.2",
38
- "tsx": "4.7.0",
39
- "typescript": "5.3.3"
38
+ "tsx": "4.7.1",
39
+ "typescript": "5.4.2"
40
40
  },
41
41
  "sideEffects": false,
42
42
  "scripts": {