@primer/css 0.0.0-20219281745 → 0.0.0-2021928181639

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 (117) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/actionlist/action-list-item-divider.scss +42 -0
  3. package/actionlist/action-list-item.scss +426 -0
  4. package/actionlist/action-list-variables.scss +7 -0
  5. package/actionlist/action-list.scss +35 -0
  6. package/actionlist/index.scss +5 -0
  7. package/alerts/index.scss +2 -2
  8. package/autocomplete/index.scss +3 -3
  9. package/autocomplete/suggester.scss +1 -1
  10. package/avatars/avatar-stack.scss +1 -1
  11. package/avatars/circle-badge.scss +1 -1
  12. package/avatars/index.scss +5 -5
  13. package/base/index.scss +6 -6
  14. package/blankslate/index.scss +2 -2
  15. package/box/index.scss +2 -2
  16. package/branch-name/index.scss +2 -2
  17. package/breadcrumb/index.scss +2 -2
  18. package/buttons/index.scss +4 -4
  19. package/color-modes/index.scss +7 -7
  20. package/core/index.scss +15 -14
  21. package/dist/actionlist.css +2 -0
  22. package/dist/actionlist.css.map +1 -0
  23. package/dist/actionlist.js +1 -0
  24. package/dist/alerts.css.map +1 -1
  25. package/dist/autocomplete.css.map +1 -1
  26. package/dist/avatars.css.map +1 -1
  27. package/dist/base.css.map +1 -1
  28. package/dist/blankslate.css.map +1 -1
  29. package/dist/box.css.map +1 -1
  30. package/dist/branch-name.css.map +1 -1
  31. package/dist/breadcrumb.css.map +1 -1
  32. package/dist/buttons.css.map +1 -1
  33. package/dist/color-modes.css +1 -1
  34. package/dist/color-modes.css.map +1 -1
  35. package/dist/core.css +1 -1
  36. package/dist/core.css.map +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.map +1 -1
  47. package/dist/marketing-type.css.map +1 -1
  48. package/dist/marketing-utilities.css.map +1 -1
  49. package/dist/meta.json +52 -134
  50. package/dist/navigation.css.map +1 -1
  51. package/dist/pagination.css.map +1 -1
  52. package/dist/popover.css.map +1 -1
  53. package/dist/primer.css +3 -3
  54. package/dist/primer.css.map +1 -1
  55. package/dist/product.css +1 -1
  56. package/dist/product.css.map +1 -1
  57. package/dist/progress.css.map +1 -1
  58. package/dist/select-menu.css.map +1 -1
  59. package/dist/stats/actionlist.json +1 -0
  60. package/dist/stats/color-modes.json +1 -1
  61. package/dist/stats/core.json +1 -1
  62. package/dist/stats/labels.json +1 -1
  63. package/dist/stats/primer.json +1 -1
  64. package/dist/stats/product.json +1 -1
  65. package/dist/subhead.css.map +1 -1
  66. package/dist/timeline.css.map +1 -1
  67. package/dist/toasts.css.map +1 -1
  68. package/dist/tooltips.css.map +1 -1
  69. package/dist/truncate.css.map +1 -1
  70. package/dist/utilities.css.map +1 -1
  71. package/dropdown/dropdown.scss +4 -4
  72. package/dropdown/index.scss +2 -2
  73. package/forms/form-group.scss +2 -2
  74. package/forms/form-select.scss +2 -2
  75. package/forms/form-validation.scss +9 -9
  76. package/forms/index.scss +7 -7
  77. package/header/index.scss +2 -2
  78. package/labels/index.scss +7 -7
  79. package/labels/labels.scss +22 -3
  80. package/layout/grid.scss +1 -1
  81. package/layout/index.scss +6 -6
  82. package/layout/layout.scss +1 -1
  83. package/links/index.scss +2 -2
  84. package/links/link.scss +1 -1
  85. package/loaders/index.scss +2 -2
  86. package/loaders/loaders.scss +1 -1
  87. package/markdown/footnotes.scss +1 -1
  88. package/markdown/index.scss +9 -9
  89. package/markdown/lists.scss +3 -3
  90. package/markdown/markdown-body.scss +4 -4
  91. package/marketing/index.scss +4 -4
  92. package/navigation/index.scss +7 -7
  93. package/navigation/menu.scss +1 -1
  94. package/navigation/sidenav.scss +3 -3
  95. package/package.json +5 -4
  96. package/pagination/index.scss +2 -2
  97. package/pagination/pagination.scss +1 -1
  98. package/popover/index.scss +2 -2
  99. package/popover/popover.scss +1 -1
  100. package/postcss.config.cjs +1 -1
  101. package/product/index.scss +17 -17
  102. package/progress/index.scss +2 -2
  103. package/select-menu/index.scss +2 -2
  104. package/select-menu/select-menu.scss +3 -3
  105. package/stylelint.config.cjs +1 -1
  106. package/subhead/index.scss +2 -2
  107. package/support/index.scss +7 -7
  108. package/support/variables/layout.scss +0 -8
  109. package/table-object/index.scss +1 -1
  110. package/timeline/index.scss +2 -2
  111. package/timeline/timeline-item.scss +1 -1
  112. package/toasts/index.scss +2 -2
  113. package/tooltips/index.scss +2 -2
  114. package/tooltips/tooltips.scss +1 -1
  115. package/truncate/index.scss +2 -2
  116. package/utilities/details.scss +1 -1
  117. package/utilities/index.scss +12 -12
