openproject-primer_view_components 0.29.1 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/app/assets/javascripts/primer_view_components.js +1 -1
  4. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  5. data/app/assets/styles/primer_view_components.css +1 -1
  6. data/app/assets/styles/primer_view_components.css.map +1 -1
  7. data/app/components/primer/alpha/action_list/form_wrapper.rb +5 -0
  8. data/app/components/primer/alpha/button_marketing.rb +2 -0
  9. data/app/components/primer/alpha/dialog/header.html.erb +3 -0
  10. data/app/components/primer/alpha/dialog/header.rb +26 -0
  11. data/app/components/primer/alpha/overlay/header.html.erb +3 -1
  12. data/app/components/primer/alpha/overlay/header.rb +15 -0
  13. data/app/components/primer/alpha/tab_nav.css +1 -1
  14. data/app/components/primer/alpha/tab_nav.css.json +2 -0
  15. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  16. data/app/components/primer/alpha/tab_nav.pcss +10 -0
  17. data/app/components/primer/alpha/tab_panels.html.erb +5 -9
  18. data/app/components/primer/alpha/tab_panels.rb +4 -13
  19. data/app/components/primer/alpha/underline_nav.css +1 -1
  20. data/app/components/primer/alpha/underline_nav.css.json +2 -0
  21. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  22. data/app/components/primer/alpha/underline_nav.pcss +7 -1
  23. data/app/components/primer/alpha/underline_panels.css +1 -0
  24. data/app/components/primer/alpha/underline_panels.css.json +6 -0
  25. data/app/components/primer/alpha/underline_panels.css.map +1 -0
  26. data/app/components/primer/alpha/underline_panels.html.erb +6 -8
  27. data/app/components/primer/alpha/underline_panels.pcss +4 -0
  28. data/app/components/primer/alpha/underline_panels.rb +6 -14
  29. data/app/components/primer/anchored_position.js +2 -0
  30. data/app/components/primer/anchored_position.ts +2 -0
  31. data/app/components/primer/beta/button.css +1 -1
  32. data/app/components/primer/beta/button.css.map +1 -1
  33. data/app/components/primer/beta/button.html.erb +6 -1
  34. data/app/components/primer/beta/button.pcss +1 -0
  35. data/app/components/primer/beta/button.rb +9 -1
  36. data/app/components/primer/primer.pcss +1 -0
  37. data/lib/primer/view_components/version.rb +2 -2
  38. data/previews/primer/alpha/button_marketing_preview.rb +15 -3
  39. data/previews/primer/alpha/dialog_preview/with_header_filter.html.erb +19 -0
  40. data/previews/primer/alpha/dialog_preview.rb +4 -0
  41. data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +19 -0
  42. data/previews/primer/alpha/overlay_preview.rb +15 -0
  43. data/previews/primer/beta/button_group_preview.rb +3 -7
  44. data/previews/primer/beta/button_preview/small_scheme_one_character.html.erb +5 -0
  45. data/previews/primer/beta/button_preview/summary_as_button.html.erb +14 -0
  46. data/previews/primer/beta/button_preview.rb +42 -12
  47. data/static/arguments.json +0 -12
  48. data/static/info_arch.json +118 -17
  49. data/static/previews.json +80 -2
  50. metadata +10 -2
@@ -10,19 +10,31 @@ module Primer
10
10
  # @param tag [Symbol] select [button, a]
11
11
  # @param type [Symbol] select [button, submit]
12
12
  # @param disabled [Boolean]
13
- def playground(tag: :button, type: :button, scheme: :default, variant: :default, disabled: false)
14
- render(Primer::Alpha::ButtonMarketing.new(tag: tag, type: type, scheme: scheme, variant: variant, disabled: disabled)) { "Default" }
13
+ def playground(tag: :button, type: :button, scheme: :default, variant: :default, disabled: false, href: nil)
14
+ # Sets default href to `a`, to ensure it's keyboard interactive and proper markup
15
+ if tag == :a && href.nil?
16
+ href = "#"
17
+ end
18
+ render(Primer::Alpha::ButtonMarketing.new(tag: tag, type: type, scheme: scheme, variant: variant, disabled: disabled, href: href)) { "Default" }
15
19
  end
