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
<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-width: 100%" class="Polaris-Box"> <div style="--pc-vertical-stack-align: ;--pc-vertical-stack-order: column" class="Polaris-VerticalStack"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Banner__TopBar Polaris-Box"> <div style="--pc-horizontal-stack-align: space-between;--pc-horizontal-stack-block-align: center;--pc-horizontal-stack-wrap: nowrap;--pc-horizontal-stack-gap-xs: var(--p-space-2)" class="Polaris-HorizontalStack"> <div style="--pc-horizontal-stack-align: ;--pc-horizontal-stack-wrap: nowrap;--pc-horizontal-stack-gap-xs: var(--p-space-1)" class="Polaris-HorizontalStack"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box"> <span class="Polaris-Icon Polaris-Icon--colorWarning 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="M10 6.75a.75.75 0 0 1 .75.75v3.5a.75.75 0 1 1-1.5 0v-3.5a.75.75 0 0 1 .75-.75Z"></path><path d="M11 13.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path><path fill-rule="evenodd" d="M10 3.5c-1.045 0-1.784.702-2.152 1.447a449.26 449.26 0 0 1-2.005 3.847l-.028.052a403.426 403.426 0 0 0-2.008 3.856c-.372.752-.478 1.75.093 2.614.57.863 1.542 1.184 2.464 1.184h7.272c.922 0 1.895-.32 2.464-1.184.57-.864.465-1.862.093-2.614-.21-.424-1.113-2.147-2.004-3.847l-.032-.061a429.497 429.497 0 0 1-2.005-3.847c-.368-.745-1.107-1.447-2.152-1.447Zm-.808 2.112c.404-.816 1.212-.816 1.616 0 .202.409 1.112 2.145 2.022 3.88a418.904 418.904 0 0 1 2.018 3.875c.404.817 0 1.633-1.212 1.633h-7.272c-1.212 0-1.617-.816-1.212-1.633.202-.408 1.113-2.147 2.023-3.883a421.932 421.932 0 0 0 2.017-3.872Z"></path></svg> </span> </div> <h2 class="Polaris-Text--root Polaris-Text--headingSm Polaris-Text--semibold Polaris-Text--break"> Some of your product variants are missing weights </h2> </div> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Banner__DismissButton Polaris-Box"> <a href="#" data-controller="polaris-button" class="Polaris-Button Polaris-Button--plain Polaris-Button--iconOnly"> <span class="Polaris-Button__Content"> <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 d="M12.72 13.78a.75.75 0 1 0 1.06-1.06l-2.72-2.72 2.72-2.72a.75.75 0 0 0-1.06-1.06l-2.72 2.72-2.72-2.72a.75.75 0 0 0-1.06 1.06l2.72 2.72-2.72 2.72a.75.75 0 1 0 1.06 1.06l2.72-2.72 2.72 2.72Z"></path></svg> </span> </div> </span> </a> </div> </div> </div> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid;--pc-box-padding-block-end-xs: var(--p-space-4);--pc-box-padding-block-start-xs: var(--p-space-4);--pc-box-padding-inline-end-xs: var(--p-space-4);--pc-box-padding-inline-start-xs: var(--p-space-4)" class="Polaris-Box"> <div style="--pc-vertical-stack-align: ;--pc-vertical-stack-order: column;--pc-vertical-stack-gap-xs: var(--p-space-3)" class="Polaris-Banner__ContentWrapper Polaris-VerticalStack"> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" class="Polaris-Box"> <p>Add weights to show accurate rates at checkout and when buying shipping labels in Shopify.</p> </div> <div style="--pc-box-border-color: transparent;--pc-box-border-style: solid" 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-1)" class="Polaris-Box"> <a href="#" data-controller="polaris-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Edit variant weights </div> </span> </a> </div> </div> <div class="Polaris-ButtonGroup__Item"> <a href="#" data-controller="polaris-button" class="Polaris-Button"> <span class="Polaris-Button__Content"> <div class="Polaris-Button__Text"> Learn more </div> </span> </a> </div> </div> </div> </div> </div> </div> </div></div>
1
2
3
4
5
6
7
8
9
10
11
<%= polaris_banner( title: "Some of your product variants are missing weights", status: :warning,) do |banner| %> <% banner.with_dismiss_button(url: "#") %> <p>Add weights to show accurate rates at checkout and when buying shipping labels in Shopify.</p> <% banner.with_action(url: '#') { "Edit variant weights" } %> <% banner.with_secondary_action(url: "#") { "Learn more" } %><% end %>
No notes provided.
No params configured.