@guardian/stand 0.0.16 → 0.0.18

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 (141) 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/avatarButton.cjs +7 -0
  5. package/dist/avatarButton.js +1 -0
  6. package/dist/avatarLink.cjs +7 -0
  7. package/dist/avatarLink.js +1 -0
  8. package/dist/components/avatar/styles.cjs +24 -0
  9. package/dist/components/avatar/styles.js +24 -0
  10. package/dist/components/avatar-button/AvatarButton.cjs +14 -0
  11. package/dist/components/avatar-button/AvatarButton.js +12 -0
  12. package/dist/components/avatar-button/styles.cjs +29 -0
  13. package/dist/components/avatar-button/styles.js +26 -0
  14. package/dist/components/avatar-link/AvatarLink.cjs +14 -0
  15. package/dist/components/avatar-link/AvatarLink.js +12 -0
  16. package/dist/components/avatar-link/styles.cjs +24 -0
  17. package/dist/components/avatar-link/styles.js +21 -0
  18. package/dist/components/button/Button.cjs +1 -1
  19. package/dist/components/button/Button.js +1 -1
  20. package/dist/components/icon-button/IconButton.cjs +1 -1
  21. package/dist/components/icon-button/IconButton.js +1 -1
  22. package/dist/components/icon-link-button/IconLinkButton.cjs +1 -1
  23. package/dist/components/icon-link-button/IconLinkButton.js +1 -1
  24. package/dist/components/inline-message/InlineMessage.cjs +56 -0
  25. package/dist/components/inline-message/InlineMessage.js +27 -0
  26. package/dist/components/inline-message/styles.cjs +17 -0
  27. package/dist/components/inline-message/styles.js +14 -0
  28. package/dist/components/link-button/LinkButton.cjs +1 -1
  29. package/dist/components/link-button/LinkButton.js +1 -1
  30. package/dist/components/menu/styles.cjs +1 -0
  31. package/dist/components/menu/styles.js +1 -0
  32. package/dist/components/topbar/TopBar.cjs +101 -0
  33. package/dist/components/topbar/TopBar.js +63 -0
  34. package/dist/components/topbar/styles.cjs +30 -0
  35. package/dist/components/topbar/styles.js +25 -0
  36. package/dist/components/topbar/topBarItem/TopBarItem.cjs +28 -0
  37. package/dist/components/topbar/topBarItem/TopBarItem.js +10 -0
  38. package/dist/components/topbar/topBarItem/styles.cjs +20 -0
  39. package/dist/components/topbar/topBarItem/styles.js +17 -0
  40. package/dist/components/topbar/topBarNavigation/TopBarNavigation.cjs +70 -0
  41. package/dist/components/topbar/topBarNavigation/TopBarNavigation.js +23 -0
  42. package/dist/components/topbar/topBarNavigation/styles.cjs +68 -0
  43. package/dist/components/topbar/topBarNavigation/styles.js +61 -0
  44. package/dist/components/topbar/{toolName → topBarToolName}/TopBarToolName.cjs +3 -2
  45. package/dist/components/topbar/topBarToolName/TopBarToolName.js +13 -0
  46. package/dist/index.cjs +2 -0
  47. package/dist/index.js +1 -0
  48. package/dist/inline-message.cjs +9 -0
  49. package/dist/inline-message.js +2 -0
  50. package/dist/styleD/build/css/base/typography.css +3 -3
  51. package/dist/styleD/build/css/component/TopBar.css +55 -1
  52. package/dist/styleD/build/css/component/avatar.css +32 -1
  53. package/dist/styleD/build/css/component/button.css +177 -255
  54. package/dist/styleD/build/css/component/favicon.css +1 -1
  55. package/dist/styleD/build/css/component/inlineMessage.css +17 -0
  56. package/dist/styleD/build/css/component/menu.css +5 -4
  57. package/dist/styleD/build/css/component/tagAutocomplete.css +1 -1
  58. package/dist/styleD/build/css/component/tagTable.css +1 -1
  59. package/dist/styleD/build/css/component/topBarItem.css +7 -0
  60. package/dist/styleD/build/css/component/userMenu.css +6 -6
  61. package/dist/styleD/build/css/semantic/colors.css +45 -46
  62. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  63. package/dist/styleD/build/css/semantic/typography.css +68 -30
  64. package/dist/styleD/build/typescript/base/typography.cjs +3 -3
  65. package/dist/styleD/build/typescript/base/typography.js +3 -3
  66. package/dist/styleD/build/typescript/component/TopBar.cjs +94 -0
  67. package/dist/styleD/build/typescript/component/TopBar.js +94 -0
  68. package/dist/styleD/build/typescript/component/avatar.cjs +95 -12
  69. package/dist/styleD/build/typescript/component/avatar.js +95 -12
  70. package/dist/styleD/build/typescript/component/button.cjs +5 -130
  71. package/dist/styleD/build/typescript/component/button.js +5 -130
  72. package/dist/styleD/build/typescript/component/inlineMessage.cjs +28 -0
  73. package/dist/styleD/build/typescript/component/inlineMessage.js +26 -0
  74. package/dist/styleD/build/typescript/component/menu.cjs +2 -1
  75. package/dist/styleD/build/typescript/component/menu.js +2 -1
  76. package/dist/styleD/build/typescript/semantic/colors.cjs +47 -52
  77. package/dist/styleD/build/typescript/semantic/colors.js +47 -52
  78. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  79. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  80. package/dist/styleD/build/typescript/semantic/typography.cjs +50 -0
  81. package/dist/styleD/build/typescript/semantic/typography.js +50 -0
  82. package/dist/types/TopBar.d.ts +12 -3
  83. package/dist/types/avatar-button.d.ts +18 -0
  84. package/dist/types/avatar-link.d.ts +18 -0
  85. package/dist/types/components/avatar-button/AvatarButton.d.ts +2 -0
  86. package/dist/types/components/avatar-button/sandbox.d.ts +5 -0
  87. package/dist/types/components/avatar-button/styles.d.ts +6 -0
  88. package/dist/types/components/avatar-button/types.d.ts +3 -0
  89. package/dist/types/components/avatar-link/AvatarLink.d.ts +2 -0
  90. package/dist/types/components/avatar-link/sandbox.d.ts +5 -0
  91. package/dist/types/components/avatar-link/styles.d.ts +6 -0
  92. package/dist/types/components/avatar-link/types.d.ts +3 -0
  93. package/dist/types/components/button/sandbox.d.ts +4 -4
  94. package/dist/types/components/button/types.d.ts +1 -1
  95. package/dist/types/components/icon-button/sandbox.d.ts +4 -4
  96. package/dist/types/components/icon-button/styles.d.ts +3 -128
  97. package/dist/types/components/icon-button/types.d.ts +1 -1
  98. package/dist/types/components/icon-link-button/sandbox.d.ts +4 -4
  99. package/dist/types/components/icon-link-button/styles.d.ts +3 -128
  100. package/dist/types/components/icon-link-button/types.d.ts +1 -1
  101. package/dist/types/components/inline-message/InlineMessage.d.ts +2 -0
  102. package/dist/types/components/inline-message/sandbox.d.ts +5 -0
  103. package/dist/types/components/inline-message/styles.d.ts +8 -0
  104. package/dist/types/components/inline-message/types.d.ts +21 -0
  105. package/dist/types/components/link-button/sandbox.d.ts +4 -4
  106. package/dist/types/components/link-button/styles.d.ts +3 -128
  107. package/dist/types/components/link-button/types.d.ts +1 -1
  108. package/dist/types/components/topbar/TopBar.d.ts +8 -0
  109. package/dist/types/components/topbar/sandbox.d.ts +5 -0
  110. package/dist/types/components/topbar/styles.d.ts +9 -0
  111. package/dist/types/components/topbar/topBarItem/TopBarItem.d.ts +2 -0
  112. package/dist/types/components/topbar/topBarItem/sandbox.d.ts +5 -0
  113. package/dist/types/components/topbar/topBarItem/styles.d.ts +8 -0
  114. package/dist/types/components/topbar/topBarItem/types.d.ts +14 -0
  115. package/dist/types/components/topbar/topBarNavigation/TopBarNavigation.d.ts +2 -0
  116. package/dist/types/components/topbar/topBarNavigation/sandbox.d.ts +5 -0
  117. package/dist/types/components/topbar/topBarNavigation/styles.d.ts +12 -0
  118. package/dist/types/components/topbar/topBarNavigation/types.d.ts +44 -0
  119. package/dist/types/components/topbar/types.d.ts +3 -0
  120. package/dist/types/index.d.ts +2 -0
  121. package/dist/types/inline-message.d.ts +19 -0
  122. package/dist/types/styleD/build/typescript/base/typography.d.ts +3 -3
  123. package/dist/types/styleD/build/typescript/component/TopBar.d.ts +94 -0
  124. package/dist/types/styleD/build/typescript/component/avatar.d.ts +83 -0
  125. package/dist/types/styleD/build/typescript/component/button.d.ts +3 -128
  126. package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +28 -0
  127. package/dist/types/styleD/build/typescript/component/menu.d.ts +1 -0
  128. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +44 -49
  129. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  130. package/dist/types/styleD/build/typescript/semantic/typography.d.ts +50 -0
  131. package/dist/util/css/reset.css +10 -0
  132. package/dist/util/reset.css.cjs +1 -1
  133. package/dist/util/reset.css.js +1 -1
  134. package/package.json +35 -18
  135. package/dist/components/topbar/toolName/TopBarToolName.js +0 -12
  136. /package/dist/components/topbar/{toolName → topBarToolName}/styles.cjs +0 -0
  137. /package/dist/components/topbar/{toolName → topBarToolName}/styles.js +0 -0
  138. /package/dist/types/components/topbar/{toolName → topBarToolName}/TopBarToolName.d.ts +0 -0
  139. /package/dist/types/components/topbar/{toolName → topBarToolName}/sandbox.d.ts +0 -0
  140. /package/dist/types/components/topbar/{toolName → topBarToolName}/styles.d.ts +0 -0
  141. /package/dist/types/components/topbar/{toolName → topBarToolName}/types.d.ts +0 -0