16
20
 
17
21
  # @label Default options
18
22
  # @param scheme [Symbol] select [default, primary, outline, transparent]
19
23
  # @param variant [Symbol] select [default, large]
20
- # @param tag [Symbol] select [button, a]
21
24
  # @param type [Symbol] select [button, submit]
22
25
  def default(tag: :button, type: :button, scheme: :default, variant: :default)
23
26
  render(Primer::Alpha::ButtonMarketing.new(tag: tag, type: type, scheme: scheme, variant: variant)) { "Default" }
24
27
  end
25
28
 
29
+ # @label Link as button options
30
+ # @param scheme [Symbol] select [default, primary, outline, transparent]
31
+ # @param variant [Symbol] select [default, large]
32
+ # @param type [Symbol] select [button, submit]
33
+ # @param href [String]
34
+ def link_as_button(tag: :a, href: "#", type: :button, scheme: :default, variant: :default)
35
+ render(Primer::Alpha::ButtonMarketing.new(tag: tag, href: href, type: type, scheme: scheme, variant: variant)) { "Default" }
36
+ end
37
+
26
38
  # @!group Size Variants
27
39
  # @snapshot
28
40
  #
@@ -0,0 +1,19 @@
1
+ <%= render(Primer::Alpha::Dialog.new(open: true, title: "Dialog")) do |dialog| %>
2
+ <% dialog.with_show_button { "Open" } %>
3
+ <% dialog.with_header do |header| %>
4
+ <% header.with_filter(pr: 3, pl: 3) do %>
5
+ <%= render Primer::Alpha::TextField.new(
6
+ autofocus: true,
7
+ visually_hide_label: true,
8
+ name: "filter",
9
+ label: "Filter dialog",
10
+ ) %>
11
+ <% end %>
12
+ <% end %>
13
+ <% dialog.with_body do %>
14
+ Body
15
+ <% end %>
16
+ <% dialog.with_footer do %>
17
+ Footer
18
+ <% end %>
19
+ <% end %>
@@ -296,6 +296,10 @@ module Primer
296
296
  d.with_body { body_text }
297
297
  end
298
298
  end
299
+
300
+ def with_header_filter
301
+ render_with_template(locals: {})
302
+ end
299
303
  end
300
304
  end
301
305
  end
@@ -0,0 +1,19 @@
1
+ <div style="position:sticky;top:0;" class="color-bg-accent">
2
+ <%= render(Primer::Alpha::Overlay.new(title: "Dialog", role: :dialog, size: :large, padding: :condensed)) do |d| %>
3
+ <% d.with_header(title: "Large Dialog Header", divider: true) do |header| %>
4
+ <% header.with_filter do %>
5
+ <%= render Primer::Alpha::TextField.new(
6
+ autofocus: true,
7
+ visually_hide_label:
8
+ true,
9
+ name: "filter",
10
+ label: "Filter Overlay"
11
+ ) %>
12
+ <% end %>
13
+ <% end %>
14
+ <% d.with_show_button { "Show Overlay" } %>
15
+ <% d.with_footer { "Large Dialog Footer" } %>
16
+ <% d.with_body { "This is a long body for the overlay dialog. <br>".html_safe * 20 } %>
17
+ <% end %>
18
+ </div>
19
+ <div style="height:3000px;"></div>
@@ -183,6 +183,21 @@ module Primer
183
183
  def overlay_with_header_filter
184
184
  render_with_template(locals: {})
185
185
  end
186
+
187
+ def overlay_with_header_subtitle
188
+ render(Primer::Alpha::Overlay.new(title: "Dialog", role: :dialog, size: :large, padding: :condensed)) do |d|
189
+ d.with_header(title: "Large Dialog Header", divider: true) do |h|
190
+ h.with_subtitle {"A subtitle"}
191
+ end
192
+ d.with_show_button { "Show Overlay" }
193
+ d.with_footer { "Large Dialog Footer" }
194
+ d.with_body { "This is a long body for the overlay dialog. <br>".html_safe * 20 }
195
+ end
196
+ end
197
+
198
+ def in_a_sticky_container
199
+ render_with_template(locals: {})
200
+ end
186
201
  end
