@servicetitan/hammer-token 0.0.0-rc-3.0.0-20260114215531 → 0.0.0-rc-3.0.0-20260128185325
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 +9 -1
- package/build/web/core/component-variables.scss +62 -0
- package/build/web/core/component.d.ts +31 -0
- package/build/web/core/component.js +341 -0
- package/build/web/core/component.scss +31 -0
- package/build/web/core/css-utils/a2-color.css +16 -0
- package/build/web/core/css-utils/a2-utils.css +16 -0
- package/build/web/core/css-utils/color.css +16 -0
- package/build/web/core/css-utils/utils.css +16 -0
- package/build/web/core/semantic-variables.scss +8 -0
- package/build/web/core/semantic.d.ts +4 -0
- package/build/web/core/semantic.js +44 -0
- package/build/web/core/semantic.scss +4 -0
- package/package.json +1 -1
- package/src/theme/core/background.tokens.json +77 -0
- package/src/theme/core/component/alert.tokens.json +180 -0
- package/src/theme/core/component/announcement.tokens.json +186 -0
- package/src/theme/core/component/avatar.tokens.json +132 -0
- package/src/theme/core/component/badge.tokens.json +40 -0
- package/src/theme/core/foreground.tokens.json +18 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
{
|
|
2
|
+
"announcement": {
|
|
3
|
+
"background": {
|
|
4
|
+
"color": {
|
|
5
|
+
"info": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$value": "{status.color.info}",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"appearance": {
|
|
10
|
+
"light": { "$type": "color", "$value": "{status.color.info}" },
|
|
11
|
+
"dark": { "$type": "color", "$value": "{status.color.info}" }
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"success": {
|
|
16
|
+
"$type": "color",
|
|
17
|
+
"$value": "{status.color.success}",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"appearance": {
|
|
20
|
+
"light": { "$type": "color", "$value": "{status.color.success}" },
|
|
21
|
+
"dark": { "$type": "color", "$value": "{status.color.success}" }
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"warning": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": "{status.color.warning}",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"appearance": {
|
|
30
|
+
"light": { "$type": "color", "$value": "{status.color.warning}" },
|
|
31
|
+
"dark": { "$type": "color", "$value": "{status.color.warning}" }
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"danger": {
|
|
36
|
+
"$type": "color",
|
|
37
|
+
"$value": "{status.color.danger}",
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"appearance": {
|
|
40
|
+
"light": { "$type": "color", "$value": "{status.color.danger}" },
|
|
41
|
+
"dark": { "$type": "color", "$value": "{status.color.danger}" }
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"foreground": {
|
|
48
|
+
"color": {
|
|
49
|
+
"info": {
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"$value": "{foreground.color.on.primary}",
|
|
52
|
+
"$extensions": {
|
|
53
|
+
"appearance": {
|
|
54
|
+
"light": {
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"$value": "{foreground.color.on.primary}"
|
|
57
|
+
},
|
|
58
|
+
"dark": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "{foreground.color.on.primary}"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"success": {
|
|
66
|
+
"$type": "color",
|
|
67
|
+
"$value": "{foreground.color.on.success}",
|
|
68
|
+
"$extensions": {
|
|
69
|
+
"appearance": {
|
|
70
|
+
"light": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{foreground.color.on.success}"
|
|
73
|
+
},
|
|
74
|
+
"dark": {
|
|
75
|
+
"$type": "color",
|
|
76
|
+
"$value": "{foreground.color.on.success}"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"warning": {
|
|
82
|
+
"$type": "color",
|
|
83
|
+
"$value": "{foreground.color.on.warning}",
|
|
84
|
+
"$extensions": {
|
|
85
|
+
"appearance": {
|
|
86
|
+
"light": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "{foreground.color.on.warning}"
|
|
89
|
+
},
|
|
90
|
+
"dark": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{foreground.color.on.warning}"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"danger": {
|
|
98
|
+
"$type": "color",
|
|
99
|
+
"$value": "{foreground.color.on.danger}",
|
|
100
|
+
"$extensions": {
|
|
101
|
+
"appearance": {
|
|
102
|
+
"light": {
|
|
103
|
+
"$type": "color",
|
|
104
|
+
"$value": "{foreground.color.on.danger}"
|
|
105
|
+
},
|
|
106
|
+
"dark": {
|
|
107
|
+
"$type": "color",
|
|
108
|
+
"$value": "{foreground.color.on.danger}"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"action-button": {
|
|
116
|
+
"background": {
|
|
117
|
+
"color": {
|
|
118
|
+
"info": {
|
|
119
|
+
"$type": "color",
|
|
120
|
+
"$value": "{background.color.secondary.strong}",
|
|
121
|
+
"$extensions": {
|
|
122
|
+
"appearance": {
|
|
123
|
+
"light": {
|
|
124
|
+
"$type": "color",
|
|
125
|
+
"$value": "{background.color.secondary.strong}"
|
|
126
|
+
},
|
|
127
|
+
"dark": {
|
|
128
|
+
"$type": "color",
|
|
129
|
+
"$value": "{background.color.secondary.strong}"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"success": {
|
|
135
|
+
"$type": "color",
|
|
136
|
+
"$value": "{background.color.secondary.strong}",
|
|
137
|
+
"$extensions": {
|
|
138
|
+
"appearance": {
|
|
139
|
+
"light": {
|
|
140
|
+
"$type": "color",
|
|
141
|
+
"$value": "{background.color.secondary.strong}"
|
|
142
|
+
},
|
|
143
|
+
"dark": {
|
|
144
|
+
"$type": "color",
|
|
145
|
+
"$value": "{background.color.secondary.strong}"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"warning": {
|
|
151
|
+
"$type": "color",
|
|
152
|
+
"$value": "{background.color.secondary.strong}",
|
|
153
|
+
"$extensions": {
|
|
154
|
+
"appearance": {
|
|
155
|
+
"light": {
|
|
156
|
+
"$type": "color",
|
|
157
|
+
"$value": "{background.color.secondary.strong}"
|
|
158
|
+
},
|
|
159
|
+
"dark": {
|
|
160
|
+
"$type": "color",
|
|
161
|
+
"$value": "{background.color.secondary.strong}"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"danger": {
|
|
167
|
+
"$type": "color",
|
|
168
|
+
"$value": "{background.color.secondary.strong}",
|
|
169
|
+
"$extensions": {
|
|
170
|
+
"appearance": {
|
|
171
|
+
"light": {
|
|
172
|
+
"$type": "color",
|
|
173
|
+
"$value": "{background.color.secondary.strong}"
|
|
174
|
+
},
|
|
175
|
+
"dark": {
|
|
176
|
+
"$type": "color",
|
|
177
|
+
"$value": "{background.color.secondary.strong}"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"avatar": {
|
|
3
|
+
"background": {
|
|
4
|
+
"color": {
|
|
5
|
+
"$root": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$value": "{background.color.stronger}",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"appearance": {
|
|
10
|
+
"light": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "{background.color.stronger}"
|
|
13
|
+
},
|
|
14
|
+
"dark": {
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"$value": "{background.color.stronger}"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"foreground": {
|
|
24
|
+
"color": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "{foreground.color.default}",
|
|
27
|
+
"$extensions": {
|
|
28
|
+
"appearance": {
|
|
29
|
+
"light": {
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$value": "{foreground.color.default}"
|
|
32
|
+
},
|
|
33
|
+
"dark": {
|
|
34
|
+
"$type": "color",
|
|
35
|
+
"$value": "{foreground.color.default}"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"border": {
|
|
42
|
+
"color": {
|
|
43
|
+
"$type": "color",
|
|
44
|
+
"$value": "{color.neutral.0}",
|
|
45
|
+
"$extensions": {
|
|
46
|
+
"appearance": {
|
|
47
|
+
"light": {
|
|
48
|
+
"$type": "color",
|
|
49
|
+
"$value": "{color.neutral.0}"
|
|
50
|
+
},
|
|
51
|
+
"dark": {
|
|
52
|
+
"$type": "color",
|
|
53
|
+
"$value": "{color.neutral.0}"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"indicator": {
|
|
60
|
+
"background": {
|
|
61
|
+
"color": {
|
|
62
|
+
"online": {
|
|
63
|
+
"$type": "color",
|
|
64
|
+
"$value": "{status.color.success}",
|
|
65
|
+
"$extensions": {
|
|
66
|
+
"appearance": {
|
|
67
|
+
"light": {
|
|
68
|
+
"$type": "color",
|
|
69
|
+
"$value": "{status.color.success}"
|
|
70
|
+
},
|
|
71
|
+
"dark": {
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"$value": "{status.color.success}"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"offline": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{background.color.default}",
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"appearance": {
|
|
83
|
+
"light": {
|
|
84
|
+
"$type": "color",
|
|
85
|
+
"$value": "{background.color.default}"
|
|
86
|
+
},
|
|
87
|
+
"dark": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$value": "{background.color.default}"
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"disabled": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{background.color.disabled}",
|
|
97
|
+
"$extensions": {
|
|
98
|
+
"appearance": {
|
|
99
|
+
"light": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "{background.color.disabled}"
|
|
102
|
+
},
|
|
103
|
+
"dark": {
|
|
104
|
+
"$type": "color",
|
|
105
|
+
"$value": "{background.color.disabled}"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"border": {
|
|
113
|
+
"color": {
|
|
114
|
+
"$type": "color",
|
|
115
|
+
"$value": "{border.color.default}",
|
|
116
|
+
"$extensions": {
|
|
117
|
+
"appearance": {
|
|
118
|
+
"light": {
|
|
119
|
+
"$type": "color",
|
|
120
|
+
"$value": "{border.color.default}"
|
|
121
|
+
},
|
|
122
|
+
"dark": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "{border.color.default}"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"badge": {
|
|
3
|
+
"background": {
|
|
4
|
+
"color": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "{background.color.danger}",
|
|
7
|
+
"$extensions": {
|
|
8
|
+
"appearance": {
|
|
9
|
+
"light": {
|
|
10
|
+
"$type": "color",
|
|
11
|
+
"$value": "{background.color.danger}"
|
|
12
|
+
},
|
|
13
|
+
"dark": {
|
|
14
|
+
"$type": "color",
|
|
15
|
+
"$value": "{background.color.danger}"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"foreground": {
|
|
22
|
+
"color": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": "{foreground.color.on.danger}",
|
|
25
|
+
"$extensions": {
|
|
26
|
+
"appearance": {
|
|
27
|
+
"light": {
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"$value": "{foreground.color.on.danger}"
|
|
30
|
+
},
|
|
31
|
+
"dark": {
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$value": "{foreground.color.on.danger}"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -200,6 +200,24 @@
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
|
+
"success": {
|
|
204
|
+
"$root": {
|
|
205
|
+
"$type": "color",
|
|
206
|
+
"$value": "{color.neutral.0}",
|
|
207
|
+
"$extensions": {
|
|
208
|
+
"appearance": {
|
|
209
|
+
"light": {
|
|
210
|
+
"$type": "color",
|
|
211
|
+
"$value": "{color.neutral.0}"
|
|
212
|
+
},
|
|
213
|
+
"dark": {
|
|
214
|
+
"$type": "color",
|
|
215
|
+
"$value": "{color.neutral.950}"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
203
221
|
"danger": {
|
|
204
222
|
"$root": {
|
|
205
223
|
"$type": "color",
|