@guardian/stand 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/avatarButton.cjs +7 -0
  2. package/dist/avatarButton.js +1 -0
  3. package/dist/avatarLink.cjs +7 -0
  4. package/dist/avatarLink.js +1 -0
  5. package/dist/components/avatar/styles.cjs +24 -0
  6. package/dist/components/avatar/styles.js +24 -0
  7. package/dist/components/avatar-button/AvatarButton.cjs +14 -0
  8. package/dist/components/avatar-button/AvatarButton.js +12 -0
  9. package/dist/components/avatar-button/styles.cjs +29 -0
  10. package/dist/components/avatar-button/styles.js +26 -0
  11. package/dist/components/avatar-link/AvatarLink.cjs +14 -0
  12. package/dist/components/avatar-link/AvatarLink.js +12 -0
  13. package/dist/components/avatar-link/styles.cjs +24 -0
  14. package/dist/components/avatar-link/styles.js +21 -0
  15. package/dist/components/inline-message/InlineMessage.cjs +56 -0
  16. package/dist/components/inline-message/InlineMessage.js +27 -0
  17. package/dist/components/inline-message/styles.cjs +17 -0
  18. package/dist/components/inline-message/styles.js +14 -0
  19. package/dist/index.cjs +2 -0
  20. package/dist/index.js +1 -0
  21. package/dist/inline-message.cjs +9 -0
  22. package/dist/inline-message.js +2 -0
  23. package/dist/styleD/build/css/component/avatar.css +31 -0
  24. package/dist/styleD/build/css/component/inlineMessage.css +17 -0
  25. package/dist/styleD/build/css/semantic/typography.css +38 -0
  26. package/dist/styleD/build/typescript/component/avatar.cjs +95 -12
  27. package/dist/styleD/build/typescript/component/avatar.js +95 -12
  28. package/dist/styleD/build/typescript/component/inlineMessage.cjs +28 -0
  29. package/dist/styleD/build/typescript/component/inlineMessage.js +26 -0
  30. package/dist/styleD/build/typescript/semantic/typography.cjs +50 -0
  31. package/dist/styleD/build/typescript/semantic/typography.js +50 -0
  32. package/dist/types/avatar-button.d.ts +18 -0
  33. package/dist/types/avatar-link.d.ts +18 -0
  34. package/dist/types/components/avatar-button/AvatarButton.d.ts +2 -0
  35. package/dist/types/components/avatar-button/sandbox.d.ts +5 -0
  36. package/dist/types/components/avatar-button/styles.d.ts +6 -0
  37. package/dist/types/components/avatar-button/types.d.ts +3 -0
  38. package/dist/types/components/avatar-link/AvatarLink.d.ts +2 -0
  39. package/dist/types/components/avatar-link/sandbox.d.ts +5 -0
  40. package/dist/types/components/avatar-link/styles.d.ts +6 -0
  41. package/dist/types/components/avatar-link/types.d.ts +3 -0
  42. package/dist/types/components/inline-message/InlineMessage.d.ts +2 -0
  43. package/dist/types/components/inline-message/sandbox.d.ts +5 -0
  44. package/dist/types/components/inline-message/styles.d.ts +8 -0
  45. package/dist/types/components/inline-message/types.d.ts +21 -0
  46. package/dist/types/index.d.ts +2 -0
  47. package/dist/types/inline-message.d.ts +19 -0
  48. package/dist/types/styleD/build/typescript/component/avatar.d.ts +83 -0
  49. package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +28 -0
  50. package/dist/types/styleD/build/typescript/semantic/typography.d.ts +50 -0
  51. package/package.json +24 -5
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var AvatarButton = require('./components/avatar-button/AvatarButton.cjs');
4
+
5
+
6
+
7
+ exports.AvatarButton = AvatarButton.AvatarButton;
@@ -0,0 +1 @@
1
+ export { AvatarButton } from './components/avatar-button/AvatarButton.js';
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var AvatarLink = require('./components/avatar-link/AvatarLink.cjs');
4
+
5
+
6
+
7
+ exports.AvatarLink = AvatarLink.AvatarLink;
@@ -0,0 +1 @@
1
+ export { AvatarLink } from './components/avatar-link/AvatarLink.js';
@@ -25,6 +25,30 @@ const avatarStyles = (theme, { size, color }) => {
25
25
  user-select: ${theme.shared["user-select"]};
26
26
  color: ${theme.shared.color[color].text};
27
27
  ${typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
28
+
29
+ &[data-avatar-context='interactive']:hover {
30
+ background-color: ${theme.shared.color[color][":hover"].background};
31
+
32
+ :has(> img) {
33
+ background-color: black;
34
+ }
35
+
36
+ img {
37
+ mask-image: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%));
38
+ }
39
+ }
40
+
41
+ &[data-avatar-context='interactive']:active {
42
+ background-color: ${theme.shared.color[color][":active"].background};
43
+
44
+ :has(> img) {
45
+ background-color: black;
46
+ }
47
+
48
+ img {
49
+ mask-image: linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 60%));
50
+ }
51
+ }
28
52
  `;
29
53
  };
30
54
 
@@ -23,6 +23,30 @@ const avatarStyles = (theme, { size, color }) => {
23
23
  user-select: ${theme.shared["user-select"]};
24
24
  color: ${theme.shared.color[color].text};
25
25
  ${convertTypographyToEmotionStringStyle(theme[size].typography)}
26
+
27
+ &[data-avatar-context='interactive']:hover {
28
+ background-color: ${theme.shared.color[color][":hover"].background};
29
+
30
+ :has(> img) {
31
+ background-color: black;
32
+ }
33
+
34
+ img {
35
+ mask-image: linear-gradient(rgb(0 0 0 / 70%), rgb(0 0 0 / 70%));
36
+ }
37
+ }
38
+
39
+ &[data-avatar-context='interactive']:active {
40
+ background-color: ${theme.shared.color[color][":active"].background};
41
+
42
+ :has(> img) {
43
+ background-color: black;
44
+ }
45
+
46
+ img {
47
+ mask-image: linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 60%));
48
+ }
49
+ }
26
50
  `;