@@ -9,17 +9,17 @@
9
9
  --component-user-menu-container-padding-x: 0.25rem;
10
10
  --component-user-menu-heading-font-weight: 700;
11
11
  --component-user-menu-heading-font-size: 1.125rem;
12
- --component-user-menu-heading-padding-top: 0px;
13
- --component-user-menu-heading-padding-right: 0px;
14
- --component-user-menu-heading-padding-bottom: 0px;
15
- --component-user-menu-heading-padding-left: 0px;
12
+ --component-user-menu-heading-padding-top: 0;
13
+ --component-user-menu-heading-padding-right: 0;
14
+ --component-user-menu-heading-padding-bottom: 0;
15
+ --component-user-menu-heading-padding-left: 0;
16
16
  --component-user-menu-heading-text-align: left;
17
17
  --component-user-menu-label-font-weight: 700;
18
18
  --component-user-menu-label-font-size: 0.875rem;
19
19
  --component-user-menu-label-padding-top: 15px;
20
- --component-user-menu-label-padding-right: 0px;
20
+ --component-user-menu-label-padding-right: 0;
21
21
  --component-user-menu-label-padding-bottom: 0.375rem;
22
- --component-user-menu-label-padding-left: 0px;
22
+ --component-user-menu-label-padding-left: 0;
23
23
  --component-user-menu-label-text-align: left;
