@primer/css 0.0.0-202110991853 → 0.0.0-2021111003855

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 (111) hide show
  1. package/CHANGELOG.md +41 -3
  2. package/DEVELOP.md +15 -0
  3. package/actionlist/action-list-item.scss +207 -22
  4. package/actionlist/action-list.scss +12 -0
  5. package/base/normalize.scss +1 -1
  6. package/box/box-overlay.scss +40 -0
  7. package/box/index.scss +1 -0
  8. package/buttons/misc.scss +7 -3
  9. package/color-modes/index.scss +1 -0
  10. package/color-modes/themes/dark.scss +2 -2
  11. package/color-modes/themes/dark_colorblind.scss +2 -2
  12. package/color-modes/themes/dark_dimmed.scss +2 -2
  13. package/color-modes/themes/dark_high_contrast.scss +2 -2
  14. package/color-modes/themes/light.scss +2 -2
  15. package/color-modes/themes/light_colorblind.scss +2 -2
  16. package/color-modes/themes/light_high_contrast.scss +7 -0
  17. package/deprecations.json +1 -1
  18. package/dist/actionlist.css +1 -1
  19. package/dist/actionlist.css.map +1 -1
  20. package/dist/alerts.css.map +1 -1
  21. package/dist/autocomplete.css.map +1 -1
  22. package/dist/avatars.css.map +1 -1
  23. package/dist/base.css +1 -1
  24. package/dist/base.css.map +1 -1
  25. package/dist/blankslate.css.map +1 -1
  26. package/dist/box.css +1 -1
  27. package/dist/box.css.map +1 -1
  28. package/dist/branch-name.css.map +1 -1
  29. package/dist/breadcrumb.css.map +1 -1
  30. package/dist/buttons.css +1 -1
  31. package/dist/buttons.css.map +1 -1
  32. package/dist/color-modes.css +1 -1
  33. package/dist/color-modes.css.map +1 -1
  34. package/dist/core.css +1 -1
  35. package/dist/core.css.map +1 -1
  36. package/dist/deprecations.json +1 -1
  37. package/dist/dropdown.css.map +1 -1
  38. package/dist/forms.css.map +1 -1
  39. package/dist/header.css.map +1 -1
  40. package/dist/labels.css +1 -1
  41. package/dist/labels.css.map +1 -1
  42. package/dist/layout.css.map +1 -1
  43. package/dist/links.css.map +1 -1
  44. package/dist/loaders.css.map +1 -1
  45. package/dist/markdown.css.map +1 -1
  46. package/dist/marketing-buttons.css +1 -1
  47. package/dist/marketing-buttons.css.map +1 -1
  48. package/dist/marketing-links.css +2 -0
  49. package/dist/marketing-links.css.map +1 -0
  50. package/dist/marketing-links.js +1 -0
  51. package/dist/marketing-type.css.map +1 -1
  52. package/dist/marketing-utilities.css +1 -1
  53. package/dist/marketing-utilities.css.map +1 -1
  54. package/dist/marketing.css +1 -1
  55. package/dist/marketing.css.map +1 -1
  56. package/dist/meta.json +69 -71
  57. package/dist/navigation.css +1 -1
  58. package/dist/navigation.css.map +1 -1
  59. package/dist/pagination.css.map +1 -1
  60. package/dist/popover.css +1 -1
  61. package/dist/popover.css.map +1 -1
  62. package/dist/primer.css +4 -4
  63. package/dist/primer.css.map +1 -1
  64. package/dist/product.css +1 -1
  65. package/dist/product.css.map +1 -1
  66. package/dist/progress.css.map +1 -1
  67. package/dist/select-menu.css.map +1 -1
  68. package/dist/stats/actionlist.json +1 -1
  69. package/dist/stats/base.json +1 -1
  70. package/dist/stats/box.json +1 -1
  71. package/dist/stats/buttons.json +1 -1
  72. package/dist/stats/color-modes.json +1 -1
  73. package/dist/stats/core.json +1 -1
  74. package/dist/stats/labels.json +1 -1
  75. package/dist/stats/marketing-buttons.json +1 -1
  76. package/dist/stats/marketing-links.json +1 -0
  77. package/dist/stats/marketing-utilities.json +1 -1
  78. package/dist/stats/marketing.json +1 -1
  79. package/dist/stats/navigation.json +1 -1
  80. package/dist/stats/popover.json +1 -1
  81. package/dist/stats/primer.json +1 -1
  82. package/dist/stats/product.json +1 -1
  83. package/dist/subhead.css.map +1 -1
  84. package/dist/timeline.css.map +1 -1
  85. package/dist/toasts.css.map +1 -1
  86. package/dist/tooltips.css.map +1 -1
  87. package/dist/truncate.css.map +1 -1
  88. package/dist/utilities.css.map +1 -1
  89. package/dist/variables.json +62 -62
  90. package/index.scss +4 -4
  91. package/labels/counters.scss +1 -1
  92. package/labels/labels.scss +0 -1
  93. package/marketing/buttons/button.scss +22 -8
  94. package/marketing/buttons/index.scss +2 -2
  95. package/marketing/index.scss +1 -0
  96. package/marketing/links/index.scss +3 -0
  97. package/marketing/links/link.scss +50 -0
  98. package/marketing/support/index.scss +2 -2
  99. package/marketing/support/variables.scss +4 -5
  100. package/marketing/type/index.scss +2 -2
  101. package/marketing/type/typography.scss +23 -23
  102. package/marketing/utilities/animations.scss +42 -0
  103. package/marketing/utilities/index.scss +5 -5
  104. package/marketing/utilities/layout.scss +1 -1
  105. package/navigation/underline-nav.scss +76 -31
  106. package/package.json +14 -14
  107. package/popover/popover.scss +42 -4
  108. package/support/mixins/layout.scss +5 -5
  109. package/support/mixins/misc.scss +25 -1
  110. package/support/variables/layout.scss +5 -5
  111. package/support/variables/typography.scss +1 -1