27
51
  };
28
52
 
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
+ var reactAriaComponents = require('react-aria-components');
5
+ var mergeDeep = require('../../util/mergeDeep.cjs');
6
+ var Avatar = require('../avatar/Avatar.cjs');
7
+ var styles = require('./styles.cjs');
8
+
9
+ function AvatarButton(props) {
10
+ const mergedTheme = mergeDeep.mergeDeep(styles.defaultAvatarButtonTheme, props.theme ?? {});
11
+ return /* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Button, { css: styles.avatarButtonStyles(mergedTheme), ...props, children: /* @__PURE__ */ jsxRuntime.jsx(Avatar.Avatar, { ...props, "data-avatar-context": "interactive" }) });
12
+ }
13
+
14
+ exports.AvatarButton = AvatarButton;
@@ -0,0 +1,12 @@
1
+ import { jsx } from '@emotion/react/jsx-runtime';
2
+ import { Button } from 'react-aria-components';
3
+ import { mergeDeep } from '../../util/mergeDeep.js';
4
+ import { Avatar } from '../avatar/Avatar.js';
5
+ import { defaultAvatarButtonTheme, avatarButtonStyles } from './styles.js';
6
+
7
+ function AvatarButton(props) {
8
+ const mergedTheme = mergeDeep(defaultAvatarButtonTheme, props.theme ?? {});
9
+ return jsx(Button, { css: avatarButtonStyles(mergedTheme), ...props, children: jsx(Avatar, { ...props, "data-avatar-context": "interactive" }) });
10
+ }
11
+
12
+ export { AvatarButton };
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var react = require('@emotion/react');
4
+ var styles = require('../avatar/styles.cjs');
5
+
6
+ const defaultAvatarButtonTheme = styles.defaultAvatarTheme;
7
+ const avatarButtonStyles = (theme) => {
8
+ return react.css`
9
+ display: ${theme.shared.display};
10
+ width: ${theme.shared.link.width};
11
+ background: ${theme.shared.button.background};
12
+ border: ${theme.shared.button.border};
13
+ padding: ${theme.shared.button.padding};
14
+ cursor: ${theme.shared.button.cursor};
15
+ &[data-focus-visible],
16
+ &:focus-visible {
17
+ outline: ${theme.shared.link[":focus-visible"].outline};
18
+ outline-offset: ${theme.shared.link[":focus-visible"]["outline-offset"]};
19
+ border-radius: ${theme.shared["border-radius"]};
20
+ }
21
+ &[data-disabled],
22
+ &:disabled {
23
+ cursor: ${theme.shared.button[":disabled"].cursor};
24
+ }
25
+ `;
26
+ };
27
+
28
+ exports.avatarButtonStyles = avatarButtonStyles;
29
+ exports.defaultAvatarButtonTheme = defaultAvatarButtonTheme;
@@ -0,0 +1,26 @@
1
+ import { css } from '@emotion/react';
2
+ import { defaultAvatarTheme } from '../avatar/styles.js';
3
+
4
+ const defaultAvatarButtonTheme = defaultAvatarTheme;
5
+ const avatarButtonStyles = (theme) => {
6
+ return css`
7
+ display: ${theme.shared.display};
8
+ width: ${theme.shared.link.width};
9
+ background: ${theme.shared.button.background};
10
+ border: ${theme.shared.button.border};
11
+ padding: ${theme.shared.button.padding};
12
+ cursor: ${theme.shared.button.cursor};
13
+ &[data-focus-visible],
14
+ &:focus-visible {
15
+ outline: ${theme.shared.link[":focus-visible"].outline};
16
+ outline-offset: ${theme.shared.link[":focus-visible"]["outline-offset"]};
17
+ border-radius: ${theme.shared["border-radius"]};
18
+ }
19
+ &[data-disabled],
20
+ &:disabled {
21
+ cursor: ${theme.shared.button[":disabled"].cursor};
22
+ }
23
+ `;
24
+ };
25
+
26
+ export { avatarButtonStyles, defaultAvatarButtonTheme };
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
+ var reactAriaComponents = require('react-aria-components');
5
+ var mergeDeep = require('../../util/mergeDeep.cjs');
6
+ var Avatar = require('../avatar/Avatar.cjs');
7
+ var styles = require('./styles.cjs');
8
+
9
+ function AvatarLink(props) {
10
+ const mergedTheme = mergeDeep.mergeDeep(styles.defaultAvatarLinkTheme, props.theme ?? {});
11
+ return /* @__PURE__ */ jsxRuntime.jsx(reactAriaComponents.Link, { css: styles.avatarLinkStyles(mergedTheme), ...props, children: /* @__PURE__ */ jsxRuntime.jsx(Avatar.Avatar, { ...props, "data-avatar-context": "interactive" }) });
12
+ }
13
+
14
+ exports.AvatarLink = AvatarLink;
@@ -0,0 +1,12 @@
1
+ import { jsx } from '@emotion/react/jsx-runtime';
2
+ import { Link } from 'react-aria-components';
3
+ import { mergeDeep } from '../../util/mergeDeep.js';
4
+ import { Avatar } from '../avatar/Avatar.js';
5
+ import { defaultAvatarLinkTheme, avatarLinkStyles } from './styles.js';
6
+
7
+ function AvatarLink(props) {
8
+ const mergedTheme = mergeDeep(defaultAvatarLinkTheme, props.theme ?? {});
9
+ return jsx(Link, { css: avatarLinkStyles(mergedTheme), ...props, children: jsx(Avatar, { ...props, "data-avatar-context": "interactive" }) });
10
+ }
11
+
12
+ export { AvatarLink };
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ var react = require('@emotion/react');
4
+ var styles = require('../avatar/styles.cjs');
5
+
6
+ const defaultAvatarLinkTheme = styles.defaultAvatarTheme;
7
+ const avatarLinkStyles = (theme) => {
8
+ return react.css`
9
+ display: ${theme.shared.display};
10
+ width: ${theme.shared.link.width};
11
+
12
+ &[data-focus-visible],
13
+ &:focus-visible {
14
+ outline: ${theme.shared.link[":focus-visible"].outline};
15
+ outline-offset: ${theme.shared.link[":focus-visible"]["outline-offset"]};
16
+ border-radius: ${theme.shared["border-radius"]};
17
+ }
18
+
19
+ text-decoration: ${theme.shared.link["text-decoration"]};
20
+ `;
21
+ };
22
+
23
+ exports.avatarLinkStyles = avatarLinkStyles;
24
+ exports.defaultAvatarLinkTheme = defaultAvatarLinkTheme;
@@ -0,0 +1,21 @@
1
+ import { css } from '@emotion/react';
2
+ import { defaultAvatarTheme } from '../avatar/styles.js';
3
+
4
+ const defaultAvatarLinkTheme = defaultAvatarTheme;
5
+ const avatarLinkStyles = (theme) => {
6
+ return css`
7
+ display: ${theme.shared.display};
8
+ width: ${theme.shared.link.width};
9
+
10
+ &[data-focus-visible],
11
+ &:focus-visible {
12
+ outline: ${theme.shared.link[":focus-visible"].outline};
13
+ outline-offset: ${theme.shared.link[":focus-visible"]["outline-offset"]};
14
+ border-radius: ${theme.shared["border-radius"]};
15
+ }
16
+
17
+ text-decoration: ${theme.shared.link["text-decoration"]};
18
+ `;
19
+ };
20
+
21
+ export { avatarLinkStyles, defaultAvatarLinkTheme };
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
4
+ var React = require('react');
5
+ var mergeDeep = require('../../util/mergeDeep.cjs');
6
+ var Icon = require('../icon/Icon.cjs');
7
+ var Typography = require('../typography/Typography.cjs');
8
+ var styles = require('./styles.cjs');
9
+
10
+ function InlineMessage({
11
+ children,
12
+ level,
13
+ hideIcon = false,
14
+ icon,
15
+ theme = {},
16
+ cssOverrides,
17
+ className,
18
+ ...props
19
+ }) {
20
+ const mergedTheme = mergeDeep.mergeDeep(styles.defaultInlineMessageTheme, theme);
21
+ const determinedIcon = React.useMemo(() => {
22
+ if (icon) {
23
+ return icon;
24
+ }
25
+ switch (level) {
26
+ case "error":
27
+ return "warning";
28
+ case "success":
29
+ return "check_circle";
30
+ case "information":
31
+ default:
32
+ return "info";
33
+ }
34
+ }, [icon, level]);
35
+ return /* @__PURE__ */ jsxRuntime.jsxs(
36
+ "div",
37
+ {
38
+ css: [styles.inlineMessageStyles(mergedTheme, { level }), cssOverrides],
39
+ className,
40
+ ...props,
41
+ children: [
42
+ !hideIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon.Icon, { fill: mergedTheme[level].color, size: "md", children: determinedIcon }),
43
+ /* @__PURE__ */ jsxRuntime.jsx(
44
+ Typography.Typography,
45
+ {
46
+ variant: "help-text-form-md",
47
+ theme: { color: mergedTheme[level].color },
48
+ children
49
+ }
50
+ )
51
+ ]
52
+ }
53
+ );
54
+ }
55
+
56
+ exports.InlineMessage = InlineMessage;
@@ -0,0 +1,27 @@
1
+ import { jsxs, jsx } from '@emotion/react/jsx-runtime';
2
+ import { useMemo } from 'react';
3
+ import { mergeDeep } from '../../util/mergeDeep.js';
4
+ import { Icon } from '../icon/Icon.js';
5
+ import { Typography } from '../typography/Typography.js';
6
+ import { inlineMessageStyles, defaultInlineMessageTheme } from './styles.js';
7
+
8
+ function InlineMessage({ children, level, hideIcon = false, icon, theme = {}, cssOverrides, className, ...props }) {
9
+ const mergedTheme = mergeDeep(defaultInlineMessageTheme, theme);
10
+ const determinedIcon = useMemo(() => {
11
+ if (icon) {
12
+ return icon;
13
+ }
14
+ switch (level) {
15
+ case "error":
16
+ return "warning";
17
+ case "success":
18
+ return "check_circle";
19
+ case "information":
20
+ default:
21
+ return "info";
22
+ }
23
+ }, [icon, level]);
24
+ return jsxs("div", { css: [inlineMessageStyles(mergedTheme, { level }), cssOverrides], className, ...props, children: [!hideIcon && jsx(Icon, { fill: mergedTheme[level].color, size: "md", children: determinedIcon }), jsx(Typography, { variant: "help-text-form-md", theme: { color: mergedTheme[level].color }, children })] });
25
+ }
26
+
27
+ export { InlineMessage };
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var react = require('@emotion/react');
4
+ var inlineMessage = require('../../styleD/build/typescript/component/inlineMessage.cjs');
5
+
6
+ const defaultInlineMessageTheme = inlineMessage.componentInlineMessage;
7
+ const inlineMessageStyles = (theme, { level }) => {
8
+ return react.css`
9
+ display: ${theme.shared.display};
10
+ align-items: ${theme.shared["align-items"]};
11
+ gap: ${theme.shared.gap};
12
+ color: ${theme[level].color};
13
+ `;
14
+ };
15
+
16
+ exports.defaultInlineMessageTheme = defaultInlineMessageTheme;
17
+ exports.inlineMessageStyles = inlineMessageStyles;
@@ -0,0 +1,14 @@
1
+ import { css } from '@emotion/react';
2
+ import { componentInlineMessage } from '../../styleD/build/typescript/component/inlineMessage.js';
3
+
4
+ const defaultInlineMessageTheme = componentInlineMessage;
5
+ const inlineMessageStyles = (theme, { level }) => {
6
+ return css`
7
+ display: ${theme.shared.display};
8
+ align-items: ${theme.shared["align-items"]};
9
+ gap: ${theme.shared.gap};
10
+ color: ${theme[level].color};
11
+ `;
12
+ };
13
+
14
+ export { defaultInlineMessageTheme, inlineMessageStyles };
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 inlineMessage = require('./styleD/build/typescript/component/inlineMessage.cjs');
12
13
  var menu = require('./styleD/build/typescript/component/menu.cjs');
