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
<div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-LegacyCard__Section"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br> <br> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div></div> <div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-LegacyCard__Section"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br> <br> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div></div> <div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-LegacyCard__Section"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br> <br> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div></div><div class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle"> <div class="Polaris-LegacyCard__Section"> <div data-controller="polaris-autocomplete" data-polaris-autocomplete-selected-value="[]"> <div data-polaris-autocomplete-target="popover" data-controller="polaris-popover" data-polaris-popover-append-to-body-value="false" data-polaris-popover-active-value="false" data-polaris-popover-placement-value="bottom-start" data-polaris-popover-text-field-activator-value="true" data-polaris-popover-open-class="Polaris-Popover__PopoverOverlay--open" data-polaris-popover-closed-class="Polaris-Popover__PopoverOverlay--closed"> <div data-polaris-popover-target="activator"> <div class="polaris-text-field-wrapper"> <div class="Polaris-Labelled__LabelWrapper"> <div class="Polaris-Label"> <label class="Polaris-Label__Text" for="tags">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-action="click->polaris-autocomplete#toggle click@window->polaris-popover#hide" data-controller="polaris-text-field" class="Polaris-TextField"> <div class="Polaris-TextField__Prefix"> <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="M12.323 13.383a5.5 5.5 0 1 1 1.06-1.06l2.897 2.897a.75.75 0 1 1-1.06 1.06l-2.897-2.897Zm.677-4.383a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"></path></svg> </span> </div> <input type="text" name="tags" id="tags" placeholder="Search" data-polaris-text-field-target="input" data-polaris-autocomplete-target="input" data-action="polaris-text-field#syncValue" class="Polaris-TextField__Input" /> <div class="Polaris-TextField__Backdrop"></div> </div> </div> </div> </div> <input type="hidden" id="" value="" data-polaris-autocomplete-target="hiddenInput" autocomplete="off" /> </div> <div data-polaris-popover-target="popover" class="Polaris-PositionedOverlay Polaris-Popover__PopoverOverlay Polaris-Popover__PopoverOverlay--closed"> <div class="Polaris-Popover Polaris-Popover--fullWidth"> <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> <ul data-polaris-autocomplete-target="results" data-controller="polaris-option-list" data-polaris-option-list-selected-class="Polaris-OptionList-Option--select" 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 Polaris-Box--listReset"> <li data-polaris-autocomplete-target="option" data-label="Rustic" tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update"> <div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;"> <div><input type="radio" id="_rustic" value="rustic" data-action="polaris-autocomplete#select" aria-checked="false" class="Polaris--hidden" />Rustic</div> </div> </label></li> <li data-polaris-autocomplete-target="option" data-label="Antique" tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update"> <div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;"> <div><input type="radio" id="_antique" value="antique" data-action="polaris-autocomplete#select" aria-checked="false" class="Polaris--hidden" />Antique</div> </div> </label></li> <li data-polaris-autocomplete-target="option" data-label="Vinyl" tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update"> <div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;"> <div><input type="radio" id="_vinyl" value="vinyl" data-action="polaris-autocomplete#select" aria-checked="false" class="Polaris--hidden" />Vinyl</div> </div> </label></li> <li data-polaris-autocomplete-target="option" data-label="Vintage" tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update"> <div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;"> <div><input type="radio" id="_vintage" value="vintage" data-action="polaris-autocomplete#select" aria-checked="false" class="Polaris--hidden" />Vintage</div> </div> </label></li> <li data-polaris-autocomplete-target="option" data-label="Refurbished" tabindex="-1" class="Polaris-OptionList-Option"> <label class="Polaris-OptionList-Option__SingleSelectOption" data-polaris-option-list-target="radioButton" data-action="click->polaris-option-list#update"> <div class="Polaris-OptionList-Option__Layout" style="justify-content: normal;"> <div><input type="radio" id="_refurbished" value="refurbished" data-action="polaris-autocomplete#select" aria-checked="false" class="Polaris--hidden" />Refurbished</div> </div> </label></li> </ul> <span data-polaris-scrollable-target="bottomEdge"></span> </div> </div> </div> <div class="Polaris-Popover__FocusTracker" tabindex="0"></div> </div> </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<% 3.times do %> <%= polaris_card do %> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br><br> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. <% end %><% end %><%= polaris_card do %> <%= polaris_autocomplete do |autocomplete| %> <% autocomplete.with_text_field(name: :tags, label: "Tags", placeholder: "Search") do |c| %> <% c.with_prefix do %> <%= polaris_icon(name: "SearchIcon") %> <% end %> <% end %> <% autocomplete.with_option(label: "Rustic", value: "rustic") %> <% autocomplete.with_option(label: "Antique", value: "antique") %> <% autocomplete.with_option(label: "Vinyl", value: "vinyl") %> <% autocomplete.with_option(label: "Vintage", value: "vintage") %> <% autocomplete.with_option(label: "Refurbished", value: "refurbished") %> <% end %><% end %>
No notes provided.
No params configured.