@guardian/stand 0.0.16 → 0.0.17

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 (93) hide show
  1. package/README.md +1 -0
  2. package/dist/TopBar.cjs +9 -3
  3. package/dist/TopBar.js +4 -1
  4. package/dist/components/button/Button.cjs +1 -1
  5. package/dist/components/button/Button.js +1 -1
  6. package/dist/components/icon-button/IconButton.cjs +1 -1
  7. package/dist/components/icon-button/IconButton.js +1 -1
  8. package/dist/components/icon-link-button/IconLinkButton.cjs +1 -1
  9. package/dist/components/icon-link-button/IconLinkButton.js +1 -1
  10. package/dist/components/link-button/LinkButton.cjs +1 -1
  11. package/dist/components/link-button/LinkButton.js +1 -1
  12. package/dist/components/menu/styles.cjs +1 -0
  13. package/dist/components/menu/styles.js +1 -0
  14. package/dist/components/topbar/TopBar.cjs +101 -0
  15. package/dist/components/topbar/TopBar.js +63 -0
  16. package/dist/components/topbar/styles.cjs +30 -0
  17. package/dist/components/topbar/styles.js +25 -0
  18. package/dist/components/topbar/topBarItem/TopBarItem.cjs +28 -0
  19. package/dist/components/topbar/topBarItem/TopBarItem.js +10 -0
  20. package/dist/components/topbar/topBarItem/styles.cjs +20 -0
  21. package/dist/components/topbar/topBarItem/styles.js +17 -0
  22. package/dist/components/topbar/topBarNavigation/TopBarNavigation.cjs +70 -0
  23. package/dist/components/topbar/topBarNavigation/TopBarNavigation.js +23 -0
  24. package/dist/components/topbar/topBarNavigation/styles.cjs +68 -0
  25. package/dist/components/topbar/topBarNavigation/styles.js +61 -0
  26. package/dist/components/topbar/{toolName → topBarToolName}/TopBarToolName.cjs +3 -2
  27. package/dist/components/topbar/topBarToolName/TopBarToolName.js +13 -0
  28. package/dist/styleD/build/css/base/typography.css +3 -3
  29. package/dist/styleD/build/css/component/TopBar.css +55 -1
  30. package/dist/styleD/build/css/component/avatar.css +1 -1
  31. package/dist/styleD/build/css/component/button.css +177 -255
  32. package/dist/styleD/build/css/component/favicon.css +1 -1
  33. package/dist/styleD/build/css/component/menu.css +5 -4
  34. package/dist/styleD/build/css/component/tagAutocomplete.css +1 -1
  35. package/dist/styleD/build/css/component/tagTable.css +1 -1
  36. package/dist/styleD/build/css/component/topBarItem.css +7 -0
  37. package/dist/styleD/build/css/component/userMenu.css +6 -6
  38. package/dist/styleD/build/css/semantic/colors.css +45 -46
  39. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  40. package/dist/styleD/build/css/semantic/typography.css +30 -30
  41. package/dist/styleD/build/typescript/base/typography.cjs +3 -3
  42. package/dist/styleD/build/typescript/base/typography.js +3 -3
  43. package/dist/styleD/build/typescript/component/TopBar.cjs +94 -0
  44. package/dist/styleD/build/typescript/component/TopBar.js +94 -0
  45. package/dist/styleD/build/typescript/component/button.cjs +5 -130
  46. package/dist/styleD/build/typescript/component/button.js +5 -130
  47. package/dist/styleD/build/typescript/component/menu.cjs +2 -1
  48. package/dist/styleD/build/typescript/component/menu.js +2 -1
  49. package/dist/styleD/build/typescript/semantic/colors.cjs +47 -52
  50. package/dist/styleD/build/typescript/semantic/colors.js +47 -52
  51. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  52. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  53. package/dist/types/TopBar.d.ts +12 -3
  54. package/dist/types/components/button/sandbox.d.ts +4 -4
  55. package/dist/types/components/button/types.d.ts +1 -1
  56. package/dist/types/components/icon-button/sandbox.d.ts +4 -4
  57. package/dist/types/components/icon-button/styles.d.ts +3 -128
  58. package/dist/types/components/icon-button/types.d.ts +1 -1
  59. package/dist/types/components/icon-link-button/sandbox.d.ts +4 -4
  60. package/dist/types/components/icon-link-button/styles.d.ts +3 -128
  61. package/dist/types/components/icon-link-button/types.d.ts +1 -1
  62. package/dist/types/components/link-button/sandbox.d.ts +4 -4
  63. package/dist/types/components/link-button/styles.d.ts +3 -128
  64. package/dist/types/components/link-button/types.d.ts +1 -1
  65. package/dist/types/components/topbar/TopBar.d.ts +8 -0
  66. package/dist/types/components/topbar/sandbox.d.ts +5 -0
  67. package/dist/types/components/topbar/styles.d.ts +9 -0
  68. package/dist/types/components/topbar/topBarItem/TopBarItem.d.ts +2 -0
  69. package/dist/types/components/topbar/topBarItem/sandbox.d.ts +5 -0
  70. package/dist/types/components/topbar/topBarItem/styles.d.ts +8 -0
  71. package/dist/types/components/topbar/topBarItem/types.d.ts +14 -0
  72. package/dist/types/components/topbar/topBarNavigation/TopBarNavigation.d.ts +2 -0
  73. package/dist/types/components/topbar/topBarNavigation/sandbox.d.ts +5 -0
  74. package/dist/types/components/topbar/topBarNavigation/styles.d.ts +12 -0
  75. package/dist/types/components/topbar/topBarNavigation/types.d.ts +44 -0
  76. package/dist/types/components/topbar/types.d.ts +3 -0
  77. package/dist/types/styleD/build/typescript/base/typography.d.ts +3 -3
  78. package/dist/types/styleD/build/typescript/component/TopBar.d.ts +94 -0
  79. package/dist/types/styleD/build/typescript/component/button.d.ts +3 -128
  80. package/dist/types/styleD/build/typescript/component/menu.d.ts +1 -0
  81. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +44 -49
  82. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  83. package/dist/util/css/reset.css +10 -0
  84. package/dist/util/reset.css.cjs +1 -1
  85. package/dist/util/reset.css.js +1 -1
  86. package/package.json +14 -16
  87. package/dist/components/topbar/toolName/TopBarToolName.js +0 -12
  88. /package/dist/components/topbar/{toolName → topBarToolName}/styles.cjs +0 -0
  89. /package/dist/components/topbar/{toolName → topBarToolName}/styles.js +0 -0
  90. /package/dist/types/components/topbar/{toolName → topBarToolName}/TopBarToolName.d.ts +0 -0
  91. /package/dist/types/components/topbar/{toolName → topBarToolName}/sandbox.d.ts +0 -0
  92. /package/dist/types/components/topbar/{toolName → topBarToolName}/styles.d.ts +0 -0
  93. /package/dist/types/components/topbar/{toolName → topBarToolName}/types.d.ts +0 -0
