@amboss/design-system 3.13.13 → 3.13.15

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.
Files changed (73) hide show
  1. package/build/cjs/components/Box/Box.d.ts +4 -0
  2. package/build/cjs/components/Box/Box.js +1 -1
  3. package/build/cjs/components/Button/Button.js +1 -1
  4. package/build/cjs/components/InteractiveBox/InteractiveBox.d.ts +15 -0
  5. package/build/cjs/components/InteractiveBox/InteractiveBox.js +1 -0
  6. package/build/cjs/components/Logo/Logo.js +1 -1
  7. package/build/cjs/components/NavBar/NavBar.d.ts +13 -0
  8. package/build/cjs/components/NavBar/NavBar.js +1 -0
  9. package/build/cjs/components/NavBar/SubMenuContainer.d.ts +8 -0
  10. package/build/cjs/components/NavBar/SubMenuContainer.js +1 -0
  11. package/build/cjs/components/NavBar/TabButton.d.ts +11 -0
  12. package/build/cjs/components/NavBar/TabButton.js +1 -0
  13. package/build/cjs/components/Notification/Notification.d.ts +2 -2
  14. package/build/cjs/components/Notification/Notification.js +1 -1
  15. package/build/cjs/components/SubThemeProvider/SubThemeContext.d.ts +1 -1
  16. package/build/cjs/components/SubThemeProvider/SubThemeProvider.d.ts +27 -3
  17. package/build/cjs/components/SubThemeProvider/SubThemeProvider.js +1 -1
  18. package/build/cjs/components/Tabs/Tabs.js +1 -1
  19. package/build/cjs/index.d.ts +2 -0
  20. package/build/cjs/index.js +1 -1
  21. package/build/cjs/shared/mixins/getBaseButtonStyles.d.ts +7 -0
  22. package/build/cjs/shared/mixins/getBaseButtonStyles.js +1 -0
  23. package/build/cjs/shared/mixins/getButtonAppearanceReset.d.ts +2 -0
  24. package/build/cjs/shared/mixins/getButtonAppearanceReset.js +1 -0
  25. package/build/cjs/shared/mixins/getDisabledStyles.d.ts +6 -0
  26. package/build/cjs/shared/mixins/getDisabledStyles.js +1 -0
  27. package/build/cjs/shared/mixins/getFocusStyles.d.ts +2 -0
  28. package/build/cjs/shared/mixins/getFocusStyles.js +1 -0
  29. package/build/cjs/shared/mixins/getVariantStyles.d.ts +9 -0
  30. package/build/cjs/shared/mixins/getVariantStyles.js +1 -0
  31. package/build/cjs/shared/mixins/index.d.ts +5 -0
  32. package/build/cjs/shared/mixins/index.js +1 -0
  33. package/build/cjs/web-tokens/assets/logo.json +1 -1
  34. package/build/cjs/web-tokens/navigationTheme.json +403 -0
  35. package/build/cjs/web-tokens/subNavigationTheme.json +86 -0
  36. package/build/cjs/web-tokens/visualConfig.d.ts +2 -2
  37. package/build/esm/components/Box/Box.d.ts +4 -0
  38. package/build/esm/components/Box/Box.js +1 -1
  39. package/build/esm/components/Button/Button.js +1 -1
  40. package/build/esm/components/InteractiveBox/InteractiveBox.d.ts +15 -0
  41. package/build/esm/components/InteractiveBox/InteractiveBox.js +1 -0
  42. package/build/esm/components/Logo/Logo.js +1 -1
  43. package/build/esm/components/NavBar/NavBar.d.ts +13 -0
  44. package/build/esm/components/NavBar/NavBar.js +1 -0
  45. package/build/esm/components/NavBar/SubMenuContainer.d.ts +8 -0
  46. package/build/esm/components/NavBar/SubMenuContainer.js +1 -0
  47. package/build/esm/components/NavBar/TabButton.d.ts +11 -0
  48. package/build/esm/components/NavBar/TabButton.js +1 -0
  49. package/build/esm/components/Notification/Notification.d.ts +2 -2
  50. package/build/esm/components/Notification/Notification.js +1 -1
  51. package/build/esm/components/SubThemeProvider/SubThemeContext.d.ts +1 -1
  52. package/build/esm/components/SubThemeProvider/SubThemeProvider.d.ts +27 -3
  53. package/build/esm/components/SubThemeProvider/SubThemeProvider.js +1 -1
  54. package/build/esm/components/Tabs/Tabs.js +1 -1
  55. package/build/esm/index.d.ts +2 -0
  56. package/build/esm/index.js +1 -1
  57. package/build/esm/shared/mixins/getBaseButtonStyles.d.ts +7 -0
  58. package/build/esm/shared/mixins/getBaseButtonStyles.js +1 -0
  59. package/build/esm/shared/mixins/getButtonAppearanceReset.d.ts +2 -0
  60. package/build/esm/shared/mixins/getButtonAppearanceReset.js +1 -0
  61. package/build/esm/shared/mixins/getDisabledStyles.d.ts +6 -0
  62. package/build/esm/shared/mixins/getDisabledStyles.js +1 -0
  63. package/build/esm/shared/mixins/getFocusStyles.d.ts +2 -0
  64. package/build/esm/shared/mixins/getFocusStyles.js +1 -0
  65. package/build/esm/shared/mixins/getVariantStyles.d.ts +9 -0
  66. package/build/esm/shared/mixins/getVariantStyles.js +1 -0
  67. package/build/esm/shared/mixins/index.d.ts +5 -0
  68. package/build/esm/shared/mixins/index.js +1 -0
  69. package/build/esm/web-tokens/assets/logo.json +1 -1
  70. package/build/esm/web-tokens/navigationTheme.json +403 -0
  71. package/build/esm/web-tokens/subNavigationTheme.json +86 -0
  72. package/build/esm/web-tokens/visualConfig.d.ts +2 -2
  73. package/package.json +1 -1
