@guardian/stand 0.0.17 → 0.0.19
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.
- package/dist/avatarButton.cjs +7 -0
- package/dist/avatarButton.js +1 -0
- package/dist/avatarLink.cjs +7 -0
- package/dist/avatarLink.js +1 -0
- package/dist/components/avatar/styles.cjs +24 -0
- package/dist/components/avatar/styles.js +24 -0
- package/dist/components/avatar-button/AvatarButton.cjs +14 -0
- package/dist/components/avatar-button/AvatarButton.js +12 -0
- package/dist/components/avatar-button/styles.cjs +29 -0
- package/dist/components/avatar-button/styles.js +26 -0
- package/dist/components/avatar-link/AvatarLink.cjs +14 -0
- package/dist/components/avatar-link/AvatarLink.js +12 -0
- package/dist/components/avatar-link/styles.cjs +24 -0
- package/dist/components/avatar-link/styles.js +21 -0
- package/dist/components/inline-message/InlineMessage.cjs +56 -0
- package/dist/components/inline-message/InlineMessage.js +27 -0
- package/dist/components/inline-message/styles.cjs +17 -0
- package/dist/components/inline-message/styles.js +14 -0
- package/dist/components/select/Select.cjs +67 -0
- package/dist/components/select/Select.js +33 -0
- package/dist/components/select/styles.cjs +126 -0
- package/dist/components/select/styles.js +117 -0
- package/dist/index.cjs +4 -0
- package/dist/index.js +2 -0
- package/dist/inline-message.cjs +9 -0
- package/dist/inline-message.js +2 -0
- package/dist/select.cjs +9 -0
- package/dist/select.js +2 -0
- package/dist/styleD/build/css/component/avatar.css +31 -0
- package/dist/styleD/build/css/component/inlineMessage.css +17 -0
- package/dist/styleD/build/css/component/select.css +57 -0
- package/dist/styleD/build/css/semantic/typography.css +38 -0
- package/dist/styleD/build/typescript/component/avatar.cjs +95 -12
- package/dist/styleD/build/typescript/component/avatar.js +95 -12
- package/dist/styleD/build/typescript/component/inlineMessage.cjs +28 -0
- package/dist/styleD/build/typescript/component/inlineMessage.js +26 -0
- package/dist/styleD/build/typescript/component/select.cjs +88 -0
- package/dist/styleD/build/typescript/component/select.js +86 -0
- package/dist/styleD/build/typescript/semantic/typography.cjs +50 -0
- package/dist/styleD/build/typescript/semantic/typography.js +50 -0
- package/dist/types/avatar-button.d.ts +18 -0
- package/dist/types/avatar-link.d.ts +18 -0
- package/dist/types/components/avatar-button/AvatarButton.d.ts +2 -0
- package/dist/types/components/avatar-button/sandbox.d.ts +5 -0
- package/dist/types/components/avatar-button/styles.d.ts +6 -0
- package/dist/types/components/avatar-button/types.d.ts +3 -0
- package/dist/types/components/avatar-link/AvatarLink.d.ts +2 -0
- package/dist/types/components/avatar-link/sandbox.d.ts +5 -0
- package/dist/types/components/avatar-link/styles.d.ts +6 -0
- package/dist/types/components/avatar-link/types.d.ts +3 -0
- package/dist/types/components/inline-message/InlineMessage.d.ts +2 -0
- package/dist/types/components/inline-message/sandbox.d.ts +5 -0
- package/dist/types/components/inline-message/styles.d.ts +8 -0
- package/dist/types/components/inline-message/types.d.ts +21 -0
- package/dist/types/components/select/Select.d.ts +3 -0
- package/dist/types/components/select/sandbox.d.ts +5 -0
- package/dist/types/components/select/styles.d.ts +13 -0
- package/dist/types/components/select/types.d.ts +21 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/inline-message.d.ts +19 -0
- package/dist/types/select.d.ts +20 -0
- package/dist/types/styleD/build/typescript/component/avatar.d.ts +83 -0
- package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +28 -0
- package/dist/types/styleD/build/typescript/component/select.d.ts +88 -0
- package/dist/types/styleD/build/typescript/semantic/typography.d.ts +50 -0
- package/package.json +39 -5
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { css } from '@emotion/react';
|
|
2
|
+
import { componentSelect } from '../../styleD/build/typescript/component/select.js';
|
|
3
|
+
import { convertTypographyToEmotionStringStyle } from '../../styleD/utils/semantic/typography.js';
|
|
4
|
+
|
|
5
|
+
const defaultSelectTheme = componentSelect;
|
|
6
|
+
const selectStyles = (theme) => {
|
|
7
|
+
return css`
|
|
8
|
+
display: ${theme.shared.display};
|
|
9
|
+
flex-direction: ${theme.shared.flexDirection};
|
|
10
|
+
gap: ${theme.shared.gap};
|
|
11
|
+
|
|
12
|
+
max-width: ${theme.shared.maxWidth};
|
|
13
|
+
width: ${theme.shared.width};
|
|
14
|
+
`;
|
|
15
|
+
};
|
|
16
|
+
const popoverStyles = (theme) => {
|
|
17
|
+
return css`
|
|
18
|
+
max-width: ${theme.shared.maxWidth};
|
|
19
|
+
width: ${theme.shared.width};
|
|
20
|
+
`;
|
|
21
|
+
};
|
|
22
|
+
const listBoxItemStyles = (theme) => {
|
|
23
|
+
return css`
|
|
24
|
+
padding-left: ${theme.option.paddingLeft};
|
|
25
|
+
padding-right: ${theme.option.paddingRight};
|
|
26
|
+
padding-top: ${theme.option.paddingTop};
|
|
27
|
+
padding-bottom: ${theme.option.paddingBottom};
|
|
28
|
+
|
|
29
|
+
&[data-hovered] {
|
|
30
|
+
outline: ${theme.shared.hover.outline};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Hovering adds data-focused and the item stays focused after hovering away */
|
|
34
|
+
&[data-focused] {
|
|
35
|
+
background-color: ${theme.shared.hover.backgroundColor};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Override default browser focus behaviour */
|
|
39
|
+
:focus-visible {
|
|
40
|
+
outline: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&[data-focus-visible] {
|
|
44
|
+
outline: ${theme.option.focused.outline};
|
|
45
|
+
outline-offset: ${theme.option.focused["outline-offset"]};
|
|
46
|
+
background-color: ${theme.option.focused.backgroundColor};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Must be last to take precedence */
|
|
50
|
+
&[data-pressed] {
|
|
51
|
+
background-color: ${theme.shared.pressed.backgroundColor};
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
54
|
+
};
|
|
55
|
+
const listBoxStyles = (theme) => {
|
|
56
|
+
return css`
|
|
57
|
+
${convertTypographyToEmotionStringStyle(theme.listBox.typography)}
|
|
58
|
+
background-color: ${theme.listBox.backgroundColor};
|
|
59
|
+
border: ${theme.listBox.border};
|
|
60
|
+
box-shadow: ${theme.listBox.shadow};
|
|
61
|
+
max-width: ${theme.shared.maxWidth};
|
|
62
|
+
width: ${theme.shared.width};
|
|
63
|
+
outline: none;
|
|
64
|
+
`;
|
|
65
|
+
};
|
|
66
|
+
const labelStyles = (theme) => {
|
|
67
|
+
return css`
|
|
68
|
+
color: ${theme.label.color};
|
|
69
|
+
${convertTypographyToEmotionStringStyle(theme.label.typography)};
|
|
70
|
+
`;
|
|
71
|
+
};
|
|
72
|
+
const helpTextStyles = (theme) => {
|
|
73
|
+
return css`
|
|
74
|
+
color: ${theme.helpText.color};
|
|
75
|
+
${convertTypographyToEmotionStringStyle(theme.helpText.typography)}
|
|
76
|
+
`;
|
|
77
|
+
};
|
|
78
|
+
const buttonStyles = (theme, isInvalid) => {
|
|
79
|
+
return css`
|
|
80
|
+
display: ${theme.button.display};
|
|
81
|
+
justify-content: ${theme.button.justifyContent};
|
|
82
|
+
align-items: ${theme.button.alignItems};
|
|
83
|
+
background-color: ${theme.button.backgroundColor};
|
|
84
|
+
border: ${theme.button.border};
|
|
85
|
+
border-radius: ${theme.button.borderRadius};
|
|
86
|
+
height: ${theme.button.height};
|
|
87
|
+
padding-left: ${theme.button.paddingLeft};
|
|
88
|
+
padding-right: ${theme.button.paddingRight};
|
|
89
|
+
margin-top: ${theme.button.marginTop};
|
|
90
|
+
${convertTypographyToEmotionStringStyle(theme.button.typography)}
|
|
91
|
+
color: ${theme.button.color};
|
|
92
|
+
|
|
93
|
+
&[data-hovered] {
|
|
94
|
+
background-color: ${theme.shared.hover.backgroundColor};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&[data-pressed] {
|
|
98
|
+
background-color: ${theme.shared.pressed.backgroundColor};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&[data-focus-visible] {
|
|
102
|
+
outline: ${theme.button.focused.outline};
|
|
103
|
+
outline-offset: ${theme.button.focused["outline-offset"]};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&[data-disabled] {
|
|
107
|
+
cursor: ${theme.button.disabled.cursor};
|
|
108
|
+
background-color: ${theme.button.disabled.backgroundColor};
|
|
109
|
+
color: ${theme.button.disabled.color};
|
|
110
|
+
border: ${theme.button.disabled.border};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
${isInvalid ? `border: ${theme.button.error.border};` : ``}
|
|
114
|
+
`;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export { buttonStyles, defaultSelectTheme, helpTextStyles, labelStyles, listBoxItemStyles, listBoxStyles, popoverStyles, selectStyles };
|
package/dist/index.cjs
CHANGED
|
@@ -9,6 +9,8 @@ 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');
|
|
13
|
+
var select = require('./styleD/build/typescript/component/select.cjs');
|
|
12
14
|
var menu = require('./styleD/build/typescript/component/menu.cjs');
|
|
13
15
|
var TopBar = require('./styleD/build/typescript/component/TopBar.cjs');
|
|
14
16
|
var colors = require('./styleD/build/typescript/base/colors.cjs');
|
|
@@ -32,6 +34,8 @@ exports.componentButton = button.componentButton;
|
|
|
32
34
|
exports.componentTypography = typography$1.componentTypography;
|
|
33
35
|
exports.componentIcon = icon.componentIcon;
|
|
34
36
|
exports.componentFavicon = favicon.componentFavicon;
|
|
37
|
+
exports.componentInlineMessage = inlineMessage.componentInlineMessage;
|
|
38
|
+
exports.componentSelect = select.componentSelect;
|
|
35
39
|
exports.componentMenu = menu.componentMenu;
|
|
36
40
|
exports.componentTopBar = TopBar.componentTopBar;
|
|
37
41
|
exports.baseColors = colors.baseColors;
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,8 @@ 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';
|
|
11
|
+
export { componentSelect } from './styleD/build/typescript/component/select.js';
|
|
10
12
|
export { componentMenu } from './styleD/build/typescript/component/menu.js';
|
|
11
13
|
export { componentTopBar } from './styleD/build/typescript/component/TopBar.js';
|
|
12
14
|
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;
|
package/dist/select.cjs
ADDED
package/dist/select.js
ADDED
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-select-shared-display: flex;
|
|
7
|
+
--component-select-shared-flex-direction: column;
|
|
8
|
+
--component-select-shared-gap: 0.25rem;
|
|
9
|
+
--component-select-shared-max-width: 333px;
|
|
10
|
+
--component-select-shared-width: 100%;
|
|
11
|
+
--component-select-shared-hover-background-color: #f6f6f6;
|
|
12
|
+
--component-select-shared-hover-outline: none; /** Override outline focus styles on hover */
|
|
13
|
+
--component-select-shared-pressed-background-color: #ededed;
|
|
14
|
+
--component-select-label-color: #000000;
|
|
15
|
+
--component-select-label-typography-font: normal 700 1rem/1.15 'Open Sans';
|
|
16
|
+
--component-select-label-typography-letter-spacing: -0.03125rem;
|
|
17
|
+
--component-select-label-typography-font-width: 95;
|
|
18
|
+
--component-select-help-text-color: #545454;
|
|
19
|
+
--component-select-help-text-typography-font: normal 460 0.875rem/1.3
|
|
20
|
+
'Open Sans';
|
|
21
|
+
--component-select-help-text-typography-letter-spacing: 0;
|
|
22
|
+
--component-select-help-text-typography-font-width: 95;
|
|
23
|
+
--component-select-button-display: flex;
|
|
24
|
+
--component-select-button-justify-content: space-between;
|
|
25
|
+
--component-select-button-align-items: center;
|
|
26
|
+
--component-select-button-margin-top: 0.25rem;
|
|
27
|
+
--component-select-button-background-color: #ffffff;
|
|
28
|
+
--component-select-button-border: 0.0625rem solid #545454;
|
|
29
|
+
--component-select-button-border-radius: 0.25rem;
|
|
30
|
+
--component-select-button-height: 2.5rem;
|
|
31
|
+
--component-select-button-padding-left: 0.75rem;
|
|
32
|
+
--component-select-button-padding-right: 0.25rem;
|
|
33
|
+
--component-select-button-color: #545454;
|
|
34
|
+
--component-select-button-typography-font: normal 460 1rem/1.3 'Open Sans';
|
|
35
|
+
--component-select-button-typography-letter-spacing: 0;
|
|
36
|
+
--component-select-button-typography-font-width: 95;
|
|
37
|
+
--component-select-button-focused-outline: 0.125rem solid #0072a9;
|
|
38
|
+
--component-select-button-focused-outline-offset: 0.125rem;
|
|
39
|
+
--component-select-button-disabled-background-color: #ffffff;
|
|
40
|
+
--component-select-button-disabled-cursor: not-allowed;
|
|
41
|
+
--component-select-button-disabled-color: #999999;
|
|
42
|
+
--component-select-button-disabled-border: 0.0625rem solid #dcdcdc;
|
|
43
|
+
--component-select-button-error-border: 0.0625rem solid #b42a19;
|
|
44
|
+
--component-select-option-padding-left: 1rem;
|
|
45
|
+
--component-select-option-padding-right: 1rem;
|
|
46
|
+
--component-select-option-padding-top: 0.75rem;
|
|
47
|
+
--component-select-option-padding-bottom: 0.75rem;
|
|
48
|
+
--component-select-option-focused-outline: 0.125rem solid #0072a9;
|
|
49
|
+
--component-select-option-focused-outline-offset: 0;
|
|
50
|
+
--component-select-option-focused-background-color: inherit;
|
|
51
|
+
--component-select-list-box-typography-font: normal 460 1rem/1.3 'Open Sans';
|
|
52
|
+
--component-select-list-box-typography-letter-spacing: 0;
|
|
53
|
+
--component-select-list-box-typography-font-width: 95;
|
|
54
|
+
--component-select-list-box-border: 0.0625rem solid #cccccc;
|
|
55
|
+
--component-select-list-box-background-color: #ffffff;
|
|
56
|
+
--component-select-list-box-shadow: 0 0.125rem 0.375rem 0 rgb(0% 0% 0% / 0.3);
|
|
57
|
+
}
|
|
@@ -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
|
}
|
|
@@ -6,57 +6,123 @@ const componentAvatar = {
|
|
|
6
6
|
green: {
|
|
7
7
|
text: "#24491d",
|
|
8
8
|
background: "#cde4c9",
|
|
9
|
-
border: "unset"
|
|
9
|
+
border: "unset",
|
|
10
|
+
":hover": {
|
|
11
|
+
background: "#aed2a6"
|
|
12
|
+
},
|
|
13
|
+
":active": {
|
|
14
|
+
background: "#8ec183"
|
|
15
|
+
}
|
|
10
16
|
},
|
|
11
17
|
blue: {
|
|
12
18
|
text: "#092f62",
|
|
13
19
|
background: "#c5d9f4",
|
|
14
|
-
border: "unset"
|
|
20
|
+
border: "unset",
|
|
21
|
+
":hover": {
|
|
22
|
+
background: "#93b9ec"
|
|
23
|
+
},
|
|
24
|
+
":active": {
|
|
25
|
+
background: "#699ee5"
|
|
26
|
+
}
|
|
15
27
|
},
|
|
16
28
|
red: {
|
|
17
29
|
text: "#65170e",
|
|
18
30
|
background: "#f5c6c0",
|
|
19
|
-
border: "unset"
|
|
31
|
+
border: "unset",
|
|
32
|
+
":hover": {
|
|
33
|
+
background: "#eea198"
|
|
34
|
+
},
|
|
35
|
+
":active": {
|
|
36
|
+
background: "#e87c6f"
|
|
37
|
+
}
|
|
20
38
|
},
|
|
21
39
|
cyan: {
|
|
22
40
|
text: "#00344e",
|
|
23
41
|
background: "#b8d8e7",
|
|
24
|
-
border: "unset"
|
|
42
|
+
border: "unset",
|
|
43
|
+
":hover": {
|
|
44
|
+
background: "#8abed7"
|
|
45
|
+
},
|
|
46
|
+
":active": {
|
|
47
|
+
background: "#5ca5c8"
|
|
48
|
+
}
|
|
25
49
|
},
|
|
26
50
|
teal: {
|
|
27
51
|
text: "#0e2729",
|
|
28
52
|
background: "#c5dfe1",
|
|
29
|
-
border: "unset"
|
|
53
|
+
border: "unset",
|
|
54
|
+
":hover": {
|
|
55
|
+
background: "#a0cace"
|
|
56
|
+
},
|
|
57
|
+
":active": {
|
|
58
|
+
background: "#7bb5bb"
|
|
59
|
+
}
|
|
30
60
|
},
|
|
31
61
|
"cool-purple": {
|
|
32
62
|
text: "#394069",
|
|
33
63
|
background: "#dbdff7",
|
|
34
|
-
border: "unset"
|
|
64
|
+
border: "unset",
|
|
65
|
+
":hover": {
|
|
66
|
+
background: "#c3caf3"
|
|
67
|
+
},
|
|
68
|
+
":active": {
|
|
69
|
+
background: "#acb5ee"
|
|
70
|
+
}
|
|
35
71
|
},
|
|
36
72
|
"warm-purple": {
|
|
37
73
|
text: "#381350",
|
|
38
74
|
background: "#dac3e8",
|
|
39
|
-
border: "unset"
|
|
75
|
+
border: "unset",
|
|
76
|
+
":hover": {
|
|
77
|
+
background: "#c29dd9"
|
|
78
|
+
},
|
|
79
|
+
":active": {
|
|
80
|
+
background: "#aa76cb"
|
|
81
|
+
}
|
|
40
82
|
},
|
|
41
83
|
magenta: {
|
|
42
84
|
text: "#581734",
|
|
43
85
|
background: "#edc6d7",
|
|
44
|
-
border: "unset"
|
|
86
|
+
border: "unset",
|
|
87
|
+
":hover": {
|
|
88
|
+
background: "#e2a1be"
|
|
89
|
+
},
|
|
90
|
+
":active": {
|
|
91
|
+
background: "#d67ca4"
|
|
92
|
+
}
|
|
45
93
|
},
|
|
46
94
|
orange: {
|
|
47
95
|
text: "#693c16",
|
|
48
96
|
background: "#fcddc6",
|
|
49
|
-
border: "unset"
|
|
97
|
+
border: "unset",
|
|
98
|
+
":hover": {
|
|
99
|
+
background: "#fac7a1"
|
|
100
|
+
},
|
|
101
|
+
":active": {
|
|
102
|
+
background: "#f9b27c"
|
|
103
|
+
}
|
|
50
104
|
},
|
|
51
105
|
yellow: {
|
|
52
106
|
text: "#5b4a0b",
|
|
53
107
|
background: "#fbeebf",
|
|
54
|
-
border: "unset"
|
|
108
|
+
border: "unset",
|
|
109
|
+
":hover": {
|
|
110
|
+
background: "#f9e396"
|
|
111
|
+
},
|
|
112
|
+
":active": {
|
|
113
|
+
background: "#f6d86d"
|
|
114
|
+
}
|
|
55
115
|
},
|
|
56
116
|
outlined: {
|
|
57
117
|
text: "#000000",
|
|
58
118
|
background: "none",
|
|
59
|
-
border: "0.0625rem solid #8d8d8d"
|
|
119
|
+
border: "0.0625rem solid #8d8d8d",
|
|
120
|
+
":hover": {
|
|
121
|
+
background: "#ededed"
|
|
122
|
+
},
|
|
123
|
+
":active": {
|
|
124
|
+
background: "#dcdcdc"
|
|
125
|
+
}
|
|
60
126
|
}
|
|
61
127
|
},
|
|
62
128
|
display: "inline-flex",
|
|
@@ -65,7 +131,24 @@ const componentAvatar = {
|
|
|
65
131
|
overflow: "hidden",
|
|
66
132
|
"flex-shrink": "0",
|
|
67
133
|
"border-radius": "50%",
|
|
68
|
-
"user-select": "none"
|
|
134
|
+
"user-select": "none",
|
|
135
|
+
link: {
|
|
136
|
+
width: "fit-content",
|
|
137
|
+
":focus-visible": {
|
|
138
|
+
outline: "0.125rem solid #0072a9",
|
|
139
|
+
"outline-offset": "0.125rem"
|
|
140
|
+
},
|
|
141
|
+
"text-decoration": "none"
|
|
142
|
+
},
|
|
143
|
+
button: {
|
|
144
|
+
background: "none",
|
|
145
|
+
border: "none",
|
|
146
|
+
padding: "0",
|
|
147
|
+
cursor: "pointer",
|
|
148
|
+
":disabled": {
|
|
149
|
+
cursor: "not-allowed"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
69
152
|
},
|
|
70
153
|
sm: {
|
|
71
154
|
size: "2rem",
|