package/CHANGELOG.md CHANGED
@@ -1,15 +1,21 @@
1
1
  # @primer/css
2
2
 
3
- ## 0.0.0-20219281745
3
+ ## 0.0.0-2021928181639
4
4
 
5
5
  ### Minor Changes
6
6
 
7
7
  - [#1694](https://github.com/primer/css/pull/1694) [`b0e1687a`](https://github.com/primer/css/commit/b0e1687a562a194ed178fd2dd35588ff5da40847) Thanks [@simurai](https://github.com/simurai)! - Add more Octicon icon support to components
8
8
 
9
+ * [#1711](https://github.com/primer/css/pull/1711) [`bc3b94d2`](https://github.com/primer/css/commit/bc3b94d26f08f65d3a4938bafa1b988585f35764) Thanks [@simurai](https://github.com/simurai)! - Add new color `Label`s
10
+
9
11
  ### Patch Changes
10
12
 
11
13
  - [#1710](https://github.com/primer/css/pull/1710) [`6a058ecb`](https://github.com/primer/css/commit/6a058ecbaf7edac6fce4a0d56b4aca46ac6cd4fa) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating [@primer/primitives@6.0.0](https://github.com/primer/primitives/releases/tag/v6.0.0)
12
14
 
15
+ * [#1712](https://github.com/primer/css/pull/1712) [`bc502033`](https://github.com/primer/css/commit/bc50203324ba03d4ece7ec6182c185a695626ffb) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating @primer/stylelint-config to 12.1.0
16
+
17
+ - [#1708](https://github.com/primer/css/pull/1708) [`f7c44c35`](https://github.com/primer/css/commit/f7c44c35f8085f2b793581a901ecb22c5174ef6a) Thanks [@langermank](https://github.com/langermank)! - Storybook: add Label stories
18
+
13
19
  * [#1690](https://github.com/primer/css/pull/1690) [`af5a3ae8`](https://github.com/primer/css/commit/af5a3ae82668d6d04af8c3465302980dcf062cc4) Thanks [@simurai](https://github.com/simurai)! - Update `Subhead` actions
14
20
 
15
21
  - Fake entry to force publishing
@@ -0,0 +1,42 @@
1
+ // stylelint-disable primer/spacing
2
+
3
+ // emtpy divider
4
+
5
+ .ActionList-sectionDivider {
6
+ // has children
7
+ &:not(:empty) {
8
+ display: flex;
9
+ padding: ($spacer-1 * 1.5) $spacer-2;
10
+ font-size: $font-size-small;
11
+ font-weight: $font-weight-bold;
12
+ color: var(--color-fg-muted);
13
+ flex-direction: column;
14
+ }
15
+
16
+ // no children
17
+ &:empty {
18
+ height: 1px;
19
+ padding: 0;
20
+ margin: ($spacer-2 - 1px) ($spacer-2 * -1) $spacer-2;
21
+ list-style: none;
22
+ background: var(--color-action-list-item-inline-divider);
23
+ border: 0;
24
+ }
25
+ }
26
+
27
+ .ActionList-sectionDivider--filled {
28
+ margin: $spacer-2 ($spacer-2 * -1);
29
+ background: var(--color-canvas-subtle);
30
+ border-top: $border-width $border-style var(--color-action-list-item-inline-divider);
31
+ border-bottom: $border-width $border-style var(--color-action-list-item-inline-divider);
32
+
33
+ // if no children, treat as divider
34
+ &:empty {
35
+ height: $spacer-2;
36
+ box-sizing: border-box;
37
+ }
38
+
39
+ &:first-child {
40
+ margin-top: 0;
41
+ }
42
+ }
@@ -0,0 +1,426 @@
1
+ // stylelint-disable selector-max-specificity, max-nesting-depth, primer/spacing, no-duplicate-selectors
2
+ @import './action-list-variables.scss';
3
+
4
+ @mixin focusOutline {
5
+ position: relative;
6
+ z-index: 1;
7
+ outline: none;
8
+ box-shadow: 0 0 0 2px var(--color-accent-fg); // this color breaks convention
9
+ }
10
+
11
+ // <li>
12
+ .ActionList-item {
13
+ position: relative;
14
+ list-style: none;
15
+ border-radius: $border-radius;
16
+
17
+ &:hover,
18
+ &:active {
19
+ cursor: pointer;
20
+
21
+ // a href
22
+ .ActionList-content {
23
+ text-decoration: none;
24
+ }
25
+ }
26
+
27
+ // only hover li without list as children
28
+ &:not(.ActionList-item--hasSubItem) {
29
+ &:hover {
30
+ cursor: pointer;
31
+ background-color: var(--color-action-list-item-default-hover-bg);
32
+ }
33
+
34
+ &:active {
35
+ background: var(--color-action-list-item-default-active-bg);
36
+
37
+ @media screen and (prefers-reduced-motion: no-preference) {
38
+ animation: ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1);
39
+ }
40
+
41
+ // stylelint-disable primer/box-shadow
42
+ @keyframes ActionList-item-active-bg {
43
+ 50% {
44
+ box-shadow: inset 0 0 0 rgba(#000, 0.04);
45
+ transform: scale(1);
46
+ }
47
+
48
+ 100% {
49
+ box-shadow: inset 0 3px 9px rgba(#000, 0.04);
50
+ transform: scale(0.97);
51
+ }
52
+ }
53
+ // stylelint-enable primer/box-shadow
54
+ }
55
+
56
+ &:hover,
57
+ &:active {
58
+ // hide dividers
59
+ .ActionList-item-label::before,
60
+ + .ActionList-item .ActionList-item-label::before {
61
+ visibility: hidden;
62
+ }
63
+ }
64
+ }
65
+
66
+ // target contents of li if sub-item (li wraps item label + nested ul)
67
+ // collapse styles here
68
+ &.ActionList-item--hasSubItem {
69
+ // first child
70
+ > .ActionList-content {
71
+ &:hover {
72
+ background-color: var(--color-action-list-item-default-hover-bg);
73
+ }
74
+ }
75
+ }
76
+
77
+ // active state [aria-current]
78
+
79
+ &.ActionList-item--navActive:not(.ActionList-item--danger) {
80
+ background: var(--color-action-list-item-default-selected-bg);
81
+
82
+ &::before,
83
+ + .ActionList-item::before {
84
+ visibility: hidden;
85
+ }
86
+
87
+ // blue accent line
88
+ &::after {
89
+ position: absolute;
90
+ top: calc(50% - ($spacer-4 * 0.5));
91
+ left: -$actionList-item-padding-horizontal;
92
+ width: $spacer-1;
93
+ height: $spacer-4;
94
+ content: '';
95
+ background: var(--color-accent-fg);
96
+ border-radius: $border-radius;
97
+ }
98
+ }
99
+
100
+ // collapsible item [aria-expanded]
101
+
102
+ &[aria-expanded='true'] {
103
+ .ActionList-item-collapseIcon {
104
+ transition: transform 120ms linear;
105
+ transform: scaleY(-1);
106
+ }
107
+
108
+ .ActionList--subGroup {
109
+ display: block;
110
+ }
111
+
112
+ &.ActionList-item--hasSubItem {
113
+ > .ActionList-content > .ActionList-item-label {
114
+ font-weight: $font-weight-bold;
115
+ }
116
+ }
117
+ }
118
+
119
+ &[aria-expanded='false'] {
120
+ .ActionList-item-collapseIcon {
121
+ transition: transform 120ms linear;
122
+ transform: scaleY(1);
123
+ }
124
+
125
+ .ActionList--subGroup {
126
+ display: none;
127
+ }
128
+ }
129
+
130
+ // checkbox item [aria-checked]
131
+ // listbox [aria-selected]
132
+
133
+ &[aria-checked='true'],
134
+ &[aria-selected='true'] {
135
+ // multiselect checkmark
136
+ .ActionList-item-multiSelectCheckmark {
137
+ visibility: visible;
138
+ opacity: 1;
139
+ transition: visibility 0 linear 0, opacity $actionList-item-checkmark-transition-timing;
140
+ }
141
+
142
+ // singleselect checkmark
143
+ .ActionList-item-singleSelectCheckmark {
144
+ visibility: visible;
145
+
146
+ @media screen and (prefers-reduced-motion: no-preference) {
147
+ animation: checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards;
148
+ }
149
+ }
150
+
151
+ // checkbox
152
+ .ActionList-item-multiSelectIcon {
153
+ .ActionList-item-multiSelectIconRect {
154
+ fill: var(--color-accent-fg);
155
+ stroke: var(--color-accent-fg);
156
+ stroke-width: $border-width;
157
+ }
158
+
159
+ .ActionList-item-multiSelectCheckmark {
160
+ fill: var(--color-fg-on-emphasis);
161
+ }
162
+ }
163
+ }
164
+
165
+ &[aria-checked='false'],
166
+ &[aria-selected='false'] {
167
+ // multiselect checkmark
168
+ .ActionList-item-multiSelectCheckmark {
169
+ visibility: hidden;
170
+ opacity: 0;
171
+ transition: visibility 0 linear $actionList-item-checkmark-transition-timing,
172
+ opacity $actionList-item-checkmark-transition-timing;
173
+ }
174
+
175
+ // singleselect checkmark
176
+ .ActionList-item-singleSelectCheckmark {
177
+ visibility: hidden;
178
+ transition: visibility 0s linear 200ms;
179
+ clip-path: inset(16px 0 0 0);
180
+
181
+ @media screen and (prefers-reduced-motion: no-preference) {
182
+ animation: checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards;
183
+ }
184
+ }
185
+
186
+ // checkbox
187
+ .ActionList-item-multiSelectIcon {
188
+ .ActionList-item-multiSelectIconRect {
189
+ fill: var(--color-canvas-default);
190
+ stroke: var(--color-border-default);
191
+ stroke-width: $border-width;
192
+ }
193
+ }
194
+
195
+ .ActionList-item-multiSelectIconRect {
196
+ fill: var(--color-canvas-default);
197
+ border: $border-width $border-style var(--color-border-default);
198
+ }
199
+ }
200
+
201
+ @keyframes checkmarkIn {
202
+ from {
203
+ clip-path: inset(16px 0 0 0);
204
+ }
205
+
206
+ to {
207
+ clip-path: inset(0 0 0 0);
208
+ }
209
+ }
210
+
211
+ @keyframes checkmarkOut {
212
+ from {
213
+ clip-path: inset(0 0 0 0);
214
+ }
215
+
216
+ to {
217
+ clip-path: inset(16px 0 0 0);
218
+ }
219
+ }
220
+
221
+ // variants
222
+
223
+ // danger
224
+ &.ActionList-item--danger {
225
+ .ActionList-item-label {
226
+ color: var(--color-danger-fg);
227
+ }
228
+
229
+ .ActionList-item-visual {
230
+ color: var(--color-danger-fg);
231
+ }
232
+
233
+ @media (hover: hover) and (pointer: fine) {
234
+ &:hover {
235
+ background: var(--color-action-list-item-danger-hover-bg);
236
+
237
+ .ActionList-item-label {
238
+ color: var(--color-action-list-item-danger-hover-text);
239
+ }
240
+ }
241
+ }
242
+
243
+ &:active {
244
+ background: var(--color-action-list-item-danger-active-bg);
245
+ }
246
+ }
247
+
248
+ // disabled
249
+ &.ActionList-item--disabled {
250
+ .ActionList-item-label {
251
+ color: pink;
252
+ }
253
+
254
+ .ActionList-item-visual {
255
+ fill: pink;
256
+ }
257
+
258
+ @media (hover: hover) and (pointer: fine) {
259
+ &:hover {
260
+ background-color: unset;
261
+ cursor: not-allowed;
262
+ }
263
+ }
264
+ }
265
+
266
+ // if nested list exists, remove default padding
267
+ .ActionList {
268
+ padding: unset;
269
+ }
270
+ }
271
+
272
+ // span or a href
273
+ .ActionList-content {
274
+ position: relative;
275
+ display: grid;
276
+ padding: $actionList-item-padding-vertical $actionList-item-padding-horizontal;
277
+ font-weight: $font-weight-normal;
278
+ color: var(--color-fg-default);
279
+ user-select: none;
280
+ border-radius: $border-radius;
281
+ transition: $actionList-item-bg-transition;
282
+ grid-template-rows: minmax($actionList-item-height-sm, max-content); // 20px with 12px padding = [32px total]
283
+ grid-template-areas: 'leadingAction leadingVisual label trailingVisual trailingAction';
284
+ grid-template-columns: min-content min-content minmax(min-content, auto) min-content min-content;
285
+ align-items: center;
286
+
287
+ // column-gap persists with empty grid-areas, margin applies only when children exist
288
+ > :not(:last-child) {
289
+ margin-right: $spacer-2;
290
+ }
291
+
292
+ &:focus-visible {
293
+ @include focusOutline;
294
+ }
295
+
296
+ // sizes
297
+
298
+ &.ActionList-content--sizeMedium {
299
+ grid-template-rows: minmax($actionList-item-height-md, max-content); // 28px with 12px padding = [40px total]
300
+ }
301
+
302
+ &.ActionList-content--sizeLarge {
303
+ grid-template-rows: minmax($actionList-item-height-lg, max-content); // 36px with 12px padding = [48px total]
304
+ }
305
+
306
+ // On pointer:coarse (mobile), all list items are large
307
+ @media (pointer: coarse) {
308
+ grid-template-rows: minmax($actionList-item-height-lg, max-content);
309
+ }
310
+
311
+ &.ActionList-content--blockDescription {
312
+ // if leading/trailing visual, align with first line of content
313
+ .ActionList-item-visual {
314
+ place-self: start;
315
+ }
316
+ }
317
+ }
318
+
319
+ // place children on grid
320
+
321
+ .ActionList-item-action--leading {
322
+ grid-area: leadingAction;
323
+ }
324
+
325
+ .ActionList-item-visual--leading {
326
+ grid-area: leadingVisual;
327
+ }
328
+
329
+ .ActionList-item-label {
330
+ grid-area: label;
331
+ }
332
+
333
+ .ActionList-item-visual--trailing {
334
+ grid-area: trailingVisual;
335
+ }
336
+
337
+ .ActionList-item-action--trailing {
338
+ grid-area: trailingAction;
339
+ }
340
+
341
+ // wrapper span
342
+ // default block
343
+ .ActionList-item-descriptionWrap {
344
+ grid-area: label;
345
+ display: flex;
346
+ flex-direction: column;
347
+
348
+ .ActionList-item-description {
349
+ margin-top: $spacer-1;
350
+ }
351
+
352
+ .ActionList-item-label {
353
+ font-weight: $font-weight-bold;
354
+ }
355
+ }
356
+
357
+ // inline
358
+ .ActionList-item-descriptionWrap--inline {
359
+ flex-direction: row;
360
+ align-items: baseline;
361
+
362
+ .ActionList-item-description {
363
+ margin-left: $actionList-item-padding-horizontal;
364
+ }
365
+ }
366
+
367
+ // description
368
+ .ActionList-item-description {
369
+ font-size: $font-size-small;
370
+ font-weight: $font-weight-normal;
371
+ line-height: $lh-default;
372
+ color: var(--color-fg-muted);
373
+ }
374
+
375
+ // helper for grid alignment with multi-line content
376
+ // span wrapping svg or text
377
+ .ActionList-item-visual,
378
+ .ActionList-item-action {
379
+ display: flex;
380
+ min-height: $actionList-item-height-sm;
381
+ color: var(--color-fg-muted); // if visual is text
382
+ fill: var(--color-fg-muted);
383
+ align-items: center;
384
+ }
385
+
386
+ // text
387
+ .ActionList-item-label {
388
+ position: relative; // for pseudo dividers
389
+ font-weight: $font-weight-normal;
390
+ color: var(--color-fg-default);
391
+ }
392
+
393
+ // nested lists (only supports 1 level currently)
394
+ // target ActionList-item--subItem for padding-left to maintain :active :after state
395
+
396
+ .ActionList-item--subItem > .ActionList-content {
397
+ font-size: $font-size-small;
398
+ }
399
+
400
+ // no leading visual
401
+ .ActionList--subGroup {
402
+ .ActionList-item--subItem {
403
+ padding-left: $spacer-3;
404
+ }
405
+ }
406
+
407
+ // has 16px leading visual
408
+ .ActionList-content--visual16 + .ActionList--subGroup {
409
+ .ActionList-item--subItem {
410
+ padding-left: $spacer-4;
411
+ }
412
+ }
413
+
414
+ // has 20px leading visual
415
+ .ActionList-content--visual20 + .ActionList--subGroup {
416
+ .ActionList-item--subItem {
417
+ padding-left: $spacer-3 * 1.75;
418
+ }
419
+ }
420
+
421
+ // has 24px leading visual
422
+ .ActionList-content--visual24 + .ActionList--subGroup {
423
+ .ActionList-item--subItem {
424
+ padding-left: $spacer-5;
425
+ }
426
+ }
@@ -0,0 +1,7 @@
1
+ $actionList-item-height-sm: 20px !default;
2
+ $actionList-item-height-md: 28px !default;
3
+ $actionList-item-height-lg: 36px !default;
4
+ $actionList-item-padding-vertical: $spacer-1 * 1.5 !default;
5
+ $actionList-item-padding-horizontal: $spacer-2 !default;
6
+ $actionList-item-bg-transition: background 33.333ms linear !default; // 2 frames on a 60hz monitor
7
+ $actionList-item-checkmark-transition-timing: 50ms !default;
@@ -0,0 +1,35 @@
1
+ // stylelint-disable selector-max-specificity, selector-max-compound-selectors
2
+ @import './action-list-variables.scss';
3
+
4
+ // <ul>
5
+ .ActionList {
6
+ padding: $spacer-2;
7
+ }
8
+
9
+ // dividers
10
+
11
+ .ActionList--divided {
12
+ .ActionList-item-label::before {
13
+ position: absolute;
14
+ top: -$actionList-item-padding-vertical;
15
+ display: block;
16
+ width: 100%;
17
+ height: 1px;
18
+ content: '';
19
+ background: var(--color-action-list-item-inline-divider);
20
+ }
21
+
22
+ // hide divider if item is active
23
+ .ActionList-item--navActive {
24
+ .ActionList-item-label::before,
25
+ + .ActionList-item .ActionList-item-label::before {
26
+ visibility: hidden;
27
+ }
28
+ }
29
+ }
30
+
31
+ .ActionList-item:first-of-type .ActionList-item-label::before,
32
+ .ActionList-sectionDivider + .ActionList-item .ActionList-item-label::before,
33
+ .ActionList-sectionHeader + .ActionList-item .ActionList-item-label::before {
34
+ visibility: hidden;
35
+ }
@@ -0,0 +1,5 @@
1
+ @import '../support/index.scss';
2
+ @import './action-list-variables.scss';
3
+ @import './action-list.scss';
4
+ @import './action-list-item.scss';
5
+ @import './action-list-item-divider.scss';
package/alerts/index.scss CHANGED
@@ -1,3 +1,3 @@
1
1
  // support files
2
- @import "../support/index.scss";
3
- @import "./flash.scss";
2
+ @import '../support/index.scss';
3
+ @import './flash.scss';
@@ -1,4 +1,4 @@
1
1
  // support files
2
- @import "../support/index.scss";
3
- @import "./autocomplete.scss";
4
- @import "./suggester.scss";
2
+ @import '../support/index.scss';
3
+ @import './autocomplete.scss';
4
+ @import './suggester.scss';
@@ -52,7 +52,7 @@
52
52
  }
53
53
  }
54
54
 
55
- &[aria-selected="true"],
55
+ &[aria-selected='true'],
56
56
  &.navigation-focus {
57
57
  color: var(--color-fg-on-emphasis);
58
58
  text-decoration: none;
@@ -89,7 +89,7 @@
89
89
  position: absolute;
90
90
  display: block;
91
91
  height: 20px;
92
- content: "";
92
+ content: '';
93
93
  // stylelint-disable-next-line primer/borders
94
94
  border-radius: 2px;
95
95
  outline: $border-width $border-style var(--color-canvas-default);
@@ -44,7 +44,7 @@
44
44
  top: 50%;
45
45
  left: 0;
46
46
  width: 100%;
47
- content: "";
47
+ content: '';
48
48
  // stylelint-disable-next-line primer/borders
49
49
  border-bottom: 2px dashed var(--color-border-default);
50
50
  }
@@ -1,7 +1,7 @@
1
- @import "../support/index.scss";
1
+ @import '../support/index.scss';
2
2
 
3
3
  // Avatars
4
- @import "./avatar.scss";
5
- @import "./avatar-parent-child.scss";
6
- @import "./avatar-stack.scss";
7
- @import "./circle-badge.scss";
4
+ @import './avatar.scss';
5
+ @import './avatar-parent-child.scss';
6
+ @import './avatar-stack.scss';
7
+ @import './circle-badge.scss';
package/base/index.scss CHANGED
@@ -1,7 +1,7 @@
1
- @import "../support/index.scss";
1
+ @import '../support/index.scss';
2
2
 
3
- @import "./normalize.scss";
4
- @import "./base.scss";
5
- @import "./kbd.scss";
6
- @import "./typography-base.scss";
7
- @import "./octicons.scss";
3
+ @import './normalize.scss';
4
+ @import './base.scss';
5
+ @import './kbd.scss';
6
+ @import './typography-base.scss';
7
+ @import './octicons.scss';
@@ -1,3 +1,3 @@
1
- @import "../support/index.scss";
1
+ @import '../support/index.scss';
2
2
 
3
- @import "./blankslate.scss";
3
+ @import './blankslate.scss';
package/box/index.scss CHANGED
@@ -1,2 +1,2 @@
1
- @import "../support/index.scss";
2
- @import "./box.scss";
1
+ @import '../support/index.scss';
2
+ @import './box.scss';
@@ -1,3 +1,3 @@
1
1
  // support files
2
- @import "../support/index.scss";
3
- @import "./branch-name.scss";
2
+ @import '../support/index.scss';
3
+ @import './branch-name.scss';
@@ -1,3 +1,3 @@
1
1
  // support files
2
- @import "../support/index.scss";
3
- @import "./breadcrumb.scss";
2
+ @import '../support/index.scss';
3
+ @import './breadcrumb.scss';
@@ -1,4 +1,4 @@
1
- @import "../support/index.scss";
2
- @import "./button.scss";
3
- @import "./button-group.scss";
4
- @import "./misc.scss";
1
+ @import '../support/index.scss';
2
+ @import './button.scss';
3
+ @import './button-group.scss';
4
+ @import './misc.scss';
@@ -1,9 +1,9 @@
1
1
  // All themes
2
2
 
3
- @import "./themes/light.scss";
4
- @import "./themes/light_colorblind.scss";
5
- @import "./themes/dark.scss";
6
- @import "./themes/dark_dimmed.scss";
7
- @import "./themes/dark_high_contrast.scss";
8
- @import "./themes/dark_colorblind.scss";
9
- @import "./native.scss";
3
+ @import './themes/light.scss';
4
+ @import './themes/light_colorblind.scss';
5
+ @import './themes/dark.scss';
6
+ @import './themes/dark_dimmed.scss';
7
+ @import './themes/dark_high_contrast.scss';
8
+ @import './themes/dark_colorblind.scss';
9
+ @import './native.scss';