@guardian/stand 0.0.63 → 0.0.64

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 (45) hide show
  1. package/dist/UserFeedbackSummary.cjs +5 -0
  2. package/dist/UserFeedbackSummary.d.cts +5 -0
  3. package/dist/UserFeedbackSummary.d.ts +5 -0
  4. package/dist/UserFeedbackSummary.js +3 -0
  5. package/dist/components/UserFeedbackSummary/UserFeedbackSummary.cjs +42 -0
  6. package/dist/components/UserFeedbackSummary/UserFeedbackSummary.d.cts +5 -0
  7. package/dist/components/UserFeedbackSummary/UserFeedbackSummary.d.ts +5 -0
  8. package/dist/components/UserFeedbackSummary/UserFeedbackSummary.js +42 -0
  9. package/dist/components/UserFeedbackSummary/styles.cjs +30 -0
  10. package/dist/components/UserFeedbackSummary/styles.d.cts +9 -0
  11. package/dist/components/UserFeedbackSummary/styles.d.ts +9 -0
  12. package/dist/components/UserFeedbackSummary/styles.js +28 -0
  13. package/dist/components/UserFeedbackSummary/types.d.cts +27 -0
  14. package/dist/components/UserFeedbackSummary/types.d.ts +27 -0
  15. package/dist/index.cjs +2 -0
  16. package/dist/index.d.cts +2 -1
  17. package/dist/index.d.ts +2 -1
  18. package/dist/index.js +2 -1
  19. package/dist/styleD/build/css/base/colors.css +1 -1
  20. package/dist/styleD/build/css/base/typography.css +1 -1
  21. package/dist/styleD/build/css/component/alertBanner.css +1 -1
  22. package/dist/styleD/build/css/component/avatar.css +1 -1
  23. package/dist/styleD/build/css/component/userFeedbackSummary.css +23 -0
  24. package/dist/styleD/build/css/semantic/colors.css +8 -3
  25. package/dist/styleD/build/typescript/base/colors.cjs +1 -1
  26. package/dist/styleD/build/typescript/base/colors.d.cts +1 -1
  27. package/dist/styleD/build/typescript/base/colors.d.ts +1 -1
  28. package/dist/styleD/build/typescript/base/colors.js +1 -1
  29. package/dist/styleD/build/typescript/base/typography.cjs +1 -1
  30. package/dist/styleD/build/typescript/base/typography.d.cts +3 -3
  31. package/dist/styleD/build/typescript/base/typography.d.ts +3 -3
  32. package/dist/styleD/build/typescript/base/typography.js +1 -1
  33. package/dist/styleD/build/typescript/component/alertBanner.cjs +1 -1
  34. package/dist/styleD/build/typescript/component/alertBanner.js +1 -1
  35. package/dist/styleD/build/typescript/component/avatar.cjs +1 -1
  36. package/dist/styleD/build/typescript/component/avatar.js +1 -1
  37. package/dist/styleD/build/typescript/component/userFeedbackSummary.cjs +35 -0
  38. package/dist/styleD/build/typescript/component/userFeedbackSummary.d.cts +36 -0
  39. package/dist/styleD/build/typescript/component/userFeedbackSummary.d.ts +36 -0
  40. package/dist/styleD/build/typescript/component/userFeedbackSummary.js +35 -0
  41. package/dist/styleD/build/typescript/semantic/colors.cjs +8 -3
  42. package/dist/styleD/build/typescript/semantic/colors.d.cts +6 -1
  43. package/dist/styleD/build/typescript/semantic/colors.d.ts +6 -1
  44. package/dist/styleD/build/typescript/semantic/colors.js +8 -3
  45. package/package.json +16 -2
