@guardian/stand 0.0.15 → 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 (130) 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/avatar/Avatar.cjs +2 -2
  5. package/dist/components/button/Button.cjs +1 -1
  6. package/dist/components/button/Button.js +1 -1
  7. package/dist/components/button/styles.cjs +7 -4
  8. package/dist/components/button/styles.js +7 -4
  9. package/dist/components/byline/Byline.cjs +15 -15
  10. package/dist/components/favicon/Favicon.cjs +2 -2
  11. package/dist/components/icon-button/IconButton.cjs +4 -4
  12. package/dist/components/icon-button/IconButton.js +1 -1
  13. package/dist/components/icon-link-button/IconLinkButton.cjs +4 -4
  14. package/dist/components/icon-link-button/IconLinkButton.js +1 -1
  15. package/dist/components/link-button/LinkButton.cjs +1 -1
  16. package/dist/components/link-button/LinkButton.js +1 -1
  17. package/dist/components/menu/Menu.cjs +204 -0
  18. package/dist/components/menu/Menu.js +77 -0
  19. package/dist/components/menu/styles.cjs +104 -0
  20. package/dist/components/menu/styles.js +89 -0
  21. package/dist/components/tag-picker/TagTable.cjs +11 -11
  22. package/dist/components/topbar/TopBar.cjs +101 -0
  23. package/dist/components/topbar/TopBar.js +63 -0
  24. package/dist/components/topbar/styles.cjs +30 -0
  25. package/dist/components/topbar/styles.js +25 -0
  26. package/dist/components/topbar/topBarItem/TopBarItem.cjs +28 -0
  27. package/dist/components/topbar/topBarItem/TopBarItem.js +10 -0
  28. package/dist/components/topbar/topBarItem/styles.cjs +20 -0
  29. package/dist/components/topbar/topBarItem/styles.js +17 -0
  30. package/dist/components/topbar/topBarNavigation/TopBarNavigation.cjs +70 -0
  31. package/dist/components/topbar/topBarNavigation/TopBarNavigation.js +23 -0
  32. package/dist/components/topbar/topBarNavigation/styles.cjs +68 -0
  33. package/dist/components/topbar/topBarNavigation/styles.js +61 -0
  34. package/dist/components/topbar/{toolName → topBarToolName}/TopBarToolName.cjs +3 -2
  35. package/dist/components/topbar/topBarToolName/TopBarToolName.js +13 -0
  36. package/dist/index.cjs +4 -0
  37. package/dist/index.js +2 -0
  38. package/dist/menu.cjs +13 -0
  39. package/dist/menu.js +2 -0
  40. package/dist/styleD/build/css/base/typography.css +3 -3
  41. package/dist/styleD/build/css/component/TopBar.css +55 -1
  42. package/dist/styleD/build/css/component/avatar.css +1 -1
  43. package/dist/styleD/build/css/component/button.css +177 -255
  44. package/dist/styleD/build/css/component/favicon.css +1 -1
  45. package/dist/styleD/build/css/component/menu.css +83 -0
  46. package/dist/styleD/build/css/component/tagAutocomplete.css +1 -1
  47. package/dist/styleD/build/css/component/tagTable.css +1 -1
  48. package/dist/styleD/build/css/component/topBarItem.css +7 -0
  49. package/dist/styleD/build/css/component/userMenu.css +6 -6
  50. package/dist/styleD/build/css/semantic/colors.css +45 -46
  51. package/dist/styleD/build/css/semantic/shadow.css +7 -0
  52. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  53. package/dist/styleD/build/css/semantic/typography.css +30 -30
  54. package/dist/styleD/build/typescript/base/typography.cjs +3 -3
  55. package/dist/styleD/build/typescript/base/typography.js +3 -3
  56. package/dist/styleD/build/typescript/component/TopBar.cjs +94 -0
  57. package/dist/styleD/build/typescript/component/TopBar.js +94 -0
  58. package/dist/styleD/build/typescript/component/button.cjs +5 -130
  59. package/dist/styleD/build/typescript/component/button.js +5 -130
  60. package/dist/styleD/build/typescript/component/menu.cjs +141 -0
  61. package/dist/styleD/build/typescript/component/menu.js +139 -0
  62. package/dist/styleD/build/typescript/semantic/colors.cjs +47 -52
  63. package/dist/styleD/build/typescript/semantic/colors.js +47 -52
  64. package/dist/styleD/build/typescript/semantic/shadow.cjs +7 -0
  65. package/dist/styleD/build/typescript/semantic/shadow.js +5 -0
  66. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  67. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  68. package/dist/types/TopBar.d.ts +12 -3
  69. package/dist/types/avatar.d.ts +1 -1
  70. package/dist/types/button.d.ts +1 -1
  71. package/dist/types/byline.d.ts +1 -1
  72. package/dist/types/components/avatar/styles.d.ts +2 -1
  73. package/dist/types/components/button/sandbox.d.ts +4 -4
  74. package/dist/types/components/button/styles.d.ts +2 -1
  75. package/dist/types/components/button/types.d.ts +1 -1
  76. package/dist/types/components/favicon/styles.d.ts +2 -1
  77. package/dist/types/components/icon/styles.d.ts +2 -1
  78. package/dist/types/components/icon-button/sandbox.d.ts +4 -4
  79. package/dist/types/components/icon-button/styles.d.ts +5 -129
  80. package/dist/types/components/icon-button/types.d.ts +1 -1
  81. package/dist/types/components/icon-link-button/sandbox.d.ts +4 -4
  82. package/dist/types/components/icon-link-button/styles.d.ts +5 -129
  83. package/dist/types/components/icon-link-button/types.d.ts +1 -1
  84. package/dist/types/components/link-button/sandbox.d.ts +4 -4
  85. package/dist/types/components/link-button/styles.d.ts +5 -129
  86. package/dist/types/components/link-button/types.d.ts +1 -1
  87. package/dist/types/components/menu/Menu.d.ts +7 -0
  88. package/dist/types/components/menu/sandbox.d.ts +5 -0
  89. package/dist/types/components/menu/styles.d.ts +28 -0
  90. package/dist/types/components/menu/types.d.ts +63 -0
  91. package/dist/types/components/topbar/TopBar.d.ts +8 -0
  92. package/dist/types/components/topbar/sandbox.d.ts +5 -0
  93. package/dist/types/components/topbar/styles.d.ts +9 -0
  94. package/dist/types/components/topbar/topBarItem/TopBarItem.d.ts +2 -0
  95. package/dist/types/components/topbar/topBarItem/sandbox.d.ts +5 -0
  96. package/dist/types/components/topbar/topBarItem/styles.d.ts +8 -0
  97. package/dist/types/components/topbar/topBarItem/types.d.ts +14 -0
  98. package/dist/types/components/topbar/topBarNavigation/TopBarNavigation.d.ts +2 -0
  99. package/dist/types/components/topbar/topBarNavigation/sandbox.d.ts +5 -0
  100. package/dist/types/components/topbar/topBarNavigation/styles.d.ts +12 -0
  101. package/dist/types/components/topbar/topBarNavigation/types.d.ts +44 -0
  102. package/dist/types/components/topbar/{toolName → topBarToolName}/styles.d.ts +2 -1
  103. package/dist/types/components/topbar/types.d.ts +3 -0
  104. package/dist/types/components/typography/styles.d.ts +2 -1
  105. package/dist/types/favicon.d.ts +1 -1
  106. package/dist/types/icon-button.d.ts +1 -1
  107. package/dist/types/icon-link-button.d.ts +1 -1
  108. package/dist/types/icon.d.ts +1 -1
  109. package/dist/types/index.d.ts +4 -0
  110. package/dist/types/link-button.d.ts +1 -1
  111. package/dist/types/menu.d.ts +21 -0
  112. package/dist/types/styleD/build/typescript/base/typography.d.ts +3 -3
  113. package/dist/types/styleD/build/typescript/component/TopBar.d.ts +94 -0
  114. package/dist/types/styleD/build/typescript/component/button.d.ts +3 -128
  115. package/dist/types/styleD/build/typescript/component/menu.d.ts +141 -0
  116. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +44 -49
  117. package/dist/types/styleD/build/typescript/semantic/shadow.d.ts +7 -0
  118. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  119. package/dist/types/styleD/stories/semantic/Shadow.d.ts +1 -0
  120. package/dist/types/typography.d.ts +1 -1
  121. package/dist/util/css/reset.css +10 -0
  122. package/dist/util/reset.css.cjs +1 -1
  123. package/dist/util/reset.css.js +1 -1
  124. package/package.json +30 -17
  125. package/dist/components/topbar/toolName/TopBarToolName.js +0 -12
  126. /package/dist/components/topbar/{toolName → topBarToolName}/styles.cjs +0 -0
  127. /package/dist/components/topbar/{toolName → topBarToolName}/styles.js +0 -0
  128. /package/dist/types/components/topbar/{toolName → topBarToolName}/TopBarToolName.d.ts +0 -0
  129. /package/dist/types/components/topbar/{toolName → topBarToolName}/sandbox.d.ts +0 -0
  130. /package/dist/types/components/topbar/{toolName → topBarToolName}/types.d.ts +0 -0
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ var react = require('@emotion/react');
4
+ var TopBar = require('../../../styleD/build/typescript/component/TopBar.cjs');
5
+ var typography = require('../../../styleD/utils/semantic/typography.cjs');
6
+
7
+ const defaultTopBarNavigationTheme = TopBar.componentTopBar.Navigation;
8
+ const topBarNavigationStyles = (theme, selected) => {
9
+ return react.css`
10
+ display: ${theme.shared.display};
11
+ position: ${theme.shared.position};
12
+ align-items: ${theme.shared["align-items"]};
13
+ height: ${theme.shared.height};
14
+ padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
15
+ ${theme.shared.padding.bottom} ${theme.shared.padding.left};
16
+ color: ${selected ? `${theme.selected.color}` : `${theme.unselected.color}`};
17
+ border-top: ${theme.shared["border-top"]};
18
+ border-bottom: ${theme.unselected["border-bottom"]};
19
+
20
+ &[data-hovered],
21
+ &:hover {
22
+ border-bottom: ${theme.selected["border-bottom"]};
23
+ cursor: ${theme.shared.cursor};
24
+ }
25
+
26
+ &[data-focus-visible],
27
+ &:focus-visible {
28
+ outline: ${theme.shared[":focus-visible"].outline};
29
+ border-bottom: ${theme.selected["border-bottom"]};
30
+ outline-offset: ${theme.shared[":focus-visible"]["outline-offset"]};
31
+ }
32
+
33
+ &[data-disabled] {
34
+ cursor: ${theme.shared[":disabled"].cursor};
35
+ color: ${theme.shared[":disabled"].color};
36
+ }
37
+
38
+ ${selected && `border-bottom: ${theme.selected["border-bottom"]};`}
39
+
40
+ text-decoration: ${theme.shared["text-decoration"]};
41
+ `;
42
+ };
43
+ const topBarNavigationDividerStyles = (theme, { alignment }) => react.css`
44
+ ${alignment === "left" ? "border-right" : "border-left"}: ${theme.shared.divider};
45
+ `;
46
+ const topBarNavigationTextStyles = (theme) => react.css`
47
+ margin-left: ${theme.text.margin.left};
48
+ `;
49
+ const topBarNavigationTypographyStyles = (theme, size) => {
50
+ return size == "md" ? react.css`
51
+ ${typography.convertTypographyToEmotionStringStyle(theme.md.typography)}
52
+ ` : react.css`
53
+ ${typography.convertTypographyToEmotionStringStyle(theme.sm.typography)}
54
+ `;
55
+ };
56
+ const topBarMenuIndicatorStyles = (theme) => {
57
+ return react.css`
58
+ margin-top: ${theme.menuIndicator.margin.top};
59
+ margin-left: ${theme.menuIndicator.margin.left};
60
+ `;
61
+ };
62
+
63
+ exports.defaultTopBarNavigationTheme = defaultTopBarNavigationTheme;
64
+ exports.topBarMenuIndicatorStyles = topBarMenuIndicatorStyles;
65
+ exports.topBarNavigationDividerStyles = topBarNavigationDividerStyles;
66
+ exports.topBarNavigationStyles = topBarNavigationStyles;
67
+ exports.topBarNavigationTextStyles = topBarNavigationTextStyles;
68
+ exports.topBarNavigationTypographyStyles = topBarNavigationTypographyStyles;
@@ -0,0 +1,61 @@
1
+ import { css } from '@emotion/react';
2
+ import { componentTopBar } from '../../../styleD/build/typescript/component/TopBar.js';
3
+ import { convertTypographyToEmotionStringStyle } from '../../../styleD/utils/semantic/typography.js';
4
+
5
+ const defaultTopBarNavigationTheme = componentTopBar.Navigation;
6
+ const topBarNavigationStyles = (theme, selected) => {
7
+ return css`
8
+ display: ${theme.shared.display};
9
+ position: ${theme.shared.position};
10
+ align-items: ${theme.shared["align-items"]};
11
+ height: ${theme.shared.height};
12
+ padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
13
+ ${theme.shared.padding.bottom} ${theme.shared.padding.left};
14
+ color: ${selected ? `${theme.selected.color}` : `${theme.unselected.color}`};
15
+ border-top: ${theme.shared["border-top"]};
16
+ border-bottom: ${theme.unselected["border-bottom"]};
17
+
18
+ &[data-hovered],
19
+ &:hover {
20
+ border-bottom: ${theme.selected["border-bottom"]};
21
+ cursor: ${theme.shared.cursor};
22
+ }
23
+
24
+ &[data-focus-visible],
25
+ &:focus-visible {
26
+ outline: ${theme.shared[":focus-visible"].outline};
27
+ border-bottom: ${theme.selected["border-bottom"]};
28
+ outline-offset: ${theme.shared[":focus-visible"]["outline-offset"]};
29
+ }
30
+
31
+ &[data-disabled] {
32
+ cursor: ${theme.shared[":disabled"].cursor};
33
+ color: ${theme.shared[":disabled"].color};
34
+ }
35
+
36
+ ${selected && `border-bottom: ${theme.selected["border-bottom"]};`}
37
+
38
+ text-decoration: ${theme.shared["text-decoration"]};
39
+ `;
40
+ };
41
+ const topBarNavigationDividerStyles = (theme, { alignment }) => css`
42
+ ${alignment === "left" ? "border-right" : "border-left"}: ${theme.shared.divider};
43
+ `;
44
+ const topBarNavigationTextStyles = (theme) => css`
45
+ margin-left: ${theme.text.margin.left};
46
+ `;
47
+ const topBarNavigationTypographyStyles = (theme, size) => {
48
+ return size == "md" ? css`
49
+ ${convertTypographyToEmotionStringStyle(theme.md.typography)}
50
+ ` : css`
51
+ ${convertTypographyToEmotionStringStyle(theme.sm.typography)}
52
+ `;
53
+ };
54
+ const topBarMenuIndicatorStyles = (theme) => {
55
+ return css`
56
+ margin-top: ${theme.menuIndicator.margin.top};
57
+ margin-left: ${theme.menuIndicator.margin.left};
58
+ `;
59
+ };
60
+
61
+ export { defaultTopBarNavigationTheme, topBarMenuIndicatorStyles, topBarNavigationDividerStyles, topBarNavigationStyles, topBarNavigationTextStyles, topBarNavigationTypographyStyles };
@@ -4,6 +4,7 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
4
  var mergeDeep = require('../../../util/mergeDeep.cjs');