13
14
  var TopBar = require('./styleD/build/typescript/component/TopBar.cjs');
14
15
  var colors = require('./styleD/build/typescript/base/colors.cjs');
@@ -32,6 +33,7 @@ exports.componentButton = button.componentButton;
32
33
  exports.componentTypography = typography$1.componentTypography;
33
34
  exports.componentIcon = icon.componentIcon;
34
35
  exports.componentFavicon = favicon.componentFavicon;
36
+ exports.componentInlineMessage = inlineMessage.componentInlineMessage;
35
37
  exports.componentMenu = menu.componentMenu;
36
38
  exports.componentTopBar = TopBar.componentTopBar;
37
39
  exports.baseColors = colors.baseColors;
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 { componentInlineMessage } from './styleD/build/typescript/component/inlineMessage.js';
10
11
  export { componentMenu } from './styleD/build/typescript/component/menu.js';
11
12
  export { componentTopBar } from './styleD/build/typescript/component/TopBar.js';
12
13
  export { baseColors } from './styleD/build/typescript/base/colors.js';
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var InlineMessage = require('./components/inline-message/InlineMessage.cjs');
4
+ var inlineMessage = require('./styleD/build/typescript/component/inlineMessage.cjs');
5
+
6
+
7
+
8
+ exports.InlineMessage = InlineMessage.InlineMessage;
9
+ exports.componentInlineMessage = inlineMessage.componentInlineMessage;
@@ -0,0 +1,2 @@
1
+ export { InlineMessage } from './components/inline-message/InlineMessage.js';
2
+ export { componentInlineMessage } from './styleD/build/typescript/component/inlineMessage.js';
@@ -6,36 +6,58 @@
6
6
  --component-avatar-shared-color-green-text: #24491d;
