@primer/view-components 0.31.1-rc.933c8483 → 0.31.1-rc.a15504a8
Sign up to get free protection for your applications and to get access to all the features.
- package/app/assets/styles/primer_view_components.css +1 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_list.css +1 -1
- package/app/components/primer/alpha/action_list.css.json +33 -50
- package/app/components/primer/alpha/auto_complete.css +1 -1
- package/app/components/primer/alpha/auto_complete.css.json +3 -5
- package/app/components/primer/alpha/banner.css +1 -1
- package/app/components/primer/alpha/banner.css.json +5 -5
- package/app/components/primer/alpha/button_marketing.css +1 -1
- package/app/components/primer/alpha/button_marketing.css.json +1 -4
- package/app/components/primer/alpha/dialog.css +1 -1
- package/app/components/primer/alpha/dialog.css.json +7 -7
- package/app/components/primer/alpha/layout.css +1 -1
- package/app/components/primer/alpha/layout.css.json +9 -15
- package/app/components/primer/alpha/menu.css +1 -1
- package/app/components/primer/alpha/menu.css.json +1 -3
- package/app/components/primer/alpha/segmented_control.css +1 -1
- package/app/components/primer/alpha/segmented_control.css.json +5 -5
- package/app/components/primer/alpha/tab_nav.css +1 -1
- package/app/components/primer/alpha/tab_nav.css.json +1 -3
- package/app/components/primer/alpha/text_field.css +1 -1
- package/app/components/primer/alpha/text_field.css.json +37 -78
- package/app/components/primer/alpha/toggle_switch.css +1 -1
- package/app/components/primer/alpha/toggle_switch.css.json +1 -1
- package/app/components/primer/alpha/underline_nav.css +1 -1
- package/app/components/primer/alpha/underline_nav.css.json +2 -4
- package/app/components/primer/beta/avatar_stack.css +1 -1
- package/app/components/primer/beta/avatar_stack.css.json +8 -8
- package/app/components/primer/beta/border_box.css +1 -1
- package/app/components/primer/beta/border_box.css.json +4 -4
- package/app/components/primer/beta/breadcrumbs.css +1 -1
- package/app/components/primer/beta/breadcrumbs.css.json +1 -2
- package/app/components/primer/beta/button.css +1 -1
- package/app/components/primer/beta/button.css.json +6 -8
- package/app/components/primer/beta/button_group.css +1 -1
- package/app/components/primer/beta/button_group.css.json +3 -3
- package/app/components/primer/beta/label.css +1 -1
- package/app/components/primer/beta/label.css.json +1 -2
- package/app/components/primer/beta/link.css +1 -1
- package/app/components/primer/beta/link.css.json +1 -3
- package/app/components/primer/beta/popover.css +1 -1
- package/app/components/primer/beta/popover.css.json +16 -22
- package/app/components/primer/beta/truncate.css +1 -1
- package/app/components/primer/beta/truncate.css.json +5 -5
- package/package.json +2 -2
- package/static/classes.json +39 -21
@@ -1 +1 @@
|
|
1
|
-
.Popover{position:absolute;z-index:100}.Popover-message{background-color:var(--overlay-bgColor);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium);box-shadow:var(--shadow-floating-legacy,var(--color-shadow-large))!important;margin-left:auto;margin-right:auto;position:relative;width:232px}.Popover-message:after,.Popover-message:before{content:"";display:inline-block;left:50%;position:absolute}.Popover-message:before{border:8px solid #0000;border-bottom:8px solid var(--borderColor-default);margin-left:-9px;top:-16px}.Popover-message:after{border:7px solid #0000;border-bottom:7px solid var(--overlay-bgColor);margin-left:-8px;top:-14px}.Popover-message--no-caret:after,.Popover-message--no-caret:before{display:none}.Popover-message--bottom
|
1
|
+
.Popover{position:absolute;z-index:100}.Popover-message{background-color:var(--overlay-bgColor);border:var(--borderWidth-thin) solid var(--borderColor-default);border-radius:var(--borderRadius-medium);box-shadow:var(--shadow-floating-legacy,var(--color-shadow-large))!important;margin-left:auto;margin-right:auto;position:relative;width:232px}.Popover-message:after,.Popover-message:before{content:"";display:inline-block;left:50%;position:absolute}.Popover-message:before{border:8px solid #0000;border-bottom:8px solid var(--borderColor-default);margin-left:-9px;top:-16px}.Popover-message:after{border:7px solid #0000;border-bottom:7px solid var(--overlay-bgColor);margin-left:-8px;top:-14px}.Popover-message--no-caret:after,.Popover-message--no-caret:before{display:none}:is(.Popover-message--bottom,.Popover-message--bottom-right,.Popover-message--bottom-left):after,:is(.Popover-message--bottom,.Popover-message--bottom-right,.Popover-message--bottom-left):before{border-bottom-color:#0000;top:auto}:is(.Popover-message--bottom,.Popover-message--bottom-right,.Popover-message--bottom-left):before{border-top-color:var(--borderColor-default);bottom:-16px}:is(.Popover-message--bottom,.Popover-message--bottom-right,.Popover-message--bottom-left):after{border-top-color:var(--overlay-bgColor);bottom:-14px}.Popover-message--bottom-right,.Popover-message--top-right{margin-right:0;right:-9px}:is(.Popover-message--top-right,.Popover-message--bottom-right):after,:is(.Popover-message--top-right,.Popover-message--bottom-right):before{left:auto;margin-left:0}:is(.Popover-message--top-right,.Popover-message--bottom-right):before{right:20px}:is(.Popover-message--top-right,.Popover-message--bottom-right):after{right:21px}.Popover-message--bottom-left,.Popover-message--top-left{left:-9px;margin-left:0}:is(.Popover-message--top-left,.Popover-message--bottom-left):after,:is(.Popover-message--top-left,.Popover-message--bottom-left):before{left:24px;margin-left:0}:is(.Popover-message--top-left,.Popover-message--bottom-left):after{left:25px}:is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom,.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):after,:is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom,.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):before{border-bottom-color:#0000;left:auto;margin-left:0;top:50%}:is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom,.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):before{margin-top:-9px}:is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom,.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):after{margin-top:-8px}:is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom):before{border-left-color:var(--borderColor-default);right:-16px}:is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom):after{border-left-color:var(--overlay-bgColor);right:-14px}:is(.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):before{border-right-color:var(--borderColor-default);left:-16px}:is(.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):after{border-right-color:var(--overlay-bgColor);left:-14px}:is(.Popover-message--right-top,.Popover-message--left-top):after,:is(.Popover-message--right-top,.Popover-message--left-top):before{top:24px}:is(.Popover-message--right-bottom,.Popover-message--left-bottom):after,:is(.Popover-message--right-bottom,.Popover-message--left-bottom):before{top:auto}:is(.Popover-message--right-bottom,.Popover-message--left-bottom):before{bottom:16px}:is(.Popover-message--right-bottom,.Popover-message--left-bottom):after{bottom:17px}@media (min-width:544px){.Popover-message--large{min-width:320px}}@media (max-width:767.98px){.Popover{bottom:0!important;left:0!important;position:fixed;right:0!important;top:auto!important}.Popover-message{bottom:auto;left:auto;margin:var(--stack-gap-condensed);right:auto;top:auto;width:auto!important}.Popover-message>.btn-octicon{padding:var(--control-medium-paddingInline-normal)!important}.Popover-message:after,.Popover-message:before{display:none}}
|
@@ -7,32 +7,26 @@
|
|
7
7
|
".Popover-message:before",
|
8
8
|
".Popover-message--no-caret:after",
|
9
9
|
".Popover-message--no-caret:before",
|
10
|
-
".Popover-message--bottom-left:after",
|
11
|
-
".Popover-message--bottom-left:before",
|
12
|
-
".Popover-message--bottom-right:after",
|
13
|
-
".Popover-message--bottom-right:before",
|
14
|
-
".Popover-message--bottom:after",
|
15
|
-
".Popover-message--bottom:before",
|
10
|
+
":is(.Popover-message--bottom,.Popover-message--bottom-right,.Popover-message--bottom-left):after",
|
11
|
+
":is(.Popover-message--bottom,.Popover-message--bottom-right,.Popover-message--bottom-left):before",
|
16
12
|
".Popover-message--bottom-right",
|
17
13
|
".Popover-message--top-right",
|
18
|
-
".Popover-message--top-right:after",
|
19
|
-
".Popover-message--top-right:before",
|
14
|
+
":is(.Popover-message--top-right,.Popover-message--bottom-right):after",
|
15
|
+
":is(.Popover-message--top-right,.Popover-message--bottom-right):before",
|
20
16
|
".Popover-message--bottom-left",
|
21
17
|
".Popover-message--top-left",
|
22
|
-
".Popover-message--top-left:after",
|
23
|
-
".Popover-message--top-left:before",
|
24
|
-
".Popover-message--left-bottom:after",
|
25
|
-
".Popover-message--left-bottom:before",
|
26
|
-
".Popover-message--
|
27
|
-
".Popover-message--
|
28
|
-
".Popover-message--left:
|
29
|
-
".Popover-message--left:
|
30
|
-
".Popover-message--right-
|
31
|
-
".Popover-message--right-
|
32
|
-
".Popover-message--right-
|
33
|
-
".Popover-message--right-
|
34
|
-
".Popover-message--right:after",
|
35
|
-
".Popover-message--right:before",
|
18
|
+
":is(.Popover-message--top-left,.Popover-message--bottom-left):after",
|
19
|
+
":is(.Popover-message--top-left,.Popover-message--bottom-left):before",
|
20
|
+
":is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom,.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):after",
|
21
|
+
":is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom,.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):before",
|
22
|
+
":is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom):before",
|
23
|
+
":is(.Popover-message--right,.Popover-message--right-top,.Popover-message--right-bottom):after",
|
24
|
+
":is(.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):before",
|
25
|
+
":is(.Popover-message--left,.Popover-message--left-top,.Popover-message--left-bottom):after",
|
26
|
+
":is(.Popover-message--right-top,.Popover-message--left-top):after",
|
27
|
+
":is(.Popover-message--right-top,.Popover-message--left-top):before",
|
28
|
+
":is(.Popover-message--right-bottom,.Popover-message--left-bottom):after",
|
29
|
+
":is(.Popover-message--right-bottom,.Popover-message--left-bottom):before",
|
36
30
|
".Popover-message--large",
|
37
31
|
".Popover-message>.btn-octicon"
|
38
32
|
]
|
@@ -1 +1 @@
|
|
1
|
-
.Truncate{display:inline-flex;max-width:100%;min-width:0}.Truncate>.Truncate-text{max-width:-moz-fit-content;max-width:fit-content;min-width:1ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Truncate>.Truncate-text+.Truncate-text{margin-left:var(--control-small-gap)}.Truncate
|
1
|
+
.Truncate{display:inline-flex;max-width:100%;min-width:0}.Truncate>.Truncate-text{max-width:-moz-fit-content;max-width:fit-content;min-width:1ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(.Truncate>.Truncate-text)+.Truncate-text{margin-left:var(--control-small-gap)}.Truncate-text--primary:is(.Truncate>.Truncate-text){flex-basis:200%}.Truncate-text--expandable:is(.Truncate>.Truncate-text):active,.Truncate-text--expandable:is(.Truncate>.Truncate-text):focus,.Truncate-text--expandable:is(.Truncate>.Truncate-text):hover{cursor:pointer;flex-shrink:0;max-width:100%!important}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
"selectors": [
|
4
4
|
".Truncate",
|
5
5
|
".Truncate>.Truncate-text",
|
6
|
-
".Truncate>.Truncate-text+.Truncate-text",
|
7
|
-
".Truncate
|
8
|
-
".Truncate
|
9
|
-
".Truncate
|
10
|
-
".Truncate
|
6
|
+
":is(.Truncate>.Truncate-text)+.Truncate-text",
|
7
|
+
".Truncate-text--primary:is(.Truncate>.Truncate-text)",
|
8
|
+
".Truncate-text--expandable:is(.Truncate>.Truncate-text):active",
|
9
|
+
".Truncate-text--expandable:is(.Truncate>.Truncate-text):focus",
|
10
|
+
".Truncate-text--expandable:is(.Truncate>.Truncate-text):hover"
|
11
11
|
]
|
12
12
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.31.1-rc.
|
3
|
+
"version": "0.31.1-rc.a15504a8",
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
6
6
|
"module": "app/components/primer/primer.js",
|
@@ -85,7 +85,7 @@
|
|
85
85
|
"postcss-cli": "^11.0.0",
|
86
86
|
"postcss-import": "^16.0.0",
|
87
87
|
"postcss-mixins": "^10.0.0",
|
88
|
-
"postcss-preset-env": "^
|
88
|
+
"postcss-preset-env": "^10.0.2",
|
89
89
|
"prettier": "^3.3.2",
|
90
90
|
"rollup": "^2.79.1",
|
91
91
|
"rollup-plugin-terser": "^7.0.2",
|
package/static/classes.json
CHANGED
@@ -251,6 +251,9 @@
|
|
251
251
|
"FormControl-checkbox-wrap": [
|
252
252
|
"Primer::Alpha::TextField"
|
253
253
|
],
|
254
|
+
"FormControl-error": [
|
255
|
+
"Primer::Alpha::TextField"
|
256
|
+
],
|
254
257
|
"FormControl-horizontalGroup": [
|
255
258
|
"Primer::Alpha::TextField"
|
256
259
|
],
|
@@ -266,12 +269,27 @@
|
|
266
269
|
"FormControl-input": [
|
267
270
|
"Primer::Alpha::TextField"
|
268
271
|
],
|
272
|
+
"FormControl-input-trailingAction--divider": [
|
273
|
+
"Primer::Alpha::TextField"
|
274
|
+
],
|
269
275
|
"FormControl-input-wrap": [
|
270
276
|
"Primer::Alpha::TextField"
|
271
277
|
],
|
278
|
+
"FormControl-inset": [
|
279
|
+
"Primer::Alpha::TextField"
|
280
|
+
],
|
272
281
|
"FormControl-label": [
|
273
282
|
"Primer::Alpha::TextField"
|
274
283
|
],
|
284
|
+
"FormControl-large": [
|
285
|
+
"Primer::Alpha::TextField"
|
286
|
+
],
|
287
|
+
"FormControl-medium": [
|
288
|
+
"Primer::Alpha::TextField"
|
289
|
+
],
|
290
|
+
"FormControl-monospace": [
|
291
|
+
"Primer::Alpha::TextField"
|
292
|
+
],
|
275
293
|
"FormControl-radio-group-wrap": [
|
276
294
|
"Primer::Alpha::TextField"
|
277
295
|
],
|
@@ -284,15 +302,24 @@
|
|
284
302
|
"FormControl-select-wrap": [
|
285
303
|
"Primer::Alpha::TextField"
|
286
304
|
],
|
305
|
+
"FormControl-small": [
|
306
|
+
"Primer::Alpha::TextField"
|
307
|
+
],
|
287
308
|
"FormControl-spacingWrapper": [
|
288
309
|
"Primer::Alpha::TextField"
|
289
310
|
],
|
311
|
+
"FormControl-success": [
|
312
|
+
"Primer::Alpha::TextField"
|
313
|
+
],
|
290
314
|
"FormControl-textarea": [
|
291
315
|
"Primer::Alpha::TextField"
|
292
316
|
],
|
293
317
|
"FormControl-toggleSwitchInput": [
|
294
318
|
"Primer::Alpha::TextField"
|
295
319
|
],
|
320
|
+
"FormControl-warning": [
|
321
|
+
"Primer::Alpha::TextField"
|
322
|
+
],
|
296
323
|
"Label": [
|
297
324
|
"Primer::Beta::Label"
|
298
325
|
],
|
@@ -347,6 +374,12 @@
|
|
347
374
|
"Layout-divider": [
|
348
375
|
"Primer::Alpha::Layout"
|
349
376
|
],
|
377
|
+
"Layout-divider--flowRow-hidden": [
|
378
|
+
"Primer::Alpha::Layout"
|
379
|
+
],
|
380
|
+
"Layout-divider--flowRow-shallow": [
|
381
|
+
"Primer::Alpha::Layout"
|
382
|
+
],
|
350
383
|
"Layout-main": [
|
351
384
|
"Primer::Alpha::Layout"
|
352
385
|
],
|
@@ -414,9 +447,6 @@
|
|
414
447
|
"Popover-message": [
|
415
448
|
"Primer::Beta::Popover"
|
416
449
|
],
|
417
|
-
"Popover-message--bottom": [
|
418
|
-
"Primer::Beta::Popover"
|
419
|
-
],
|
420
450
|
"Popover-message--bottom-left": [
|
421
451
|
"Primer::Beta::Popover"
|
422
452
|
],
|
@@ -426,27 +456,9 @@
|
|
426
456
|
"Popover-message--large": [
|
427
457
|
"Primer::Beta::Popover"
|
428
458
|
],
|
429
|
-
"Popover-message--left": [
|
430
|
-
"Primer::Beta::Popover"
|
431
|
-
],
|
432
|
-
"Popover-message--left-bottom": [
|
433
|
-
"Primer::Beta::Popover"
|
434
|
-
],
|
435
|
-
"Popover-message--left-top": [
|
436
|
-
"Primer::Beta::Popover"
|
437
|
-
],
|
438
459
|
"Popover-message--no-caret": [
|
439
460
|
"Primer::Beta::Popover"
|
440
461
|
],
|
441
|
-
"Popover-message--right": [
|
442
|
-
"Primer::Beta::Popover"
|
443
|
-
],
|
444
|
-
"Popover-message--right-bottom": [
|
445
|
-
"Primer::Beta::Popover"
|
446
|
-
],
|
447
|
-
"Popover-message--right-top": [
|
448
|
-
"Primer::Beta::Popover"
|
449
|
-
],
|
450
462
|
"Popover-message--top-left": [
|
451
463
|
"Primer::Beta::Popover"
|
452
464
|
],
|
@@ -591,6 +603,12 @@
|
|
591
603
|
"Truncate": [
|
592
604
|
"Primer::Beta::Truncate"
|
593
605
|
],
|
606
|
+
"Truncate-text--expandable": [
|
607
|
+
"Primer::Beta::Truncate"
|
608
|
+
],
|
609
|
+
"Truncate-text--primary": [
|
610
|
+
"Primer::Beta::Truncate"
|
611
|
+
],
|
594
612
|
"UnderlineNav": [
|
595
613
|
"Primer::Alpha::UnderlineNav"
|
596
614
|
],
|