5
5
  var Favicon = require('../../favicon/Favicon.cjs');
6
6
  var Icon = require('../../icon/Icon.cjs');
7
+ var TopBarItem = require('../topBarItem/TopBarItem.cjs');
7
8
  var styles = require('./styles.cjs');
8
9
 
9
10
  const TopBarToolName = ({
@@ -15,7 +16,7 @@ const TopBarToolName = ({
15
16
  cssOverrides
16
17
  }) => {
17
18
  const mergedTheme = mergeDeep.mergeDeep(styles.defaultToolNameTheme, theme);
18
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { css: [styles.toolNameStyles(mergedTheme), cssOverrides], children: [
19
+ return /* @__PURE__ */ jsxRuntime.jsx(TopBarItem.TopBarItem, { alignment: "left", size: "sm", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { css: [styles.toolNameStyles(mergedTheme), cssOverrides], children: [
19
20
  /* @__PURE__ */ jsxRuntime.jsx(Favicon.Favicon, { ...favicon }),
20
21
  /* @__PURE__ */ jsxRuntime.jsx("div", { css: [styles.toolNameTypography(mergedTheme)], children: name }),
21
22
  subsection && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -25,7 +26,7 @@ const TopBarToolName = ({
25
26
  /* @__PURE__ */ jsxRuntime.jsx("div", { css: styles.subsectionTypography(mergedTheme), children: subsection })
26
27
  ] })
27
28
  ] })
28
- ] });
29
+ ] }) });
29
30
  };
