@primer/view-components 0.24.0-rc.6e282ba6 → 0.24.0-rc.8d57acc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/info_arch.json +67 -4
- package/static/previews.json +41 -2
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.8d57acc2",
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/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",
|
@@ -3538,6 +3551,18 @@
|
|
3538
3551
|
"description": "{{link_to_system_arguments_docs}}"
|
3539
3552
|
}
|
3540
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
|
+
]
|
3541
3566
|
}
|
3542
3567
|
],
|
3543
3568
|
"methods": [
|
@@ -6119,6 +6144,19 @@
|
|
6119
6144
|
]
|
6120
6145
|
}
|
6121
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
|
+
},
|
6122
6160
|
{
|
6123
6161
|
"preview_path": "primer/alpha/overlay/overlay_with_three_bodies",
|
6124
6162
|
"name": "overlay_with_three_bodies",
|
@@ -6216,6 +6254,18 @@
|
|
6216
6254
|
"description": "{{link_to_system_arguments_docs}}"
|
6217
6255
|
}
|
6218
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
|
+
]
|
6219
6269
|
}
|
6220
6270
|
],
|
6221
6271
|
"methods": [
|
@@ -10965,7 +11015,7 @@
|
|
10965
11015
|
{
|
10966
11016
|
"fully_qualified_name": "Primer::Beta::Button",
|
10967
11017
|
"description": "Use `Button` for actions (e.g. in forms). Use links for destinations, or moving from one page to another.",
|
10968
|
-
"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",
|
10969
11019
|
"is_form_component": false,
|
10970
11020
|
"is_published": true,
|
10971
11021
|
"requires_js": false,
|
@@ -11240,6 +11290,19 @@
|
|
11240
11290
|
]
|
11241
11291
|
}
|
11242
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
|
+
},
|
11243
11306
|
{
|
11244
11307
|
"preview_path": "primer/beta/button/trailing_visual",
|
11245
11308
|
"name": "trailing_visual",
|
@@ -11502,8 +11565,8 @@
|
|
11502
11565
|
}
|
11503
11566
|
},
|
11504
11567
|
{
|
11505
|
-
"preview_path": "primer/beta/button_group/
|
11506
|
-
"name": "
|
11568
|
+
"preview_path": "primer/beta/button_group/multiple_tags",
|
11569
|
+
"name": "multiple_tags",
|
11507
11570
|
"snapshot": "true",
|
11508
11571
|
"skip_rules": {
|
11509
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",
|
@@ -4940,6 +4966,19 @@
|
|
4940
4966
|
]
|
4941
4967
|
}
|
4942
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
|
+
},
|
4943
4982
|
{
|
4944
4983
|
"preview_path": "primer/alpha/overlay/overlay_with_three_bodies",
|
4945
4984
|
"name": "overlay_with_three_bodies",
|