@primer/view-components 0.14.0-rc.46753db3 → 0.14.0-rc.5d5fd4d2

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.
Files changed (44) hide show
  1. package/app/assets/javascripts/primer_view_components.js +1 -1
  2. package/app/assets/javascripts/primer_view_components.js.map +1 -1
  3. package/app/assets/styles/primer_view_components.css +1 -1
  4. package/app/assets/styles/primer_view_components.css.map +1 -1
  5. package/app/components/primer/alpha/action_bar.css +1 -1
  6. package/app/components/primer/alpha/action_bar.css.json +1 -4
  7. package/app/components/primer/alpha/action_bar_element.js +21 -9
  8. package/app/components/primer/alpha/action_list.css +1 -1
  9. package/app/components/primer/alpha/action_menu/action_menu_element.js +44 -20
  10. package/app/components/primer/alpha/auto_complete.css +1 -1
  11. package/app/components/primer/alpha/button_marketing.css +1 -1
  12. package/app/components/primer/alpha/dropdown.css +1 -1
  13. package/app/components/primer/alpha/layout.css +1 -1
  14. package/app/components/primer/alpha/menu.css +1 -1
  15. package/app/components/primer/alpha/overlay.css +1 -1
  16. package/app/components/primer/alpha/overlay.css.json +0 -1
  17. package/app/components/primer/alpha/segmented_control.css +1 -1
  18. package/app/components/primer/alpha/segmented_control.css.json +0 -1
  19. package/app/components/primer/alpha/segmented_control.js +2 -1
  20. package/app/components/primer/alpha/tab_nav.css +1 -1
  21. package/app/components/primer/alpha/text_field.css +1 -1
  22. package/app/components/primer/alpha/toggle_switch.css +1 -1
  23. package/app/components/primer/alpha/underline_nav.css +1 -1
  24. package/app/components/primer/alpha/x_banner.js +2 -1
  25. package/app/components/primer/anchored_position.js +2 -1
  26. package/app/components/primer/beta/blankslate.css +1 -1
  27. package/app/components/primer/beta/blankslate.css.json +1 -0
  28. package/app/components/primer/beta/border_box.css +1 -1
  29. package/app/components/primer/beta/button.css +1 -1
  30. package/app/components/primer/beta/button.css.json +0 -1
  31. package/app/components/primer/beta/button_group.css +1 -1
  32. package/app/components/primer/beta/button_group.css.json +2 -4
  33. package/app/components/primer/beta/label.css +1 -1
  34. package/app/components/primer/beta/link.css +1 -1
  35. package/app/components/primer/beta/nav_list.js +14 -7
  36. package/app/components/primer/beta/subhead.css +1 -1
  37. package/app/components/primer/beta/subhead.css.json +2 -0
  38. package/app/components/primer/focus_group.js +2 -1
  39. package/package.json +6 -6
  40. package/static/arguments.json +3 -9
  41. package/static/classes.json +6 -3
  42. package/static/constants.json +10 -0
  43. package/static/info_arch.json +74 -16
  44. package/static/previews.json +73 -0
@@ -3165,7 +3165,7 @@
3165
3165
  "name": "subtitle",
3166
3166
  "type": "String",
3167
3167
  "default": "`nil`",
3168
- "description": "Provides dditional context for the dialog, also setting the `aria-describedby` attribute."
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",
@@ -10901,7 +10939,7 @@
10901
10939
  },
10902
10940
  {
10903
10941
  "fully_qualified_name": "Primer::Beta::ClipboardCopy",
10904
- "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.",
10905
10943
  "accessibility_docs": "Always set an accessible label to help the user interact with the component.",
10906
10944
  "is_form_component": false,
10907
10945
  "is_published": true,
@@ -11084,7 +11122,7 @@
11084
11122
  "name": "system_arguments",
11085
11123
  "type": "Hash",
11086
11124
  "default": "N/A",
11087
- "description": "The arguments accepted by {{#link_to_component}}Primer::Beta::Button{{/link_to_component}}."
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}}."
11088
11126
  }
11089
11127
  ],
11090
11128
  "slots": [
@@ -11909,12 +11947,6 @@
11909
11947
  "default": "N/A",
11910
11948
  "description": "One of `:a`, `:button`, `:clipboard-copy`, or `:summary`."
11911
11949
  },
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
11950
  {
11919
11951
  "name": "scheme",
11920
11952
  "type": "Symbol",
@@ -14157,6 +14189,32 @@
14157
14189
  "color-contrast"
14158
14190
  ]
14159
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
+ }
14160
14218
  }
14161
14219
  ],
14162
14220
  "subcomponents": [
@@ -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",
@@ -4471,6 +4484,40 @@
4471
4484
  }
4472
4485
  ]
4473
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
+ },
4474
4521
  {
4475
4522
  "name": "overlay",
4476
4523
  "component": "Overlay",
@@ -5622,6 +5669,32 @@
5622
5669
  "color-contrast"
5623
5670
  ]
5624
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
+ }
5625
5698
  }
5626
5699
  ]
5627
5700
  },