30
31
 
31
32
  exports.TopBarToolName = TopBarToolName;
@@ -0,0 +1,13 @@
1
+ import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
2
+ import { mergeDeep } from '../../../util/mergeDeep.js';
3
+ import { Favicon } from '../../favicon/Favicon.js';
4
+ import { Icon } from '../../icon/Icon.js';
5
+ import { TopBarItem } from '../topBarItem/TopBarItem.js';
6
+ import { toolNameTypography, dividerStyles, subsectionTypography, subsectionStyles, toolNameStyles, defaultToolNameTheme } from './styles.js';
7
+
8
+ const TopBarToolName = ({ name, favicon, subsection, subsectionIcon, theme = {}, cssOverrides }) => {
9
+ const mergedTheme = mergeDeep(defaultToolNameTheme, theme);
10
+ return jsx(TopBarItem, { alignment: "left", size: "sm", children: jsxs("div", { css: [toolNameStyles(mergedTheme), cssOverrides], children: [jsx(Favicon, { ...favicon }), jsx("div", { css: [toolNameTypography(mergedTheme)], children: name }), subsection && jsxs(Fragment, { children: [jsx("div", { css: dividerStyles(mergedTheme), children: "\xA0" }), jsxs("div", { css: subsectionStyles(mergedTheme), children: [subsectionIcon && jsx(Icon, { size: "sm", children: subsectionIcon }), jsx("div", { css: subsectionTypography(mergedTheme), children: subsection })] })] })] }) });
11
+ };
12
+
13
+ export { TopBarToolName };
package/dist/index.cjs CHANGED
@@ -9,6 +9,7 @@ var button = require('./styleD/build/typescript/component/button.cjs');
9
9
  var typography$1 = require('./styleD/build/typescript/component/typography.cjs');