7
7
  --component-avatar-shared-color-green-background: #cde4c9;
8
8
  --component-avatar-shared-color-green-border: unset;
9
+ --component-avatar-shared-color-green-hover-background: #aed2a6;
10
+ --component-avatar-shared-color-green-active-background: #8ec183;
9
11
  --component-avatar-shared-color-blue-text: #092f62;
10
12
  --component-avatar-shared-color-blue-background: #c5d9f4;
11
13
  --component-avatar-shared-color-blue-border: unset;
14
+ --component-avatar-shared-color-blue-hover-background: #93b9ec;
15
+ --component-avatar-shared-color-blue-active-background: #699ee5;
12
16
  --component-avatar-shared-color-red-text: #65170e;
13
17
  --component-avatar-shared-color-red-background: #f5c6c0;
14
18
  --component-avatar-shared-color-red-border: unset;
19
+ --component-avatar-shared-color-red-hover-background: #eea198;
20
+ --component-avatar-shared-color-red-active-background: #e87c6f;
15
21
  --component-avatar-shared-color-cyan-text: #00344e;
16
22
  --component-avatar-shared-color-cyan-background: #b8d8e7;
17
23
  --component-avatar-shared-color-cyan-border: unset;
24
+ --component-avatar-shared-color-cyan-hover-background: #8abed7;
25
+ --component-avatar-shared-color-cyan-active-background: #5ca5c8;
18
26
  --component-avatar-shared-color-teal-text: #0e2729;
