@primer/view-components 0.14.0-rc.2a361c96 → 0.14.0-rc.2ea4701c
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 +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/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 +8 -8
- package/static/arguments.json +75 -13
- package/static/audited_at.json +2 -0
- package/static/classes.json +6 -3
- package/static/constants.json +16 -1
- package/static/info_arch.json +316 -26
- package/static/previews.json +133 -0
- package/static/statuses.json +2 -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
|
|
@@ -9233,7 +9258,7 @@
|
|
9233
9258
|
"name": "size",
|
9234
9259
|
"type": "Integer",
|
9235
9260
|
"default": "`20`",
|
9236
|
-
"description": "One of `16`, `20`, `24`, `32`, `40`, `48`, or `80`."
|
9261
|
+
"description": "One of `16`, `20`, `24`, `32`, `40`, `48`, `64`, or `80`."
|
9237
9262
|
},
|
9238
9263
|
{
|
9239
9264
|
"name": "shape",
|
@@ -9378,6 +9403,19 @@
|
|
9378
9403
|
]
|
9379
9404
|
}
|
9380
9405
|
},
|
9406
|
+
{
|
9407
|
+
"preview_path": "primer/beta/avatar/size_64",
|
9408
|
+
"name": "size_64",
|
9409
|
+
"snapshot": "true",
|
9410
|
+
"skip_rules": {
|
9411
|
+
"wont_fix": [
|
9412
|
+
"region"
|
9413
|
+
],
|
9414
|
+
"will_fix": [
|
9415
|
+
"color-contrast"
|
9416
|
+
]
|
9417
|
+
}
|
9418
|
+
},
|
9381
9419
|
{
|
9382
9420
|
"preview_path": "primer/beta/avatar/size_80",
|
9383
9421
|
"name": "size_80",
|
@@ -9625,7 +9663,7 @@
|
|
9625
9663
|
"name": "tag",
|
9626
9664
|
"type": "Symbol",
|
9627
9665
|
"default": "`:button`",
|
9628
|
-
"description": "One of `:a`, `:button`, or `:summary`."
|
9666
|
+
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
9629
9667
|
},
|
9630
9668
|
{
|
9631
9669
|
"name": "type",
|
@@ -10400,6 +10438,12 @@
|
|
10400
10438
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/button.rb",
|
10401
10439
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/button/default/",
|
10402
10440
|
"parameters": [
|
10441
|
+
{
|
10442
|
+
"name": "base_button_class",
|
10443
|
+
"type": "Class",
|
10444
|
+
"default": "`Primer::Beta::BaseButton`",
|
10445
|
+
"description": "The button class to render."
|
10446
|
+
},
|
10403
10447
|
{
|
10404
10448
|
"name": "scheme",
|
10405
10449
|
"type": "Symbol",
|
@@ -10428,7 +10472,7 @@
|
|
10428
10472
|
"name": "tag",
|
10429
10473
|
"type": "Symbol",
|
10430
10474
|
"default": "`:button`",
|
10431
|
-
"description": "One of `:a`, `:button`, or `:summary`."
|
10475
|
+
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
10432
10476
|
},
|
10433
10477
|
{
|
10434
10478
|
"name": "type",
|
@@ -10771,19 +10815,43 @@
|
|
10771
10815
|
"slots": [
|
10772
10816
|
{
|
10773
10817
|
"name": "buttons",
|
10774
|
-
"description": "
|
10818
|
+
"description": "List of buttons to be rendered. Add buttons via the `#with_button` and `#with_clipboard_copy_button` methods (see below).",
|
10819
|
+
"parameters": [
|
10820
|
+
|
10821
|
+
]
|
10822
|
+
}
|
10823
|
+
],
|
10824
|
+
"methods": [
|
10825
|
+
{
|
10826
|
+
"name": "with_button",
|
10827
|
+
"description": "Adds a button.",
|
10775
10828
|
"parameters": [
|
10776
10829
|
{
|
10777
|
-
"name": "
|
10830
|
+
"name": "icon",
|
10831
|
+
"type": "Symbol",
|
10832
|
+
"default": "`nil`",
|
10833
|
+
"description": "If included, adds a {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}} with the given {{link_to_octicons}}. Otherwise, a {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} is added instead."
|
10834
|
+
},
|
10835
|
+
{
|
10836
|
+
"name": "system_arguments",
|
10778
10837
|
"type": "Hash",
|
10779
10838
|
"default": "N/A",
|
10780
|
-
"description": "The
|
10839
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} or {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}}, depending on the value of the `icon:` argument."
|
10840
|
+
}
|
10841
|
+
]
|
10842
|
+
},
|
10843
|
+
{
|
10844
|
+
"name": "with_clipboard_copy_button",
|
10845
|
+
"description": "Adds a {{#link_to_component}}Primer::Beta::ClipboardCopyButton{{/link_to_component}}.",
|
10846
|
+
"parameters": [
|
10847
|
+
{
|
10848
|
+
"name": "system_arguments",
|
10849
|
+
"type": "Hash",
|
10850
|
+
"default": "N/A",
|
10851
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::ClipboardCopyButton{{/link_to_component}}."
|
10781
10852
|
}
|
10782
10853
|
]
|
10783
10854
|
}
|
10784
|
-
],
|
10785
|
-
"methods": [
|
10786
|
-
|
10787
10855
|
],
|
10788
10856
|
"previews": [
|
10789
10857
|
{
|
@@ -10850,6 +10918,19 @@
|
|
10850
10918
|
"color-contrast"
|
10851
10919
|
]
|
10852
10920
|
}
|
10921
|
+
},
|
10922
|
+
{
|
10923
|
+
"preview_path": "primer/beta/button_group/with_clipboard_copy_button",
|
10924
|
+
"name": "with_clipboard_copy_button",
|
10925
|
+
"snapshot": "true",
|
10926
|
+
"skip_rules": {
|
10927
|
+
"wont_fix": [
|
10928
|
+
"region"
|
10929
|
+
],
|
10930
|
+
"will_fix": [
|
10931
|
+
"color-contrast"
|
10932
|
+
]
|
10933
|
+
}
|
10853
10934
|
}
|
10854
10935
|
],
|
10855
10936
|
"subcomponents": [
|
@@ -10858,7 +10939,7 @@
|
|
10858
10939
|
},
|
10859
10940
|
{
|
10860
10941
|
"fully_qualified_name": "Primer::Beta::ClipboardCopy",
|
10861
|
-
"description": "Use `ClipboardCopy` to copy element text content or input values to the clipboard.",
|
10942
|
+
"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.",
|
10862
10943
|
"accessibility_docs": "Always set an accessible label to help the user interact with the component.",
|
10863
10944
|
"is_form_component": false,
|
10864
10945
|
"is_published": true,
|
@@ -10959,6 +11040,195 @@
|
|
10959
11040
|
|
10960
11041
|
]
|
10961
11042
|
},
|
11043
|
+
{
|
11044
|
+
"fully_qualified_name": "Primer::Beta::ClipboardCopyBaseButton",
|
11045
|
+
"description": "Internal\n\n:nodoc:",
|
11046
|
+
"accessibility_docs": null,
|
11047
|
+
"is_form_component": false,
|
11048
|
+
"is_published": true,
|
11049
|
+
"requires_js": false,
|
11050
|
+
"component": "ClipboardCopyBaseButton",
|
11051
|
+
"status": "beta",
|
11052
|
+
"a11y_reviewed": false,
|
11053
|
+
"short_name": "ClipboardCopyBaseButton",
|
11054
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/clipboard_copy_base_button.rb",
|
11055
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/clipboard_copy_base_button/default/",
|
11056
|
+
"parameters": [
|
11057
|
+
{
|
11058
|
+
"name": "tag",
|
11059
|
+
"type": "Symbol",
|
11060
|
+
"default": "`:button`",
|
11061
|
+
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
11062
|
+
},
|
11063
|
+
{
|
11064
|
+
"name": "type",
|
11065
|
+
"type": "Symbol",
|
11066
|
+
"default": "`:button`",
|
11067
|
+
"description": "One of `:button`, `:reset`, or `:submit`."
|
11068
|
+
},
|
11069
|
+
{
|
11070
|
+
"name": "block",
|
11071
|
+
"type": "Boolean",
|
11072
|
+
"default": "`false`",
|
11073
|
+
"description": "Whether button is full-width with `display: block`."
|
11074
|
+
},
|
11075
|
+
{
|
11076
|
+
"name": "disabled",
|
11077
|
+
"type": "Boolean",
|
11078
|
+
"default": "`false`",
|
11079
|
+
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
11080
|
+
},
|
11081
|
+
{
|
11082
|
+
"name": "inactive",
|
11083
|
+
"type": "Boolean",
|
11084
|
+
"default": "`false`",
|
11085
|
+
"description": "Whether the button looks visually disabled, but can still accept all the same interactions as an enabled button."
|
11086
|
+
},
|
11087
|
+
{
|
11088
|
+
"name": "system_arguments",
|
11089
|
+
"type": "Hash",
|
11090
|
+
"default": "N/A",
|
11091
|
+
"description": "{{link_to_system_arguments_docs}}"
|
11092
|
+
}
|
11093
|
+
],
|
11094
|
+
"slots": [
|
11095
|
+
|
11096
|
+
],
|
11097
|
+
"methods": [
|
11098
|
+
|
11099
|
+
],
|
11100
|
+
"previews": [
|
11101
|
+
|
11102
|
+
],
|
11103
|
+
"subcomponents": [
|
11104
|
+
|
11105
|
+
]
|
11106
|
+
},
|
11107
|
+
{
|
11108
|
+
"fully_qualified_name": "Primer::Beta::ClipboardCopyButton",
|
11109
|
+
"description": "`ClipboardCopyButton` uses the `ClipboardCopy` component to copy text to the clipboard,\nstyled as a Primer button. It can be used wherever a button is desired, and works well\nwith components like `ButtonGroup`.",
|
11110
|
+
"accessibility_docs": null,
|
11111
|
+
"is_form_component": false,
|
11112
|
+
"is_published": true,
|
11113
|
+
"requires_js": false,
|
11114
|
+
"component": "ClipboardCopyButton",
|
11115
|
+
"status": "beta",
|
11116
|
+
"a11y_reviewed": false,
|
11117
|
+
"short_name": "ClipboardCopyButton",
|
11118
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/beta/clipboard_copy_button.rb",
|
11119
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/beta/clipboard_copy_button/default/",
|
11120
|
+
"parameters": [
|
11121
|
+
{
|
11122
|
+
"name": "system_arguments",
|
11123
|
+
"type": "Hash",
|
11124
|
+
"default": "N/A",
|
11125
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}} and {{#link_to_component}}Primer::Beta::ClipboardCopy{{/link_to_component}}."
|
11126
|
+
}
|
11127
|
+
],
|
11128
|
+
"slots": [
|
11129
|
+
{
|
11130
|
+
"name": "leading_visual",
|
11131
|
+
"description": "Leading visuals appear to the left of the button text.\n\nUse:\n\n- `leading_visual_icon` for a {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.\n\n- `leading_visual_svg` to render a SVG.",
|
11132
|
+
"parameters": [
|
11133
|
+
{
|
11134
|
+
"name": "system_arguments",
|
11135
|
+
"type": "Hash",
|
11136
|
+
"default": "N/A",
|
11137
|
+
"description": "Same arguments as {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}."
|
11138
|
+
}
|
11139
|
+
]
|
11140
|
+
},
|
11141
|
+
{
|
11142
|
+
"name": "trailing_visual",
|
11143
|
+
"description": "Trailing visuals appear to the right of the button text.\n\nUse:\n\n- `trailing_visual_counter` for a {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}.",
|
11144
|
+
"parameters": [
|
11145
|
+
{
|
11146
|
+
"name": "system_arguments",
|
11147
|
+
"type": "Hash",
|
11148
|
+
"default": "N/A",
|
11149
|
+
"description": "Same arguments as {{#link_to_component}}Primer::Beta::Counter{{/link_to_component}}."
|
11150
|
+
}
|
11151
|
+
]
|
11152
|
+
},
|
11153
|
+
{
|
11154
|
+
"name": "trailing_action",
|
11155
|
+
"description": "Trailing action appears to the right of the trailing visual.\n\nUse:\n\n- `trailing_action_icon` for a {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}.",
|
11156
|
+
"parameters": [
|
11157
|
+
{
|
11158
|
+
"name": "system_arguments",
|
11159
|
+
"type": "Hash",
|
11160
|
+
"default": "N/A",
|
11161
|
+
"description": "Same arguments as {{#link_to_component}}Primer::Beta::Octicon{{/link_to_component}}."
|
11162
|
+
}
|
11163
|
+
]
|
11164
|
+
},
|
11165
|
+
{
|
11166
|
+
"name": "tooltip",
|
11167
|
+
"description": "`Tooltip` that appears on mouse hover or keyboard focus over the button. Use tooltips sparingly and as a last resort.\n**Important:** This tooltip defaults to `type: :description`. In a few scenarios, `type: :label` may be more appropriate.\nConsult the {{#link_to_component}}Primer::Alpha::Tooltip{{/link_to_component}} documentation for more information.",
|
11168
|
+
"parameters": [
|
11169
|
+
{
|
11170
|
+
"name": "type",
|
11171
|
+
"type": "Symbol",
|
11172
|
+
"default": "`:description`",
|
11173
|
+
"description": "One of `:description` or `:label`."
|
11174
|
+
},
|
11175
|
+
{
|
11176
|
+
"name": "system_arguments",
|
11177
|
+
"type": "Hash",
|
11178
|
+
"default": "N/A",
|
11179
|
+
"description": "Same arguments as {{#link_to_component}}Primer::Alpha::Tooltip{{/link_to_component}}."
|
11180
|
+
}
|
11181
|
+
]
|
11182
|
+
}
|
11183
|
+
],
|
11184
|
+
"methods": [
|
11185
|
+
|
11186
|
+
],
|
11187
|
+
"previews": [
|
11188
|
+
{
|
11189
|
+
"preview_path": "primer/beta/clipboard_copy_button/playground",
|
11190
|
+
"name": "playground",
|
11191
|
+
"snapshot": "false",
|
11192
|
+
"skip_rules": {
|
11193
|
+
"wont_fix": [
|
11194
|
+
"region"
|
11195
|
+
],
|
11196
|
+
"will_fix": [
|
11197
|
+
"color-contrast"
|
11198
|
+
]
|
11199
|
+
}
|
11200
|
+
},
|
11201
|
+
{
|
11202
|
+
"preview_path": "primer/beta/clipboard_copy_button/default",
|
11203
|
+
"name": "default",
|
11204
|
+
"snapshot": "true",
|
11205
|
+
"skip_rules": {
|
11206
|
+
"wont_fix": [
|
11207
|
+
"region"
|
11208
|
+
],
|
11209
|
+
"will_fix": [
|
11210
|
+
"color-contrast"
|
11211
|
+
]
|
11212
|
+
}
|
11213
|
+
},
|
11214
|
+
{
|
11215
|
+
"preview_path": "primer/beta/clipboard_copy_button/with_tooltip",
|
11216
|
+
"name": "with_tooltip",
|
11217
|
+
"snapshot": "true",
|
11218
|
+
"skip_rules": {
|
11219
|
+
"wont_fix": [
|
11220
|
+
"region"
|
11221
|
+
],
|
11222
|
+
"will_fix": [
|
11223
|
+
"color-contrast"
|
11224
|
+
]
|
11225
|
+
}
|
11226
|
+
}
|
11227
|
+
],
|
11228
|
+
"subcomponents": [
|
11229
|
+
|
11230
|
+
]
|
11231
|
+
},
|
10962
11232
|
{
|
10963
11233
|
"fully_qualified_name": "Primer::Beta::CloseButton",
|
10964
11234
|
"description": "Use `CloseButton` to render an `×` without default button styles.\n\n[0]: https://primer.style/view-components/system-arguments#html-attributes",
|
@@ -11675,13 +11945,7 @@
|
|
11675
11945
|
"name": "tag",
|
11676
11946
|
"type": "Symbol",
|
11677
11947
|
"default": "N/A",
|
11678
|
-
"description": "One of `:a`, `:button`, or `:summary`."
|
11679
|
-
},
|
11680
|
-
{
|
11681
|
-
"name": "wrapper_arguments",
|
11682
|
-
"type": "Hash",
|
11683
|
-
"default": "`{}`",
|
11684
|
-
"description": "Optional keyword arguments to be passed to the wrapper `<div>` tag."
|
11948
|
+
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
11685
11949
|
},
|
11686
11950
|
{
|
11687
11951
|
"name": "scheme",
|
@@ -13925,6 +14189,32 @@
|
|
13925
14189
|
"color-contrast"
|
13926
14190
|
]
|
13927
14191
|
}
|
14192
|
+
},
|
14193
|
+
{
|
14194
|
+
"preview_path": "primer/beta/subhead/large_header",
|
14195
|
+
"name": "large_header",
|
14196
|
+
"snapshot": "false",
|
14197
|
+
"skip_rules": {
|
14198
|
+
"wont_fix": [
|
14199
|
+
"region"
|
14200
|
+
],
|
14201
|
+
"will_fix": [
|
14202
|
+
"color-contrast"
|
14203
|
+
]
|
14204
|
+
}
|
14205
|
+
},
|
14206
|
+
{
|
14207
|
+
"preview_path": "primer/beta/subhead/medium_header",
|
14208
|
+
"name": "medium_header",
|
14209
|
+
"snapshot": "false",
|
14210
|
+
"skip_rules": {
|
14211
|
+
"wont_fix": [
|
14212
|
+
"region"
|
14213
|
+
],
|
14214
|
+
"will_fix": [
|
14215
|
+
"color-contrast"
|
14216
|
+
]
|
14217
|
+
}
|
13928
14218
|
}
|
13929
14219
|
],
|
13930
14220
|
"subcomponents": [
|
@@ -14541,7 +14831,7 @@
|
|
14541
14831
|
"name": "tag",
|
14542
14832
|
"type": "Symbol",
|
14543
14833
|
"default": "`:button`",
|
14544
|
-
"description": "One of `:a`, `:button`, or `:summary`."
|
14834
|
+
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
14545
14835
|
},
|
14546
14836
|
{
|
14547
14837
|
"name": "type",
|
@@ -14740,7 +15030,7 @@
|
|
14740
15030
|
"name": "tag",
|
14741
15031
|
"type": "Symbol",
|
14742
15032
|
"default": "N/A",
|
14743
|
-
"description": "One of `:a`, `:button`, or `:summary`."
|
15033
|
+
"description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
|
14744
15034
|
},
|
14745
15035
|
{
|
14746
15036
|
"name": "type",
|
package/static/previews.json
CHANGED
@@ -1176,6 +1176,19 @@
|
|
1176
1176
|
]
|
1177
1177
|
}
|
1178
1178
|
},
|
1179
|
+
{
|
1180
|
+
"preview_path": "primer/beta/avatar/size_64",
|
1181
|
+
"name": "size_64",
|
1182
|
+
"snapshot": "true",
|
1183
|
+
"skip_rules": {
|
1184
|
+
"wont_fix": [
|
1185
|
+
"region"
|
1186
|
+
],
|
1187
|
+
"will_fix": [
|
1188
|
+
"color-contrast"
|
1189
|
+
]
|
1190
|
+
}
|
1191
|
+
},
|
1179
1192
|
{
|
1180
1193
|
"preview_path": "primer/beta/avatar/size_80",
|
1181
1194
|
"name": "size_80",
|
@@ -2196,6 +2209,19 @@
|
|
2196
2209
|
"color-contrast"
|
2197
2210
|
]
|
2198
2211
|
}
|
2212
|
+
},
|
2213
|
+
{
|
2214
|
+
"preview_path": "primer/beta/button_group/with_clipboard_copy_button",
|
2215
|
+
"name": "with_clipboard_copy_button",
|
2216
|
+
"snapshot": "true",
|
2217
|
+
"skip_rules": {
|
2218
|
+
"wont_fix": [
|
2219
|
+
"region"
|
2220
|
+
],
|
2221
|
+
"will_fix": [
|
2222
|
+
"color-contrast"
|
2223
|
+
]
|
2224
|
+
}
|
2199
2225
|
}
|
2200
2226
|
]
|
2201
2227
|
},
|
@@ -2556,6 +2582,53 @@
|
|
2556
2582
|
}
|
2557
2583
|
]
|
2558
2584
|
},
|
2585
|
+
{
|
2586
|
+
"name": "clipboard_copy_button",
|
2587
|
+
"component": "ClipboardCopyButton",
|
2588
|
+
"status": "beta",
|
2589
|
+
"lookup_path": "primer/beta/clipboard_copy_button",
|
2590
|
+
"examples": [
|
2591
|
+
{
|
2592
|
+
"preview_path": "primer/beta/clipboard_copy_button/playground",
|
2593
|
+
"name": "playground",
|
2594
|
+
"snapshot": "false",
|
2595
|
+
"skip_rules": {
|
2596
|
+
"wont_fix": [
|
2597
|
+
"region"
|
2598
|
+
],
|
2599
|
+
"will_fix": [
|
2600
|
+
"color-contrast"
|
2601
|
+
]
|
2602
|
+
}
|
2603
|
+
},
|
2604
|
+
{
|
2605
|
+
"preview_path": "primer/beta/clipboard_copy_button/default",
|
2606
|
+
"name": "default",
|
2607
|
+
"snapshot": "true",
|
2608
|
+
"skip_rules": {
|
2609
|
+
"wont_fix": [
|
2610
|
+
"region"
|
2611
|
+
],
|
2612
|
+
"will_fix": [
|
2613
|
+
"color-contrast"
|
2614
|
+
]
|
2615
|
+
}
|
2616
|
+
},
|
2617
|
+
{
|
2618
|
+
"preview_path": "primer/beta/clipboard_copy_button/with_tooltip",
|
2619
|
+
"name": "with_tooltip",
|
2620
|
+
"snapshot": "true",
|
2621
|
+
"skip_rules": {
|
2622
|
+
"wont_fix": [
|
2623
|
+
"region"
|
2624
|
+
],
|
2625
|
+
"will_fix": [
|
2626
|
+
"color-contrast"
|
2627
|
+
]
|
2628
|
+
}
|
2629
|
+
}
|
2630
|
+
]
|
2631
|
+
},
|
2559
2632
|
{
|
2560
2633
|
"name": "close_button",
|
2561
2634
|
"component": "CloseButton",
|
@@ -4411,6 +4484,40 @@
|
|
4411
4484
|
}
|
4412
4485
|
]
|
4413
4486
|
},
|
4487
|
+
{
|
4488
|
+
"name": "octicon_symbols",
|
4489
|
+
"component": "OcticonSymbols",
|
4490
|
+
"status": "alpha",
|
4491
|
+
"lookup_path": "primer/alpha/octicon_symbols",
|
4492
|
+
"examples": [
|
4493
|
+
{
|
4494
|
+
"preview_path": "primer/alpha/octicon_symbols/playground",
|
4495
|
+
"name": "playground",
|
4496
|
+
"snapshot": "false",
|
4497
|
+
"skip_rules": {
|
4498
|
+
"wont_fix": [
|
4499
|
+
"region"
|
4500
|
+
],
|
4501
|
+
"will_fix": [
|
4502
|
+
"color-contrast"
|
4503
|
+
]
|
4504
|
+
}
|
4505
|
+
},
|
4506
|
+
{
|
4507
|
+
"preview_path": "primer/alpha/octicon_symbols/default",
|
4508
|
+
"name": "default",
|
4509
|
+
"snapshot": "true",
|
4510
|
+
"skip_rules": {
|
4511
|
+
"wont_fix": [
|
4512
|
+
"region"
|
4513
|
+
],
|
4514
|
+
"will_fix": [
|
4515
|
+
"color-contrast"
|
4516
|
+
]
|
4517
|
+
}
|
4518
|
+
}
|
4519
|
+
]
|
4520
|
+
},
|
4414
4521
|
{
|
4415
4522
|
"name": "overlay",
|
4416
4523
|
"component": "Overlay",
|
@@ -5562,6 +5669,32 @@
|
|
5562
5669
|
"color-contrast"
|
5563
5670
|
]
|
5564
5671
|
}
|
5672
|
+
},
|
5673
|
+
{
|
5674
|
+
"preview_path": "primer/beta/subhead/large_header",
|
5675
|
+
"name": "large_header",
|
5676
|
+
"snapshot": "false",
|
5677
|
+
"skip_rules": {
|
5678
|
+
"wont_fix": [
|
5679
|
+
"region"
|
5680
|
+
],
|
5681
|
+
"will_fix": [
|
5682
|
+
"color-contrast"
|
5683
|
+
]
|
5684
|
+
}
|
5685
|
+
},
|
5686
|
+
{
|
5687
|
+
"preview_path": "primer/beta/subhead/medium_header",
|
5688
|
+
"name": "medium_header",
|
5689
|
+
"snapshot": "false",
|
5690
|
+
"skip_rules": {
|
5691
|
+
"wont_fix": [
|
5692
|
+
"region"
|
5693
|
+
],
|
5694
|
+
"will_fix": [
|
5695
|
+
"color-contrast"
|
5696
|
+
]
|
5697
|
+
}
|
5565
5698
|
}
|
5566
5699
|
]
|
5567
5700
|
},
|
package/static/statuses.json
CHANGED
@@ -73,6 +73,8 @@
|
|
73
73
|
"Primer::Beta::Button": "beta",
|
74
74
|
"Primer::Beta::ButtonGroup": "beta",
|
75
75
|
"Primer::Beta::ClipboardCopy": "beta",
|
76
|
+
"Primer::Beta::ClipboardCopyBaseButton": "beta",
|
77
|
+
"Primer::Beta::ClipboardCopyButton": "beta",
|
76
78
|
"Primer::Beta::CloseButton": "beta",
|
77
79
|
"Primer::Beta::Counter": "beta",
|
78
80
|
"Primer::Beta::Details": "beta",
|