Polaris Web Components loaded from the Shopify CDN are moving to semantic versioning, read more about that change here.
You can test out the Polaris CDN 1.1 release candidate by updating the URL you load polaris from to this:
<script src="https://cdn.shopify.com/shopifycloud/polaris-1.1-rc.js"></script>
<script src="https://cdn.shopify.com/shopifycloud/polaris-1.1-rc.js"></script>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.
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?