19
27
  --component-avatar-shared-color-teal-background: #c5dfe1;
20
28
  --component-avatar-shared-color-teal-border: unset;
29
+ --component-avatar-shared-color-teal-hover-background: #a0cace;
30
+ --component-avatar-shared-color-teal-active-background: #7bb5bb;
21
31
  --component-avatar-shared-color-cool-purple-text: #394069;
22
32
  --component-avatar-shared-color-cool-purple-background: #dbdff7;
23
33
  --component-avatar-shared-color-cool-purple-border: unset;
34
+ --component-avatar-shared-color-cool-purple-hover-background: #c3caf3;
35
+ --component-avatar-shared-color-cool-purple-active-background: #acb5ee;
24
36
  --component-avatar-shared-color-warm-purple-text: #381350;
25
37
  --component-avatar-shared-color-warm-purple-background: #dac3e8;
26
38
  --component-avatar-shared-color-warm-purple-border: unset;
39
+ --component-avatar-shared-color-warm-purple-hover-background: #c29dd9;
40
+ --component-avatar-shared-color-warm-purple-active-background: #aa76cb;
27
41
  --component-avatar-shared-color-magenta-text: #581734;
28
42
  --component-avatar-shared-color-magenta-background: #edc6d7;
29
43
  --component-avatar-shared-color-magenta-border: unset;