10
10
  var icon = require('./styleD/build/typescript/component/icon.cjs');
11
11
  var favicon = require('./styleD/build/typescript/component/favicon.cjs');
12
+ var menu = require('./styleD/build/typescript/component/menu.cjs');
12
13
  var TopBar = require('./styleD/build/typescript/component/TopBar.cjs');
13
14
  var colors = require('./styleD/build/typescript/base/colors.cjs');
14
15
  var typography = require('./styleD/build/typescript/base/typography.cjs');
@@ -18,6 +19,7 @@ var radius = require('./styleD/build/typescript/base/radius.cjs');
18
19
  var colors$1 = require('./styleD/build/typescript/semantic/colors.cjs');
19
20
  var typography$2 = require('./styleD/build/typescript/semantic/typography.cjs');
20
21
  var sizing$1 = require('./styleD/build/typescript/semantic/sizing.cjs');
22
+ var shadow = require('./styleD/build/typescript/semantic/shadow.cjs');
21
23
 
22
24
 
23
25
 
@@ -30,6 +32,7 @@ exports.componentButton = button.componentButton;
30
32
  exports.componentTypography = typography$1.componentTypography;
31
33
  exports.componentIcon = icon.componentIcon;
32
34
  exports.componentFavicon = favicon.componentFavicon;
