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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<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"> <action-list>
<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">
<action-list>
<div data-view-component="true">
<div data-view-component="true" class="ActionList-sectionDivider">
<div id="heading-title-a57099aa-96d7-44ef-a1f9-f33c2f4b4cfb" data-view-component="true" class="ActionList-sectionDivider-title">
Battlestar Galactica
</div>
</div>
<ul id="group-cabe7088-5d24-4473-82b1-39f10d9516a6" role="group" aria-labelledby="heading-title-a57099aa-96d7-44ef-a1f9-f33c2f4b4cfb" data-view-component="true" class="ActionListWrap">
<li data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-d05540f0-52a2-45cd-85fb-3004ff325152" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-dbfc57e6-e1b4-4839-abef-83f3c9efa3be" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-a251d90a-b8b1-455e-b863-2f52b9797ae4" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-36d702d4-7676-4811-ad93-39bd5791a492" 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>
</action-list>
<action-list>
<div data-view-component="true">
<div data-view-component="true" class="ActionList-sectionDivider">
<div id="heading-title-91abc13a-2ae3-4758-b3d8-65538e84d5cf" data-view-component="true" class="ActionList-sectionDivider-title">
Star Trek
</div>
</div>
<ul id="group-555138f0-6d3f-4665-923a-d988da78f965" role="group" aria-labelledby="heading-title-91abc13a-2ae3-4758-b3d8-65538e84d5cf" data-view-component="true" class="ActionListWrap">
<li data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-d44110c3-dfde-4397-bcda-2dadeb641d7c" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-0e9df912-0820-45aa-ba15-ca805f37ed1e" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-1dd8b34f-b086-49c4-9def-7ee428f570a2" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-0062e61d-7abe-4646-a53f-0ef8a8e0af82" 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>
</action-list>
<action-list>
<div data-view-component="true">
<div data-view-component="true" class="ActionList-sectionDivider">
<div id="heading-title-7c566aa2-0d96-4630-902b-f88e8959ad19" data-view-component="true" class="ActionList-sectionDivider-title">
Star Wars
</div>
</div>
<ul id="group-6084da1c-1e8f-4da7-8d47-a2f01a27eb22" role="group" aria-labelledby="heading-title-7c566aa2-0d96-4630-902b-f88e8959ad19" data-view-component="true" class="ActionListWrap">
<li data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem">
<button id="item-e93b6772-49a6-4a43-ab33-9890323f4240" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-d64d7c3b-8606-407c-b5c5-21015a30188b" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-056a6071-43ea-4b9a-a106-655bb0ff2485" 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" role="none" data-view-component="true" class="ActionListItem">
<button id="item-4ab51c4b-2813-45af-aacc-5ad13aab651a" type="button" role="menuitem" data-view-component="true" class="ActionListContent">
<span data-view-component="true" class="ActionListItem-label">
Chewbacca
</span>
</button>
</li>
</ul>
</div>
</action-list>
</ul>
</div>
</action-list>
</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.