Polaris Web Components 1.1 is now available on the stable Polaris CDN channels. This is the first minor release under the CDN's new semantic versioning model.
The following URLs now serve Polaris 1.1
<script src="https://cdn.shopify.com/shopifycloud/polaris.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/polaris-1.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/polaris.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/polaris-1.js"></script>Apps using polaris.js or polaris-1.js receive the update automatically. No action is required.
If you need to remain on this version, you can pin your app to Polaris 1.1:
<script src="https://cdn.shopify.com/shopifycloud/polaris-1.1.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/polaris-1.1.js"></script>What's new in Polaris 1.1
New components
. For empty lists, tables, and pages. Inside ait renders as a full-width message beneath the table headers.Number. Inline numeric text with tabular figures, so columns of numbers line up.Progress. Show how far a measurable task or goal has advanced.
New properties
onHeading,Paragraph, andText: Sets the text size directly.on: Show one month, two months, or let the picker decide. Acceptsauto,1, or2.onPage: Content placed before the main page content.
Bug fixes
- Overlays. The
show,hide,aftershow,afterhide, andaftertoggleevents no longer bubble, matchingtoggle. Listen on the overlay itself, or use the matchingon*properties. Also fixed overlays closing when a drag ends outside them. Page. Fixed header alignment and spacing, long heading truncation, print layout, and horizontal overflow on narrow screens.Modal. Fixed unintended dismissal when a click or drag crosses the modal edge, focus return, heading overflow, and behavior after a modal is moved in the page. Buttons now take theirvariantfrom the slot they sit in, and anyvariantyou set yourself still wins.PopoverandMenu. Fixed overflow scrolling, positioning, resizing after open, delayed hiding in Safari, and Escape closing an enclosing modal.Tooltip. Fixed positioning, off-center first render, inherited text color, and an error in browsers with partial Popover API support.. Fixed weekday headings and screen reader announcements across locales. Setting the samevalueback onto the picker, which controlled React components do after a selection, no longer fires a secondinputandchangeevent, soruns once instead of twice. The picker expands to fill the available width by default.Select. Fixed an empty value showing before the options parse.. Fixed the defaultmax. Now accepts scientific notation.. Fixed label alignment and keyboard shortcuts.. Fixed calendar dismissal in Safari. Now sizes like every other field.. Fixed single-click selection.- All fields. Fields with
autocomplete="off"now also tell password managers to skip them.
Deprecated
Related docs
Was this page helpful?