primer_view_components 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.pcss +42 -42
- data/app/components/primer/alpha/auto_complete.css +1 -1
- data/app/components/primer/alpha/auto_complete.css.map +1 -1
- data/app/components/primer/alpha/auto_complete.pcss +10 -10
- data/app/components/primer/alpha/banner.css +1 -1
- data/app/components/primer/alpha/banner.css.map +1 -1
- data/app/components/primer/alpha/banner.pcss +16 -16
- data/app/components/primer/alpha/button_marketing.css +1 -1
- data/app/components/primer/alpha/button_marketing.css.map +1 -1
- data/app/components/primer/alpha/button_marketing.pcss +9 -9
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dialog.pcss +9 -9
- data/app/components/primer/alpha/dropdown.css +1 -1
- data/app/components/primer/alpha/dropdown.css.map +1 -1
- data/app/components/primer/alpha/dropdown.pcss +16 -16
- data/app/components/primer/alpha/layout.css +1 -1
- data/app/components/primer/alpha/layout.css.map +1 -1
- data/app/components/primer/alpha/layout.pcss +3 -3
- data/app/components/primer/alpha/menu.css +1 -1
- data/app/components/primer/alpha/menu.css.map +1 -1
- data/app/components/primer/alpha/menu.pcss +13 -13
- data/app/components/primer/alpha/segmented_control.css +1 -1
- data/app/components/primer/alpha/segmented_control.css.map +1 -1
- data/app/components/primer/alpha/segmented_control.pcss +6 -6
- data/app/components/primer/alpha/tab_nav.css +1 -1
- data/app/components/primer/alpha/tab_nav.css.map +1 -1
- data/app/components/primer/alpha/tab_nav.pcss +10 -10
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/text_field.pcss +38 -38
- data/app/components/primer/alpha/toggle_switch.css +1 -1
- data/app/components/primer/alpha/toggle_switch.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.pcss +23 -23
- data/app/components/primer/alpha/underline_nav.css +1 -1
- data/app/components/primer/alpha/underline_nav.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.pcss +15 -15
- data/app/components/primer/beta/avatar.css +1 -1
- data/app/components/primer/beta/avatar.css.map +1 -1
- data/app/components/primer/beta/avatar.pcss +2 -2
- data/app/components/primer/beta/avatar_stack.css +1 -1
- data/app/components/primer/beta/avatar_stack.css.map +1 -1
- data/app/components/primer/beta/avatar_stack.pcss +10 -10
- data/app/components/primer/beta/blankslate.css +1 -1
- data/app/components/primer/beta/blankslate.css.map +1 -1
- data/app/components/primer/beta/blankslate.pcss +4 -4
- data/app/components/primer/beta/border_box.css +1 -1
- data/app/components/primer/beta/border_box.css.map +1 -1
- data/app/components/primer/beta/border_box.pcss +31 -31
- data/app/components/primer/beta/breadcrumbs.css +1 -1
- data/app/components/primer/beta/breadcrumbs.css.map +1 -1
- data/app/components/primer/beta/breadcrumbs.pcss +2 -2
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +70 -70
- data/app/components/primer/beta/counter.css +1 -1
- data/app/components/primer/beta/counter.css.map +1 -1
- data/app/components/primer/beta/counter.pcss +7 -7
- data/app/components/primer/beta/flash.css +1 -1
- data/app/components/primer/beta/flash.css.map +1 -1
- data/app/components/primer/beta/flash.pcss +19 -19
- data/app/components/primer/beta/label.css +1 -1
- data/app/components/primer/beta/label.css.map +1 -1
- data/app/components/primer/beta/label.pcss +23 -23
- data/app/components/primer/beta/link.css +1 -1
- data/app/components/primer/beta/link.css.map +1 -1
- data/app/components/primer/beta/link.pcss +8 -8
- data/app/components/primer/beta/popover.css +1 -1
- data/app/components/primer/beta/popover.css.map +1 -1
- data/app/components/primer/beta/popover.pcss +10 -10
- data/app/components/primer/beta/progress_bar.css +1 -1
- data/app/components/primer/beta/progress_bar.css.map +1 -1
- data/app/components/primer/beta/progress_bar.pcss +1 -1
- data/app/components/primer/beta/state.css +1 -1
- data/app/components/primer/beta/state.css.map +1 -1
- data/app/components/primer/beta/state.pcss +8 -8
- data/app/components/primer/beta/subhead.css +1 -1
- data/app/components/primer/beta/subhead.css.map +1 -1
- data/app/components/primer/beta/subhead.pcss +3 -3
- data/app/components/primer/beta/timeline_item.css +1 -1
- data/app/components/primer/beta/timeline_item.css.map +1 -1
- data/app/components/primer/beta/timeline_item.pcss +13 -13
- data/lib/postcss_mixins/activeIndicatorLine.pcss +1 -1
- data/lib/postcss_mixins/focusBoxShadowInset.pcss +2 -2
- data/lib/postcss_mixins/focusOutline.pcss +1 -1
- data/lib/postcss_mixins/focusOutlineOnEmphasis.pcss +2 -2
- data/lib/postcss_mixins/targetBoxShadow.pcss +1 -2
- data/lib/primer/view_components/version.rb +1 -1
- data/static/arguments.json +80 -4
- data/static/audited_at.json +1 -0
- data/static/constants.json +3 -0
- data/static/info_arch.json +221 -41
- data/static/previews.json +48 -0
- data/static/statuses.json +1 -0
- metadata +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["link.pcss"],"names":[],"mappings":"AAEA,MACE,
|
1
|
+
{"version":3,"sources":["link.pcss"],"names":[],"mappings":"AAEA,MACE,4BAWF,CATE,YAEE,cAAe,CADf,yBAEF,CAEA,gCAEE,gBACF,CAGF,eACE,uCAKF,CAHE,qBACE,sCACF,CAGF,iBACE,qCAKF,CAHE,uBACE,sCACF,CAGF,aACE,qCAMF,CAJE,mBAEE,oBACF,CAMA,wCARE,sCAYF,CAJA,qBAGE,cAAe,CADf,yBAEF,CAQA,qHACE,uBACF","file":"link.css","sourcesContent":["/* Links */\n\n.Link {\n color: var(--color-accent-fg);\n\n &:hover {\n text-decoration: underline;\n cursor: pointer;\n }\n\n &:focus,\n &:focus-visible {\n outline-offset: 0;\n }\n}\n\n.Link--primary {\n color: var(--color-fg-default) !important;\n\n &:hover {\n color: var(--color-accent-fg) !important;\n }\n}\n\n.Link--secondary {\n color: var(--color-fg-muted) !important;\n\n &:hover {\n color: var(--color-accent-fg) !important;\n }\n}\n\n.Link--muted {\n color: var(--color-fg-muted) !important;\n\n &:hover {\n color: var(--color-accent-fg) !important;\n text-decoration: none;\n }\n}\n\n/* Set the link color only on hover\n Useful when you want only part of a link to turn blue on hover */\n.Link--onHover {\n &:hover {\n color: var(--color-accent-fg) !important;\n text-decoration: underline;\n cursor: pointer;\n }\n}\n\n/* When using a color utility class inside of a link class\n color should change with link on hover. */\n.Link--secondary,\n.Link--primary,\n.Link--muted {\n &:hover [class*='color-fg'] {\n color: inherit !important;\n }\n}\n"]}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* Links */
|
2
2
|
|
3
3
|
.Link {
|
4
|
-
color: var(--
|
4
|
+
color: var(--color-accent-fg);
|
5
5
|
|
6
6
|
&:hover {
|
7
7
|
text-decoration: underline;
|
@@ -15,26 +15,26 @@
|
|
15
15
|
}
|
16
16
|
|
17
17
|
.Link--primary {
|
18
|
-
color: var(--
|
18
|
+
color: var(--color-fg-default) !important;
|
19
19
|
|
20
20
|
&:hover {
|
21
|
-
color: var(--
|
21
|
+
color: var(--color-accent-fg) !important;
|
22
22
|
}
|
23
23
|
}
|
24
24
|
|
25
25
|
.Link--secondary {
|
26
|
-
color: var(--
|
26
|
+
color: var(--color-fg-muted) !important;
|
27
27
|
|
28
28
|
&:hover {
|
29
|
-
color: var(--
|
29
|
+
color: var(--color-accent-fg) !important;
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
33
33
|
.Link--muted {
|
34
|
-
color: var(--
|
34
|
+
color: var(--color-fg-muted) !important;
|
35
35
|
|
36
36
|
&:hover {
|
37
|
-
color: var(--
|
37
|
+
color: var(--color-accent-fg) !important;
|
38
38
|
text-decoration: none;
|
39
39
|
}
|
40
40
|
}
|
@@ -43,7 +43,7 @@
|
|
43
43
|
Useful when you want only part of a link to turn blue on hover */
|
44
44
|
.Link--onHover {
|
45
45
|
&:hover {
|
46
|
-
color: var(--
|
46
|
+
color: var(--color-accent-fg) !important;
|
47
47
|
text-decoration: underline;
|
48
48
|
cursor: pointer;
|
49
49
|
}
|
@@ -1 +1 @@
|
|
1
|
-
.Popover{position:absolute;z-index:100}.Popover-message{background-color:var(--
|
1
|
+
.Popover{position:absolute;z-index:100}.Popover-message{background-color:var(--color-canvas-overlay);border:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--color-border-default);border-radius:var(--borderRadius-medium,6px);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(--color-border-default);margin-left:-9px;top:-16px}.Popover-message:after{border:7px solid #0000;border-bottom:7px solid var(--color-canvas-overlay);margin-left:-8px;top:-14px}.Popover-message--no-caret:after,.Popover-message--no-caret:before{display:none}.Popover-message--bottom-left:after,.Popover-message--bottom-left:before,.Popover-message--bottom-right:after,.Popover-message--bottom-right:before,.Popover-message--bottom:after,.Popover-message--bottom:before{border-bottom-color:#0000;top:auto}.Popover-message--bottom-left:before,.Popover-message--bottom-right:before,.Popover-message--bottom:before{border-top-color:var(--color-border-default);bottom:-16px}.Popover-message--bottom-left:after,.Popover-message--bottom-right:after,.Popover-message--bottom:after{border-top-color:var(--color-canvas-overlay);bottom:-14px}.Popover-message--bottom-right,.Popover-message--top-right{margin-right:0;right:-9px}.Popover-message--bottom-right:after,.Popover-message--bottom-right:before,.Popover-message--top-right:after,.Popover-message--top-right:before{left:auto;margin-left:0}.Popover-message--bottom-right:before,.Popover-message--top-right:before{right:20px}.Popover-message--bottom-right:after,.Popover-message--top-right:after{right:21px}.Popover-message--bottom-left,.Popover-message--top-left{left:-9px;margin-left:0}.Popover-message--bottom-left:after,.Popover-message--bottom-left:before,.Popover-message--top-left:after,.Popover-message--top-left:before{left:24px;margin-left:0}.Popover-message--bottom-left:after,.Popover-message--top-left:after{left:25px}.Popover-message--left-bottom:after,.Popover-message--left-bottom:before,.Popover-message--left-top:after,.Popover-message--left-top:before,.Popover-message--left:after,.Popover-message--left:before,.Popover-message--right-bottom:after,.Popover-message--right-bottom:before,.Popover-message--right-top:after,.Popover-message--right-top:before,.Popover-message--right:after,.Popover-message--right:before{border-bottom-color:#0000;left:auto;margin-left:0;top:50%}.Popover-message--left-bottom:before,.Popover-message--left-top:before,.Popover-message--left:before,.Popover-message--right-bottom:before,.Popover-message--right-top:before,.Popover-message--right:before{margin-top:-9px}.Popover-message--left-bottom:after,.Popover-message--left-top:after,.Popover-message--left:after,.Popover-message--right-bottom:after,.Popover-message--right-top:after,.Popover-message--right:after{margin-top:-8px}.Popover-message--right-bottom:before,.Popover-message--right-top:before,.Popover-message--right:before{border-left-color:var(--color-border-default);right:-16px}.Popover-message--right-bottom:after,.Popover-message--right-top:after,.Popover-message--right:after{border-left-color:var(--color-canvas-overlay);right:-14px}.Popover-message--left-bottom:before,.Popover-message--left-top:before,.Popover-message--left:before{border-right-color:var(--color-border-default);left:-16px}.Popover-message--left-bottom:after,.Popover-message--left-top:after,.Popover-message--left:after{border-right-color:var(--color-canvas-overlay);left:-14px}.Popover-message--left-top:after,.Popover-message--left-top:before,.Popover-message--right-top:after,.Popover-message--right-top:before{top:24px}.Popover-message--left-bottom:after,.Popover-message--left-bottom:before,.Popover-message--right-bottom:after,.Popover-message--right-bottom:before{top:auto}.Popover-message--left-bottom:before,.Popover-message--right-bottom:before{bottom:16px}.Popover-message--left-bottom:after,.Popover-message--right-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,.5rem);right:auto;top:auto;width:auto!important}.Popover-message>.btn-octicon{padding:var(--control-medium-paddingInline-normal,.75rem)!important}.Popover-message:after,.Popover-message:before{display:none}}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["popover.pcss"],"names":[],"mappings":"AAEA,SACE,iBAAkB,CAClB,WACF,CAEA,iBAKE,
|
1
|
+
{"version":3,"sources":["popover.pcss"],"names":[],"mappings":"AAEA,SACE,iBAAkB,CAClB,WACF,CAEA,iBAKE,4CAA6C,CAC7C,kFAAiE,CACjE,4CAAyC,CAHzC,gBAAiB,CADjB,iBAAkB,CAFlB,iBAAkB,CAClB,WA6BF,CArBE,+CAKE,UAAW,CADX,oBAAqB,CADrB,QAAS,CADT,iBAIF,CAEA,wBAIE,sBAAgD,CAAhD,mDAAgD,CAFhD,gBAAiB,CADjB,SAIF,CAEA,uBAIE,sBAAgD,CAAhD,mDAAgD,CAFhD,gBAAiB,CADjB,SAIF,CAKA,mEAEE,YACF,CAOA,mNAGE,yBAAgC,CADhC,QAEF,CAEA,2GAEE,4CAA6C,CAD7C,YAEF,CAEA,wGAEE,4CAA6C,CAD7C,YAEF,CAIF,2DAGE,cAAe,CADf,UAgBF,CAbE,gJAEE,SAAU,CACV,aACF,CAEA,yEACE,UACF,CAEA,uEACE,UACF,CAIF,yDAEE,SAAU,CACV,aAWF,CATE,4IAEE,SAAU,CACV,aACF,CAEA,qEACE,SACF,CAUA,oZAKE,yBAAgC,CAFhC,SAAU,CACV,aAAc,CAFd,OAIF,CAEA,6MACE,eACF,CAEA,uMACE,eACF,CAOA,wGAEE,6CAA8C,CAD9C,WAEF,CAEA,qGAEE,6CAA8C,CAD9C,WAEF,CAOA,qGAEE,8CAA+C,CAD/C,UAEF,CAEA,kGAEE,8CAA+C,CAD/C,UAEF,CAMA,wIAEE,QACF,CAMA,oJAEE,QACF,CAEA,2EACE,WACF,CAEA,yEACE,WACF,CAGF,yBACE,wBACE,eACF,CACF,CAKA,4BACE,SAIE,kBAAoB,CACpB,gBAAkB,CAJlB,cAAe,CAEf,iBAAmB,CADnB,kBAIF,CAEA,iBAGE,WAAY,CACZ,SAAU,CAEV,uCAAkC,CAJlC,UAAW,CADX,QAAS,CAIT,oBAEF,CAGA,8BACE,mEACF,CAGA,+CAEE,YACF,CACF","file":"popover.css","sourcesContent":["/* Popover */\n\n.Popover {\n position: absolute;\n z-index: 100;\n}\n\n.Popover-message {\n position: relative;\n width: 232px;\n margin-right: auto;\n margin-left: auto;\n background-color: var(--color-canvas-overlay);\n border: var(--borderWidth-thin) solid var(--color-border-default);\n border-radius: var(--borderRadius-medium);\n\n /* Carets */\n &::before,\n &::after {\n position: absolute;\n left: 50%;\n display: inline-block;\n content: '';\n }\n\n &::before {\n top: -16px;\n margin-left: -9px;\n border: 8px solid transparent;\n border-bottom-color: var(--color-border-default);\n }\n\n &::after {\n top: -14px;\n margin-left: -8px;\n border: 7px solid transparent;\n border-bottom-color: var(--color-canvas-overlay);\n }\n}\n\n/* No caret */\n.Popover-message--no-caret {\n &::before,\n &::after {\n display: none;\n }\n}\n\n/* Bottom-oriented carets */\n.Popover-message--bottom,\n.Popover-message--bottom-right,\n.Popover-message--bottom-left {\n &::before,\n &::after {\n top: auto;\n border-bottom-color: transparent;\n }\n\n &::before {\n bottom: -16px;\n border-top-color: var(--color-border-default);\n }\n\n &::after {\n bottom: -14px;\n border-top-color: var(--color-canvas-overlay);\n }\n}\n\n/* Top and Bottom: Right-oriented carets */\n.Popover-message--top-right,\n.Popover-message--bottom-right {\n right: -9px;\n margin-right: 0;\n\n &::before,\n &::after {\n left: auto;\n margin-left: 0;\n }\n\n &::before {\n right: 20px;\n }\n\n &::after {\n right: 21px;\n }\n}\n\n/* Top and Bottom: Left-oriented carets */\n.Popover-message--top-left,\n.Popover-message--bottom-left {\n left: -9px;\n margin-left: 0;\n\n &::before,\n &::after {\n left: 24px;\n margin-left: 0;\n }\n\n &::after {\n left: 25px;\n }\n}\n\n/* Right- and Left-oriented carets */\n.Popover-message--right,\n.Popover-message--right-top,\n.Popover-message--right-bottom,\n.Popover-message--left,\n.Popover-message--left-top,\n.Popover-message--left-bottom {\n &::before,\n &::after {\n top: 50%;\n left: auto;\n margin-left: 0;\n border-bottom-color: transparent;\n }\n\n &::before {\n margin-top: -9px;\n }\n\n &::after {\n margin-top: -8px;\n }\n}\n\n/* Right-oriented carets */\n.Popover-message--right,\n.Popover-message--right-top,\n.Popover-message--right-bottom {\n &::before {\n right: -16px;\n border-left-color: var(--color-border-default);\n }\n\n &::after {\n right: -14px;\n border-left-color: var(--color-canvas-overlay);\n }\n}\n\n/* Left-oriented carets */\n.Popover-message--left,\n.Popover-message--left-top,\n.Popover-message--left-bottom {\n &::before {\n left: -16px;\n border-right-color: var(--color-border-default);\n }\n\n &::after {\n left: -14px;\n border-right-color: var(--color-canvas-overlay);\n }\n}\n\n/* Right and Left: Top-oriented carets */\n.Popover-message--right-top,\n.Popover-message--left-top {\n &::before,\n &::after {\n top: 24px;\n }\n}\n\n/* Right and Left: Bottom-oriented carets */\n.Popover-message--right-bottom,\n.Popover-message--left-bottom {\n &::before,\n &::after {\n top: auto;\n }\n\n &::before {\n bottom: 16px;\n }\n\n &::after {\n bottom: 17px;\n }\n}\n\n@media (min-width: 544px) {\n .Popover-message--large {\n min-width: 320px;\n }\n}\n\n/* Responsive Popover\n** For < md it will show full-width anchored to the bottom */\n\n@media (max-width: 767.98px) {\n .Popover {\n position: fixed;\n top: auto !important;\n right: 0 !important;\n bottom: 0 !important;\n left: 0 !important;\n }\n\n .Popover-message {\n top: auto;\n right: auto;\n bottom: auto;\n left: auto;\n width: auto !important;\n margin: var(--stack-gap-condensed);\n }\n\n /* Increase tap area for touch input */\n .Popover-message > .btn-octicon {\n padding: var(--control-medium-paddingInline-normal) !important;\n }\n\n /* Remove caret */\n .Popover-message::after,\n .Popover-message::before {\n display: none;\n }\n}\n"]}
|
@@ -10,8 +10,8 @@
|
|
10
10
|
width: 232px;
|
11
11
|
margin-right: auto;
|
12
12
|
margin-left: auto;
|
13
|
-
background-color: var(--overlay
|
14
|
-
border: var(--borderWidth-thin) solid var(--
|
13
|
+
background-color: var(--color-canvas-overlay);
|
14
|
+
border: var(--borderWidth-thin) solid var(--color-border-default);
|
15
15
|
border-radius: var(--borderRadius-medium);
|
16
16
|
|
17
17
|
/* Carets */
|
@@ -27,14 +27,14 @@
|
|
27
27
|
top: -16px;
|
28
28
|
margin-left: -9px;
|
29
29
|
border: 8px solid transparent;
|
30
|
-
border-bottom-color: var(--
|
30
|
+
border-bottom-color: var(--color-border-default);
|
31
31
|
}
|
32
32
|
|
33
33
|
&::after {
|
34
34
|
top: -14px;
|
35
35
|
margin-left: -8px;
|
36
36
|
border: 7px solid transparent;
|
37
|
-
border-bottom-color: var(--overlay
|
37
|
+
border-bottom-color: var(--color-canvas-overlay);
|
38
38
|
}
|
39
39
|
}
|
40
40
|
|
@@ -58,12 +58,12 @@
|
|
58
58
|
|
59
59
|
&::before {
|
60
60
|
bottom: -16px;
|
61
|
-
border-top-color: var(--
|
61
|
+
border-top-color: var(--color-border-default);
|
62
62
|
}
|
63
63
|
|
64
64
|
&::after {
|
65
65
|
bottom: -14px;
|
66
|
-
border-top-color: var(--overlay
|
66
|
+
border-top-color: var(--color-canvas-overlay);
|
67
67
|
}
|
68
68
|
}
|
69
69
|
|
@@ -135,12 +135,12 @@
|
|
135
135
|
.Popover-message--right-bottom {
|
136
136
|
&::before {
|
137
137
|
right: -16px;
|
138
|
-
border-left-color: var(--
|
138
|
+
border-left-color: var(--color-border-default);
|
139
139
|
}
|
140
140
|
|
141
141
|
&::after {
|
142
142
|
right: -14px;
|
143
|
-
border-left-color: var(--overlay
|
143
|
+
border-left-color: var(--color-canvas-overlay);
|
144
144
|
}
|
145
145
|
}
|
146
146
|
|
@@ -150,12 +150,12 @@
|
|
150
150
|
.Popover-message--left-bottom {
|
151
151
|
&::before {
|
152
152
|
left: -16px;
|
153
|
-
border-right-color: var(--
|
153
|
+
border-right-color: var(--color-border-default);
|
154
154
|
}
|
155
155
|
|
156
156
|
&::after {
|
157
157
|
left: -14px;
|
158
|
-
border-right-color: var(--overlay
|
158
|
+
border-right-color: var(--color-canvas-overlay);
|
159
159
|
}
|
160
160
|
}
|
161
161
|
|
@@ -1 +1 @@
|
|
1
|
-
.Progress{background-color:var(--
|
1
|
+
.Progress{background-color:var(--color-neutral-muted);border-radius:6px;display:flex;height:8px;outline:1px solid #0000;overflow:hidden}.Progress--large{height:10px}.Progress--small{height:5px}.Progress-item{outline:2px solid #0000}.Progress-item+.Progress-item{margin-left:2px}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["progress_bar.pcss"],"names":[],"mappings":"AAEA,UAIE,
|
1
|
+
{"version":3,"sources":["progress_bar.pcss"],"names":[],"mappings":"AAEA,UAIE,2CAA4C,CAC5C,iBAAkB,CAJlB,YAAa,CACb,UAAW,CAIX,uBAA8B,CAH9B,eAIF,CAEA,iBACE,WACF,CAEA,iBACE,UACF,CAEA,eACE,uBACF,CAEA,8BACE,eACF","file":"progress_bar.css","sourcesContent":["/* Progress */\n\n.Progress {\n display: flex;\n height: 8px;\n overflow: hidden;\n background-color: var(--color-neutral-muted);\n border-radius: 6px;\n outline: 1px solid transparent; /* Support Firefox custom colors */\n}\n\n.Progress--large {\n height: 10px;\n}\n\n.Progress--small {\n height: 5px;\n}\n\n.Progress-item {\n outline: 2px solid transparent; /* Support Firefox custom colors */\n}\n\n.Progress-item + .Progress-item {\n margin-left: 2px;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
.State,.state{border-radius:2em;display:inline-block;font-size:var(--text-body-size-medium,.875rem);font-weight:var(--base-text-weight-medium,500);line-height:var(--control-medium-lineBoxHeight,1.25rem);padding:5px var(--control-medium-paddingInline-normal,.75rem);text-align:center;white-space:nowrap}.State,.State--draft,.state{background-color:var(--
|
1
|
+
.State,.state{border-radius:2em;display:inline-block;font-size:var(--text-body-size-medium,.875rem);font-weight:var(--base-text-weight-medium,500);line-height:var(--control-medium-lineBoxHeight,1.25rem);padding:5px var(--control-medium-paddingInline-normal,.75rem);text-align:center;white-space:nowrap}.State,.State--draft,.state{background-color:var(--color-neutral-emphasis);border:var(--borderWidth-thin,max(1px,.0625rem)) solid #0000;color:var(--color-fg-on-emphasis)}.State--open{background-color:var(--color-open-emphasis)}.State--merged,.State--open{color:var(--color-fg-on-emphasis)}.State--merged{background-color:var(--color-done-emphasis)}.State--closed{background-color:var(--color-closed-emphasis);color:var(--color-fg-on-emphasis)}.State--small{font-size:var(--text-body-size-small,.75rem);line-height:var(--base-size-24,1.5rem);padding:0 10px}.State--small .octicon{width:1em}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["state.pcss"],"names":[],"mappings":"AAIA,cASE,iBAAkB,CAPlB,oBAAqB,CAErB,8CAAuC,CACvC,8CAA2C,CAC3C,uDAAgD,CAHhD,6DAAuD,CAIvD,iBAAkB,CAClB,kBAEF,CAEA,4BAIE,
|
1
|
+
{"version":3,"sources":["state.pcss"],"names":[],"mappings":"AAIA,cASE,iBAAkB,CAPlB,oBAAqB,CAErB,8CAAuC,CACvC,8CAA2C,CAC3C,uDAAgD,CAHhD,6DAAuD,CAIvD,iBAAkB,CAClB,kBAEF,CAEA,4BAIE,8CAA+C,CAC/C,4DAAiD,CAFjD,iCAGF,CAEA,aAEE,2CACF,CAEA,4BAJE,iCAOF,CAHA,eAEE,2CACF,CAEA,eAEE,6CAA8C,CAD9C,iCAEF,CAIA,cAEE,4CAAsC,CACtC,sCAAgC,CAFhC,cAOF,CAHE,uBACE,SACF","file":"state.css","sourcesContent":["/* State */\n\n/* Default 32px */\n\n.state, /* TODO: Deprecate */\n.State {\n display: inline-block;\n padding: 5px var(--control-medium-paddingInline-normal);\n font-size: var(--text-body-size-medium);\n font-weight: var(--base-text-weight-medium);\n line-height: var(--control-medium-lineBoxHeight);\n text-align: center;\n white-space: nowrap;\n border-radius: 2em;\n}\n\n.state, /* TODO: Deprecate */\n.State,\n.State--draft {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-neutral-emphasis);\n border: var(--borderWidth-thin) solid transparent;\n}\n\n.State--open {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-open-emphasis);\n}\n\n.State--merged {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-done-emphasis);\n}\n\n.State--closed {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-closed-emphasis);\n}\n\n/* Small 24px */\n\n.State--small {\n padding: 0 10px;\n font-size: var(--text-body-size-small);\n line-height: var(--base-size-24);\n\n & .octicon {\n width: 1em; /* Ensures different icons don't change State indicator width */\n }\n}\n"]}
|
@@ -17,24 +17,24 @@
|
|
17
17
|
.state, /* TODO: Deprecate */
|
18
18
|
.State,
|
19
19
|
.State--draft {
|
20
|
-
color: var(--
|
21
|
-
background-color: var(--
|
20
|
+
color: var(--color-fg-on-emphasis);
|
21
|
+
background-color: var(--color-neutral-emphasis);
|
22
22
|
border: var(--borderWidth-thin) solid transparent;
|
23
23
|
}
|
24
24
|
|
25
25
|
.State--open {
|
26
|
-
color: var(--
|
27
|
-
background-color: var(--
|
26
|
+
color: var(--color-fg-on-emphasis);
|
27
|
+
background-color: var(--color-open-emphasis);
|
28
28
|
}
|
29
29
|
|
30
30
|
.State--merged {
|
31
|
-
color: var(--
|
32
|
-
background-color: var(--
|
31
|
+
color: var(--color-fg-on-emphasis);
|
32
|
+
background-color: var(--color-done-emphasis);
|
33
33
|
}
|
34
34
|
|
35
35
|
.State--closed {
|
36
|
-
color: var(--
|
37
|
-
background-color: var(--
|
36
|
+
color: var(--color-fg-on-emphasis);
|
37
|
+
background-color: var(--color-closed-emphasis);
|
38
38
|
}
|
39
39
|
|
40
40
|
/* Small 24px */
|
@@ -1 +1 @@
|
|
1
|
-
.Subhead{border-bottom:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--
|
1
|
+
.Subhead{border-bottom:var(--borderWidth-thin,max(1px,.0625rem)) solid var(--color-border-muted);display:flex;flex-flow:row wrap;justify-content:flex-end;margin-bottom:var(--stack-gap-normal,1rem);padding-bottom:var(--stack-padding-condensed,.5rem)}.Subhead--spacious{margin-top:var(--base-size-40,2.5rem)}.Subhead-heading{flex:1 1 auto;font-size:24px;font-weight:var(--base-text-weight-normal,400);order:0}.Subhead-heading--danger{color:var(--color-danger-fg);font-weight:var(--base-text-weight-semibold,600)}.Subhead-description{color:var(--color-fg-muted);flex:1 100%;font-size:var(--text-body-size-medium,.875rem);order:2}.Subhead-actions{align-self:center;justify-content:flex-end;margin:var(--base-size-4,.25rem) 0 var(--base-size-4,.25rem) var(--base-size-4,.25rem);order:1}.Subhead-actions+.Subhead-description{margin-top:var(--base-size-4,.25rem)}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["subhead.pcss"],"names":[],"mappings":"AAEA,SAIE,
|
1
|
+
{"version":3,"sources":["subhead.pcss"],"names":[],"mappings":"AAEA,SAIE,uFAAsE,CAHtE,YAAa,CAIb,kBAAmB,CACnB,wBAAyB,CAHzB,0CAAsC,CADtC,mDAKF,CAGA,mBACE,qCACF,CAGA,iBAGE,aAAc,CAFd,cAAe,CACf,8CAA2C,CAE3C,OACF,CAGA,yBAEE,4BAA6B,CAD7B,gDAEF,CAGA,qBAEE,2BAA4B,CAC5B,WAAY,CAFZ,8CAAuC,CAGvC,OACF,CAGA,iBAEE,iBAAkB,CAClB,wBAAyB,CAFzB,sFAAkE,CAGlE,OAKF,CAHE,sCACE,oCACF","file":"subhead.css","sourcesContent":["/* Subhead */\n\n.Subhead {\n display: flex;\n padding-bottom: var(--stack-padding-condensed);\n margin-bottom: var(--stack-gap-normal);\n border-bottom: var(--borderWidth-thin) solid var(--color-border-muted);\n flex-flow: row wrap;\n justify-content: flex-end; /* Keep actions right aligned. */\n}\n\n/* Modifier class to give a lot of breathing room between sections of content. */\n.Subhead--spacious {\n margin-top: var(--base-size-40);\n}\n\n/* <h2> sized heading with normal font weight */\n.Subhead-heading {\n font-size: 24px;\n font-weight: var(--base-text-weight-normal);\n flex: 1 1 auto;\n order: 0;\n}\n\n/* Make the text bold and red for dangerous content */\n.Subhead-heading--danger {\n font-weight: var(--base-text-weight-semibold);\n color: var(--color-danger-fg);\n}\n\n/* One-liner of supporting text */\n.Subhead-description {\n font-size: var(--text-body-size-medium);\n color: var(--color-fg-muted);\n flex: 1 100%;\n order: 2;\n}\n\n/* Add 1 or 2 buttons to the right of the heading */\n.Subhead-actions {\n margin: var(--base-size-4) 0 var(--base-size-4) var(--base-size-4);\n align-self: center;\n justify-content: flex-end;\n order: 1;\n\n & + .Subhead-description {\n margin-top: var(--base-size-4);\n }\n}\n"]}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
display: flex;
|
5
5
|
padding-bottom: var(--stack-padding-condensed);
|
6
6
|
margin-bottom: var(--stack-gap-normal);
|
7
|
-
border-bottom: var(--borderWidth-thin) solid var(--
|
7
|
+
border-bottom: var(--borderWidth-thin) solid var(--color-border-muted);
|
8
8
|
flex-flow: row wrap;
|
9
9
|
justify-content: flex-end; /* Keep actions right aligned. */
|
10
10
|
}
|
@@ -25,13 +25,13 @@
|
|
25
25
|
/* Make the text bold and red for dangerous content */
|
26
26
|
.Subhead-heading--danger {
|
27
27
|
font-weight: var(--base-text-weight-semibold);
|
28
|
-
color: var(--
|
28
|
+
color: var(--color-danger-fg);
|
29
29
|
}
|
30
30
|
|
31
31
|
/* One-liner of supporting text */
|
32
32
|
.Subhead-description {
|
33
33
|
font-size: var(--text-body-size-medium);
|
34
|
-
color: var(--
|
34
|
+
color: var(--color-fg-muted);
|
35
35
|
flex: 1 100%;
|
36
36
|
order: 2;
|
37
37
|
}
|
@@ -1 +1 @@
|
|
1
|
-
.TimelineItem{display:flex;margin-left:var(--stack-gap-normal,1rem);padding:var(--stack-padding-normal,1rem) 0;position:relative}.TimelineItem:before{background-color:var(--
|
1
|
+
.TimelineItem{display:flex;margin-left:var(--stack-gap-normal,1rem);padding:var(--stack-padding-normal,1rem) 0;position:relative}.TimelineItem:before{background-color:var(--color-border-muted);bottom:0;content:"";display:block;left:0;position:absolute;top:0;width:var(--borderWidth-thick,max(2px,.125rem))}.TimelineItem:target .TimelineItem-badge{border-color:var(--color-accent-emphasis);box-shadow:0 0 .2em var(--color-accent-muted)}.TimelineItem-badge{align-items:center;background-color:var(--color-timeline-badge-bg);border:var(--borderWidth-thick,max(2px,.125rem)) solid var(--color-canvas-default);border-radius:50%;color:var(--color-fg-muted);display:flex;flex-shrink:0;height:var(--control-medium-size,2rem);justify-content:center;margin-left:calc(var(--control-medium-size,2rem)/-2 + 1px);margin-right:var(--controlStack-medium-gap-condensed,.5rem);position:relative;width:var(--control-medium-size,2rem);z-index:1}.TimelineItem-badge--success{background-color:var(--color-success-emphasis);border:var(--borderWidth-thin,max(1px,.0625rem)) solid #0000;color:var(--color-fg-on-emphasis)}.TimelineItem-body{color:var(--color-fg-muted);flex:auto;margin-top:var(--base-size-4,.25rem);max-width:100%;min-width:0}.TimelineItem-avatar{left:-72px;position:absolute;z-index:1}.TimelineItem-break{background-color:var(--color-canvas-default);border:0;border-top:var(--borderWidth-thicker,max(4px,.25rem)) solid var(--color-border-default);height:var(--stack-gap-spacious,1.5rem);margin:0;margin-bottom:calc(var(--stack-gap-normal,1rem)*-1);margin-left:-56px;position:relative;z-index:1}.TimelineItem--condensed{padding-bottom:0;padding-top:var(--base-size-4,.25rem)}.TimelineItem--condensed:last-child{padding-bottom:var(--stack-gap-normal,1rem)}.TimelineItem--condensed .TimelineItem-badge{background-color:var(--color-canvas-default);border:0;color:var(--color-fg-muted);height:var(--base-size-16,1rem);margin-bottom:var(--base-size-8,.5rem);margin-top:var(--base-size-8,.5rem)}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["timeline_item.pcss"],"names":[],"mappings":"AAEA,cAEE,YAAa,CAEb,wCAAoC,CADpC,0CAAsC,CAFtC,iBAqBF,CAfE,qBAQE,
|
1
|
+
{"version":3,"sources":["timeline_item.pcss"],"names":[],"mappings":"AAEA,cAEE,YAAa,CAEb,wCAAoC,CADpC,0CAAsC,CAFtC,iBAqBF,CAfE,qBAQE,0CAA2C,CAL3C,QAAS,CAIT,UAAW,CAFX,aAAc,CADd,MAAO,CAHP,iBAAkB,CAClB,KAAM,CAIN,+CAGF,CAEA,yCACE,yCAA0C,CAC1C,6CACF,CAGF,oBASE,kBAAmB,CACnB,+CAAgD,CAChD,kFAAkE,CAClE,iBAAkB,CAJlB,2BAA4B,CAL5B,YAAa,CAWb,aAAc,CATd,sCAAkC,CAQlC,sBAAuB,CANvB,0DAAwD,CADxD,2DAAsD,CALtD,iBAAkB,CAGlB,qCAAiC,CAFjC,SAaF,CAEA,6BAEE,8CAA+C,CAC/C,4DAAiD,CAFjD,iCAGF,CAEA,mBAIE,2BAA4B,CAC5B,SAAU,CAFV,oCAA8B,CAD9B,cAAe,CADf,WAKF,CAEA,qBAEE,UAAW,CADX,iBAAkB,CAElB,SACF,CAEA,oBAOE,4CAA6C,CAC7C,QAAS,CACT,uFAAwE,CANxE,uCAAiC,CACjC,QAAS,CACT,mDAAiD,CACjD,iBAAkB,CALlB,iBAAkB,CAClB,SAQF,CAEA,yBAEE,gBAAiB,CADjB,qCAgBF,CAZE,oCACE,2CACF,CAEA,6CAKE,4CAA6C,CAC7C,QAAS,CAFT,2BAA4B,CAH5B,+BAA2B,CAE3B,sCAAiC,CADjC,mCAKF","file":"timeline_item.css","sourcesContent":["/* TimelineItem */\n\n.TimelineItem {\n position: relative;\n display: flex;\n padding: var(--stack-padding-normal) 0;\n margin-left: var(--stack-gap-normal);\n\n /* The Timeline */\n &::before {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: var(--borderWidth-thick);\n content: '';\n background-color: var(--color-border-muted);\n }\n\n &:target .TimelineItem-badge {\n border-color: var(--color-accent-emphasis);\n box-shadow: 0 0 0.2em var(--color-accent-muted);\n }\n}\n\n.TimelineItem-badge {\n position: relative;\n z-index: 1;\n display: flex;\n width: var(--control-medium-size);\n height: var(--control-medium-size);\n margin-right: var(--controlStack-medium-gap-condensed);\n margin-left: calc(var(--control-medium-size) / -2 + 1px);\n color: var(--color-fg-muted);\n align-items: center;\n background-color: var(--color-timeline-badge-bg);\n border: var(--borderWidth-thick) solid var(--color-canvas-default);\n border-radius: 50%;\n justify-content: center;\n flex-shrink: 0;\n}\n\n.TimelineItem-badge--success {\n color: var(--color-fg-on-emphasis);\n background-color: var(--color-success-emphasis);\n border: var(--borderWidth-thin) solid transparent;\n}\n\n.TimelineItem-body {\n min-width: 0;\n max-width: 100%;\n margin-top: var(--base-size-4);\n color: var(--color-fg-muted);\n flex: auto;\n}\n\n.TimelineItem-avatar {\n position: absolute;\n left: -72px;\n z-index: 1;\n}\n\n.TimelineItem-break {\n position: relative;\n z-index: 1;\n height: var(--stack-gap-spacious);\n margin: 0;\n margin-bottom: calc(var(--stack-gap-normal) * -1);\n margin-left: -56px;\n background-color: var(--color-canvas-default);\n border: 0;\n border-top: var(--borderWidth-thicker) solid var(--color-border-default);\n}\n\n.TimelineItem--condensed {\n padding-top: var(--base-size-4);\n padding-bottom: 0;\n\n /* TimelineItem--condensed is often grouped. (commits) */\n &:last-child {\n padding-bottom: var(--stack-gap-normal);\n }\n\n & .TimelineItem-badge {\n height: var(--base-size-16);\n margin-top: var(--base-size-8);\n margin-bottom: var(--base-size-8);\n color: var(--color-fg-muted);\n background-color: var(--color-canvas-default);\n border: 0;\n }\n}\n"]}
|
@@ -15,12 +15,12 @@
|
|
15
15
|
display: block;
|
16
16
|
width: var(--borderWidth-thick);
|
17
17
|
content: '';
|
18
|
-
background-color: var(--
|
18
|
+
background-color: var(--color-border-muted);
|
19
19
|
}
|
20
20
|
|
21
21
|
&:target .TimelineItem-badge {
|
22
|
-
border-color: var(--
|
23
|
-
box-shadow: 0 0 0.2em var(--
|
22
|
+
border-color: var(--color-accent-emphasis);
|
23
|
+
box-shadow: 0 0 0.2em var(--color-accent-muted);
|
24
24
|
}
|
25
25
|
}
|
26
26
|
|
@@ -32,18 +32,18 @@
|
|
32
32
|
height: var(--control-medium-size);
|
33
33
|
margin-right: var(--controlStack-medium-gap-condensed);
|
34
34
|
margin-left: calc(var(--control-medium-size) / -2 + 1px);
|
35
|
-
color: var(--
|
35
|
+
color: var(--color-fg-muted);
|
36
36
|
align-items: center;
|
37
|
-
background-color: var(--
|
38
|
-
border: var(--borderWidth-thick) solid var(--
|
37
|
+
background-color: var(--color-timeline-badge-bg);
|
38
|
+
border: var(--borderWidth-thick) solid var(--color-canvas-default);
|
39
39
|
border-radius: 50%;
|
40
40
|
justify-content: center;
|
41
41
|
flex-shrink: 0;
|
42
42
|
}
|
43
43
|
|
44
44
|
.TimelineItem-badge--success {
|
45
|
-
color: var(--
|
46
|
-
background-color: var(--
|
45
|
+
color: var(--color-fg-on-emphasis);
|
46
|
+
background-color: var(--color-success-emphasis);
|
47
47
|
border: var(--borderWidth-thin) solid transparent;
|
48
48
|
}
|
49
49
|
|
@@ -51,7 +51,7 @@
|
|
51
51
|
min-width: 0;
|
52
52
|
max-width: 100%;
|
53
53
|
margin-top: var(--base-size-4);
|
54
|
-
color: var(--
|
54
|
+
color: var(--color-fg-muted);
|
55
55
|
flex: auto;
|
56
56
|
}
|
57
57
|
|
@@ -68,9 +68,9 @@
|
|
68
68
|
margin: 0;
|
69
69
|
margin-bottom: calc(var(--stack-gap-normal) * -1);
|
70
70
|
margin-left: -56px;
|
71
|
-
background-color: var(--
|
71
|
+
background-color: var(--color-canvas-default);
|
72
72
|
border: 0;
|
73
|
-
border-top: var(--borderWidth-thicker) solid var(--
|
73
|
+
border-top: var(--borderWidth-thicker) solid var(--color-border-default);
|
74
74
|
}
|
75
75
|
|
76
76
|
.TimelineItem--condensed {
|
@@ -86,8 +86,8 @@
|
|
86
86
|
height: var(--base-size-16);
|
87
87
|
margin-top: var(--base-size-8);
|
88
88
|
margin-bottom: var(--base-size-8);
|
89
|
-
color: var(--
|
90
|
-
background-color: var(--
|
89
|
+
color: var(--color-fg-muted);
|
90
|
+
background-color: var(--color-canvas-default);
|
91
91
|
border: 0;
|
92
92
|
}
|
93
93
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* inset box-shadow for form controls */
|
2
|
-
@define-mixin focusBoxShadowInset $outlineWidth: 1px, $outlineColor: var(--
|
3
|
-
border-color: var(--
|
2
|
+
@define-mixin focusBoxShadowInset $outlineWidth: 1px, $outlineColor: var(--color-accent-fg) {
|
3
|
+
border-color: var(--color-accent-fg);
|
4
4
|
outline: none;
|
5
5
|
box-shadow: inset 0 0 0 $outlineWidth $outlineColor;
|
6
6
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@define-mixin focusOutline $outlineOffset: -2px, $outlineColor: var(--
|
1
|
+
@define-mixin focusOutline $outlineOffset: -2px, $outlineColor: var(--color-accent-fg) {
|
2
2
|
outline: 2px solid $outlineColor;
|
3
3
|
outline-offset: $outlineOffset;
|
4
4
|
box-shadow: none;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* outline with fg box-shadow for buttons */
|
2
|
-
@define-mixin focusOutlineOnEmphasis $outlineOffset: -2px, $outlineColor: var(--
|
2
|
+
@define-mixin focusOutlineOnEmphasis $outlineOffset: -2px, $outlineColor: var(--color-accent-fg) {
|
3
3
|
outline: 2px solid $outlineColor;
|
4
4
|
outline-offset: $outlineOffset;
|
5
|
-
box-shadow: inset 0 0 0 3px var(--
|
5
|
+
box-shadow: inset 0 0 0 3px var(--color-fg-on-emphasis);
|
6
6
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
/* box-shadow for :target styles (no inset), !important to override PCSS utilities */
|
2
|
-
|
3
|
-
@define-mixin targetBoxShadow $outlineWidth: 2px, $outlineColor: var(--focus-outlineColor) {
|
2
|
+
@define-mixin targetBoxShadow $outlineWidth: 2px, $outlineColor: var(--color-accent-fg) {
|
4
3
|
outline: none !important;
|
5
4
|
box-shadow: 0 0 0 $outlineWidth $outlineColor !important;
|
6
5
|
}
|
data/static/arguments.json
CHANGED
@@ -540,6 +540,12 @@
|
|
540
540
|
"default": "`:button`",
|
541
541
|
"description": "One of `:button` or `:submit`."
|
542
542
|
},
|
543
|
+
{
|
544
|
+
"name": "disabled",
|
545
|
+
"type": "Boolean",
|
546
|
+
"default": "`false`",
|
547
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
548
|
+
},
|
543
549
|
{
|
544
550
|
"name": "system_arguments",
|
545
551
|
"type": "Hash",
|
@@ -1063,6 +1069,12 @@
|
|
1063
1069
|
"default": "`false`",
|
1064
1070
|
"description": "Whether or not the button is inline."
|
1065
1071
|
},
|
1072
|
+
{
|
1073
|
+
"name": "disabled",
|
1074
|
+
"type": "Boolean",
|
1075
|
+
"default": "`false`",
|
1076
|
+
"description": "Whether or not the button is disabled."
|
1077
|
+
},
|
1066
1078
|
{
|
1067
1079
|
"name": "system_arguments",
|
1068
1080
|
"type": "Hash",
|
@@ -1428,6 +1440,40 @@
|
|
1428
1440
|
}
|
1429
1441
|
]
|
1430
1442
|
},
|
1443
|
+
{
|
1444
|
+
"component": "NavList::Heading",
|
1445
|
+
"status": "alpha",
|
1446
|
+
"a11y_reviewed": false,
|
1447
|
+
"short_name": "NavListHeading",
|
1448
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/nav_list/heading.rb",
|
1449
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/nav_list/heading/default/",
|
1450
|
+
"parameters": [
|
1451
|
+
{
|
1452
|
+
"name": "title",
|
1453
|
+
"type": "String",
|
1454
|
+
"default": "N/A",
|
1455
|
+
"description": "The text content of the heading."
|
1456
|
+
},
|
1457
|
+
{
|
1458
|
+
"name": "id",
|
1459
|
+
"type": "String",
|
1460
|
+
"default": "`self.class.generate_id`",
|
1461
|
+
"description": "The value of the ID HTML attribute. Auto-generated by default."
|
1462
|
+
},
|
1463
|
+
{
|
1464
|
+
"name": "heading_level",
|
1465
|
+
"type": "Integer",
|
1466
|
+
"default": "`2`",
|
1467
|
+
"description": "The heading level, i.e. 2 for an `<h2>`, 3 for an `<h3>`, etc."
|
1468
|
+
},
|
1469
|
+
{
|
1470
|
+
"name": "system_arguments",
|
1471
|
+
"type": "Hash",
|
1472
|
+
"default": "N/A",
|
1473
|
+
"description": "[System arguments](/system-arguments)"
|
1474
|
+
}
|
1475
|
+
]
|
1476
|
+
},
|
1431
1477
|
{
|
1432
1478
|
"component": "NavList::Item",
|
1433
1479
|
"status": "alpha",
|
@@ -2985,6 +3031,12 @@
|
|
2985
3031
|
"default": "`false`",
|
2986
3032
|
"description": "Whether button is full-width with `display: block`."
|
2987
3033
|
},
|
3034
|
+
{
|
3035
|
+
"name": "disabled",
|
3036
|
+
"type": "Boolean",
|
3037
|
+
"default": "`false`",
|
3038
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3039
|
+
},
|
2988
3040
|
{
|
2989
3041
|
"name": "system_arguments",
|
2990
3042
|
"type": "Hash",
|
@@ -3136,6 +3188,12 @@
|
|
3136
3188
|
"default": "`:button`",
|
3137
3189
|
"description": "One of `:button`, `:reset`, or `:submit`."
|
3138
3190
|
},
|
3191
|
+
{
|
3192
|
+
"name": "disabled",
|
3193
|
+
"type": "Boolean",
|
3194
|
+
"default": "`false`",
|
3195
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3196
|
+
},
|
3139
3197
|
{
|
3140
3198
|
"name": "system_arguments",
|
3141
3199
|
"type": "Hash",
|
@@ -3220,6 +3278,12 @@
|
|
3220
3278
|
"default": "`:button`",
|
3221
3279
|
"description": "One of `:button` or `:submit`."
|
3222
3280
|
},
|
3281
|
+
{
|
3282
|
+
"name": "disabled",
|
3283
|
+
"type": "Boolean",
|
3284
|
+
"default": "`false`",
|
3285
|
+
"description": "Whether or not the button is disabled."
|
3286
|
+
},
|
3223
3287
|
{
|
3224
3288
|
"name": "system_arguments",
|
3225
3289
|
"type": "Hash",
|
@@ -3300,6 +3364,12 @@
|
|
3300
3364
|
"default": "`false`",
|
3301
3365
|
"description": "Defaults to false. If set to true, it will remove the default caret and remove style from the summary element"
|
3302
3366
|
},
|
3367
|
+
{
|
3368
|
+
"name": "disabled",
|
3369
|
+
"type": "Boolean",
|
3370
|
+
"default": "`false`",
|
3371
|
+
"description": "Whether or not to disable the summary button."
|
3372
|
+
},
|
3303
3373
|
{
|
3304
3374
|
"name": "system_arguments",
|
3305
3375
|
"type": "Hash",
|
@@ -3390,6 +3460,12 @@
|
|
3390
3460
|
"default": "N/A",
|
3391
3461
|
"description": "Name of [Octicon](https://primer.style/octicons/) to use."
|
3392
3462
|
},
|
3463
|
+
{
|
3464
|
+
"name": "tag",
|
3465
|
+
"type": "Symbol",
|
3466
|
+
"default": "N/A",
|
3467
|
+
"description": "One of `:a`, `:button`, or `:summary`."
|
3468
|
+
},
|
3393
3469
|
{
|
3394
3470
|
"name": "wrapper_arguments",
|
3395
3471
|
"type": "Hash",
|
@@ -3409,10 +3485,10 @@
|
|
3409
3485
|
"description": "One of `:large`, `:medium`, or `:small`."
|
3410
3486
|
},
|
3411
3487
|
{
|
3412
|
-
"name": "
|
3413
|
-
"type": "
|
3414
|
-
"default": "
|
3415
|
-
"description": "
|
3488
|
+
"name": "disabled",
|
3489
|
+
"type": "Boolean",
|
3490
|
+
"default": "`false`",
|
3491
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3416
3492
|
},
|
3417
3493
|
{
|
3418
3494
|
"name": "type",
|
data/static/audited_at.json
CHANGED
@@ -33,6 +33,7 @@
|
|
33
33
|
"Primer::Alpha::NavList": "",
|
34
34
|
"Primer::Alpha::NavList::Divider": "",
|
35
35
|
"Primer::Alpha::NavList::Group": "",
|
36
|
+
"Primer::Alpha::NavList::Heading": "",
|
36
37
|
"Primer::Alpha::NavList::Item": "",
|
37
38
|
"Primer::Alpha::Navigation::Tab": "",
|
38
39
|
"Primer::Alpha::OcticonSymbols": "",
|