@guardian/stand 0.0.9 → 0.0.11

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 (158) hide show
  1. package/README.md +1122 -1
  2. package/dist/avatar.cjs +9 -0
  3. package/dist/avatar.js +2 -0
  4. package/dist/button.cjs +9 -0
  5. package/dist/button.js +2 -0
  6. package/dist/components/TitleText.cjs +28 -0
  7. package/dist/components/TitleText.js +22 -0
  8. package/dist/components/avatar/Avatar.cjs +57 -0
  9. package/dist/components/avatar/Avatar.js +27 -0
  10. package/dist/components/avatar/styles.cjs +33 -0
  11. package/dist/components/avatar/styles.js +29 -0
  12. package/dist/components/avatar/types.cjs +16 -0
  13. package/dist/components/avatar/types.js +14 -0
  14. package/dist/components/button/Button.cjs +38 -0
  15. package/dist/components/button/Button.js +19 -0
  16. package/dist/components/button/styles.cjs +68 -0
  17. package/dist/components/button/styles.js +63 -0
  18. package/dist/components/icon/Icon.cjs +46 -0
  19. package/dist/components/icon/Icon.js +19 -0
  20. package/dist/components/icon/styles.cjs +27 -0
  21. package/dist/components/icon/styles.js +20 -0
  22. package/dist/components/icon-button/IconButton.cjs +45 -0
  23. package/dist/components/icon-button/IconButton.js +26 -0
  24. package/dist/components/icon-button/styles.cjs +9 -0
  25. package/dist/components/icon-button/styles.js +6 -0
  26. package/dist/components/icon-link-button/IconLinkButton.cjs +47 -0
  27. package/dist/components/icon-link-button/IconLinkButton.js +23 -0
  28. package/dist/components/icon-link-button/styles.cjs +9 -0
  29. package/dist/components/icon-link-button/styles.js +6 -0
  30. package/dist/components/link-button/LinkButton.cjs +35 -0
  31. package/dist/components/link-button/LinkButton.js +16 -0
  32. package/dist/components/link-button/styles.cjs +9 -0
  33. package/dist/components/link-button/styles.js +6 -0
  34. package/dist/components/typography/Typography.cjs +26 -0
  35. package/dist/components/typography/Typography.js +13 -0
  36. package/dist/components/typography/styles.cjs +15 -0
  37. package/dist/components/typography/styles.js +12 -0
  38. package/dist/components/user-menu/PreferenceRadioGroup.cjs +53 -0
  39. package/dist/components/user-menu/PreferenceRadioGroup.js +19 -0
  40. package/dist/components/user-menu/UserMenu.cjs +67 -0
  41. package/dist/components/user-menu/UserMenu.js +11 -0
  42. package/dist/components/user-menu/default-options.cjs +109 -0
  43. package/dist/components/user-menu/default-options.js +105 -0
  44. package/dist/components/user-menu/styles.cjs +90 -0
  45. package/dist/components/user-menu/styles.js +83 -0
  46. package/dist/fonts/MaterialSymbolsOutlined.css +23 -0
  47. package/dist/fonts/MaterialSymbolsRound.css +23 -0
  48. package/dist/fonts/MaterialSymbolsSharp.css +23 -0
  49. package/dist/fonts/material-symbols-types.ts +3825 -0
  50. package/dist/icon-button.cjs +7 -0
  51. package/dist/icon-button.js +1 -0
  52. package/dist/icon-link-button.cjs +7 -0
  53. package/dist/icon-link-button.js +1 -0
  54. package/dist/icon.cjs +9 -0
  55. package/dist/icon.js +2 -0
  56. package/dist/index.cjs +16 -4
  57. package/dist/index.js +6 -0
  58. package/dist/link-button.cjs +7 -0
  59. package/dist/link-button.js +1 -0
  60. package/dist/styleD/build/css/base/colors.css +1 -1
  61. package/dist/styleD/build/css/base/sizing.css +2 -0
  62. package/dist/styleD/build/css/component/avatar.css +54 -0
  63. package/dist/styleD/build/css/component/button.css +282 -0
  64. package/dist/styleD/build/css/component/byline.css +1 -1
  65. package/dist/styleD/build/css/component/icon.css +11 -0
  66. package/dist/styleD/build/css/component/typography.css +7 -0
  67. package/dist/styleD/build/css/component/userMenu.css +29 -0
  68. package/dist/styleD/build/css/semantic/colors.css +12 -8
  69. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  70. package/dist/styleD/build/css/semantic/typography.css +3 -0
  71. package/dist/styleD/build/typescript/base/colors.cjs +1 -1
  72. package/dist/styleD/build/typescript/base/colors.js +1 -1
  73. package/dist/styleD/build/typescript/base/sizing.cjs +2 -0
  74. package/dist/styleD/build/typescript/base/sizing.js +2 -0
  75. package/dist/styleD/build/typescript/component/avatar.cjs +88 -0
  76. package/dist/styleD/build/typescript/component/avatar.js +86 -0
  77. package/dist/styleD/build/typescript/component/button.cjs +523 -0
  78. package/dist/styleD/build/typescript/component/button.js +521 -0
  79. package/dist/styleD/build/typescript/component/byline.cjs +1 -1
  80. package/dist/styleD/build/typescript/component/byline.js +1 -1
  81. package/dist/styleD/build/typescript/component/icon.cjs +19 -0
  82. package/dist/styleD/build/typescript/component/icon.js +17 -0
  83. package/dist/styleD/build/typescript/component/typography.cjs +7 -0
  84. package/dist/styleD/build/typescript/component/typography.js +5 -0
  85. package/dist/styleD/build/typescript/component/userMenu.cjs +37 -0
  86. package/dist/styleD/build/typescript/component/userMenu.js +35 -0
  87. package/dist/styleD/build/typescript/semantic/colors.cjs +14 -10
  88. package/dist/styleD/build/typescript/semantic/colors.js +14 -10
  89. package/dist/styleD/build/typescript/semantic/sizing.cjs +2 -1
  90. package/dist/styleD/build/typescript/semantic/sizing.js +2 -1
  91. package/dist/styleD/build/typescript/semantic/typography.cjs +5 -0
  92. package/dist/styleD/build/typescript/semantic/typography.js +5 -0
  93. package/dist/types/avatar.d.ts +19 -0
  94. package/dist/types/button.d.ts +20 -0
  95. package/dist/types/components/TitleText.d.ts +6 -0
  96. package/dist/types/components/avatar/Avatar.d.ts +2 -0
  97. package/dist/types/components/avatar/styles.d.ts +8 -0
  98. package/dist/types/components/avatar/types.d.ts +45 -0
  99. package/dist/types/components/button/Button.d.ts +2 -0
  100. package/dist/types/components/button/styles.d.ts +7 -0
  101. package/dist/types/components/button/types.d.ts +18 -0
  102. package/dist/types/components/byline/schema.d.ts +1 -1
  103. package/dist/types/components/icon/Icon.d.ts +2 -0
  104. package/dist/types/components/icon/styles.d.ts +8 -0
  105. package/dist/types/components/icon/types.d.ts +28 -0
  106. package/dist/types/components/icon-button/IconButton.d.ts +2 -0
  107. package/dist/types/components/icon-button/styles.d.ts +522 -0
  108. package/dist/types/components/icon-button/types.d.ts +26 -0
  109. package/dist/types/components/icon-link-button/IconLinkButton.d.ts +2 -0
  110. package/dist/types/components/icon-link-button/styles.d.ts +522 -0
  111. package/dist/types/components/icon-link-button/types.d.ts +26 -0
  112. package/dist/types/components/link-button/LinkButton.d.ts +2 -0
  113. package/dist/types/components/link-button/styles.d.ts +522 -0
  114. package/dist/types/components/link-button/types.d.ts +18 -0
  115. package/dist/types/components/typography/Typography.d.ts +6 -0
  116. package/dist/types/components/typography/styles.d.ts +7 -0
  117. package/dist/types/components/typography/types.d.ts +13 -0
  118. package/dist/types/components/user-menu/PreferenceRadioGroup.d.ts +15 -0
  119. package/dist/types/components/user-menu/UserMenu.d.ts +17 -0
  120. package/dist/types/components/user-menu/default-options.d.ts +5 -0
  121. package/dist/types/components/user-menu/model.d.ts +9 -0
  122. package/dist/types/components/user-menu/styles.d.ts +9 -0
  123. package/dist/types/components/user-menu/theme.d.ts +3 -0
  124. package/dist/types/components/user-menu/types.d.ts +5 -0
  125. package/dist/types/fonts/material-symbols-types.d.ts +3822 -0
  126. package/dist/types/icon-button.d.ts +20 -0
  127. package/dist/types/icon-link-button.d.ts +20 -0
  128. package/dist/types/icon.d.ts +27 -0
  129. package/dist/types/index.d.ts +17 -0
  130. package/dist/types/link-button.d.ts +20 -0
  131. package/dist/types/styleD/build/typescript/base/colors.d.ts +1 -1
  132. package/dist/types/styleD/build/typescript/base/sizing.d.ts +2 -0
  133. package/dist/types/styleD/build/typescript/component/avatar.d.ts +88 -0
  134. package/dist/types/styleD/build/typescript/component/button.d.ts +523 -0
  135. package/dist/types/styleD/build/typescript/component/icon.d.ts +19 -0
  136. package/dist/types/styleD/build/typescript/component/typography.d.ts +7 -0
  137. package/dist/types/styleD/build/typescript/component/userMenu.d.ts +37 -0
  138. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +7 -3
  139. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  140. package/dist/types/styleD/build/typescript/semantic/typography.d.ts +5 -0
  141. package/dist/types/typography.d.ts +19 -0
  142. package/dist/types/user-menu.d.ts +18 -0
  143. package/dist/types/util/reset.d.ts +1 -0
  144. package/dist/types/util/storybookStyles.d.ts +1 -0
  145. package/dist/types/util/types.d.ts +28 -0
  146. package/dist/types/utils.d.ts +1 -0
  147. package/dist/typography.cjs +9 -0
  148. package/dist/typography.js +2 -0
  149. package/dist/user-menu.cjs +9 -0
  150. package/dist/user-menu.js +2 -0
  151. package/dist/util/css/reset.css +124 -0
  152. package/dist/util/reset.cjs +10 -0
  153. package/dist/util/reset.css.cjs +5 -0
  154. package/dist/util/reset.css.js +3 -0
  155. package/dist/util/reset.js +8 -0
  156. package/dist/utils.cjs +2 -0
  157. package/dist/utils.js +1 -0
  158. package/package.json +81 -3