@@ -0,0 +1,5 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_userFeedbackSummary = require("./styleD/build/typescript/component/userFeedbackSummary.cjs");
3
+ const require_UserFeedbackSummary = require("./components/UserFeedbackSummary/UserFeedbackSummary.cjs");
4
+ exports.UserFeedbackSummary = require_UserFeedbackSummary.UserFeedbackSummary;
5
+ exports.componentUserFeedbackSummary = require_userFeedbackSummary.componentUserFeedbackSummary;
@@ -0,0 +1,5 @@
1
+ import { ComponentUserFeedbackSummary, componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.cjs";
2
+ import { PartialUserFeedbackSummaryTheme } from "./components/UserFeedbackSummary/styles.cjs";
3
+ import { UserFeedbackSummaryProps } from "./components/UserFeedbackSummary/types.cjs";
4
+ import { UserFeedbackSummary } from "./components/UserFeedbackSummary/UserFeedbackSummary.cjs";
5
+ export { type ComponentUserFeedbackSummary, UserFeedbackSummary, type UserFeedbackSummaryProps, type PartialUserFeedbackSummaryTheme as UserFeedbackSummaryTheme, componentUserFeedbackSummary };
@@ -0,0 +1,5 @@
1
+ import { ComponentUserFeedbackSummary, componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.js";
2
+ import { PartialUserFeedbackSummaryTheme } from "./components/UserFeedbackSummary/styles.js";
3
+ import { UserFeedbackSummaryProps } from "./components/UserFeedbackSummary/types.js";
4
+ import { UserFeedbackSummary } from "./components/UserFeedbackSummary/UserFeedbackSummary.js";
5
+ export { type ComponentUserFeedbackSummary, UserFeedbackSummary, type UserFeedbackSummaryProps, type PartialUserFeedbackSummaryTheme as UserFeedbackSummaryTheme, componentUserFeedbackSummary };
@@ -0,0 +1,3 @@
1
+ import { componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.js";
2
+ import { UserFeedbackSummary } from "./components/UserFeedbackSummary/UserFeedbackSummary.js";
3
+ export { UserFeedbackSummary, componentUserFeedbackSummary };
@@ -0,0 +1,42 @@
1
+ const require_mergeDeep = require("../../util/mergeDeep.cjs");
2
+ const require_Icon = require("../Icon/Icon.cjs");
3
+ const require_Typography = require("../Typography/Typography.cjs");
4
+ const require_styles = require("./styles.cjs");
5
+ let react = require("react");
6
+ let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
7
+ //#region src/components/UserFeedbackSummary/UserFeedbackSummary.tsx
8
+ const UserFeedbackSummary = ({ children, level, title, hideIcon = false, icon, theme = {}, cssOverrides, className, ...props }) => {
9
+ const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultUserFeedbackSummaryTheme, theme);
10
+ const determinedIcon = (0, react.useMemo)(() => {
11
+ if (icon) return icon;
12
+ switch (level) {
13
+ case "error": return "warning";
14
+ case "warning": return "flag";
15
+ case "success": return "sentiment_satisfied_alt";
16
+ case "information": return "info";
17
+ }
18
+ }, [icon, level]);
19
+ return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)("div", {
20
+ css: [require_styles.userFeedbackSummaryStyles(mergedTheme, { level }), cssOverrides],
21
+ className,
22
+ ...props,
23
+ children: [!hideIcon && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Icon.Icon, {
24
+ size: "md",
25
+ fill: mergedTheme[level].color,
26
+ children: determinedIcon
27
+ }), /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)("div", {
28
+ css: require_styles.textLayoutStyles,
29
+ children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Typography.Typography, {
30
+ variant: "bodyBoldSm",
31
+ theme: { color: mergedTheme[level].color },
32
+ children: title
33
+ }), children && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Typography.Typography, {
34
+ variant: "bodySm",
35
+ theme: { color: mergedTheme.shared.color },
36
+ children
37
+ })]
38
+ })]
39
+ });
40
+ };
41
+ //#endregion
42
+ exports.UserFeedbackSummary = UserFeedbackSummary;
@@ -0,0 +1,5 @@
1
+ import { UserFeedbackSummaryProps } from "./types.cjs";
2
+ //#region src/components/UserFeedbackSummary/UserFeedbackSummary.d.ts
3
+ declare const UserFeedbackSummary: ({ children, level, title, hideIcon, icon, theme, cssOverrides, className, ...props }: UserFeedbackSummaryProps) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ //#endregion
5
+ export { UserFeedbackSummary };
@@ -0,0 +1,5 @@
1
+ import { UserFeedbackSummaryProps } from "./types.js";
2
+ //#region src/components/UserFeedbackSummary/UserFeedbackSummary.d.ts
3
+ declare const UserFeedbackSummary: ({ children, level, title, hideIcon, icon, theme, cssOverrides, className, ...props }: UserFeedbackSummaryProps) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ //#endregion
5
+ export { UserFeedbackSummary };
@@ -0,0 +1,42 @@
1
+ import { mergeDeep } from "../../util/mergeDeep.js";
2
+ import { Icon } from "../Icon/Icon.js";
3
+ import { Typography } from "../Typography/Typography.js";
4
+ import { defaultUserFeedbackSummaryTheme, textLayoutStyles, userFeedbackSummaryStyles } from "./styles.js";
5
+ import { useMemo } from "react";
6
+ import { jsx, jsxs } from "@emotion/react/jsx-runtime";
7
+ //#region src/components/UserFeedbackSummary/UserFeedbackSummary.tsx
8
+ const UserFeedbackSummary = ({ children, level, title, hideIcon = false, icon, theme = {}, cssOverrides, className, ...props }) => {
9
+ const mergedTheme = mergeDeep(defaultUserFeedbackSummaryTheme, theme);
10
+ const determinedIcon = useMemo(() => {
11
+ if (icon) return icon;
12
+ switch (level) {
13
+ case "error": return "warning";
14
+ case "warning": return "flag";
15
+ case "success": return "sentiment_satisfied_alt";
16
+ case "information": return "info";
17
+ }
18
+ }, [icon, level]);
19
+ return /* @__PURE__ */ jsxs("div", {
20
+ css: [userFeedbackSummaryStyles(mergedTheme, { level }), cssOverrides],
21
+ className,
22
+ ...props,
23
+ children: [!hideIcon && /* @__PURE__ */ jsx(Icon, {
24
+ size: "md",
25
+ fill: mergedTheme[level].color,
26
+ children: determinedIcon
27
+ }), /* @__PURE__ */ jsxs("div", {
28
+ css: textLayoutStyles,
29
+ children: [/* @__PURE__ */ jsx(Typography, {
30
+ variant: "bodyBoldSm",
31
+ theme: { color: mergedTheme[level].color },
32
+ children: title
33
+ }), children && /* @__PURE__ */ jsx(Typography, {
34
+ variant: "bodySm",
35
+ theme: { color: mergedTheme.shared.color },
36
+ children
37
+ })]
38
+ })]
39
+ });
40
+ };
41
+ //#endregion
42
+ export { UserFeedbackSummary };
@@ -0,0 +1,30 @@
1
+ const require_userFeedbackSummary = require("../../styleD/build/typescript/component/userFeedbackSummary.cjs");
2
+ const require_sizing = require("../../styleD/build/typescript/base/sizing.cjs");
3
+ const require_spacing = require("../../styleD/build/typescript/base/spacing.cjs");
4
+ let _emotion_react = require("@emotion/react");
5
+ //#region src/components/UserFeedbackSummary/styles.ts
6
+ const defaultUserFeedbackSummaryTheme = require_userFeedbackSummary.componentUserFeedbackSummary;
7
+ const userFeedbackSummaryStyles = (theme, { level }) => {
8
+ return _emotion_react.css`
9
+ display: flex;
10
+ gap: ${theme.shared.gap};
11
+ border-width: ${theme.shared.borderWidth};
12
+ border-style: ${theme.shared.borderStyle};
13
+ border-color: ${theme[level].borderColor};
14
+ padding-top: ${theme.shared.paddingTop};
15
+ padding-right: ${theme.shared.paddingRight};
16
+ padding-bottom: ${theme.shared.paddingBottom};
17
+ padding-left: ${theme.shared.paddingLeft};
18
+ max-width: ${theme.shared.maxWidth};
19
+ `;
20
+ };
21
+ const textLayoutStyles = _emotion_react.css`
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: ${require_spacing.baseSpacing["4Rem"]};
25
+ margin-top: ${require_sizing.baseSizing["size1Rem"]};
26
+ `;
27
+ //#endregion
28
+ exports.defaultUserFeedbackSummaryTheme = defaultUserFeedbackSummaryTheme;
29
+ exports.textLayoutStyles = textLayoutStyles;
30
+ exports.userFeedbackSummaryStyles = userFeedbackSummaryStyles;
@@ -0,0 +1,9 @@
1
+ import { DeepPartial, Prettify } from "../../util/types.cjs";
2
+ import { ComponentUserFeedbackSummary } from "../../styleD/build/typescript/component/userFeedbackSummary.cjs";
3
+ import "./types.cjs";
4
+ import { SerializedStyles } from "@emotion/react";
5
+ //#region src/components/UserFeedbackSummary/styles.d.ts
6
+ type UserFeedbackSummaryTheme = Prettify<ComponentUserFeedbackSummary>;
7
+ type PartialUserFeedbackSummaryTheme = Prettify<DeepPartial<UserFeedbackSummaryTheme>>;
8
+ //#endregion
9
+ export { PartialUserFeedbackSummaryTheme, UserFeedbackSummaryTheme };
@@ -0,0 +1,9 @@
1
+ import { DeepPartial, Prettify } from "../../util/types.js";
2
+ import { ComponentUserFeedbackSummary } from "../../styleD/build/typescript/component/userFeedbackSummary.js";
3
+ import "./types.js";
4
+ import { SerializedStyles } from "@emotion/react";
5
+ //#region src/components/UserFeedbackSummary/styles.d.ts
6
+ type UserFeedbackSummaryTheme = Prettify<ComponentUserFeedbackSummary>;
7
+ type PartialUserFeedbackSummaryTheme = Prettify<DeepPartial<UserFeedbackSummaryTheme>>;
8
+ //#endregion
9
+ export { PartialUserFeedbackSummaryTheme, UserFeedbackSummaryTheme };
@@ -0,0 +1,28 @@
1
+ import { componentUserFeedbackSummary } from "../../styleD/build/typescript/component/userFeedbackSummary.js";
2
+ import { baseSizing } from "../../styleD/build/typescript/base/sizing.js";
3
+ import { baseSpacing } from "../../styleD/build/typescript/base/spacing.js";
4
+ import { css } from "@emotion/react";
5
+ //#region src/components/UserFeedbackSummary/styles.ts
6
+ const defaultUserFeedbackSummaryTheme = componentUserFeedbackSummary;
7
+ const userFeedbackSummaryStyles = (theme, { level }) => {
8
+ return css`
9
+ display: flex;
10
+ gap: ${theme.shared.gap};
11
+ border-width: ${theme.shared.borderWidth};
12
+ border-style: ${theme.shared.borderStyle};
13
+ border-color: ${theme[level].borderColor};
14
+ padding-top: ${theme.shared.paddingTop};
15
+ padding-right: ${theme.shared.paddingRight};
16
+ padding-bottom: ${theme.shared.paddingBottom};
17
+ padding-left: ${theme.shared.paddingLeft};
18
+ max-width: ${theme.shared.maxWidth};
19
+ `;
20
+ };
21
+ const textLayoutStyles = css`
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: ${baseSpacing["4Rem"]};
25
+ margin-top: ${baseSizing["size1Rem"]};
26
+ `;
27
+ //#endregion
28
+ export { defaultUserFeedbackSummaryTheme, textLayoutStyles, userFeedbackSummaryStyles };
@@ -0,0 +1,27 @@
1
+ import { DefaultPropsWithChildren } from "../../util/types.cjs";
2
+ import { IconProps } from "../Icon/types.cjs";
3
+ import { UserFeedbackSummaryTheme } from "./styles.cjs";
4
+ //#region src/components/UserFeedbackSummary/types.d.ts
5
+ type UserFeedbackSummaryProps = DefaultPropsWithChildren<UserFeedbackSummaryTheme> & {
6
+ /**
7
+ * The severity level of the message which determines its styling.
8
+ * This is a required prop.
9
+ * Levels: 'error', 'warning', 'success', 'information'
10
+ */
11
+ level: keyof Omit<UserFeedbackSummaryTheme, 'shared'>;
12
+ /**
13
+ * Title of feedback summary message. This is a required prop.
14
+ */
15
+ title: string;
16
+ /**
17
+ * Optional prop to hide the default icon associated with the message level.
18
+ */
19
+ hideIcon?: boolean;
20
+ /**
21
+ * Override the default icon for the message by providing a custom icon.
22
+ * This can be either a string (for Material Symbols) or an SVG element.
23
+ */
24
+ icon?: IconProps['symbol'] | Exclude<IconProps['children'], string>;
25
+ };
26
+ //#endregion
27
+ export { UserFeedbackSummaryProps };
@@ -0,0 +1,27 @@
1
+ import { DefaultPropsWithChildren } from "../../util/types.js";
2
+ import { IconProps } from "../Icon/types.js";
3
+ import { UserFeedbackSummaryTheme } from "./styles.js";
4
+ //#region src/components/UserFeedbackSummary/types.d.ts
5
+ type UserFeedbackSummaryProps = DefaultPropsWithChildren<UserFeedbackSummaryTheme> & {
6
+ /**
7
+ * The severity level of the message which determines its styling.
8
+ * This is a required prop.
9
+ * Levels: 'error', 'warning', 'success', 'information'
10
+ */
11
+ level: keyof Omit<UserFeedbackSummaryTheme, 'shared'>;
12
+ /**
13
+ * Title of feedback summary message. This is a required prop.
14
+ */
15
+ title: string;
16
+ /**
17
+ * Optional prop to hide the default icon associated with the message level.
18
+ */
19
+ hideIcon?: boolean;
20
+ /**
21
+ * Override the default icon for the message by providing a custom icon.
22
+ * This can be either a string (for Material Symbols) or an SVG element.
23
+ */
24
+ icon?: IconProps['symbol'] | Exclude<IconProps['children'], string>;
25
+ };
26
+ //#endregion
27
+ export { UserFeedbackSummaryProps };
package/dist/index.cjs CHANGED
@@ -28,6 +28,7 @@ const require_tooltip = require("./styleD/build/typescript/component/tooltip.cjs
28
28
  const require_topBar = require("./styleD/build/typescript/component/topBar.cjs");
29
29
  const require_typography = require("./styleD/build/typescript/component/typography.cjs");
30
30
  const require_tabs = require("./styleD/build/typescript/component/tabs.cjs");
31
+ const require_userFeedbackSummary = require("./styleD/build/typescript/component/userFeedbackSummary.cjs");
31
32
  const require_colors = require("./styleD/build/typescript/base/colors.cjs");
32
33
  const require_radius = require("./styleD/build/typescript/base/radius.cjs");
33
34
  const require_sizing = require("./styleD/build/typescript/base/sizing.cjs");
@@ -72,6 +73,7 @@ exports.componentTextInput = require_textInput.componentTextInput;
72
73
  exports.componentTooltip = require_tooltip.componentTooltip;
73
74
  exports.componentTopBar = require_topBar.componentTopBar;
74
75
  exports.componentTypography = require_typography.componentTypography;
76
+ exports.componentUserFeedbackSummary = require_userFeedbackSummary.componentUserFeedbackSummary;
75
77
  exports.componentUserMenu = require_userMenu.componentUserMenu;
76
78
  exports.semanticBreakpoints = require_breakpoints.semanticBreakpoints;
77
79
  exports.semanticColors = require_colors$1.semanticColors;
package/dist/index.d.cts CHANGED
@@ -27,6 +27,7 @@ import { ComponentTextArea, componentTextArea } from "./styleD/build/typescript/
27
27
  import { ComponentTextInput, componentTextInput } from "./styleD/build/typescript/component/textInput.cjs";
28
28
  import { ComponentTooltip, componentTooltip } from "./styleD/build/typescript/component/tooltip.cjs";
29
29
  import { ComponentTopBar, componentTopBar } from "./styleD/build/typescript/component/topBar.cjs";
30
+ import { ComponentUserFeedbackSummary, componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.cjs";
30
31
  import { ComponentUserMenu, componentUserMenu } from "./styleD/build/typescript/component/userMenu.cjs";
31
32
  import { BaseColors, baseColors } from "./styleD/build/typescript/base/colors.cjs";
32
33
  import { BaseRadius, baseRadius } from "./styleD/build/typescript/base/radius.cjs";
@@ -39,4 +40,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
39
40
  import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.cjs";
40
41
  import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.cjs";
41
42
  import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.cjs";
42
- export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, 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 ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, 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, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
43
+ export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, 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 ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, 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, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ import { ComponentTextArea, componentTextArea } from "./styleD/build/typescript/
27
27
  import { ComponentTextInput, componentTextInput } from "./styleD/build/typescript/component/textInput.js";
28
28
  import { ComponentTooltip, componentTooltip } from "./styleD/build/typescript/component/tooltip.js";
29
29
  import { ComponentTopBar, componentTopBar } from "./styleD/build/typescript/component/topBar.js";
30
+ import { ComponentUserFeedbackSummary, componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.js";
30
31
  import { ComponentUserMenu, componentUserMenu } from "./styleD/build/typescript/component/userMenu.js";
31
32
  import { BaseColors, baseColors } from "./styleD/build/typescript/base/colors.js";
32
33
  import { BaseRadius, baseRadius } from "./styleD/build/typescript/base/radius.js";
@@ -39,4 +40,4 @@ import { SemanticSizing, semanticSizing } from "./styleD/build/typescript/semant
39
40
  import { SemanticShadow, semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
40
41
  import { SemanticRadius, semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
41
42
  import { SemanticSpacing, semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
42
- export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, 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 ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, 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, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
43
+ export { type BaseColors, type BaseRadius, type BaseSizing, type BaseSpacing, type BaseTypography, type ComponentAlertBanner, type ComponentAutocomplete, type ComponentAvatar, type ComponentButton, type ComponentButtonGroup, 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 ComponentModal, type ComponentRadioGroup, type ComponentSelect, type ComponentTabs, type ComponentTagTable, type ComponentTextArea, type ComponentTextInput, type ComponentTooltip, type ComponentTopBar, type ComponentTypography, type ComponentUserFeedbackSummary, 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, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
package/dist/index.js CHANGED
@@ -27,6 +27,7 @@ import { componentTooltip } from "./styleD/build/typescript/component/tooltip.js
27
27
  import { componentTopBar } from "./styleD/build/typescript/component/topBar.js";
28
28
  import { componentTypography } from "./styleD/build/typescript/component/typography.js";
29
29
  import { componentTabs } from "./styleD/build/typescript/component/tabs.js";
30
+ import { componentUserFeedbackSummary } from "./styleD/build/typescript/component/userFeedbackSummary.js";
30
31
  import { baseColors } from "./styleD/build/typescript/base/colors.js";
31
32
  import { baseRadius } from "./styleD/build/typescript/base/radius.js";
32
33
  import { baseSizing } from "./styleD/build/typescript/base/sizing.js";
@@ -39,4 +40,4 @@ import { semanticSizing } from "./styleD/build/typescript/semantic/sizing.js";
39
40
  import { semanticShadow } from "./styleD/build/typescript/semantic/shadow.js";
40
41
  import { semanticRadius } from "./styleD/build/typescript/semantic/radius.js";
41
42
  import { semanticSpacing } from "./styleD/build/typescript/semantic/spacing.js";
42
- export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
43
+ export { baseColors, baseRadius, baseSizing, baseSpacing, baseTypography, componentAlertBanner, componentAutocomplete, componentAvatar, componentButton, componentButtonGroup, componentByline, componentCheckbox, componentDatePicker, componentFavicon, componentForm, componentGrid, componentIcon, componentInlineMessage, componentIntendedAudienceSignifier, componentLayout, componentLink, componentMenu, componentModal, componentRadioGroup, componentSelect, componentTabs, componentTagTable, componentTextArea, componentTextInput, componentTooltip, componentTopBar, componentTypography, componentUserFeedbackSummary, componentUserMenu, semanticBreakpoints, semanticColors, semanticGrid, semanticRadius, semanticShadow, semanticSizing, semanticSpacing, semanticTypography };
@@ -77,7 +77,7 @@
77
77
  --base-colors-yellow-500: #f4cd44;
78
78
  --base-colors-yellow-600: #f6d86d;
79
79
  --base-colors-yellow-700: #f9e396;
80
- --base-colors-yellow-800: #fbeebf;
80
+ --base-colors-yellow-800: #ffedac;
81
81
  --base-colors-yellow-900: #fef9e8;
82
82
  --base-colors-orange-50: #45260e;
83
83
  --base-colors-orange-100: #693c16;
@@ -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;
@@ -26,6 +26,6 @@
26
26
  --component-alert-banner-shared-content-icon-color: #545454;
27
27
  --component-alert-banner-information-background-color: #e8f0fb;
28
28
  --component-alert-banner-success-background-color: #cde4c9;
29
- --component-alert-banner-warning-background-color: #fbeebf;
29
+ --component-alert-banner-warning-background-color: #ffedac;
30
30
  --component-alert-banner-error-background-color: #f5c6c0;
31
31
  }
@@ -49,7 +49,7 @@
49
49
  --component-avatar-shared-color-orange-hover-background: #fac7a1;
50
50
  --component-avatar-shared-color-orange-active-background: #f9b27c;
51
51
  --component-avatar-shared-color-yellow-text: #5b4a0b;
52
- --component-avatar-shared-color-yellow-background: #fbeebf;
52
+ --component-avatar-shared-color-yellow-background: #ffedac;
53
53
  --component-avatar-shared-color-yellow-border: unset;
54
54
  --component-avatar-shared-color-yellow-hover-background: #f9e396;
55
55
  --component-avatar-shared-color-yellow-active-background: #f6d86d;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --component-user-feedback-summary-shared-color: #000000;
7
+ --component-user-feedback-summary-shared-gap: 0.25rem;
8
+ --component-user-feedback-summary-shared-padding-top: 0.75rem;
9
+ --component-user-feedback-summary-shared-padding-right: 1rem;
10
+ --component-user-feedback-summary-shared-padding-bottom: 0.75rem;
11
+ --component-user-feedback-summary-shared-padding-left: 0.5rem;
12
+ --component-user-feedback-summary-shared-max-width: 46ch;
13
+ --component-user-feedback-summary-shared-border-width: 0.0625rem;
14
+ --component-user-feedback-summary-shared-border-style: solid;
15
+ --component-user-feedback-summary-error-color: #8c2113;
16
+ --component-user-feedback-summary-error-border-color: #b42a19;
17
+ --component-user-feedback-summary-warning-color: #693c16;
18
+ --component-user-feedback-summary-warning-border-color: #9a7c11;
19
+ --component-user-feedback-summary-success-color: #326528;
20
+ --component-user-feedback-summary-success-border-color: #408233;
21
+ --component-user-feedback-summary-information-color: #092f62;
22
+ --component-user-feedback-summary-information-border-color: #1054af;
23
+ }
@@ -41,6 +41,9 @@
41
41
  --semantic-colors-border-disabled: #dcdcdc;
42
42
  --semantic-colors-border-accent: #0d4289;
43
43
  --semantic-colors-border-error: #b42a19;
44
+ --semantic-colors-border-success: #408233;
45
+ --semantic-colors-border-warning: #9a7c11;
46
+ --semantic-colors-border-information: #1054af;
44
47
  --semantic-colors-border-focused: #0072a9;
45
48
  --semantic-colors-border-selected: #0072a9;
46
49
  --semantic-colors-border-selected-inverse: #8abed7;
@@ -67,7 +70,8 @@
67
70
  --semantic-colors-fill-warm-purple-weak: #dac3e8;
68
71
  --semantic-colors-fill-magenta-weak: #edc6d7;
69
72
  --semantic-colors-fill-orange-weak: #fcddc6;
70
- --semantic-colors-fill-yellow-weak: #fbeebf;
73
+ --semantic-colors-fill-orange-medium: #fac7a1;
74
+ --semantic-colors-fill-yellow-weak: #ffedac;
71
75
  --semantic-colors-fill-selected: #005d8b;
72
76
  --semantic-colors-fill-selected-weaker: #e6f1f6;
73
77
  --semantic-colors-fill-selected-weak: #c5dfec;
@@ -77,10 +81,11 @@
77
81
  --semantic-colors-fill-selected-pressed-weak: #5ca5c8;
78
82
  --semantic-colors-fill-draft-strong: #f1c21b;
79
83
  --semantic-colors-fill-live-weak: #aed2a6;
80
- --semantic-colors-fill-warning-weak: #fbeebf;
84
+ --semantic-colors-fill-warning-weak: #ffedac;
81
85
  --semantic-colors-fill-information-weak: #e8f0fb;
82
- --semantic-colors-fill-error-weak: #f5c6c0;
83
86
  --semantic-colors-fill-error-weaker: #fbebe9;
87
+ --semantic-colors-fill-error-weak: #f5c6c0;
88
+ --semantic-colors-fill-error-medium: #eea198;
84
89
  --semantic-colors-fill-error-strong: #b42a19;
85
90
  --semantic-colors-fill-success-weak: #cde4c9;
86
91
  --semantic-colors-fill-success-strong: #326528;
@@ -90,7 +90,7 @@ const baseColors = {
90
90
  "500": "#f4cd44",
91
91
  "600": "#f6d86d",
92
92
  "700": "#f9e396",
93
- "800": "#fbeebf",
93
+ "800": "#ffedac",
94
94
  "900": "#fef9e8"
95
95
  },
96
96
  orange: {
@@ -90,7 +90,7 @@ declare const baseColors: {
90
90
  readonly '500': "#f4cd44";
91
91
  readonly '600': "#f6d86d";
92
92
  readonly '700': "#f9e396";
93
- readonly '800': "#fbeebf";
93
+ readonly '800': "#ffedac";
94
94
  readonly '900': "#fef9e8";
95
95
  };
96
96
  readonly orange: {
@@ -90,7 +90,7 @@ declare const baseColors: {
90
90
  readonly '500': "#f4cd44";
91
91
  readonly '600': "#f6d86d";
92
92
  readonly '700': "#f9e396";
93
- readonly '800': "#fbeebf";
93
+ readonly '800': "#ffedac";
94
94
  readonly '900': "#fef9e8";
95
95
  };
96
96
  readonly orange: {
@@ -90,7 +90,7 @@ const baseColors = {
90
90
  "500": "#f4cd44",
91
91
  "600": "#f6d86d",
92
92
  "700": "#f9e396",
93
- "800": "#fbeebf",
93
+ "800": "#ffedac",
94
94
  "900": "#fef9e8"
95
95
  },
96
96
  orange: {
@@ -34,11 +34,11 @@ const baseTypography = {
34
34
  "48Rem": "3rem"
35
35
  },
36
36
  weight: {
37
- guardianHeadline: { bold: 700 },
38
37
  guardianTextEgyptian: {
39
38
  normal: 400,
40
39
  bold: 700
41
40
  },
41
+ guardianHeadline: { bold: 700 },
42
42
  openSans: {
43
43
  light: 340,
44
44
  normal: 460,
@@ -34,13 +34,13 @@ declare const baseTypography: {
34
34
  readonly '48Rem': "3rem";
35
35
  };
36
36
  readonly weight: {
37
- readonly guardianHeadline: {
38
- readonly bold: 700;
39
- };
40
37
  readonly guardianTextEgyptian: {
41
38
  readonly normal: 400;
42
39
  readonly bold: 700;
43
40
  };
41
+ readonly guardianHeadline: {
42
+ readonly bold: 700;
43
+ };
44
44
  readonly openSans: {
45
45
  readonly light: 340;
46
46
  readonly normal: 460;
@@ -34,13 +34,13 @@ declare const baseTypography: {
34
34
  readonly '48Rem': "3rem";
35
35
  };
36
36
  readonly weight: {
37
- readonly guardianHeadline: {
38
- readonly bold: 700;
39
- };
40
37
  readonly guardianTextEgyptian: {
41
38
  readonly normal: 400;
42
39
  readonly bold: 700;
43
40
  };
41
+ readonly guardianHeadline: {
42
+ readonly bold: 700;
43
+ };
44
44
  readonly openSans: {
45
45
  readonly light: 340;
46
46
  readonly normal: 460;
@@ -34,11 +34,11 @@ const baseTypography = {
34
34
  "48Rem": "3rem"
35
35
  },
36
36
  weight: {
37
- guardianHeadline: { bold: 700 },
38
37
  guardianTextEgyptian: {
39
38
  normal: 400,
40
39
  bold: 700
41
40
  },
41
+ guardianHeadline: { bold: 700 },
42
42
  openSans: {
43
43
  light: 340,
44
44
  normal: 460,
@@ -33,7 +33,7 @@ const componentAlertBanner = {
33
33
  },
34
34
  information: { backgroundColor: "#e8f0fb" },
35
35
  success: { backgroundColor: "#cde4c9" },
36
- warning: { backgroundColor: "#fbeebf" },
36
+ warning: { backgroundColor: "#ffedac" },
37
37
  error: { backgroundColor: "#f5c6c0" }
38
38
  };
39
39
  //#endregion
@@ -33,7 +33,7 @@ const componentAlertBanner = {
33
33
  },
34
34
  information: { backgroundColor: "#e8f0fb" },
35
35
  success: { backgroundColor: "#cde4c9" },
36
- warning: { backgroundColor: "#fbeebf" },
36
+ warning: { backgroundColor: "#ffedac" },
37
37
  error: { backgroundColor: "#f5c6c0" }
38
38
  };
39
39
  //#endregion
@@ -70,7 +70,7 @@ const componentAvatar = {
70
70
  },
71
71
  yellow: {
72
72
  text: "#5b4a0b",
73
- background: "#fbeebf",
73
+ background: "#ffedac",
74
74
  border: "unset",
75
75
  hover: { background: "#f9e396" },
76
76
  active: { background: "#f6d86d" }
@@ -70,7 +70,7 @@ const componentAvatar = {
70
70
  },
71
71
  yellow: {
72
72
  text: "#5b4a0b",
73
- background: "#fbeebf",
73
+ background: "#ffedac",
74
74
  border: "unset",
75
75
  hover: { background: "#f9e396" },
76
76
  active: { background: "#f6d86d" }
@@ -0,0 +1,35 @@
1
+ //#region src/styleD/build/typescript/component/userFeedbackSummary.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ const componentUserFeedbackSummary = {
6
+ shared: {
7
+ color: "#000000",
8
+ gap: "0.25rem",
9
+ paddingTop: "0.75rem",
10
+ paddingRight: "1rem",
11
+ paddingBottom: "0.75rem",
12
+ paddingLeft: "0.5rem",
13
+ maxWidth: "46ch",
14
+ borderWidth: "0.0625rem",
15
+ borderStyle: "solid"
16
+ },
17
+ error: {
18
+ color: "#8c2113",
19
+ borderColor: "#b42a19"
20
+ },
21
+ warning: {
22
+ color: "#693c16",
23
+ borderColor: "#9a7c11"
24
+ },
25
+ success: {
26
+ color: "#326528",
27
+ borderColor: "#408233"
28
+ },
29
+ information: {
30
+ color: "#092f62",
31
+ borderColor: "#1054af"
32
+ }
33
+ };
34
+ //#endregion
35
+ exports.componentUserFeedbackSummary = componentUserFeedbackSummary;
@@ -0,0 +1,36 @@
1
+ //#region src/styleD/build/typescript/component/userFeedbackSummary.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentUserFeedbackSummary: {
6
+ shared: {
7
+ color: string;
8
+ gap: string;
9
+ paddingTop: string;
10
+ paddingRight: string;
11
+ paddingBottom: string;
12
+ paddingLeft: string;
13
+ maxWidth: string;
14
+ borderWidth: string;
15
+ borderStyle: string;
16
+ };
17
+ error: {
18
+ color: string;
19
+ borderColor: string;
20
+ };
21
+ warning: {
22
+ color: string;
23
+ borderColor: string;
24
+ };
25
+ success: {
26
+ color: string;
27
+ borderColor: string;
28
+ };
29
+ information: {
30
+ color: string;
31
+ borderColor: string;
32
+ };
33
+ };
34
+ type ComponentUserFeedbackSummary = typeof componentUserFeedbackSummary;
35
+ //#endregion
36
+ export { ComponentUserFeedbackSummary, componentUserFeedbackSummary };
@@ -0,0 +1,36 @@
1
+ //#region src/styleD/build/typescript/component/userFeedbackSummary.d.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ declare const componentUserFeedbackSummary: {
6
+ shared: {
7
+ color: string;
8
+ gap: string;
9
+ paddingTop: string;
10
+ paddingRight: string;
11
+ paddingBottom: string;
12
+ paddingLeft: string;
13
+ maxWidth: string;
14
+ borderWidth: string;
15
+ borderStyle: string;
16
+ };
17
+ error: {
18
+ color: string;
19
+ borderColor: string;
20
+ };
21
+ warning: {
22
+ color: string;
23
+ borderColor: string;
24
+ };
25
+ success: {
26
+ color: string;
27
+ borderColor: string;
28
+ };
29
+ information: {
30
+ color: string;
31
+ borderColor: string;
32
+ };
33
+ };
34
+ type ComponentUserFeedbackSummary = typeof componentUserFeedbackSummary;
35
+ //#endregion
36
+ export { ComponentUserFeedbackSummary, componentUserFeedbackSummary };
@@ -0,0 +1,35 @@
1
+ //#region src/styleD/build/typescript/component/userFeedbackSummary.ts
2
+ /**
3
+ * Do not edit directly, this file was auto-generated.
4
+ */
5
+ const componentUserFeedbackSummary = {
6
+ shared: {
7
+ color: "#000000",
8
+ gap: "0.25rem",
9
+ paddingTop: "0.75rem",
10
+ paddingRight: "1rem",
11
+ paddingBottom: "0.75rem",
12
+ paddingLeft: "0.5rem",
13
+ maxWidth: "46ch",
14
+ borderWidth: "0.0625rem",
15
+ borderStyle: "solid"
16
+ },
17
+ error: {
18
+ color: "#8c2113",
19
+ borderColor: "#b42a19"
20
+ },
21
+ warning: {
22
+ color: "#693c16",
23
+ borderColor: "#9a7c11"
24
+ },
25
+ success: {
26
+ color: "#326528",
27
+ borderColor: "#408233"
28
+ },
29
+ information: {
30
+ color: "#092f62",
31
+ borderColor: "#1054af"
32
+ }
33
+ };
34
+ //#endregion
35
+ export { componentUserFeedbackSummary };
@@ -46,6 +46,9 @@ const semanticColors = {
46
46
  disabled: "#dcdcdc",
47
47
  accent: "#0d4289",
48
48
  error: "#b42a19",
49
+ success: "#408233",
50
+ warning: "#9a7c11",
51
+ information: "#1054af",
49
52
  focused: "#0072a9",
50
53
  selected: "#0072a9",
51
54
  selectedInverse: "#8abed7"
@@ -74,7 +77,8 @@ const semanticColors = {
74
77
  warmPurpleWeak: "#dac3e8",
75
78
  magentaWeak: "#edc6d7",
76
79
  orangeWeak: "#fcddc6",
77
- yellowWeak: "#fbeebf",
80
+ orangeMedium: "#fac7a1",
81
+ yellowWeak: "#ffedac",
78
82
  selected: "#005d8b",
79
83
  selectedWeaker: "#e6f1f6",
80
84
  selectedWeak: "#c5dfec",
@@ -84,10 +88,11 @@ const semanticColors = {
84
88
  selectedPressedWeak: "#5ca5c8",
85
89
  draftStrong: "#f1c21b",
86
90
  liveWeak: "#aed2a6",
87
- warningWeak: "#fbeebf",
91
+ warningWeak: "#ffedac",
88
92
  informationWeak: "#e8f0fb",
89
- errorWeak: "#f5c6c0",
90
93
  errorWeaker: "#fbebe9",
94
+ errorWeak: "#f5c6c0",
95
+ errorMedium: "#eea198",
91
96
  errorStrong: "#b42a19",
92
97
  successWeak: "#cde4c9",
93
98
  successStrong: "#326528",
@@ -46,6 +46,9 @@ declare const semanticColors: {
46
46
  disabled: string;
47
47
  accent: string;
48
48
  error: string;
49
+ success: string;
50
+ warning: string;
51
+ information: string;
49
52
  focused: string;
50
53
  selected: string;
51
54
  selectedInverse: string;
@@ -74,6 +77,7 @@ declare const semanticColors: {
74
77
  warmPurpleWeak: string;
75
78
  magentaWeak: string;
76
79
  orangeWeak: string;
80
+ orangeMedium: string;
77
81
  yellowWeak: string;
78
82
  selected: string;
79
83
  selectedWeaker: string;
@@ -86,8 +90,9 @@ declare const semanticColors: {
86
90
  liveWeak: string;
87
91
  warningWeak: string;
88
92
  informationWeak: string;
89
- errorWeak: string;
90
93
  errorWeaker: string;
94
+ errorWeak: string;
95
+ errorMedium: string;
91
96
  errorStrong: string;
92
97
  successWeak: string;
93
98
  successStrong: string;
@@ -46,6 +46,9 @@ declare const semanticColors: {
46
46
  disabled: string;
47
47
  accent: string;
48
48
  error: string;
49
+ success: string;
50
+ warning: string;
51
+ information: string;
49
52
  focused: string;
50
53
  selected: string;
51
54
  selectedInverse: string;
@@ -74,6 +77,7 @@ declare const semanticColors: {
74
77
  warmPurpleWeak: string;
75
78
  magentaWeak: string;
76
79
  orangeWeak: string;
80
+ orangeMedium: string;
77
81
  yellowWeak: string;
78
82
  selected: string;
79
83
  selectedWeaker: string;
@@ -86,8 +90,9 @@ declare const semanticColors: {
86
90
  liveWeak: string;
87
91
  warningWeak: string;
88
92
  informationWeak: string;
89
- errorWeak: string;
90
93
  errorWeaker: string;
94
+ errorWeak: string;
95
+ errorMedium: string;
91
96
  errorStrong: string;
92
97
  successWeak: string;
93
98
  successStrong: string;
@@ -46,6 +46,9 @@ const semanticColors = {
46
46
  disabled: "#dcdcdc",
47
47
  accent: "#0d4289",
48
48
  error: "#b42a19",
49
+ success: "#408233",
50
+ warning: "#9a7c11",
51
+ information: "#1054af",
49
52
  focused: "#0072a9",
50
53
  selected: "#0072a9",
51
54
  selectedInverse: "#8abed7"
@@ -74,7 +77,8 @@ const semanticColors = {
74
77
  warmPurpleWeak: "#dac3e8",
75
78
  magentaWeak: "#edc6d7",
76
79
  orangeWeak: "#fcddc6",
77
- yellowWeak: "#fbeebf",
80
+ orangeMedium: "#fac7a1",
81
+ yellowWeak: "#ffedac",
78
82
  selected: "#005d8b",
79
83
  selectedWeaker: "#e6f1f6",
80
84
  selectedWeak: "#c5dfec",
@@ -84,10 +88,11 @@ const semanticColors = {
84
88
  selectedPressedWeak: "#5ca5c8",
85
89
  draftStrong: "#f1c21b",
86
90
  liveWeak: "#aed2a6",
87
- warningWeak: "#fbeebf",
91
+ warningWeak: "#ffedac",
88
92
  informationWeak: "#e8f0fb",
89
- errorWeak: "#f5c6c0",
90
93
  errorWeaker: "#fbebe9",
94
+ errorWeak: "#f5c6c0",
95
+ errorMedium: "#eea198",
91
96
  errorStrong: "#b42a19",
92
97
  successWeak: "#cde4c9",
93
98
  successStrong: "#326528",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardian/stand",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "repository": {
5
5
  "url": "https://github.com/guardian/stand"
6
6
  },
@@ -347,6 +347,16 @@
347
347
  "default": "./dist/Tooltip.cjs"
348
348
  }
349
349
  },
350
+ "./UserFeedbackSummary": {
351
+ "import": {
352
+ "types": "./dist/UserFeedbackSummary.d.ts",
353
+ "default": "./dist/UserFeedbackSummary.js"
354
+ },
355
+ "require": {
356
+ "types": "./dist/UserFeedbackSummary.d.cts",
357
+ "default": "./dist/UserFeedbackSummary.cjs"
358
+ }
359
+ },
350
360
  "./utils": {
351
361
  "import": {
352
362
  "types": "./dist/utils.d.ts",
@@ -402,7 +412,8 @@
402
412
  "./component/layout.css": "./dist/styleD/build/css/component/layout.css",
403
413
  "./component/modal.css": "./dist/styleD/build/css/component/modal.css",
404
414
  "./component/tabs.css": "./dist/styleD/build/css/component/tabs.css",
405
- "./component/tooltip.css": "./dist/styleD/build/css/component/tooltip.css"
415
+ "./component/tooltip.css": "./dist/styleD/build/css/component/tooltip.css",
416
+ "./component/userFeedbackSummary.css": "./dist/styleD/build/css/component/userFeedbackSummary.css"
406
417
  },
407
418
  "main": "./dist/index.cjs",
408
419
  "module": "./dist/index.js",
@@ -510,6 +521,9 @@
510
521
  ],
511
522
  "Tooltip": [
512
523
  "./dist/Tooltip.d.ts"
524
+ ],
525
+ "UserFeedbackSummary": [
526
+ "./dist/UserFeedbackSummary.d.ts"
513
527
  ]
514
528
  }
515
529
  },