@servicetitan/hammer-token 1.3.2 → 1.3.3
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/.turbo/turbo-build.log +2 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +12 -0
- package/build/web/core/primitive-variables.scss +115 -0
- package/config.js +23 -0
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @servicetitan/hammer-token@1.3.
|
|
2
|
+
> @servicetitan/hammer-token@1.3.2 build /home/runner/work/hammer/hammer/packages/hammer-token
|
|
3
3
|
> node ./config.js
|
|
4
4
|
|
|
5
5
|
|
|
@@ -12,6 +12,7 @@ css
|
|
|
12
12
|
|
|
13
13
|
scss
|
|
14
14
|
✔︎ build/web/core/primitive.scss
|
|
15
|
+
✔︎ build/web/core/primitive-variables.scss
|
|
15
16
|
✔︎ build/web/core/semantic.scss
|
|
16
17
|
✔︎ build/web/core/semantic-variables.scss
|
|
17
18
|
|
package/.turbo/turbo-lint.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v1.3.3 (Tue Oct 29 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- NOTICK: Add missing primitive tokens and remove `color-scheme` setting in Theme Provider [#790](https://github.com/servicetitan/hammer/pull/790) ([@tounsoo](https://github.com/tounsoo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Ben Ho ([@tounsoo](https://github.com/tounsoo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.3.2 (Mon Oct 28 2024)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
$token: (
|
|
2
|
+
breakpoint-sm: 640px,
|
|
3
|
+
breakpoint-md: 768px,
|
|
4
|
+
breakpoint-lg: 1024px,
|
|
5
|
+
breakpoint-xl: 1280px,
|
|
6
|
+
breakpoint-xxl: 1536px,
|
|
7
|
+
color-blue-100: #e0f2ff,
|
|
8
|
+
color-blue-200: #b5deff,
|
|
9
|
+
color-blue-300: #78bbfa,
|
|
10
|
+
color-blue-400: #3892f3,
|
|
11
|
+
color-blue-500: #0265dc,
|
|
12
|
+
color-blue-600: #004491,
|
|
13
|
+
color-neutral-0: #ffffff,
|
|
14
|
+
color-neutral-10: #fcfcfc,
|
|
15
|
+
color-neutral-20: #fafafa,
|
|
16
|
+
color-neutral-30: #f7f7f7,
|
|
17
|
+
color-neutral-40: #f5f5f5,
|
|
18
|
+
color-neutral-50: #eeeeee,
|
|
19
|
+
color-neutral-60: #dfe0e1,
|
|
20
|
+
color-neutral-70: #bcbcbd,
|
|
21
|
+
color-neutral-80: #949596,
|
|
22
|
+
color-neutral-90: #737475,
|
|
23
|
+
color-neutral-100: #606162,
|
|
24
|
+
color-neutral-200: #444445,
|
|
25
|
+
color-neutral-300: #2d2e31,
|
|
26
|
+
color-neutral-400: #141414,
|
|
27
|
+
color-neutral-500: #040404,
|
|
28
|
+
color-blue-grey-100: #eaeff2,
|
|
29
|
+
color-blue-grey-200: #d0d8dd,
|
|
30
|
+
color-blue-grey-300: #b4c1c8,
|
|
31
|
+
color-blue-grey-400: #8c9ca5,
|
|
32
|
+
color-blue-grey-500: #6a7a85,
|
|
33
|
+
color-blue-grey-600: #576671,
|
|
34
|
+
color-orange-100: #ffeccc,
|
|
35
|
+
color-orange-200: #fdd291,
|
|
36
|
+
color-orange-300: #ffa037,
|
|
37
|
+
color-orange-400: #e46f00,
|
|
38
|
+
color-orange-500: #b14c00,
|
|
39
|
+
color-orange-600: #7a2f00,
|
|
40
|
+
color-yellow-100: #fff9e2,
|
|
41
|
+
color-yellow-200: #fff0b1,
|
|
42
|
+
color-yellow-300: #ffe278,
|
|
43
|
+
color-yellow-400: #ffc902,
|
|
44
|
+
color-yellow-500: #ffbe00,
|
|
45
|
+
color-yellow-600: #de9500,
|
|
46
|
+
color-green-100: #cef8e0,
|
|
47
|
+
color-green-200: #89ecbc,
|
|
48
|
+
color-green-300: #49cc93,
|
|
49
|
+
color-green-400: #15a46e,
|
|
50
|
+
color-green-500: #007a4d,
|
|
51
|
+
color-green-600: #005132,
|
|
52
|
+
color-cyan-100: #e3fcff,
|
|
53
|
+
color-cyan-200: #b1f3fa,
|
|
54
|
+
color-cyan-300: #13ceea,
|
|
55
|
+
color-cyan-400: #08bfdf,
|
|
56
|
+
color-cyan-500: #0ca5c0,
|
|
57
|
+
color-cyan-600: #038299,
|
|
58
|
+
color-purple-100: #f1edff,
|
|
59
|
+
color-purple-200: #c1b6f2,
|
|
60
|
+
color-purple-300: #8772e5,
|
|
61
|
+
color-purple-400: #6954c0,
|
|
62
|
+
color-purple-500: #4f3a9e,
|
|
63
|
+
color-purple-600: #422799,
|
|
64
|
+
color-red-100: #ffece9,
|
|
65
|
+
color-red-200: #ffb2a0,
|
|
66
|
+
color-red-300: #ff745f,
|
|
67
|
+
color-red-400: #f94d32,
|
|
68
|
+
color-red-500: #e13212,
|
|
69
|
+
color-red-600: #bf2a00,
|
|
70
|
+
color-magenta-100: #fbeaf5,
|
|
71
|
+
color-magenta-200: #faafe2,
|
|
72
|
+
color-magenta-300: #d949a9,
|
|
73
|
+
color-magenta-400: #b52d88,
|
|
74
|
+
color-magenta-500: #982071,
|
|
75
|
+
color-magenta-600: #7d165b,
|
|
76
|
+
duration: 200ms,
|
|
77
|
+
duration-instant: 0ms,
|
|
78
|
+
duration-fast: 100ms,
|
|
79
|
+
duration-slow: 300ms,
|
|
80
|
+
font-line-height-base: 1.5,
|
|
81
|
+
font-line-height-display: 1.25,
|
|
82
|
+
font-weight-normal: 400,
|
|
83
|
+
font-weight-semibold: 600,
|
|
84
|
+
font-weight-bold: 700,
|
|
85
|
+
font-size-100: 0.625rem,
|
|
86
|
+
font-size-200: 0.75rem,
|
|
87
|
+
font-size-300: 0.875rem,
|
|
88
|
+
font-size-400: 1rem,
|
|
89
|
+
font-size-500: 1.25rem,
|
|
90
|
+
font-size-600: 1.5rem,
|
|
91
|
+
font-size-700: 1.75rem,
|
|
92
|
+
font-size-800: 2rem,
|
|
93
|
+
font-size-900: 2.25rem,
|
|
94
|
+
size-0: 0rem,
|
|
95
|
+
size-1: 0.25rem,
|
|
96
|
+
size-2: 0.5rem,
|
|
97
|
+
size-3: 0.75rem,
|
|
98
|
+
size-4: 1rem,
|
|
99
|
+
size-5: 1.25rem,
|
|
100
|
+
size-6: 1.5rem,
|
|
101
|
+
size-7: 1.75rem,
|
|
102
|
+
size-8: 2rem,
|
|
103
|
+
size-9: 2.25rem,
|
|
104
|
+
size-10: 2.5rem,
|
|
105
|
+
size-11: 2.75rem,
|
|
106
|
+
size-12: 3rem,
|
|
107
|
+
size-13: 3.25rem,
|
|
108
|
+
size-14: 3.5rem,
|
|
109
|
+
size-quarter: 0.0625rem,
|
|
110
|
+
size-half: 0.125rem,
|
|
111
|
+
transition-ease: cubic-bezier(.4, 0, .2, 1),
|
|
112
|
+
transition-ease-in: cubic-bezier(.4, 0, 1, 1),
|
|
113
|
+
transition-ease-out: cubic-bezier(0, 0, .4, 1),
|
|
114
|
+
transition-ease-in-out: cubic-bezier(.4, 0, .6, 1),
|
|
115
|
+
);
|
package/config.js
CHANGED
|
@@ -53,6 +53,22 @@ StyleDictionary.registerFormat({
|
|
|
53
53
|
},
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
+
StyleDictionary.registerFormat({
|
|
57
|
+
name: `custom/primitive-variables`,
|
|
58
|
+
formatter: function ({ dictionary }) {
|
|
59
|
+
const vars = dictionary.allTokens
|
|
60
|
+
.filter((token) => !token.name.includes("font-family"))
|
|
61
|
+
.map((token) => {
|
|
62
|
+
let value = token.value;
|
|
63
|
+
let name = `${token.name.replace("-default", "")}`;
|
|
64
|
+
return ` ${name}: ${value},`;
|
|
65
|
+
})
|
|
66
|
+
.join(`\n`);
|
|
67
|
+
|
|
68
|
+
return [`$token: (`, vars, `);`].join(`\n`);
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
|
|
56
72
|
StyleDictionary.registerFormat({
|
|
57
73
|
name: `custom/es6`,
|
|
58
74
|
formatter: function ({ dictionary }) {
|
|
@@ -259,6 +275,13 @@ themes.forEach((theme) => {
|
|
|
259
275
|
return token.filePath.startsWith("src/global/primitive");
|
|
260
276
|
},
|
|
261
277
|
},
|
|
278
|
+
{
|
|
279
|
+
destination: "primitive-variables.scss",
|
|
280
|
+
format: "custom/primitive-variables",
|
|
281
|
+
filter: function (token) {
|
|
282
|
+
return token.filePath.startsWith("src/global/primitive");
|
|
283
|
+
},
|
|
284
|
+
},
|
|
262
285
|
{
|
|
263
286
|
destination: "semantic.scss",
|
|
264
287
|
format: "custom/SCSSVariable",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@servicetitan/hammer-token",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "build/web/index.js",
|
|
6
6
|
"types": "build/web/index.d.ts",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"fs-extra": "^11.2.0",
|
|
22
22
|
"style-dictionary": "^3"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "6de57636c71cb81ce85b7d33cf2c40def5b507fa"
|
|
25
25
|
}
|