@hopper-ui/tokens 3.1.5 → 3.2.1

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,20 @@
1
1
  # @hopper-ui/tokens
2
2
 
3
+ ## 3.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 1948003: Removal of unnecessary node limitation for tokens
8
+
9
+ ## 3.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - ff7fed1: # Font Tokens
14
+
15
+ - Swapped referenced token fonts for variable fonts.
16
+ - Woff2 are now the defacto font extension.
17
+
3
18
  ## 3.1.5
4
19
 
5
20
  ### Patch Changes
package/dist/fonts.css CHANGED
@@ -1,32 +1,8 @@
1
1
  @font-face {
2
2
  font-family: "Inter";
3
3
  font-style: normal;
4
- font-weight: 410;
5
- src: url("assets/fonts/Inter-Regular.woff2") format("woff2");
6
- font-display: fallback;
7
- }
8
-
9
- @font-face {
10
- font-family: "Inter";
11
- font-style: normal;
12
- font-weight: 505;
13
- src: url("assets/fonts/Inter-Medium.woff2") format("woff2");
14
- font-display: fallback;
15
- }
16
-
17
- @font-face {
18
- font-family: "Inter";
19
- font-style: normal;
20
- font-weight: 590;
21
- src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2");
22
- font-display: fallback;
23
- }
24
-
25
- @font-face {
26
- font-family: "Inter";
27
- font-style: normal;
28
- font-weight: 690;
29
- src: url("assets/fonts/Inter-Bold.woff2") format("woff2");
4
+ font-weight: 100 900;
5
+ src: url("https://cdn.platform.workleap.com/hopper/fonts/inter/v4/InterVariable.woff2") format("woff2-variations");
30
6
  font-display: fallback;
31
7
  }
32
8
 
@@ -34,30 +10,14 @@
34
10
  font-family: "ABC Favorit Mono";
35
11
  font-style: normal;
36
12
  font-weight: 400;
37
- src: url("assets/fonts/ABCFavoritMono-Regular.woff2") format("woff2");
38
- font-display: fallback;
39
- }
40
-
41
- @font-face {
42
- font-family: "ABC Favorit";
43
- font-style: normal;
44
- font-weight: 410;
45
- src: url("assets/fonts/ABCFavorit-Regular.woff2") format("woff2");
46
- font-display: fallback;
47
- }
48
-
49
- @font-face {
50
- font-family: "ABC Favorit";
51
- font-style: normal;
52
- font-weight: 580;
53
- src: url("assets/fonts/ABCFavorit-Medium.woff2") format("woff2");
13
+ src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/ABCFavoritMono-Regular.woff2") format("woff2-variations");
54
14
  font-display: fallback;
55
15
  }
56
16
 
57
17
  @font-face {
58
18
  font-family: "ABC Favorit";
59
19
  font-style: normal;
60
- font-weight: 680;
61
- src: url("assets/fonts/ABCFavorit-Bold.woff2") format("woff2");
20
+ font-weight: 100 900;
21
+ src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/ABCFavoritVariable.woff2") format("woff2-variations");
62
22
  font-display: fallback;
63
23
  }
package/dist/tokens.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 22 Feb 2024 16:33:27 GMT
3
+ * Generated on Tue, 12 Mar 2024 19:32:03 GMT
4
4
  */
5
5
 
6
6
  :root {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/tokens",
3
3
  "author": "Workleap",
4
- "version": "3.1.5",
4
+ "version": "3.2.1",
5
5
  "description": "The tokens package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -39,9 +39,6 @@
39
39
  "typescript": "5.3.3"
40
40
  },
41
41
  "sideEffects": false,
42
- "engines": {
43
- "node": ">=18.0.0"
44
- },
45
42
  "scripts": {
46
43
  "clean:dist": "pnpm dlx rimraf dist",
47
44
  "build": "tsx src/style-dictionary/build.ts"
Binary file
Binary file