@primer/css 19.3.0-rc.f39536d0 → 19.4.0-rc.57b7ab01

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 (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/actionlist/action-list-item-divider.scss +7 -2
  3. package/actionlist/action-list-item.scss +129 -121
  4. package/actionlist/action-list-tree.scss +93 -6
  5. package/actionlist/action-list.scss +5 -0
  6. package/base/kbd.scss +0 -1
  7. package/blankslate/blankslate.scss +20 -1
  8. package/box/box.scss +0 -3
  9. package/buttons/button.scss +1 -0
  10. package/dist/actionlist.css +1 -1
  11. package/dist/actionlist.css.map +1 -1
  12. package/dist/alerts.css.map +1 -1
  13. package/dist/autocomplete.css.map +1 -1
  14. package/dist/avatars.css.map +1 -1
  15. package/dist/base.css.map +1 -1
  16. package/dist/blankslate.css +1 -1
  17. package/dist/blankslate.css.map +1 -1
  18. package/dist/box.css.map +1 -1
  19. package/dist/branch-name.css.map +1 -1
  20. package/dist/breadcrumb.css.map +1 -1
  21. package/dist/buttons.css.map +1 -1
  22. package/dist/core.css +1 -1
  23. package/dist/core.css.map +1 -1
  24. package/dist/dropdown.css.map +1 -1
  25. package/dist/forms.css.map +1 -1
  26. package/dist/header.css.map +1 -1
  27. package/dist/labels.css +1 -1
  28. package/dist/labels.css.map +1 -1
  29. package/dist/layout.css.map +1 -1
  30. package/dist/links.css.map +1 -1
  31. package/dist/loaders.css.map +1 -1
  32. package/dist/markdown.css +1 -1
  33. package/dist/markdown.css.map +1 -1
  34. package/dist/marketing-buttons.css.map +1 -1
  35. package/dist/marketing-links.css.map +1 -1
  36. package/dist/marketing-type.css.map +1 -1
  37. package/dist/marketing-utilities.css.map +1 -1
  38. package/dist/meta.json +55 -55
  39. package/dist/navigation.css.map +1 -1
  40. package/dist/pagination.css.map +1 -1
  41. package/dist/popover.css.map +1 -1
  42. package/dist/primer.css +2 -2
  43. package/dist/primer.css.map +1 -1
  44. package/dist/product.css +1 -1
  45. package/dist/product.css.map +1 -1
  46. package/dist/progress.css.map +1 -1
  47. package/dist/select-menu.css.map +1 -1
  48. package/dist/stats/actionlist.json +1 -1
  49. package/dist/stats/blankslate.json +1 -1
  50. package/dist/stats/core.json +1 -1
  51. package/dist/stats/labels.json +1 -1
  52. package/dist/stats/markdown.json +1 -1
  53. package/dist/stats/primer.json +1 -1
  54. package/dist/stats/product.json +1 -1
  55. package/dist/subhead.css.map +1 -1
  56. package/dist/timeline.css.map +1 -1
  57. package/dist/toasts.css.map +1 -1
  58. package/dist/tooltips.css.map +1 -1
  59. package/dist/truncate.css.map +1 -1
  60. package/dist/utilities.css.map +1 -1
  61. package/dist/variables.json +7 -7
  62. package/forms/form-control.scss +1 -0
  63. package/forms/form-group.scss +1 -0
  64. package/forms/radio-group.scss +0 -1
  65. package/labels/mixins.scss +6 -2
  66. package/layout/grid-offset.scss +1 -0
  67. package/layout/grid.scss +1 -0
  68. package/layout/page-layout.scss +2 -4
  69. package/markdown/footnotes.scss +38 -26
  70. package/markdown/markdown-body.scss +0 -8
  71. package/marketing/type/typography.scss +3 -0
  72. package/package.json +18 -15
  73. package/popover/popover.scss +0 -1
  74. package/support/mixins/misc.scss +1 -0
  75. package/timeline/timeline-item.scss +0 -1
  76. package/utilities/margin.scss +4 -1
  77. package/utilities/padding.scss +3 -1
package/CHANGELOG.md CHANGED
@@ -1,15 +1,31 @@
1
1
  # @primer/css
2
2
 
3
+ ## 19.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1905](https://github.com/primer/css/pull/1905) [`50221a54`](https://github.com/primer/css/commit/50221a5486d28c54dc1f578b459addd867bd01d3) Thanks [@langermank](https://github.com/langermank)! - Refactors NavigationList to better handle accessibility. Backwards compatible for TreeView CSS.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#1928](https://github.com/primer/css/pull/1928) [`0fb67895`](https://github.com/primer/css/commit/0fb6789555652860cfa5178b60433eb2c3d2575c) Thanks [@simurai](https://github.com/simurai)! - Fix `<sup><a>` from getting wrapped with `[ ]`
12
+
3
13
  ## 19.3.0
4
14
 
5
15
  ### Minor Changes
6
16
 
7
17
  - [#1876](https://github.com/primer/css/pull/1876) [`bcf447ab`](https://github.com/primer/css/commit/bcf447ab226e6043dd47c1fcc395ba104af866d4) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Add mono font stack to <samp> tag
8
18
 
19
+ * [#1919](https://github.com/primer/css/pull/1919) [`21085f5c`](https://github.com/primer/css/commit/21085f5c6cc538b5014a47de76642554a4291cc6) Thanks [@hectahertz](https://github.com/hectahertz)! - Add blankslate classes to replace utilities
20
+
9
21
  ### Patch Changes
10
22
 
11
23
  - [#1892](https://github.com/primer/css/pull/1892) [`55bd498b`](https://github.com/primer/css/commit/55bd498b7357e86659ac574f0f745f7b420fb6d3) Thanks [@langermank](https://github.com/langermank)! - Patch: Fix ActionList--divided for label with inline description scenarios
12
24
 
25
+ * [#1906](https://github.com/primer/css/pull/1906) [`f02d9a3e`](https://github.com/primer/css/commit/f02d9a3e4e86c2659a9f507995bcb90c5226e34e) Thanks [@jonrohan](https://github.com/jonrohan)! - Upgrading @primer/stylelint-config@12.3.0 and fixing violations
26
+
27
+ - [#1908](https://github.com/primer/css/pull/1908) [`84581e96`](https://github.com/primer/css/commit/84581e96aee50ff3883907dfe1069701edd1c24a) Thanks [@simurai](https://github.com/simurai)! - Reduce size of `Label--inline`
28
+
13
29
  * [#1890](https://github.com/primer/css/pull/1890) [`74d0438b`](https://github.com/primer/css/commit/74d0438bd4dbaed447b553c5d3c8b945da282836) Thanks [@andrialexandrou](https://github.com/andrialexandrou)! - Adds --color-accent-emphasis and --color-fg-on-emphasis rules for Windows High Contrast Mode
14
30
 
15
31
  - [#1882](https://github.com/primer/css/pull/1882) [`4a06aba1`](https://github.com/primer/css/commit/4a06aba1d3f80bcc228ff4360d0e02d5ace158ff) Thanks [@tqwewe](https://github.com/tqwewe)! - Fix layout gutter none styles
@@ -4,7 +4,6 @@
4
4
  // has children
5
5
  &:not(:empty) {
6
6
  display: flex;
7
- // stylelint-disable-next-line primer/spacing
8
7
  padding: ($spacer-1 * 1.5) $spacer-2;
9
8
  font-size: $font-size-small;
10
9
  font-weight: $font-weight-bold;
@@ -14,14 +13,20 @@
14
13
 
15
14
  // no children
16
15
  &:empty {
16
+ display: block;
17
17
  height: 1px;
18
18
  padding: 0;
19
- // stylelint-disable-next-line primer/spacing
20
19
  margin: ($spacer-2 - 1px) ($spacer-2 * -1) $spacer-2;
21
20
  list-style: none;
22
21
  background: var(--color-action-list-item-inline-divider);
23
22
  border: 0;
24
23
  }
24
+
25
+ .ActionList-sectionDivider-title {
26
+ font-size: $font-size-small;
27
+ font-weight: $font-weight-bold;
28
+ color: var(--color-fg-muted);
29
+ }
25
30
  }
26
31
 
27
32
  .ActionList-sectionDivider--filled {
@@ -24,17 +24,10 @@
24
24
  list-style: none;
25
25
  background-color: transparent;
26
26
  border-radius: $border-radius;
27
- touch-action: manipulation;
28
- -webkit-tap-highlight-color: transparent;
29
27
 
30
28
  &:hover,
31
29
  &:active {
32
30
  cursor: pointer;
33
-
34
- // a href
35
- .ActionList-content {
36
- text-decoration: none;
37
- }
38
31
  }
39
32
 
40
33
  // only hover li without list as children
@@ -157,98 +150,6 @@
157
150
  }
158
151
  }
159
152
 
160
- // collapsible item [aria-expanded]
161
-
162
- // nesting (single level)
163
- // target items inside expanded subgroups
164
- &[aria-expanded] {
165
- .ActionList--subGroup {
166
- @media screen and (prefers-reduced-motion: no-preference) {
167
- transition: opacity 160ms cubic-bezier(0.25, 1, 0.5, 1), transform 160ms cubic-bezier(0.25, 1, 0.5, 1);
168
- }
169
-
170
- .ActionList-content {
171
- padding-left: $spacer-4;
172
- }
173
- }
174
-
175
- // has 16px leading visual
176
- .ActionList-content--visual16 + .ActionList--subGroup {
177
- .ActionList-content {
178
- padding-left: $spacer-5;
179
- }
180
- }
181
-
182
- // has 20px leading visual
183
- .ActionList-content--visual20 + .ActionList--subGroup {
184
- .ActionList-content {
185
- padding-left: $spacer-2 * 4.5; // 36px
186
- }
187
- }
188
-
189
- // has 24px leading visual
190
- .ActionList-content--visual24 + .ActionList--subGroup {
191
- .ActionList-content {
192
- padding-left: $spacer-6;
193
- }
194
- }
195
- }
196
-
197
- &[aria-expanded='true'] {
198
- .ActionList-item-collapseIcon {
199
- transition: transform 120ms linear;
200
- transform: scaleY(-1);
201
- }
202
-
203
- .ActionList--subGroup {
204
- height: auto;
205
- overflow: visible;
206
- visibility: visible;
207
- opacity: 1;
208
- transform: translateY(0);
209
- }
210
-
211
- &.ActionList-item--hasActiveSubItem {
212
- > .ActionList-content > .ActionList-item-label {
213
- font-weight: $font-weight-bold;
214
- }
215
- }
216
- }
217
-
218
- &[aria-expanded='false'] {
219
- .ActionList-item-collapseIcon {
220
- transition: transform 120ms linear;
221
- transform: scaleY(1);
222
- }
223
-
224
- .ActionList--subGroup {
225
- height: 0;
226
- overflow: hidden;
227
- visibility: hidden;
228
- opacity: 0;
229
- transform: translateY(-$spacer-3);
230
- }
231
-
232
- // show active indicator on parent collapse if child is active
233
- &.ActionList-item--hasActiveSubItem {
234
- background: var(--color-action-list-item-default-selected-bg);
235
-
236
- .ActionList-item-label {
237
- font-weight: $font-weight-bold;
238
- }
239
-
240
- &::before,
241
- + .ActionList-item::before {
242
- visibility: hidden;
243
- }
244
-
245
- // blue accent line
246
- &::after {
247
- @include activeIndicatorLine;
248
- }
249
- }
250
- }
251
-
252
153
  // checkbox item [aria-checked]
253
154
  // listbox [aria-selected]
254
155
 
@@ -363,26 +264,9 @@
363
264
  }
364
265
  }
365
266
 
366
- &:active {
367
- background: var(--color-action-list-item-danger-active-bg);
368
- }
369
- }
370
-
371
- // disabled
372
- &[aria-disabled='true'] {
373
- .ActionList-item-label,
374
- .ActionList-item-description {
375
- color: var(--color-primer-fg-disabled);
376
- }
377
-
378
- .ActionList-item-visual {
379
- fill: var(--color-primer-fg-disabled);
380
- }
381
-
382
- @media (hover: hover) {
383
- &:hover {
384
- cursor: not-allowed;
385
- background-color: transparent;
267
+ .ActionList-content {
268
+ &:active {
269
+ background: var(--color-action-list-item-danger-active-bg);
386
270
  }
387
271
  }
388
272
  }
@@ -394,19 +278,26 @@
394
278
  }
395
279
  }
396
280
 
397
- // span or a href
281
+ // button or a href
398
282
  .ActionList-content {
399
283
  position: relative;
400
284
  display: grid;
285
+ width: 100%;
401
286
  // stylelint-disable-next-line primer/spacing
402
287
  padding: $actionList-item-padding-vertical $actionList-item-padding-horizontal;
403
288
  font-size: $body-font-size;
404
289
  font-weight: $font-weight-normal;
405
290
  color: var(--color-fg-default);
291
+ text-align: left;
406
292
  user-select: none;
407
- touch-action: manipulation;
293
+ background-color: transparent;
294
+ // stylelint-disable-next-line declaration-property-value-disallowed-list
295
+ border: none;
408
296
  border-radius: $border-radius;
409
297
  transition: $actionList-item-bg-transition;
298
+ touch-action: manipulation;
299
+ touch-action: manipulation;
300
+ -webkit-tap-highlight-color: transparent;
410
301
  grid-template-rows: min-content;
411
302
  grid-template-areas: 'leadingAction leadingVisual label trailingVisual trailingAction';
412
303
  grid-template-columns: min-content min-content minmax(0, auto) min-content min-content;
@@ -417,10 +308,127 @@
417
308
  margin-right: $spacer-2;
418
309
  }
419
310
 
311
+ // state
312
+
313
+ &:hover {
314
+ text-decoration: none;
315
+ }
316
+
420
317
  &:focus-visible {
421
318
  @include focusOutline;
422
319
  }
423
320
 
321
+ // disabled
322
+ &[aria-disabled='true'] {
323
+ .ActionList-item-label,
324
+ .ActionList-item-description {
325
+ color: var(--color-primer-fg-disabled);
326
+ }
327
+
328
+ .ActionList-item-visual {
329
+ fill: var(--color-primer-fg-disabled);
330
+ }
331
+
332
+ @media (hover: hover) {
333
+ &:hover {
334
+ cursor: not-allowed;
335
+ background-color: transparent;
336
+ }
337
+ }
338
+ }
339
+
340
+ // collapsible item [aria-expanded]
341
+
342
+ // nesting (single level)
343
+ // target items inside expanded subgroups
344
+ &[aria-expanded] {
345
+ + .ActionList--subGroup {
346
+ @media screen and (prefers-reduced-motion: no-preference) {
347
+ transition: opacity 160ms cubic-bezier(0.25, 1, 0.5, 1), transform 160ms cubic-bezier(0.25, 1, 0.5, 1);
348
+ }
349
+
350
+ .ActionList-content {
351
+ padding-left: $spacer-4;
352
+ }
353
+ }
354
+
355
+ // has 16px leading visual
356
+ &.ActionList-content--visual16 + .ActionList--subGroup {
357
+ .ActionList-content {
358
+ padding-left: $spacer-5;
359
+ }
360
+ }
361
+
362
+ // has 20px leading visual
363
+ &.ActionList-content--visual20 + .ActionList--subGroup {
364
+ .ActionList-content {
365
+ padding-left: $spacer-2 * 4.5; // 36px
366
+ }
367
+ }
368
+
369
+ // has 24px leading visual
370
+ &.ActionList-content--visual24 + .ActionList--subGroup {
371
+ .ActionList-content {
372
+ padding-left: $spacer-6;
373
+ }
374
+ }
375
+ }
376
+
377
+ &[aria-expanded='true'] {
378
+ .ActionList-item-collapseIcon {
379
+ transition: transform 120ms linear;
380
+ transform: scaleY(-1);
381
+ }
382
+
383
+ + .ActionList--subGroup {
384
+ height: auto;
385
+ overflow: visible;
386
+ visibility: visible;
387
+ opacity: 1;
388
+ transform: translateY(0);
389
+ }
390
+
391
+ &.ActionList-content--hasActiveSubItem {
392
+ > .ActionList-item-label {
393
+ font-weight: $font-weight-bold;
394
+ }
395
+ }
396
+ }
397
+
398
+ &[aria-expanded='false'] {
399
+ .ActionList-item-collapseIcon {
400
+ transition: transform 120ms linear;
401
+ transform: scaleY(1);
402
+ }
403
+
404
+ + .ActionList--subGroup {
405
+ height: 0;
406
+ overflow: hidden;
407
+ visibility: hidden;
408
+ opacity: 0;
409
+ transform: translateY(-$spacer-3);
410
+ }
411
+
412
+ // show active indicator on parent collapse if child is active
413
+ &.ActionList-content--hasActiveSubItem {
414
+ background: var(--color-action-list-item-default-selected-bg);
415
+
416
+ .ActionList-item-label {
417
+ font-weight: $font-weight-bold;
418
+ }
419
+
420
+ &::before,
421
+ + .ActionList-item::before {
422
+ visibility: hidden;
423
+ }
424
+
425
+ // blue accent line
426
+ &::after {
427
+ @include activeIndicatorLine;
428
+ }
429
+ }
430
+ }
431
+
424
432
  // sizes
425
433
 
426
434
  &.ActionList-content--sizeMedium {
@@ -1,9 +1,21 @@
1
+ // stylelint-disable max-nesting-depth, selector-max-compound-selectors, selector-max-specificity, no-duplicate-selectors, selector-max-type
1
2
  // tree-view variant
2
3
  // renders ActionList with default styling for tree-view
3
4
  // collapse/expand icons presents as leadingActions, rotate 90deg
4
5
  // connecting vertical lines between collapse groups
5
6
  // consistent font-size between nested groups
6
7
 
8
+ @mixin activeIndicatorLine {
9
+ position: absolute;
10
+ top: calc(50% - 12px);
11
+ left: -$actionList-item-padding-horizontal;
12
+ width: $spacer-1;
13
+ height: $spacer-4;
14
+ content: '';
15
+ background: var(--color-accent-fg);
16
+ border-radius: $border-radius;
17
+ }
18
+
7
19
  @mixin treeConnectingLine($left) {
8
20
  position: absolute;
9
21
  left: $left;
@@ -21,6 +33,87 @@
21
33
  }
22
34
 
23
35
  .ActionList-item {
36
+ // start: copy from ActionList proper- backwards compatible for treeview with different markup structure
37
+ &[aria-expanded] {
38
+ .ActionList--subGroup {
39
+ @media screen and (prefers-reduced-motion: no-preference) {
40
+ transition: opacity 160ms cubic-bezier(0.25, 1, 0.5, 1), transform 160ms cubic-bezier(0.25, 1, 0.5, 1);
41
+ }
42
+
43
+ .ActionList-content {
44
+ padding-left: $spacer-4;
45
+ }
46
+ }
47
+
48
+ // has 16px leading visual
49
+ .ActionList-content--visual16 + .ActionList--subGroup {
50
+ .ActionList-content {
51
+ padding-left: $spacer-5;
52
+ }
53
+ }
54
+
55
+ // has 20px leading visual
56
+ .ActionList-content--visual20 + .ActionList--subGroup {
57
+ .ActionList-content {
58
+ padding-left: $spacer-2 * 4.5; // 36px
59
+ }
60
+ }
61
+
62
+ // has 24px leading visual
63
+ .ActionList-content--visual24 + .ActionList--subGroup {
64
+ .ActionList-content {
65
+ padding-left: $spacer-6;
66
+ }
67
+ }
68
+ }
69
+
70
+ &[aria-expanded='true'] {
71
+ .ActionList-item-collapseIcon {
72
+ transition: transform 120ms linear;
73
+ transform: scaleY(-1);
74
+ }
75
+
76
+ .ActionList--subGroup {
77
+ height: auto;
78
+ overflow: visible;
79
+ visibility: visible;
80
+ opacity: 1;
81
+ transform: translateY(0);
82
+ }
83
+ }
84
+
85
+ &[aria-expanded='false'] {
86
+ .ActionList-item-collapseIcon {
87
+ transition: transform 120ms linear;
88
+ transform: scaleY(1);
89
+ }
90
+
91
+ .ActionList--subGroup {
92
+ height: 0;
93
+ overflow: hidden;
94
+ visibility: hidden;
95
+ opacity: 0;
96
+ transform: translateY(-$spacer-3);
97
+ }
98
+
99
+ // show active indicator on parent collapse if child is active
100
+ // this class changed in ActionList proper
101
+ &.ActionList-item--hasActiveSubItem {
102
+ background: var(--color-action-list-item-default-selected-bg);
103
+
104
+ &::before,
105
+ + .ActionList-item::before {
106
+ visibility: hidden;
107
+ }
108
+
109
+ // blue accent line
110
+ &::after {
111
+ @include activeIndicatorLine;
112
+ }
113
+ }
114
+ }
115
+ // end copy
116
+
24
117
  // nesting (infinate levels)
25
118
  // target items inside expanded subgroup
26
119
  &[aria-expanded] {
@@ -28,9 +121,7 @@
28
121
  position: relative;
29
122
 
30
123
  // --ActionList-tree-depth is defined as an inline style referencing the aria-level of each item ie: aria-level="2"
31
- // stylelint-disable-next-line selector-max-specificity, max-nesting-depth, selector-max-compound-selectors
32
124
  .ActionList-content {
33
- // stylelint-disable-next-line primer/spacing
34
125
  padding-left: calc(#{$spacer-2} * var(--ActionList-tree-depth));
35
126
  }
36
127
  }
@@ -55,11 +146,9 @@
55
146
  // expand/collapse group
56
147
  .ActionList-item--hasSubItem {
57
148
  .ActionList-item--subItem:not(.ActionList-item--hasSubItem) {
58
- // stylelint-disable-next-line selector-max-specificity, selector-max-compound-selectors
59
149
  .ActionList-content {
60
150
  // increase child padding by targeting content first child span (add to ActionList-content padding, not replace)
61
151
  // creates a slight indent of child items
62
- // stylelint-disable-next-line selector-max-specificity, selector-max-type, max-nesting-depth, selector-max-compound-selectors
63
152
  > span:first-child {
64
153
  padding-left: $spacer-4;
65
154
  }
@@ -70,7 +159,6 @@
70
159
  // first subitem
71
160
  > [aria-level='1'].ActionList-item--hasSubItem {
72
161
  > .ActionList--subGroup {
73
- // stylelint-disable-next-line selector-max-specificity
74
162
  &::before {
75
163
  @include treeConnectingLine($left: $spacer-3);
76
164
  }
@@ -81,7 +169,6 @@
81
169
  // center connecting line with parent (line is 1px (8px - 1px)
82
170
  .ActionList-item--hasSubItem:not([aria-level='1']) {
83
171
  > .ActionList--subGroup {
84
- // stylelint-disable-next-line selector-max-specificity
85
172
  &::before {
86
173
  @include treeConnectingLine(
87
174
  $left: calc(#{$spacer-2} * (var(--ActionList-tree-depth)) + #{$spacer-2 - $border-width})
@@ -8,6 +8,11 @@
8
8
  padding: 0;
9
9
  }
10
10
 
11
+ // nested list within main ActionList
12
+ .ActionList--subGroup {
13
+ padding: 0;
14
+ }
15
+
11
16
  // dividers
12
17
 
13
18
  .ActionList--divided {
package/base/kbd.scss CHANGED
@@ -3,7 +3,6 @@
3
3
 
4
4
  kbd {
5
5
  display: inline-block;
6
- // stylelint-disable-next-line primer/spacing
7
6
  padding: ($spacer-1 - 1) ($spacer-1 + 1);
8
7
  font: 11px $mono-font;
9
8
  // stylelint-disable-next-line primer/typography
@@ -30,12 +30,31 @@
30
30
  color: var(--color-fg-muted);
31
31
  }
32
32
 
33
+ .blankslate-image {
34
+ margin-bottom: $spacer-3;
35
+ }
36
+
37
+ .blankslate-heading {
38
+ margin-bottom: $spacer-1;
39
+ }
40
+
41
+ .blankslate-action {
42
+ margin-top: $spacer-3;
43
+
44
+ &:first-of-type {
45
+ margin-top: $spacer-4;
46
+ }
47
+
48
+ &:last-of-type {
49
+ margin-bottom: $spacer-2;
50
+ }
51
+ }
52
+
33
53
  .blankslate-capped {
34
54
  border-radius: 0 0 $border-radius $border-radius;
35
55
  }
36
56
 
37
57
  .blankslate-spacious {
38
- // stylelint-disable-next-line primer/spacing
39
58
  padding: ($spacer-6 * 2) $spacer-6;
40
59
  }
41
60
 
package/box/box.scss CHANGED
@@ -28,7 +28,6 @@
28
28
  .Box-btn-octicon {
29
29
  &.btn-octicon {
30
30
  padding: $spacer-2 $spacer-3;
31
- // stylelint-disable-next-line primer/spacing
32
31
  margin: (-$spacer-2) (-$spacer-3);
33
32
  line-height: $lh-condensed;
34
33
  }
@@ -60,7 +59,6 @@
60
59
  .Box-btn-octicon {
61
60
  &.btn-octicon {
62
61
  padding: $spacer-4;
63
- // stylelint-disable-next-line primer/spacing
64
62
  margin: (-$spacer-4) (-$spacer-4);
65
63
  }
66
64
  }
@@ -285,7 +283,6 @@
285
283
  // Increase specificity when btn-octicon is used because comes after .Box in the cascade
286
284
  &.btn-octicon {
287
285
  padding: $spacer-3 $spacer-3;
288
- // stylelint-disable-next-line primer/spacing
289
286
  margin: (-$spacer-3) (-$spacer-3);
290
287
  line-height: $lh-default; // override btn-octicon line-height
291
288
  }
@@ -294,6 +294,7 @@
294
294
 
295
295
  // Large button adds more padding around text. Use font-size utils to increase font-size.. e.g, <p class="text-gamma"><button class="btn btn-large btn-primary" type="button">Big green button</button></p>
296
296
  .btn-large {
297
+ // stylelint-disable-next-line primer/spacing
297
298
  padding: $em-spacer-6 1.5em;
298
299
  font-size: inherit;
299
300
  line-height: $lh-default;
@@ -1,2 +1,2 @@
1
- .ActionList{padding:8px}.ActionList--full{padding:0}.ActionList--divided .ActionList-item-label::before{position:absolute;top:-6px;display:block;width:100%;height:1px;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--divided .ActionList-item-descriptionWrap--inline::before{position:absolute;top:-6px;display:block;width:100%;height:1px;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--divided .ActionList-item-descriptionWrap--inline .ActionList-item-label::before{content:unset}.ActionList--divided .ActionList-item--navActive .ActionList-item-label::before,.ActionList--divided .ActionList-item--navActive+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:first-of-type .ActionList-item-label::before,.ActionList-sectionDivider+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:first-of-type .ActionList-item-descriptionWrap--inline::before,.ActionList-sectionDivider+.ActionList-item .ActionList-item-descriptionWrap--inline::before{visibility:hidden}.ActionList--tree{--ActionList-tree-depth: 1}.ActionList--tree .ActionList-item--subItem>.ActionList-content{font-size:14px}.ActionList--tree .ActionList-item[aria-expanded] .ActionList--subGroup{position:relative}.ActionList--tree .ActionList-item[aria-expanded] .ActionList--subGroup .ActionList-content{padding-left:calc(8px * var(--ActionList-tree-depth))}.ActionList--tree .ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:rotate(0deg)}.ActionList--tree .ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:rotate(-90deg)}.ActionList--tree .ActionList-item--hasSubItem .ActionList-item--subItem:not(.ActionList-item--hasSubItem) .ActionList-content>span:first-child{padding-left:24px}.ActionList--tree>[aria-level="1"].ActionList-item--hasSubItem>.ActionList--subGroup::before{position:absolute;left:16px;width:1px;height:100%;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--tree .ActionList-item--hasSubItem:not([aria-level="1"])>.ActionList--subGroup::before{position:absolute;left:calc(8px * (var(--ActionList-tree-depth)) + 7px);width:1px;height:100%;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList-item{position:relative;list-style:none;background-color:transparent;border-radius:6px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.ActionList-item:hover,.ActionList-item:active{cursor:pointer}.ActionList-item:hover .ActionList-content,.ActionList-item:active .ActionList-content{text-decoration:none}@media(hover: hover){.ActionList-item:not(.ActionList-item--hasSubItem):hover,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{cursor:pointer;background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):hover:not(.ActionList-item--navActive),.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover:not(.ActionList-item--navActive){outline:solid 1px transparent;outline-offset:-1px;box-shadow:inset 0 0 0 2px var(--color-action-list-item-default-active-border)}}.ActionList-item:not(.ActionList-item--hasSubItem):active,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active{background:var(--color-action-list-item-default-active-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):active:not(.ActionList-item--navActive),.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active:not(.ActionList-item--navActive){outline:solid 1px transparent;outline-offset:-1px;box-shadow:inset 0 0 0 2px var(--color-action-list-item-default-active-border)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item:not(.ActionList-item--hasSubItem):active,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active{animation:ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1)}}@keyframes ActionList-item-active-bg{50%{box-shadow:inset 0 2px 12px 6px rgba(var(--color-canvas-default), 0.4);transform:scale(1)}100%{transform:scale(0.97)}}@media(hover: hover){.ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-descriptionWrap--inline::before,.ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-descriptionWrap--inline::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover .ActionList-item-descriptionWrap--inline::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover+.ActionList-item .ActionList-item-descriptionWrap--inline::before{visibility:hidden}}.ActionList-item:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content{z-index:1}@media(hover: hover){.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{background-color:var(--color-action-list-item-default-hover-bg)}}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active{background-color:var(--color-action-list-item-default-active-bg)}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--subItem) .ActionList-item-label{font-weight:600}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger){background:var(--color-action-list-item-default-selected-bg)}@media(hover: hover){.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger):hover{background-color:var(--color-action-list-item-default-hover-bg)}}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::before,.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)+.ActionList-item::before{visibility:hidden}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::after{position:absolute;top:calc(50% - 12px);left:-8px;width:4px;height:24px;content:"";background:var(--color-accent-fg);border-radius:6px}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-expanded] .ActionList--subGroup{transition:opacity 160ms cubic-bezier(0.25, 1, 0.5, 1),transform 160ms cubic-bezier(0.25, 1, 0.5, 1)}}.ActionList-item[aria-expanded] .ActionList--subGroup .ActionList-content{padding-left:24px}.ActionList-item[aria-expanded] .ActionList-content--visual16+.ActionList--subGroup .ActionList-content{padding-left:32px}.ActionList-item[aria-expanded] .ActionList-content--visual20+.ActionList--subGroup .ActionList-content{padding-left:36px}.ActionList-item[aria-expanded] .ActionList-content--visual24+.ActionList--subGroup .ActionList-content{padding-left:40px}.ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(-1)}.ActionList-item[aria-expanded=true] .ActionList--subGroup{height:auto;overflow:visible;visibility:visible;opacity:1;transform:translateY(0)}.ActionList-item[aria-expanded=true].ActionList-item--hasActiveSubItem>.ActionList-content>.ActionList-item-label{font-weight:600}.ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(1)}.ActionList-item[aria-expanded=false] .ActionList--subGroup{height:0;overflow:hidden;visibility:hidden;opacity:0;transform:translateY(-16px)}.ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem{background:var(--color-action-list-item-default-selected-bg)}.ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem .ActionList-item-label{font-weight:600}.ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem::before,.ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem+.ActionList-item::before{visibility:hidden}.ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem::after{position:absolute;top:calc(50% - 12px);left:-8px;width:4px;height:24px;content:"";background:var(--color-accent-fg);border-radius:6px}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectCheckmark{visibility:visible;opacity:1;transition:visibility 0 linear 0,opacity 50ms}.ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark{visibility:visible}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark{animation:checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards}}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect{fill:var(--color-accent-fg);stroke:var(--color-accent-fg);stroke-width:1px}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark{fill:var(--color-fg-on-emphasis)}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectCheckmark{visibility:hidden;opacity:0;transition:visibility 0 linear 50ms,opacity 50ms}.ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark{visibility:hidden;transition:visibility 0s linear 200ms;-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark{animation:checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards}}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect{fill:var(--color-canvas-default);stroke:var(--color-border-default);stroke-width:1px}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIconRect{fill:var(--color-canvas-default);border:1px solid var(--color-border-default)}@keyframes checkmarkIn{from{-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}to{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}}@keyframes checkmarkOut{from{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}to{-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}}.ActionList-item.ActionList-item--danger .ActionList-item-label{color:var(--color-danger-fg)}.ActionList-item.ActionList-item--danger .ActionList-item-visual{color:var(--color-danger-fg)}@media(hover: hover){.ActionList-item.ActionList-item--danger:hover{background:var(--color-action-list-item-danger-hover-bg)}.ActionList-item.ActionList-item--danger:hover .ActionList-item-label{color:var(--color-action-list-item-danger-hover-text)}}.ActionList-item.ActionList-item--danger:active{background:var(--color-action-list-item-danger-active-bg)}.ActionList-item[aria-disabled=true] .ActionList-item-label,.ActionList-item[aria-disabled=true] .ActionList-item-description{color:var(--color-primer-fg-disabled)}.ActionList-item[aria-disabled=true] .ActionList-item-visual{fill:var(--color-primer-fg-disabled)}@media(hover: hover){.ActionList-item[aria-disabled=true]:hover{cursor:not-allowed;background-color:transparent}}.ActionList-item .ActionList{padding:unset}.ActionList-content{position:relative;display:grid;padding:6px 8px;font-size:14px;font-weight:400;color:var(--color-fg-default);-webkit-user-select:none;user-select:none;touch-action:manipulation;border-radius:6px;transition:background 33.333ms linear;grid-template-rows:min-content;grid-template-areas:"leadingAction leadingVisual label trailingVisual trailingAction";grid-template-columns:min-content min-content minmax(0, auto) min-content min-content;align-items:start}.ActionList-content>:not(:last-child){margin-right:8px}.ActionList-content:focus-visible{position:relative;z-index:1;outline:none;box-shadow:0 0 0 2px var(--color-accent-fg)}.ActionList-content.ActionList-content--sizeMedium{padding:10px 8px}.ActionList-content.ActionList-content--sizeLarge{padding:14px 8px}.ActionList-content.ActionList-content--fontSmall{font-size:12px}@media(pointer: coarse){.ActionList-content{padding:14px 8px}}.ActionList-content.ActionList-content--blockDescription .ActionList-item-visual{place-self:start}.ActionList-item-action--leading{grid-area:leadingAction}.ActionList-item-visual--leading{grid-area:leadingVisual}.ActionList-item-label{grid-area:label}.ActionList-item-visual--trailing{grid-area:trailingVisual}.ActionList-item-action--trailing{grid-area:trailingAction}.ActionList-item-descriptionWrap{grid-area:label;display:flex;flex-direction:column}.ActionList-item-descriptionWrap .ActionList-item-description{margin-top:4px}.ActionList-item-descriptionWrap .ActionList-item-label{font-weight:600}.ActionList-item-descriptionWrap--inline{position:relative;flex-direction:row;align-items:baseline}.ActionList-item-descriptionWrap--inline .ActionList-item-description{margin-left:8px}.ActionList-item-description{font-size:12px;font-weight:400;line-height:1.5;color:var(--color-fg-muted)}.ActionList-item-visual,.ActionList-item-action{display:flex;min-height:20px;color:var(--color-fg-muted);fill:var(--color-fg-muted);align-items:center}.ActionList-item-label{position:relative;font-weight:400;line-height:20px;color:var(--color-fg-default)}.ActionList-item-label--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ActionList-item--subItem>.ActionList-content{font-size:12px}.ActionList-sectionDivider:not(:empty){display:flex;padding:6px 8px;font-size:12px;font-weight:600;color:var(--color-fg-muted);flex-direction:column}.ActionList-sectionDivider:empty{height:1px;padding:0;margin:7px -8px 8px;list-style:none;background:var(--color-action-list-item-inline-divider);border:0}.ActionList-sectionDivider--filled{margin:8px -8px;background:var(--color-canvas-subtle);border-top:1px solid var(--color-action-list-item-inline-divider);border-bottom:1px solid var(--color-action-list-item-inline-divider)}.ActionList-sectionDivider--filled:empty{height:8px;box-sizing:border-box}.ActionList-sectionDivider--filled:first-child{margin-top:0}
1
+ .ActionList{padding:8px}.ActionList--full{padding:0}.ActionList--subGroup{padding:0}.ActionList--divided .ActionList-item-label::before{position:absolute;top:-6px;display:block;width:100%;height:1px;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--divided .ActionList-item-descriptionWrap--inline::before{position:absolute;top:-6px;display:block;width:100%;height:1px;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--divided .ActionList-item-descriptionWrap--inline .ActionList-item-label::before{content:unset}.ActionList--divided .ActionList-item--navActive .ActionList-item-label::before,.ActionList--divided .ActionList-item--navActive+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:first-of-type .ActionList-item-label::before,.ActionList-sectionDivider+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:first-of-type .ActionList-item-descriptionWrap--inline::before,.ActionList-sectionDivider+.ActionList-item .ActionList-item-descriptionWrap--inline::before{visibility:hidden}.ActionList--tree{--ActionList-tree-depth: 1}.ActionList--tree .ActionList-item--subItem>.ActionList-content{font-size:14px}@media screen and (prefers-reduced-motion: no-preference){.ActionList--tree .ActionList-item[aria-expanded] .ActionList--subGroup{transition:opacity 160ms cubic-bezier(0.25, 1, 0.5, 1),transform 160ms cubic-bezier(0.25, 1, 0.5, 1)}}.ActionList--tree .ActionList-item[aria-expanded] .ActionList--subGroup .ActionList-content{padding-left:24px}.ActionList--tree .ActionList-item[aria-expanded] .ActionList-content--visual16+.ActionList--subGroup .ActionList-content{padding-left:32px}.ActionList--tree .ActionList-item[aria-expanded] .ActionList-content--visual20+.ActionList--subGroup .ActionList-content{padding-left:36px}.ActionList--tree .ActionList-item[aria-expanded] .ActionList-content--visual24+.ActionList--subGroup .ActionList-content{padding-left:40px}.ActionList--tree .ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(-1)}.ActionList--tree .ActionList-item[aria-expanded=true] .ActionList--subGroup{height:auto;overflow:visible;visibility:visible;opacity:1;transform:translateY(0)}.ActionList--tree .ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(1)}.ActionList--tree .ActionList-item[aria-expanded=false] .ActionList--subGroup{height:0;overflow:hidden;visibility:hidden;opacity:0;transform:translateY(-16px)}.ActionList--tree .ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem{background:var(--color-action-list-item-default-selected-bg)}.ActionList--tree .ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem::before,.ActionList--tree .ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem+.ActionList-item::before{visibility:hidden}.ActionList--tree .ActionList-item[aria-expanded=false].ActionList-item--hasActiveSubItem::after{position:absolute;top:calc(50% - 12px);left:-8px;width:4px;height:24px;content:"";background:var(--color-accent-fg);border-radius:6px}.ActionList--tree .ActionList-item[aria-expanded] .ActionList--subGroup{position:relative}.ActionList--tree .ActionList-item[aria-expanded] .ActionList--subGroup .ActionList-content{padding-left:calc(8px * var(--ActionList-tree-depth))}.ActionList--tree .ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:rotate(0deg)}.ActionList--tree .ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:rotate(-90deg)}.ActionList--tree .ActionList-item--hasSubItem .ActionList-item--subItem:not(.ActionList-item--hasSubItem) .ActionList-content>span:first-child{padding-left:24px}.ActionList--tree>[aria-level="1"].ActionList-item--hasSubItem>.ActionList--subGroup::before{position:absolute;left:16px;width:1px;height:100%;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--tree .ActionList-item--hasSubItem:not([aria-level="1"])>.ActionList--subGroup::before{position:absolute;left:calc(8px * (var(--ActionList-tree-depth)) + 7px);width:1px;height:100%;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList-item{position:relative;list-style:none;background-color:transparent;border-radius:6px}.ActionList-item:hover,.ActionList-item:active{cursor:pointer}@media(hover: hover){.ActionList-item:not(.ActionList-item--hasSubItem):hover,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{cursor:pointer;background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):hover:not(.ActionList-item--navActive),.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover:not(.ActionList-item--navActive){outline:solid 1px transparent;outline-offset:-1px;box-shadow:inset 0 0 0 2px var(--color-action-list-item-default-active-border)}}.ActionList-item:not(.ActionList-item--hasSubItem):active,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active{background:var(--color-action-list-item-default-active-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):active:not(.ActionList-item--navActive),.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active:not(.ActionList-item--navActive){outline:solid 1px transparent;outline-offset:-1px;box-shadow:inset 0 0 0 2px var(--color-action-list-item-default-active-border)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item:not(.ActionList-item--hasSubItem):active,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active{animation:ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1)}}@keyframes ActionList-item-active-bg{50%{box-shadow:inset 0 2px 12px 6px rgba(var(--color-canvas-default), 0.4);transform:scale(1)}100%{transform:scale(0.97)}}@media(hover: hover){.ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-descriptionWrap--inline::before,.ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-descriptionWrap--inline::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover .ActionList-item-descriptionWrap--inline::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover+.ActionList-item .ActionList-item-descriptionWrap--inline::before{visibility:hidden}}.ActionList-item:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active .ActionList-item-label::before,.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content{z-index:1}@media(hover: hover){.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{background-color:var(--color-action-list-item-default-hover-bg)}}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:active{background-color:var(--color-action-list-item-default-active-bg)}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--subItem) .ActionList-item-label{font-weight:600}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger){background:var(--color-action-list-item-default-selected-bg)}@media(hover: hover){.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger):hover{background-color:var(--color-action-list-item-default-hover-bg)}}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::before,.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)+.ActionList-item::before{visibility:hidden}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::after{position:absolute;top:calc(50% - 12px);left:-8px;width:4px;height:24px;content:"";background:var(--color-accent-fg);border-radius:6px}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectCheckmark{visibility:visible;opacity:1;transition:visibility 0 linear 0,opacity 50ms}.ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark{visibility:visible}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark{animation:checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards}}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect{fill:var(--color-accent-fg);stroke:var(--color-accent-fg);stroke-width:1px}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark{fill:var(--color-fg-on-emphasis)}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectCheckmark{visibility:hidden;opacity:0;transition:visibility 0 linear 50ms,opacity 50ms}.ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark{visibility:hidden;transition:visibility 0s linear 200ms;-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark{animation:checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards}}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect{fill:var(--color-canvas-default);stroke:var(--color-border-default);stroke-width:1px}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIconRect{fill:var(--color-canvas-default);border:1px solid var(--color-border-default)}@keyframes checkmarkIn{from{-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}to{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}}@keyframes checkmarkOut{from{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}to{-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}}.ActionList-item.ActionList-item--danger .ActionList-item-label{color:var(--color-danger-fg)}.ActionList-item.ActionList-item--danger .ActionList-item-visual{color:var(--color-danger-fg)}@media(hover: hover){.ActionList-item.ActionList-item--danger:hover{background:var(--color-action-list-item-danger-hover-bg)}.ActionList-item.ActionList-item--danger:hover .ActionList-item-label{color:var(--color-action-list-item-danger-hover-text)}}.ActionList-item.ActionList-item--danger .ActionList-content:active{background:var(--color-action-list-item-danger-active-bg)}.ActionList-item .ActionList{padding:unset}.ActionList-content{position:relative;display:grid;width:100%;padding:6px 8px;font-size:14px;font-weight:400;color:var(--color-fg-default);text-align:left;-webkit-user-select:none;user-select:none;background-color:transparent;border:none;border-radius:6px;transition:background 33.333ms linear;touch-action:manipulation;touch-action:manipulation;-webkit-tap-highlight-color:transparent;grid-template-rows:min-content;grid-template-areas:"leadingAction leadingVisual label trailingVisual trailingAction";grid-template-columns:min-content min-content minmax(0, auto) min-content min-content;align-items:start}.ActionList-content>:not(:last-child){margin-right:8px}.ActionList-content:hover{text-decoration:none}.ActionList-content:focus-visible{position:relative;z-index:1;outline:none;box-shadow:0 0 0 2px var(--color-accent-fg)}.ActionList-content[aria-disabled=true] .ActionList-item-label,.ActionList-content[aria-disabled=true] .ActionList-item-description{color:var(--color-primer-fg-disabled)}.ActionList-content[aria-disabled=true] .ActionList-item-visual{fill:var(--color-primer-fg-disabled)}@media(hover: hover){.ActionList-content[aria-disabled=true]:hover{cursor:not-allowed;background-color:transparent}}@media screen and (prefers-reduced-motion: no-preference){.ActionList-content[aria-expanded]+.ActionList--subGroup{transition:opacity 160ms cubic-bezier(0.25, 1, 0.5, 1),transform 160ms cubic-bezier(0.25, 1, 0.5, 1)}}.ActionList-content[aria-expanded]+.ActionList--subGroup .ActionList-content{padding-left:24px}.ActionList-content[aria-expanded].ActionList-content--visual16+.ActionList--subGroup .ActionList-content{padding-left:32px}.ActionList-content[aria-expanded].ActionList-content--visual20+.ActionList--subGroup .ActionList-content{padding-left:36px}.ActionList-content[aria-expanded].ActionList-content--visual24+.ActionList--subGroup .ActionList-content{padding-left:40px}.ActionList-content[aria-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(-1)}.ActionList-content[aria-expanded=true]+.ActionList--subGroup{height:auto;overflow:visible;visibility:visible;opacity:1;transform:translateY(0)}.ActionList-content[aria-expanded=true].ActionList-content--hasActiveSubItem>.ActionList-item-label{font-weight:600}.ActionList-content[aria-expanded=false] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(1)}.ActionList-content[aria-expanded=false]+.ActionList--subGroup{height:0;overflow:hidden;visibility:hidden;opacity:0;transform:translateY(-16px)}.ActionList-content[aria-expanded=false].ActionList-content--hasActiveSubItem{background:var(--color-action-list-item-default-selected-bg)}.ActionList-content[aria-expanded=false].ActionList-content--hasActiveSubItem .ActionList-item-label{font-weight:600}.ActionList-content[aria-expanded=false].ActionList-content--hasActiveSubItem::before,.ActionList-content[aria-expanded=false].ActionList-content--hasActiveSubItem+.ActionList-item::before{visibility:hidden}.ActionList-content[aria-expanded=false].ActionList-content--hasActiveSubItem::after{position:absolute;top:calc(50% - 12px);left:-8px;width:4px;height:24px;content:"";background:var(--color-accent-fg);border-radius:6px}.ActionList-content.ActionList-content--sizeMedium{padding:10px 8px}.ActionList-content.ActionList-content--sizeLarge{padding:14px 8px}.ActionList-content.ActionList-content--fontSmall{font-size:12px}@media(pointer: coarse){.ActionList-content{padding:14px 8px}}.ActionList-content.ActionList-content--blockDescription .ActionList-item-visual{place-self:start}.ActionList-item-action--leading{grid-area:leadingAction}.ActionList-item-visual--leading{grid-area:leadingVisual}.ActionList-item-label{grid-area:label}.ActionList-item-visual--trailing{grid-area:trailingVisual}.ActionList-item-action--trailing{grid-area:trailingAction}.ActionList-item-descriptionWrap{grid-area:label;display:flex;flex-direction:column}.ActionList-item-descriptionWrap .ActionList-item-description{margin-top:4px}.ActionList-item-descriptionWrap .ActionList-item-label{font-weight:600}.ActionList-item-descriptionWrap--inline{position:relative;flex-direction:row;align-items:baseline}.ActionList-item-descriptionWrap--inline .ActionList-item-description{margin-left:8px}.ActionList-item-description{font-size:12px;font-weight:400;line-height:1.5;color:var(--color-fg-muted)}.ActionList-item-visual,.ActionList-item-action{display:flex;min-height:20px;color:var(--color-fg-muted);fill:var(--color-fg-muted);align-items:center}.ActionList-item-label{position:relative;font-weight:400;line-height:20px;color:var(--color-fg-default)}.ActionList-item-label--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ActionList-item--subItem>.ActionList-content{font-size:12px}.ActionList-sectionDivider:not(:empty){display:flex;padding:6px 8px;font-size:12px;font-weight:600;color:var(--color-fg-muted);flex-direction:column}.ActionList-sectionDivider:empty{display:block;height:1px;padding:0;margin:7px -8px 8px;list-style:none;background:var(--color-action-list-item-inline-divider);border:0}.ActionList-sectionDivider .ActionList-sectionDivider-title{font-size:12px;font-weight:600;color:var(--color-fg-muted)}.ActionList-sectionDivider--filled{margin:8px -8px;background:var(--color-canvas-subtle);border-top:1px solid var(--color-action-list-item-inline-divider);border-bottom:1px solid var(--color-action-list-item-inline-divider)}.ActionList-sectionDivider--filled:empty{height:8px;box-sizing:border-box}.ActionList-sectionDivider--filled:first-child{margin-top:0}
2
2
  /*# sourceMappingURL=actionlist.css.map */