187
202
  end
188
203
  end
@@ -63,22 +63,18 @@ module Primer
63
63
  end
64
64
  end
65
65
 
66
- # @label Button group with all tags
66
+ # @label Button group with multiple tags
67
67
  # @snapshot
68
- def all_tags
68
+ def multiple_tags
69
69
  render(Primer::Beta::ButtonGroup.new) do |component|
70
70
  component.with_button(id: "button-1", tag: :button) do |button|
71
71
  button.with_tooltip(text: "Button Tooltip")
72
72
  "Button 1"
73
73
  end
74
- component.with_button(id: "button-2", tag: :a) do |button|
74
+ component.with_button(id: "button-2", tag: :a, href: "#") do |button|
75
75
  button.with_tooltip(text: "Button Tooltip")
76
76
  "Button 2"
77
77
  end
78
- component.with_button(id: "button-3", tag: :summary) do |button|
79
- button.with_tooltip(text: "Button Tooltip")
80
- "Button 3"
81
- end
82
78
  end
83
79
  end
84
80
 
@@ -0,0 +1,5 @@
1
+ <%= render(Primer::Beta::Button.new(
2
+ size: :small,
3
+ )) do %>
4
+ i
5
+ <% end %>
@@ -0,0 +1,14 @@
1
+ <details>
2
+ <%= render(Primer::Beta::Button.new(
3
+ scheme: scheme,
4
+ size: size,
5
+ block: block,
6
+ id: id,
7
+ align_content: align_content,
8
+ tag: tag
9
+ )) do %>
10
+ Button
11
+ <% end %>
12
+ <p>A wrapping `details` tag is required when using the button with the `:summary` tag</p>
13
+ </details>
14
+
@@ -20,7 +20,7 @@ module Primer
20
20
  # @param disabled toggle
21
21
  # @param inactive toggle
22
22
  # @param align_content select [center, start]
23
- # @param tag select [a, summary, button]
23
+ # @param tag select [a, button]
24
24
  # @param label_wrap toggle
25
25
  def playground(
26
26
  scheme: :default,
@@ -31,8 +31,13 @@ module Primer
31
31
  tag: :button,
32
32
  disabled: false,
33
33
  inactive: false,
34
- label_wrap: false
34
+ label_wrap: false,
35
+ href: nil
35
36
  )
37
+ # Sets default href to `a`, to ensure it's keyboard interactive and proper markup
38
+ if tag == :a && href.nil?
39
+ href = "#"
40
+ end
36
41
  render(Primer::Beta::Button.new(
37
42
  scheme: scheme,
38
43
  size: size,
@@ -42,8 +47,9 @@ module Primer
42
47
  tag: tag,
43
48
  disabled: disabled,
44
49
  inactive: inactive,
45
- label_wrap: label_wrap
46
- )) do |_c|
50
+ label_wrap: label_wrap,
51
+ href: href
52
+ )) do |_c|
47
53
  "Button"
48
54
  end
49
55
  end
@@ -51,7 +57,6 @@ module Primer
51
57
  # @label Default
52
58
  # @param block toggle
53
59
  # @param disabled toggle
