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
<div style="max-width: 300px" class="Polaris-LegacyCard Polaris-LegacyCard--withoutTitle">
<ul 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 style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box">
<div style="--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">
<p class="Polaris-Text--root Polaris-Text--headingXs Polaris-Text--semibold">
Inventory Location
</p>
</div>
<div style="" class="Polaris-Bleed">
<ul style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box Polaris-Box--listReset">
<li tabindex="-1" class="Polaris-OptionList-Option"><label class="Polaris-OptionList-Option__Label">
<div class="Polaris-LegacyStack Polaris-LegacyStack--spacingExtraTight">
<div class="Polaris-LegacyStack__Item"> <span class="Polaris-Icon Polaris-Icon--colorPrimary Polaris-Icon--applyColor">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M6.25 10a.75.75 0 0 1 .75-.75h2.25v-2.25a.75.75 0 0 1 1.5 0v2.25h2.25a.75.75 0 0 1 0 1.5h-2.25v2.25a.75.75 0 0 1-1.5 0v-2.25h-2.25a.75.75 0 0 1-.75-.75Z"></path><path fill-rule="evenodd" d="M10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0-1.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Z"></path></svg>
</span>
</div>
<div class="Polaris-LegacyStack__Item"> <span class="Polaris-Text--root Polaris-Text--bodyMd Polaris-Text--semibold">
Add
</span>
</div>
</div>
</label></li>
</ul>
</div>
</li>
</ul>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%= polaris_card(sectioned: false, style: "max-width: 300px") do %>
<%= polaris_option_list(title: "Inventory Location") do |list| %>
<% list.with_option do %>
<%= polaris_stack(spacing: :extra_tight) do |stack| %>
<% stack.with_item do %>
<%= polaris_icon(name: "PlusCircleIcon", color: :primary) %>
<% end %>
<% stack.with_item do %>
<%= polaris_text_strong { "Add" } %>
<% end %>
<% end %>
<% end %>
<% end %>
<% end %>