35
+ exports.componentMenu = menu.componentMenu;
33
36
  exports.componentTopBar = TopBar.componentTopBar;
34
37
  exports.baseColors = colors.baseColors;
35
38
  exports.baseTypography = typography.baseTypography;
@@ -39,3 +42,4 @@ exports.baseRadius = radius.baseRadius;
39
42
  exports.semanticColors = colors$1.semanticColors;
40
43
  exports.semanticTypography = typography$2.semanticTypography;
41
44
  exports.semanticSizing = sizing$1.semanticSizing;
45
+ exports.semanticShadow = shadow.semanticShadow;
package/dist/index.js CHANGED
@@ -7,6 +7,7 @@ export { componentButton } from './styleD/build/typescript/component/button.js';
7
7
  export { componentTypography } from './styleD/build/typescript/component/typography.js';
8
8
  export { componentIcon } from './styleD/build/typescript/component/icon.js';
9
9
  export { componentFavicon } from './styleD/build/typescript/component/favicon.js';
10
+ export { componentMenu } from './styleD/build/typescript/component/menu.js';
10
11
  export { componentTopBar } from './styleD/build/typescript/component/TopBar.js';
11
12
  export { baseColors } from './styleD/build/typescript/base/colors.js';
12
13
  export { baseTypography } from './styleD/build/typescript/base/typography.js';