44
+ --component-avatar-shared-color-magenta-hover-background: #e2a1be;
45
+ --component-avatar-shared-color-magenta-active-background: #d67ca4;
30
46
  --component-avatar-shared-color-orange-text: #693c16;
31
47
  --component-avatar-shared-color-orange-background: #fcddc6;
32
48
  --component-avatar-shared-color-orange-border: unset;
49
+ --component-avatar-shared-color-orange-hover-background: #fac7a1;
50
+ --component-avatar-shared-color-orange-active-background: #f9b27c;
33
51
  --component-avatar-shared-color-yellow-text: #5b4a0b;
34
52
  --component-avatar-shared-color-yellow-background: #fbeebf;
35
53
  --component-avatar-shared-color-yellow-border: unset;
54
+ --component-avatar-shared-color-yellow-hover-background: #f9e396;
55
+ --component-avatar-shared-color-yellow-active-background: #f6d86d;
36
56
  --component-avatar-shared-color-outlined-text: #000000;
37
57
  --component-avatar-shared-color-outlined-background: none;
38
58
  --component-avatar-shared-color-outlined-border: 0.0625rem solid #8d8d8d;
59
+ --component-avatar-shared-color-outlined-hover-background: #ededed;
60
+ --component-avatar-shared-color-outlined-active-background: #dcdcdc;
39
61
  --component-avatar-shared-display: inline-flex;
40
62
  --component-avatar-shared-align-items: center;
41
63
  --component-avatar-shared-justify-content: center;
@@ -43,6 +65,15 @@
43
65
  --component-avatar-shared-flex-shrink: 0;
44
66
  --component-avatar-shared-border-radius: 50%;
45
67
  --component-avatar-shared-user-select: none;
68
+ --component-avatar-shared-link-width: fit-content;
69
+ --component-avatar-shared-link-focus-visible-outline: 0.125rem solid #0072a9;
70
+ --component-avatar-shared-link-focus-visible-outline-offset: 0.125rem;
71
+ --component-avatar-shared-link-text-decoration: none;
72
+ --component-avatar-shared-button-background: none;
73
+ --component-avatar-shared-button-border: none;
74
+ --component-avatar-shared-button-padding: 0;
75
+ --component-avatar-shared-button-cursor: pointer;
76
+ --component-avatar-shared-button-disabled-cursor: not-allowed;
46
77
  --component-avatar-sm-size: 2rem;
