@guardian/stand 0.0.42 → 0.0.44

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 (60) hide show
  1. package/dist/components/Form/Form.cjs +2 -2
  2. package/dist/components/Form/Form.js +2 -2
  3. package/dist/components/Form/types.d.cts +7 -1
  4. package/dist/components/Form/types.d.ts +7 -1
  5. package/dist/components/Layout/Layout.cjs +6 -2
  6. package/dist/components/Layout/Layout.js +6 -2
  7. package/dist/components/Layout/styles.cjs +27 -1
  8. package/dist/components/Layout/styles.js +27 -1
  9. package/dist/components/Layout/types.d.cts +10 -0
  10. package/dist/components/Layout/types.d.ts +10 -0
  11. package/dist/index.cjs +4 -0
  12. package/dist/index.d.cts +3 -1
  13. package/dist/index.d.ts +3 -1
  14. package/dist/index.js +3 -1
  15. package/dist/styleD/build/css/base/typography.css +2 -2
  16. package/dist/styleD/build/css/component/alertBanner.css +1 -1
  17. package/dist/styleD/build/css/component/autocomplete.css +1 -1
  18. package/dist/styleD/build/css/component/avatar.css +1 -1
  19. package/dist/styleD/build/css/component/button.css +3 -3
  20. package/dist/styleD/build/css/component/checkbox.css +2 -2
  21. package/dist/styleD/build/css/component/datePicker.css +1 -1
  22. package/dist/styleD/build/css/component/favicon.css +1 -1
  23. package/dist/styleD/build/css/component/form.css +1 -1
  24. package/dist/styleD/build/css/component/inlineMessage.css +1 -1
  25. package/dist/styleD/build/css/component/layout.css +6 -0
  26. package/dist/styleD/build/css/component/menu.css +3 -3
  27. package/dist/styleD/build/css/component/radioGroup.css +3 -3
  28. package/dist/styleD/build/css/component/select.css +2 -2
  29. package/dist/styleD/build/css/component/tagTable.css +1 -1
  30. package/dist/styleD/build/css/component/textArea.css +2 -2
  31. package/dist/styleD/build/css/component/textInput.css +2 -2
  32. package/dist/styleD/build/css/component/topBar.css +2 -2
  33. package/dist/styleD/build/css/component/userMenu.css +6 -6
  34. package/dist/styleD/build/css/semantic/breakpoints.css +1 -1
  35. package/dist/styleD/build/css/semantic/colors.css +1 -0
  36. package/dist/styleD/build/css/semantic/grid.css +6 -0
  37. package/dist/styleD/build/css/semantic/radius.css +9 -0
  38. package/dist/styleD/build/css/semantic/spacing.css +12 -0
  39. package/dist/styleD/build/css/semantic/typography.css +61 -61
  40. package/dist/styleD/build/typescript/component/layout.cjs +13 -1
  41. package/dist/styleD/build/typescript/component/layout.d.cts +18 -0
  42. package/dist/styleD/build/typescript/component/layout.d.ts +18 -0
  43. package/dist/styleD/build/typescript/component/layout.js +13 -1
  44. package/dist/styleD/build/typescript/semantic/colors.cjs +2 -1
  45. package/dist/styleD/build/typescript/semantic/colors.d.cts +1 -0
  46. package/dist/styleD/build/typescript/semantic/colors.d.ts +1 -0
  47. package/dist/styleD/build/typescript/semantic/colors.js +2 -1
  48. package/dist/styleD/build/typescript/semantic/grid.cjs +7 -1
  49. package/dist/styleD/build/typescript/semantic/grid.d.cts +6 -0
  50. package/dist/styleD/build/typescript/semantic/grid.d.ts +6 -0
  51. package/dist/styleD/build/typescript/semantic/grid.js +7 -1
  52. package/dist/styleD/build/typescript/semantic/radius.cjs +11 -0
  53. package/dist/styleD/build/typescript/semantic/radius.d.cts +12 -0
  54. package/dist/styleD/build/typescript/semantic/radius.d.ts +12 -0
  55. package/dist/styleD/build/typescript/semantic/radius.js +11 -0
  56. package/dist/styleD/build/typescript/semantic/spacing.cjs +14 -0
  57. package/dist/styleD/build/typescript/semantic/spacing.d.cts +15 -0
  58. package/dist/styleD/build/typescript/semantic/spacing.d.ts +15 -0
  59. package/dist/styleD/build/typescript/semantic/spacing.js +14 -0
  60. package/package.json +3 -1
@@ -6,7 +6,7 @@ const require_types = require("./types.cjs");
6
6
  let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
7
7
  let react_aria_components = require("react-aria-components");
8
8
  //#region src/components/Form/Form.tsx
