@primer/view-components 0.14.1-rc.758f7715 → 0.15.0-rc.2eb37d37
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/arguments.json +86 -1
- package/static/audited_at.json +4 -1
- package/static/constants.json +9 -0
- package/static/info_arch.json +216 -51
- package/static/previews.json +26 -0
- package/static/statuses.json +3 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.15.0-rc.2eb37d37",
|
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/arguments.json
CHANGED
@@ -386,12 +386,97 @@
|
|
386
386
|
]
|
387
387
|
},
|
388
388
|
{
|
389
|
-
"component": "ActionMenu::
|
389
|
+
"component": "ActionMenu::Group",
|
390
390
|
"status": "alpha",
|
391
391
|
"a11y_reviewed": true,
|
392
|
+
"short_name": "ActionMenuGroup",
|
393
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/group.rb",
|
394
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/group/default/",
|
395
|
+
"parameters": [
|
396
|
+
{
|
397
|
+
"name": "id",
|
398
|
+
"type": "String",
|
399
|
+
"default": "`self.class.generate_id`",
|
400
|
+
"description": "HTML ID value."
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"name": "role",
|
404
|
+
"type": "Boolean",
|
405
|
+
"default": "`nil`",
|
406
|
+
"description": "ARIA role describing the function of the list. listbox and menu are a common values."
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"name": "item_classes",
|
410
|
+
"type": "String",
|
411
|
+
"default": "`nil`",
|
412
|
+
"description": "Additional CSS classes to attach to items."
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"name": "scheme",
|
416
|
+
"type": "Symbol",
|
417
|
+
"default": "`:full`",
|
418
|
+
"description": "One of `:full` or `:inset`. `inset` children are offset (vertically and horizontally) from list edges. `full` (default) children are flush (vertically and horizontally) with list edges."
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"name": "show_dividers",
|
422
|
+
"type": "Boolean",
|
423
|
+
"default": "`false`",
|
424
|
+
"description": "Display a divider above each item in the list when it does not follow a header or divider."
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"name": "select_variant",
|
428
|
+
"type": "Symbol",
|
429
|
+
"default": "`:none`",
|
430
|
+
"description": "How items may be selected in the list. One of `:multiple`, `:multiple_checkbox`, `:none`, or `:single`."
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"name": "form_arguments",
|
434
|
+
"type": "Hash",
|
435
|
+
"default": "`{}`",
|
436
|
+
"description": "Allows an `ActionList` to act as a select list in multi- and single-select modes. Pass the `builder:` and `name:` options to this hash. `builder:` should be an instance of `ActionView::Helpers::FormBuilder`, which are created by the standard Rails `#form_with` and `#form_for` helpers. The `name:` option is the desired name of the field that will be included in the params sent to the server on form submission. *NOTE*: Consider using an [ActionMenu](/components/alpha/actionmenu) instead of using this feature directly."
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"name": "system_arguments",
|
440
|
+
"type": "Hash",
|
441
|
+
"default": "N/A",
|
442
|
+
"description": "[System arguments](/system-arguments)"
|
443
|
+
}
|
444
|
+
]
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"component": "ActionMenu::Heading",
|
448
|
+
"status": "alpha",
|
449
|
+
"a11y_reviewed": false,
|
450
|
+
"short_name": "ActionMenuHeading",
|
451
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/heading.rb",
|
452
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/heading/default/",
|
453
|
+
"parameters": [
|
454
|
+
|
455
|
+
]
|
456
|
+
},
|
457
|
+
{
|
458
|
+
"component": "ActionMenu::List",
|
459
|
+
"status": "alpha",
|
460
|
+
"a11y_reviewed": false,
|
392
461
|
"short_name": "ActionMenuList",
|
393
462
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/list.rb",
|
394
463
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/list/default/",
|
464
|
+
"parameters": [
|
465
|
+
{
|
466
|
+
"name": "system_arguments",
|
467
|
+
"type": "Hash",
|
468
|
+
"default": "N/A",
|
469
|
+
"description": "The arguments accepted by [ActionMenu::List](/components/alpha/actionmenulist)"
|
470
|
+
}
|
471
|
+
]
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"component": "ActionMenu::ListWrapper",
|
475
|
+
"status": "alpha",
|
476
|
+
"a11y_reviewed": true,
|
477
|
+
"short_name": "ActionMenuListWrapper",
|
478
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/list_wrapper.rb",
|
479
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/list_wrapper/default/",
|
395
480
|
"parameters": [
|
396
481
|
{
|
397
482
|
"name": "menu_id",
|
package/static/audited_at.json
CHANGED
@@ -8,7 +8,10 @@
|
|
8
8
|
"Primer::Alpha::ActionList::Heading": "",
|
9
9
|
"Primer::Alpha::ActionList::Item": "",
|
10
10
|
"Primer::Alpha::ActionMenu": "",
|
11
|
-
"Primer::Alpha::ActionMenu::
|
11
|
+
"Primer::Alpha::ActionMenu::Group": "2023-07-10",
|
12
|
+
"Primer::Alpha::ActionMenu::Heading": "",
|
13
|
+
"Primer::Alpha::ActionMenu::List": "",
|
14
|
+
"Primer::Alpha::ActionMenu::ListWrapper": "2023-07-10",
|
12
15
|
"Primer::Alpha::AutoComplete": "",
|
13
16
|
"Primer::Alpha::AutoComplete::Item": "",
|
14
17
|
"Primer::Alpha::Banner": "",
|
package/static/constants.json
CHANGED
@@ -125,13 +125,20 @@
|
|
125
125
|
"Primer::Alpha::ActionMenu": {
|
126
126
|
"DEFAULT_PRELOAD": false,
|
127
127
|
"DEFAULT_SELECT_VARIANT": "none",
|
128
|
+
"Group": "Primer::Alpha::ActionMenu::Group",
|
129
|
+
"Heading": "Primer::Alpha::ActionMenu::Heading",
|
128
130
|
"List": "Primer::Alpha::ActionMenu::List",
|
131
|
+
"ListWrapper": "Primer::Alpha::ActionMenu::ListWrapper",
|
129
132
|
"SELECT_VARIANT_OPTIONS": [
|
130
133
|
"single",
|
131
134
|
"multiple",
|
132
135
|
"none"
|
133
136
|
]
|
134
137
|
},
|
138
|
+
"Primer::Alpha::ActionMenu::Group": {
|
139
|
+
},
|
140
|
+
"Primer::Alpha::ActionMenu::Heading": {
|
141
|
+
},
|
135
142
|
"Primer::Alpha::ActionMenu::List": {
|
136
143
|
"DEFAULT_ITEM_TAG": "button",
|
137
144
|
"ITEM_TAG_OPTIONS": [
|
@@ -140,6 +147,8 @@
|
|
140
147
|
"button"
|
141
148
|
]
|
142
149
|
},
|
150
|
+
"Primer::Alpha::ActionMenu::ListWrapper": {
|
151
|
+
},
|
143
152
|
"Primer::Alpha::AutoComplete": {
|
144
153
|
"Item": "Primer::Alpha::AutoComplete::Item"
|
145
154
|
},
|
package/static/info_arch.json
CHANGED
@@ -264,11 +264,17 @@
|
|
264
264
|
"name": "heading",
|
265
265
|
"description": "Heading text rendered above the list of items.",
|
266
266
|
"parameters": [
|
267
|
+
{
|
268
|
+
"name": "component_klass",
|
269
|
+
"type": "Class",
|
270
|
+
"default": "N/A",
|
271
|
+
"description": "The class to use instead of the default {{#link_to_component}}Primer::Alpha::ActionList::Heading{{/link_to_component}}."
|
272
|
+
},
|
267
273
|
{
|
268
274
|
"name": "system_arguments",
|
269
275
|
"type": "Hash",
|
270
276
|
"default": "N/A",
|
271
|
-
"description": "The arguments accepted by
|
277
|
+
"description": "The arguments accepted by `component_klass`."
|
272
278
|
}
|
273
279
|
]
|
274
280
|
},
|
@@ -1374,6 +1380,32 @@
|
|
1374
1380
|
]
|
1375
1381
|
}
|
1376
1382
|
},
|
1383
|
+
{
|
1384
|
+
"preview_path": "primer/alpha/action_menu/with_groups",
|
1385
|
+
"name": "with_groups",
|
1386
|
+
"snapshot": "interactive",
|
1387
|
+
"skip_rules": {
|
1388
|
+
"wont_fix": [
|
1389
|
+
"region"
|
1390
|
+
],
|
1391
|
+
"will_fix": [
|
1392
|
+
"color-contrast"
|
1393
|
+
]
|
1394
|
+
}
|
1395
|
+
},
|
1396
|
+
{
|
1397
|
+
"preview_path": "primer/alpha/action_menu/with_items_and_groups",
|
1398
|
+
"name": "with_items_and_groups",
|
1399
|
+
"snapshot": "interactive",
|
1400
|
+
"skip_rules": {
|
1401
|
+
"wont_fix": [
|
1402
|
+
"region"
|
1403
|
+
],
|
1404
|
+
"will_fix": [
|
1405
|
+
"color-contrast"
|
1406
|
+
]
|
1407
|
+
}
|
1408
|
+
},
|
1377
1409
|
{
|
1378
1410
|
"preview_path": "primer/alpha/action_menu/wide",
|
1379
1411
|
"name": "wide",
|
@@ -1684,10 +1716,79 @@
|
|
1684
1716
|
"requires_js": false,
|
1685
1717
|
"component": "ActionMenu::List",
|
1686
1718
|
"status": "alpha",
|
1687
|
-
"a11y_reviewed":
|
1719
|
+
"a11y_reviewed": false,
|
1688
1720
|
"short_name": "ActionMenuList",
|
1689
1721
|
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/list.rb",
|
1690
1722
|
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/list/default/",
|
1723
|
+
"parameters": [
|
1724
|
+
{
|
1725
|
+
"name": "system_arguments",
|
1726
|
+
"type": "Hash",
|
1727
|
+
"default": "N/A",
|
1728
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::ActionMenu::List{{/link_to_component}}"
|
1729
|
+
}
|
1730
|
+
],
|
1731
|
+
"slots": [
|
1732
|
+
|
1733
|
+
],
|
1734
|
+
"methods": [
|
1735
|
+
{
|
1736
|
+
"name": "items",
|
1737
|
+
"description": "Returns the value of attribute items.",
|
1738
|
+
"parameters": [
|
1739
|
+
|
1740
|
+
]
|
1741
|
+
}
|
1742
|
+
],
|
1743
|
+
"previews": [
|
1744
|
+
|
1745
|
+
],
|
1746
|
+
"subcomponents": [
|
1747
|
+
|
1748
|
+
]
|
1749
|
+
},
|
1750
|
+
{
|
1751
|
+
"fully_qualified_name": "Primer::Alpha::ActionMenu::Heading",
|
1752
|
+
"description": "Heading used to describe groups within an action menu.",
|
1753
|
+
"accessibility_docs": null,
|
1754
|
+
"is_form_component": false,
|
1755
|
+
"is_published": true,
|
1756
|
+
"requires_js": false,
|
1757
|
+
"component": "ActionMenu::Heading",
|
1758
|
+
"status": "alpha",
|
1759
|
+
"a11y_reviewed": false,
|
1760
|
+
"short_name": "ActionMenuHeading",
|
1761
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/heading.rb",
|
1762
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/heading/default/",
|
1763
|
+
"parameters": [
|
1764
|
+
|
1765
|
+
],
|
1766
|
+
"slots": [
|
1767
|
+
|
1768
|
+
],
|
1769
|
+
"methods": [
|
1770
|
+
|
1771
|
+
],
|
1772
|
+
"previews": [
|
1773
|
+
|
1774
|
+
],
|
1775
|
+
"subcomponents": [
|
1776
|
+
|
1777
|
+
]
|
1778
|
+
},
|
1779
|
+
{
|
1780
|
+
"fully_qualified_name": "Primer::Alpha::ActionMenu::ListWrapper",
|
1781
|
+
"description": "This component is part of {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}} and should not be\nused as a standalone component.",
|
1782
|
+
"accessibility_docs": null,
|
1783
|
+
"is_form_component": false,
|
1784
|
+
"is_published": true,
|
1785
|
+
"requires_js": false,
|
1786
|
+
"component": "ActionMenu::ListWrapper",
|
1787
|
+
"status": "alpha",
|
1788
|
+
"a11y_reviewed": true,
|
1789
|
+
"short_name": "ActionMenuListWrapper",
|
1790
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/list_wrapper.rb",
|
1791
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/list_wrapper/default/",
|
1691
1792
|
"parameters": [
|
1692
1793
|
{
|
1693
1794
|
"name": "menu_id",
|
@@ -1707,11 +1808,17 @@
|
|
1707
1808
|
"name": "heading",
|
1708
1809
|
"description": "Heading text rendered above the list of items.",
|
1709
1810
|
"parameters": [
|
1811
|
+
{
|
1812
|
+
"name": "component_klass",
|
1813
|
+
"type": "Class",
|
1814
|
+
"default": "N/A",
|
1815
|
+
"description": "The class to use instead of the default {{#link_to_component}}Primer::Alpha::ActionList::Heading{{/link_to_component}}."
|
1816
|
+
},
|
1710
1817
|
{
|
1711
1818
|
"name": "system_arguments",
|
1712
1819
|
"type": "Hash",
|
1713
1820
|
"default": "N/A",
|
1714
|
-
"description": "The arguments accepted by
|
1821
|
+
"description": "The arguments accepted by `component_klass`."
|
1715
1822
|
}
|
1716
1823
|
]
|
1717
1824
|
},
|
@@ -1724,69 +1831,115 @@
|
|
1724
1831
|
}
|
1725
1832
|
],
|
1726
1833
|
"methods": [
|
1834
|
+
|
1835
|
+
],
|
1836
|
+
"previews": [
|
1837
|
+
|
1838
|
+
],
|
1839
|
+
"subcomponents": [
|
1840
|
+
|
1841
|
+
]
|
1842
|
+
},
|
1843
|
+
{
|
1844
|
+
"fully_qualified_name": "Primer::Alpha::ActionMenu::Group",
|
1845
|
+
"description": "This component is part of {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}} and should not be\nused as a standalone component.",
|
1846
|
+
"accessibility_docs": null,
|
1847
|
+
"is_form_component": false,
|
1848
|
+
"is_published": true,
|
1849
|
+
"requires_js": false,
|
1850
|
+
"component": "ActionMenu::Group",
|
1851
|
+
"status": "alpha",
|
1852
|
+
"a11y_reviewed": true,
|
1853
|
+
"short_name": "ActionMenuGroup",
|
1854
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_menu/group.rb",
|
1855
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_menu/group/default/",
|
1856
|
+
"parameters": [
|
1857
|
+
{
|
1858
|
+
"name": "id",
|
1859
|
+
"type": "String",
|
1860
|
+
"default": "`self.class.generate_id`",
|
1861
|
+
"description": "HTML ID value."
|
1862
|
+
},
|
1863
|
+
{
|
1864
|
+
"name": "role",
|
1865
|
+
"type": "Boolean",
|
1866
|
+
"default": "`nil`",
|
1867
|
+
"description": "ARIA role describing the function of the list. listbox and menu are a common values."
|
1868
|
+
},
|
1869
|
+
{
|
1870
|
+
"name": "item_classes",
|
1871
|
+
"type": "String",
|
1872
|
+
"default": "`nil`",
|
1873
|
+
"description": "Additional CSS classes to attach to items."
|
1874
|
+
},
|
1727
1875
|
{
|
1728
|
-
"name": "
|
1729
|
-
"
|
1876
|
+
"name": "scheme",
|
1877
|
+
"type": "Symbol",
|
1878
|
+
"default": "`:full`",
|
1879
|
+
"description": "One of `:full` or `:inset`. `inset` children are offset (vertically and horizontally) from list edges. `full` (default) children are flush (vertically and horizontally) with list edges."
|
1880
|
+
},
|
1881
|
+
{
|
1882
|
+
"name": "show_dividers",
|
1883
|
+
"type": "Boolean",
|
1884
|
+
"default": "`false`",
|
1885
|
+
"description": "Display a divider above each item in the list when it does not follow a header or divider."
|
1886
|
+
},
|
1887
|
+
{
|
1888
|
+
"name": "select_variant",
|
1889
|
+
"type": "Symbol",
|
1890
|
+
"default": "`:none`",
|
1891
|
+
"description": "How items may be selected in the list. One of `:multiple`, `:multiple_checkbox`, `:none`, or `:single`."
|
1892
|
+
},
|
1893
|
+
{
|
1894
|
+
"name": "form_arguments",
|
1895
|
+
"type": "Hash",
|
1896
|
+
"default": "`{}`",
|
1897
|
+
"description": "Allows an `ActionList` to act as a select list in multi- and single-select modes. Pass the `builder:` and `name:` options to this hash. `builder:` should be an instance of `ActionView::Helpers::FormBuilder`, which are created by the standard Rails `#form_with` and `#form_for` helpers. The `name:` option is the desired name of the field that will be included in the params sent to the server on form submission. *NOTE*: Consider using an {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}} instead of using this feature directly."
|
1898
|
+
},
|
1899
|
+
{
|
1900
|
+
"name": "system_arguments",
|
1901
|
+
"type": "Hash",
|
1902
|
+
"default": "N/A",
|
1903
|
+
"description": "{{link_to_system_arguments_docs}}"
|
1904
|
+
}
|
1905
|
+
],
|
1906
|
+
"slots": [
|
1907
|
+
{
|
1908
|
+
"name": "heading",
|
1909
|
+
"description": "Heading text rendered above the list of items.",
|
1730
1910
|
"parameters": [
|
1731
1911
|
{
|
1732
|
-
"name": "
|
1733
|
-
"type": "
|
1734
|
-
"default": "
|
1735
|
-
"description": "
|
1912
|
+
"name": "component_klass",
|
1913
|
+
"type": "Class",
|
1914
|
+
"default": "N/A",
|
1915
|
+
"description": "The class to use instead of the default {{#link_to_component}}Primer::Alpha::ActionList::Heading{{/link_to_component}}."
|
1736
1916
|
},
|
1737
1917
|
{
|
1738
1918
|
"name": "system_arguments",
|
1739
1919
|
"type": "Hash",
|
1740
1920
|
"default": "N/A",
|
1741
|
-
"description": "
|
1921
|
+
"description": "The arguments accepted by `component_klass`."
|
1742
1922
|
}
|
1743
1923
|
]
|
1744
1924
|
},
|
1745
1925
|
{
|
1746
|
-
"name": "
|
1747
|
-
"description": "
|
1926
|
+
"name": "items",
|
1927
|
+
"description": "Items. Items can be individual items, avatar items, or dividers. See the documentation for `#with_item`, `#with_divider`, and `#with_avatar_item` respectively for more information.",
|
1928
|
+
"parameters": [
|
1929
|
+
|
1930
|
+
]
|
1931
|
+
}
|
1932
|
+
],
|
1933
|
+
"methods": [
|
1934
|
+
{
|
1935
|
+
"name": "with_heading",
|
1936
|
+
"description": "Heading text rendered above the list of items.",
|
1748
1937
|
"parameters": [
|
1749
|
-
{
|
1750
|
-
"name": "src",
|
1751
|
-
"type": "String",
|
1752
|
-
"default": "N/A",
|
1753
|
-
"description": "The source url of the avatar image."
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"name": "username",
|
1757
|
-
"type": "String",
|
1758
|
-
"default": "N/A",
|
1759
|
-
"description": "The username associated with the avatar."
|
1760
|
-
},
|
1761
|
-
{
|
1762
|
-
"name": "full_name",
|
1763
|
-
"type": "String",
|
1764
|
-
"default": "`nil`",
|
1765
|
-
"description": "Optional. The user's full name."
|
1766
|
-
},
|
1767
|
-
{
|
1768
|
-
"name": "full_name_scheme",
|
1769
|
-
"type": "Symbol",
|
1770
|
-
"default": "`:block`",
|
1771
|
-
"description": "Optional. How to display the user's full name. One of `:block` or `:inline`."
|
1772
|
-
},
|
1773
|
-
{
|
1774
|
-
"name": "data",
|
1775
|
-
"type": "Hash",
|
1776
|
-
"default": "`{}`",
|
1777
|
-
"description": "When the menu is used as a form input (see the {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}} docs), the label is submitted to the server by default. However, if the `data: { value: }` or `\"data-value\":` attribute is provided, it will be sent to the server instead."
|
1778
|
-
},
|
1779
|
-
{
|
1780
|
-
"name": "avatar_arguments",
|
1781
|
-
"type": "Hash",
|
1782
|
-
"default": "`{}`",
|
1783
|
-
"description": "Optional. The arguments accepted by {{#link_to_component}}Primer::Beta::Avatar{{/link_to_component}}."
|
1784
|
-
},
|
1785
1938
|
{
|
1786
1939
|
"name": "system_arguments",
|
1787
1940
|
"type": "Hash",
|
1788
1941
|
"default": "N/A",
|
1789
|
-
"description": "
|
1942
|
+
"description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::ActionMenu::Heading{{/link_to_component}}."
|
1790
1943
|
}
|
1791
1944
|
]
|
1792
1945
|
}
|
@@ -5266,11 +5419,17 @@
|
|
5266
5419
|
"name": "heading",
|
5267
5420
|
"description": "Heading text rendered above the list of items.",
|
5268
5421
|
"parameters": [
|
5422
|
+
{
|
5423
|
+
"name": "component_klass",
|
5424
|
+
"type": "Class",
|
5425
|
+
"default": "N/A",
|
5426
|
+
"description": "The class to use instead of the default {{#link_to_component}}Primer::Alpha::ActionList::Heading{{/link_to_component}}."
|
5427
|
+
},
|
5269
5428
|
{
|
5270
5429
|
"name": "system_arguments",
|
5271
5430
|
"type": "Hash",
|
5272
5431
|
"default": "N/A",
|
5273
|
-
"description": "The arguments accepted by
|
5432
|
+
"description": "The arguments accepted by `component_klass`."
|
5274
5433
|
}
|
5275
5434
|
]
|
5276
5435
|
}
|
@@ -13191,11 +13350,17 @@
|
|
13191
13350
|
"name": "heading",
|
13192
13351
|
"description": "Heading text rendered above the list of items.",
|
13193
13352
|
"parameters": [
|
13353
|
+
{
|
13354
|
+
"name": "component_klass",
|
13355
|
+
"type": "Class",
|
13356
|
+
"default": "N/A",
|
13357
|
+
"description": "The class to use instead of the default {{#link_to_component}}Primer::Alpha::ActionList::Heading{{/link_to_component}}."
|
13358
|
+
},
|
13194
13359
|
{
|
13195
13360
|
"name": "system_arguments",
|
13196
13361
|
"type": "Hash",
|
13197
13362
|
"default": "N/A",
|
13198
|
-
"description": "The arguments accepted by
|
13363
|
+
"description": "The arguments accepted by `component_klass`."
|
13199
13364
|
}
|
13200
13365
|
]
|
13201
13366
|
}
|
package/static/previews.json
CHANGED
@@ -424,6 +424,32 @@
|
|
424
424
|
]
|
425
425
|
}
|
426
426
|
},
|
427
|
+
{
|
428
|
+
"preview_path": "primer/alpha/action_menu/with_groups",
|
429
|
+
"name": "with_groups",
|
430
|
+
"snapshot": "interactive",
|
431
|
+
"skip_rules": {
|
432
|
+
"wont_fix": [
|
433
|
+
"region"
|
434
|
+
],
|
435
|
+
"will_fix": [
|
436
|
+
"color-contrast"
|
437
|
+
]
|
438
|
+
}
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"preview_path": "primer/alpha/action_menu/with_items_and_groups",
|
442
|
+
"name": "with_items_and_groups",
|
443
|
+
"snapshot": "interactive",
|
444
|
+
"skip_rules": {
|
445
|
+
"wont_fix": [
|
446
|
+
"region"
|
447
|
+
],
|
448
|
+
"will_fix": [
|
449
|
+
"color-contrast"
|
450
|
+
]
|
451
|
+
}
|
452
|
+
},
|
427
453
|
{
|
428
454
|
"preview_path": "primer/alpha/action_menu/wide",
|
429
455
|
"name": "wide",
|
package/static/statuses.json
CHANGED
@@ -8,7 +8,10 @@
|
|
8
8
|
"Primer::Alpha::ActionList::Heading": "alpha",
|
9
9
|
"Primer::Alpha::ActionList::Item": "alpha",
|
10
10
|
"Primer::Alpha::ActionMenu": "alpha",
|
11
|
+
"Primer::Alpha::ActionMenu::Group": "alpha",
|
12
|
+
"Primer::Alpha::ActionMenu::Heading": "alpha",
|
11
13
|
"Primer::Alpha::ActionMenu::List": "alpha",
|
14
|
+
"Primer::Alpha::ActionMenu::ListWrapper": "alpha",
|
12
15
|
"Primer::Alpha::AutoComplete": "deprecated",
|
13
16
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
14
17
|
"Primer::Alpha::Banner": "alpha",
|