@@ -0,0 +1,403 @@
1
+ {
2
+ "custom-sub-theme": {
3
+ "dark": {
4
+ "navigation-learn": {
5
+ "color": {
6
+ "text": {
7
+ "primary": {
8
+ "default": "#ffffff"
9
+ },
10
+ "secondary": {
11
+ "default": "rgba(255, 255, 255, 0.8)"
12
+ },
13
+ "tertiary": {
14
+ "default": "rgba(255, 255, 255, 0.6)"
15
+ },
16
+ "accent": {
17
+ "default": "#2db5c6"
18
+ }
19
+ },
20
+ "background": {
21
+ "transparent": {
22
+ "default": "rgba(255, 255, 255, 0)",
23
+ "hover": "rgba(147, 149, 159, 0.15)",
24
+ "active": "rgba(147, 149, 159, 0.15)"
25
+ },
26
+ "subtle": {
27
+ "accentSubtle": {
28
+ "default": "#223c44"
29
+ }
30
+ },
31
+ "primary": {
32
+ "default": "#1d6670"
33
+ }
34
+ },
35
+ "icon": {
36
+ "primary": {
37
+ "default": "#ced1d6"
38
+ },
39
+ "secondary": {
40
+ "default": "rgba(255, 255, 255, 0.8)"
41
+ },
42
+ "tertiary": {
43
+ "default": "rgba(255, 255, 255, 0.6)"
44
+ },
45
+ "brand": {
46
+ "default": "#ced1d6"
47
+ },
48
+ "accent": {
49
+ "default": "#2db5c6"
50
+ },
51
+ "onAccent": {
52
+ "default": "#1a1c1c"
53
+ }
54
+ },
55
+ "searchInput": {
56
+ "background": {
57
+ "default": "#223c44"
58
+ }
59
+ },
60
+ "divider": {
61
+ "secondary": "rgba(255, 255, 255, 0.3)"
62
+ },
63
+ "colorIndicator": {
64
+ "brand": {
65
+ "default": "#223c44"
66
+ }
67
+ }
68
+ }
69
+ },
70
+ "navigation-practice": {
71
+ "color": {
72
+ "text": {
73
+ "primary": {
74
+ "default": "#ffffff"
75
+ },
76
+ "secondary": {
77
+ "default": "rgba(255, 255, 255, 0.8)"
78
+ },
79
+ "tertiary": {
80
+ "default": "rgba(255, 255, 255, 0.6)"
81
+ },
82
+ "accent": {
83
+ "default": "#2db5c6"
84
+ }
85
+ },
86
+ "background": {
87
+ "transparent": {
88
+ "default": "rgba(255, 255, 255, 0)",
89
+ "hover": "rgba(147, 149, 159, 0.15)",
90
+ "active": "rgba(147, 149, 159, 0.15)"
91
+ },
92
+ "accentSubtle": {
93
+ "default": "#223c44"
94
+ },
95
+ "primary": {
96
+ "default": "#111111"
97
+ }
98
+ },
99
+ "icon": {
100
+ "primary": {
101
+ "default": "#ced1d6"
102
+ },
103
+ "secondary": {
104
+ "default": "rgba(255, 255, 255, 0.8)"
105
+ },
106
+ "tertiary": {
107
+ "default": "rgba(255, 255, 255, 0.6)"
108
+ },
109
+ "brand": {
110
+ "default": "#ced1d6"
111
+ },
112
+ "accent": {
113
+ "default": "#2db5c6"
114
+ },
115
+ "onAccent": {
116
+ "default": "#1a1c1c"
117
+ }
118
+ },
119
+ "searchInput": {
120
+ "background": {
121
+ "default": "#32363e"
122
+ }
123
+ },
124
+ "divider": {
125
+ "secondary": "rgba(255, 255, 255, 0.3)"
126
+ },
127
+ "colorIndicator": {
128
+ "brand": {
129
+ "default": "#1d6670"
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "navigation-teach": {
135
+ "color": {
136
+ "text": {
137
+ "primary": {
138
+ "default": "#ffffff"
139
+ },
140
+ "secondary": {
141
+ "default": "rgba(255, 255, 255, 0.8)"
142
+ },
143
+ "tertiary": {
144
+ "default": "rgba(255, 255, 255, 0.6)"
145
+ },
146
+ "accent": {
147
+ "default": "rgba(255, 255, 255, 0.8)"
148
+ }
149
+ },
150
+ "background": {
151
+ "transparent": {
152
+ "default": "rgba(255, 255, 255, 0)",
153
+ "hover": "rgba(147, 149, 159, 0.15)",
154
+ "active": "rgba(147, 149, 159, 0.15)"
155
+ },
156
+ "accentSubtle": {
157
+ "default": "#40454f"
158
+ },
159
+ "primary": {
160
+ "default": "#282c34"
161
+ }
162
+ },
163
+ "icon": {
164
+ "primary": {
165
+ "default": "#ced1d6"
166
+ },
167
+ "secondary": {
168
+ "default": "rgba(255, 255, 255, 0.8)"
169
+ },
170
+ "tertiary": {
171
+ "default": "rgba(255, 255, 255, 0.6)"
172
+ },
173
+ "brand": {
174
+ "default": "#ced1d6"
175
+ },
176
+ "accent": {
177
+ "default": "rgba(255, 255, 255, 0.8)"
178
+ },
179
+ "onAccent": {
180
+ "default": "#1a1c1c"
181
+ }
182
+ },
183
+ "searchInput": {
184
+ "background": {
185
+ "default": "#111111"
186
+ }
187
+ },
188
+ "divider": {
189
+ "secondary": "rgba(255, 255, 255, 0.3)"
190
+ },
191
+ "colorIndicator": {
192
+ "brand": {
193
+ "default": "#1d6670"
194
+ }
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "light": {
200
+ "navigation-learn": {
201
+ "color": {
202
+ "text": {
203
+ "primary": {
204
+ "default": "#ffffff"
205
+ },
206
+ "secondary": {
207
+ "default": "#ffffff"
208
+ },
209
+ "tertiary": {
210
+ "default": "rgba(255, 255, 255, 0.8)"
211
+ },
212
+ "accent": {
213
+ "default": "#047a88"
214
+ }
215
+ },
216
+ "background": {
217
+ "primary": {
218
+ "default": "#054f57"
219
+ },
220
+ "transparent": {
221
+ "default": "rgba(255, 255, 255, 0)",
222
+ "hover": "rgba(255, 255, 255, 0.08)",
223
+ "active": "rgba(255, 255, 255, 0.08)"
224
+ },
225
+ "accentSubtle": {
226
+ "default": "#e7f6f8"
227
+ },
228
+ "accent": {
229
+ "default": "#047a88"
230
+ }
231
+ },
232
+ "icon": {
233
+ "primary": {
234
+ "default": "#ffffff"
235
+ },
236
+ "secondary": {
237
+ "default": "#ffffff"
238
+ },
239
+ "tertiary": {
240
+ "default": "rgba(255, 255, 255, 0.8)"
241
+ },
242
+ "brand": {
243
+ "default": "#ffffff"
244
+ },
245
+ "accent": {
246
+ "default": "#047a88"
247
+ },
248
+ "onAccent": {
249
+ "default": "#ffffff"
250
+ }
251
+ },
252
+ "searchInput": {
253
+ "background": {
254
+ "default": "rgba(0, 0, 0, 0.3)"
255
+ }
256
+ },
257
+ "divider": {
258
+ "secondary": "rgba(255, 255, 255, 0.3)"
259
+ },
260
+ "colorIndicator": {
261
+ "brand": {
262
+ "default": "#0aa6b8"
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "navigation-practice": {
268
+ "color": {
269
+ "text": {
270
+ "primary": {
271
+ "default": "#1a1c1c"
272
+ },
273
+ "secondary": {
274
+ "default": "#40515e"
275
+ },
276
+ "tertiary": {
277
+ "default": "#5a7183"
278
+ },
279
+ "accent": {
280
+ "default": "#047a88"
281
+ }
282
+ },
283
+ "background": {
284
+ "primary": {
285
+ "default": "#ffffff"
286
+ },
287
+ "transparent": {
288
+ "default": "rgba(255, 255, 255, 0)",
289
+ "hover": "rgba(96, 117, 133, 0.05)",
290
+ "active": "rgba(96, 117, 133, 0.05)"
291
+ },
292
+ "accentSubtle": {
293
+ "default": "#e7f6f8"
294
+ },
295
+ "accent": {
296
+ "default": "#047a88"
297
+ }
298
+ },
299
+ "icon": {
300
+ "primary": {
301
+ "default": "#1a1c1c"
302
+ },
303
+ "secondary": {
304
+ "default": "#40515e"
305
+ },
306
+ "tertiary": {
307
+ "default": "#5a7183"
308
+ },
309
+ "brand": {
310
+ "default": "#0aa6b8"
311
+ },
312
+ "accent": {
313
+ "default": "#047a88"
314
+ },
315
+ "onAccent": {
316
+ "default": "#ffffff"
317
+ }
318
+ },
319
+ "searchInput": {
320
+ "background": {
321
+ "default": "#eef2f5"
322
+ }
323
+ },
324
+ "divider": {
325
+ "secondary": "rgba(163, 178, 189, 0.3)"
326
+ },
327
+ "colorIndicator": {
328
+ "brand": {
329
+ "default": "#0aa6b8"
330
+ }
331
+ }
332
+ }
333
+ },
334
+ "navigation-teach": {
335
+ "color": {
336
+ "text": {
337
+ "primary": {
338
+ "default": "#ffffff"
339
+ },
340
+ "secondary": {
341
+ "default": "rgba(255, 255, 255, 0.6)"
342
+ },
343
+ "tertiary": {
344
+ "default": "rgba(255, 255, 255, 0.6)"
345
+ },
346
+ "accent": {
347
+ "default": "#314554"
348
+ }
349
+ },
350
+ "background": {
351
+ "primary": {
352
+ "default": "#314554"
353
+ },
354
+ "transparent": {
355
+ "default": "rgba(255, 255, 255, 0)",
356
+ "hover": "rgba(255, 255, 255, 0.08)",
357
+ "active": "rgba(255, 255, 255, 0.08)"
358
+ },
359
+ "accentSubtle": {
360
+ "default": "#eef2f5"
361
+ },
362
+ "accent": {
363
+ "default": "#314554"
364
+ }
365
+ },
366
+ "icon": {
367
+ "primary": {
368
+ "default": "#ffffff"
369
+ },
370
+ "secondary": {
371
+ "default": "#ffffff"
372
+ },
373
+ "tertiary": {
374
+ "default": "rgba(255, 255, 255, 0.8)"
375
+ },
376
+ "brand": {
377
+ "default": "#ffffff"
378
+ },
379
+ "accent": {
380
+ "default": "#314554"
381
+ },
382
+ "onAccent": {
383
+ "default": "#ffffff"
384
+ }
385
+ },
386
+ "searchInput": {
387
+ "background": {
388
+ "default": "rgba(0, 0, 0, 0.6)"
389
+ }
390
+ },
391
+ "divider": {
392
+ "secondary": "rgba(255, 255, 255, 0.3)"
393
+ },
394
+ "colorIndicator": {
395
+ "brand": {
396
+ "default": "#047a88"
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "custom-sub-theme": {
3
+ "dark": {
4
+ "sub-navigation-learn": {
5
+ "color": {
6
+ "text": {
7
+ "primary": {
8
+ "default": "rgba(255, 255, 255, 0.6)"
9
+ },
10
+ "secondary": {
11
+ "default": "rgba(255, 255, 255, 0.6)",
12
+ "active": "#2db5c6"
13
+ }
14
+ }
15
+ }
16
+ },
17
+ "sub-navigation-practice": {
18
+ "color": {
19
+ "text": {
20
+ "primary": {
21
+ "default": "rgba(255, 255, 255, 0.6)"
22
+ },
23
+ "secondary": {
24
+ "default": "rgba(255, 255, 255, 0.6)",
25
+ "active": "#2db5c6"
26
+ }
27
+ }
28
+ }
29
+ },
30
+ "sub-navigation-teach": {
31
+ "color": {
32
+ "text": {
33
+ "primary": {
34
+ "default": "rgba(255, 255, 255, 0.6)"
35
+ },
36
+ "secondary": {
37
+ "default": "rgba(255, 255, 255, 0.6)",
38
+ "active": "rgba(255, 255, 255, 0.8)"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ },
44
+ "light": {
45
+ "sub-navigation-learn": {
46
+ "color": {
47
+ "text": {
48
+ "primary": {
49
+ "default": "#5a7183"
50
+ },
51
+ "secondary": {
52
+ "default": "#5a7183",
53
+ "active": "#047a88"
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "sub-navigation-practice": {
59
+ "color": {
60
+ "text": {
61
+ "primary": {
62
+ "default": "#5a7183"
63
+ },
64
+ "secondary": {
65
+ "default": "#5a7183",
66
+ "active": "#047a88"
67
+ }
68
+ }
69
+ }
70
+ },
71
+ "sub-navigation-teach": {
72
+ "color": {
73
+ "text": {
74
+ "primary": {
75
+ "default": "#5a7183"
76
+ },
77
+ "secondary": {
78
+ "default": "#5a7183",
79
+ "active": "#314554"
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
@@ -170,7 +170,7 @@ type Variables = {
170
170
  "modal": number;
171
171
  };
172
172
  };
173
- type AmbossTheme = {
173
+ export type AmbossTheme = {
174
174
  "color": {
175
175
  "badge": {
176
176
  "background": {
@@ -1152,7 +1152,7 @@ type AmbossTheme = {
1152
1152
  };
1153
1153
  };
1154
1154
  };
1155
- type AmbossThemeName = "dark" | "light";
1155
+ export type AmbossThemeName = "dark" | "light";
1156
1156
  export type VisualConfig = {
1157
1157
  name: AmbossThemeName;
1158
1158
  variables: Variables;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amboss/design-system",
3
- "version": "3.13.13",
3
+ "version": "3.13.15",
4
4
  "description": "the design system for AMBOSS products",
5
5
  "author": "AMBOSS",
6
6
  "license": "ISC",