24
24
  --component-user-menu-toggle-button-base-background-color: #ededed;
25
25
  --component-user-menu-toggle-button-disabled-background-color: #dcdcdc;
@@ -3,11 +3,11 @@
3
3
  */
4
4
 
5
5
  :root {
6
- --semantic-colors-text-default: #000000;
7
- --semantic-colors-text-subdued: #545454;
8
- --semantic-colors-text-inverse-default: #dcdcdc;
9
- --semantic-colors-text-inverse-subdued: #cccccc;
10
- --semantic-colors-text-inverse-strong: #ffffff;
6
+ --semantic-colors-text-strong: #000000;
7
+ --semantic-colors-text-weak: #545454;
8
+ --semantic-colors-text-strong-inverse: #dcdcdc;
9
+ --semantic-colors-text-weak-inverse: #cccccc;
10
+ --semantic-colors-text-stronger-inverse: #ffffff;
11
11
  --semantic-colors-text-error: #8c2113;
12
12
  --semantic-colors-text-warning: #433608;
13
13
  --semantic-colors-text-success: #326528;
@@ -23,47 +23,46 @@
23
23
  --semantic-colors-text-magenta: #581734;
24
24
  --semantic-colors-text-orange: #693c16;
25
25
  --semantic-colors-text-yellow: #5b4a0b;
26
- --semantic-colors-text-interactive-disabled: #999999;
27
26
  --semantic-colors-bg-base: #ffffff;
28
- --semantic-colors-bg-raised-1: #f6f6f6;
29
- --semantic-colors-bg-raised-2: #ededed;
30
- --semantic-colors-surface-light-1: #f6f6f6;
31
- --semantic-colors-surface-light-2: #ededed;
32
- --semantic-colors-surface-dark-1: #333333;
33
- --semantic-colors-border-default: #8d8d8d;
34
- --semantic-colors-border-secondary: #cccccc;
35
- --semantic-colors-border-tertiary: #ededed;
36
- --semantic-colors-border-strong: #545454;
37
- --semantic-colors-border-inverse-strong: #ffffff;
38
- --semantic-colors-border-interactive-emphasised: #0d4289;
39
- --semantic-colors-border-interactive-neutral: #545454;
40
- --semantic-colors-border-interactive-disabled: #dcdcdc;
41
- --semantic-colors-border-interactive-focused: #0072a9;
42
- --semantic-colors-border-interactive-selected: #0072a9;
43
- --semantic-colors-status-status-draft: #f1c21b;
44
- --semantic-colors-status-status-live: #4e9e3e;
45
- --semantic-colors-status-status-selected: #0072a9;
46
- --semantic-colors-status-status-focused: #0072a9;
47
- --semantic-colors-fill-interactive-primary-emphasised: #0d4289;
48
- --semantic-colors-fill-interactive-primary-emphasised-hover: #092f62;
49
- --semantic-colors-fill-interactive-primary-emphasised-pressed: #061d3c;
50
- --semantic-colors-fill-interactive-secondary-emphasised-hover: #e8f0fb;
51
- --semantic-colors-fill-interactive-secondary-emphasised-pressed: #c5d9f4;
52
- --semantic-colors-fill-interactive-primary-neutral: #545454;
53
- --semantic-colors-fill-interactive-primary-neutral-hover: #333333;
54
- --semantic-colors-fill-interactive-primary-neutral-pressed: #121212;
55
- --semantic-colors-fill-interactive-secondary-neutral-hover: #ededed;
56
- --semantic-colors-fill-interactive-secondary-neutral-pressed: #dcdcdc;
57
- --semantic-colors-fill-interactive-disabled: #dcdcdc;
58
- --semantic-colors-fill-green-subtle: #cde4c9;
59
- --semantic-colors-fill-blue-subtle: #c5d9f4;
60
- --semantic-colors-fill-red-subtle: #f5c6c0;
61
- --semantic-colors-fill-cyan-subtle: #b8d8e7;
62
- --semantic-colors-fill-teal-subtle: #c5dfe1;
63
- --semantic-colors-fill-cool-purple-subtle: #dbdff7;
64
- --semantic-colors-fill-warm-purple-subtle: #dac3e8;
65
- --semantic-colors-fill-magenta-subtle: #edc6d7;
66
- --semantic-colors-fill-orange-subtle: #fcddc6;
67
- --semantic-colors-fill-yellow-subtle: #fbeebf;
27
+ --semantic-colors-bg-raised-level-1: #f6f6f6;
28
+ --semantic-colors-bg-raised-level-2: #ededed;
29
+ --semantic-colors-border-stronger: #545454;
30
+ --semantic-colors-border-strong: #8d8d8d;
31
+ --semantic-colors-border-weak: #cccccc;
32
+ --semantic-colors-border-weaker: #ededed;
33
+ --semantic-colors-border-strong-inverse: #ffffff;
34
+ --semantic-colors-border-disabled: #dcdcdc;
35
+ --semantic-colors-border-accent: #0d4289;
36
+ --semantic-colors-border-error: #b42a19;
37
+ --semantic-colors-border-focused: #0072a9;
38
+ --semantic-colors-border-selected: #0072a9;
39
+ --semantic-colors-border-selected-inverse: #8abed7;
40
+ --semantic-colors-fill-accent-strong: #0d4289;
41
+ --semantic-colors-fill-accent-strong-hover: #092f62;
42
+ --semantic-colors-fill-accent-strong-pressed: #061d3c;
43
+ --semantic-colors-fill-strong: #545454;
44
+ --semantic-colors-fill-strong-hover: #333333;
45
+ --semantic-colors-fill-strong-pressed: #121212;
46
+ --semantic-colors-fill-weak: #ffffff;
47
+ --semantic-colors-fill-weak-hover: #f6f6f6;
48
+ --semantic-colors-fill-weak-pressed: #ededed;
49
+ --semantic-colors-fill-disabled: #dcdcdc;
50
+ --semantic-colors-fill-green-weak: #cde4c9;
51
+ --semantic-colors-fill-blue-weak: #c5d9f4;
52
+ --semantic-colors-fill-red-weak: #f5c6c0;
53
+ --semantic-colors-fill-cyan-weak: #b8d8e7;
54
+ --semantic-colors-fill-teal-weak: #c5dfe1;
55
+ --semantic-colors-fill-cool-purple-weak: #dbdff7;
56
+ --semantic-colors-fill-warm-purple-weak: #dac3e8;
57
+ --semantic-colors-fill-magenta-weak: #edc6d7;
58
+ --semantic-colors-fill-orange-weak: #fcddc6;
59
+ --semantic-colors-fill-yellow-weak: #fbeebf;
68
60
  --semantic-colors-fill-selected: #005d8b;
61
+ --semantic-colors-fill-draft-strong: #f1c21b;
62
+ --semantic-colors-fill-live-weak: #aed2a6;
63
+ --semantic-colors-fill-warning-weak: #fbeebf;
64
+ --semantic-colors-fill-information-weak: #e8f0fb;
65
+ --semantic-colors-fill-error-weak: #f5c6c0;
66
+ --semantic-colors-fill-error-strong: #b42a19;
67
+ --semantic-colors-fill-success-weak: #edf5ec;
69
68
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  :root {
6
+ --semantic-sizing-height-xxs: 1.25rem;
6
7
  --semantic-sizing-height-xs: 1.5rem;
7
8
  --semantic-sizing-height-sm: 2rem;
8
9
  --semantic-sizing-height-md: 2.5rem;
@@ -5,22 +5,22 @@
5
5
  :root {
6
6
  --semantic-typography-title-sm-font: normal 700 1.125rem/1.15
7
7
  'GH Guardian Headline';
8
- --semantic-typography-title-sm-letter-spacing: 0rem;
8
+ --semantic-typography-title-sm-letter-spacing: 0;
9
9
  --semantic-typography-title-sm-font-width: 100;
10
10
  --semantic-typography-title-md-font: normal 700 1.25rem/1.15
11
11
  'GH Guardian Headline';
12
- --semantic-typography-title-md-letter-spacing: 0rem;
12
+ --semantic-typography-title-md-letter-spacing: 0;
13
13
  --semantic-typography-title-md-font-width: 100;
14
14
  --semantic-typography-title-lg-font: normal 700 1.5rem/1.15
15
15
  'GH Guardian Headline';
16
- --semantic-typography-title-lg-letter-spacing: 0rem;
16
+ --semantic-typography-title-lg-letter-spacing: 0;
17
17
  --semantic-typography-title-lg-font-width: 100;
18
18
  --semantic-typography-title-xl-font: normal 700 2rem/1.15
19
19
  'GH Guardian Headline';
20
- --semantic-typography-title-xl-letter-spacing: 0rem;
20
+ --semantic-typography-title-xl-letter-spacing: 0;
21
21
  --semantic-typography-title-xl-font-width: 100;
22
22
  --semantic-typography-heading-xs-font: normal 700 0.75rem/1.15 'Open Sans';
23
- --semantic-typography-heading-xs-letter-spacing: 0rem;
23
+ --semantic-typography-heading-xs-letter-spacing: 0;
24
24
  --semantic-typography-heading-xs-font-width: 95;
25
25
  --semantic-typography-heading-sm-font: normal 700 0.875rem/1.15 'Open Sans';
26
26
  --semantic-typography-heading-sm-letter-spacing: -0.0125rem;
@@ -39,11 +39,11 @@
39
39
  --semantic-typography-heading-2xl-font-width: 95;
40
40
  --semantic-typography-heading-compact-xs-font: normal 700 0.75rem/1.15
41
41
  'Open Sans';
42
- --semantic-typography-heading-compact-xs-letter-spacing: 0rem;
42
+ --semantic-typography-heading-compact-xs-letter-spacing: 0;
43
43
  --semantic-typography-heading-compact-xs-font-width: 88;
44
44
  --semantic-typography-heading-compact-sm-font: normal 700 0.875rem/1.15
45
45
  'Open Sans';
46
- --semantic-typography-heading-compact-sm-letter-spacing: 0rem;
46
+ --semantic-typography-heading-compact-sm-letter-spacing: 0;
47
47
  --semantic-typography-heading-compact-sm-font-width: 88;
48
48
  --semantic-typography-heading-compact-md-font: normal 700 1rem/1.15
49
49
  'Open Sans';
@@ -62,83 +62,83 @@
62
62
  --semantic-typography-heading-compact-2xl-letter-spacing: -0.03125rem;
63
63
  --semantic-typography-heading-compact-2xl-font-width: 88;
64
64
  --semantic-typography-body-sm-font: normal 460 0.875rem/1.3 'Open Sans';
65
- --semantic-typography-body-sm-letter-spacing: 0rem;
65
+ --semantic-typography-body-sm-letter-spacing: 0;
66
66
  --semantic-typography-body-sm-font-width: 95;
67
67
  --semantic-typography-body-md-font: normal 460 1rem/1.3 'Open Sans';
68
- --semantic-typography-body-md-letter-spacing: 0rem;
68
+ --semantic-typography-body-md-letter-spacing: 0;
69
69
  --semantic-typography-body-md-font-width: 95;
70
70
  --semantic-typography-body-lg-font: normal 460 1.125rem/1.3 'Open Sans';
71
- --semantic-typography-body-lg-letter-spacing: 0rem;
71
+ --semantic-typography-body-lg-letter-spacing: 0;
72
72
  --semantic-typography-body-lg-font-width: 95;
73
73
  --semantic-typography-body-xl-font: normal 460 1.25rem/1.3 'Open Sans';
74
- --semantic-typography-body-xl-letter-spacing: 0rem;
74
+ --semantic-typography-body-xl-letter-spacing: 0;
75
75
  --semantic-typography-body-xl-font-width: 95;
76
76
  --semantic-typography-body-italic-sm-font: italic 460 0.875rem/1.3 'Open Sans';
77
- --semantic-typography-body-italic-sm-letter-spacing: 0rem;
77
+ --semantic-typography-body-italic-sm-letter-spacing: 0;
78
78
  --semantic-typography-body-italic-sm-font-width: 95;
79
79
  --semantic-typography-body-italic-md-font: italic 460 1rem/1.3 'Open Sans';
80
- --semantic-typography-body-italic-md-letter-spacing: 0rem;
80
+ --semantic-typography-body-italic-md-letter-spacing: 0;
81
81
  --semantic-typography-body-italic-md-font-width: 95;
82
82
  --semantic-typography-body-italic-lg-font: italic 460 1.125rem/1.3 'Open Sans';
83
- --semantic-typography-body-italic-lg-letter-spacing: 0rem;
83
+ --semantic-typography-body-italic-lg-letter-spacing: 0;
84
84
  --semantic-typography-body-italic-lg-font-width: 95;
85
85
  --semantic-typography-body-italic-xl-font: italic 460 1.25rem/1.3 'Open Sans';
86
- --semantic-typography-body-italic-xl-letter-spacing: 0rem;
86
+ --semantic-typography-body-italic-xl-letter-spacing: 0;
87
87
  --semantic-typography-body-italic-xl-font-width: 95;
88
88
  --semantic-typography-body-compact-sm-font: normal 460 0.875rem/1.3
89
89
  'Open Sans';
90
- --semantic-typography-body-compact-sm-letter-spacing: 0rem;
90
+ --semantic-typography-body-compact-sm-letter-spacing: 0;
91
91
  --semantic-typography-body-compact-sm-font-width: 88;
92
92
  --semantic-typography-body-compact-md-font: normal 460 1rem/1.3 'Open Sans';
93
- --semantic-typography-body-compact-md-letter-spacing: 0rem;
93
+ --semantic-typography-body-compact-md-letter-spacing: 0;
94
94
  --semantic-typography-body-compact-md-font-width: 88;
95
95
  --semantic-typography-body-compact-lg-font: normal 460 1.125rem/1.3
96
96
  'Open Sans';
97
- --semantic-typography-body-compact-lg-letter-spacing: 0rem;
97
+ --semantic-typography-body-compact-lg-letter-spacing: 0;
98
98
  --semantic-typography-body-compact-lg-font-width: 88;
99
99
  --semantic-typography-body-compact-xl-font: normal 460 1.25rem/1.3 'Open Sans';
100
- --semantic-typography-body-compact-xl-letter-spacing: 0rem;
100
+ --semantic-typography-body-compact-xl-letter-spacing: 0;
101
101
  --semantic-typography-body-compact-xl-font-width: 88;
102
102
  --semantic-typography-body-compact-italic-sm-font: italic 460 0.875rem/1.3
103
103
  'Open Sans';
104
- --semantic-typography-body-compact-italic-sm-letter-spacing: 0rem;
104
+ --semantic-typography-body-compact-italic-sm-letter-spacing: 0;
105
105
  --semantic-typography-body-compact-italic-sm-font-width: 88;
106
106
  --semantic-typography-body-compact-italic-md-font: italic 460 1rem/1.3
107
107
  'Open Sans';
108
- --semantic-typography-body-compact-italic-md-letter-spacing: 0rem;
108
+ --semantic-typography-body-compact-italic-md-letter-spacing: 0;
109
109
  --semantic-typography-body-compact-italic-md-font-width: 88;
110
110
  --semantic-typography-body-compact-italic-lg-font: italic 460 1.125rem/1.3
111
111
  'Open Sans';
112
- --semantic-typography-body-compact-italic-lg-letter-spacing: 0rem;
112
+ --semantic-typography-body-compact-italic-lg-letter-spacing: 0;
113
113
  --semantic-typography-body-compact-italic-lg-font-width: 88;
114
114
  --semantic-typography-body-compact-italic-xl-font: italic 460 1.25rem/1.3
115
115
  'Open Sans';
116
- --semantic-typography-body-compact-italic-xl-letter-spacing: 0rem;
116
+ --semantic-typography-body-compact-italic-xl-letter-spacing: 0;
117
117
  --semantic-typography-body-compact-italic-xl-font-width: 88;
118
118
  --semantic-typography-meta-md-font: normal 460 0.75rem/1.3 'Open Sans';
119
- --semantic-typography-meta-md-letter-spacing: 0rem;
119
+ --semantic-typography-meta-md-letter-spacing: 0;
120
120
  --semantic-typography-meta-md-font-width: 95;
121
121
  --semantic-typography-meta-compact-md-font: normal 460 0.75rem/1.3 'Open Sans';
122
- --semantic-typography-meta-compact-md-letter-spacing: 0rem;
122
+ --semantic-typography-meta-compact-md-letter-spacing: 0;
123
123
  --semantic-typography-meta-compact-md-font-width: 88;
124
124
  --semantic-typography-article-body-md-font: normal 400 1rem/1.4
125
125
  GuardianTextEgyptian;
126
- --semantic-typography-article-body-md-letter-spacing: 0rem;
126
+ --semantic-typography-article-body-md-letter-spacing: 0;
127
127
  --semantic-typography-article-body-md-font-width: 100;
128
128
  --semantic-typography-article-body-bold-md-font: normal 700 1rem/1.4
129
129
  GuardianTextEgyptian;
130
- --semantic-typography-article-body-bold-md-letter-spacing: 0rem;
130
+ --semantic-typography-article-body-bold-md-letter-spacing: 0;
131
131
  --semantic-typography-article-body-bold-md-font-width: 100;
132
132
  --semantic-typography-article-body-italic-md-font: italic 400 1rem/1.4
133
133
  GuardianTextEgyptian;
134
- --semantic-typography-article-body-italic-md-letter-spacing: 0rem;
134
+ --semantic-typography-article-body-italic-md-letter-spacing: 0;
135
135
  --semantic-typography-article-body-italic-md-font-width: 100;
136
136
  --semantic-typography-article-body-bold-italic-md-font: italic 700 1rem/1.4
137
137
  GuardianTextEgyptian;
138
- --semantic-typography-article-body-bold-italic-md-letter-spacing: 0rem;
138
+ --semantic-typography-article-body-bold-italic-md-letter-spacing: 0;
139
139
  --semantic-typography-article-body-bold-italic-md-font-width: 100;
140
140
  --semantic-typography-interactive-xs-font: normal 700 0.75rem/1 'Open Sans';
141
- --semantic-typography-interactive-xs-letter-spacing: 0rem;
141
+ --semantic-typography-interactive-xs-letter-spacing: 0;
142
142
  --semantic-typography-interactive-xs-font-width: 95;
143
143
  --semantic-typography-interactive-sm-font: normal 700 0.875rem/1 'Open Sans';
144
144
  --semantic-typography-interactive-sm-letter-spacing: -0.0125rem;
@@ -146,4 +146,42 @@
146
146
  --semantic-typography-interactive-md-font: normal 700 1rem/1 'Open Sans';
147
147
  --semantic-typography-interactive-md-letter-spacing: -0.0125rem;
148
148
  --semantic-typography-interactive-md-font-width: 95;
149
+ --semantic-typography-label-form-sm-font: normal 700 0.875rem/1.15 'Open Sans';
150
+ --semantic-typography-label-form-sm-letter-spacing: -0.0125rem;
151
+ --semantic-typography-label-form-sm-font-width: 95;
152
+ --semantic-typography-label-form-md-font: normal 700 1rem/1.15 'Open Sans';
153
+ --semantic-typography-label-form-md-letter-spacing: -0.03125rem;
154
+ --semantic-typography-label-form-md-font-width: 95;
155
+ --semantic-typography-label-form-inline-sm-font: normal 460 0.875rem/1.3
156
+ 'Open Sans';
157
+ --semantic-typography-label-form-inline-sm-letter-spacing: 0;
158
+ --semantic-typography-label-form-inline-sm-font-width: 95;
159
+ --semantic-typography-label-form-inline-md-font: normal 460 1rem/1.3
160
+ 'Open Sans';
161
+ --semantic-typography-label-form-inline-md-letter-spacing: 0;
162
+ --semantic-typography-label-form-inline-md-font-width: 95;
163
+ --semantic-typography-label-form-compact-sm-font: normal 700 0.875rem/1.15
164
+ 'Open Sans';
165
+ --semantic-typography-label-form-compact-sm-letter-spacing: 0;
166
+ --semantic-typography-label-form-compact-sm-font-width: 88;
167
+ --semantic-typography-label-form-compact-md-font: normal 700 1rem/1.15
168
+ 'Open Sans';
169
+ --semantic-typography-label-form-compact-md-letter-spacing: -0.0125rem;
170
+ --semantic-typography-label-form-compact-md-font-width: 88;
171
+ --semantic-typography-label-form-inline-compact-sm-font: normal 460
172
+ 0.875rem/1.3 'Open Sans';
173
+ --semantic-typography-label-form-inline-compact-sm-letter-spacing: 0;
174
+ --semantic-typography-label-form-inline-compact-sm-font-width: 88;
175
+ --semantic-typography-label-form-inline-compact-md-font: normal 460 1rem/1.3
176
+ 'Open Sans';
177
+ --semantic-typography-label-form-inline-compact-md-letter-spacing: 0;
178
+ --semantic-typography-label-form-inline-compact-md-font-width: 88;
179
+ --semantic-typography-help-text-form-md-font: normal 460 0.875rem/1.3
180
+ 'Open Sans';
181
+ --semantic-typography-help-text-form-md-letter-spacing: 0;
182
+ --semantic-typography-help-text-form-md-font-width: 95;
183
+ --semantic-typography-help-text-form-compact-md-font: normal 460 0.875rem/1.3
184
+ 'Open Sans';
185
+ --semantic-typography-help-text-form-compact-md-letter-spacing: 0;
186
+ --semantic-typography-help-text-form-compact-md-font-width: 88;
149
187
  }
@@ -32,13 +32,13 @@ const baseTypography = {
32
32
  "48-rem": "3rem"
33
33
  },
34
34
  weight: {
35
- "Guardian Headline": {
36
- bold: 700
37
- },
38
35
  "Guardian Text Egyptian": {
39
36
  normal: 400,
40
37
  bold: 700
41
38
  },
39
+ "Guardian Headline": {
40
+ bold: 700
41
+ },
42
42
  "Open Sans": {
43
43
  light: 340,
44
44
  normal: 460,
@@ -30,13 +30,13 @@ const baseTypography = {
30
30
  "48-rem": "3rem"
31
31
  },
32
32
  weight: {
33
- "Guardian Headline": {
34
- bold: 700
35
- },
36
33
  "Guardian Text Egyptian": {
37
34
  normal: 400,
38
35
  bold: 700
39
36
  },
37
+ "Guardian Headline": {
38
+ bold: 700
39
+ },
40
40
  "Open Sans": {
41
41
  light: 340,
42
42
  normal: 460,
@@ -1,6 +1,100 @@
1
1
  'use strict';
2
2
 
3
3
  const componentTopBar = {
4
+ "background-color": "#f6f6f6",
5
+ display: "flex",
6
+ height: "4rem",
7
+ "justify-content": "space-between",
8
+ border: "0.0625rem solid #cccccc",
9
+ Item: {
10
+ display: "flex",
11
+ "align-items": "center",
12
+ height: "100%",
13
+ sm: {
14
+ padding: {
15
+ top: "0",
16
+ right: "0.75rem",
17
+ bottom: "0",
18
+ left: "0.75rem"
19
+ }
20
+ },
21
+ md: {
22
+ padding: {
23
+ top: "0",
24
+ right: "1rem",
25
+ bottom: "0",
26
+ left: "1rem"
27
+ }
28
+ },
29
+ lg: {
30
+ padding: {
31
+ top: "0",
32
+ right: "1.5rem",
33
+ bottom: "0",
34
+ left: "1.5rem"
35
+ }
36
+ },
37
+ border: "0.0625rem solid #cccccc"
38
+ },
39
+ Navigation: {
40
+ shared: {
41
+ display: "inline-flex",
42
+ position: "relative",
43
+ "align-items": "center",
44
+ cursor: "pointer",
45
+ "text-decoration": "none",
46
+ height: "100%",
47
+ ":disabled": {
48
+ cursor: "not-allowed",
49
+ color: "#999999"
50
+ },
51
+ padding: {
52
+ top: "0",
53
+ right: "1rem",
54
+ bottom: "0",
55
+ left: "1rem"
56
+ },
57
+ ":focus-visible": {
58
+ outline: "0.125rem solid #0072a9",
59
+ "outline-offset": "-0.0625rem"
60
+ },
61
+ "border-top": "0.5rem solid transparent",
62
+ divider: "0.0625rem solid #cccccc"
63
+ },
64
+ text: {
65
+ margin: {
66
+ left: "0.375rem"
67
+ }
68
+ },
69
+ menuIndicator: {
70
+ margin: {
71
+ top: "0.375rem",
72
+ left: "0.125rem"
73
+ }
74
+ },
75
+ selected: {
76
+ color: "#000000",
77
+ "border-bottom": "0.5rem solid #0072a9"
78
+ },
79
+ unselected: {
80
+ color: "#545454",
81
+ "border-bottom": "0.5rem solid transparent"
82
+ },
83
+ md: {
84
+ typography: {
85
+ font: "normal 700 1rem/1.15 Open Sans",
86
+ letterSpacing: "-0.03125rem",
87
+ fontWidth: 95
88
+ }
89
+ },
90
+ sm: {
91
+ typography: {
92
+ font: "normal 700 0.875rem/1.15 Open Sans",
93
+ letterSpacing: "-0.0125rem",
94
+ fontWidth: 95
95
+ }
96
+ }
97
+ },
4
98
  ToolName: {
5
99
  display: "flex",
6
100
  "align-items": "center",
@@ -1,4 +1,98 @@
1
1
  const componentTopBar = {
2
+ "background-color": "#f6f6f6",
3
+ display: "flex",
4
+ height: "4rem",
5
+ "justify-content": "space-between",
6
+ border: "0.0625rem solid #cccccc",
7
+ Item: {
8
+ display: "flex",
9
+ "align-items": "center",
10
+ height: "100%",
11
+ sm: {
12
+ padding: {
13
+ top: "0",
14
+ right: "0.75rem",
15
+ bottom: "0",
16
+ left: "0.75rem"
17
+ }
18
+ },
19
+ md: {
20
+ padding: {
21
+ top: "0",
22
+ right: "1rem",
23
+ bottom: "0",
24
+ left: "1rem"
25
+ }
26
+ },
27
+ lg: {
28
+ padding: {
29
+ top: "0",
30
+ right: "1.5rem",
31
+ bottom: "0",
32
+ left: "1.5rem"
33
+ }
34
+ },
35
+ border: "0.0625rem solid #cccccc"
36
+ },
37
+ Navigation: {
38
+ shared: {
39
+ display: "inline-flex",
40
+ position: "relative",
41
+ "align-items": "center",
42
+ cursor: "pointer",
43
+ "text-decoration": "none",
44
+ height: "100%",
45
+ ":disabled": {
46
+ cursor: "not-allowed",
47
+ color: "#999999"
48
+ },
49
+ padding: {
50
+ top: "0",
51
+ right: "1rem",
52
+ bottom: "0",
53
+ left: "1rem"
54
+ },
55
+ ":focus-visible": {
56
+ outline: "0.125rem solid #0072a9",
57
+ "outline-offset": "-0.0625rem"
58
+ },
59
+ "border-top": "0.5rem solid transparent",
60
+ divider: "0.0625rem solid #cccccc"
61
+ },
62
+ text: {
63
+ margin: {
64
+ left: "0.375rem"
65
+ }
66
+ },
67
+ menuIndicator: {
68
+ margin: {
69
+ top: "0.375rem",
70
+ left: "0.125rem"
71
+ }
72
+ },
73
+ selected: {
74
+ color: "#000000",
75
+ "border-bottom": "0.5rem solid #0072a9"
76
+ },
77
+ unselected: {
78
+ color: "#545454",
79
+ "border-bottom": "0.5rem solid transparent"
80
+ },
81
+ md: {
82
+ typography: {
83
+ font: "normal 700 1rem/1.15 Open Sans",
84
+ letterSpacing: "-0.03125rem",
85
+ fontWidth: 95
86
+ }
87
+ },
88
+ sm: {
89
+ typography: {
90
+ font: "normal 700 0.875rem/1.15 Open Sans",
91
+ letterSpacing: "-0.0125rem",
92
+ fontWidth: 95
93
+ }
94
+ }
95
+ },
2
96
  ToolName: {
3
97
  display: "flex",
4
98
  "align-items": "center",