47
78
  --component-avatar-sm-typography-font: normal 700 0.75rem/1 'Open Sans';
48
79
  --component-avatar-sm-typography-letter-spacing: 0;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --component-inline-message-shared-display: inline-flex;
7
+ --component-inline-message-shared-gap: 0.25rem;
8
+ --component-inline-message-shared-align-items: center;
9
+ --component-inline-message-shared-icon-size: 1.25rem;
10
+ --component-inline-message-shared-typography-font: normal 460 0.875rem/1.3
11
+ 'Open Sans';
12
+ --component-inline-message-shared-typography-letter-spacing: 0;
13
+ --component-inline-message-shared-typography-font-width: 95;
14
+ --component-inline-message-error-color: #8c2113;
15
+ --component-inline-message-success-color: #326528;
16
+ --component-inline-message-information-color: #00344e;
17
+ }
@@ -146,4 +146,42 @@
146
146
  --semantic-typography-interactive-md-font: normal 700 1rem/1 'Open Sans';
147
147
  --semantic-typography-interactive-md-letter-spacing: -0.0125rem;
148
148
  --semantic-typography-interactive-md-font-width: 95;
149
+ --semantic-typography-label-form-sm-font: normal 700 0.875rem/1.15 'Open Sans';
150
+ --semantic-typography-label-form-sm-letter-spacing: -0.0125rem;
151
+ --semantic-typography-label-form-sm-font-width: 95;
152
+ --semantic-typography-label-form-md-font: normal 700 1rem/1.15 'Open Sans';
153
+ --semantic-typography-label-form-md-letter-spacing: -0.03125rem;
154
+ --semantic-typography-label-form-md-font-width: 95;
155
+ --semantic-typography-label-form-inline-sm-font: normal 460 0.875rem/1.3
156
+ 'Open Sans';
157
+ --semantic-typography-label-form-inline-sm-letter-spacing: 0;
158
+ --semantic-typography-label-form-inline-sm-font-width: 95;
159
+ --semantic-typography-label-form-inline-md-font: normal 460 1rem/1.3
160
+ 'Open Sans';
161
+ --semantic-typography-label-form-inline-md-letter-spacing: 0;
162
+ --semantic-typography-label-form-inline-md-font-width: 95;
163
+ --semantic-typography-label-form-compact-sm-font: normal 700 0.875rem/1.15
164
+ 'Open Sans';
165
+ --semantic-typography-label-form-compact-sm-letter-spacing: 0;
166
+ --semantic-typography-label-form-compact-sm-font-width: 88;
167
+ --semantic-typography-label-form-compact-md-font: normal 700 1rem/1.15
168
+ 'Open Sans';
169
+ --semantic-typography-label-form-compact-md-letter-spacing: -0.0125rem;
170
+ --semantic-typography-label-form-compact-md-font-width: 88;
171
+ --semantic-typography-label-form-inline-compact-sm-font: normal 460
172
+ 0.875rem/1.3 'Open Sans';
173
+ --semantic-typography-label-form-inline-compact-sm-letter-spacing: 0;
174
+ --semantic-typography-label-form-inline-compact-sm-font-width: 88;
175
+ --semantic-typography-label-form-inline-compact-md-font: normal 460 1rem/1.3
176
+ 'Open Sans';
177
+ --semantic-typography-label-form-inline-compact-md-letter-spacing: 0;
178
+ --semantic-typography-label-form-inline-compact-md-font-width: 88;
179
+ --semantic-typography-help-text-form-md-font: normal 460 0.875rem/1.3
180
+ 'Open Sans';
181
+ --semantic-typography-help-text-form-md-letter-spacing: 0;
182
+ --semantic-typography-help-text-form-md-font-width: 95;
183
+ --semantic-typography-help-text-form-compact-md-font: normal 460 0.875rem/1.3
184
+ 'Open Sans';
185
+ --semantic-typography-help-text-form-compact-md-letter-spacing: 0;
186
+ --semantic-typography-help-text-form-compact-md-font-width: 88;
149
187
  }