Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<action-menu data-select-variant="none" data-view-component="true">
<focus-group direction="vertical" mnemonics retain>
<button id="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-button" popovertarget="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-overlay" aria-controls="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-list" aria-haspopup="true" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content">
<span class="Button-label">Menu</span>
</span>
</button>
<anchored-position id="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-overlay" anchor="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true">
<div data-view-component="true" class="Overlay Overlay--size-auto">
<div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <action-list>
<div data-view-component="true">
<ul aria-labelledby="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-button" id="action-menu-43d5a0c4-b916-4f1c-bd0c-3c24d7ff2409-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<li data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<a tabindex="-1" id="item-42ed8913-61d6-4d6b-8340-5b18f1ce24a4" href="/" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Settings
</span>
</a>
</li>
<li data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<a tabindex="-1" id="item-884e55d0-026b-4de6-8f14-96d93dbb4d48" href="/" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Your repositories
</span>
</a>
</li>
<li data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem ActionListItem--disabled">
<button tabindex="-1" aria-disabled="true" id="item-029ea24e-5879-4257-9dc4-f6201b74a1c8" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Disabled
</span>
</button>
</li>
</ul>
</div>
</action-list>
</div>
</div>
</anchored-position> </focus-group>
</action-menu>
1
2
3
4
5
6
render(Primer::Alpha::ActionMenu.new) do |menu|
menu.with_show_button { "Menu" }
menu.with_item(label: "Settings", href: "/")
menu.with_item(label: "Your repositories", href: "/")
menu.with_item(label: "Disabled", href: "/", disabled: true)
end

No assets to display.