@@ -1,6 +1,7 @@
1
1
  const baseSizing = {
2
2
  "size-1-px": "1px",
3
3
  "size-2-px": "2px",
4
+ "size-8-px": "8px",
4
5
  "size-16-px": "16px",
5
6
  "size-18-px": "18px",
6
7
  "size-20-px": "20px",
@@ -10,6 +11,7 @@ const baseSizing = {
10
11
  "size-48-px": "48px",
11
12
  "size-1-rem": "0.0625rem",
12
13
  "size-2-rem": "0.125rem",
14
+ "size-8-rem": "0.5rem",
13
15
  "size-16-rem": "1rem",
14
16
  "size-18-rem": "1.125rem",
15
17
  "size-20-rem": "1.25rem",
@@ -0,0 +1,88 @@
1
+ 'use strict';
2
+
3
+ const componentAvatar = {
4
+ shared: {
5
+ color: {
6
+ green: {
7
+ text: "#24491d",
8
+ background: "#cde4c9",
9
+ border: "unset"
10
+ },
11
+ blue: {
12
+ text: "#092f62",
13
+ background: "#c5d9f4",
14
+ border: "unset"
15
+ },
16
+ red: {
17
+ text: "#65170e",
18
+ background: "#f5c6c0",
19
+ border: "unset"
20
+ },
21
+ cyan: {
22
+ text: "#00344e",
23
+ background: "#b8d8e7",
24
+ border: "unset"
25
+ },
26
+ teal: {
27
+ text: "#0e2729",
28
+ background: "#c5dfe1",
29
+ border: "unset"
30
+ },
31
+ "cool-purple": {
32
+ text: "#394069",
33
+ background: "#dbdff7",
34
+ border: "unset"
35
+ },
36
+ "warm-purple": {
37
+ text: "#381350",
38
+ background: "#dac3e8",
39
+ border: "unset"
40
+ },
41
+ magenta: {
42
+ text: "#581734",
43
+ background: "#edc6d7",
44
+ border: "unset"
45
+ },
46
+ orange: {
47
+ text: "#693c16",
48
+ background: "#fcddc6",
49
+ border: "unset"
50
+ },
51
+ yellow: {
52
+ text: "#5b4a0b",
53
+ background: "#fbeebf",
54
+ border: "unset"
55
+ },
56
+ outlined: {
57
+ text: "#000000",
58
+ background: "none",
59
+ border: "0.0625rem solid #8d8d8d"
60
+ }
61
+ },
62
+ display: "inline-flex",
63
+ "align-items": "center",
64
+ "justify-content": "center",
65
+ overflow: "hidden",
66
+ "flex-shrink": "0",
67
+ "border-radius": "50%",
68
+ "user-select": "none"
69
+ },
70
+ sm: {
71
+ size: "2rem",
72
+ typography: {
73
+ font: "normal 700 0.75rem/1 Open Sans",
74
+ letterSpacing: "0rem",
75
+ fontWidth: 95
76
+ }
77
+ },
78
+ md: {
79
+ size: "2.5rem",
80
+ typography: {
81
+ font: "normal 700 0.875rem/1 Open Sans",
82
+ letterSpacing: "-0.0125rem",
83
+ fontWidth: 95
84
+ }
85
+ }
86
+ };
87
+
88
+ exports.componentAvatar = componentAvatar;
@@ -0,0 +1,86 @@
1
+ const componentAvatar = {
2
+ shared: {
3
+ color: {
4
+ green: {
5
+ text: "#24491d",
6
+ background: "#cde4c9",
7
+ border: "unset"
8
+ },
9
+ blue: {
10
+ text: "#092f62",
11
+ background: "#c5d9f4",
12
+ border: "unset"
13
+ },
14
+ red: {
15
+ text: "#65170e",
16
+ background: "#f5c6c0",
17
+ border: "unset"
18
+ },
19
+ cyan: {
20
+ text: "#00344e",
21
+ background: "#b8d8e7",
22
+ border: "unset"
23
+ },
24
+ teal: {
25
+ text: "#0e2729",
26
+ background: "#c5dfe1",
27
+ border: "unset"
28
+ },
29
+ "cool-purple": {
30
+ text: "#394069",
31
+ background: "#dbdff7",
32
+ border: "unset"
33
+ },
34
+ "warm-purple": {
35
+ text: "#381350",
36
+ background: "#dac3e8",
37
+ border: "unset"
38
+ },
39
+ magenta: {
40
+ text: "#581734",
41
+ background: "#edc6d7",
42
+ border: "unset"
43
+ },
44
+ orange: {
45
+ text: "#693c16",
46
+ background: "#fcddc6",
47
+ border: "unset"
48
+ },
49
+ yellow: {
50
+ text: "#5b4a0b",
51
+ background: "#fbeebf",
52
+ border: "unset"
53
+ },
54
+ outlined: {
55
+ text: "#000000",
56
+ background: "none",
57
+ border: "0.0625rem solid #8d8d8d"
58
+ }
59
+ },
60
+ display: "inline-flex",
61
+ "align-items": "center",
62
+ "justify-content": "center",
63
+ overflow: "hidden",
64
+ "flex-shrink": "0",
65
+ "border-radius": "50%",
66
+ "user-select": "none"
67
+ },
68
+ sm: {
69
+ size: "2rem",
70
+ typography: {
71
+ font: "normal 700 0.75rem/1 Open Sans",
72
+ letterSpacing: "0rem",
73
+ fontWidth: 95
74
+ }
75
+ },
76
+ md: {
77
+ size: "2.5rem",
78
+ typography: {
79
+ font: "normal 700 0.875rem/1 Open Sans",
80
+ letterSpacing: "-0.0125rem",
81
+ fontWidth: 95
82
+ }
83
+ }
84
+ };
85
+
86
+ export { componentAvatar };
@@ -0,0 +1,523 @@
1
+ 'use strict';
2
+
3
+ const componentButton = {
4
+ shared: {
5
+ display: "inline-flex",
6
+ "-webkit-appearance": "none",
7
+ "text-align": "inherit",
8
+ "box-shadow": "none",
9
+ cursor: "pointer",
10
+ "justify-content": "center",
11
+ "align-items": "center",
12
+ "text-decoration": "none",
13
+ ":disabled": {
14
+ cursor: "not-allowed"
15
+ },
16
+ ":focus-visible": {
17
+ outline: "0.125rem solid #0072a9",
18
+ "outline-offset": "0.125rem"
19
+ }
20
+ },
21
+ "emphasised-primary": {
22
+ shared: {
23
+ color: "#ffffff",
24
+ backgroundColor: "#0d4289",
25
+ borderRadius: "0.25rem",
26
+ border: "0.0625rem solid #0d4289",
27
+ ":hover": {
28
+ backgroundColor: "#092f62",
29
+ border: "0.0625rem solid #092f62"
30
+ },
31
+ ":active": {
32
+ backgroundColor: "#061d3c",
33
+ border: "0.0625rem solid #061d3c"
34
+ },
35
+ ":disabled": {
36
+ color: "#999999",
37
+ backgroundColor: "#dcdcdc",
38
+ border: "0.0625rem solid #dcdcdc"
39
+ }
40
+ },
41
+ xs: {
42
+ height: "1.5rem",
43
+ padding: {
44
+ top: "0.25rem",
45
+ right: "0.5rem",
46
+ bottom: "0.25rem",
47
+ left: "0.5rem",
48
+ withIcon: {
49
+ iconLeft: {
50
+ left: "0.25rem"
51
+ }
52
+ }
53
+ },
54
+ typography: {
55
+ font: "normal 700 0.75rem/1 Open Sans",
56
+ letterSpacing: "0rem",
57
+ fontWidth: 95
58
+ },
59
+ icon: {
60
+ size: "1.125rem",
61
+ gap: "0.25rem"
62
+ },
63
+ iconButton: {
64
+ width: "1.5rem"
65
+ }
66
+ },
67
+ sm: {
68
+ height: "2rem",
69
+ padding: {
70
+ top: "0.25rem",
71
+ right: "0.625rem",
72
+ bottom: "0.25rem",
73
+ left: "0.625rem",
74
+ withIcon: {
75
+ iconLeft: {
76
+ left: "0.5rem"
77
+ }
78
+ }
79
+ },
80
+ typography: {
81
+ font: "normal 700 0.875rem/1 Open Sans",
82
+ letterSpacing: "-0.0125rem",
83
+ fontWidth: 95
84
+ },
85
+ icon: {
86
+ size: "1.125rem",
87
+ gap: "0.25rem"
88
+ },
89
+ iconButton: {
90
+ width: "2rem"
91
+ }
92
+ },
93
+ md: {
94
+ height: "2.5rem",
95
+ padding: {
96
+ top: "0.25rem",
97
+ right: "0.75rem",
98
+ bottom: "0.25rem",
99
+ left: "0.75rem",
100
+ withIcon: {
101
+ iconLeft: {
102
+ left: "0.5rem"
103
+ }
104
+ }
105
+ },
106
+ typography: {
107
+ font: "normal 700 0.875rem/1 Open Sans",
108
+ letterSpacing: "-0.0125rem",
109
+ fontWidth: 95
110
+ },
111
+ icon: {
112
+ size: "1.25rem",
113
+ gap: "0.25rem"
114
+ },
115
+ iconButton: {
116
+ width: "2.5rem"
117
+ }
118
+ },
119
+ lg: {
120
+ height: "3rem",
121
+ padding: {
122
+ top: "0.25rem",
123
+ right: "1rem",
124
+ bottom: "0.25rem",
125
+ left: "1rem",
126
+ withIcon: {
127
+ iconLeft: {
128
+ left: "0.75rem"
129
+ }
130
+ }
131
+ },
132
+ typography: {
133
+ font: "normal 700 1rem/1 Open Sans",
134
+ letterSpacing: "-0.0125rem",
135
+ fontWidth: 95
136
+ },
137
+ icon: {
138
+ size: "1.5rem",
139
+ gap: "0.25rem"
140
+ },
141
+ iconButton: {
142
+ width: "3rem"
143
+ }
144
+ }
145
+ },
146
+ "emphasised-secondary": {
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": {
272
+ shared: {
273
+ color: "#ffffff",
274
+ backgroundColor: "#545454",
275
+ borderRadius: "0.25rem",
276
+ border: "0.0625rem solid #545454",
277
+ ":hover": {
278
+ backgroundColor: "#333333",
279
+ border: "0.0625rem solid #333333"
280
+ },
281
+ ":active": {
282
+ backgroundColor: "#121212",
283
+ border: "0.0625rem solid #121212"
284
+ },
285
+ ":disabled": {
286
+ color: "#999999",
287
+ backgroundColor: "#dcdcdc",
288
+ border: "0.0625rem solid #dcdcdc"
289
+ }
290
+ },
291
+ xs: {
292
+ height: "1.5rem",
293
+ padding: {
294
+ top: "0.25rem",
295
+ right: "0.5rem",
296
+ bottom: "0.25rem",
297
+ left: "0.5rem",
298
+ withIcon: {
299
+ iconLeft: {
300
+ left: "0.25rem"
301
+ }
302
+ }
303
+ },
304
+ typography: {
305
+ font: "normal 700 0.75rem/1 Open Sans",
306
+ letterSpacing: "0rem",
307
+ fontWidth: 95
308
+ },
309
+ icon: {
310
+ size: "1.125rem",
311
+ gap: "0.25rem"
312
+ },
313
+ iconButton: {
314
+ width: "1.5rem"
315
+ }
316
+ },
317
+ sm: {
318
+ height: "2rem",
319
+ padding: {
320
+ top: "0.25rem",
321
+ right: "0.625rem",
322
+ bottom: "0.25rem",
323
+ left: "0.625rem",
324
+ withIcon: {
325
+ iconLeft: {
326
+ left: "0.5rem"
327
+ }
328
+ }
329
+ },
330
+ typography: {
331
+ font: "normal 700 0.875rem/1 Open Sans",
332
+ letterSpacing: "-0.0125rem",
333
+ fontWidth: 95
334
+ },
335
+ icon: {
336
+ size: "1.125rem",
337
+ gap: "0.25rem"
338
+ },
339
+ iconButton: {
340
+ width: "2rem"
341
+ }
342
+ },
343
+ md: {
344
+ height: "2.5rem",
345
+ padding: {
346
+ top: "0.25rem",
347
+ right: "0.75rem",
348
+ bottom: "0.25rem",
349
+ left: "0.75rem",
350
+ withIcon: {
351
+ iconLeft: {
352
+ left: "0.5rem"
353
+ }
354
+ }
355
+ },
356
+ typography: {
357
+ font: "normal 700 0.875rem/1 Open Sans",
358
+ letterSpacing: "-0.0125rem",
359
+ fontWidth: 95
360
+ },
361
+ icon: {
362
+ size: "1.25rem",
363
+ gap: "0.25rem"
364
+ },
365
+ iconButton: {
366
+ width: "2.5rem"
367
+ }
368
+ },
369
+ lg: {
370
+ height: "3rem",
371
+ padding: {
372
+ top: "0.25rem",
373
+ right: "1rem",
374
+ bottom: "0.25rem",
375
+ left: "1rem",
376
+ withIcon: {
377
+ iconLeft: {
378
+ left: "0.75rem"
379
+ }
380
+ }
381
+ },
382
+ typography: {
383
+ font: "normal 700 1rem/1 Open Sans",
384
+ letterSpacing: "-0.0125rem",
385
+ fontWidth: 95
386
+ },
387
+ icon: {
388
+ size: "1.5rem",
389
+ gap: "0.25rem"
390
+ },
391
+ iconButton: {
392
+ width: "3rem"
393
+ }
394
+ }
395
+ },
396
+ "neutral-secondary": {
397
+ shared: {
398
+ color: "#000000",
399
+ backgroundColor: "none",
400
+ borderRadius: "0.25rem",
401
+ border: "0.0625rem solid #545454",
402
+ ":hover": {
403
+ backgroundColor: "#ededed",
404
+ border: "0.0625rem solid #545454"
405
+ },
406
+ ":active": {
407
+ backgroundColor: "#dcdcdc",
408
+ border: "0.0625rem solid #545454"
409
+ },
410
+ ":disabled": {
411
+ color: "#999999",
412
+ backgroundColor: "none",
413
+ border: "0.0625rem solid #dcdcdc"
414
+ }
415
+ },
416
+ xs: {
417
+ height: "1.5rem",
418
+ padding: {
419
+ top: "0.25rem",
420
+ right: "0.5rem",
421
+ bottom: "0.25rem",
422
+ left: "0.5rem",
423
+ withIcon: {
424
+ iconLeft: {
425
+ left: "0.25rem"
426
+ }
427
+ }
428
+ },
429
+ typography: {
430
+ font: "normal 700 0.75rem/1 Open Sans",
431
+ letterSpacing: "0rem",
432
+ fontWidth: 95
433
+ },
434
+ icon: {
435
+ size: "1.125rem",
436
+ gap: "0.25rem"
437
+ },
438
+ iconButton: {
439
+ width: "1.5rem"
440
+ }
441
+ },
442
+ sm: {
443
+ height: "2rem",
444
+ padding: {
445
+ top: "0.25rem",
446
+ right: "0.625rem",
447
+ bottom: "0.25rem",
448
+ left: "0.625rem",
449
+ withIcon: {
450
+ iconLeft: {
451
+ left: "0.5rem"
452
+ }
453
+ }
454
+ },
455
+ typography: {
456
+ font: "normal 700 0.875rem/1 Open Sans",
457
+ letterSpacing: "-0.0125rem",
458
+ fontWidth: 95
459
+ },
460
+ icon: {
461
+ size: "1.125rem",
462
+ gap: "0.25rem"
463
+ },
464
+ iconButton: {
465
+ width: "2rem"
466
+ }
467
+ },
468
+ md: {
469
+ height: "2.5rem",
470
+ padding: {
471
+ top: "0.25rem",
472
+ right: "0.75rem",
473
+ bottom: "0.25rem",
474
+ left: "0.75rem",
475
+ withIcon: {
476
+ iconLeft: {
477
+ left: "0.5rem"
478
+ }
479
+ }
480
+ },
481
+ typography: {
482
+ font: "normal 700 0.875rem/1 Open Sans",
483
+ letterSpacing: "-0.0125rem",
484
+ fontWidth: 95
485
+ },
486
+ icon: {
487
+ size: "1.25rem",
488
+ gap: "0.25rem"
489
+ },
490
+ iconButton: {
491
+ width: "2.5rem"
492
+ }
493
+ },
494
+ lg: {
495
+ height: "3rem",
496
+ padding: {
497
+ top: "0.25rem",
498
+ right: "1rem",
499
+ bottom: "0.25rem",
500
+ left: "1rem",
501
+ withIcon: {
502
+ iconLeft: {
503
+ left: "0.75rem"
504
+ }
505
+ }
506
+ },
507
+ typography: {
508
+ font: "normal 700 1rem/1 Open Sans",
509
+ letterSpacing: "-0.0125rem",
510
+ fontWidth: 95
511
+ },
512
+ icon: {
513
+ size: "1.5rem",
514
+ gap: "0.25rem"
515
+ },
516
+ iconButton: {
517
+ width: "3rem"
518
+ }
519
+ }
520
+ }
521
+ };
522
+
523
+ exports.componentButton = componentButton;