@@ -18,7 +18,7 @@ const componentButton = {
18
18
  "outline-offset": "0.125rem"
19
19
  }
20
20
  },
21
- "emphasised-primary": {
21
+ primary: {
22
22
  shared: {
23
23
  color: "#ffffff",
24
24
  backgroundColor: "#0d4289",
@@ -143,132 +143,7 @@ const componentButton = {
143
143
  }
144
144
  }
145
145
  },
146
- "emphasised-secondary": {
147
- shared: {
148
- color: "#000000",
149
- backgroundColor: "none",
150
- borderRadius: "0.25rem",
151
- border: "0.0625rem solid #0d4289",
152
- ":hover": {
153
- backgroundColor: "#e8f0fb",
154
- border: "0.0625rem solid #0d4289"
155
- },
156
- ":active": {
157
- backgroundColor: "#c5d9f4",
158
- border: "0.0625rem solid #0d4289"
159
- },
160
- ":disabled": {
161
- color: "#999999",
162
- backgroundColor: "none",
163
- border: "0.0625rem solid #dcdcdc"
164
- }
165
- },
166
- xs: {
167
- height: "1.5rem",
168
- padding: {
169
- top: "0.25rem",
170
- right: "0.5rem",
171
- bottom: "0.25rem",
172
- left: "0.5rem",
173
- withIcon: {
174
- iconLeft: {
175
- left: "0.25rem"
176
- }
177
- }
178
- },
179
- typography: {
180
- font: "normal 700 0.75rem/1 Open Sans",
181
- letterSpacing: "0rem",
182
- fontWidth: 95
183
- },
184
- icon: {
185
- size: "1.125rem",
186
- gap: "0.25rem"
187
- },
188
- iconButton: {
189
- width: "1.5rem"
190
- }
191
- },
192
- sm: {
193
- height: "2rem",
194
- padding: {
195
- top: "0.25rem",
196
- right: "0.625rem",
197
- bottom: "0.25rem",
198
- left: "0.625rem",
199
- withIcon: {
200
- iconLeft: {
201
- left: "0.5rem"
202
- }
203
- }
204
- },
205
- typography: {
206
- font: "normal 700 0.875rem/1 Open Sans",
207
- letterSpacing: "-0.0125rem",
208
- fontWidth: 95
209
- },
210
- icon: {
211
- size: "1.125rem",
212
- gap: "0.25rem"
213
- },
214
- iconButton: {
215
- width: "2rem"
216
- }
217
- },
218
- md: {
219
- height: "2.5rem",
220
- padding: {
221
- top: "0.25rem",
222
- right: "0.75rem",
223
- bottom: "0.25rem",
224
- left: "0.75rem",
225
- withIcon: {
226
- iconLeft: {
227
- left: "0.5rem"
228
- }
229
- }
230
- },
231
- typography: {
232
- font: "normal 700 0.875rem/1 Open Sans",
233
- letterSpacing: "-0.0125rem",
234
- fontWidth: 95
235
- },
236
- icon: {
237
- size: "1.25rem",
238
- gap: "0.25rem"
239
- },
240
- iconButton: {
241
- width: "2.5rem"
242
- }
243
- },
244
- lg: {
245
- height: "3rem",
246
- padding: {
247
- top: "0.25rem",
248
- right: "1rem",
249
- bottom: "0.25rem",
250
- left: "1rem",
251
- withIcon: {
252
- iconLeft: {
253
- left: "0.75rem"
254
- }
255
- }
256
- },
257
- typography: {
258
- font: "normal 700 1rem/1 Open Sans",
259
- letterSpacing: "-0.0125rem",
260
- fontWidth: 95
261
- },
262
- icon: {
263
- size: "1.5rem",
264
- gap: "0.25rem"
265
- },
266
- iconButton: {
267
- width: "3rem"
268
- }
269
- }
270
- },
271
- "neutral-primary": {
146
+ secondary: {
272
147
  shared: {
273
148
  color: "#ffffff",
274
149
  backgroundColor: "#545454",
@@ -393,18 +268,18 @@ const componentButton = {
393
268
  }
394
269
  }
395
270
  },
396
- "neutral-secondary": {
271
+ tertiary: {
397
272
  shared: {
398
273
  color: "#000000",
399
274
  backgroundColor: "none",
400
275
  borderRadius: "0.25rem",
401
276
  border: "0.0625rem solid #545454",
402
277
  ":hover": {
403
- backgroundColor: "#ededed",
278
+ backgroundColor: "#f6f6f6",
404
279
  border: "0.0625rem solid #545454"
405
280
  },
406
281
  ":active": {
407
- backgroundColor: "#dcdcdc",
282
+ backgroundColor: "#ededed",
408
283
  border: "0.0625rem solid #545454"
409
284
  },
410
285
  ":disabled": {
@@ -16,7 +16,7 @@ const componentButton = {
16
16
  "outline-offset": "0.125rem"
17
17
  }
18
18
  },
19
- "emphasised-primary": {
19
+ primary: {
20
20
  shared: {
21
21
  color: "#ffffff",
22
22
  backgroundColor: "#0d4289",
@@ -141,132 +141,7 @@ const componentButton = {
141
141
  }
142
142
  }
143
143
  },
144
- "emphasised-secondary": {
145
- shared: {
146
- color: "#000000",
147
- backgroundColor: "none",
148
- borderRadius: "0.25rem",
149
- border: "0.0625rem solid #0d4289",
150
- ":hover": {
151
- backgroundColor: "#e8f0fb",
152
- border: "0.0625rem solid #0d4289"
153
- },
154
- ":active": {
155
- backgroundColor: "#c5d9f4",
156
- border: "0.0625rem solid #0d4289"
157
- },
158
- ":disabled": {
159
- color: "#999999",
160
- backgroundColor: "none",
161
- border: "0.0625rem solid #dcdcdc"
162
- }
163
- },
164
- xs: {
165
- height: "1.5rem",
166
- padding: {
167
- top: "0.25rem",
168
- right: "0.5rem",
169
- bottom: "0.25rem",
170
- left: "0.5rem",
171
- withIcon: {
172
- iconLeft: {
173
- left: "0.25rem"
174
- }
175
- }
176
- },
177
- typography: {
178
- font: "normal 700 0.75rem/1 Open Sans",
179
- letterSpacing: "0rem",
180
- fontWidth: 95
181
- },
182
- icon: {
183
- size: "1.125rem",
184
- gap: "0.25rem"
185
- },
186
- iconButton: {
187
- width: "1.5rem"
188
- }
189
- },
190
- sm: {
191
- height: "2rem",
192
- padding: {
193
- top: "0.25rem",
194
- right: "0.625rem",
195
- bottom: "0.25rem",
196
- left: "0.625rem",
197
- withIcon: {
198
- iconLeft: {
199
- left: "0.5rem"
200
- }
201
- }
202
- },
203
- typography: {
204
- font: "normal 700 0.875rem/1 Open Sans",
205
- letterSpacing: "-0.0125rem",
206
- fontWidth: 95
207
- },
208
- icon: {
209
- size: "1.125rem",
210
- gap: "0.25rem"
211
- },
212
- iconButton: {
213
- width: "2rem"
214
- }
215
- },
216
- md: {
217
- height: "2.5rem",
218
- padding: {
219
- top: "0.25rem",
220
- right: "0.75rem",
221
- bottom: "0.25rem",
222
- left: "0.75rem",
223
- withIcon: {
224
- iconLeft: {
225
- left: "0.5rem"
226
- }
227
- }
228
- },
229
- typography: {
230
- font: "normal 700 0.875rem/1 Open Sans",
231
- letterSpacing: "-0.0125rem",
232
- fontWidth: 95
233
- },
234
- icon: {
235
- size: "1.25rem",
236
- gap: "0.25rem"
237
- },
238
- iconButton: {
239
- width: "2.5rem"
240
- }
241
- },
242
- lg: {
243
- height: "3rem",
244
- padding: {
245
- top: "0.25rem",
246
- right: "1rem",
247
- bottom: "0.25rem",
248
- left: "1rem",
249
- withIcon: {
250
- iconLeft: {
251
- left: "0.75rem"
252
- }
253
- }
254
- },
255
- typography: {
256
- font: "normal 700 1rem/1 Open Sans",
257
- letterSpacing: "-0.0125rem",
258
- fontWidth: 95
259
- },
260
- icon: {
261
- size: "1.5rem",
262
- gap: "0.25rem"
263
- },
264
- iconButton: {
265
- width: "3rem"
266
- }
267
- }
268
- },
269
- "neutral-primary": {
144
+ secondary: {
270
145
  shared: {
271
146
  color: "#ffffff",
272
147
  backgroundColor: "#545454",
@@ -391,18 +266,18 @@ const componentButton = {
391
266
  }
392
267
  }
393
268
  },
394
- "neutral-secondary": {
269
+ tertiary: {
395
270
  shared: {
396
271
  color: "#000000",
397
272
  backgroundColor: "none",
398
273
  borderRadius: "0.25rem",
399
274
  border: "0.0625rem solid #545454",
400
275
  ":hover": {
401
- backgroundColor: "#ededed",
276
+ backgroundColor: "#f6f6f6",
402
277
  border: "0.0625rem solid #545454"
403
278
  },
404
279
  ":active": {
405
- backgroundColor: "#dcdcdc",
280
+ backgroundColor: "#ededed",
406
281
  border: "0.0625rem solid #545454"
407
282
  },
408
283
  ":disabled": {
@@ -56,6 +56,7 @@ const componentMenu = {
56
56
  left: "1rem"
57
57
  },
58
58
  "border-bottom": "0.0625rem solid #cccccc",
59
+ "background-color": "#ffffff",
59
60
  icon: {
60
61
  "grid-area": "icon",
61
62
  "align-self": "start",
@@ -94,7 +95,7 @@ const componentMenu = {
94
95
  "border-bottom": "none"
95
96
  },
96
97
  ":hover": {
97
- "background-color": "#ededed"
98
+ "background-color": "#f6f6f6"
98
99
  },
99
100
  ":focus-visible": {
100
101
  outline: "0.125rem solid #0072a9",
@@ -54,6 +54,7 @@ const componentMenu = {
54
54
  left: "1rem"
55
55
  },
56
56
  "border-bottom": "0.0625rem solid #cccccc",
57
+ "background-color": "#ffffff",
57
58
  icon: {
58
59
  "grid-area": "icon",
59
60
  "align-self": "start",
@@ -92,7 +93,7 @@ const componentMenu = {
92
93
  "border-bottom": "none"
93
94
  },
94
95
  ":hover": {
95
- "background-color": "#ededed"
96
+ "background-color": "#f6f6f6"
96
97
  },
97
98
  ":focus-visible": {
98
99
  outline: "0.125rem solid #0072a9",
@@ -2,11 +2,11 @@
2
2
 
3
3
  const semanticColors = {
4
4
  text: {
5
- default: "#000000",
6
- subdued: "#545454",
7
- "inverse-default": "#dcdcdc",
8
- "inverse-subdued": "#cccccc",
9
- "inverse-strong": "#ffffff",
5
+ strong: "#000000",
6
+ weak: "#545454",
7
+ "strong-inverse": "#dcdcdc",
8
+ "weak-inverse": "#cccccc",
9
+ "stronger-inverse": "#ffffff",
10
10
  error: "#8c2113",
11
11
  warning: "#433608",
12
12
  success: "#326528",
@@ -21,60 +21,55 @@ const semanticColors = {
21
21
  "warm-purple": "#381350",
22
22
  magenta: "#581734",
23
23
  orange: "#693c16",
24
- yellow: "#5b4a0b",
25
- "interactive-disabled": "#999999"
24
+ yellow: "#5b4a0b"
26
25
  },
27
26
  bg: {
28
27
  base: "#ffffff",
29
- "raised-1": "#f6f6f6",
30
- "raised-2": "#ededed"
31
- },
32
- surface: {
33
- "light-1": "#f6f6f6",
34
- "light-2": "#ededed",
35
- "dark-1": "#333333"
28
+ "raised-level-1": "#f6f6f6",
29
+ "raised-level-2": "#ededed"
36
30
  },
37
31
  border: {
38
- default: "#8d8d8d",
39
- secondary: "#cccccc",
40
- tertiary: "#ededed",
41
- strong: "#545454",
42
- "inverse-strong": "#ffffff",
43
- "interactive-emphasised": "#0d4289",
44
- "interactive-neutral": "#545454",
45
- "interactive-disabled": "#dcdcdc",
46
- "interactive-focused": "#0072a9",
47
- "interactive-selected": "#0072a9"
48
- },
49
- status: {
50
- "status-draft": "#f1c21b",
51
- "status-live": "#4e9e3e",
52
- "status-selected": "#0072a9",
53
- "status-focused": "#0072a9"
32
+ stronger: "#545454",
33
+ strong: "#8d8d8d",
34
+ weak: "#cccccc",
35
+ weaker: "#ededed",
36
+ "strong-inverse": "#ffffff",
37
+ disabled: "#dcdcdc",
38
+ accent: "#0d4289",
39
+ error: "#b42a19",
40
+ focused: "#0072a9",
41
+ selected: "#0072a9",
42
+ "selected-inverse": "#8abed7"
54
43
  },
55
44
  fill: {
56
- "interactive-primary-emphasised": "#0d4289",
57
- "interactive-primary-emphasised-hover": "#092f62",
58
- "interactive-primary-emphasised-pressed": "#061d3c",
59
- "interactive-secondary-emphasised-hover": "#e8f0fb",
60
- "interactive-secondary-emphasised-pressed": "#c5d9f4",
61
- "interactive-primary-neutral": "#545454",
62
- "interactive-primary-neutral-hover": "#333333",
63
- "interactive-primary-neutral-pressed": "#121212",
64
- "interactive-secondary-neutral-hover": "#ededed",
65
- "interactive-secondary-neutral-pressed": "#dcdcdc",
66
- "interactive-disabled": "#dcdcdc",
67
- "green-subtle": "#cde4c9",
68
- "blue-subtle": "#c5d9f4",
69
- "red-subtle": "#f5c6c0",
70
- "cyan-subtle": "#b8d8e7",
71
- "teal-subtle": "#c5dfe1",
72
- "cool-purple-subtle": "#dbdff7",
73
- "warm-purple-subtle": "#dac3e8",
74
- "magenta-subtle": "#edc6d7",
75
- "orange-subtle": "#fcddc6",
76
- "yellow-subtle": "#fbeebf",
77
- selected: "#005d8b"
45
+ "accent-strong": "#0d4289",
46
+ "accent-strong-hover": "#092f62",
47
+ "accent-strong-pressed": "#061d3c",
48
+ strong: "#545454",
49
+ "strong-hover": "#333333",
50
+ "strong-pressed": "#121212",
51
+ weak: "#ffffff",
52
+ "weak-hover": "#f6f6f6",
53
+ "weak-pressed": "#ededed",
54
+ disabled: "#dcdcdc",
55
+ "green-weak": "#cde4c9",
56
+ "blue-weak": "#c5d9f4",
57
+ "red-weak": "#f5c6c0",
58
+ "cyan-weak": "#b8d8e7",
59
+ "teal-weak": "#c5dfe1",
60
+ "cool-purple-weak": "#dbdff7",
61
+ "warm-purple-weak": "#dac3e8",
62
+ "magenta-weak": "#edc6d7",
63
+ "orange-weak": "#fcddc6",
64
+ "yellow-weak": "#fbeebf",
65
+ selected: "#005d8b",
66
+ "draft-strong": "#f1c21b",
67
+ "live-weak": "#aed2a6",
68
+ "warning-weak": "#fbeebf",
69
+ "information-weak": "#e8f0fb",
70
+ "error-weak": "#f5c6c0",
71
+ "error-strong": "#b42a19",
72
+ "success-weak": "#edf5ec"
78
73
  }
79
74
  };
80
75
 
@@ -1,10 +1,10 @@
1
1
  const semanticColors = {
2
2
  text: {
3
- default: "#000000",
4
- subdued: "#545454",
5
- "inverse-default": "#dcdcdc",
6
- "inverse-subdued": "#cccccc",
7
- "inverse-strong": "#ffffff",
3
+ strong: "#000000",
4
+ weak: "#545454",
5
+ "strong-inverse": "#dcdcdc",
6
+ "weak-inverse": "#cccccc",
7
+ "stronger-inverse": "#ffffff",
8
8
  error: "#8c2113",
9
9
  warning: "#433608",
10
10
  success: "#326528",
@@ -19,60 +19,55 @@ const semanticColors = {
19
19
  "warm-purple": "#381350",
20
20
  magenta: "#581734",
21
21
  orange: "#693c16",
22
- yellow: "#5b4a0b",
23
- "interactive-disabled": "#999999"
22
+ yellow: "#5b4a0b"
24
23
  },
25
24
  bg: {
26
25
  base: "#ffffff",
27
- "raised-1": "#f6f6f6",
28
- "raised-2": "#ededed"
29
- },
30
- surface: {
31
- "light-1": "#f6f6f6",
32
- "light-2": "#ededed",
33
- "dark-1": "#333333"
26
+ "raised-level-1": "#f6f6f6",
27
+ "raised-level-2": "#ededed"
34
28
  },
35
29
  border: {
36
- default: "#8d8d8d",
37
- secondary: "#cccccc",
38
- tertiary: "#ededed",
39
- strong: "#545454",
40
- "inverse-strong": "#ffffff",
41
- "interactive-emphasised": "#0d4289",
42
- "interactive-neutral": "#545454",
43
- "interactive-disabled": "#dcdcdc",
44
- "interactive-focused": "#0072a9",
45
- "interactive-selected": "#0072a9"
46
- },
47
- status: {
48
- "status-draft": "#f1c21b",
49
- "status-live": "#4e9e3e",
50
- "status-selected": "#0072a9",
51
- "status-focused": "#0072a9"
30
+ stronger: "#545454",
31
+ strong: "#8d8d8d",
32
+ weak: "#cccccc",
33
+ weaker: "#ededed",
34
+ "strong-inverse": "#ffffff",
35
+ disabled: "#dcdcdc",
36
+ accent: "#0d4289",
37
+ error: "#b42a19",
38
+ focused: "#0072a9",
39
+ selected: "#0072a9",
40
+ "selected-inverse": "#8abed7"
52
41
  },
53
42
  fill: {
54
- "interactive-primary-emphasised": "#0d4289",
55
- "interactive-primary-emphasised-hover": "#092f62",
56
- "interactive-primary-emphasised-pressed": "#061d3c",
57
- "interactive-secondary-emphasised-hover": "#e8f0fb",
58
- "interactive-secondary-emphasised-pressed": "#c5d9f4",
59
- "interactive-primary-neutral": "#545454",
60
- "interactive-primary-neutral-hover": "#333333",
61
- "interactive-primary-neutral-pressed": "#121212",
62
- "interactive-secondary-neutral-hover": "#ededed",
63
- "interactive-secondary-neutral-pressed": "#dcdcdc",
64
- "interactive-disabled": "#dcdcdc",
65
- "green-subtle": "#cde4c9",
66
- "blue-subtle": "#c5d9f4",
67
- "red-subtle": "#f5c6c0",
68
- "cyan-subtle": "#b8d8e7",
69
- "teal-subtle": "#c5dfe1",
70
- "cool-purple-subtle": "#dbdff7",
71
- "warm-purple-subtle": "#dac3e8",
72
- "magenta-subtle": "#edc6d7",
73
- "orange-subtle": "#fcddc6",
74
- "yellow-subtle": "#fbeebf",
75
- selected: "#005d8b"
43
+ "accent-strong": "#0d4289",
44
+ "accent-strong-hover": "#092f62",
45
+ "accent-strong-pressed": "#061d3c",
46
+ strong: "#545454",
47
+ "strong-hover": "#333333",
48
+ "strong-pressed": "#121212",
49
+ weak: "#ffffff",
50
+ "weak-hover": "#f6f6f6",
51
+ "weak-pressed": "#ededed",
52
+ disabled: "#dcdcdc",
53
+ "green-weak": "#cde4c9",
54
+ "blue-weak": "#c5d9f4",
55
+ "red-weak": "#f5c6c0",
56
+ "cyan-weak": "#b8d8e7",
57
+ "teal-weak": "#c5dfe1",
58
+ "cool-purple-weak": "#dbdff7",
59
+ "warm-purple-weak": "#dac3e8",
60
+ "magenta-weak": "#edc6d7",
61
+ "orange-weak": "#fcddc6",
62
+ "yellow-weak": "#fbeebf",
63
+ selected: "#005d8b",
64
+ "draft-strong": "#f1c21b",
65
+ "live-weak": "#aed2a6",
66
+ "warning-weak": "#fbeebf",
67
+ "information-weak": "#e8f0fb",
68
+ "error-weak": "#f5c6c0",
69
+ "error-strong": "#b42a19",
70
+ "success-weak": "#edf5ec"
76
71
  }
77
72
  };
78
73
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  const semanticSizing = {
4
4
  height: {
5
+ xxs: "1.25rem",
5
6
  xs: "1.5rem",
6
7
  sm: "2rem",
7
8
  md: "2.5rem",
@@ -1,5 +1,6 @@
1
1
  const semanticSizing = {
2
2
  height: {
3
+ xxs: "1.25rem",
3
4
  xs: "1.5rem",
4
5
  sm: "2rem",
5
6
  md: "2.5rem",
@@ -12,8 +12,17 @@
12
12
  * If you only need the built CSS (./component/TopBar.css),
13
13
  * you don't need to install these.
14
14
  */
15
- export { TopBarToolName } from './components/topbar/toolName/TopBarToolName';
16
- export type { TopBarToolNameProps } from './components/topbar/toolName/types';
17
- export type { PartialTopBarToolNameTheme as TopBarToolNameTheme } from './components/topbar/toolName/styles';
18
15
  export { componentTopBar } from './styleD/build/typescript/component/TopBar';
19
16
  export type { ComponentTopBar } from './styleD/build/typescript/component/TopBar';
17
+ export { TopBarToolName } from './components/topbar/topBarToolName/TopBarToolName';
18
+ export type { TopBarToolNameProps } from './components/topbar/topBarToolName/types';
19
+ export type { PartialTopBarToolNameTheme as TopBarToolNameTheme } from './components/topbar/topBarToolName/styles';
20
+ export { TopBarNavigation } from './components/topbar/topBarNavigation/TopBarNavigation';
21
+ export type { TopBarNavigationProps } from './components/topbar/topBarNavigation/types';
22
+ export type { PartialTopBarNavigationTheme as TopBarNavigationTheme } from './components/topbar/topBarNavigation/styles';
23
+ export { TopBarItem } from './components/topbar/topBarItem/TopBarItem';
24
+ export type { TopBarItemProps } from './components/topbar/topBarItem/types';
25
+ export type { PartialTopBarItemTheme as TopBarItemTheme } from './components/topbar/topBarItem/styles';
26
+ export { TopBar } from './components/topbar/TopBar';
27
+ export type { TopBarProps } from './components/topbar/types';
28
+ export type { PartialTopBarTheme as TopBarTheme } from './components/topbar/styles';