|
16372 | 16372 | "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/page_header.rb", |
16373 | 16373 | "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/page_header/default/", |
16374 | 16374 | "parameters": [ |
16375 | | - |
| 16375 | + { |
| 16376 | + "name": "mobile_menu_label", |
| 16377 | + "type": "String", |
| 16378 | + "default": "`I18n.t(\"label_more\")`", |
| 16379 | + "description": "The tooltip label of the mobile menu" |
| 16380 | + }, |
| 16381 | + { |
| 16382 | + "name": "system_arguments", |
| 16383 | + "type": "Hash", |
| 16384 | + "default": "N/A", |
| 16385 | + "description": "{{link_to_system_arguments_docs}}" |
| 16386 | + } |
16376 | 16387 | ], |
16377 | 16388 | "slots": [ |
16378 | 16389 | { |
|
16412 | 16423 | } |
16413 | 16424 | ] |
16414 | 16425 | }, |
16415 | | - { |
16416 | | - "name": "context_bar_actions", |
16417 | | - "description": "Context Bar Actions\nBy default shown on narrow screens. Can be overridden with system_argument: display", |
16418 | | - "parameters": [ |
16419 | | - { |
16420 | | - "name": "system_arguments", |
16421 | | - "type": "Hash", |
16422 | | - "default": "N/A", |
16423 | | - "description": "{{link_to_system_arguments_docs}}" |
16424 | | - } |
16425 | | - ] |
16426 | | - }, |
16427 | 16426 | { |
16428 | 16427 | "name": "leading_action", |
16429 | 16428 | "description": "Optional leading action prepend the title\nBy default shown on wider screens. Can be overridden with system_argument: display", |
|
16442 | 16441 | } |
16443 | 16442 | ] |
16444 | 16443 | }, |
16445 | | - { |
16446 | | - "name": "parent_link", |
16447 | | - "description": "Optional parent link in the context area\nBy default shown on narrow screens. Can be overridden with system_argument: display", |
16448 | | - "parameters": [ |
16449 | | - { |
16450 | | - "name": "system_arguments", |
16451 | | - "type": "Hash", |
16452 | | - "default": "N/A", |
16453 | | - "description": "{{link_to_system_arguments_docs}}" |
16454 | | - } |
16455 | | - ] |
16456 | | - }, |
16457 | 16444 | { |
16458 | 16445 | "name": "breadcrumbs", |
16459 | 16446 | "description": "Optional breadcrumbs above the title row\nBy default shown on wider screens. Can be overridden with system_argument: display", |
@@ -16567,33 +16554,47 @@ |
16567 | 16554 | "color-contrast" |
16568 | 16555 | ] |
16569 | 16556 | } |
16570 | | - }, |
| 16557 | + } |
| 16558 | + ], |
| 16559 | + "subcomponents": [ |
| 16560 | + |
| 16561 | + ] |
| 16562 | + }, |
| 16563 | + { |
| 16564 | + "fully_qualified_name": "Primer::OpenProject::PageHeader::PageHeaderActionMenu", |
| 16565 | + "description": "A Helper class to create ActionMenus inside the PageHeader action slot", |
| 16566 | + "accessibility_docs": null, |
| 16567 | + "is_form_component": false, |
| 16568 | + "is_published": true, |
| 16569 | + "requires_js": false, |
| 16570 | + "component": "OpenProject::PageHeader::PageHeaderActionMenu", |
| 16571 | + "status": "alpha", |
| 16572 | + "a11y_reviewed": false, |
| 16573 | + "short_name": "OpenProjectPageHeaderPageHeaderActionMenu", |
| 16574 | + "source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/page_header/page_header_action_menu.rb", |
| 16575 | + "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/page_header/page_header_action_menu/default/", |
| 16576 | + "parameters": [ |
16571 | 16577 | { |
16572 | | - "preview_path": "primer/open_project/page_header/parent_link", |
16573 | | - "name": "parent_link", |
16574 | | - "snapshot": "false", |
16575 | | - "skip_rules": { |
16576 | | - "wont_fix": [ |
16577 | | - "region" |
16578 | | - ], |
16579 | | - "will_fix": [ |
16580 | | - "color-contrast" |
16581 | | - ] |
16582 | | - } |
| 16578 | + "name": "menu_arguments", |
| 16579 | + "type": "Hash", |
| 16580 | + "default": "`{}`", |
| 16581 | + "description": "The arguments accepted by {{#link_to_component}}Primer::Alpha::ActionMenu{{/link_to_component}}." |
16583 | 16582 | }, |
16584 | 16583 | { |
16585 | | - "preview_path": "primer/open_project/page_header/context_bar_actions", |
16586 | | - "name": "context_bar_actions", |
16587 | | - "snapshot": "false", |
16588 | | - "skip_rules": { |
16589 | | - "wont_fix": [ |
16590 | | - "region" |
16591 | | - ], |
16592 | | - "will_fix": [ |
16593 | | - "color-contrast" |
16594 | | - ] |
16595 | | - } |
| 16584 | + "name": "button_arguments", |
| 16585 | + "type": "Hash", |
| 16586 | + "default": "`{}`", |
| 16587 | + "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." |
16596 | 16588 | } |
| 16589 | + ], |
| 16590 | + "slots": [ |
| 16591 | + |
| 16592 | + ], |
| 16593 | + "methods": [ |
| 16594 | + |
| 16595 | + ], |
| 16596 | + "previews": [ |
| 16597 | + |
16597 | 16598 | ], |
16598 | 16599 | "subcomponents": [ |
16599 | 16600 |
|
|
0 commit comments