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
<div data-controller="polaris-popover" data-polaris-popover-append-to-body-value="false" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom" data-polaris-popover-text-field-activator-value="false" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed" style="display: inline-block;"> <div data-polaris-popover-target="activator"> <button data-action="polaris-popover#toggle click@window->polaris-popover#hide" data-controller="polaris-button" type="button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> More actions </div> <div class="Polaris-Button__Icon"> <span class="Polaris-Icon"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M6.24 8.2a.75.75 0 0 1 1.06.04l2.7 2.908 2.7-2.908a.75.75 0 1 1 1.1 1.02l-3.25 3.5a.75.75 0 0 1-1.1 0l-3.25-3.5a.75.75 0 0 1 .04-1.06Z"></path></svg> </span> </div> </span> </button> </div> <div data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed"> <div class="Polaris-Popover"> <div class="Polaris-Popover__FocusTracker" tabindex="0"></div> <div class="Polaris-Popover__ContentContainer"> <div tabindex="-1" class="Polaris-Popover__Content"> <div data-polaris-scrollable-shadow-value="true" data-polaris-scrollable-top-shadow-class="Polaris-Scrollable--hasTopShadow" data-polaris-scrollable-bottom-shadow-class="Polaris-Scrollable--hasBottomShadow" data-controller="polaris-scrollable" style="" class="Polaris-Popover__Pane Polaris-Scrollable Polaris-Scrollable--vertical"> <span data-polaris-scrollable-target="topEdge"></span> <div class="Polaris-Popover__Section"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-2);--pc-box-padding-block-start-xs: var(--p-space-2);--pc-box-padding-inline-end-xs: var(--p-space-2);--pc-box-padding-inline-start-xs: var(--p-space-2)" class="Polaris-Box"> <div class="Polaris-FormLayout"> <div class="Polaris-FormLayout__Item"> <div class=""> <div class="Polaris-Labelled__LabelWrapper"> <div class="Polaris-Label"> <label class="Polaris-Label__Text">Show all customers where:</label> </div> </div> <div data-controller="polaris-select" data-selected-value="" class="Polaris-Select"> <select id="" class="Polaris-Select__Input" data-polaris-select-target="select" data-action="polaris-select#update"><option value="tagged_with">Tagged with</option></select> <div class="Polaris-Select__Content" aria-hidden="true" > <span class="Polaris-Select__SelectedOption" data-polaris-select-target="selectedOption" > </span> <span class="Polaris-Select__Icon"> <span class="Polaris-Icon"> <svg viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"> <path d="M10 16l-4-4h8l-4 4zm0-12l4 4H6l4-4z"></path> </svg> </span> </span> </div> <div class="Polaris-Select__Backdrop"></div> </div> </div> </div> <div class="Polaris-FormLayout__Item"> <div class="polaris-text-field-wrapper"> <div class="Polaris-Labelled__LabelWrapper"> <div class="Polaris-Label"> <label class="Polaris-Label__Text">Tags</label> </div> </div> <div class="Polaris-Connected"> <div class="Polaris-Connected__Item Polaris-Connected__Item--primary"> <div data-polaris-text-field-has-value-class="Polaris-TextField--hasValue" data-polaris-text-field-clear-button-hidden-class="Polaris-TextField__Hidden" data-controller="polaris-text-field" class="Polaris-TextField"> <input type="text" id="" data-polaris-text-field-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" /> <div class="Polaris-TextField__Backdrop"></div> </div> </div> </div> </div> </div> <div class="Polaris-FormLayout__Item"> <button type="button" data-controller="polaris-button" class="Polaris-Button Polaris-Button--sizeSlim"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Add filter </div> </span> </button> </div> </div> </div> </div> <span data-polaris-scrollable-target="bottomEdge"></span> </div> </div> </div> <div class="Polaris-Popover__FocusTracker" tabindex="0"></div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<%= polaris_popover(sectioned: true) do |popover| %> <% popover.with_button(disclosure: true) { "More actions" } %> <%= polaris_form_layout do |form_layout| %> <% form_layout.with_item do %> <%= polaris_select( label: "Show all customers where:", options: { "Tagged with" => "tagged_with", }, ) %> <% end %> <% form_layout.with_item do %> <%= polaris_text_field(label: "Tags") %> <% end %> <% form_layout.with_item do %> <%= polaris_button(size: :slim) { "Add filter" } %> <% end %> <% end %><% end %>
No notes provided.
No params configured.