@primer/view-components 0.14.0-rc.46753db3 → 0.14.0-rc.5323ae67
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/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/action_bar.css +1 -1
- package/app/components/primer/alpha/action_bar.css.json +1 -4
- package/app/components/primer/alpha/action_bar_element.js +21 -9
- package/app/components/primer/alpha/action_list.css +1 -1
- package/app/components/primer/alpha/action_menu/action_menu_element.js +44 -20
- package/app/components/primer/alpha/auto_complete.css +1 -1
- package/app/components/primer/alpha/button_marketing.css +1 -1
- package/app/components/primer/alpha/dropdown.css +1 -1
- package/app/components/primer/alpha/layout.css +1 -1
- package/app/components/primer/alpha/menu.css +1 -1
- package/app/components/primer/alpha/overlay.css +1 -1
- package/app/components/primer/alpha/overlay.css.json +0 -1
- package/app/components/primer/alpha/segmented_control.css +1 -1
- package/app/components/primer/alpha/segmented_control.css.json +0 -1
- package/app/components/primer/alpha/segmented_control.js +2 -1
- package/app/components/primer/alpha/tab_nav.css +1 -1
- package/app/components/primer/alpha/text_field.css +1 -1
- package/app/components/primer/alpha/toggle_switch.css +1 -1
- package/app/components/primer/alpha/underline_nav.css +1 -1
- package/app/components/primer/alpha/x_banner.js +2 -1
- package/app/components/primer/anchored_position.js +2 -1
- package/app/components/primer/beta/blankslate.css +1 -1
- package/app/components/primer/beta/blankslate.css.json +1 -0
- package/app/components/primer/beta/border_box.css +1 -1
- package/app/components/primer/beta/button.css +1 -1
- package/app/components/primer/beta/button.css.json +0 -1
- package/app/components/primer/beta/button_group.css +1 -1
- package/app/components/primer/beta/button_group.css.json +2 -4
- package/app/components/primer/beta/label.css +1 -1
- package/app/components/primer/beta/link.css +1 -1
- package/app/components/primer/beta/nav_list.js +14 -7
- package/app/components/primer/beta/subhead.css +1 -1
- package/app/components/primer/beta/subhead.css.json +2 -0
- package/app/components/primer/focus_group.js +2 -1
- package/package.json +5 -5
- package/static/arguments.json +2 -8
- package/static/classes.json +6 -3
- package/static/constants.json +9 -0
- package/static/info_arch.json +60 -15
- package/static/previews.json +60 -0
package/static/info_arch.json
CHANGED
@@ -3165,7 +3165,7 @@
|
|
3165
3165
|
"name": "subtitle",
|
3166
3166
|
"type": "String",
|
3167
3167
|
"default": "`nil`",
|
3168
|
-
"description": "Provides
|
3168
|
+
"description": "Provides additional context for the dialog, also setting the `aria-describedby` attribute."
|
3169
3169
|
},
|
3170
3170
|
{
|
3171
3171
|
"name": "show_divider",
|
@@ -4932,7 +4932,7 @@
|
|
4932
4932
|
},
|
4933
4933
|
{
|
4934
4934
|
"fully_qualified_name": "Primer::Alpha::NavList",
|
4935
|
-
"description": "",
|
4935
|
+
"description": ":nodoc:",
|
4936
4936
|
"accessibility_docs": null,
|
4937
4937
|
"is_form_component": false,
|
4938
4938
|
"is_published": true,
|
@@ -4982,7 +4982,7 @@
|
|
4982
4982
|
"subcomponents": [
|
4983
4983
|
{
|
4984
4984
|
"fully_qualified_name": "Primer::Alpha::NavList::Item",
|
4985
|
-
"description": "",
|
4985
|
+
"description": ":nodoc:",
|
4986
4986
|
"accessibility_docs": null,
|
4987
4987
|
"is_form_component": false,
|
4988
4988
|
"is_published": true,
|
@@ -5102,7 +5102,7 @@
|
|
5102
5102
|
},
|
5103
5103
|
{
|
5104
5104
|
"fully_qualified_name": "Primer::Alpha::NavList::Heading",
|
5105
|
-
"description": "",
|
5105
|
+
"description": ":nodoc:",
|
5106
5106
|
"accessibility_docs": null,
|
5107
5107
|
"is_form_component": false,
|
5108
5108
|
"is_published": true,
|
@@ -5154,7 +5154,7 @@
|
|
5154
5154
|
},
|
5155
5155
|
{
|
5156
5156
|
"fully_qualified_name": "Primer::Alpha::NavList::Divider",
|
5157
|
-
"description": "",
|
5157
|
+
"description": ":nodoc:",
|
5158
5158
|
"accessibility_docs": null,
|
5159
5159
|
"is_form_component": false,
|
5160
5160
|
"is_published": true,
|
@@ -5194,7 +5194,7 @@
|
|
5194
5194
|
},
|
5195
5195
|
{
|
5196
5196
|
"fully_qualified_name": "Primer::Alpha::NavList::Group",
|
5197
|
-
"description": "",
|
5197
|
+
"description": ":nodoc:",
|
5198
5198
|
"accessibility_docs": null,
|
5199
5199
|
"is_form_component": false,
|
5200
5200
|
"is_published": true,
|
@@ -5438,7 +5438,32 @@
|
|
5438
5438
|
|
5439
5439
|
],
|
5440
5440
|
"previews": [
|
5441
|
-
|
5441
|
+
{
|
5442
|
+
"preview_path": "primer/alpha/octicon_symbols/playground",
|
5443
|
+
"name": "playground",
|
5444
|
+
"snapshot": "false",
|
5445
|
+
"skip_rules": {
|
5446
|
+
"wont_fix": [
|
5447
|
+
"region"
|
5448
|
+
],
|
5449
|
+
"will_fix": [
|
5450
|
+
"color-contrast"
|
5451
|
+
]
|
5452
|
+
}
|
5453
|
+
},
|
5454
|
+
{
|
5455
|
+
"preview_path": "primer/alpha/octicon_symbols/default",
|
5456
|
+
"name": "default",
|
5457
|
+
"snapshot": "true",
|
5458
|
+
"skip_rules": {
|
5459
|
+
"wont_fix": [
|
5460
|
+
"region"
|
5461
|
+
],
|
5462
|
+
"will_fix": [
|
5463
|
+
"color-contrast"
|
5464
|
+
]
|
5465
|
+
}
|
5466
|
+
}
|
5442
5467
|
],
|
5443
5468
|
"subcomponents": [
|
5444
5469
|
|
@@ -10901,7 +10926,7 @@
|
|
10901
10926
|
},
|
10902
10927
|
{
|
10903
10928
|
"fully_qualified_name": "Primer::Beta::ClipboardCopy",
|
10904
|
-
"description": "Use `ClipboardCopy` to copy element text content or input values to the clipboard.",
|
10929
|
+
"description": "Use `ClipboardCopy` to copy element text content or input values to the clipboard.\n\nThis component by itself is not styled as a button, and can therefore only be used in limited circumstances.\nIf you're looking for a button, consider using {{#link_to_component}}Primer::Beta::ClipboardCopyButton{{/link_to_component}}\ninstead.",
|
10905
10930
|
"accessibility_docs": "Always set an accessible label to help the user interact with the component.",
|
10906
10931
|
"is_form_component": false,
|
10907
10932
|
"is_published": true,
|
@@ -11084,7 +11109,7 @@
|
|
11084
11109
|
"name": "system_arguments",
|
11085
11110
|
"type": "Hash",
|
11086
11111
|
"default": "N/A",
|
11087
|
-
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}}."
|
11112
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} and {{#link_to_component}}Primer::Beta::ClipboardCopy{{/link_to_component}}."
|
11088
11113
|
}
|
11089
11114
|
],
|
11090
11115
|
"slots": [
|
@@ -11909,12 +11934,6 @@
|
|
11909
11934
|
"default": "N/A",
|
11910
11935
|
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
11911
11936
|
},
|
11912
|
-
{
|
11913
|
-
"name": "wrapper_arguments",
|
11914
|
-
"type": "Hash",
|
11915
|
-
"default": "`{}`",
|
11916
|
-
"description": "Optional keyword arguments to be passed to the wrapper `<div>` tag."
|
11917
|
-
},
|
11918
11937
|
{
|
11919
11938
|
"name": "scheme",
|
11920
11939
|
"type": "Symbol",
|
@@ -14157,6 +14176,32 @@
|
|
14157
14176
|
"color-contrast"
|
14158
14177
|
]
|
14159
14178
|
}
|
14179
|
+
},
|
14180
|
+
{
|
14181
|
+
"preview_path": "primer/beta/subhead/large_header",
|
14182
|
+
"name": "large_header",
|
14183
|
+
"snapshot": "false",
|
14184
|
+
"skip_rules": {
|
14185
|
+
"wont_fix": [
|
14186
|
+
"region"
|
14187
|
+
],
|
14188
|
+
"will_fix": [
|
14189
|
+
"color-contrast"
|
14190
|
+
]
|
14191
|
+
}
|
14192
|
+
},
|
14193
|
+
{
|
14194
|
+
"preview_path": "primer/beta/subhead/medium_header",
|
14195
|
+
"name": "medium_header",
|
14196
|
+
"snapshot": "false",
|
14197
|
+
"skip_rules": {
|
14198
|
+
"wont_fix": [
|
14199
|
+
"region"
|
14200
|
+
],
|
14201
|
+
"will_fix": [
|
14202
|
+
"color-contrast"
|
14203
|
+
]
|
14204
|
+
}
|
14160
14205
|
}
|
14161
14206
|
],
|
14162
14207
|
"subcomponents": [
|
package/static/previews.json
CHANGED
@@ -4471,6 +4471,40 @@
|
|
4471
4471
|
}
|
4472
4472
|
]
|
4473
4473
|
},
|
4474
|
+
{
|
4475
|
+
"name": "octicon_symbols",
|
4476
|
+
"component": "OcticonSymbols",
|
4477
|
+
"status": "alpha",
|
4478
|
+
"lookup_path": "primer/alpha/octicon_symbols",
|
4479
|
+
"examples": [
|
4480
|
+
{
|
4481
|
+
"preview_path": "primer/alpha/octicon_symbols/playground",
|
4482
|
+
"name": "playground",
|
4483
|
+
"snapshot": "false",
|
4484
|
+
"skip_rules": {
|
4485
|
+
"wont_fix": [
|
4486
|
+
"region"
|
4487
|
+
],
|
4488
|
+
"will_fix": [
|
4489
|
+
"color-contrast"
|
4490
|
+
]
|
4491
|
+
}
|
4492
|
+
},
|
4493
|
+
{
|
4494
|
+
"preview_path": "primer/alpha/octicon_symbols/default",
|
4495
|
+
"name": "default",
|
4496
|
+
"snapshot": "true",
|
4497
|
+
"skip_rules": {
|
4498
|
+
"wont_fix": [
|
4499
|
+
"region"
|
4500
|
+
],
|
4501
|
+
"will_fix": [
|
4502
|
+
"color-contrast"
|
4503
|
+
]
|
4504
|
+
}
|
4505
|
+
}
|
4506
|
+
]
|
4507
|
+
},
|
4474
4508
|
{
|
4475
4509
|
"name": "overlay",
|
4476
4510
|
"component": "Overlay",
|
@@ -5622,6 +5656,32 @@
|
|
5622
5656
|
"color-contrast"
|
5623
5657
|
]
|
5624
5658
|
}
|
5659
|
+
},
|
5660
|
+
{
|
5661
|
+
"preview_path": "primer/beta/subhead/large_header",
|
5662
|
+
"name": "large_header",
|
5663
|
+
"snapshot": "false",
|
5664
|
+
"skip_rules": {
|
5665
|
+
"wont_fix": [
|
5666
|
+
"region"
|
5667
|
+
],
|
5668
|
+
"will_fix": [
|
5669
|
+
"color-contrast"
|
5670
|
+
]
|
5671
|
+
}
|
5672
|
+
},
|
5673
|
+
{
|
5674
|
+
"preview_path": "primer/beta/subhead/medium_header",
|
5675
|
+
"name": "medium_header",
|
5676
|
+
"snapshot": "false",
|
5677
|
+
"skip_rules": {
|
5678
|
+
"wont_fix": [
|
5679
|
+
"region"
|
5680
|
+
],
|
5681
|
+
"will_fix": [
|
5682
|
+
"color-contrast"
|
5683
|
+
]
|
5684
|
+
}
|
5625
5685
|
}
|
5626
5686
|
]
|
5627
5687
|
},
|