@primer/view-components 0.24.0-rc.a7b4d45c → 0.24.0-rc.b091cfcf
Sign up to get free protection for your applications and to get access to all the features.
- package/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- 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/overlay.css +1 -1
- package/app/components/primer/alpha/overlay.css.json +1 -4
- package/app/components/primer/alpha/tab_nav.css +1 -1
- package/app/components/primer/alpha/tab_nav.css.json +2 -0
- package/app/components/primer/alpha/underline_nav.css +1 -1
- package/app/components/primer/alpha/underline_nav.css.json +2 -0
- package/app/components/primer/alpha/underline_panels.css +1 -0
- package/app/components/primer/alpha/underline_panels.css.json +6 -0
- package/app/components/primer/anchored_position.js +2 -0
- package/package.json +2 -2
- package/static/arguments.json +0 -12
- package/static/classes.json +0 -6
- package/static/info_arch.json +105 -17
- package/static/previews.json +67 -2
@@ -1 +1 @@
|
|
1
|
-
anchored-position[popover]{border-width:0;min-width:192px;overflow:visible;padding:0;position:absolute}anchored-position:not(.Overlay){background:none}.Overlay[popover]:not(:popover-open){display:none}anchored-position.not-anchored::backdrop,dialog::backdrop{background-color:var(--overlay-backdrop-bgColor,var(--color-neutral-muted))}@media (forced-colors:active){.Overlay{outline:1px solid #0000}}
|
1
|
+
anchored-position[popover]{border-width:0;min-width:192px;overflow:visible;padding:0;position:absolute}anchored-position:not(.Overlay){background:none}.Overlay[popover]:not(:popover-open){display:none}anchored-position.not-anchored::backdrop,dialog::backdrop{background-color:var(--overlay-backdrop-bgColor,var(--color-neutral-muted))}@media (forced-colors:active){.Overlay{outline:1px solid #0000}}
|
@@ -1 +1 @@
|
|
1
|
-
.tabnav{border-bottom:var(--borderWidth-thin) solid var(--borderColor-default);margin-bottom:var(--stack-gap-normal);margin-top:0}.tabnav-tabs{display:flex;margin-bottom:calc(var(--borderWidth-thin)*-1);overflow:auto}.tabnav-tab{background-color:initial;border:var(--borderWidth-thin) solid #0000;border-bottom:0;color:var(--fgColor-muted);display:inline-block;flex-shrink:0;font-size:var(--text-body-size-medium);line-height:23px;padding:var(--base-size-8) var(--control-medium-paddingInline-spacious);-webkit-text-decoration:none;text-decoration:none;transition:color .2s cubic-bezier(.3,0,.5,1)}.tabnav-tab.selected,.tabnav-tab[aria-current]:not([aria-current=false]),.tabnav-tab[aria-selected=true]{background-color:var(--bgColor-default);border-color:var(--borderColor-default);border-radius:var(--borderRadius-medium) var(--borderRadius-medium) 0 0;color:var(--fgColor-default)}.tabnav-tab.selected .octicon,.tabnav-tab[aria-current]:not([aria-current=false]) .octicon,.tabnav-tab[aria-selected=true] .octicon{color:inherit}.tabnav-tab:hover{color:var(--fgColor-default);-webkit-text-decoration:none;text-decoration:none;transition-duration:.1s}.tabnav-tab:focus,.tabnav-tab:focus-visible{border-radius:var(--borderRadius-medium) var(--borderRadius-medium) 0 0!important;outline-offset:-6px}.tabnav-tab .octicon,.tabnav-tab:active{color:var(--fgColor-muted)}.tabnav-tab .octicon{margin-right:var(--control-small-gap)}.tabnav-tab .Counter{color:inherit;margin-left:var(--control-small-gap)}.tabnav-extra{color:var(--fgColor-muted);display:inline-block;font-size:var(--text-body-size-small);margin-left:10px;padding-top:10px}.tabnav-extra>.octicon{margin-right:2px}a.tabnav-extra:hover{color:var(--fgColor-accent);-webkit-text-decoration:none;text-decoration:none}.tabnav-btn{margin-left:var(--controlStack-medium-gap-condensed)}
|
1
|
+
.tabnav{border-bottom:var(--borderWidth-thin) solid var(--borderColor-default);margin-bottom:var(--stack-gap-normal);margin-top:0}.tabnav-tabs{display:flex;margin-bottom:calc(var(--borderWidth-thin)*-1);overflow:auto}.tabnav::part(tablist-wrapper){border-bottom:var(--borderWidth-thin) solid var(--borderColor-default);margin-bottom:var(--stack-gap-normal)}.tabnav-tab{background-color:initial;border:var(--borderWidth-thin) solid #0000;border-bottom:0;color:var(--fgColor-muted);display:inline-block;flex-shrink:0;font-size:var(--text-body-size-medium);line-height:23px;padding:var(--base-size-8) var(--control-medium-paddingInline-spacious);-webkit-text-decoration:none;text-decoration:none;transition:color .2s cubic-bezier(.3,0,.5,1)}.tabnav-tab.selected,.tabnav-tab[aria-current]:not([aria-current=false]),.tabnav-tab[aria-selected=true]{background-color:var(--bgColor-default);border-color:var(--borderColor-default);border-radius:var(--borderRadius-medium) var(--borderRadius-medium) 0 0;color:var(--fgColor-default)}.tabnav-tab.selected .octicon,.tabnav-tab[aria-current]:not([aria-current=false]) .octicon,.tabnav-tab[aria-selected=true] .octicon{color:inherit}.tabnav-tab:hover{color:var(--fgColor-default);-webkit-text-decoration:none;text-decoration:none;transition-duration:.1s}.tabnav-tab:focus,.tabnav-tab:focus-visible{border-radius:var(--borderRadius-medium) var(--borderRadius-medium) 0 0!important;outline-offset:-6px}.tabnav-tab .octicon,.tabnav-tab:active{color:var(--fgColor-muted)}.tabnav-tab .octicon{margin-right:var(--control-small-gap)}.tabnav-tab .Counter{color:inherit;margin-left:var(--control-small-gap)}tab-container .tabnav-tab{margin-bottom:-1px}.tabnav-extra{color:var(--fgColor-muted);display:inline-block;font-size:var(--text-body-size-small);margin-left:10px;padding-top:10px}.tabnav-extra>.octicon{margin-right:2px}a.tabnav-extra:hover{color:var(--fgColor-accent);-webkit-text-decoration:none;text-decoration:none}.tabnav-btn{margin-left:var(--controlStack-medium-gap-condensed)}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
"selectors": [
|
4
4
|
".tabnav",
|
5
5
|
".tabnav-tabs",
|
6
|
+
".tabnav::part(tablist-wrapper)",
|
6
7
|
".tabnav-tab",
|
7
8
|
".tabnav-tab.selected",
|
8
9
|
".tabnav-tab[aria-current]:not([aria-current=false])",
|
@@ -16,6 +17,7 @@
|
|
16
17
|
".tabnav-tab .octicon",
|
17
18
|
".tabnav-tab:active",
|
18
19
|
".tabnav-tab .Counter",
|
20
|
+
"tab-container .tabnav-tab",
|
19
21
|
".tabnav-extra",
|
20
22
|
".tabnav-extra>.octicon",
|
21
23
|
"a.tabnav-extra:hover",
|
@@ -1 +1 @@
|
|
1
|
-
.UnderlineNav{box-shadow:inset 0 -1px 0 var(--borderColor-muted);display:flex;min-height:var(--base-size-48);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:auto;justify-content:space-between}.UnderlineNav .Counter{background-color:var(--bgColor-neutral-muted,var(--color-neutral-muted));color:var(--fgColor-default);margin-left:var(--control-medium-gap)}.UnderlineNav .Counter--primary{background-color:var(--bgColor-neutral-emphasis);color:var(--fgColor-onEmphasis)}.UnderlineNav-body{align-items:center;display:flex;gap:var(--control-medium-gap);list-style:none}.UnderlineNav-item{align-items:center;background-color:initial;border:0;border-radius:var(--borderRadius-medium);color:var(--fgColor-default);cursor:pointer;display:flex;font-size:var(--text-body-size-medium);line-height:30px;padding:0 var(--control-medium-paddingInline-condensed);position:relative;text-align:center;white-space:nowrap}.UnderlineNav-item:focus,.UnderlineNav-item:focus-visible,.UnderlineNav-item:hover{border-bottom-color:var(--borderColor-neutral-muted);color:var(--fgColor-default);outline-offset:-2px;-webkit-text-decoration:none;text-decoration:none;transition:border-bottom-color .12s ease-out}.UnderlineNav-item [data-content]:before{content:attr(data-content);display:block;font-weight:var(--base-text-weight-semibold);height:0;visibility:hidden}.UnderlineNav-item:before{content:"";height:100%;left:50%;min-height:48px;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:100%}@media (pointer:fine){.UnderlineNav-item:hover{background:var(--control-transparent-bgColor-hover);color:var(--fgColor-default);-webkit-text-decoration:none;text-decoration:none;transition:background .12s ease-out}}.UnderlineNav-item.selected,.UnderlineNav-item[aria-current]:not([aria-current=false]),.UnderlineNav-item[role=tab][aria-selected=true]{border-bottom-color:var(--underlineNav-borderColor-active);color:var(--fgColor-default);font-weight:var(--base-text-weight-semibold)}.UnderlineNav-item.selected:after,.UnderlineNav-item[aria-current]:not([aria-current=false]):after,.UnderlineNav-item[role=tab][aria-selected=true]:after{background:var(--underlineNav-borderColor-active);border-radius:var(--borderRadius-medium);bottom:calc(50% - 25px);content:"";height:2px;position:absolute;right:50%;transform:translate(50%,-50%);width:100%;z-index:1}.UnderlineNav--right{justify-content:flex-end}.UnderlineNav--right .UnderlineNav-actions{flex:1 1 auto}.UnderlineNav-actions{align-self:center}.UnderlineNav--full{display:block}.UnderlineNav--full .UnderlineNav-body{min-height:var(--base-size-48)}.UnderlineNav-octicon{color:var(--fgColor-muted);display:inline!important;margin-right:var(--control-medium-gap);fill:var(--fgColor-muted)}.UnderlineNav-container{display:flex;justify-content:space-between}
|
1
|
+
.UnderlineNav{box-shadow:inset 0 -1px 0 var(--borderColor-muted);display:flex;min-height:var(--base-size-48);overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:auto;justify-content:space-between}.UnderlineNav .Counter{background-color:var(--bgColor-neutral-muted,var(--color-neutral-muted));color:var(--fgColor-default);margin-left:var(--control-medium-gap)}.UnderlineNav .Counter--primary{background-color:var(--bgColor-neutral-emphasis);color:var(--fgColor-onEmphasis)}.UnderlineNav::part(tablist-wrapper){box-shadow:inset 0 -1px 0 var(--borderColor-muted);padding:var(--control-medium-gap) 0;width:100%}.UnderlineNav-body,.UnderlineNav::part(tablist){align-items:center;display:flex;gap:var(--control-medium-gap);list-style:none}.UnderlineNav-item{align-items:center;background-color:initial;border:0;border-radius:var(--borderRadius-medium);color:var(--fgColor-default);cursor:pointer;display:flex;font-size:var(--text-body-size-medium);line-height:30px;padding:0 var(--control-medium-paddingInline-condensed);position:relative;text-align:center;white-space:nowrap}.UnderlineNav-item:focus,.UnderlineNav-item:focus-visible,.UnderlineNav-item:hover{border-bottom-color:var(--borderColor-neutral-muted);color:var(--fgColor-default);outline-offset:-2px;-webkit-text-decoration:none;text-decoration:none;transition:border-bottom-color .12s ease-out}.UnderlineNav-item [data-content]:before{content:attr(data-content);display:block;font-weight:var(--base-text-weight-semibold);height:0;visibility:hidden}.UnderlineNav-item:before{content:"";height:100%;left:50%;min-height:48px;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:100%}@media (pointer:fine){.UnderlineNav-item:hover{background:var(--control-transparent-bgColor-hover);color:var(--fgColor-default);-webkit-text-decoration:none;text-decoration:none;transition:background .12s ease-out}}.UnderlineNav-item.selected,.UnderlineNav-item[aria-current]:not([aria-current=false]),.UnderlineNav-item[role=tab][aria-selected=true]{border-bottom-color:var(--underlineNav-borderColor-active);color:var(--fgColor-default);font-weight:var(--base-text-weight-semibold)}.UnderlineNav-item.selected:after,.UnderlineNav-item[aria-current]:not([aria-current=false]):after,.UnderlineNav-item[role=tab][aria-selected=true]:after{background:var(--underlineNav-borderColor-active);border-radius:var(--borderRadius-medium);bottom:calc(50% - 25px);content:"";height:2px;position:absolute;right:50%;transform:translate(50%,-50%);width:100%;z-index:1}.UnderlineNav--right{justify-content:flex-end}.UnderlineNav--right .UnderlineNav-actions{flex:1 1 auto}.UnderlineNav-actions{align-self:center}.UnderlineNav--full{display:block}.UnderlineNav--full .UnderlineNav-body{min-height:var(--base-size-48)}.UnderlineNav-octicon{color:var(--fgColor-muted);display:inline!important;margin-right:var(--control-medium-gap);fill:var(--fgColor-muted)}.UnderlineNav-container{display:flex;justify-content:space-between}
|
@@ -4,7 +4,9 @@
|
|
4
4
|
".UnderlineNav",
|
5
5
|
".UnderlineNav .Counter",
|
6
6
|
".UnderlineNav .Counter--primary",
|
7
|
+
".UnderlineNav::part(tablist-wrapper)",
|
7
8
|
".UnderlineNav-body",
|
9
|
+
".UnderlineNav::part(tablist)",
|
8
10
|
".UnderlineNav-item",
|
9
11
|
".UnderlineNav-item:focus",
|
10
12
|
".UnderlineNav-item:focus-visible",
|
@@ -0,0 +1 @@
|
|
1
|
+
tab-container.UnderlineNav{box-shadow:none;flex-direction:column}
|
@@ -23,6 +23,8 @@ const updateWhenVisible = (() => {
|
|
23
23
|
return (el) => {
|
24
24
|
// eslint-disable-next-line github/prefer-observers
|
25
25
|
window.addEventListener('resize', updateVisibleAnchors);
|
26
|
+
// eslint-disable-next-line github/prefer-observers
|
27
|
+
window.addEventListener('scroll', updateVisibleAnchors);
|
26
28
|
intersectionObserver || (intersectionObserver = new IntersectionObserver(entries => {
|
27
29
|
for (const entry of entries) {
|
28
30
|
const target = entry.target;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.24.0-rc.
|
3
|
+
"version": "0.24.0-rc.b091cfcf",
|
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",
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"@github/image-crop-element": "^5.0.0",
|
51
51
|
"@github/include-fragment-element": "^6.1.1",
|
52
52
|
"@github/relative-time-element": "^4.0.0",
|
53
|
-
"@github/tab-container-element": "^
|
53
|
+
"@github/tab-container-element": "^4.5.0",
|
54
54
|
"@oddbird/popover-polyfill": "^0.4.0",
|
55
55
|
"@primer/behaviors": "^1.3.4"
|
56
56
|
},
|
package/static/arguments.json
CHANGED
@@ -2468,18 +2468,6 @@
|
|
2468
2468
|
"default": "N/A",
|
2469
2469
|
"description": "One of `:left` or `:right`. - Defaults to left"
|
2470
2470
|
},
|
2471
|
-
{
|
2472
|
-
"name": "body_arguments",
|
2473
|
-
"type": "Hash",
|
2474
|
-
"default": "`{}`",
|
2475
|
-
"description": "[System arguments](/system-arguments) for the body wrapper."
|
2476
|
-
},
|
2477
|
-
{
|
2478
|
-
"name": "wrapper_arguments",
|
2479
|
-
"type": "Hash",
|
2480
|
-
"default": "`{}`",
|
2481
|
-
"description": "[System arguments](/system-arguments) for the `TabContainer` wrapper."
|
2482
|
-
},
|
2483
2471
|
{
|
2484
2472
|
"name": "system_arguments",
|
2485
2473
|
"type": "Hash",
|
package/static/classes.json
CHANGED
package/static/info_arch.json
CHANGED
@@ -2514,7 +2514,7 @@
|
|
2514
2514
|
{
|
2515
2515
|
"fully_qualified_name": "Primer::Alpha::ButtonMarketing",
|
2516
2516
|
"description": "Use `ButtonMarketing` for actions (e.g. in forms). Use links for destinations, or moving from one page to another.",
|
2517
|
-
"accessibility_docs":
|
2517
|
+
"accessibility_docs": "Setting the tag argument to `:a` requires you to pass in an `href` attribute.",
|
2518
2518
|
"is_form_component": false,
|
2519
2519
|
"is_published": true,
|
2520
2520
|
"requires_js": false,
|
@@ -2595,6 +2595,19 @@
|
|
2595
2595
|
]
|
2596
2596
|
}
|
2597
2597
|
},
|
2598
|
+
{
|
2599
|
+
"preview_path": "primer/alpha/button_marketing/link_as_button",
|
2600
|
+
"name": "link_as_button",
|
2601
|
+
"snapshot": "false",
|
2602
|
+
"skip_rules": {
|
2603
|
+
"wont_fix": [
|
2604
|
+
"region"
|
2605
|
+
],
|
2606
|
+
"will_fix": [
|
2607
|
+
"color-contrast"
|
2608
|
+
]
|
2609
|
+
}
|
2610
|
+
},
|
2598
2611
|
{
|
2599
2612
|
"preview_path": "primer/alpha/button_marketing/sizes_default",
|
2600
2613
|
"name": "sizes_default",
|
@@ -3453,6 +3466,19 @@
|
|
3453
3466
|
"color-contrast"
|
3454
3467
|
]
|
3455
3468
|
}
|
3469
|
+
},
|
3470
|
+
{
|
3471
|
+
"preview_path": "primer/alpha/dialog/with_header_filter",
|
3472
|
+
"name": "with_header_filter",
|
3473
|
+
"snapshot": "false",
|
3474
|
+
"skip_rules": {
|
3475
|
+
"wont_fix": [
|
3476
|
+
"region"
|
3477
|
+
],
|
3478
|
+
"will_fix": [
|
3479
|
+
"color-contrast"
|
3480
|
+
]
|
3481
|
+
}
|
3456
3482
|
}
|
3457
3483
|
],
|
3458
3484
|
"subcomponents": [
|
@@ -3514,7 +3540,30 @@
|
|
3514
3540
|
}
|
3515
3541
|
],
|
3516
3542
|
"slots": [
|
3517
|
-
|
3543
|
+
{
|
3544
|
+
"name": "filter",
|
3545
|
+
"description": "Optional filter slot for adding a filter input to the header.",
|
3546
|
+
"parameters": [
|
3547
|
+
{
|
3548
|
+
"name": "system_arguments",
|
3549
|
+
"type": "Hash",
|
3550
|
+
"default": "N/A",
|
3551
|
+
"description": "{{link_to_system_arguments_docs}}"
|
3552
|
+
}
|
3553
|
+
]
|
3554
|
+
},
|
3555
|
+
{
|
3556
|
+
"name": "subtitle",
|
3557
|
+
"description": "Optional subtitle slot for adding a subtitle to the header.",
|
3558
|
+
"parameters": [
|
3559
|
+
{
|
3560
|
+
"name": "system_arguments",
|
3561
|
+
"type": "Hash",
|
3562
|
+
"default": "N/A",
|
3563
|
+
"description": "{{link_to_system_arguments_docs}}"
|
3564
|
+
}
|
3565
|
+
]
|
3566
|
+
}
|
3518
3567
|
],
|
3519
3568
|
"methods": [
|
3520
3569
|
|
@@ -6095,6 +6144,19 @@
|
|
6095
6144
|
]
|
6096
6145
|
}
|
6097
6146
|
},
|
6147
|
+
{
|
6148
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_subtitle",
|
6149
|
+
"name": "overlay_with_header_subtitle",
|
6150
|
+
"snapshot": "false",
|
6151
|
+
"skip_rules": {
|
6152
|
+
"wont_fix": [
|
6153
|
+
"region"
|
6154
|
+
],
|
6155
|
+
"will_fix": [
|
6156
|
+
"color-contrast"
|
6157
|
+
]
|
6158
|
+
}
|
6159
|
+
},
|
6098
6160
|
{
|
6099
6161
|
"preview_path": "primer/alpha/overlay/overlay_with_three_bodies",
|
6100
6162
|
"name": "overlay_with_three_bodies",
|
@@ -6107,6 +6169,19 @@
|
|
6107
6169
|
"color-contrast"
|
6108
6170
|
]
|
6109
6171
|
}
|
6172
|
+
},
|
6173
|
+
{
|
6174
|
+
"preview_path": "primer/alpha/overlay/in_a_sticky_container",
|
6175
|
+
"name": "in_a_sticky_container",
|
6176
|
+
"snapshot": "false",
|
6177
|
+
"skip_rules": {
|
6178
|
+
"wont_fix": [
|
6179
|
+
"region"
|
6180
|
+
],
|
6181
|
+
"will_fix": [
|
6182
|
+
"color-contrast"
|
6183
|
+
]
|
6184
|
+
}
|
6110
6185
|
}
|
6111
6186
|
],
|
6112
6187
|
"subcomponents": [
|
@@ -6179,6 +6254,18 @@
|
|
6179
6254
|
"description": "{{link_to_system_arguments_docs}}"
|
6180
6255
|
}
|
6181
6256
|
]
|
6257
|
+
},
|
6258
|
+
{
|
6259
|
+
"name": "subtitle",
|
6260
|
+
"description": "Optional subtitle slot for adding a subtitle to the header.",
|
6261
|
+
"parameters": [
|
6262
|
+
{
|
6263
|
+
"name": "system_arguments",
|
6264
|
+
"type": "Hash",
|
6265
|
+
"default": "N/A",
|
6266
|
+
"description": "{{link_to_system_arguments_docs}}"
|
6267
|
+
}
|
6268
|
+
]
|
6182
6269
|
}
|
6183
6270
|
],
|
6184
6271
|
"methods": [
|
@@ -7573,18 +7660,6 @@
|
|
7573
7660
|
"default": "N/A",
|
7574
7661
|
"description": "One of `:left` or `:right`. - Defaults to left"
|
7575
7662
|
},
|
7576
|
-
{
|
7577
|
-
"name": "body_arguments",
|
7578
|
-
"type": "Hash",
|
7579
|
-
"default": "`{}`",
|
7580
|
-
"description": "{{link_to_system_arguments_docs}} for the body wrapper."
|
7581
|
-
},
|
7582
|
-
{
|
7583
|
-
"name": "wrapper_arguments",
|
7584
|
-
"type": "Hash",
|
7585
|
-
"default": "`{}`",
|
7586
|
-
"description": "{{link_to_system_arguments_docs}} for the `TabContainer` wrapper."
|
7587
|
-
},
|
7588
7663
|
{
|
7589
7664
|
"name": "system_arguments",
|
7590
7665
|
"type": "Hash",
|
@@ -10940,7 +11015,7 @@
|
|
10940
11015
|
{
|
10941
11016
|
"fully_qualified_name": "Primer::Beta::Button",
|
10942
11017
|
"description": "Use `Button` for actions (e.g. in forms). Use links for destinations, or moving from one page to another.",
|
10943
|
-
"accessibility_docs":
|
11018
|
+
"accessibility_docs": "Additional markup is required if setting the `tag` argument to either `:a` or `:summary`.\n\n* `:a` requires you to pass in an `href` attribute\n* `:summary` requires you to wrap the component in a `<details>` element",
|
10944
11019
|
"is_form_component": false,
|
10945
11020
|
"is_published": true,
|
10946
11021
|
"requires_js": false,
|
@@ -11215,6 +11290,19 @@
|
|
11215
11290
|
]
|
11216
11291
|
}
|
11217
11292
|
},
|
11293
|
+
{
|
11294
|
+
"preview_path": "primer/beta/button/summary_as_button",
|
11295
|
+
"name": "summary_as_button",
|
11296
|
+
"snapshot": "true",
|
11297
|
+
"skip_rules": {
|
11298
|
+
"wont_fix": [
|
11299
|
+
"region"
|
11300
|
+
],
|
11301
|
+
"will_fix": [
|
11302
|
+
"color-contrast"
|
11303
|
+
]
|
11304
|
+
}
|
11305
|
+
},
|
11218
11306
|
{
|
11219
11307
|
"preview_path": "primer/beta/button/trailing_visual",
|
11220
11308
|
"name": "trailing_visual",
|
@@ -11477,8 +11565,8 @@
|
|
11477
11565
|
}
|
11478
11566
|
},
|
11479
11567
|
{
|
11480
|
-
"preview_path": "primer/beta/button_group/
|
11481
|
-
"name": "
|
11568
|
+
"preview_path": "primer/beta/button_group/multiple_tags",
|
11569
|
+
"name": "multiple_tags",
|
11482
11570
|
"snapshot": "true",
|
11483
11571
|
"skip_rules": {
|
11484
11572
|
"wont_fix": [
|
package/static/previews.json
CHANGED
@@ -2163,6 +2163,19 @@
|
|
2163
2163
|
]
|
2164
2164
|
}
|
2165
2165
|
},
|
2166
|
+
{
|
2167
|
+
"preview_path": "primer/beta/button/summary_as_button",
|
2168
|
+
"name": "summary_as_button",
|
2169
|
+
"snapshot": "true",
|
2170
|
+
"skip_rules": {
|
2171
|
+
"wont_fix": [
|
2172
|
+
"region"
|
2173
|
+
],
|
2174
|
+
"will_fix": [
|
2175
|
+
"color-contrast"
|
2176
|
+
]
|
2177
|
+
}
|
2178
|
+
},
|
2166
2179
|
{
|
2167
2180
|
"preview_path": "primer/beta/button/trailing_visual",
|
2168
2181
|
"name": "trailing_visual",
|
@@ -2341,8 +2354,8 @@
|
|
2341
2354
|
}
|
2342
2355
|
},
|
2343
2356
|
{
|
2344
|
-
"preview_path": "primer/beta/button_group/
|
2345
|
-
"name": "
|
2357
|
+
"preview_path": "primer/beta/button_group/multiple_tags",
|
2358
|
+
"name": "multiple_tags",
|
2346
2359
|
"snapshot": "true",
|
2347
2360
|
"skip_rules": {
|
2348
2361
|
"wont_fix": [
|
@@ -2400,6 +2413,19 @@
|
|
2400
2413
|
]
|
2401
2414
|
}
|
2402
2415
|
},
|
2416
|
+
{
|
2417
|
+
"preview_path": "primer/alpha/button_marketing/link_as_button",
|
2418
|
+
"name": "link_as_button",
|
2419
|
+
"snapshot": "false",
|
2420
|
+
"skip_rules": {
|
2421
|
+
"wont_fix": [
|
2422
|
+
"region"
|
2423
|
+
],
|
2424
|
+
"will_fix": [
|
2425
|
+
"color-contrast"
|
2426
|
+
]
|
2427
|
+
}
|
2428
|
+
},
|
2403
2429
|
{
|
2404
2430
|
"preview_path": "primer/alpha/button_marketing/sizes_default",
|
2405
2431
|
"name": "sizes_default",
|
@@ -3256,6 +3282,19 @@
|
|
3256
3282
|
"color-contrast"
|
3257
3283
|
]
|
3258
3284
|
}
|
3285
|
+
},
|
3286
|
+
{
|
3287
|
+
"preview_path": "primer/alpha/dialog/with_header_filter",
|
3288
|
+
"name": "with_header_filter",
|
3289
|
+
"snapshot": "false",
|
3290
|
+
"skip_rules": {
|
3291
|
+
"wont_fix": [
|
3292
|
+
"region"
|
3293
|
+
],
|
3294
|
+
"will_fix": [
|
3295
|
+
"color-contrast"
|
3296
|
+
]
|
3297
|
+
}
|
3259
3298
|
}
|
3260
3299
|
]
|
3261
3300
|
},
|
@@ -4927,6 +4966,19 @@
|
|
4927
4966
|
]
|
4928
4967
|
}
|
4929
4968
|
},
|
4969
|
+
{
|
4970
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_subtitle",
|
4971
|
+
"name": "overlay_with_header_subtitle",
|
4972
|
+
"snapshot": "false",
|
4973
|
+
"skip_rules": {
|
4974
|
+
"wont_fix": [
|
4975
|
+
"region"
|
4976
|
+
],
|
4977
|
+
"will_fix": [
|
4978
|
+
"color-contrast"
|
4979
|
+
]
|
4980
|
+
}
|
4981
|
+
},
|
4930
4982
|
{
|
4931
4983
|
"preview_path": "primer/alpha/overlay/overlay_with_three_bodies",
|
4932
4984
|
"name": "overlay_with_three_bodies",
|
@@ -4939,6 +4991,19 @@
|
|
4939
4991
|
"color-contrast"
|
4940
4992
|
]
|
4941
4993
|
}
|
4994
|
+
},
|
4995
|
+
{
|
4996
|
+
"preview_path": "primer/alpha/overlay/in_a_sticky_container",
|
4997
|
+
"name": "in_a_sticky_container",
|
4998
|
+
"snapshot": "false",
|
4999
|
+
"skip_rules": {
|
5000
|
+
"wont_fix": [
|
5001
|
+
"region"
|
5002
|
+
],
|
5003
|
+
"will_fix": [
|
5004
|
+
"color-contrast"
|
5005
|
+
]
|
5006
|
+
}
|
4942
5007
|
}
|
4943
5008
|
]
|
4944
5009
|
},
|