@primer/view-components 0.24.0-rc.0338f46f → 0.24.0-rc.0d1f150f

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.24.0-rc.0338f46f",
3
+ "version": "0.24.0-rc.0d1f150f",
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",
@@ -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,18 @@
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
+ }
3518
3555
  ],
3519
3556
  "methods": [
3520
3557
 
@@ -10941,7 +10978,7 @@
10941
10978
  {
10942
10979
  "fully_qualified_name": "Primer::Beta::Button",
10943
10980
  "description": "Use `Button` for actions (e.g. in forms). Use links for destinations, or moving from one page to another.",
10944
- "accessibility_docs": null,
10981
+ "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",
10945
10982
  "is_form_component": false,
10946
10983
  "is_published": true,
10947
10984
  "requires_js": false,
@@ -11216,6 +11253,19 @@
11216
11253
  ]
11217
11254
  }
11218
11255
  },
11256
+ {
11257
+ "preview_path": "primer/beta/button/summary_as_button",
11258
+ "name": "summary_as_button",
11259
+ "snapshot": "true",
11260
+ "skip_rules": {
11261
+ "wont_fix": [
11262
+ "region"
11263
+ ],
11264
+ "will_fix": [
11265
+ "color-contrast"
11266
+ ]
11267
+ }
11268
+ },
11219
11269
  {
11220
11270
  "preview_path": "primer/beta/button/trailing_visual",
11221
11271
  "name": "trailing_visual",
@@ -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",
@@ -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
  },