|
4610 | 4610 | "description": null, |
4611 | 4611 | "parameters": [] |
4612 | 4612 | }, |
| 4613 | + { |
| 4614 | + "name": "trailing_action", |
| 4615 | + "description": null, |
| 4616 | + "parameters": [] |
| 4617 | + }, |
4613 | 4618 | { |
4614 | 4619 | "name": "trailing_visual", |
4615 | 4620 | "description": null, |
|
4645 | 4650 | "description": null, |
4646 | 4651 | "parameters": [] |
4647 | 4652 | }, |
| 4653 | + { |
| 4654 | + "name": "trailing_action", |
| 4655 | + "description": null, |
| 4656 | + "parameters": [] |
| 4657 | + }, |
4648 | 4658 | { |
4649 | 4659 | "name": "trailing_visual", |
4650 | 4660 | "description": null, |
|
10900 | 10910 | "previews": [], |
10901 | 10911 | "subcomponents": [] |
10902 | 10912 | }, |
| 10913 | + { |
| 10914 | + "fully_qualified_name": "Primer::Alpha::TreeView::TrailingAction", |
| 10915 | + "description": "The trailing action for `TreeView` nodes.\n\nThis component is part of the {{#link_to_component}}Primer::Alpha::TreeView{{/link_to_component}} component and should\nnot be used directly.", |
| 10916 | + "accessibility_docs": null, |
| 10917 | + "is_form_component": false, |
| 10918 | + "is_published": true, |
| 10919 | + "requires_js": false, |
| 10920 | + "component": "TreeView::TrailingAction", |
| 10921 | + "status": "alpha", |
| 10922 | + "a11y_reviewed": false, |
| 10923 | + "short_name": "TreeViewTrailingAction", |
| 10924 | + "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/tree_view/trailing_action.rb", |
| 10925 | + "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/tree_view/trailing_action/default/", |
| 10926 | + "parameters": [ |
| 10927 | + { |
| 10928 | + "name": "action", |
| 10929 | + "type": "ViewComponent::Base", |
| 10930 | + "default": "N/A", |
| 10931 | + "description": "A component or other renderable to use as the action button etc." |
| 10932 | + } |
| 10933 | + ], |
| 10934 | + "slots": [], |
| 10935 | + "methods": [], |
| 10936 | + "previews": [], |
| 10937 | + "subcomponents": [] |
| 10938 | + }, |
10903 | 10939 | { |
10904 | 10940 | "fully_qualified_name": "Primer::Alpha::TreeView::SubTreeContainer", |
10905 | 10941 | "description": "This component is part of the {{#link_to_component}}Primer::Alpha::TreeView{{/link_to_component}} component and should\nnot be used directly.", |
|
11240 | 11276 | "description": "Generic leading action slot", |
11241 | 11277 | "parameters": [] |
11242 | 11278 | }, |
| 11279 | + { |
| 11280 | + "name": "trailing_action", |
| 11281 | + "description": "Generic trailing action slot", |
| 11282 | + "parameters": [] |
| 11283 | + }, |
11243 | 11284 | { |
11244 | 11285 | "name": "leading_visual", |
11245 | 11286 | "description": "Generic leading visual slot", |
|
11545 | 11586 | "description": null, |
11546 | 11587 | "parameters": [] |
11547 | 11588 | }, |
| 11589 | + { |
| 11590 | + "name": "trailing_action", |
| 11591 | + "description": null, |
| 11592 | + "parameters": [] |
| 11593 | + }, |
11548 | 11594 | { |
11549 | 11595 | "name": "trailing_visual", |
11550 | 11596 | "description": null, |
|
11584 | 11630 | ], |
11585 | 11631 | "return_types": [] |
11586 | 11632 | }, |
| 11633 | + { |
| 11634 | + "name": "with_trailing_action_button", |
| 11635 | + "description": "Adds a trailing action rendered to the right of the node's content.", |
| 11636 | + "parameters": [ |
| 11637 | + { |
| 11638 | + "name": "system_arguments", |
| 11639 | + "type": "Hash", |
| 11640 | + "default": "N/A", |
| 11641 | + "description": "The arguments accepted by {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}}." |
| 11642 | + } |
| 11643 | + ], |
| 11644 | + "return_types": [] |
| 11645 | + }, |
11587 | 11646 | { |
11588 | 11647 | "name": "with_trailing_visual_icon", |
11589 | 11648 | "description": "Adds a trailing visual icon rendered to the right of the node's label.", |
|
11675 | 11734 | "description": null, |
11676 | 11735 | "parameters": [] |
11677 | 11736 | }, |
| 11737 | + { |
| 11738 | + "name": "trailing_action", |
| 11739 | + "description": null, |
| 11740 | + "parameters": [] |
| 11741 | + }, |
11678 | 11742 | { |
11679 | 11743 | "name": "trailing_visual", |
11680 | 11744 | "description": null, |
|
11733 | 11797 | ], |
11734 | 11798 | "return_types": [] |
11735 | 11799 | }, |
| 11800 | + { |
| 11801 | + "name": "with_trailing_action_button", |
| 11802 | + "description": "Adds a trailing action rendered to the right of the node's content.", |
| 11803 | + "parameters": [ |
| 11804 | + { |
| 11805 | + "name": "system_arguments", |
| 11806 | + "type": "Hash", |
| 11807 | + "default": "N/A", |
| 11808 | + "description": "The arguments accepted by {{#link_to_component}}Primer::Beta::IconButton{{/link_to_component}}." |
| 11809 | + } |
| 11810 | + ], |
| 11811 | + "return_types": [] |
| 11812 | + }, |
11736 | 11813 | { |
11737 | 11814 | "name": "with_trailing_visual_icon", |
11738 | 11815 | "description": "Adds a trailing visual icon rendered to the right of the node's label.", |
|
20435 | 20512 | ] |
20436 | 20513 | } |
20437 | 20514 | }, |
| 20515 | + { |
| 20516 | + "preview_path": "primer/open_project/filterable_tree_view/link_nodes", |
| 20517 | + "name": "link_nodes", |
| 20518 | + "snapshot": "false", |
| 20519 | + "skip_rules": { |
| 20520 | + "wont_fix": [ |
| 20521 | + "region" |
| 20522 | + ], |
| 20523 | + "will_fix": [ |
| 20524 | + "color-contrast" |
| 20525 | + ] |
| 20526 | + } |
| 20527 | + }, |
20438 | 20528 | { |
20439 | 20529 | "preview_path": "primer/open_project/filterable_tree_view/hide_checkbox", |
20440 | 20530 | "name": "hide_checkbox", |
|
0 commit comments