@@ -16,3 +17,4 @@ export { baseRadius } from './styleD/build/typescript/base/radius.js';
16
17
  export { semanticColors } from './styleD/build/typescript/semantic/colors.js';
17
18
  export { semanticTypography } from './styleD/build/typescript/semantic/typography.js';
18
19
  export { semanticSizing } from './styleD/build/typescript/semantic/sizing.js';
20
+ export { semanticShadow } from './styleD/build/typescript/semantic/shadow.js';
package/dist/menu.cjs ADDED
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var Menu = require('./components/menu/Menu.cjs');
4
+ var menu = require('./styleD/build/typescript/component/menu.cjs');
5
+
6
+
7
+
8
+ exports.Menu = Menu.Menu;
9
+ exports.MenuItem = Menu.MenuItem;
10
+ exports.MenuSection = Menu.MenuSection;
11
+ exports.MenuSeparator = Menu.MenuSeparator;
12
+ exports.MenuToggle = Menu.MenuToggle;
13
+ exports.componentMenu = menu.componentMenu;
package/dist/menu.js ADDED
@@ -0,0 +1,2 @@
1
+ export { Menu, MenuItem, MenuSection, MenuSeparator, MenuToggle } from './components/menu/Menu.js';
2
+ export { componentMenu } from './styleD/build/typescript/component/menu.js';
@@ -29,9 +29,9 @@
29
29
  --base-typography-size-36-rem: 2.25rem;
30
30
  --base-typography-size-42-rem: 2.625rem;
31
31
  --base-typography-size-48-rem: 3rem;
32
- --base-typography-weight-guardian-headline-bold: 700;
33
32
  --base-typography-weight-guardian-text-egyptian-normal: 400;
34
33
  --base-typography-weight-guardian-text-egyptian-bold: 700;
34
+ --base-typography-weight-guardian-headline-bold: 700;
35
35
  --base-typography-weight-open-sans-light: 340;
36
36
  --base-typography-weight-open-sans-normal: 460;
37
37
  --base-typography-weight-open-sans-semi-bold: 600;
@@ -51,9 +51,9 @@
51
51
  --base-typography-letter-spacing-densest-px: -1px;
52
52
  --base-typography-letter-spacing-denser-px: -0.5px;
53
53
  --base-typography-letter-spacing-dense-px: -0.2px;
54
- --base-typography-letter-spacing-default-px: 0px;
54
+ --base-typography-letter-spacing-default-px: 0;
55
55
  --base-typography-letter-spacing-densest-rem: -0.0625rem;
56
56
  --base-typography-letter-spacing-denser-rem: -0.03125rem;
57
57
  --base-typography-letter-spacing-dense-rem: -0.0125rem;
58
- --base-typography-letter-spacing-default-rem: 0rem;
58
+ --base-typography-letter-spacing-default-rem: 0;
59
59
  }
@@ -3,12 +3,66 @@
3
3
  */
4
4
 