9
- function FormInputContainer({ as: Component, size = "md", label, description, error, isDisabled = false, theme = {}, formInputContainerTheme, cssOverrides, children, ...props }) {
9
+ function FormInputContainer({ as: Component, size = "md", label, renderLabel, description, error, isDisabled = false, theme = {}, formInputContainerTheme, cssOverrides, children, ...props }) {
10
10
  if (!require_types.ALLOWED_FORM_CONTAINERS.includes(Component)) return null;
11
11
  const mergedTheme = require_mergeDeep.mergeDeep(require_mergeDeep.mergeDeep(require_styles.defaultFormInputContainerTheme, theme), formInputContainerTheme ?? {});
12
12
  return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)(Component, {
@@ -19,7 +19,7 @@ function FormInputContainer({ as: Component, size = "md", label, description, er
19
19
  size,
20
20
  isDisabled
21
21
  }),
22
- children: label
22
+ children: renderLabel ? renderLabel(label) : label
23
23
  }),
24
24
  description && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)("div", {
25
25
  css: require_styles.formInputDescriptionStyles(mergedTheme, { isDisabled }),
@@ -5,7 +5,7 @@ import { ALLOWED_FORM_CONTAINERS } from "./types.js";
5
5
  import { jsx, jsxs } from "@emotion/react/jsx-runtime";
6
6
  import { FieldError, Label } from "react-aria-components";
7
7
  //#region src/components/Form/Form.tsx
8
- function FormInputContainer({ as: Component, size = "md", label, description, error, isDisabled = false, theme = {}, formInputContainerTheme, cssOverrides, children, ...props }) {
8
+ function FormInputContainer({ as: Component, size = "md", label, renderLabel, description, error, isDisabled = false, theme = {}, formInputContainerTheme, cssOverrides, children, ...props }) {
9
9
  if (!ALLOWED_FORM_CONTAINERS.includes(Component)) return null;
10
10
  const mergedTheme = mergeDeep(mergeDeep(defaultFormInputContainerTheme, theme), formInputContainerTheme ?? {});
11
11
  return /* @__PURE__ */ jsxs(Component, {
@@ -18,7 +18,7 @@ function FormInputContainer({ as: Component, size = "md", label, description, er
18
18
  size,
19
19
  isDisabled
20
20
  }),
21
- children: label
21
+ children: renderLabel ? renderLabel(label) : label
22
22
  }),
23
23
  description && /* @__PURE__ */ jsx("div", {
24
24
  css: formInputDescriptionStyles(mergedTheme, { isDisabled }),
@@ -11,9 +11,15 @@ type FormInputContainerDefaultProps<ReactAriaInput extends {
11
11
  */
12
12
  size?: keyof Omit<ComponentTheme, 'shared'>;
13
13
  /**
14
- * The label text for the form field
14
+ * The label text for the form field.
15
15
  */
16
16
  label?: string;
17
+ /**
18
+ * Custom render function for the label. Receives the `label` string and returns a ReactNode.
19
+ * Use this to add icons, badges, or other visual enhancements alongside the label text.
20
+ * Ensure the returned node still includes the label text so the field remains accessible.
21
+ */
22
+ renderLabel?: (label: string) => ReactNode;
17
23
  /**
18
24
  * The description text for the form field
19
25
  */
@@ -11,9 +11,15 @@ type FormInputContainerDefaultProps<ReactAriaInput extends {
11
11
  */
12
12
  size?: keyof Omit<ComponentTheme, 'shared'>;
13
13
  /**
14
- * The label text for the form field
14
+ * The label text for the form field.
15
15
  */
16
16
  label?: string;
17
+ /**
18
+ * Custom render function for the label. Receives the `label` string and returns a ReactNode.
19
+ * Use this to add icons, badges, or other visual enhancements alongside the label text.
20
+ * Ensure the returned node still includes the label text so the field remains accessible.
21
+ */
22
+ renderLabel?: (label: string) => ReactNode;
17
23
  /**
18
24
  * The description text for the form field
19
25
  */
@@ -45,9 +45,13 @@ function LayoutSidebar({ as: Component = "aside", children, layoutSmBreakpoint =
45
45
  /**
46
46
  * Places children into the main grid area of the Layout.
47
47
  */
48
- function LayoutMain({ as: Component = "main", children, fluid = true, theme = {}, cssOverrides, ...props }) {
48
+ function LayoutMain({ as: Component = "main", children, fluid = true, paddingTop = true, paddingBottom = true, theme = {}, cssOverrides, ...props }) {
49
49
  return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(Component, {
50
- css: [require_styles.mainLayoutStyles(require_mergeDeep.mergeDeep(require_styles.defaultMainTheme, theme), { fluid }), cssOverrides],
50
+ css: [require_styles.mainLayoutStyles(require_mergeDeep.mergeDeep(require_styles.defaultMainTheme, theme), {
51
+ fluid,
52
+ paddingTop,
53
+ paddingBottom
54
+ }), cssOverrides],
51
55
  ...props,
52
56
  children
53
57
  });
@@ -44,9 +44,13 @@ function LayoutSidebar({ as: Component = "aside", children, layoutSmBreakpoint =
44
44
  /**
45
45
  * Places children into the main grid area of the Layout.
46
46
  */
47
- function LayoutMain({ as: Component = "main", children, fluid = true, theme = {}, cssOverrides, ...props }) {
47
+ function LayoutMain({ as: Component = "main", children, fluid = true, paddingTop = true, paddingBottom = true, theme = {}, cssOverrides, ...props }) {
48
48
  return /* @__PURE__ */ jsx(Component, {
49
- css: [mainLayoutStyles(mergeDeep(defaultMainTheme, theme), { fluid }), cssOverrides],
49
+ css: [mainLayoutStyles(mergeDeep(defaultMainTheme, theme), {
50
+ fluid,
51
+ paddingTop,
52
+ paddingBottom
53
+ }), cssOverrides],
50
54
  ...props,
51
55
  children
52
56
  });
@@ -21,7 +21,7 @@ const sidebarLayoutStyles = () => {
21
21
  grid-area: sidebar;
22
22
  `;
23
23
  };
24
- const mainLayoutStyles = (theme, { fluid }) => {
24
+ const mainLayoutStyles = (theme, { fluid, paddingTop, paddingBottom }) => {
25
25
  return _emotion_react.css`
26
26
  grid-area: main;
27
27
  ${fluid ? "" : _emotion_react.css`
@@ -29,6 +29,32 @@ const mainLayoutStyles = (theme, { fluid }) => {
29
29
  margin-left: ${theme.marginLeft};
30
30
  margin-right: ${theme.marginRight};
31
31
  `}
32
+ ${paddingTop ? _emotion_react.css`
33
+ ${require_mq.from.sm} {
34
+ padding-top: ${theme.sm.padding.top};
35
+ }
36
+
37
+ ${require_mq.from.md} {
38
+ padding-top: ${theme.md.padding.top};
39
+ }
40
+
41
+ ${require_mq.from.lg} {
42
+ padding-top: ${theme.lg.padding.top};
43
+ }
44
+ ` : ""}
45
+ ${paddingBottom ? _emotion_react.css`
46
+ ${require_mq.from.sm} {
47
+ padding-bottom: ${theme.sm.padding.bottom};
48
+ }
49
+
50
+ ${require_mq.from.md} {
51
+ padding-bottom: ${theme.md.padding.bottom};
52
+ }
53
+
54
+ ${require_mq.from.lg} {
55
+ padding-bottom: ${theme.lg.padding.bottom};
56
+ }
57
+ ` : ""}
32
58
  `;
33
59
  };
34
60
  const layoutStyles = (theme) => {
@@ -20,7 +20,7 @@ const sidebarLayoutStyles = () => {
20
20
  grid-area: sidebar;
21
21
  `;
22
22
  };
23
- const mainLayoutStyles = (theme, { fluid }) => {
23
+ const mainLayoutStyles = (theme, { fluid, paddingTop, paddingBottom }) => {
24
24
  return css`
25
25
  grid-area: main;
26
26
  ${fluid ? "" : css`
@@ -28,6 +28,32 @@ const mainLayoutStyles = (theme, { fluid }) => {
28
28
  margin-left: ${theme.marginLeft};
29
29
  margin-right: ${theme.marginRight};
30
30
  `}
31
+ ${paddingTop ? css`
32
+ ${from.sm} {
33
+ padding-top: ${theme.sm.padding.top};
34
+ }
35
+
36
+ ${from.md} {
37
+ padding-top: ${theme.md.padding.top};
38
+ }
39
+
40
+ ${from.lg} {
41
+ padding-top: ${theme.lg.padding.top};
42
+ }
43
+ ` : ""}
44
+ ${paddingBottom ? css`
45
+ ${from.sm} {
46
+ padding-bottom: ${theme.sm.padding.bottom};
47
+ }
48
+
49
+ ${from.md} {
50
+ padding-bottom: ${theme.md.padding.bottom};
51
+ }
52
+
53
+ ${from.lg} {
54
+ padding-bottom: ${theme.lg.padding.bottom};
55
+ }
56
+ ` : ""}
31
57
  `;
32
58
  };
33
59
  const layoutStyles = (theme) => {
@@ -12,6 +12,16 @@ interface MainProps extends DefaultPropsWithChildren<MainTheme>, React.HTMLAttri
12
12
  * This can be used to prevent the layout from becoming too stretched on very wide screens.
13
13
  */
14
14
  fluid?: boolean;
15
+ /**
16
+ * When `true`, applies vertical padding to the main content area.
17
+ * This is enabled by default and can be disabled when the consumer wants to handle vertical spacing themselves
18
+ */
19
+ paddingTop?: boolean;
20
+ /**
21
+ * When `true`, applies bottom padding to the main content area.
22
+ * This is enabled by default, and can be disabled when the consumer wants to handle vertical spacing themselves
23
+ */
24
+ paddingBottom?: boolean;
15
25
  as?: React.ElementType;
16
26
  }
17
27
  interface SidebarProps extends DefaultPropsWithChildren<SidebarTheme>, React.HTMLAttributes<HTMLElement> {
@@ -12,6 +12,16 @@ interface MainProps extends DefaultPropsWithChildren<MainTheme>, React.HTMLAttri
12
12
  * This can be used to prevent the layout from becoming too stretched on very wide screens.
13
13
  */
14
14
  fluid?: boolean;
15
+ /**
16
+ * When `true`, applies vertical padding to the main content area.
17
+ * This is enabled by default and can be disabled when the consumer wants to handle vertical spacing themselves
18
+ */
19
+ paddingTop?: boolean;
20
+ /**
21
+ * When `true`, applies bottom padding to the main content area.
22
+ * This is enabled by default, and can be disabled when the consumer wants to handle vertical spacing themselves
23
+ */
24
+ paddingBottom?: boolean;
15
25
  as?: React.ElementType;
16
26
  }
17
27
  interface SidebarProps extends DefaultPropsWithChildren<SidebarTheme>, React.HTMLAttributes<HTMLElement> {
package/dist/index.cjs CHANGED
@@ -34,6 +34,8 @@ const require_grid$1 = require("./styleD/build/typescript/semantic/grid.cjs");
34
34
  const require_typography$2 = require("./styleD/build/typescript/semantic/typography.cjs");
35
35
  const require_sizing$1 = require("./styleD/build/typescript/semantic/sizing.cjs");
36
36
  const require_shadow = require("./styleD/build/typescript/semantic/shadow.cjs");
37
+ const require_radius$1 = require("./styleD/build/typescript/semantic/radius.cjs");
38
+ const require_spacing$1 = require("./styleD/build/typescript/semantic/spacing.cjs");
37
39
  exports.baseColors = require_colors.baseColors;
38
40
  exports.baseRadius = require_radius.baseRadius;
39
41
  exports.baseSizing = require_sizing.baseSizing;
@@ -66,6 +68,8 @@ exports.componentUserMenu = require_userMenu.componentUserMenu;
66
68
  exports.semanticBreakpoints = require_breakpoints.semanticBreakpoints;
67
69
  exports.semanticColors = require_colors$1.semanticColors;
68
70
  exports.semanticGrid = require_grid$1.semanticGrid;
71
+ exports.semanticRadius = require_radius$1.semanticRadius;
69
72
  exports.semanticShadow = require_shadow.semanticShadow;
70
73
  exports.semanticSizing = require_sizing$1.semanticSizing;
74
+ exports.semanticSpacing = require_spacing$1.semanticSpacing;
71
75
  exports.semanticTypography = require_typography$2.semanticTypography;
package/dist/index.d.cts CHANGED
@@ -33,4 +33,6 @@ import { SemanticColors, semanticColors } from "./styleD/build/typescript/semant
33
33
  import { SemanticGrid, semanticGrid } from "./styleD/build/typescript/semantic/grid.cjs";
34
34
  import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semantic/sizing.cjs";
35
35
  import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.cjs";
36
- export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentRadioGroup, type ComponentSelect, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticShadow, type SemanticSizing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticShadow, semanticSizing, semanticTypography };
36
+ import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.cjs";
37
+ import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.cjs";
38
+ export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentRadioGroup, type ComponentSelect, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
package/dist/index.d.ts CHANGED
@@ -33,4 +33,6 @@ import { SemanticColors, semanticColors } from "./styleD/build/typescript/semant
33
33
  import { SemanticGrid, semanticGrid } from "./styleD/build/typescript/semantic/grid.js";
34
34
  import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semantic/sizing.js";
35
35
  import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
36
- export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentRadioGroup, type ComponentSelect, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticShadow, type SemanticSizing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticShadow, semanticSizing, semanticTypography };
36
+ import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
37
+ import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
38
+ export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentByline, type ComponentCheckbox, type ComponentDatePicker, type ComponentFavicon, type ComponentForm, type ComponentGrid, type ComponentIcon, type ComponentInlineMessage, type ComponentIntendedAudienceSignifier, type ComponentLayout, type ComponentLink, type ComponentMenu, type ComponentRadioGroup, type ComponentSelect, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTopBar, type ComponentTypography, type ComponentUserMenu, type SemanticBreakpoints, type SemanticColors, type SemanticGrid, type SemanticRadius, type SemanticShadow, type SemanticSizing, type SemanticSpacing, type SemanticTypography, baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
package/dist/index.js CHANGED
@@ -33,4 +33,6 @@ import { semanticGrid } from "./styleD/build/typescript/semantic/grid.js";
33
33
  import { semanticTypography } from "./styleD/build/typescript/semantic/typography.js";
34
34
  import { semanticSizing } from "./styleD/build/typescript/semantic/sizing.js";
35
35
  import { semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
36
- export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticShadow, semanticSizing, semanticTypography };
36
+ import { semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
37
+ import { semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
38
+ export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentRadioGroup, componentSelect, componentTagTable, componentTextArea, componentTextInput, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
@@ -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: 0;
54
+ --base-typography-letter-spacing-default-px: 0px;
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: 0;
58
+ --base-typography-letter-spacing-default-rem: 0rem;
59
59
  }
@@ -21,7 +21,7 @@
21
21
  --component-alert-banner-shared-content-color: #000000;
22
22
  --component-alert-banner-shared-content-typography-font: normal 460
23
23
  0.875rem/1.3 'Open Sans';
24
- --component-alert-banner-shared-content-typography-letter-spacing: 0;
24
+ --component-alert-banner-shared-content-typography-letter-spacing: 0rem;
25
25
  --component-alert-banner-shared-content-typography-font-width: 95;
26
26
  --component-alert-banner-shared-content-icon-color: #545454;
27
27
  --component-alert-banner-information-background-color: #e8f0fb;
@@ -14,7 +14,7 @@
14
14
  --component-autocomplete-listbox-border-style: solid;
15
15
  --component-autocomplete-listbox-border-color: #8d8d8d;
16
16
  --component-autocomplete-listbox-padding-y: 8px;
17
- --component-autocomplete-listbox-padding-x: 0;
17
+ --component-autocomplete-listbox-padding-x: 0px;
18
18
  --component-autocomplete-listbox-background-color: #ffffff;
19
19
  --component-autocomplete-listbox-item-padding-y: 8px;
20
20
  --component-autocomplete-listbox-item-padding-x: 12px;
@@ -76,7 +76,7 @@
76
76
  --component-avatar-shared-button-disabled-cursor: not-allowed;
77
77
  --component-avatar-sm-size: 2rem;
78
78
  --component-avatar-sm-typography-font: normal 700 0.75rem/1 'Open Sans';
79
- --component-avatar-sm-typography-letter-spacing: 0;
79
+ --component-avatar-sm-typography-letter-spacing: 0rem;
80
80
  --component-avatar-sm-typography-font-width: 95;
81
81
  --component-avatar-md-size: 2.5rem;
82
82
  --component-avatar-md-typography-font: normal 700 0.875rem/1 'Open Sans';
@@ -33,7 +33,7 @@
33
33
  --component-button-primary-xs-padding-with-icon-icon-left-left: 0.25rem;
34
34
  --component-button-primary-xs-typography-font: normal 700 0.75rem/1
35
35
  'Open Sans';
36
- --component-button-primary-xs-typography-letter-spacing: 0;
36
+ --component-button-primary-xs-typography-letter-spacing: 0rem;
37
37
  --component-button-primary-xs-typography-font-width: 95;
38
38
  --component-button-primary-xs-icon-size: 1.125rem;
39
39
  --component-button-primary-xs-icon-gap: 0.25rem;
@@ -95,7 +95,7 @@
95
95
  --component-button-secondary-xs-padding-with-icon-icon-left-left: 0.25rem;
96
96
  --component-button-secondary-xs-typography-font: normal 700 0.75rem/1
97
97
  'Open Sans';
98
- --component-button-secondary-xs-typography-letter-spacing: 0;
98
+ --component-button-secondary-xs-typography-letter-spacing: 0rem;
99
99
  --component-button-secondary-xs-typography-font-width: 95;
100
100
  --component-button-secondary-xs-icon-size: 1.125rem;
101
101
  --component-button-secondary-xs-icon-gap: 0.25rem;
@@ -157,7 +157,7 @@
157
157
  --component-button-tertiary-xs-padding-with-icon-icon-left-left: 0.25rem;
158
158
  --component-button-tertiary-xs-typography-font: normal 700 0.75rem/1
159
159
  'Open Sans';
160
- --component-button-tertiary-xs-typography-letter-spacing: 0;
160
+ --component-button-tertiary-xs-typography-letter-spacing: 0rem;
161
161
  --component-button-tertiary-xs-typography-font-width: 95;
162
162
  --component-button-tertiary-xs-icon-size: 1.125rem;
163
163
  --component-button-tertiary-xs-icon-gap: 0.25rem;
@@ -39,11 +39,11 @@
39
39
  --component-checkbox-input-shared-disabled-indicator-selected-background-color: #dcdcdc;
40
40
  --component-checkbox-input-sm-typography-font: normal 460 0.875rem/1.3
41
41
  'Open Sans';
42
- --component-checkbox-input-sm-typography-letter-spacing: 0;
42
+ --component-checkbox-input-sm-typography-letter-spacing: 0rem;
43
43
  --component-checkbox-input-sm-typography-font-width: 95;
44
44
  --component-checkbox-input-sm-indicator-size: 1.25rem;
45
45
  --component-checkbox-input-md-typography-font: normal 460 1rem/1.3 'Open Sans';
46
- --component-checkbox-input-md-typography-letter-spacing: 0;
46
+ --component-checkbox-input-md-typography-letter-spacing: 0rem;
47
47
  --component-checkbox-input-md-typography-font-width: 95;
48
48
  --component-checkbox-input-md-indicator-size: 1.5rem;
49
49
  --component-checkbox-group-shared-display: flex;
@@ -96,7 +96,7 @@
96
96
  --component-date-picker-calendar-header-shared-button-disabled-color: #999999;
97
97
  --component-date-picker-calendar-grid-shared-typography-font: normal 460
98
98
  0.875rem/1.3 'Open Sans';
99
- --component-date-picker-calendar-grid-shared-typography-letter-spacing: 0;
99
+ --component-date-picker-calendar-grid-shared-typography-letter-spacing: 0rem;
100
100
  --component-date-picker-calendar-grid-shared-typography-font-width: 95;
101
101
  --component-date-picker-calendar-grid-shared-border-collapse: collapse;
102
102
  --component-date-picker-calendar-grid-shared-border-spacing: 0;
@@ -12,6 +12,6 @@
12
12
  --component-favicon-user-select: none;
13
13
  --component-favicon-typography-font: normal 700 1.25rem/1.15
14
14
  'GH Guardian Headline';
15
- --component-favicon-typography-letter-spacing: 0;
15
+ --component-favicon-typography-letter-spacing: 0rem;
16
16
  --component-favicon-typography-font-width: 100;
17
17
  }
@@ -12,7 +12,7 @@
12
12
  --component-form-input-shared-description-color: #545454;
13
13
  --component-form-input-shared-description-typography-font: normal 460
14
14
  0.875rem/1.3 'Open Sans';
15
- --component-form-input-shared-description-typography-letter-spacing: 0;
15
+ --component-form-input-shared-description-typography-letter-spacing: 0rem;
16
16
  --component-form-input-shared-description-typography-font-width: 95;
17
17
  --component-form-input-shared-description-disabled-color: #999999;
18
18
  --component-form-input-sm-label-typography-font: normal 700 0.875rem/1.15
@@ -10,7 +10,7 @@
10
10
  --component-inline-message-shared-icon-align-self: flex-start;
11
11
  --component-inline-message-shared-typography-font: normal 460 0.875rem/1.3
12
12
  'Open Sans';
13
- --component-inline-message-shared-typography-letter-spacing: 0;
13
+ --component-inline-message-shared-typography-letter-spacing: 0rem;
14
14
  --component-inline-message-shared-typography-font-width: 95;
15
15
  --component-inline-message-error-color: #8c2113;
16
16
  --component-inline-message-success-color: #326528;
@@ -27,4 +27,10 @@
27
27
  --component-layout-main-max-width: 1584px;
28
28
  --component-layout-main-margin-left: auto;
29
29
  --component-layout-main-margin-right: auto;
30
+ --component-layout-main-sm-padding-top: 24px;
31
+ --component-layout-main-sm-padding-bottom: 64px;
32
+ --component-layout-main-md-padding-top: 28px;
33
+ --component-layout-main-md-padding-bottom: 64px;
34
+ --component-layout-main-lg-padding-top: 48px;
35
+ --component-layout-main-lg-padding-bottom: 64px;
30
36
  }
@@ -45,13 +45,13 @@
45
45
  --component-menu-menu-item-shared-label-color: #000000;
46
46
  --component-menu-menu-item-shared-label-typography-font: normal 460 1rem/1.3
47
47
  'Open Sans';
48
- --component-menu-menu-item-shared-label-typography-letter-spacing: 0;
48
+ --component-menu-menu-item-shared-label-typography-letter-spacing: 0rem;
49
49
  --component-menu-menu-item-shared-label-typography-font-width: 95;
50
50
  --component-menu-menu-item-shared-description-grid-area: description;
51
51
  --component-menu-menu-item-shared-description-color: #545454;
52
52
  --component-menu-menu-item-shared-description-typography-font: normal 460
53
53
  0.875rem/1.3 'Open Sans';
54
- --component-menu-menu-item-shared-description-typography-letter-spacing: 0;
54
+ --component-menu-menu-item-shared-description-typography-letter-spacing: 0rem;
55
55
  --component-menu-menu-item-shared-description-typography-font-width: 95;
56
56
  --component-menu-menu-item-shared-aside-grid-area: aside;
57
57
  --component-menu-menu-item-shared-aside-justify-self: end;
@@ -59,7 +59,7 @@
59
59
  --component-menu-menu-item-shared-aside-color: #000000;
60
60
  --component-menu-menu-item-shared-aside-typography-font: normal 460 1rem/1.3
61
61
  'Open Sans';
62
- --component-menu-menu-item-shared-aside-typography-letter-spacing: 0;
62
+ --component-menu-menu-item-shared-aside-typography-letter-spacing: 0rem;
63
63
  --component-menu-menu-item-shared-aside-typography-font-width: 95;
64
64
  --component-menu-menu-item-shared-last-child-border-bottom: none;
65
65
  --component-menu-menu-item-shared-hover-background-color: #f6f6f6;
@@ -15,7 +15,7 @@
15
15
  --component-radio-group-shared-indicator-position: relative;
16
16
  --component-radio-group-shared-indicator-after-position: absolute;
17
17
  --component-radio-group-shared-indicator-after-border-radius: inherit;
18
- --component-radio-group-shared-indicator-after-inset: 0;
18
+ --component-radio-group-shared-indicator-after-inset: 0px;
19
19
  --component-radio-group-shared-indicator-after-scale: 0;
20
20
  --component-radio-group-shared-indicator-border-radius: 50%;
21
21
  --component-radio-group-shared-indicator-border: 0.0625rem solid #545454;
@@ -39,13 +39,13 @@
39
39
  --component-radio-group-sm-gap: 1rem;
40
40
  --component-radio-group-sm-typography-font: normal 460 0.875rem/1.3
41
41
  'Open Sans';
42
- --component-radio-group-sm-typography-letter-spacing: 0;
42
+ --component-radio-group-sm-typography-letter-spacing: 0rem;
43
43
  --component-radio-group-sm-typography-font-width: 95;
44
44
  --component-radio-group-sm-indicator-width: 1.25rem;
45
45
  --component-radio-group-sm-indicator-height: 1.25rem;
46
46
  --component-radio-group-md-gap: 1.25rem;
47
47
  --component-radio-group-md-typography-font: normal 460 1rem/1.3 'Open Sans';
48
- --component-radio-group-md-typography-letter-spacing: 0;
48
+ --component-radio-group-md-typography-letter-spacing: 0rem;
49
49
  --component-radio-group-md-typography-font-width: 95;
50
50
  --component-radio-group-md-indicator-width: 1.5rem;
51
51
  --component-radio-group-md-indicator-height: 1.5rem;
@@ -20,7 +20,7 @@
20
20
  --component-select-shared-button-color: #545454;
21
21
  --component-select-shared-button-typography-font: normal 460 1rem/1.3
22
22
  'Open Sans';
23
- --component-select-shared-button-typography-letter-spacing: 0;
23
+ --component-select-shared-button-typography-letter-spacing: 0rem;
24
24
  --component-select-shared-button-typography-font-width: 95;
25
25
  --component-select-shared-button-focused-outline: 0.125rem solid #0072a9;
26
26
  --component-select-shared-button-focused-outline-offset: 0.125rem;
@@ -38,7 +38,7 @@
38
38
  --component-select-shared-option-focused-background-color: inherit;
39
39
  --component-select-shared-list-box-typography-font: normal 460 1rem/1.3
40
40
  'Open Sans';
41
- --component-select-shared-list-box-typography-letter-spacing: 0;
41
+ --component-select-shared-list-box-typography-letter-spacing: 0rem;
42
42
  --component-select-shared-list-box-typography-font-width: 95;
43
43
  --component-select-shared-list-box-border: 0.0625rem solid #cccccc;
44
44
  --component-select-shared-list-box-background-color: #ffffff;
@@ -25,7 +25,7 @@
25
25
  --component-tag-table-row-first-row-background-hover-color: #8ec183;
26
26
  --component-tag-table-add-button-color: #ffffff;
27
27
  --component-tag-table-add-button-padding-x: 10px;
28
- --component-tag-table-add-button-padding-y: 0;
28
+ --component-tag-table-add-button-padding-y: 0px;
29
29
  --component-tag-table-add-button-background-color: #8d8d8d;
30
30
  --component-tag-table-add-button-background-hover-color: #545454;
31
31
  --component-tag-table-add-button-font-weight: 400;
@@ -22,9 +22,9 @@
22
22
  --component-text-area-shared-focused-outline: 0.125rem auto #0072a9;
23
23
  --component-text-area-shared-error-border: 0.0625rem solid #b42a19;
24
24
  --component-text-area-sm-typography-font: normal 460 0.875rem/1.3 'Open Sans';
25
- --component-text-area-sm-typography-letter-spacing: 0;
25
+ --component-text-area-sm-typography-letter-spacing: 0rem;
26
26
  --component-text-area-sm-typography-font-width: 95;
27
27
  --component-text-area-md-typography-font: normal 460 1rem/1.3 'Open Sans';
28
- --component-text-area-md-typography-letter-spacing: 0;
28
+ --component-text-area-md-typography-letter-spacing: 0rem;
29
29
  --component-text-area-md-typography-font-width: 95;
30
30
  }
@@ -22,10 +22,10 @@
22
22
  --component-text-input-shared-error-border: 0.0625rem solid #b42a19;
23
23
  --component-text-input-sm-height: 2rem;
24
24
  --component-text-input-sm-typography-font: normal 460 0.875rem/1.3 'Open Sans';
25
- --component-text-input-sm-typography-letter-spacing: 0;
25
+ --component-text-input-sm-typography-letter-spacing: 0rem;
26
26
  --component-text-input-sm-typography-font-width: 95;
27
27
  --component-text-input-md-height: 2.5rem;
28
28
  --component-text-input-md-typography-font: normal 460 1rem/1.3 'Open Sans';
29
- --component-text-input-md-typography-letter-spacing: 0;
29
+ --component-text-input-md-typography-letter-spacing: 0rem;
30
30
  --component-text-input-md-typography-font-width: 95;
31
31
  }
@@ -82,7 +82,7 @@
82
82
  --component-top-bar-tool-name-gap: 0.5rem;
83
83
  --component-top-bar-tool-name-typography-font: normal 700 1.25rem/1.15
84
84
  'GH Guardian Headline';
85
- --component-top-bar-tool-name-typography-letter-spacing: 0;
85
+ --component-top-bar-tool-name-typography-letter-spacing: 0rem;
86
86
  --component-top-bar-tool-name-typography-font-width: 100;
87
87
  --component-top-bar-tool-name-divider-border: 0.0625rem solid #cccccc;
88
88
  --component-top-bar-tool-name-divider-height: 2rem;
@@ -103,7 +103,7 @@
103
103
  --component-top-bar-tool-name-hover-link-opacity: 0;
104
104
  --component-top-bar-tool-name-hover-link-typography-font: normal 700
105
105
  0.875rem/1.3 'Open Sans';
106
- --component-top-bar-tool-name-hover-link-typography-letter-spacing: 0;
106
+ --component-top-bar-tool-name-hover-link-typography-letter-spacing: 0rem;
107
107
  --component-top-bar-tool-name-hover-link-typography-font-width: 95;
108
108
  --component-top-bar-tool-name-hover-link-position: absolute;
109
109
  --component-top-bar-tool-name-hover-link-width: 100%;
@@ -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: 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;
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;
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: 0;
20
+ --component-user-menu-label-padding-right: 0px;
21
21
  --component-user-menu-label-padding-bottom: 0.375rem;
22
- --component-user-menu-label-padding-left: 0;
22
+ --component-user-menu-label-padding-left: 0px;
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,7 +3,7 @@
3
3
  */
4
4
 
5
5
  :root {
6
- --semantic-breakpoints-sm: 0;
6
+ --semantic-breakpoints-sm: 0px;
7
7
  --semantic-breakpoints-md: 830px;
8
8
  --semantic-breakpoints-lg: 1056px;
9
9
  }
@@ -72,4 +72,5 @@
72
72
  --semantic-colors-fill-error-strong: #b42a19;
73
73
  --semantic-colors-fill-success-weak: #cde4c9;
74
74
  --semantic-colors-fill-success-strong: #326528;
75
+ --semantic-colors-fill-neutral-weak: #ededed;
75
76
  }
@@ -9,6 +9,12 @@
9
9
  --semantic-grid-margin-lg-px: 24px;
10
10
  --semantic-grid-margin-md-px: 24px;
11
11
  --semantic-grid-margin-sm-px: 16px;
12
+ --semantic-grid-margin-top-lg-px: 48px;
13
+ --semantic-grid-margin-top-md-px: 28px;
14
+ --semantic-grid-margin-top-sm-px: 24px;
15
+ --semantic-grid-margin-bottom-lg-px: 64px;
16
+ --semantic-grid-margin-bottom-md-px: 64px;
17
+ --semantic-grid-margin-bottom-sm-px: 64px;
12
18
  --semantic-grid-columns-lg: 12;
13
19
  --semantic-grid-columns-md: 12;
14
20
  --semantic-grid-columns-sm: 12;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --semantic-radius-corner-xs: 0.125rem;
7
+ --semantic-radius-corner-sm: 0.25rem;
8
+ --semantic-radius-corner-md: 0.5rem;
9
+ }