54
- # @param tag select [a, summary, button]
55
60
  def default(
56
61
  block: false,
57
62
  id: "button-preview",
@@ -73,7 +78,6 @@ module Primer
73
78
  # @label Primary
74
79
  # @param block toggle
75
80
  # @param disabled toggle
76
- # @param tag select [a, summary, button]
77
81
  def primary(
78
82
  id: "button-preview",
79
83
  block: false,
@@ -95,7 +99,6 @@ module Primer
95
99
  # @label Danger
96
100
  # @param block toggle
97
101
  # @param disabled toggle
98
- # @param tag select [a, summary, button]
99
102
  def danger(
100
103
  id: "button-preview",
101
104
  block: false,
@@ -117,7 +120,6 @@ module Primer
117
120
  # @label Invisible
118
121
  # @param block toggle
119
122
  # @param disabled toggle
120
- # @param tag select [a, summary, button]
121
123
  def invisible(
122
124
  id: "button-preview",
123
125
  block: false,
@@ -145,7 +147,6 @@ module Primer
145
147
  # @label Link
146
148
  # @param block toggle
147
149
  # @param disabled toggle
148
- # @param tag select [a, summary, button]
149
150
  # @snapshot
150
151
  def link(
151
152
  id: "button-preview",
@@ -178,7 +179,6 @@ module Primer
178
179
 
179
180
  # @label Full width
180
181
  # @param disabled toggle
181
- # @param tag select [a, summary, button]
182
182
  # @snapshot
183
183
  def full_width(
184
184
  id: "button-preview",
@@ -222,6 +222,7 @@ module Primer
222
222
  # @param size select [small, medium]
223
223
  # @param block toggle
224
224
  # @param align_content select [center, start]
225
+ # @param href
225
226
  # @snapshot
226
227
  def link_as_button(
227
228
  scheme: :default,
@@ -245,12 +246,35 @@ module Primer
245
246
  end
246
247
  end
247
248
 
249
+ # @label Summary as button
250
+ # @param scheme select [default, primary, danger, invisible, link]
251
+ # @param size select [small, medium]
252
+ # @param block toggle
253
+ # @param align_content select [center, start]
254
+ # @snapshot
255
+ def summary_as_button(
256
+ scheme: :default,
257
+ size: :medium,
258
+ block: false,
259
+ id: "button-preview",
260
+ align_content: :center,
261
+ tag: :summary
262
+ )
263
+ render_with_template(locals: {
264
+ scheme: scheme,
265
+ size: size,
266
+ block: block,
267
+ id: id,
268
+ align_content: align_content,
269
+ tag: tag
270
+ })
271
+ end
272
+
248
273
  # @label Trailing visual
249
274
  # @param scheme select [default, primary, danger, invisible, link]
250
275
  # @param size select [small, medium]
251
276
  # @param block toggle
252
277
  # @param align_content select [center, start]
253
- # @param tag select [a, summary, button]
254
278
  # @snapshot
255
279
  def trailing_visual(
256
280
  scheme: :default,
@@ -258,7 +282,7 @@ module Primer
258
282
  block: false,
259
283
  id: "button-preview",
260
284
  align_content: :center,
261
- tag: :a
285
+ tag: :button
262
286
  )
263
287
  render_with_template(locals: {
264
288
  scheme: scheme,
@@ -390,6 +414,12 @@ module Primer
390
414
  def link_scheme_label_wrap
391
415
  render_with_template(locals: {})
392
416
  end
417
+
418
+ # @label Small scheme with one character
419
+ # @snapshot
420
+ def small_scheme_one_character
421
+ render_with_template(locals: {})
422
+ end
393
423
  end
394
424
  end
395
425
  end
@@ -2462,18 +2462,6 @@
2462
2462
  "default": "N/A",
2463
2463
  "description": "One of `:left` or `:right`. - Defaults to left"
2464
2464
  },
2465
- {
2466
- "name": "body_arguments",
2467
- "type": "Hash",
2468
- "default": "`{}`",
2469
- "description": "[System arguments](/system-arguments) for the body wrapper."
2470
- },
2471
- {
2472
- "name": "wrapper_arguments",
2473
- "type": "Hash",
2474
- "default": "`{}`",
2475
- "description": "[System arguments](/system-arguments) for the `TabContainer` wrapper."
2476
- },
2477
2465
  {
2478
2466
  "name": "system_arguments",
2479
2467
  "type": "Hash",
@@ -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": null,
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
 
@@ -6094,6 +6143,32 @@
6094
6143
  "color-contrast"
6095
6144
  ]
6096
6145
  }
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
+ },
6160
+ {
6161
+ "preview_path": "primer/alpha/overlay/in_a_sticky_container",
6162
+ "name": "in_a_sticky_container",
6163
+ "snapshot": "false",
6164
+ "skip_rules": {
6165
+ "wont_fix": [
6166
+ "region"
6167
+ ],
6168
+ "will_fix": [
6169
+ "color-contrast"
6170
+ ]
6171
+ }
6097
6172
  }
6098
6173
  ],
6099
6174
  "subcomponents": [
@@ -6166,6 +6241,18 @@
6166
6241
  "description": "{{link_to_system_arguments_docs}}"
6167
6242
  }
6168
6243
  ]
6244
+ },
6245
+ {
6246
+ "name": "subtitle",
6247
+ "description": "Optional subtitle slot for adding a subtitle to the header.",
6248
+ "parameters": [
6249
+ {
6250
+ "name": "system_arguments",
6251
+ "type": "Hash",
6252
+ "default": "N/A",
6253
+ "description": "{{link_to_system_arguments_docs}}"
6254
+ }
6255
+ ]
6169
6256
  }
6170
6257
  ],
6171
6258
  "methods": [
@@ -7541,18 +7628,6 @@
7541
7628
  "default": "N/A",
7542
7629
  "description": "One of `:left` or `:right`. - Defaults to left"
7543
7630
  },
7544
- {
7545
- "name": "body_arguments",
7546
- "type": "Hash",
7547
- "default": "`{}`",
7548
- "description": "{{link_to_system_arguments_docs}} for the body wrapper."
7549
- },
7550
- {
7551
- "name": "wrapper_arguments",
7552
- "type": "Hash",
7553
- "default": "`{}`",
7554
- "description": "{{link_to_system_arguments_docs}} for the `TabContainer` wrapper."
7555
- },
7556
7631
  {
7557
7632
  "name": "system_arguments",
7558
7633
  "type": "Hash",
@@ -10908,7 +10983,7 @@
10908
10983
  {
10909
10984
  "fully_qualified_name": "Primer::Beta::Button",
10910
10985
  "description": "Use `Button` for actions (e.g. in forms). Use links for destinations, or moving from one page to another.",
10911
- "accessibility_docs": null,
10986
+ "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",
10912
10987
  "is_form_component": false,
10913
10988
  "is_published": true,
10914
10989
  "requires_js": false,
@@ -11183,6 +11258,19 @@
11183
11258
  ]
11184
11259
  }
11185
11260
  },
11261
+ {
11262
+ "preview_path": "primer/beta/button/summary_as_button",
11263
+ "name": "summary_as_button",
11264
+ "snapshot": "true",
11265
+ "skip_rules": {
11266
+ "wont_fix": [
11267
+ "region"
11268
+ ],
11269
+ "will_fix": [
11270
+ "color-contrast"
11271
+ ]
11272
+ }
11273
+ },
11186
11274
  {
11187
11275
  "preview_path": "primer/beta/button/trailing_visual",
11188
11276
  "name": "trailing_visual",
@@ -11286,6 +11374,19 @@
11286
11374
  "color-contrast"
11287
11375
  ]
11288
11376
  }