package/CHANGELOG.md CHANGED
@@ -1,15 +1,53 @@
1
1
  # @primer/css
2
2
 
3
- ## 0.0.0-202110991853
3
+ ## 0.0.0-2021111003855
4
4
 
5
- ### Major Changes
5
+ ### Minor Changes
6
+
7
+ - [#1759](https://github.com/primer/css/pull/1759) [`74724ce7`](https://github.com/primer/css/commit/74724ce7c72b1cb540a9ef3d845169f1df17b55e) Thanks [@langermank](https://github.com/langermank)! - Remove `popover` responsive hack
6
8
 
7
- - [#1716](https://github.com/primer/css/pull/1716) [`cc55fd86`](https://github.com/primer/css/commit/cc55fd8605b725a072a18f3f465b659c96109ddd) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Update marketing buttons (including color mode support)
9
+ * [#1764](https://github.com/primer/css/pull/1764) [`cdd9728c`](https://github.com/primer/css/commit/cdd9728c7e1d8cb2f8475d79a2d7c106b7ad9014) Thanks [@langermank](https://github.com/langermank)! - UnderlineNav `:focus` styles
10
+ Refactor selected state and spacing
11
+ Add selected bold state override from github/github
12
+
13
+ - [#1807](https://github.com/primer/css/pull/1807) [`13a4654f`](https://github.com/primer/css/commit/13a4654fa0854accfaabbbd2f21d2e0a1c90442d) Thanks [@enstyled](https://github.com/enstyled)! - Marketing: Add link components
14
+ Marketing: Add animated arrow utility
15
+ Marketing: Document button components with arrows
8
16
 
9
17
  ### Patch Changes
10
18
 
11
19
  - Fake entry to force publishing
12
20
 
21
+ * [#1780](https://github.com/primer/css/pull/1780) [`8e9ba62d`](https://github.com/primer/css/commit/8e9ba62d30ed10c012b99dd998751df01ad6aa99) Thanks [@langermank](https://github.com/langermank)! - ActionList followup
22
+
23
+ - [#1805](https://github.com/primer/css/pull/1805) [`99537d31`](https://github.com/primer/css/commit/99537d317f04ff5474a076ab96d3ea315b2181e2) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Fix local dev (revert webpack 5.5.0 → 6.0.0)
24
+
25
+ * [#1781](https://github.com/primer/css/pull/1781) [`4d8dcf24`](https://github.com/primer/css/commit/4d8dcf24bc9e0732a9a2f34c94f6bcad7d3382dd) Thanks [@simurai](https://github.com/simurai)! - Reformat `rgba()` colors for `.btn-mktg`
26
+
27
+ - [#1768](https://github.com/primer/css/pull/1768) [`4abb1af9`](https://github.com/primer/css/commit/4abb1af95b9b3c8c38512fa5e1e4fae9e7d01f4f) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Marketing: Add disabled states for buttons (and tweak hover)
28
+
29
+ * [#1792](https://github.com/primer/css/pull/1792) [`b1c43f1f`](https://github.com/primer/css/commit/b1c43f1f8d9b07b58b275665ca69abd5d4f7a5fc) Thanks [@simurai](https://github.com/simurai)! - Use `counter-border` for LHC
30
+
31
+ - [#1808](https://github.com/primer/css/pull/1808) [`ee27583f`](https://github.com/primer/css/commit/ee27583f594248bd44122ea5dc81b12382c02b09) Thanks [@manuelpuyol](https://github.com/manuelpuyol)! - Add hover and active states to btn-invisible
32
+
33
+ ## 19.0.0
34
+
35
+ ### Major Changes
36
+
37
+ - [#1716](https://github.com/primer/css/pull/1716) [`9b97dc8f`](https://github.com/primer/css/commit/9b97dc8fec28e44d8619aff6da636ecd8e48daf9) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Update marketing buttons (including color mode support)
38
+
39
+ ### Minor Changes
40
+
41
+ - [#1756](https://github.com/primer/css/pull/1756) [`ece7a3e6`](https://github.com/primer/css/commit/ece7a3e68c65252960b41d6df1b8ff64cb33c93f) Thanks [@heiskr](https://github.com/heiskr)! - Update mark tag to use background-color: var(--color-attention-subtle);
42
+
43
+ * [#1754](https://github.com/primer/css/pull/1754) [`3838e174`](https://github.com/primer/css/commit/3838e1743aa63bacf0ca241c2a3c4983ba92c5e6) Thanks [@simurai](https://github.com/simurai)! - Add `Box--overlay` styles
44
+
45
+ - [#1755](https://github.com/primer/css/pull/1755) [`1714778a`](https://github.com/primer/css/commit/1714778af72f5647894fca9561c56dfbccac62df) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating primer/primitives@7.1.0 and adding Light High Contrast theme
46
+
47
+ ### Patch Changes
48
+
49
+ - [#1746](https://github.com/primer/css/pull/1746) [`9e6b5f56`](https://github.com/primer/css/commit/9e6b5f5671ab60e3a9d452f516fb7b38173f0135) Thanks [@simurai](https://github.com/simurai)! - Remove `Label` bg hack
50
+
13
51
  ## 18.2.0
14
52
 
15
53
  ### Minor Changes
package/DEVELOP.md CHANGED
@@ -41,6 +41,20 @@ The [docs directory](../docs/) contains all of the documentation files in our do
41
41
  ### Code blocks
42
42
  All `html` fenced code blocks in `src/**/*.md` will be rendered as stories and listed under the relevant module's name in the left-hand nav. File changes should trigger a live reload automatically (after a brief delay).
43
43
 
44
+ ## Storybook
45
+
46
+ Primer CSS Storybook is used for designing and prototyping components. Stories are written in HTML and leverage the Storybook API for configuring conditional logic.
47
+
48
+ ```sh
49
+ npm run storybook
50
+ ```
51
+
52
+ ### The Storybook directory
53
+ Storybook configuration files live in [.storybook](../docs/.storybook). Addons and additional global config can be added to [main.js](../docs/.storybook/main.js) or [preview.js](../docs/.storybook/preview.js)
54
+
55
+ ### Stories
56
+ Stories are individual `.jsx` or `.mdx` files that contain component HTML for prototyping, typically showcasing all possible variations of a component. Stories can be found in the [stories directory](../docs/src/stories/components) and are organized by component. Storybook will build and deploy a preview on any open Pull Request.
57
+
44
58
  ## Scripts
45
59
  Our [`package.json`](package.json) houses a collection of [run-scripts] that we use to maintain, test, build, and publish Primer CSS. Run `npm run <script>` with any of the following values for `<script>`:
46
60
 
@@ -51,6 +65,7 @@ Our [`package.json`](package.json) houses a collection of [run-scripts] that we
51
65
  * `now-build` and `now-start` are run on [Now] to build and start the docs site server. `now-test` runs them both in order.
52
66
  * `start` runs the documentation site locally (alias: `dev`).
53
67
  * `test` runs our test suite.
68
+ * `storybook` runs storybook local development server.
54
69
 
55
70
  The above list may not always be up-to-date. You can list all of the available scripts by calling `npm run` with no other arguments.
56
71
 
@@ -5,6 +5,17 @@
5
5
  box-shadow: 0 0 0 2px var(--color-accent-fg); // this color breaks convention
6
6
  }
7
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
+
8
19
  // <li>
9
20
  .ActionList-item {
10
21
  position: relative;
@@ -77,25 +88,26 @@
77
88
 
78
89
  // active state [aria-current]
79
90
 
80
- &.ActionList-item--navActive:not(.ActionList-item--danger) {
81
- background: var(--color-action-list-item-default-selected-bg);
82
-
83
- // stylelint-disable-next-line selector-max-specificity
84
- &::before,
85
- + .ActionList-item::before {
86
- visibility: hidden;
91
+ &.ActionList-item--navActive {
92
+ &:not(.ActionList-item--subItem) {
93
+ .ActionList-item-label {
94
+ font-weight: $font-weight-bold;
95
+ }
87
96
  }
88
97
 
89
- // blue accent line
90
- &::after {
91
- position: absolute;
92
- top: calc(50% - 12px);
93
- left: -$actionList-item-padding-horizontal;
94
- width: $spacer-1;
95
- height: $spacer-4;
96
- content: '';
97
- background: var(--color-accent-fg);
98
- border-radius: $border-radius;
98
+ &:not(.ActionList-item--danger) {
99
+ background: var(--color-action-list-item-default-selected-bg);
100
+
101
+ // stylelint-disable-next-line selector-max-specificity
102
+ &::before,
103
+ + .ActionList-item::before {
104
+ visibility: hidden;
105
+ }
106
+
107
+ // blue accent line
108
+ &::after {
109
+ @include activeIndicatorLine;
110
+ }
99
111
  }
100
112
  }
101
113
 
@@ -109,9 +121,18 @@
109
121
 
110
122
  .ActionList--subGroup {
111
123
  display: block;
124
+
125
+ // &::before {
126
+ // position: absolute;
127
+ // content: '';
128
+ // width: 1px;
129
+ // background: deeppink;
130
+ // left: 16px;
131
+ // height: calc(100% - 28px);
132
+ // }
112
133
  }
113
134
 
114
- &.ActionList-item--hasSubItem {
135
+ &.ActionList-item--hasActiveSubItem {
115
136
  // stylelint-disable-next-line selector-max-specificity
116
137
  > .ActionList-content > .ActionList-item-label {
117
138
  font-weight: $font-weight-bold;
@@ -128,6 +149,26 @@
128
149
  .ActionList--subGroup {
129
150
  display: none;
130
151
  }
152
+
153
+ // show active indicator on parent collapse if child is active
154
+ &.ActionList-item--hasActiveSubItem {
155
+ background: var(--color-action-list-item-default-selected-bg);
156
+
157
+ .ActionList-item-label {
158
+ font-weight: $font-weight-bold;
159
+ }
160
+
161
+ // stylelint-disable-next-line selector-max-specificity
162
+ &::before,
163
+ + .ActionList-item::before {
164
+ visibility: hidden;
165
+ }
166
+
167
+ // blue accent line
168
+ &::after {
169
+ @include activeIndicatorLine;
170
+ }
171
+ }
131
172
  }
132
173
 
133
174
  // checkbox item [aria-checked]
@@ -171,8 +212,7 @@
171
212
  .ActionList-item-multiSelectCheckmark {
172
213
  visibility: hidden;
173
214
  opacity: 0;
174
- transition:
175
- visibility 0 linear $actionList-item-checkmark-transition-timing,
215
+ transition: visibility 0 linear $actionList-item-checkmark-transition-timing,
176
216
  opacity $actionList-item-checkmark-transition-timing;
177
217
  }
178
218
 
@@ -283,14 +323,15 @@
283
323
  // stylelint-disable-next-line primer/spacing
284
324
  padding: $actionList-item-padding-vertical $actionList-item-padding-horizontal;
285
325
  font-weight: $font-weight-normal;
326
+ font-size: $body-font-size;
286
327
  color: var(--color-fg-default);
287
328
  user-select: none;
288
329
  border-radius: $border-radius;
289
330
  transition: $actionList-item-bg-transition;
290
331
  grid-template-rows: min-content;
291
332
  grid-template-areas: 'leadingAction leadingVisual label trailingVisual trailingAction';
292
- grid-template-columns: min-content min-content minmax(min-content, auto) min-content min-content;
293
- align-items: center;
333
+ grid-template-columns: min-content min-content minmax(0, auto) min-content min-content;
334
+ align-items: start;
294
335
 
295
336
  // column-gap persists with empty grid-areas, margin applies only when children exist
296
337
  > :not(:last-child) {
@@ -408,6 +449,12 @@
408
449
  color: var(--color-fg-default);
409
450
  }
410
451
 
452
+ .ActionList-item-label--truncate {
453
+ white-space: nowrap;
454
+ text-overflow: ellipsis;
455
+ overflow: hidden;
456
+ }
457
+
411
458
  // nested lists (only supports 1 level currently)
412
459
  // target ActionList-item--subItem for padding-left to maintain :active :after state
413
460
 
@@ -442,3 +489,141 @@
442
489
  padding-left: $spacer-5;
443
490
  }
444
491
  }
492
+
493
+ // padding left
494
+ // no visuals
495
+ // 16px visual
496
+ // 20px visual
497
+ // 24px visual
498
+ // action 16px visual
499
+ // action 20px visual
500
+ // action 24px visual
501
+
502
+ @mixin treeConnectingLine($left) {
503
+ position: absolute;
504
+ content: '';
505
+ width: 1px;
506
+ background: deeppink;
507
+ left: $left;
508
+ height: calc(100% - 28px);
509
+ z-index: 1000;
510
+ }
511
+
512
+ // [aria-level='1'].ActionList-item--hasSubItem {
513
+ // background: pink;
514
+
515
+ // > .ActionList--subGroup {
516
+ // &::before {
517
+ // position: absolute;
518
+ // content: '';
519
+ // width: 1px;
520
+ // background: deeppink;
521
+ // left: 16px;
522
+ // height: calc(100% - 28px);
523
+ // z-index: 1000;
524
+ // }
525
+ // }
526
+ // }
527
+
528
+ // [aria-level='2'].ActionList-item--hasSubItem {
529
+ // background: lightblue;
530
+
531
+ // > .ActionList--subGroup {
532
+ // &::before {
533
+ // position: absolute;
534
+ // content: '';
535
+ // width: 1px;
536
+ // background: darkcyan;
537
+ // left: 40px;
538
+ // height: calc(100% - 28px);
539
+ // z-index: 1000;
540
+ // }
541
+ // }
542
+ // }
543
+
544
+ // first subitem
545
+ .ActionList--tree {
546
+ > [aria-level='1'].ActionList-item--hasSubItem {
547
+ background: pink;
548
+
549
+ > .ActionList--subGroup {
550
+ &::before {
551
+ position: absolute;
552
+ content: '';
553
+ width: 1px;
554
+ background: deeppink;
555
+ left: 16px;
556
+ height: calc(100% - 28px);
557
+ z-index: 1000;
558
+ }
559
+ }
560
+ }
561
+
562
+ // all other subitems
563
+ .ActionList-item--hasSubItem:not([aria-level='1']) {
564
+ background: plum;
565
+ > .ActionList--subGroup {
566
+ &::before {
567
+ position: absolute;
568
+ content: '';
569
+ width: 1px;
570
+ background: deeppink;
571
+ left: 40px;
572
+ height: calc(100% - 28px);
573
+ z-index: 1000;
574
+ }
575
+ }
576
+ }
577
+ }
578
+
579
+ // .ActionList-item--hasSubItem:not(:nth-of-type(1)) {
580
+ // background: pink;
581
+
582
+ // > .ActionList--subGroup {
583
+ // &::before {
584
+ // position: absolute;
585
+ // content: '';
586
+ // width: 1px;
587
+ // background: darkmagenta;
588
+ // left: 40px;
589
+ // height: calc(100% - 28px);
590
+ // z-index: 1000;
591
+ // }
592
+ // }
593
+ // }
594
+
595
+ .ActionList-item > .ActionList-content > .ActionList-item-action--leading {
596
+ background: deeppink;
597
+ }
598
+
599
+ // [aria-level='1'].ActionList-item--hasSubItem {
600
+ // background: pink;
601
+
602
+ // > .ActionList--subGroup {
603
+ // &::before {
604
+ // position: absolute;
605
+ // content: '';
606
+ // width: 1px;
607
+ // background: deeppink;
608
+ // left: 16px;
609
+ // height: calc(100% - 28px);
610
+ // z-index: 1000;
611
+ // }
612
+ // }
613
+ // }
614
+
615
+ // [aria-level='2'].ActionList-item--hasSubItem {
616
+ // background: lightblue;
617
+
618
+ // > .ActionList--subGroup {
619
+ // &::before {
620
+ // position: absolute;
621
+ // content: '';
622
+ // width: 1px;
623
+ // background: darkcyan;
624
+ // left: 40px;
625
+ // height: calc(100% - 28px);
626
+ // z-index: 1000;
627
+ // }
628
+ // }
629
+ // }
@@ -3,6 +3,18 @@
3
3
  padding: $spacer-2;
4
4
  }
5
5
 
6
+ // full bleed
7
+ .ActionList--full {
8
+ padding: 0;
9
+ }
10
+
11
+ // tree-view variant
12
+ .ActionList--tree {
13
+ .ActionList-item--subItem > .ActionList-content {
14
+ font-size: $body-font-size;
15
+ }
16
+ }
17
+
6
18
  // dividers
7
19
 
8
20
  .ActionList--divided {
@@ -161,7 +161,7 @@ h1 {
161
161
  */
162
162
 
163
163
  mark {
164
- background-color: #ff0;
164
+ background-color: var(--color-attention-subtle);
165
165
  color: var(--color-text-primary);
166
166
  }
167
167
 
@@ -0,0 +1,40 @@
1
+ .Box--overlay {
2
+ width: 448px;
3
+ margin-right: auto;
4
+ margin-left: auto;
5
+ background-color: var(--color-canvas-default);
6
+ background-clip: padding-box;
7
+ border-color: var(--color-border-default);
8
+ // stylelint-disable-next-line primer/box-shadow
9
+ box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
10
+
11
+ .Box-header {
12
+ margin: 0;
13
+ border-width: 0;
14
+ border-bottom-width: $border-width;
15
+ border-top-left-radius: $border-radius;
16
+ border-top-right-radius: $border-radius;
17
+ }
18
+ }
19
+
20
+ .Box-overlay--narrow {
21
+ width: 320px;
22
+ }
23
+
24
+ .Box-overlay--wide {
25
+ width: 640px;
26
+ }
27
+
28
+ .Box-body {
29
+ &.scrollable-overlay {
30
+ max-height: 400px;
31
+ overflow-y: scroll;
32
+ }
33
+
34
+ .help {
35
+ padding-top: $spacer-2;
36
+ margin: 0;
37
+ color: var(--color-fg-muted);
38
+ text-align: center;
39
+ }
40
+ }
package/box/index.scss CHANGED
@@ -1,2 +1,3 @@
1
1
  @import '../support/index.scss';
2
2
  @import './box.scss';
3
+ @import './box-overlay.scss';
package/buttons/misc.scss CHANGED
@@ -37,13 +37,12 @@
37
37
  color: var(--color-accent-fg);
38
38
  background-color: transparent; // Reset default gradient backgrounds and colors
39
39
  border: 0;
40
- border-radius: 0;
41
40
  box-shadow: none;
42
41
 
43
42
  &:hover,
44
43
  &.zeroclipboard-is-hover {
45
44
  color: var(--color-accent-fg);
46
- background: none;
45
+ background-color: var(--color-btn-hover-bg);
47
46
  outline: none;
48
47
  box-shadow: none;
49
48
  }
@@ -54,12 +53,17 @@
54
53
  &[aria-selected=true],
55
54
  &.zeroclipboard-is-active {
56
55
  color: var(--color-accent-fg);
57
- background: none;
56
+ background-color: none;
58
57
  border-color: var(--color-btn-active-border);
59
58
  outline: none;
60
59
  box-shadow: var(--color-btn-focus-shadow);
61
60
  }
62
61
 
62
+ &:active
63
+ &.zeroclipboard-is-active {
64
+ background-color: var(--color-btn-selected-bg);
65
+ }
66
+
63
67
  &:disabled,
64
68
  &.disabled,
65
69
  &[aria-disabled=true] {
@@ -2,6 +2,7 @@
2
2
 
3
3
  @import './themes/light.scss';
4
4
  @import './themes/light_colorblind.scss';
5
+ @import './themes/light_high_contrast.scss';
5
6
  @import './themes/dark.scss';
6
7
  @import './themes/dark_dimmed.scss';
7
8
  @import './themes/dark_high_contrast.scss';
@@ -1,6 +1,6 @@
1
- @import "../../support/index.scss";
1
+ @import '../../support/index.scss';
2
2
 
3
- @import "@primer/primitives/dist/scss/colors/_dark.scss";
3
+ @import '@primer/primitives/dist/scss/colors/_dark.scss';
4
4
 
5
5
  @include color-mode-theme(dark) {
6
6
  @include primer-colors-dark;
@@ -1,6 +1,6 @@
1
- @import "../../support/index.scss";
1
+ @import '../../support/index.scss';
2
2
 
3
- @import "@primer/primitives/dist/scss/colors/_dark_colorblind.scss";
3
+ @import '@primer/primitives/dist/scss/colors/_dark_colorblind.scss';
4
4
 
5
5
  @include color-mode-theme(dark_colorblind) {
6
6
  @include primer-colors-dark_colorblind;
@@ -1,6 +1,6 @@
1
- @import "../../support/index.scss";
1
+ @import '../../support/index.scss';
2
2
 
3
- @import "@primer/primitives/dist/scss/colors/_dark_dimmed.scss";
3
+ @import '@primer/primitives/dist/scss/colors/_dark_dimmed.scss';
4
4
 
5
5
  @include color-mode-theme(dark_dimmed) {
6
6
  @include primer-colors-dark_dimmed;
@@ -1,6 +1,6 @@
1
- @import "../../support/index.scss";
1
+ @import '../../support/index.scss';
2
2
 
3
- @import "@primer/primitives/dist/scss/colors/_dark_high_contrast.scss";
3
+ @import '@primer/primitives/dist/scss/colors/_dark_high_contrast.scss';
4
4
 
5
5
  @include color-mode-theme(dark_high_contrast) {
6
6
  @include primer-colors-dark_high_contrast;
@@ -1,6 +1,6 @@
1
- @import "../../support/index.scss";
1
+ @import '../../support/index.scss';
2
2
 
3
- @import "@primer/primitives/dist/scss/colors/_light.scss";
3
+ @import '@primer/primitives/dist/scss/colors/_light.scss';
4
4
 
5
5
  @include color-mode-theme(light, true) {
6
6
  @include primer-colors-light;
@@ -1,6 +1,6 @@
1
- @import "../../support/index.scss";
1
+ @import '../../support/index.scss';
2
2
 
3
- @import "@primer/primitives/dist/scss/colors/_light_colorblind.scss";
3
+ @import '@primer/primitives/dist/scss/colors/_light_colorblind.scss';
4
4
 
5
5
  @include color-mode-theme(light_colorblind) {
6
6
  @include primer-colors-light_colorblind;
@@ -0,0 +1,7 @@
1
+ @import '../../support/index.scss';
2
+
3
+ @import '@primer/primitives/dist/scss/colors/_light_high_contrast.scss';
4
+
5
+ @include color-mode-theme(light_high_contrast) {
6
+ @include primer-colors-light_high_contrast;
7
+ }
package/deprecations.json CHANGED
@@ -336,7 +336,7 @@
336
336
  "flex-xl-item-equal": "flex-xl-1",
337
337
  "btn-purple": null,
338
338
  "btn-primary-mktg": "btn-signup-mktg",
339
- "btn-enterprise-mktg": null,
339
+ "btn-enterprise-mktg": "btn-mktg",
340
340
  "btn-outline-mktg": "btn-muted-mktg",
341
341
  "btn-transparent": "btn-subtle-mktg",
342
342
  "text-pending": "text-yellow",
@@ -1,2 +1,2 @@
1
- .ActionList{padding:8px}.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--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{position:relative;list-style:none;background-color:transparent;border-radius:6px}.ActionList-item:hover,.ActionList-item:active{cursor:pointer}.ActionList-item:hover .ActionList-content,.ActionList-item:active .ActionList-content{text-decoration:none}.ActionList-item:not(.ActionList-item--hasSubItem):hover{cursor:pointer;background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):active{background:var(--color-action-list-item-default-active-bg)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item:not(.ActionList-item--hasSubItem):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 0 0 rgba(0,0,0,.04);transform:scale(1)}100%{box-shadow:inset 0 3px 9px rgba(0,0,0,.04);transform:scale(0.97)}}.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:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger){background:var(--color-action-list-item-default-selected-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-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(-1)}.ActionList-item[aria-expanded=true] .ActionList--subGroup{display:block}.ActionList-item[aria-expanded=true].ActionList-item--hasSubItem>.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{display:none}.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)and (pointer: fine){.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)and (pointer: fine){.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-weight:400;color:var(--color-fg-default);-webkit-user-select:none;user-select:none;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(min-content, auto) min-content min-content;align-items:center}.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}@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{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--subItem>.ActionList-content{font-size:12px}.ActionList--subGroup .ActionList-item--subItem{padding-left:16px}.ActionList-content--visual16+.ActionList--subGroup .ActionList-item--subItem{padding-left:24px}.ActionList-content--visual20+.ActionList--subGroup .ActionList-item--subItem{padding-left:28px}.ActionList-content--visual24+.ActionList--subGroup .ActionList-item--subItem{padding-left:32px}.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--tree .ActionList-item--subItem>.ActionList-content{font-size:14px}.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--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{position:relative;list-style:none;background-color:transparent;border-radius:6px}.ActionList-item:hover,.ActionList-item:active{cursor:pointer}.ActionList-item:hover .ActionList-content,.ActionList-item:active .ActionList-content{text-decoration:none}.ActionList-item:not(.ActionList-item--hasSubItem):hover{cursor:pointer;background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):active{background:var(--color-action-list-item-default-active-bg)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item:not(.ActionList-item--hasSubItem):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 0 0 rgba(0,0,0,.04);transform:scale(1)}100%{box-shadow:inset 0 3px 9px rgba(0,0,0,.04);transform:scale(0.97)}}.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:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{background-color:var(--color-action-list-item-default-hover-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)}.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-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(-1)}.ActionList-item[aria-expanded=true] .ActionList--subGroup{display:block}.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{display:none}.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)and (pointer: fine){.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)and (pointer: fine){.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-weight:400;font-size:14px;color:var(--color-fg-default);-webkit-user-select:none;user-select:none;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}@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{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{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ActionList-item--subItem>.ActionList-content{font-size:12px}.ActionList--subGroup .ActionList-item--subItem{padding-left:16px}.ActionList-content--visual16+.ActionList--subGroup .ActionList-item--subItem{padding-left:24px}.ActionList-content--visual20+.ActionList--subGroup .ActionList-item--subItem{padding-left:28px}.ActionList-content--visual24+.ActionList--subGroup .ActionList-item--subItem{padding-left:32px}.ActionList--tree>[aria-level="1"].ActionList-item--hasSubItem{background:pink}.ActionList--tree>[aria-level="1"].ActionList-item--hasSubItem>.ActionList--subGroup::before{position:absolute;content:"";width:1px;background:#ff1493;left:16px;height:calc(100% - 28px);z-index:1000}.ActionList--tree .ActionList-item--hasSubItem:not([aria-level="1"]){background:plum}.ActionList--tree .ActionList-item--hasSubItem:not([aria-level="1"])>.ActionList--subGroup::before{position:absolute;content:"";width:1px;background:#ff1493;left:40px;height:calc(100% - 28px);z-index:1000}.ActionList-item>.ActionList-content>.ActionList-item-action--leading{background:#ff1493}.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}
2
2
  /*# sourceMappingURL=actionlist.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["file:///home/runner/work/css/css/src/actionlist/index.scss%23sass"],"names":[],"mappings":"AAygBA,YAAA,WAAA,CAAA,oDAAA,iBAAA,CAAA,QAAA,CAAA,aAAA,CAAA,UAAA,CAAA,UAAA,CAAA,UAAA,CAAA,uDAAA,CAAA,iLAAA,iBAAA,CAAA,yIAAA,iBAAA,CAAA,iBAAA,iBAAA,CAAA,eAAA,CAAA,4BAAA,CAAA,iBAAA,CAAA,+CAAA,cAAA,CAAA,uFAAA,oBAAA,CAAA,yDAAA,cAAA,CAAA,+DAAA,CAAA,0DAAA,0DAAA,CAAA,0DAAA,0DAAA,8EAAA,CAAA,CAAA,qCAAA,IAAA,sCAAA,CAAA,kBAAA,CAAA,KAAA,0CAAA,CAAA,qBAAA,CAAA,CAAA,oYAAA,iBAAA,CAAA,uEAAA,+DAAA,CAAA,0EAAA,4DAAA,CAAA,qLAAA,iBAAA,CAAA,iFAAA,iBAAA,CAAA,oBAAA,CAAA,SAAA,CAAA,SAAA,CAAA,WAAA,CAAA,UAAA,CAAA,iCAAA,CAAA,iBAAA,CAAA,mEAAA,iCAAA,CAAA,oBAAA,CAAA,2DAAA,aAAA,CAA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AAA,aAAA,CAAA,eAAA,CAAA,0BAAA,4CAAA,CAAA,SAAA,YAAA,CAAA,kBAAA,CAAA,eAAA,CAAA,8CAAA","file":"alerts.css"}
1
+ {"version":3,"sources":["file:///home/runner/work/css/css/src/alerts/index.scss%23sass"],"names":[],"mappings":"AAuhBA,OAAA,iBACE,CAAA,iBAAA,CAAA,kBAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,oBAAA,eAAA,CAAA,gBAAA,iBAAA,CAAA,gBAAA,kBAAA,CAAA,aAAA,WAAA,CAAA,YAAA,CAAA,YAAA,CAAA,iBAAA,CAAA,cAAA,CAAA,eAAA,CAAA,QAAA,CAAA,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAAA,mBAAA,UAAA,CAAA,oBAAA,UAAA,CAAA,sBAAA,cAAA,CAAA,cAAA,WAAA,CAAA,eAAA,CAAA,gBAAA,CAAA,2BAAA,CAAA,2BAAA,gBAAA,CAAA,2BAAA,CAAA,mCAAA,aAAA,CAAA,OAAA,6BAAA,CAAA,wFAAA,CAAA,sCAAA,CAAA,gBAAA,4BAAA,CAAA,YAAA,6BAAA,CAAA,8FAAA,CAAA,yCAAA,CAAA,qBAAA,+BAAA,CAAA,aAAA,6BAAA,CAAA,wFAAA,CAAA,sCAAA,CAAA,sBAAA,4BAAA,CAAA,eAAA,6BAAA,CAAA,0FAAA,CAAA,uCAAA,CAAA,wBAAA,6BAAA,CAAA,YAAA,eAAA,CAAA,kBAAA,CAAA,eAAA,CAAA,cAAA,cAAA,CAAA,KAAA,CAAA,UAAA,CAAA,UAAA,CAAA,YAAA,CAAA,cAAA,CAAA,aAAA,CAAA,eAAA,CAAA,0BAAA,4CAAA,CAAA,SAAA,YAAA,CAAA,kBAAA,CAAA,eAAA,CAAA,8CAAA","file":"alerts.css"}
@@ -1 +1 @@
1
- {"version":3,"sources":["file:///home/runner/work/css/css/src/autocomplete/index.scss%23sass"],"names":[],"mappings":"AAigBA,sBAAA,iBAAA,CAAA,UAAA,CAA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