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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<action-menu data-select-variant="none" data-view-component="true">
<focus-group direction="vertical" mnemonics retain>
<button id="menu-1-button" popovertarget="menu-1-overlay" aria-controls="menu-1-list" aria-haspopup="true" type="button" data-view-component="true" class="Button--secondary Button--medium Button"> <span class="Button-content">
<span class="Button-label">Favorite character</span>
</span>
<span class="Button-visual Button-trailingAction">
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-triangle-down">
<path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path>
</svg>
</span>
</button>
<anchored-position id="menu-1-overlay" anchor="menu-1-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">
<div data-view-component="true">
<ul aria-labelledby="menu-1-button" id="menu-1-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap">
<div data-view-component="true">
<div data-view-component="true" class="ActionList-sectionDivider">
<div id="heading-title-97c67b4c-75d3-400f-821e-7c5c530cf249" data-view-component="true" class="ActionList-sectionDivider-title">
Battlestar Galactica
</div>
</div>
<ul id="group-aaa3f3f9-07b3-4637-8d7c-8dd0d44d77ee" role="group" aria-labelledby="heading-title-97c67b4c-75d3-400f-821e-7c5c530cf249" data-view-component="true" class="ActionListWrap">
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-fd8e3190-72fd-48db-842f-d1df3e5abcd3" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
William Adama
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-549b76a4-0b8d-4c1f-8e17-fd2ca9348dfa" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Kara "Starbuck" Thrace
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-e040eac1-2fd6-4872-a1c1-407569b5b521" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Sharon "Boomer" Valerii
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-b2f0e654-7931-470b-8280-222c21a301ba" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Gaius Baltar
</span></button>
</li>
</ul>
</div>
<div data-view-component="true">
<div data-view-component="true" class="ActionList-sectionDivider">
<div id="heading-title-69b682bb-adfd-4e55-ac4e-e92e08e15d2f" data-view-component="true" class="ActionList-sectionDivider-title">
Star Trek
</div>
</div>
<ul id="group-ee6d92b6-a8ff-49d3-8ddf-bc810a3ed338" role="group" aria-labelledby="heading-title-69b682bb-adfd-4e55-ac4e-e92e08e15d2f" data-view-component="true" class="ActionListWrap">
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-1191099e-3d62-4d0e-b9ec-29588d775087" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Capt. Jean-luc Picard
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-b7f88a65-fb45-47cc-9c95-034c6099d69a" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Capt. Kathryn M. Janeway
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-87dbb7f7-22ac-415e-b22e-0af3e25866c8" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Capt. Benjamin L. Sisko
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-1f4e2098-86e7-4634-af07-03c6c3fe9ac7" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Capt. James T. Kirk
</span></button>
</li>
</ul>
</div>
<div data-view-component="true">
<div data-view-component="true" class="ActionList-sectionDivider">
<div id="heading-title-864a29dc-cdd4-4c14-8de4-02e9deb66818" data-view-component="true" class="ActionList-sectionDivider-title">
Star Wars
</div>
</div>
<ul id="group-e1bf7404-51c7-4157-8323-1593cf22ede5" role="group" aria-labelledby="heading-title-864a29dc-cdd4-4c14-8de4-02e9deb66818" data-view-component="true" class="ActionListWrap">
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-5c03af8e-6ea3-4198-a68e-35f3357dea34" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Leia Organa
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-6a7ce677-cc72-430b-9485-0b9c793e3d4c" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Luke Skywalker
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-6fdf8663-4001-4be0-82a4-de9452cea9d6" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Han Solo
</span></button>
</li>
<li data-targets="action-list.items action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-24d2ebe5-f835-455e-86a6-2da66683857e" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Chewbacca
</span></button>
</li>
</ul>
</div>
</ul>
</div>
</div>
</div>
</anchored-position> </focus-group>
</action-menu>
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
render(Primer::Alpha::ActionMenu.new(menu_id: "menu-1")) do |menu|
menu.with_show_button do |button|
button.with_trailing_action_icon(icon: :"triangle-down")
"Favorite character"
end
menu.with_group do |group|
group.with_heading(title: "Battlestar Galactica")
group.with_item(label: "William Adama")
group.with_item(label: 'Kara "Starbuck" Thrace')
group.with_item(label: 'Sharon "Boomer" Valerii')
group.with_item(label: "Gaius Baltar")
end
menu.with_group do |group|
group.with_heading(title: "Star Trek")
group.with_item(label: "Capt. Jean-luc Picard")
group.with_item(label: "Capt. Kathryn M. Janeway")
group.with_item(label: "Capt. Benjamin L. Sisko")
group.with_item(label: "Capt. James T. Kirk")
end
menu.with_group do |group|
group.with_heading(title: "Star Wars")
group.with_item(label: "Leia Organa")
group.with_item(label: "Luke Skywalker")
group.with_item(label: "Han Solo")
group.with_item(label: "Chewbacca")
end
end

No assets to display.