11377
+ },
11378
+ {
11379
+ "preview_path": "primer/beta/button/small_scheme_one_character",
11380
+ "name": "small_scheme_one_character",
11381
+ "snapshot": "true",
11382
+ "skip_rules": {
11383
+ "wont_fix": [
11384
+ "region"
11385
+ ],
11386
+ "will_fix": [
11387
+ "color-contrast"
11388
+ ]
11389
+ }
11289
11390
  }
11290
11391
  ],
11291
11392
  "subcomponents": [
@@ -11445,8 +11546,8 @@
11445
11546
  }
11446
11547
  },
11447
11548
  {
11448
- "preview_path": "primer/beta/button_group/all_tags",
11449
- "name": "all_tags",
11549
+ "preview_path": "primer/beta/button_group/multiple_tags",
11550
+ "name": "multiple_tags",
11450
11551
  "snapshot": "true",
11451
11552
  "skip_rules": {
11452
11553
  "wont_fix": [
data/static/previews.json CHANGED
@@ -2210,6 +2210,19 @@
2210
2210
  ]
2211
2211
  }
2212
2212
  },
2213
+ {
2214
+ "preview_path": "primer/beta/button/summary_as_button",
2215
+ "name": "summary_as_button",
2216
+ "snapshot": "true",
2217
+ "skip_rules": {
2218
+ "wont_fix": [
2219
+ "region"
2220
+ ],
2221
+ "will_fix": [
2222
+ "color-contrast"
2223
+ ]
2224
+ }
2225
+ },
2213
2226
  {
2214
2227
  "preview_path": "primer/beta/button/trailing_visual",
2215
2228
  "name": "trailing_visual",
@@ -2313,6 +2326,19 @@
2313
2326
  "color-contrast"
2314
2327
  ]
