@guardian/stand 0.0.16 → 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.
- package/README.md +1 -0
- package/dist/TopBar.cjs +9 -3
- package/dist/TopBar.js +4 -1
- 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/button/Button.cjs +1 -1
- package/dist/components/button/Button.js +1 -1
- package/dist/components/icon-button/IconButton.cjs +1 -1
- package/dist/components/icon-button/IconButton.js +1 -1
- package/dist/components/icon-link-button/IconLinkButton.cjs +1 -1
- package/dist/components/icon-link-button/IconLinkButton.js +1 -1
- 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/link-button/LinkButton.cjs +1 -1
- package/dist/components/link-button/LinkButton.js +1 -1
- package/dist/components/menu/styles.cjs +1 -0
- package/dist/components/menu/styles.js +1 -0
- package/dist/components/topbar/TopBar.cjs +101 -0
- package/dist/components/topbar/TopBar.js +63 -0
- package/dist/components/topbar/styles.cjs +30 -0
- package/dist/components/topbar/styles.js +25 -0
- package/dist/components/topbar/topBarItem/TopBarItem.cjs +28 -0
- package/dist/components/topbar/topBarItem/TopBarItem.js +10 -0
- package/dist/components/topbar/topBarItem/styles.cjs +20 -0
- package/dist/components/topbar/topBarItem/styles.js +17 -0
- package/dist/components/topbar/topBarNavigation/TopBarNavigation.cjs +70 -0
- package/dist/components/topbar/topBarNavigation/TopBarNavigation.js +23 -0
- package/dist/components/topbar/topBarNavigation/styles.cjs +68 -0
- package/dist/components/topbar/topBarNavigation/styles.js +61 -0
- package/dist/components/topbar/{toolName → topBarToolName}/TopBarToolName.cjs +3 -2
- package/dist/components/topbar/topBarToolName/TopBarToolName.js +13 -0
- package/dist/index.cjs +2 -0
- package/dist/index.js +1 -0
- package/dist/inline-message.cjs +9 -0
- package/dist/inline-message.js +2 -0
- package/dist/styleD/build/css/base/typography.css +3 -3
- package/dist/styleD/build/css/component/TopBar.css +55 -1
- package/dist/styleD/build/css/component/avatar.css +32 -1
- package/dist/styleD/build/css/component/button.css +177 -255
- package/dist/styleD/build/css/component/favicon.css +1 -1
- package/dist/styleD/build/css/component/inlineMessage.css +17 -0
- package/dist/styleD/build/css/component/menu.css +5 -4
- package/dist/styleD/build/css/component/tagAutocomplete.css +1 -1
- package/dist/styleD/build/css/component/tagTable.css +1 -1
- package/dist/styleD/build/css/component/topBarItem.css +7 -0
- package/dist/styleD/build/css/component/userMenu.css +6 -6
- package/dist/styleD/build/css/semantic/colors.css +45 -46
- package/dist/styleD/build/css/semantic/sizing.css +1 -0
- package/dist/styleD/build/css/semantic/typography.css +68 -30
- package/dist/styleD/build/typescript/base/typography.cjs +3 -3
- package/dist/styleD/build/typescript/base/typography.js +3 -3
- package/dist/styleD/build/typescript/component/TopBar.cjs +94 -0
- package/dist/styleD/build/typescript/component/TopBar.js +94 -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/button.cjs +5 -130
- package/dist/styleD/build/typescript/component/button.js +5 -130
- 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/menu.cjs +2 -1
- package/dist/styleD/build/typescript/component/menu.js +2 -1
- package/dist/styleD/build/typescript/semantic/colors.cjs +47 -52
- package/dist/styleD/build/typescript/semantic/colors.js +47 -52
- package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
- package/dist/styleD/build/typescript/semantic/typography.cjs +50 -0
- package/dist/styleD/build/typescript/semantic/typography.js +50 -0
- package/dist/types/TopBar.d.ts +12 -3
- 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/button/sandbox.d.ts +4 -4
- package/dist/types/components/button/types.d.ts +1 -1
- package/dist/types/components/icon-button/sandbox.d.ts +4 -4
- package/dist/types/components/icon-button/styles.d.ts +3 -128
- package/dist/types/components/icon-button/types.d.ts +1 -1
- package/dist/types/components/icon-link-button/sandbox.d.ts +4 -4
- package/dist/types/components/icon-link-button/styles.d.ts +3 -128
- package/dist/types/components/icon-link-button/types.d.ts +1 -1
- 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/link-button/sandbox.d.ts +4 -4
- package/dist/types/components/link-button/styles.d.ts +3 -128
- package/dist/types/components/link-button/types.d.ts +1 -1
- package/dist/types/components/topbar/TopBar.d.ts +8 -0
- package/dist/types/components/topbar/sandbox.d.ts +5 -0
- package/dist/types/components/topbar/styles.d.ts +9 -0
- package/dist/types/components/topbar/topBarItem/TopBarItem.d.ts +2 -0
- package/dist/types/components/topbar/topBarItem/sandbox.d.ts +5 -0
- package/dist/types/components/topbar/topBarItem/styles.d.ts +8 -0
- package/dist/types/components/topbar/topBarItem/types.d.ts +14 -0
- package/dist/types/components/topbar/topBarNavigation/TopBarNavigation.d.ts +2 -0
- package/dist/types/components/topbar/topBarNavigation/sandbox.d.ts +5 -0
- package/dist/types/components/topbar/topBarNavigation/styles.d.ts +12 -0
- package/dist/types/components/topbar/topBarNavigation/types.d.ts +44 -0
- package/dist/types/components/topbar/types.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/inline-message.d.ts +19 -0
- package/dist/types/styleD/build/typescript/base/typography.d.ts +3 -3
- package/dist/types/styleD/build/typescript/component/TopBar.d.ts +94 -0
- package/dist/types/styleD/build/typescript/component/avatar.d.ts +83 -0
- package/dist/types/styleD/build/typescript/component/button.d.ts +3 -128
- package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +28 -0
- package/dist/types/styleD/build/typescript/component/menu.d.ts +1 -0
- package/dist/types/styleD/build/typescript/semantic/colors.d.ts +44 -49
- package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
- package/dist/types/styleD/build/typescript/semantic/typography.d.ts +50 -0
- package/dist/util/css/reset.css +10 -0
- package/dist/util/reset.css.cjs +1 -1
- package/dist/util/reset.css.js +1 -1
- package/package.json +35 -18
- package/dist/components/topbar/toolName/TopBarToolName.js +0 -12
- /package/dist/components/topbar/{toolName → topBarToolName}/styles.cjs +0 -0
- /package/dist/components/topbar/{toolName → topBarToolName}/styles.js +0 -0
- /package/dist/types/components/topbar/{toolName → topBarToolName}/TopBarToolName.d.ts +0 -0
- /package/dist/types/components/topbar/{toolName → topBarToolName}/sandbox.d.ts +0 -0
- /package/dist/types/components/topbar/{toolName → topBarToolName}/styles.d.ts +0 -0
- /package/dist/types/components/topbar/{toolName → topBarToolName}/types.d.ts +0 -0
|
@@ -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",
|
|
@@ -4,57 +4,123 @@ const componentAvatar = {
|
|
|
4
4
|
green: {
|
|
5
5
|
text: "#24491d",
|
|
6
6
|
background: "#cde4c9",
|
|
7
|
-
border: "unset"
|
|
7
|
+
border: "unset",
|
|
8
|
+
":hover": {
|
|
9
|
+
background: "#aed2a6"
|
|
10
|
+
},
|
|
11
|
+
":active": {
|
|
12
|
+
background: "#8ec183"
|
|
13
|
+
}
|
|
8
14
|
},
|
|
9
15
|
blue: {
|
|
10
16
|
text: "#092f62",
|
|
11
17
|
background: "#c5d9f4",
|
|
12
|
-
border: "unset"
|
|
18
|
+
border: "unset",
|
|
19
|
+
":hover": {
|
|
20
|
+
background: "#93b9ec"
|
|
21
|
+
},
|
|
22
|
+
":active": {
|
|
23
|
+
background: "#699ee5"
|
|
24
|
+
}
|
|
13
25
|
},
|
|
14
26
|
red: {
|
|
15
27
|
text: "#65170e",
|
|
16
28
|
background: "#f5c6c0",
|
|
17
|
-
border: "unset"
|
|
29
|
+
border: "unset",
|
|
30
|
+
":hover": {
|
|
31
|
+
background: "#eea198"
|
|
32
|
+
},
|
|
33
|
+
":active": {
|
|
34
|
+
background: "#e87c6f"
|
|
35
|
+
}
|
|
18
36
|
},
|
|
19
37
|
cyan: {
|
|
20
38
|
text: "#00344e",
|
|
21
39
|
background: "#b8d8e7",
|
|
22
|
-
border: "unset"
|
|
40
|
+
border: "unset",
|
|
41
|
+
":hover": {
|
|
42
|
+
background: "#8abed7"
|
|
43
|
+
},
|
|
44
|
+
":active": {
|
|
45
|
+
background: "#5ca5c8"
|
|
46
|
+
}
|
|
23
47
|
},
|
|
24
48
|
teal: {
|
|
25
49
|
text: "#0e2729",
|
|
26
50
|
background: "#c5dfe1",
|
|
27
|
-
border: "unset"
|
|
51
|
+
border: "unset",
|
|
52
|
+
":hover": {
|
|
53
|
+
background: "#a0cace"
|
|
54
|
+
},
|
|
55
|
+
":active": {
|
|
56
|
+
background: "#7bb5bb"
|
|
57
|
+
}
|
|
28
58
|
},
|
|
29
59
|
"cool-purple": {
|
|
30
60
|
text: "#394069",
|
|
31
61
|
background: "#dbdff7",
|
|
32
|
-
border: "unset"
|
|
62
|
+
border: "unset",
|
|
63
|
+
":hover": {
|
|
64
|
+
background: "#c3caf3"
|
|
65
|
+
},
|
|
66
|
+
":active": {
|
|
67
|
+
background: "#acb5ee"
|
|
68
|
+
}
|
|
33
69
|
},
|
|
34
70
|
"warm-purple": {
|
|
35
71
|
text: "#381350",
|
|
36
72
|
background: "#dac3e8",
|
|
37
|
-
border: "unset"
|
|
73
|
+
border: "unset",
|
|
74
|
+
":hover": {
|
|
75
|
+
background: "#c29dd9"
|
|
76
|
+
},
|
|
77
|
+
":active": {
|
|
78
|
+
background: "#aa76cb"
|
|
79
|
+
}
|
|
38
80
|
},
|
|
39
81
|
magenta: {
|
|
40
82
|
text: "#581734",
|
|
41
83
|
background: "#edc6d7",
|
|
42
|
-
border: "unset"
|
|
84
|
+
border: "unset",
|
|
85
|
+
":hover": {
|
|
86
|
+
background: "#e2a1be"
|
|
87
|
+
},
|
|
88
|
+
":active": {
|
|
89
|
+
background: "#d67ca4"
|
|
90
|
+
}
|
|
43
91
|
},
|
|
44
92
|
orange: {
|
|
45
93
|
text: "#693c16",
|
|
46
94
|
background: "#fcddc6",
|
|
47
|
-
border: "unset"
|
|
95
|
+
border: "unset",
|
|
96
|
+
":hover": {
|
|
97
|
+
background: "#fac7a1"
|
|
98
|
+
},
|
|
99
|
+
":active": {
|
|
100
|
+
background: "#f9b27c"
|
|
101
|
+
}
|
|
48
102
|
},
|
|
49
103
|
yellow: {
|
|
50
104
|
text: "#5b4a0b",
|
|
51
105
|
background: "#fbeebf",
|
|
52
|
-
border: "unset"
|
|
106
|
+
border: "unset",
|
|
107
|
+
":hover": {
|
|
108
|
+
background: "#f9e396"
|
|
109
|
+
},
|
|
110
|
+
":active": {
|
|
111
|
+
background: "#f6d86d"
|
|
112
|
+
}
|
|
53
113
|
},
|
|
54
114
|
outlined: {
|
|
55
115
|
text: "#000000",
|
|
56
116
|
background: "none",
|
|
57
|
-
border: "0.0625rem solid #8d8d8d"
|
|
117
|
+
border: "0.0625rem solid #8d8d8d",
|
|
118
|
+
":hover": {
|
|
119
|
+
background: "#ededed"
|
|
120
|
+
},
|
|
121
|
+
":active": {
|
|
122
|
+
background: "#dcdcdc"
|
|
123
|
+
}
|
|
58
124
|
}
|
|
59
125
|
},
|
|
60
126
|
display: "inline-flex",
|
|
@@ -63,7 +129,24 @@ const componentAvatar = {
|
|
|
63
129
|
overflow: "hidden",
|
|
64
130
|
"flex-shrink": "0",
|
|
65
131
|
"border-radius": "50%",
|
|
66
|
-
"user-select": "none"
|
|
132
|
+
"user-select": "none",
|
|
133
|
+
link: {
|
|
134
|
+
width: "fit-content",
|
|
135
|
+
":focus-visible": {
|
|
136
|
+
outline: "0.125rem solid #0072a9",
|
|
137
|
+
"outline-offset": "0.125rem"
|
|
138
|
+
},
|
|
139
|
+
"text-decoration": "none"
|
|
140
|
+
},
|
|
141
|
+
button: {
|
|
142
|
+
background: "none",
|
|
143
|
+
border: "none",
|
|
144
|
+
padding: "0",
|
|
145
|
+
cursor: "pointer",
|
|
146
|
+
":disabled": {
|
|
147
|
+
cursor: "not-allowed"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
67
150
|
},
|
|
68
151
|
sm: {
|
|
69
152
|
size: "2rem",
|
|
@@ -18,7 +18,7 @@ const componentButton = {
|
|
|
18
18
|
"outline-offset": "0.125rem"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
|
|
21
|
+
primary: {
|
|
22
22
|
shared: {
|
|
23
23
|
color: "#ffffff",
|
|
24
24
|
backgroundColor: "#0d4289",
|
|
@@ -143,132 +143,7 @@ const componentButton = {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
-
|
|
147
|
-
shared: {
|
|
148
|
-
color: "#000000",
|
|
149
|
-
backgroundColor: "none",
|
|
150
|
-
borderRadius: "0.25rem",
|
|
151
|
-
border: "0.0625rem solid #0d4289",
|
|
152
|
-
":hover": {
|
|
153
|
-
backgroundColor: "#e8f0fb",
|
|
154
|
-
border: "0.0625rem solid #0d4289"
|
|
155
|
-
},
|
|
156
|
-
":active": {
|
|
157
|
-
backgroundColor: "#c5d9f4",
|
|
158
|
-
border: "0.0625rem solid #0d4289"
|
|
159
|
-
},
|
|
160
|
-
":disabled": {
|
|
161
|
-
color: "#999999",
|
|
162
|
-
backgroundColor: "none",
|
|
163
|
-
border: "0.0625rem solid #dcdcdc"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
xs: {
|
|
167
|
-
height: "1.5rem",
|
|
168
|
-
padding: {
|
|
169
|
-
top: "0.25rem",
|
|
170
|
-
right: "0.5rem",
|
|
171
|
-
bottom: "0.25rem",
|
|
172
|
-
left: "0.5rem",
|
|
173
|
-
withIcon: {
|
|
174
|
-
iconLeft: {
|
|
175
|
-
left: "0.25rem"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
typography: {
|
|
180
|
-
font: "normal 700 0.75rem/1 Open Sans",
|
|
181
|
-
letterSpacing: "0rem",
|
|
182
|
-
fontWidth: 95
|
|
183
|
-
},
|
|
184
|
-
icon: {
|
|
185
|
-
size: "1.125rem",
|
|
186
|
-
gap: "0.25rem"
|
|
187
|
-
},
|
|
188
|
-
iconButton: {
|
|
189
|
-
width: "1.5rem"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
sm: {
|
|
193
|
-
height: "2rem",
|
|
194
|
-
padding: {
|
|
195
|
-
top: "0.25rem",
|
|
196
|
-
right: "0.625rem",
|
|
197
|
-
bottom: "0.25rem",
|
|
198
|
-
left: "0.625rem",
|
|
199
|
-
withIcon: {
|
|
200
|
-
iconLeft: {
|
|
201
|
-
left: "0.5rem"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
typography: {
|
|
206
|
-
font: "normal 700 0.875rem/1 Open Sans",
|
|
207
|
-
letterSpacing: "-0.0125rem",
|
|
208
|
-
fontWidth: 95
|
|
209
|
-
},
|
|
210
|
-
icon: {
|
|
211
|
-
size: "1.125rem",
|
|
212
|
-
gap: "0.25rem"
|
|
213
|
-
},
|
|
214
|
-
iconButton: {
|
|
215
|
-
width: "2rem"
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
md: {
|
|
219
|
-
height: "2.5rem",
|
|
220
|
-
padding: {
|
|
221
|
-
top: "0.25rem",
|
|
222
|
-
right: "0.75rem",
|
|
223
|
-
bottom: "0.25rem",
|
|
224
|
-
left: "0.75rem",
|
|
225
|
-
withIcon: {
|
|
226
|
-
iconLeft: {
|
|
227
|
-
left: "0.5rem"
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
typography: {
|
|
232
|
-
font: "normal 700 0.875rem/1 Open Sans",
|
|
233
|
-
letterSpacing: "-0.0125rem",
|
|
234
|
-
fontWidth: 95
|
|
235
|
-
},
|
|
236
|
-
icon: {
|
|
237
|
-
size: "1.25rem",
|
|
238
|
-
gap: "0.25rem"
|
|
239
|
-
},
|
|
240
|
-
iconButton: {
|
|
241
|
-
width: "2.5rem"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
lg: {
|
|
245
|
-
height: "3rem",
|
|
246
|
-
padding: {
|
|
247
|
-
top: "0.25rem",
|
|
248
|
-
right: "1rem",
|
|
249
|
-
bottom: "0.25rem",
|
|
250
|
-
left: "1rem",
|
|
251
|
-
withIcon: {
|
|
252
|
-
iconLeft: {
|
|
253
|
-
left: "0.75rem"
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
typography: {
|
|
258
|
-
font: "normal 700 1rem/1 Open Sans",
|
|
259
|
-
letterSpacing: "-0.0125rem",
|
|
260
|
-
fontWidth: 95
|
|
261
|
-
},
|
|
262
|
-
icon: {
|
|
263
|
-
size: "1.5rem",
|
|
264
|
-
gap: "0.25rem"
|
|
265
|
-
},
|
|
266
|
-
iconButton: {
|
|
267
|
-
width: "3rem"
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
"neutral-primary": {
|
|
146
|
+
secondary: {
|
|
272
147
|
shared: {
|
|
273
148
|
color: "#ffffff",
|
|
274
149
|
backgroundColor: "#545454",
|
|
@@ -393,18 +268,18 @@ const componentButton = {
|
|
|
393
268
|
}
|
|
394
269
|
}
|
|
395
270
|
},
|
|
396
|
-
|
|
271
|
+
tertiary: {
|
|
397
272
|
shared: {
|
|
398
273
|
color: "#000000",
|
|
399
274
|
backgroundColor: "none",
|
|
400
275
|
borderRadius: "0.25rem",
|
|
401
276
|
border: "0.0625rem solid #545454",
|
|
402
277
|
":hover": {
|
|
403
|
-
backgroundColor: "#
|
|
278
|
+
backgroundColor: "#f6f6f6",
|
|
404
279
|
border: "0.0625rem solid #545454"
|
|
405
280
|
},
|
|
406
281
|
":active": {
|
|
407
|
-
backgroundColor: "#
|
|
282
|
+
backgroundColor: "#ededed",
|
|
408
283
|
border: "0.0625rem solid #545454"
|
|
409
284
|
},
|
|
410
285
|
":disabled": {
|
|
@@ -16,7 +16,7 @@ const componentButton = {
|
|
|
16
16
|
"outline-offset": "0.125rem"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
primary: {
|
|
20
20
|
shared: {
|
|
21
21
|
color: "#ffffff",
|
|
22
22
|
backgroundColor: "#0d4289",
|
|
@@ -141,132 +141,7 @@ const componentButton = {
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
-
|
|
145
|
-
shared: {
|
|
146
|
-
color: "#000000",
|
|
147
|
-
backgroundColor: "none",
|
|
148
|
-
borderRadius: "0.25rem",
|
|
149
|
-
border: "0.0625rem solid #0d4289",
|
|
150
|
-
":hover": {
|
|
151
|
-
backgroundColor: "#e8f0fb",
|
|
152
|
-
border: "0.0625rem solid #0d4289"
|
|
153
|
-
},
|
|
154
|
-
":active": {
|
|
155
|
-
backgroundColor: "#c5d9f4",
|
|
156
|
-
border: "0.0625rem solid #0d4289"
|
|
157
|
-
},
|
|
158
|
-
":disabled": {
|
|
159
|
-
color: "#999999",
|
|
160
|
-
backgroundColor: "none",
|
|
161
|
-
border: "0.0625rem solid #dcdcdc"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
xs: {
|
|
165
|
-
height: "1.5rem",
|
|
166
|
-
padding: {
|
|
167
|
-
top: "0.25rem",
|
|
168
|
-
right: "0.5rem",
|
|
169
|
-
bottom: "0.25rem",
|
|
170
|
-
left: "0.5rem",
|
|
171
|
-
withIcon: {
|
|
172
|
-
iconLeft: {
|
|
173
|
-
left: "0.25rem"
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
typography: {
|
|
178
|
-
font: "normal 700 0.75rem/1 Open Sans",
|
|
179
|
-
letterSpacing: "0rem",
|
|
180
|
-
fontWidth: 95
|
|
181
|
-
},
|
|
182
|
-
icon: {
|
|
183
|
-
size: "1.125rem",
|
|
184
|
-
gap: "0.25rem"
|
|
185
|
-
},
|
|
186
|
-
iconButton: {
|
|
187
|
-
width: "1.5rem"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
sm: {
|
|
191
|
-
height: "2rem",
|
|
192
|
-
padding: {
|
|
193
|
-
top: "0.25rem",
|
|
194
|
-
right: "0.625rem",
|
|
195
|
-
bottom: "0.25rem",
|
|
196
|
-
left: "0.625rem",
|
|
197
|
-
withIcon: {
|
|
198
|
-
iconLeft: {
|
|
199
|
-
left: "0.5rem"
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
typography: {
|
|
204
|
-
font: "normal 700 0.875rem/1 Open Sans",
|
|
205
|
-
letterSpacing: "-0.0125rem",
|
|
206
|
-
fontWidth: 95
|
|
207
|
-
},
|
|
208
|
-
icon: {
|
|
209
|
-
size: "1.125rem",
|
|
210
|
-
gap: "0.25rem"
|
|
211
|
-
},
|
|
212
|
-
iconButton: {
|
|
213
|
-
width: "2rem"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
md: {
|
|
217
|
-
height: "2.5rem",
|
|
218
|
-
padding: {
|
|
219
|
-
top: "0.25rem",
|
|
220
|
-
right: "0.75rem",
|
|
221
|
-
bottom: "0.25rem",
|
|
222
|
-
left: "0.75rem",
|
|
223
|
-
withIcon: {
|
|
224
|
-
iconLeft: {
|
|
225
|
-
left: "0.5rem"
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
typography: {
|
|
230
|
-
font: "normal 700 0.875rem/1 Open Sans",
|
|
231
|
-
letterSpacing: "-0.0125rem",
|
|
232
|
-
fontWidth: 95
|
|
233
|
-
},
|
|
234
|
-
icon: {
|
|
235
|
-
size: "1.25rem",
|
|
236
|
-
gap: "0.25rem"
|
|
237
|
-
},
|
|
238
|
-
iconButton: {
|
|
239
|
-
width: "2.5rem"
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
lg: {
|
|
243
|
-
height: "3rem",
|
|
244
|
-
padding: {
|
|
245
|
-
top: "0.25rem",
|
|
246
|
-
right: "1rem",
|
|
247
|
-
bottom: "0.25rem",
|
|
248
|
-
left: "1rem",
|
|
249
|
-
withIcon: {
|
|
250
|
-
iconLeft: {
|
|
251
|
-
left: "0.75rem"
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
typography: {
|
|
256
|
-
font: "normal 700 1rem/1 Open Sans",
|
|
257
|
-
letterSpacing: "-0.0125rem",
|
|
258
|
-
fontWidth: 95
|
|
259
|
-
},
|
|
260
|
-
icon: {
|
|
261
|
-
size: "1.5rem",
|
|
262
|
-
gap: "0.25rem"
|
|
263
|
-
},
|
|
264
|
-
iconButton: {
|
|
265
|
-
width: "3rem"
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
"neutral-primary": {
|
|
144
|
+
secondary: {
|
|
270
145
|
shared: {
|
|
271
146
|
color: "#ffffff",
|
|
272
147
|
backgroundColor: "#545454",
|
|
@@ -391,18 +266,18 @@ const componentButton = {
|
|
|
391
266
|
}
|
|
392
267
|
}
|
|
393
268
|
},
|
|
394
|
-
|
|
269
|
+
tertiary: {
|
|
395
270
|
shared: {
|
|
396
271
|
color: "#000000",
|
|
397
272
|
backgroundColor: "none",
|
|
398
273
|
borderRadius: "0.25rem",
|
|
399
274
|
border: "0.0625rem solid #545454",
|
|
400
275
|
":hover": {
|
|
401
|
-
backgroundColor: "#
|
|
276
|
+
backgroundColor: "#f6f6f6",
|
|
402
277
|
border: "0.0625rem solid #545454"
|
|
403
278
|
},
|
|
404
279
|
":active": {
|
|
405
|
-
backgroundColor: "#
|
|
280
|
+
backgroundColor: "#ededed",
|
|
406
281
|
border: "0.0625rem solid #545454"
|
|
407
282
|
},
|
|
408
283
|
":disabled": {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const componentInlineMessage = {
|
|
4
|
+
shared: {
|
|
5
|
+
display: "inline-flex",
|
|
6
|
+
gap: "0.25rem",
|
|
7
|
+
"align-items": "center",
|
|
8
|
+
icon: {
|
|
9
|
+
size: "1.25rem"
|
|
10
|
+
},
|
|
11
|
+
typography: {
|
|
12
|
+
font: "normal 460 0.875rem/1.3 Open Sans",
|
|
13
|
+
letterSpacing: "0rem",
|
|
14
|
+
fontWidth: 95
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
error: {
|
|
18
|
+
color: "#8c2113"
|
|
19
|
+
},
|
|
20
|
+
success: {
|
|
21
|
+
color: "#326528"
|
|
22
|
+
},
|
|
23
|
+
information: {
|
|
24
|
+
color: "#00344e"
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
exports.componentInlineMessage = componentInlineMessage;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const componentInlineMessage = {
|
|
2
|
+
shared: {
|
|
3
|
+
display: "inline-flex",
|
|
4
|
+
gap: "0.25rem",
|
|
5
|
+
"align-items": "center",
|
|
6
|
+
icon: {
|
|
7
|
+
size: "1.25rem"
|
|
8
|
+
},
|
|
9
|
+
typography: {
|
|
10
|
+
font: "normal 460 0.875rem/1.3 Open Sans",
|
|
11
|
+
letterSpacing: "0rem",
|
|
12
|
+
fontWidth: 95
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
error: {
|
|
16
|
+
color: "#8c2113"
|
|
17
|
+
},
|
|
18
|
+
success: {
|
|
19
|
+
color: "#326528"
|
|
20
|
+
},
|
|
21
|
+
information: {
|
|
22
|
+
color: "#00344e"
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export { componentInlineMessage };
|