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
<div tabindex="0" role="status" class="Polaris-Banner Polaris-Banner--statusWarning Polaris-Banner--withinPage">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-inline-end-xs: var(--p-space-4)" class="Polaris-Box">
<span class="Polaris-Icon Polaris-Icon--colorWarning Polaris-Icon--applyColor">
<svg viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="M10 14a.75.75 0 0 1-.75-.75v-3.5a.75.75 0 0 1 1.5 0v3.5a.75.75 0 0 1-.75.75Z"></path><path d="M9 7a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z"></path><path fill-rule="evenodd" d="M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-1.5 0a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z"></path></svg>
</span>
</div>
<div class="Polaris-Banner__ContentWrapper">
<h2 class="Polaris-Text--root Polaris-Text--headingMd Polaris-Text--semibold Polaris-Text--break">
Before you can purchase a shipping label, this change needs to be made:
</h2>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-05);--pc-box-padding-block-start-xs: var(--p-space-05)" class="Polaris-Box">
<ul class="Polaris-List Polaris-List--spacingLoose">
<li class="Polaris-List__Item"> The name of the city you’re shipping to has characters that aren’t
allowed. City name can only include spaces and hyphens.
</li>
</ul>
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-start-xs: var(--p-space-4)" class="Polaris-Box">
<div class="Polaris-ButtonGroup">
<div class="Polaris-ButtonGroup__Item">
<div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-inline-end-xs: var(--p-space-2)" class="Polaris-Box">
<a href="#" data-controller="polaris-button" class="Polaris-Banner__Button Polaris-Banner__PrimaryAction Polaris-Button">
<span class="Polaris-Button__Content">
<div class="Polaris-Button__Text">
Edit address
</div>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
<%= polaris_banner(
title: "Before you can purchase a shipping label, this change needs to be made:",
status: :warning,
) do |banner| %>
<%= polaris_list do |list| %>
<% list.with_item do %>
The name of the city you’re shipping to has characters that aren’t
allowed. City name can only include spaces and hyphens.
<% end %>
<% end %>
<% banner.with_action(url: '#') { "Edit address" } %>
<% end %>