5
5
  :root {
6
+ --component-top-bar-background-color: #f6f6f6;
7
+ --component-top-bar-display: flex;
8
+ --component-top-bar-height: 4rem;
9
+ --component-top-bar-justify-content: space-between;
10
+ --component-top-bar-border: 0.0625rem solid #cccccc;
11
+ --component-top-bar-item-display: flex;
12
+ --component-top-bar-item-align-items: center;
13
+ --component-top-bar-item-height: 100%;
14
+ --component-top-bar-item-sm-padding-top: 0;
15
+ --component-top-bar-item-sm-padding-right: 0.75rem;
16
+ --component-top-bar-item-sm-padding-bottom: 0;
17
+ --component-top-bar-item-sm-padding-left: 0.75rem;
18
+ --component-top-bar-item-md-padding-top: 0;
19
+ --component-top-bar-item-md-padding-right: 1rem;
20
+ --component-top-bar-item-md-padding-bottom: 0;
21
+ --component-top-bar-item-md-padding-left: 1rem;
22
+ --component-top-bar-item-lg-padding-top: 0;
23
+ --component-top-bar-item-lg-padding-right: 1.5rem;
24
+ --component-top-bar-item-lg-padding-bottom: 0;
25
+ --component-top-bar-item-lg-padding-left: 1.5rem;
26
+ --component-top-bar-item-border: 0.0625rem solid #cccccc;
27
+ --component-top-bar-navigation-shared-display: inline-flex;
28
+ --component-top-bar-navigation-shared-position: relative;
29
+ --component-top-bar-navigation-shared-align-items: center;
30
+ --component-top-bar-navigation-shared-cursor: pointer;
31
+ --component-top-bar-navigation-shared-text-decoration: none;
32
+ --component-top-bar-navigation-shared-height: 100%;
33
+ --component-top-bar-navigation-shared-disabled-cursor: not-allowed;
34
+ --component-top-bar-navigation-shared-disabled-color: #999999;
35
+ --component-top-bar-navigation-shared-padding-top: 0;
36
+ --component-top-bar-navigation-shared-padding-right: 1rem;
37
+ --component-top-bar-navigation-shared-padding-bottom: 0;
38
+ --component-top-bar-navigation-shared-padding-left: 1rem;
39
+ --component-top-bar-navigation-shared-focus-visible-outline: 0.125rem solid
40
+ #0072a9;
41
+ --component-top-bar-navigation-shared-focus-visible-outline-offset: -0.0625rem;
42
+ --component-top-bar-navigation-shared-border-top: 0.5rem solid transparent;
43
+ --component-top-bar-navigation-shared-divider: 0.0625rem solid #cccccc;
44
+ --component-top-bar-navigation-text-margin-left: 0.375rem;
45
+ --component-top-bar-navigation-menu-indicator-margin-top: 0.375rem;
46
+ --component-top-bar-navigation-menu-indicator-margin-left: 0.125rem;
47
+ --component-top-bar-navigation-selected-color: #000000;
48
+ --component-top-bar-navigation-selected-border-bottom: 0.5rem solid #0072a9;
49
+ --component-top-bar-navigation-unselected-color: #545454;
50
+ --component-top-bar-navigation-unselected-border-bottom: 0.5rem solid
51
+ transparent;
52
+ --component-top-bar-navigation-md-typography-font: normal 700 1rem/1.15
53
+ 'Open Sans';
54
+ --component-top-bar-navigation-md-typography-letter-spacing: -0.03125rem;
55
+ --component-top-bar-navigation-md-typography-font-width: 95;
56
+ --component-top-bar-navigation-sm-typography-font: normal 700 0.875rem/1.15
57
+ 'Open Sans';
58
+ --component-top-bar-navigation-sm-typography-letter-spacing: -0.0125rem;
59
+ --component-top-bar-navigation-sm-typography-font-width: 95;
6
60
  --component-top-bar-tool-name-display: flex;
7
61
  --component-top-bar-tool-name-align-items: center;
8
62
  --component-top-bar-tool-name-gap: 8px;
9
63
  --component-top-bar-tool-name-typography-font: normal 700 1.25rem/1.15
10
64
  'GH Guardian Headline';
11
- --component-top-bar-tool-name-typography-letter-spacing: 0rem;
65
+ --component-top-bar-tool-name-typography-letter-spacing: 0;
12
66
  --component-top-bar-tool-name-typography-font-width: 100;
13
67
  --component-top-bar-tool-name-divider-border: 0.0625rem solid #cccccc;
14
68
  --component-top-bar-tool-name-divider-height: 2rem;
@@ -45,7 +45,7 @@
45
45
  --component-avatar-shared-user-select: none;
46
46
  --component-avatar-sm-size: 2rem;
47
47
  --component-avatar-sm-typography-font: normal 700 0.75rem/1 'Open Sans';
48
- --component-avatar-sm-typography-letter-spacing: 0rem;
48
+ --component-avatar-sm-typography-letter-spacing: 0;
49
49
  --component-avatar-sm-typography-font-width: 95;
50
50
  --component-avatar-md-size: 2.5rem;
51
51
  --component-avatar-md-typography-font: normal 700 0.875rem/1 'Open Sans';