2315
2328
  }
2329
+ },
2330
+ {
2331
+ "preview_path": "primer/beta/button/small_scheme_one_character",
2332
+ "name": "small_scheme_one_character",
2333
+ "snapshot": "true",
2334
+ "skip_rules": {
2335
+ "wont_fix": [
2336
+ "region"
2337
+ ],
2338
+ "will_fix": [
2339
+ "color-contrast"
2340
+ ]
2341
+ }
2316
2342
  }
2317
2343
  ]
2318
2344
  },
@@ -2388,8 +2414,8 @@
2388
2414
  }
2389
2415
  },
2390
2416
  {
2391
- "preview_path": "primer/beta/button_group/all_tags",
2392
- "name": "all_tags",
2417
+ "preview_path": "primer/beta/button_group/multiple_tags",
2418
+ "name": "multiple_tags",
2393
2419
  "snapshot": "true",
2394
2420
  "skip_rules": {
2395
2421
  "wont_fix": [
@@ -2447,6 +2473,19 @@
2447
2473
  ]
2448
2474
  }
2449
2475
  },
2476
+ {
2477
+ "preview_path": "primer/alpha/button_marketing/link_as_button",
2478
+ "name": "link_as_button",
2479
+ "snapshot": "false",
2480
+ "skip_rules": {
2481
+ "wont_fix": [
2482
+ "region"
2483
+ ],
2484
+ "will_fix": [
2485
+ "color-contrast"
2486
+ ]
2487
+ }
2488
+ },
2450
2489
  {
2451
2490
  "preview_path": "primer/alpha/button_marketing/sizes_default",
2452
2491
  "name": "sizes_default",
@@ -3303,6 +3342,19 @@
3303
3342
  "color-contrast"
3304
3343
  ]
3305
3344
  }
3345
+ },
3346
+ {
3347
+ "preview_path": "primer/alpha/dialog/with_header_filter",
3348
+ "name": "with_header_filter",
3349
+ "snapshot": "false",
3350
+ "skip_rules": {
3351
+ "wont_fix": [
3352
+ "region"
3353
+ ],
3354
+ "will_fix": [
3355
+ "color-contrast"
3356
+ ]
3357
+ }
3306
3358
  }
3307
3359
  ]
3308
3360
  },
@@ -5174,6 +5226,32 @@
5174
5226
  "color-contrast"
5175
5227
  ]
5176
5228
  }
5229
+ },
5230
+ {
5231
+ "preview_path": "primer/alpha/overlay/overlay_with_header_subtitle",
5232
+ "name": "overlay_with_header_subtitle",
5233
+ "snapshot": "false",
5234
+ "skip_rules": {
5235
+ "wont_fix": [
5236
+ "region"
5237
+ ],
5238
+ "will_fix": [
5239
+ "color-contrast"
5240
+ ]
5241
+ }
5242
+ },
5243
+ {
5244
+ "preview_path": "primer/alpha/overlay/in_a_sticky_container",
5245
+ "name": "in_a_sticky_container",
5246
+ "snapshot": "false",
5247
+ "skip_rules": {
5248
+ "wont_fix": [
5249
+ "region"
5250
+ ],
5251
+ "will_fix": [
5252
+ "color-contrast"
5253
+ ]
5254
+ }
5177
5255
  }
5178
5256
  ]
5179
5257
  },