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
<div style="height: 400px"></div>
<div style="position: relative">
<action-menu data-select-variant="none" data-view-component="true">
<focus-group direction="vertical" mnemonics retain>
<button id="action-menu-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-button" popovertarget="action-menu-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-overlay" aria-controls="action-menu-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-list" aria-haspopup="true" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content">
<span class="Button-label">Edit</span>
</span>
</button>
<anchored-position id="action-menu-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-overlay" anchor="action-menu-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-button" align="end" 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-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-button" id="action-menu-c25cd2b3-b44f-4d3b-b93e-6e0d97ff1bc7-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<li type="button" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button tabindex="-1" id="item-e8391b96-6001-434a-94a2-78be63543d19" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Rename
</span>
</button>
</li>
<li type="button" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem--danger ActionListItem">
<button tabindex="-1" id="item-f38f33b5-d99d-473c-86e2-fd772fb0ff65" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Remove
</span>
</button>
</li>
</ul>
</div>
</action-list>
</div>
</div>
</anchored-position> </focus-group>
</action-menu></div>
<div style="height: 1400px"></div>
1
2
3
4
5
6
7
8
9
10
11
<div style="height: 400px"></div>
<div style="position: relative">
<%= render Primer::Alpha::ActionMenu.new(anchor_align: :end) do |c| %>
<% c.with_show_button { "Edit" } %>
<% c.with_item(tag: :button, type: "button", label: "Rename") %>
<% c.with_item(tag: :button, type: "button", scheme: :danger, label: "Remove") %>
<% end %>
</div>
<div style="height: 1400px"></div>

No assets to display.