@primer/view-components 0.45.2 → 0.46.0-rc.4285adec
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.
- package/app/assets/styles/primer_view_components.css +1 -6963
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_bar.css +1 -49
- package/app/components/primer/alpha/action_list.css +1 -525
- package/app/components/primer/alpha/action_list.css.json +64 -64
- package/app/components/primer/alpha/auto_complete.css +1 -131
- package/app/components/primer/alpha/auto_complete.css.json +3 -3
- package/app/components/primer/alpha/banner.css +1 -146
- package/app/components/primer/alpha/banner.css.json +2 -2
- package/app/components/primer/alpha/button_marketing.css +1 -183
- package/app/components/primer/alpha/button_marketing.css.json +6 -6
- package/app/components/primer/alpha/dialog.css +1 -377
- package/app/components/primer/alpha/dialog.css.json +2 -2
- package/app/components/primer/alpha/dropdown.css +1 -296
- package/app/components/primer/alpha/dropdown.css.json +19 -19
- package/app/components/primer/alpha/layout.css +1 -374
- package/app/components/primer/alpha/layout.css.json +10 -10
- package/app/components/primer/alpha/menu.css +1 -124
- package/app/components/primer/alpha/menu.css.json +5 -5
- package/app/components/primer/alpha/overlay.css +1 -25
- package/app/components/primer/alpha/segmented_control.css +1 -161
- package/app/components/primer/alpha/segmented_control.css.json +5 -5
- package/app/components/primer/alpha/select_panel.css +1 -10
- package/app/components/primer/alpha/skeleton_box.css +1 -36
- package/app/components/primer/alpha/stack.css +1 -255
- package/app/components/primer/alpha/stack.css.json +84 -84
- package/app/components/primer/alpha/stack_item.css +1 -27
- package/app/components/primer/alpha/stack_item.css.json +6 -6
- package/app/components/primer/alpha/tab_nav.css +1 -112
- package/app/components/primer/alpha/tab_nav.css.json +5 -5
- package/app/components/primer/alpha/text_field.css +1 -792
- package/app/components/primer/alpha/text_field.css.json +39 -39
- package/app/components/primer/alpha/toggle_switch.css +1 -230
- package/app/components/primer/alpha/toggle_switch.css.json +10 -10
- package/app/components/primer/alpha/tree_view.css +1 -396
- package/app/components/primer/alpha/tree_view.css.json +25 -25
- package/app/components/primer/alpha/underline_nav.css +1 -150
- package/app/components/primer/alpha/underline_nav.css.json +6 -6
- package/app/components/primer/beta/avatar.css +1 -77
- package/app/components/primer/beta/avatar_stack.css +1 -134
- package/app/components/primer/beta/avatar_stack.css.json +6 -6
- package/app/components/primer/beta/blankslate.css +1 -168
- package/app/components/primer/beta/border_box.css +1 -218
- package/app/components/primer/beta/border_box.css.json +3 -3
- package/app/components/primer/beta/breadcrumbs.css +1 -29
- package/app/components/primer/beta/breadcrumbs.css.json +2 -2
- package/app/components/primer/beta/button.css +1 -359
- package/app/components/primer/beta/button.css.json +17 -17
- package/app/components/primer/beta/button_group.css +1 -20
- package/app/components/primer/beta/button_group.css.json +3 -3
- package/app/components/primer/beta/counter.css +1 -38
- package/app/components/primer/beta/flash.css +1 -152
- package/app/components/primer/beta/label.css +1 -109
- package/app/components/primer/beta/label.css.json +3 -3
- package/app/components/primer/beta/link.css +1 -79
- package/app/components/primer/beta/link.css.json +1 -1
- package/app/components/primer/beta/popover.css +1 -215
- package/app/components/primer/beta/popover.css.json +23 -23
- package/app/components/primer/beta/progress_bar.css +1 -38
- package/app/components/primer/beta/progress_bar.css.json +1 -1
- package/app/components/primer/beta/state.css +1 -60
- package/app/components/primer/beta/state.css.json +1 -1
- package/app/components/primer/beta/subhead.css +1 -64
- package/app/components/primer/beta/subhead.css.json +1 -1
- package/app/components/primer/beta/timeline_item.css +1 -106
- package/app/components/primer/beta/timeline_item.css.json +1 -1
- package/app/components/primer/beta/truncate.css +1 -30
- package/app/components/primer/beta/truncate.css.json +6 -6
- package/app/components/primer/truncate.css +1 -23
- package/app/components/primer/truncate.css.json +4 -4
- package/package.json +1 -1
- package/static/arguments.json +1 -7
- package/static/info_arch.json +1 -7
@@ -1,38 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.Progress {
|
4
|
-
display: flex;
|
5
|
-
height: 8px;
|
6
|
-
overflow: hidden;
|
7
|
-
background-color: var(--progressBar-track-bgColor);
|
8
|
-
border-radius: var(--borderRadius-medium);
|
9
|
-
outline: solid 1px var(--progressBar-track-borderColor);
|
10
|
-
outline-offset: -1px;
|
11
|
-
}
|
12
|
-
|
13
|
-
.Progress--large {
|
14
|
-
height: 10px;
|
15
|
-
}
|
16
|
-
|
17
|
-
.Progress--small {
|
18
|
-
height: 5px;
|
19
|
-
}
|
20
|
-
|
21
|
-
.Progress-item {
|
22
|
-
outline: 2px solid transparent; /* Support Firefox custom colors */
|
23
|
-
background: LinkText;
|
24
|
-
}
|
25
|
-
|
26
|
-
.Progress-item + .Progress-item {
|
27
|
-
margin-left: var(--base-size-2);
|
28
|
-
}
|
29
|
-
|
30
|
-
@media (forced-colors: active) {
|
31
|
-
:root {
|
32
|
-
--progressBar-track-bgColor: CanvasText;
|
33
|
-
}
|
34
|
-
|
35
|
-
.Progress, .Progress-item {
|
36
|
-
forced-color-adjust: none;
|
37
|
-
}
|
38
|
-
}
|
1
|
+
.Progress{background-color:var(--progressBar-track-bgColor);border-radius:var(--borderRadius-medium);display:flex;height:8px;outline:solid 1px var(--progressBar-track-borderColor);outline-offset:-1px;overflow:hidden}.Progress--large{height:10px}.Progress--small{height:5px}.Progress-item{background:LinkText;outline:2px solid #0000}.Progress-item+.Progress-item{margin-left:var(--base-size-2)}@media (forced-colors:active){:root{--progressBar-track-bgColor:CanvasText}.Progress,.Progress-item{forced-color-adjust:none}}
|
@@ -1,60 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/* Default 32px */
|
4
|
-
|
5
|
-
.state, /* TODO: Deprecate */
|
6
|
-
.State {
|
7
|
-
display: inline-block;
|
8
|
-
/* stylelint-disable-next-line primer/spacing */
|
9
|
-
padding: var(--base-size-4) var(--control-medium-paddingInline-normal);
|
10
|
-
font-size: var(--text-body-size-medium);
|
11
|
-
font-weight: var(--base-text-weight-medium);
|
12
|
-
/* stylelint-disable-next-line primer/typography */
|
13
|
-
line-height: var(--control-medium-lineBoxHeight);
|
14
|
-
text-align: center;
|
15
|
-
white-space: nowrap;
|
16
|
-
/* stylelint-disable-next-line primer/borders */
|
17
|
-
border-radius: 2em;
|
18
|
-
}
|
19
|
-
|
20
|
-
.state, /* TODO: Deprecate */
|
21
|
-
.State,
|
22
|
-
.State--draft {
|
23
|
-
color: var(--fgColor-onEmphasis);
|
24
|
-
/* stylelint-disable-next-line primer/colors */
|
25
|
-
background-color: var(--bgColor-draft-emphasis, var(--bgColor-neutral-emphasis));
|
26
|
-
border: var(--borderWidth-thin) solid transparent;
|
27
|
-
box-shadow: var(--boxShadow-thin) var(--borderColor-draft-emphasis, var(--borderColor-neutral-emphasis));
|
28
|
-
}
|
29
|
-
|
30
|
-
.State--open {
|
31
|
-
color: var(--fgColor-onEmphasis);
|
32
|
-
background-color: var(--bgColor-open-emphasis, var(--color-open-emphasis));
|
33
|
-
box-shadow: var(--boxShadow-thin) var(--borderColor-open-emphasis);
|
34
|
-
}
|
35
|
-
|
36
|
-
.State--merged {
|
37
|
-
color: var(--fgColor-onEmphasis);
|
38
|
-
background-color: var(--bgColor-done-emphasis, var(--color-done-emphasis));
|
39
|
-
box-shadow: var(--boxShadow-thin) var(--borderColor-done-emphasis);
|
40
|
-
}
|
41
|
-
|
42
|
-
.State--closed {
|
43
|
-
color: var(--fgColor-onEmphasis);
|
44
|
-
background-color: var(--bgColor-closed-emphasis, var(--color-closed-emphasis));
|
45
|
-
box-shadow: var(--boxShadow-thin) var(--borderColor-closed-emphasis);
|
46
|
-
}
|
47
|
-
|
48
|
-
/* Small 24px */
|
49
|
-
|
50
|
-
.State--small {
|
51
|
-
/* stylelint-disable-next-line primer/spacing */
|
52
|
-
padding: 0 10px;
|
53
|
-
font-size: var(--text-body-size-small);
|
54
|
-
/* stylelint-disable-next-line primer/typography */
|
55
|
-
line-height: var(--base-size-24);
|
56
|
-
}
|
57
|
-
|
58
|
-
.State--small .octicon {
|
59
|
-
width: 1em; /* Ensures different icons don't change State indicator width */
|
60
|
-
}
|
1
|
+
.State,.state{border-radius:2em;display:inline-block;font-size:var(--text-body-size-medium);font-weight:var(--base-text-weight-medium);line-height:var(--control-medium-lineBoxHeight);padding:var(--base-size-4) var(--control-medium-paddingInline-normal);text-align:center;white-space:nowrap}.State,.State--draft,.state{background-color:var(--bgColor-draft-emphasis,var(--bgColor-neutral-emphasis));border:var(--borderWidth-thin) solid #0000;box-shadow:var(--boxShadow-thin) var(--borderColor-draft-emphasis,var(--borderColor-neutral-emphasis));color:var(--fgColor-onEmphasis)}.State--open{background-color:var(--bgColor-open-emphasis,var(--color-open-emphasis));box-shadow:var(--boxShadow-thin) var(--borderColor-open-emphasis)}.State--merged,.State--open{color:var(--fgColor-onEmphasis)}.State--merged{background-color:var(--bgColor-done-emphasis,var(--color-done-emphasis));box-shadow:var(--boxShadow-thin) var(--borderColor-done-emphasis)}.State--closed{background-color:var(--bgColor-closed-emphasis,var(--color-closed-emphasis));box-shadow:var(--boxShadow-thin) var(--borderColor-closed-emphasis);color:var(--fgColor-onEmphasis)}.State--small{font-size:var(--text-body-size-small);line-height:var(--base-size-24);padding:0 10px}.State--small .octicon{width:1em}
|
@@ -1,64 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.Subhead {
|
4
|
-
display: flex;
|
5
|
-
/* stylelint-disable-next-line primer/spacing */
|
6
|
-
padding-bottom: var(--stack-padding-condensed);
|
7
|
-
/* stylelint-disable-next-line primer/spacing */
|
8
|
-
margin-bottom: var(--stack-gap-normal);
|
9
|
-
border-bottom: var(--borderWidth-thin) solid var(--borderColor-muted);
|
10
|
-
flex-flow: row wrap;
|
11
|
-
justify-content: flex-end; /* Keep actions right aligned. */
|
12
|
-
}
|
13
|
-
|
14
|
-
/* Modifier class to give a lot of breathing room between sections of content. */
|
15
|
-
|
16
|
-
.Subhead--spacious {
|
17
|
-
margin-top: var(--base-size-40);
|
18
|
-
}
|
19
|
-
|
20
|
-
/* <h2> sized heading with normal font weight */
|
21
|
-
|
22
|
-
.Subhead-heading {
|
23
|
-
font-weight: var(--base-text-weight-normal);
|
24
|
-
flex: 1 1 auto;
|
25
|
-
order: 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
.Subhead-heading--large {
|
29
|
-
/* stylelint-disable-next-line primer/typography */
|
30
|
-
font-size: var(--base-size-24);
|
31
|
-
}
|
32
|
-
|
33
|
-
.Subhead-heading--medium {
|
34
|
-
font-size: var(--text-title-size-medium);
|
35
|
-
}
|
36
|
-
|
37
|
-
/* Make the text bold and red for dangerous content */
|
38
|
-
|
39
|
-
.Subhead-heading--danger {
|
40
|
-
font-weight: var(--base-text-weight-semibold);
|
41
|
-
color: var(--fgColor-danger);
|
42
|
-
}
|
43
|
-
|
44
|
-
/* One-liner of supporting text */
|
45
|
-
|
46
|
-
.Subhead-description {
|
47
|
-
font-size: var(--text-body-size-medium);
|
48
|
-
color: var(--fgColor-muted);
|
49
|
-
flex: 1 100%;
|
50
|
-
order: 2;
|
51
|
-
}
|
52
|
-
|
53
|
-
/* Add 1 or 2 buttons to the right of the heading */
|
54
|
-
|
55
|
-
.Subhead-actions {
|
56
|
-
margin: var(--base-size-4) 0 var(--base-size-4) var(--base-size-4);
|
57
|
-
align-self: center;
|
58
|
-
justify-content: flex-end;
|
59
|
-
order: 1;
|
60
|
-
}
|
61
|
-
|
62
|
-
.Subhead-actions + .Subhead-description {
|
63
|
-
margin-top: var(--base-size-4);
|
64
|
-
}
|
1
|
+
.Subhead{border-bottom:var(--borderWidth-thin) solid var(--borderColor-muted);display:flex;flex-flow:row wrap;justify-content:flex-end;margin-bottom:var(--stack-gap-normal);padding-bottom:var(--stack-padding-condensed)}.Subhead--spacious{margin-top:var(--base-size-40)}.Subhead-heading{flex:1 1 auto;font-weight:var(--base-text-weight-normal);order:0}.Subhead-heading--large{font-size:var(--base-size-24)}.Subhead-heading--medium{font-size:var(--text-title-size-medium)}.Subhead-heading--danger{color:var(--fgColor-danger);font-weight:var(--base-text-weight-semibold)}.Subhead-description{color:var(--fgColor-muted);flex:1 100%;font-size:var(--text-body-size-medium);order:2}.Subhead-actions{align-self:center;justify-content:flex-end;margin:var(--base-size-4) 0 var(--base-size-4) var(--base-size-4);order:1}.Subhead-actions+.Subhead-description{margin-top:var(--base-size-4)}
|
@@ -1,106 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.TimelineItem {
|
4
|
-
position: relative;
|
5
|
-
display: flex;
|
6
|
-
/* stylelint-disable-next-line primer/spacing */
|
7
|
-
padding: var(--stack-padding-normal) 0;
|
8
|
-
/* stylelint-disable-next-line primer/spacing */
|
9
|
-
margin-left: var(--stack-gap-normal);
|
10
|
-
|
11
|
-
/* The Timeline */
|
12
|
-
}
|
13
|
-
|
14
|
-
.TimelineItem::before {
|
15
|
-
position: absolute;
|
16
|
-
top: 0;
|
17
|
-
bottom: 0;
|
18
|
-
left: 0;
|
19
|
-
display: block;
|
20
|
-
width: var(--borderWidth-thick);
|
21
|
-
content: '';
|
22
|
-
/* stylelint-disable-next-line primer/colors */
|
23
|
-
background-color: var(--borderColor-muted);
|
24
|
-
}
|
25
|
-
|
26
|
-
.TimelineItem:target .TimelineItem-badge {
|
27
|
-
border-color: var(--borderColor-accent-emphasis);
|
28
|
-
/* stylelint-disable-next-line primer/box-shadow */
|
29
|
-
box-shadow: 0 0 0.2em var(--borderColor-accent-muted);
|
30
|
-
}
|
31
|
-
|
32
|
-
.TimelineItem-badge {
|
33
|
-
position: relative;
|
34
|
-
z-index: 1;
|
35
|
-
display: flex;
|
36
|
-
width: var(--control-medium-size);
|
37
|
-
height: var(--control-medium-size);
|
38
|
-
/* stylelint-disable-next-line primer/spacing */
|
39
|
-
margin-right: var(--controlStack-medium-gap-condensed);
|
40
|
-
/* stylelint-disable-next-line primer/spacing */
|
41
|
-
margin-left: calc(var(--control-medium-size) / -2 + 1px);
|
42
|
-
color: var(--fgColor-muted);
|
43
|
-
align-items: center;
|
44
|
-
background-color: var(--timelineBadge-bgColor);
|
45
|
-
/* stylelint-disable-next-line primer/colors */
|
46
|
-
border: var(--borderWidth-thick) solid var(--bgColor-default);
|
47
|
-
border-radius: 50%;
|
48
|
-
justify-content: center;
|
49
|
-
flex-shrink: 0;
|
50
|
-
}
|
51
|
-
|
52
|
-
.TimelineItem-badge--success {
|
53
|
-
color: var(--fgColor-onEmphasis);
|
54
|
-
background-color: var(--bgColor-success-emphasis);
|
55
|
-
border: var(--borderWidth-thin) solid transparent;
|
56
|
-
}
|
57
|
-
|
58
|
-
.TimelineItem-body {
|
59
|
-
min-width: 0;
|
60
|
-
max-width: 100%;
|
61
|
-
margin-top: var(--base-size-4);
|
62
|
-
color: var(--fgColor-muted);
|
63
|
-
flex: auto;
|
64
|
-
}
|
65
|
-
|
66
|
-
.TimelineItem-avatar {
|
67
|
-
position: absolute;
|
68
|
-
/* stylelint-disable-next-line primer/spacing */
|
69
|
-
left: -72px;
|
70
|
-
z-index: 1;
|
71
|
-
}
|
72
|
-
|
73
|
-
.TimelineItem-break {
|
74
|
-
position: relative;
|
75
|
-
z-index: 1;
|
76
|
-
height: var(--stack-gap-spacious);
|
77
|
-
margin: 0;
|
78
|
-
/* stylelint-disable-next-line primer/spacing */
|
79
|
-
margin-bottom: calc(var(--stack-gap-normal) * -1);
|
80
|
-
/* stylelint-disable-next-line primer/spacing */
|
81
|
-
margin-left: -56px;
|
82
|
-
background-color: var(--bgColor-default);
|
83
|
-
border: 0;
|
84
|
-
border-top: var(--borderWidth-thicker) solid var(--borderColor-default);
|
85
|
-
}
|
86
|
-
|
87
|
-
.TimelineItem--condensed {
|
88
|
-
padding-top: var(--base-size-4);
|
89
|
-
padding-bottom: 0;
|
90
|
-
|
91
|
-
/* TimelineItem--condensed is often grouped. (commits) */
|
92
|
-
}
|
93
|
-
|
94
|
-
.TimelineItem--condensed:last-child {
|
95
|
-
/* stylelint-disable-next-line primer/spacing */
|
96
|
-
padding-bottom: var(--stack-gap-normal);
|
97
|
-
}
|
98
|
-
|
99
|
-
.TimelineItem--condensed .TimelineItem-badge {
|
100
|
-
height: var(--base-size-16);
|
101
|
-
margin-top: var(--base-size-8);
|
102
|
-
margin-bottom: var(--base-size-8);
|
103
|
-
color: var(--fgColor-muted);
|
104
|
-
background-color: var(--bgColor-default);
|
105
|
-
border: 0;
|
106
|
-
}
|
1
|
+
.TimelineItem{display:flex;margin-left:var(--stack-gap-normal);padding:var(--stack-padding-normal) 0;position:relative}.TimelineItem:before{background-color:var(--borderColor-muted);bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:var(--borderWidth-thick)}.TimelineItem:target .TimelineItem-badge{border-color:var(--borderColor-accent-emphasis);box-shadow:0 0 .2em var(--borderColor-accent-muted)}.TimelineItem-badge{align-items:center;background-color:var(--timelineBadge-bgColor);border:var(--borderWidth-thick) solid var(--bgColor-default);border-radius:50%;color:var(--fgColor-muted);display:flex;flex-shrink:0;height:var(--control-medium-size);justify-content:center;margin-left:calc(var(--control-medium-size)/-2 + 1px);margin-right:var(--controlStack-medium-gap-condensed);position:relative;width:var(--control-medium-size);z-index:1}.TimelineItem-badge--success{background-color:var(--bgColor-success-emphasis);border:var(--borderWidth-thin) solid #0000;color:var(--fgColor-onEmphasis)}.TimelineItem-body{color:var(--fgColor-muted);flex:auto;margin-top:var(--base-size-4);max-width:100%;min-width:0}.TimelineItem-avatar{left:-72px;position:absolute;z-index:1}.TimelineItem-break{background-color:var(--bgColor-default);border:0;border-top:var(--borderWidth-thicker) solid var(--borderColor-default);height:var(--stack-gap-spacious);margin:0;margin-bottom:calc(var(--stack-gap-normal)*-1);margin-left:-56px;position:relative;z-index:1}.TimelineItem--condensed{padding-bottom:0;padding-top:var(--base-size-4)}.TimelineItem--condensed:last-child{padding-bottom:var(--stack-gap-normal)}.TimelineItem--condensed .TimelineItem-badge{background-color:var(--bgColor-default);border:0;color:var(--fgColor-muted);height:var(--base-size-16);margin-bottom:var(--base-size-8);margin-top:var(--base-size-8)}
|
@@ -1,30 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
.Truncate {
|
4
|
-
display: inline-flex;
|
5
|
-
min-width: 0;
|
6
|
-
max-width: 100%;
|
7
|
-
}
|
8
|
-
|
9
|
-
.Truncate > .Truncate-text {
|
10
|
-
min-width: 1ch;
|
11
|
-
max-width: fit-content;
|
12
|
-
overflow: hidden;
|
13
|
-
text-overflow: ellipsis;
|
14
|
-
white-space: nowrap;
|
15
|
-
}
|
16
|
-
|
17
|
-
:is(.Truncate > .Truncate-text) + .Truncate-text {
|
18
|
-
/* stylelint-disable-next-line primer/spacing */
|
19
|
-
margin-left: var(--control-small-gap);
|
20
|
-
}
|
21
|
-
|
22
|
-
.Truncate-text--primary:is(.Truncate > .Truncate-text) {
|
23
|
-
flex-basis: 200%;
|
24
|
-
}
|
25
|
-
|
26
|
-
.Truncate-text--expandable:is(.Truncate > .Truncate-text):hover,.Truncate-text--expandable:is(.Truncate > .Truncate-text):focus,.Truncate-text--expandable:is(.Truncate > .Truncate-text):active {
|
27
|
-
max-width: 100% !important;
|
28
|
-
flex-shrink: 0;
|
29
|
-
cursor: pointer;
|
30
|
-
}
|
1
|
+
.Truncate{display:inline-flex;max-width:100%;min-width:0}.Truncate>.Truncate-text{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}
|
@@ -2,11 +2,11 @@
|
|
2
2
|
"name": "beta/truncate",
|
3
3
|
"selectors": [
|
4
4
|
".Truncate",
|
5
|
-
".Truncate
|
6
|
-
":is(.Truncate
|
7
|
-
".Truncate-text--primary:is(.Truncate
|
8
|
-
".Truncate-text--expandable:is(.Truncate
|
9
|
-
".Truncate-text--expandable:is(.Truncate
|
10
|
-
".Truncate-text--expandable:is(.Truncate
|
5
|
+
".Truncate>.Truncate-text",
|
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
|
}
|
@@ -1,23 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/* css-truncate will shorten text with an ellipsis. */
|
4
|
-
|
5
|
-
/* css-truncate-overflow will shorten text with an ellipsis when overflowing */
|
6
|
-
|
7
|
-
.css-truncate.css-truncate-overflow,.css-truncate .css-truncate-overflow,.css-truncate.css-truncate-target,.css-truncate .css-truncate-target {
|
8
|
-
overflow: hidden;
|
9
|
-
text-overflow: ellipsis;
|
10
|
-
white-space: nowrap;
|
11
|
-
}
|
12
|
-
|
13
|
-
/* css-truncate-target will shorten text with an ellipsis and a max width */
|
14
|
-
|
15
|
-
.css-truncate.css-truncate-target,.css-truncate .css-truncate-target {
|
16
|
-
display: inline-block;
|
17
|
-
max-width: 125px;
|
18
|
-
vertical-align: top;
|
19
|
-
}
|
20
|
-
|
21
|
-
.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable.css-truncate-target:hover {
|
22
|
-
max-width: 10000px !important;
|
23
|
-
}
|
1
|
+
.css-truncate .css-truncate-overflow,.css-truncate .css-truncate-target,.css-truncate.css-truncate-overflow,.css-truncate.css-truncate-target{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.css-truncate .css-truncate-target,.css-truncate.css-truncate-target{display:inline-block;max-width:125px;vertical-align:top}.css-truncate.expandable.css-truncate-target:hover,.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target{max-width:10000px!important}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "truncate",
|
3
3
|
"selectors": [
|
4
|
-
".css-truncate.css-truncate-overflow",
|
5
4
|
".css-truncate .css-truncate-overflow",
|
6
|
-
".css-truncate.css-truncate-target",
|
7
5
|
".css-truncate .css-truncate-target",
|
6
|
+
".css-truncate.css-truncate-overflow",
|
7
|
+
".css-truncate.css-truncate-target",
|
8
|
+
".css-truncate.expandable.css-truncate-target:hover",
|
8
9
|
".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",
|
9
10
|
".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",
|
10
|
-
".css-truncate.expandable:hover .css-truncate-target"
|
11
|
-
".css-truncate.expandable.css-truncate-target:hover"
|
11
|
+
".css-truncate.expandable:hover .css-truncate-target"
|
12
12
|
]
|
13
13
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.46.0-rc.4285adec",
|
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",
|
package/static/arguments.json
CHANGED
@@ -2502,13 +2502,7 @@
|
|
2502
2502
|
"name": "form_arguments",
|
2503
2503
|
"type": "Hash",
|
2504
2504
|
"default": "`{}`",
|
2505
|
-
"description": "Form arguments. Supported for
|
2506
|
-
},
|
2507
|
-
{
|
2508
|
-
"name": "use_experimental_non_local_form",
|
2509
|
-
"type": "Boolean",
|
2510
|
-
"default": "`false`",
|
2511
|
-
"description": "A feature flag used to slowly roll out moving the input field (generated from form arguments) to the top of the SelectPanel HTML thus allowing remote fetching to have default form values. At this time, support is only available for the :single select variant. See: https://github.com/github/primer/issues/4923."
|
2505
|
+
"description": "Form arguments. Supported for all fetch strategies."
|
2512
2506
|
},
|
2513
2507
|
{
|
2514
2508
|
"name": "show_filter",
|
package/static/info_arch.json
CHANGED
@@ -7358,13 +7358,7 @@
|
|
7358
7358
|
"name": "form_arguments",
|
7359
7359
|
"type": "Hash",
|
7360
7360
|
"default": "`{}`",
|
7361
|
-
"description": "Form arguments. Supported for
|
7362
|
-
},
|
7363
|
-
{
|
7364
|
-
"name": "use_experimental_non_local_form",
|
7365
|
-
"type": "Boolean",
|
7366
|
-
"default": "`false`",
|
7367
|
-
"description": "A feature flag used to slowly roll out moving the input field (generated from form arguments) to the top of the SelectPanel HTML thus allowing remote fetching to have default form values. At this time, support is only available for the :single select variant. See: https://github.com/github/primer/issues/4923."
|
7361
|
+
"description": "Form arguments. Supported for all fetch strategies."
|
7368
7362
|
},
|
7369
7363
|
{
|
7370
7364
|
"name": "show_filter",
|