polaris

Shopify’s design system to help us work together to build a great experience for all of our merchants.

OTHER License

Downloads
1.7M
Stars
5.8K
Committers
497

Bot releases are hidden (Show)

polaris - [email protected]

Published by alex-page 6 months ago

Major Changes

  • #11844 a89e61478 Thanks @jesstelford! - Miniumum required node version updated to v20.10.0. No action required if using the extension in VSCode.
polaris - @shopify/[email protected]

Published by alex-page 6 months ago

Major Changes

polaris - @shopify/[email protected]

Published by alex-page 6 months ago

Major Changes

polaris - @shopify/[email protected]

Published by alex-page 6 months ago

Major Changes

polaris - @shopify/[email protected]

Published by alex-page 6 months ago

Major Changes

polaris - @shopify/[email protected]

Published by lgriffee 8 months ago

Minor Changes

polaris - @shopify/[email protected]

Published by lgriffee 8 months ago

Minor Changes

  • #11602 ae04f0d37 Thanks @mrcthms! - Updated Page sub-components to only restrict the width of the subtitle if secondary actions or action groups are present

Patch Changes

polaris - @shopify/[email protected]

Published by aaronccasanova over 2 years ago

Patch Changes

polaris - @shopify/[email protected]

Published by aaronccasanova over 2 years ago

Patch Changes

polaris - @shopify/[email protected]

Published by aaronccasanova over 2 years ago

Minor Changes

Patch Changes

  • #6039 a1b5ce122 Thanks @jorgenunezsiri! - Fixed rolled up action groups to include section title.
    • Fixed action items inside action groups to be disabled if the action group is disabled.
polaris - @shopify/[email protected]

Published by aaronccasanova over 2 years ago

Minor Changes

Patch Changes

polaris - @shopify/[email protected]

Published by aaronccasanova over 2 years ago

Minor Changes

Patch Changes

  • #6029 c779008f8 Thanks @kyledurand! - Fixed a bug in Image where the loading class wasn't reliably getting removed on load due to server side rendering
polaris - @shopify/[email protected]

Published by alex-page over 2 years ago

🛑 Unsafe release

This release stops all CSS animations from working in @shopify/polaris. A fix is coming soon. Thank you @mbaumbach for flagging this regression in https://github.com/Shopify/polaris/issues/5985.

Minor Changes

Patch Changes

  • #5874 814bef39e Thanks @kyledurand! - Fixed an accessibility bug in modal where clicking or tapping the backdrop would not close the modal
polaris - @shopify/[email protected]

Published by alex-page over 2 years ago

Patch Changes

polaris - v9.8.0

Published by alex-page over 2 years ago

Enhancements

  • Ported internal breakpoint and layout functions to SCSS variables (#5722)
  • Added extraSmall to the available sizes of the Thumbnail and SkeletonThumbnail (#5770)
  • Updated experimental breakpoint values (#5804, #5830)
  • Added support for tooltips on Navigation items (#5750)
  • Change types for DataTable totalsName prop to allow for ReactNode (#5454)
  • Implemented accessibility role and attributes in SettingToggle (#5470)

Bug fixes

  • Fixed vertical scroll on small screens in EmptyState (#5779)
  • Fixed broken links in documentation (#5824)
  • Fixed key prop error introduced in sticky header (#5826)

Documentation

  • Replaced deprecationNotice with notice object (#5841)
polaris - v9.7.0

Published by alex-page over 2 years ago

Enhancements

  • Replaced hardcoded padding or margin values with spacing tokens (#5528)
  • Added border-width-4 and border-width-5 tokens and replaced hardcoded values (#5528)
  • Replaced any hardcoded outline-width with border-width (#5528)
  • Added the ability to disable specific dates in the DatePicker, to go along with date ranges (#5356)
  • Added breakpoint CSS custom properties and SCSS media conditions (#5558)
  • Replaced 768px breakpoint mixins and variables with custom media conditions (#5629)
  • Added customListId prop to Listbox (5627)
  • Pass domId as an argument to onActiveOptionChange prop on Listbox (5627)
  • Adding min-height to Popover.Pane when the Popover contains a height prop (#5685)
  • Adjusted a hardcoded padding value for FileUpload and replaced it with a spacing token (#5675)
  • Added disable prop to the action groups title of the Page header (#5702)
  • Added onClick prop to the action groups title of the Page header (#5751)

Bug fixes

  • Used prop-provided selectable value in IndexTable (#5661)
  • Fixed passing inline styles to the root element of the CustomProperties component (#5661)
  • Replaced incorrect usage of aria-expanded on Collapsible with aria-hidden (#5661)
  • Removed usage of deprecated and removed in v18 React types (#5704)
  • Fixed plain-button-backdrop background color on colored backgrounds (#5687)
  • Fixed scrolling bug in DataTable sticky header (#5700)

Documentation

  • Added wrapper with height on Combobox example for autocomplete with loading (#5624)

Dependency upgrades

  • Removed lodash (#5544)
  • Uses more permissive dependency for @types/react and @types/react-dom (#5575)

Code quality

  • Replaced skeleton-content and thumbnail-size mixins with css values (#5630)
polaris - tokens-v5.0.1

Published by romellogoodman over 2 years ago

polaris - polaris-tokens-v5.0.0

Published by romellogoodman over 2 years ago

Polaris Tokens v5.0.0 features an overhaul of the package and the APIs for accessing tokens. Documentation on all of the available tokens can be found at polaris.shopify.com/tokens/getting-started-with-tokens.

The Sass variables, maps, functions, mixins, and CSS Filters have all been removed. In addition to deprecating access to tokens via the Rails assets pipelines. This new version leverages JavaScript objects for each Token Group which are passed through various build transforms to compose the distributed artifacts.

This new version standardizes the token naming across all of the package outputs. Each token is formatted in kebab-case following common CSS variable name conventions.

polaris - v9.5.2

Published by alex-page over 2 years ago

Bug fixes

  • Fixed documentation example for ComboBox (#5622)
polaris - v9.5.1

Published by alex-page over 2 years ago

Bug fixes

  • Fixed default Pip color in Badge (#5616)