From 845c59a3ffcd07bab701d3e3cf7acfbd55e7aef2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Oct 2023 04:27:01 +0000 Subject: [PATCH] Version Packages --- .changeset/chilly-grapes-enjoy.md | 5 -- .changeset/dirty-pugs-retire.md | 5 -- .changeset/dry-dancers-brush.md | 5 -- .changeset/dull-pans-give.md | 5 -- .changeset/empty-baboons-rule.md | 5 -- .changeset/fair-rocks-occur.md | 5 -- .changeset/fair-walls-sparkle.md | 5 -- .changeset/fast-suits-jog.md | 5 -- .changeset/few-starfishes-notice.md | 7 -- .changeset/fifty-wombats-battle.md | 5 -- .changeset/five-cooks-fly.md | 5 -- .changeset/fuzzy-coats-study.md | 6 -- .changeset/fuzzy-pears-jog.md | 5 -- .changeset/gentle-suns-relax.md | 5 -- .changeset/healthy-boxes-wave.md | 5 -- .changeset/honest-stingrays-act.md | 5 -- .changeset/hot-apples-press.md | 14 ---- .changeset/kind-phones-yell.md | 5 -- .changeset/lemon-bees-confess.md | 7 -- .changeset/light-gorillas-smell.md | 5 -- .changeset/light-seahorses-sit.md | 5 -- .changeset/loud-hounds-fetch.md | 5 -- .changeset/mean-bananas-warn.md | 5 -- .changeset/moody-terms-provide.md | 5 -- .changeset/nice-zoos-vanish.md | 5 -- .changeset/olive-clouds-pretend.md | 5 -- .changeset/popular-pumas-sin.md | 5 -- .changeset/pre.json | 62 ----------------- .changeset/proud-parrots-yawn.md | 5 -- .changeset/quick-icons-joke.md | 6 -- .changeset/rotten-comics-think.md | 5 -- .changeset/short-kids-buy.md | 5 -- .changeset/short-schools-run.md | 5 -- .changeset/silent-brooms-confess.md | 5 -- .changeset/silly-ligers-heal.md | 5 -- .changeset/slow-experts-flash.md | 5 -- .changeset/spicy-pugs-begin.md | 5 -- .changeset/tall-chicken-repeat.md | 5 -- .changeset/tiny-avocados-enjoy.md | 5 -- .changeset/twenty-bags-mate.md | 5 -- .changeset/wild-dodos-refuse.md | 5 -- .changeset/wise-pianos-unite.md | 5 -- polaris-for-vscode/package.json | 2 +- polaris-migrator/package.json | 6 +- polaris-react/CHANGELOG.md | 100 ++++++++++++++++++++++++++++ polaris-react/README.md | 4 +- polaris-react/package.json | 4 +- polaris-tokens/CHANGELOG.md | 16 +++++ polaris-tokens/package.json | 2 +- polaris.shopify.com/package.json | 4 +- stylelint-polaris/CHANGELOG.md | 7 ++ stylelint-polaris/package.json | 4 +- 52 files changed, 136 insertions(+), 295 deletions(-) delete mode 100644 .changeset/chilly-grapes-enjoy.md delete mode 100644 .changeset/dirty-pugs-retire.md delete mode 100644 .changeset/dry-dancers-brush.md delete mode 100644 .changeset/dull-pans-give.md delete mode 100644 .changeset/empty-baboons-rule.md delete mode 100644 .changeset/fair-rocks-occur.md delete mode 100644 .changeset/fair-walls-sparkle.md delete mode 100644 .changeset/fast-suits-jog.md delete mode 100644 .changeset/few-starfishes-notice.md delete mode 100644 .changeset/fifty-wombats-battle.md delete mode 100644 .changeset/five-cooks-fly.md delete mode 100644 .changeset/fuzzy-coats-study.md delete mode 100644 .changeset/fuzzy-pears-jog.md delete mode 100644 .changeset/gentle-suns-relax.md delete mode 100644 .changeset/healthy-boxes-wave.md delete mode 100644 .changeset/honest-stingrays-act.md delete mode 100644 .changeset/hot-apples-press.md delete mode 100644 .changeset/kind-phones-yell.md delete mode 100644 .changeset/lemon-bees-confess.md delete mode 100644 .changeset/light-gorillas-smell.md delete mode 100644 .changeset/light-seahorses-sit.md delete mode 100644 .changeset/loud-hounds-fetch.md delete mode 100644 .changeset/mean-bananas-warn.md delete mode 100644 .changeset/moody-terms-provide.md delete mode 100644 .changeset/nice-zoos-vanish.md delete mode 100644 .changeset/olive-clouds-pretend.md delete mode 100644 .changeset/popular-pumas-sin.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/proud-parrots-yawn.md delete mode 100644 .changeset/quick-icons-joke.md delete mode 100644 .changeset/rotten-comics-think.md delete mode 100644 .changeset/short-kids-buy.md delete mode 100644 .changeset/short-schools-run.md delete mode 100644 .changeset/silent-brooms-confess.md delete mode 100644 .changeset/silly-ligers-heal.md delete mode 100644 .changeset/slow-experts-flash.md delete mode 100644 .changeset/spicy-pugs-begin.md delete mode 100644 .changeset/tall-chicken-repeat.md delete mode 100644 .changeset/tiny-avocados-enjoy.md delete mode 100644 .changeset/twenty-bags-mate.md delete mode 100644 .changeset/wild-dodos-refuse.md delete mode 100644 .changeset/wise-pianos-unite.md diff --git a/.changeset/chilly-grapes-enjoy.md b/.changeset/chilly-grapes-enjoy.md deleted file mode 100644 index 294680b7d0e..00000000000 --- a/.changeset/chilly-grapes-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed `shape` prop on `Avatar` component diff --git a/.changeset/dirty-pugs-retire.md b/.changeset/dirty-pugs-retire.md deleted file mode 100644 index f8f4936cd95..00000000000 --- a/.changeset/dirty-pugs-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -- Removed the `subdued` and `status` props from `IndexTable.Row`. Use `tone` instead. diff --git a/.changeset/dry-dancers-brush.md b/.changeset/dry-dancers-brush.md deleted file mode 100644 index 839fca834ec..00000000000 --- a/.changeset/dry-dancers-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Migrated `shadow` custom properties from v11 to v12 diff --git a/.changeset/dull-pans-give.md b/.changeset/dull-pans-give.md deleted file mode 100644 index 3a8d9b98dfe..00000000000 --- a/.changeset/dull-pans-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': patch ---- - -Removed unused disabled states in `FilterPill` diff --git a/.changeset/empty-baboons-rule.md b/.changeset/empty-baboons-rule.md deleted file mode 100644 index eb7c2328ea0..00000000000 --- a/.changeset/empty-baboons-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Migrated `font` custom properties from v11 to v12 diff --git a/.changeset/fair-rocks-occur.md b/.changeset/fair-rocks-occur.md deleted file mode 100644 index f9ec8d60f0c..00000000000 --- a/.changeset/fair-rocks-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris-tokens': major ---- - -Updated `shadow` token values diff --git a/.changeset/fair-walls-sparkle.md b/.changeset/fair-walls-sparkle.md deleted file mode 100644 index c03aea0b53d..00000000000 --- a/.changeset/fair-walls-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': patch ---- - -Executing `useBreakpoints` isormophically no longer triggers a Hydration mismatch error or rendering bugs. diff --git a/.changeset/fast-suits-jog.md b/.changeset/fast-suits-jog.md deleted file mode 100644 index debf20efd5f..00000000000 --- a/.changeset/fast-suits-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Changed `spacing` prop to `gap` on `List` and `DescriptionList` diff --git a/.changeset/few-starfishes-notice.md b/.changeset/few-starfishes-notice.md deleted file mode 100644 index 2e0ae954f55..00000000000 --- a/.changeset/few-starfishes-notice.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@shopify/polaris': major ---- - -- Migrated `border` custom properties from v11 to v12 -- Removed backwards compatibility for v11 border tokens on `Tooltip` component `BorderRadius` type -- Updated JSDoc prop type descriptions to include updated `border` custom properties on `Divider` and `Tooltip` components diff --git a/.changeset/fifty-wombats-battle.md b/.changeset/fifty-wombats-battle.md deleted file mode 100644 index 99be678537f..00000000000 --- a/.changeset/fifty-wombats-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed deprecated `disable1Password` prop from `TextField`. diff --git a/.changeset/five-cooks-fly.md b/.changeset/five-cooks-fly.md deleted file mode 100644 index 81cf0e9d70f..00000000000 --- a/.changeset/five-cooks-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': minor ---- - -Added support for `emphasis` and `text` tones on `Icon` and migrated `primary` and `subdued` tone color tokens diff --git a/.changeset/fuzzy-coats-study.md b/.changeset/fuzzy-coats-study.md deleted file mode 100644 index 9972090ddb6..00000000000 --- a/.changeset/fuzzy-coats-study.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Replaced `segmented` prop with `variant` in `ButtonGroup`. -Replaced `spacing` prop with `gap` in `ButtonGroup`. diff --git a/.changeset/fuzzy-pears-jog.md b/.changeset/fuzzy-pears-jog.md deleted file mode 100644 index 3679430773a..00000000000 --- a/.changeset/fuzzy-pears-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Updated `borderRadius` props on `Box` to match logical property naming conventions. diff --git a/.changeset/gentle-suns-relax.md b/.changeset/gentle-suns-relax.md deleted file mode 100644 index 8feb0399b49..00000000000 --- a/.changeset/gentle-suns-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris-tokens': major ---- - -Deprecated a collection of types, utils, and JSON exports diff --git a/.changeset/healthy-boxes-wave.md b/.changeset/healthy-boxes-wave.md deleted file mode 100644 index 804d5c3a2ba..00000000000 --- a/.changeset/healthy-boxes-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Renamed `color` prop to `tone` for `ProgressBar` component diff --git a/.changeset/honest-stingrays-act.md b/.changeset/honest-stingrays-act.md deleted file mode 100644 index 1299fa49fe0..00000000000 --- a/.changeset/honest-stingrays-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed `connectedDisclosure` prop from `Button` diff --git a/.changeset/hot-apples-press.md b/.changeset/hot-apples-press.md deleted file mode 100644 index 007c10678de..00000000000 --- a/.changeset/hot-apples-press.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Renamed `size` prop values for the `Avatar` component. See the following table for the new prop mappings. - -| Before | After | -| ------------------------- | ----------- | -| `size="extraSmall"` | `size="xs"` | -| `size="small"` | `size="sm"` | -| `size="medium"` | `size="md"` | -| `size="large"` | `size="lg"` | -| `size="xl-experimental"` | `size="xl"` | -| `size="2xl-experimental"` | `size="xl"` | diff --git a/.changeset/kind-phones-yell.md b/.changeset/kind-phones-yell.md deleted file mode 100644 index d8847def355..00000000000 --- a/.changeset/kind-phones-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed `divider` prop from `Page` component diff --git a/.changeset/lemon-bees-confess.md b/.changeset/lemon-bees-confess.md deleted file mode 100644 index fd5c1e5dd56..00000000000 --- a/.changeset/lemon-bees-confess.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Migrated `space` custom properties from v11 to v12 -Removed backwards compatibility for v11 border tokens on `Tooltip` component `Padding` type -Updated JSDoc prop type descriptions to include updated `padding` custom properties on `Box` component diff --git a/.changeset/light-gorillas-smell.md b/.changeset/light-gorillas-smell.md deleted file mode 100644 index e1f35db6dab..00000000000 --- a/.changeset/light-gorillas-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed deprecated `additionalNavigation` prop on Page Header diff --git a/.changeset/light-seahorses-sit.md b/.changeset/light-seahorses-sit.md deleted file mode 100644 index 7921fa33dd7..00000000000 --- a/.changeset/light-seahorses-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': patch ---- - -Fixed broken focus ring styles on `ResourceItem` component diff --git a/.changeset/loud-hounds-fetch.md b/.changeset/loud-hounds-fetch.md deleted file mode 100644 index 4c01e5aaa66..00000000000 --- a/.changeset/loud-hounds-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Renamed `destructive` prop to `tone` for `Button` component diff --git a/.changeset/mean-bananas-warn.md b/.changeset/mean-bananas-warn.md deleted file mode 100644 index 296c0568bff..00000000000 --- a/.changeset/mean-bananas-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': patch ---- - -Disabled `calt` font ligatures to prevent unwanted stylizing of letters into symbols diff --git a/.changeset/moody-terms-provide.md b/.changeset/moody-terms-provide.md deleted file mode 100644 index c7e199dedcf..00000000000 --- a/.changeset/moody-terms-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Replaced `small`, `large`, and `fullScreen` props with `size` prop diff --git a/.changeset/nice-zoos-vanish.md b/.changeset/nice-zoos-vanish.md deleted file mode 100644 index e44e0014228..00000000000 --- a/.changeset/nice-zoos-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Enabled the Summer Editions 2023 feature flag by default diff --git a/.changeset/olive-clouds-pretend.md b/.changeset/olive-clouds-pretend.md deleted file mode 100644 index f5ad710f668..00000000000 --- a/.changeset/olive-clouds-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Changed `status` prop on `Banner` to `tone` diff --git a/.changeset/popular-pumas-sin.md b/.changeset/popular-pumas-sin.md deleted file mode 100644 index 2de262df8dd..00000000000 --- a/.changeset/popular-pumas-sin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': patch ---- - -Ensure `Avatar` has no background color if an source prop is passed in to allow for transparent images diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 39297ac3f37..00000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "mode": "exit", - "tag": "beta", - "initialVersions": { - "@shopify/polaris-cli": "0.2.25", - "@shopify/polaris-codemods": "0.1.11", - "polaris-for-vscode": "0.7.0", - "@shopify/polaris-icons": "7.7.0", - "@shopify/polaris-migrator": "0.19.8", - "@shopify/polaris": "11.9.1", - "@shopify/polaris-tokens": "7.5.2", - "polaris.shopify.com": "0.56.3", - "@shopify/stylelint-polaris": "13.0.8" - }, - "changesets": [ - "chilly-grapes-enjoy", - "dirty-pugs-retire", - "dry-dancers-brush", - "dull-pans-give", - "empty-baboons-rule", - "fair-rocks-occur", - "fast-suits-jog", - "few-starfishes-notice", - "fifty-wombats-battle", - "five-cooks-fly", - "fresh-ravens-jam", - "fuzzy-coats-study", - "fuzzy-pears-jog", - "gentle-suns-relax", - "healthy-boxes-wave", - "honest-stingrays-act", - "hot-apples-press", - "hungry-bikes-impress", - "kind-phones-yell", - "large-hats-vanish", - "lemon-bees-confess", - "light-gorillas-smell", - "light-seahorses-sit", - "loud-hounds-fetch", - "moody-terms-provide", - "nice-zoos-vanish", - "olive-clouds-pretend", - "popular-pumas-sin", - "proud-parrots-yawn", - "quick-icons-joke", - "rotten-comics-think", - "shiny-feet-marry", - "short-kids-buy", - "short-llamas-hope", - "short-schools-run", - "silent-brooms-confess", - "silent-guests-occur", - "silly-ligers-heal", - "slow-experts-flash", - "spicy-pugs-begin", - "tall-chicken-repeat", - "tiny-avocados-enjoy", - "twenty-bags-mate", - "wild-dodos-refuse", - "wise-pianos-unite" - ] -} diff --git a/.changeset/proud-parrots-yawn.md b/.changeset/proud-parrots-yawn.md deleted file mode 100644 index afeb2a042aa..00000000000 --- a/.changeset/proud-parrots-yawn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Changed `color` prop on `Icon` to `tone` diff --git a/.changeset/quick-icons-joke.md b/.changeset/quick-icons-joke.md deleted file mode 100644 index 9e2f4658e8a..00000000000 --- a/.changeset/quick-icons-joke.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@shopify/polaris': major -'@shopify/polaris-tokens': minor ---- - -Added `border-radius` semantic layer diff --git a/.changeset/rotten-comics-think.md b/.changeset/rotten-comics-think.md deleted file mode 100644 index 29e216b87a8..00000000000 --- a/.changeset/rotten-comics-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Replaced `borderless` prop with `variant` on `TextField` diff --git a/.changeset/short-kids-buy.md b/.changeset/short-kids-buy.md deleted file mode 100644 index 49e447128ff..00000000000 --- a/.changeset/short-kids-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed `polarisSummerEditions2023` feature flag from `AppProvider` context diff --git a/.changeset/short-schools-run.md b/.changeset/short-schools-run.md deleted file mode 100644 index 666f27f512c..00000000000 --- a/.changeset/short-schools-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris-tokens': minor ---- - -Renamed `ThemeVariant` to `Theme` and exposed `Theme` type diff --git a/.changeset/silent-brooms-confess.md b/.changeset/silent-brooms-confess.md deleted file mode 100644 index 063bf8f1e1d..00000000000 --- a/.changeset/silent-brooms-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Consolidated boolean `Button` props into `variant` prop diff --git a/.changeset/silly-ligers-heal.md b/.changeset/silly-ligers-heal.md deleted file mode 100644 index 0436fd5230d..00000000000 --- a/.changeset/silly-ligers-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Replaced boolean props: `secondary`, `fullWidth`, `oneHalf`, `oneThird` on Layout.Section with `variant` diff --git a/.changeset/slow-experts-flash.md b/.changeset/slow-experts-flash.md deleted file mode 100644 index b88224d44f0..00000000000 --- a/.changeset/slow-experts-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Renamed `color` prop on Text to `tone` diff --git a/.changeset/spicy-pugs-begin.md b/.changeset/spicy-pugs-begin.md deleted file mode 100644 index 17bfdc6da76..00000000000 --- a/.changeset/spicy-pugs-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -[IndexFilters] Remove IndexFiltersManager in AppProvider diff --git a/.changeset/tall-chicken-repeat.md b/.changeset/tall-chicken-repeat.md deleted file mode 100644 index 256cfd2f21a..00000000000 --- a/.changeset/tall-chicken-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed Summer Editions experimental styles and code for the following components: `AppProvider`, `Avatar`, `AccountConnection`, `ActionList`, `ActionMenu`, `Autocomplete`, `Badge`, `Banner`, `Breadcrumbs`, `BulkActions`, `Button`, `ButtonGroup`, `CalloutCard`, `Card`, `CheckableButton`, `Checkbox`, `Choice`, `Connected`, `DataTable`, `DatePicker`, `DropZone`, `EmptyState`, `Filters`, `FormLayout`, `Frame`, `FullscreenBar`, `IndexFilters`, `IndexTable`, `InlineError`, `KeyboardKey`, `Labelled`, `Layout`, `LegacyCard`, `LegacyFilters`, `LegacyTabs`, `Link`, `List`, `Listbox`, `MediaCard`, `Modal`, `Navigation`, `OptionList`, `Page`, `PageActions`, `Pagination`, `Popover`, `ProgressBar`, `RadioButton`, `ResourceItem`, `ResourceList`, `Select`, `SettingAction`, `ShadowBevel`, `SkeletonPage`, `SkeletonThumbnail`, `Spinner`, `Tabs`, `Tag`, `Text`, `TextField`, `Thumbnail`, `TooltipOverlay`, `TopBar`, and `VideoThumbnail` diff --git a/.changeset/tiny-avocados-enjoy.md b/.changeset/tiny-avocados-enjoy.md deleted file mode 100644 index bc757712840..00000000000 --- a/.changeset/tiny-avocados-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed support for `headingXs` and `heading4xl` variants and replaced usage with `headingSm` and `heading3xl` diff --git a/.changeset/twenty-bags-mate.md b/.changeset/twenty-bags-mate.md deleted file mode 100644 index e81f7c1408b..00000000000 --- a/.changeset/twenty-bags-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris-tokens': major ---- - -Updated `font-size` and `font-weight` token values diff --git a/.changeset/wild-dodos-refuse.md b/.changeset/wild-dodos-refuse.md deleted file mode 100644 index c8c67c5ece6..00000000000 --- a/.changeset/wild-dodos-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': patch ---- - -`IndexFilter` remove custom `FilterButton` in favor of directly invoking the Polaris `Button` component. diff --git a/.changeset/wise-pianos-unite.md b/.changeset/wise-pianos-unite.md deleted file mode 100644 index 9ea81b0c004..00000000000 --- a/.changeset/wise-pianos-unite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@shopify/polaris': major ---- - -Removed `optionRole` prop from `OptionList` component diff --git a/polaris-for-vscode/package.json b/polaris-for-vscode/package.json index 806efc5b774..96cdb8027eb 100644 --- a/polaris-for-vscode/package.json +++ b/polaris-for-vscode/package.json @@ -43,7 +43,7 @@ "vscode-languageserver-textdocument": "^1.0.4" }, "devDependencies": { - "@shopify/polaris-tokens": "^8.0.0-beta.1", + "@shopify/polaris-tokens": "^8.0.0", "@types/node": "14.x", "@types/vscode": "^1.64.0", "@vscode/test-electron": "^2.1.2", diff --git a/polaris-migrator/package.json b/polaris-migrator/package.json index 2233ebde136..091f4858901 100644 --- a/polaris-migrator/package.json +++ b/polaris-migrator/package.json @@ -36,8 +36,8 @@ "generate": "plop" }, "dependencies": { - "@shopify/polaris-tokens": "^8.0.0-beta.1", - "@shopify/stylelint-polaris": "^14.1.2-beta.1", + "@shopify/polaris-tokens": "^8.0.0", + "@shopify/stylelint-polaris": "^14.1.2", "chalk": "^4.1.0", "globby": "11.0.1", "is-git-clean": "^1.1.0", @@ -55,7 +55,7 @@ "@rollup/plugin-commonjs": "^22.0.2", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", - "@shopify/polaris": "^12.0.0-beta.2", + "@shopify/polaris": "^12.0.0", "plop": "^3.1.1", "plop-dir": "^0.0.5", "prettier": "^2.7.1", diff --git a/polaris-react/CHANGELOG.md b/polaris-react/CHANGELOG.md index a739c3e530f..d2fcced3789 100644 --- a/polaris-react/CHANGELOG.md +++ b/polaris-react/CHANGELOG.md @@ -1,5 +1,104 @@ # Changelog +## 12.0.0 + +### Major Changes + +- [#10122](https://github.com/Shopify/polaris/pull/10122) [`43b42aefed`](https://github.com/Shopify/polaris/commit/43b42aefedcfcfa1375c182ac541fd58822ecd01) Thanks [@aveline](https://github.com/aveline)! - Removed `shape` prop on `Avatar` component + +* [#10705](https://github.com/Shopify/polaris/pull/10705) [`c7c2312f7`](https://github.com/Shopify/polaris/commit/c7c2312f731b624ff6a50beda7b00c9b971091d2) Thanks [@chloerice](https://github.com/chloerice)! - - Removed the `subdued` and `status` props from `IndexTable.Row`. Use `tone` instead. + +- [#10778](https://github.com/Shopify/polaris/pull/10778) [`b126f64e6`](https://github.com/Shopify/polaris/commit/b126f64e6380064ea828837ea0903b5ee4c2f6c4) Thanks [@laurkim](https://github.com/laurkim)! - Migrated `shadow` custom properties from v11 to v12 + +* [#10762](https://github.com/Shopify/polaris/pull/10762) [`1ef71164c`](https://github.com/Shopify/polaris/commit/1ef71164c2ad77f05fb7608c6e86bd79308602fa) Thanks [@laurkim](https://github.com/laurkim)! - Migrated `font` custom properties from v11 to v12 + +- [#10270](https://github.com/Shopify/polaris/pull/10270) [`b9bcaef414`](https://github.com/Shopify/polaris/commit/b9bcaef414eb841241655f49d93f38cf51bd3f78) Thanks [@kyledurand](https://github.com/kyledurand)! - Changed `spacing` prop to `gap` on `List` and `DescriptionList` + +* [#10741](https://github.com/Shopify/polaris/pull/10741) [`2c2bb0e09`](https://github.com/Shopify/polaris/commit/2c2bb0e092cbb41a2844e24006ff2460b189cc01) Thanks [@laurkim](https://github.com/laurkim)! - - Migrated `border` custom properties from v11 to v12 + - Removed backwards compatibility for v11 border tokens on `Tooltip` component `BorderRadius` type + - Updated JSDoc prop type descriptions to include updated `border` custom properties on `Divider` and `Tooltip` components + +- [#10744](https://github.com/Shopify/polaris/pull/10744) [`a4f5e7df3`](https://github.com/Shopify/polaris/commit/a4f5e7df3f71fdcbb9f27a34c6e8302bd762ff53) Thanks [@mrcthms](https://github.com/mrcthms)! - Removed deprecated `disable1Password` prop from `TextField`. + +* [#9997](https://github.com/Shopify/polaris/pull/9997) [`b59fc9e272`](https://github.com/Shopify/polaris/commit/b59fc9e272963fcc35f98b02f3c658b51a5ec4a5) Thanks [@yurm04](https://github.com/yurm04)! - Replaced `segmented` prop with `variant` in `ButtonGroup`. + Replaced `spacing` prop with `gap` in `ButtonGroup`. + +- [#10100](https://github.com/Shopify/polaris/pull/10100) [`4c7b2d4858`](https://github.com/Shopify/polaris/commit/4c7b2d48585782abb7d20e5f01809102141037e5) Thanks [@kyledurand](https://github.com/kyledurand)! - Updated `borderRadius` props on `Box` to match logical property naming conventions. + +* [#10051](https://github.com/Shopify/polaris/pull/10051) [`69edd97ceb`](https://github.com/Shopify/polaris/commit/69edd97cebdd3de3769dadb9ab41e465ca071739) Thanks [@aveline](https://github.com/aveline)! - Renamed `color` prop to `tone` for `ProgressBar` component + +- [#10182](https://github.com/Shopify/polaris/pull/10182) [`e814c0ee1a`](https://github.com/Shopify/polaris/commit/e814c0ee1aec24a30048d1aefb47b38fd45d0692) Thanks [@kyledurand](https://github.com/kyledurand)! - Removed `connectedDisclosure` prop from `Button` + +* [#10283](https://github.com/Shopify/polaris/pull/10283) [`42ee9f407d`](https://github.com/Shopify/polaris/commit/42ee9f407d9f75ab444bd1c45669bc91e8bbe3ca) Thanks [@sam-b-rose](https://github.com/sam-b-rose)! - Renamed `size` prop values for the `Avatar` component. See the following table for the new prop mappings. + + | Before | After | + | ------------------------- | ----------- | + | `size="extraSmall"` | `size="xs"` | + | `size="small"` | `size="sm"` | + | `size="medium"` | `size="md"` | + | `size="large"` | `size="lg"` | + | `size="xl-experimental"` | `size="xl"` | + | `size="2xl-experimental"` | `size="xl"` | + +- [#10232](https://github.com/Shopify/polaris/pull/10232) [`eb2c2035ca`](https://github.com/Shopify/polaris/commit/eb2c2035cabd6ccbd0fd773f98701633eff618a7) Thanks [@laurkim](https://github.com/laurkim)! - Removed `divider` prop from `Page` component + +* [#10727](https://github.com/Shopify/polaris/pull/10727) [`179b481d7`](https://github.com/Shopify/polaris/commit/179b481d745c9e69880bd31cca409071ddf1845d) Thanks [@laurkim](https://github.com/laurkim)! - Migrated `space` custom properties from v11 to v12 + Removed backwards compatibility for v11 border tokens on `Tooltip` component `Padding` type + Updated JSDoc prop type descriptions to include updated `padding` custom properties on `Box` component + +- [#10271](https://github.com/Shopify/polaris/pull/10271) [`1125087b59`](https://github.com/Shopify/polaris/commit/1125087b5987df30e5b1d6962cf32c01fc2f2bf8) Thanks [@kyledurand](https://github.com/kyledurand)! - Removed deprecated `additionalNavigation` prop on Page Header + +* [#10164](https://github.com/Shopify/polaris/pull/10164) [`af9f264b9a`](https://github.com/Shopify/polaris/commit/af9f264b9a15a91901e42f6ff2e8e8490e755e03) Thanks [@aveline](https://github.com/aveline)! - Renamed `destructive` prop to `tone` for `Button` component + +- [#10261](https://github.com/Shopify/polaris/pull/10261) [`abeef7ad05`](https://github.com/Shopify/polaris/commit/abeef7ad0563878da797fdbcc1ee1262d4fe4c7e) Thanks [@kyledurand](https://github.com/kyledurand)! - Replaced `small`, `large`, and `fullScreen` props with `size` prop + +* [#10060](https://github.com/Shopify/polaris/pull/10060) [`84e66a3ec4`](https://github.com/Shopify/polaris/commit/84e66a3ec484e335afb6d4f3e9ae5b9772244ecd) Thanks [@sophschneider](https://github.com/sophschneider)! - Enabled the Summer Editions 2023 feature flag by default + +- [#10206](https://github.com/Shopify/polaris/pull/10206) [`dad09bde96`](https://github.com/Shopify/polaris/commit/dad09bde960bcb8a00a5ed5916201dbb1974bf7f) Thanks [@kyledurand](https://github.com/kyledurand)! - Changed `status` prop on `Banner` to `tone` + +* [#10220](https://github.com/Shopify/polaris/pull/10220) [`2b0cdb2fbf`](https://github.com/Shopify/polaris/commit/2b0cdb2fbff2d3f6c8e9b31526799085617301db) Thanks [@kyledurand](https://github.com/kyledurand)! - Changed `color` prop on `Icon` to `tone` + +- [#10669](https://github.com/Shopify/polaris/pull/10669) [`794d1f5e4`](https://github.com/Shopify/polaris/commit/794d1f5e4b79a2721594979d31972cd7534d6174) Thanks [@lgriffee](https://github.com/lgriffee)! - Added `border-radius` semantic layer + +* [#10036](https://github.com/Shopify/polaris/pull/10036) [`359614cf83`](https://github.com/Shopify/polaris/commit/359614cf835973ae742082ff6fdc17ff37c27fc6) Thanks [@kyledurand](https://github.com/kyledurand)! - Replaced `borderless` prop with `variant` on `TextField` + +- [#10635](https://github.com/Shopify/polaris/pull/10635) [`340e36e7d`](https://github.com/Shopify/polaris/commit/340e36e7dfe4bcfdafce1c169c896242832dec3f) Thanks [@laurkim](https://github.com/laurkim)! - Removed `polarisSummerEditions2023` feature flag from `AppProvider` context + +* [#10090](https://github.com/Shopify/polaris/pull/10090) [`4caed28a77`](https://github.com/Shopify/polaris/commit/4caed28a77c7c5b4cf78dc8071631e7054173740) Thanks [@aveline](https://github.com/aveline)! - Consolidated boolean `Button` props into `variant` prop + +- [#10041](https://github.com/Shopify/polaris/pull/10041) [`8f927f7622`](https://github.com/Shopify/polaris/commit/8f927f7622d15554c1ec3c02cdb1b381be636655) Thanks [@kyledurand](https://github.com/kyledurand)! - Replaced boolean props: `secondary`, `fullWidth`, `oneHalf`, `oneThird` on Layout.Section with `variant` + +* [#10266](https://github.com/Shopify/polaris/pull/10266) [`22a51eae2b`](https://github.com/Shopify/polaris/commit/22a51eae2bf375cecf6442ba2759ccf9d73b0bf6) Thanks [@kyledurand](https://github.com/kyledurand)! - Renamed `color` prop on Text to `tone` + +- [#10745](https://github.com/Shopify/polaris/pull/10745) [`a4205eee1`](https://github.com/Shopify/polaris/commit/a4205eee13ca9a4658f58a2c643ddcbb49956893) Thanks [@mrcthms](https://github.com/mrcthms)! - [IndexFilters] Remove IndexFiltersManager in AppProvider + +* [#10060](https://github.com/Shopify/polaris/pull/10060) [`66f5c8df3e`](https://github.com/Shopify/polaris/commit/66f5c8df3e068c5cdc60a559e615f9375dbe537d) Thanks [@sophschneider](https://github.com/sophschneider)! - Removed Summer Editions experimental styles and code for the following components: `AppProvider`, `Avatar`, `AccountConnection`, `ActionList`, `ActionMenu`, `Autocomplete`, `Badge`, `Banner`, `Breadcrumbs`, `BulkActions`, `Button`, `ButtonGroup`, `CalloutCard`, `Card`, `CheckableButton`, `Checkbox`, `Choice`, `Connected`, `DataTable`, `DatePicker`, `DropZone`, `EmptyState`, `Filters`, `FormLayout`, `Frame`, `FullscreenBar`, `IndexFilters`, `IndexTable`, `InlineError`, `KeyboardKey`, `Labelled`, `Layout`, `LegacyCard`, `LegacyFilters`, `LegacyTabs`, `Link`, `List`, `Listbox`, `MediaCard`, `Modal`, `Navigation`, `OptionList`, `Page`, `PageActions`, `Pagination`, `Popover`, `ProgressBar`, `RadioButton`, `ResourceItem`, `ResourceList`, `Select`, `SettingAction`, `ShadowBevel`, `SkeletonPage`, `SkeletonThumbnail`, `Spinner`, `Tabs`, `Tag`, `Text`, `TextField`, `Thumbnail`, `TooltipOverlay`, `TopBar`, and `VideoThumbnail` + +- [#10773](https://github.com/Shopify/polaris/pull/10773) [`f6bc29ade`](https://github.com/Shopify/polaris/commit/f6bc29ade47b11f4bd21aa4b6b604b6ae7391044) Thanks [@laurkim](https://github.com/laurkim)! - Removed support for `headingXs` and `heading4xl` variants and replaced usage with `headingSm` and `heading3xl` + +* [#10232](https://github.com/Shopify/polaris/pull/10232) [`eb2c2035ca`](https://github.com/Shopify/polaris/commit/eb2c2035cabd6ccbd0fd773f98701633eff618a7) Thanks [@laurkim](https://github.com/laurkim)! - Removed `optionRole` prop from `OptionList` component + +### Minor Changes + +- [#10722](https://github.com/Shopify/polaris/pull/10722) [`14a94967d`](https://github.com/Shopify/polaris/commit/14a94967da24697830780a4978def80f98823f8c) Thanks [@laurkim](https://github.com/laurkim)! - Added support for `emphasis` and `text` tones on `Icon` and migrated `primary` and `subdued` tone color tokens + +### Patch Changes + +- [#10228](https://github.com/Shopify/polaris/pull/10228) [`e18ca907ec`](https://github.com/Shopify/polaris/commit/e18ca907ec059916550b22b84ff76c4ae84d0e0c) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - Removed unused disabled states in `FilterPill` + +* [#10918](https://github.com/Shopify/polaris/pull/10918) [`aaf61fe6a`](https://github.com/Shopify/polaris/commit/aaf61fe6a9bf48e284285c3320edf213d95b2263) Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Executing `useBreakpoints` isormophically no longer triggers a Hydration mismatch error or rendering bugs. + +- [#10268](https://github.com/Shopify/polaris/pull/10268) [`dbe3d9ecee`](https://github.com/Shopify/polaris/commit/dbe3d9ecee181d0e03d0efe0ce4f0b0012fd95c3) Thanks [@laurkim](https://github.com/laurkim)! - Fixed broken focus ring styles on `ResourceItem` component + +* [#10871](https://github.com/Shopify/polaris/pull/10871) [`77744cbf0`](https://github.com/Shopify/polaris/commit/77744cbf0f6e44f99425bd395ef2c7fb5e7b917b) Thanks [@chloerice](https://github.com/chloerice)! - Disabled `calt` font ligatures to prevent unwanted stylizing of letters into symbols + +- [#10238](https://github.com/Shopify/polaris/pull/10238) [`b17d23d69d`](https://github.com/Shopify/polaris/commit/b17d23d69d6a77326fb6e43019691384ddf8663f) Thanks [@sam-b-rose](https://github.com/sam-b-rose)! - Ensure `Avatar` has no background color if an source prop is passed in to allow for transparent images + +* [#10230](https://github.com/Shopify/polaris/pull/10230) [`a573e55d04`](https://github.com/Shopify/polaris/commit/a573e55d0492f28547ea1d964aa6c0cfb76488b5) Thanks [@gwyneplaine](https://github.com/gwyneplaine)! - `IndexFilter` remove custom `FilterButton` in favor of directly invoking the Polaris `Button` component. + +* Updated dependencies [[`2a467249f`](https://github.com/Shopify/polaris/commit/2a467249f3a198dc252eba53df9fecc7bf6572dd), [`2cdc59f88`](https://github.com/Shopify/polaris/commit/2cdc59f8823a6529ebb6150c316934633f86b28c), [`794d1f5e4`](https://github.com/Shopify/polaris/commit/794d1f5e4b79a2721594979d31972cd7534d6174), [`86d4040c05`](https://github.com/Shopify/polaris/commit/86d4040c052a0dba0cb6f0d6e0f6fb8faf14c532), [`08aaf11ec`](https://github.com/Shopify/polaris/commit/08aaf11ec59680155476a20036a672795c2bad47)]: + - @shopify/polaris-tokens@8.0.0 + ## 12.0.0-beta.2 ### Major Changes @@ -108,6 +207,7 @@ * Updated dependencies [[`86d4040c0`](https://github.com/Shopify/polaris/commit/86d4040c052a0dba0cb6f0d6e0f6fb8faf14c532)]: - @shopify/polaris-tokens@7.13.0-beta.0 + ## 11.26.0 ### Minor Changes diff --git a/polaris-react/README.md b/polaris-react/README.md index 43ae5720547..024f6e16711 100644 --- a/polaris-react/README.md +++ b/polaris-react/README.md @@ -33,7 +33,7 @@ Otherwise include the CSS in your HTML. We suggest copying the styles file into ```html ``` @@ -84,7 +84,7 @@ If React doesn’t make sense for your application, you can use a CSS-only versi ```html ``` diff --git a/polaris-react/package.json b/polaris-react/package.json index 7415352e8da..8476087e46f 100644 --- a/polaris-react/package.json +++ b/polaris-react/package.json @@ -1,7 +1,7 @@ { "name": "@shopify/polaris", "description": "Shopify’s admin product component library", - "version": "12.0.0-beta.2", + "version": "12.0.0", "private": false, "license": "SEE LICENSE IN LICENSE.md", "author": "Shopify ", @@ -57,7 +57,7 @@ }, "dependencies": { "@shopify/polaris-icons": "^7.9.0", - "@shopify/polaris-tokens": "^8.0.0-beta.1", + "@shopify/polaris-tokens": "^8.0.0", "@types/react": "*", "@types/react-dom": "*", "@types/react-transition-group": "^4.4.2", diff --git a/polaris-tokens/CHANGELOG.md b/polaris-tokens/CHANGELOG.md index e91d2b6f217..a3d778fd393 100644 --- a/polaris-tokens/CHANGELOG.md +++ b/polaris-tokens/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## 8.0.0 + +### Major Changes + +- [#10760](https://github.com/Shopify/polaris/pull/10760) [`2a467249f`](https://github.com/Shopify/polaris/commit/2a467249f3a198dc252eba53df9fecc7bf6572dd) Thanks [@lgriffee](https://github.com/lgriffee)! - Updated `shadow` token values + +* [#10801](https://github.com/Shopify/polaris/pull/10801) [`2cdc59f88`](https://github.com/Shopify/polaris/commit/2cdc59f8823a6529ebb6150c316934633f86b28c) Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Deprecated a collection of types, utils, and JSON exports + +- [#10673](https://github.com/Shopify/polaris/pull/10673) [`08aaf11ec`](https://github.com/Shopify/polaris/commit/08aaf11ec59680155476a20036a672795c2bad47) Thanks [@lgriffee](https://github.com/lgriffee)! - Updated `font-size` and `font-weight` token values + +### Minor Changes + +- [#10669](https://github.com/Shopify/polaris/pull/10669) [`794d1f5e4`](https://github.com/Shopify/polaris/commit/794d1f5e4b79a2721594979d31972cd7534d6174) Thanks [@lgriffee](https://github.com/lgriffee)! - Added `border-radius` semantic layer + +* [#10382](https://github.com/Shopify/polaris/pull/10382) [`86d4040c05`](https://github.com/Shopify/polaris/commit/86d4040c052a0dba0cb6f0d6e0f6fb8faf14c532) Thanks [@laurkim](https://github.com/laurkim)! - Renamed `ThemeVariant` to `Theme` and exposed `Theme` type + ## 8.0.0-beta.1 ### Major Changes diff --git a/polaris-tokens/package.json b/polaris-tokens/package.json index eb444f5ddc4..82412d5d2ba 100644 --- a/polaris-tokens/package.json +++ b/polaris-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@shopify/polaris-tokens", - "version": "8.0.0-beta.1", + "version": "8.0.0", "description": "", "main": "dist/cjs/build/index.js", "module": "dist/esm/build/index.mjs", diff --git a/polaris.shopify.com/package.json b/polaris.shopify.com/package.json index 330cbf1ee73..40ea2f7d5c9 100644 --- a/polaris.shopify.com/package.json +++ b/polaris.shopify.com/package.json @@ -27,9 +27,9 @@ "@floating-ui/react-dom-interactions": "^0.10.1", "@headlessui/react": "^1.6.5", "@radix-ui/react-polymorphic": "^0.0.14", - "@shopify/polaris": "^12.0.0-beta.2", + "@shopify/polaris": "^12.0.0", "@shopify/polaris-icons": "^7.9.0", - "@shopify/polaris-tokens": "^8.0.0-beta.1", + "@shopify/polaris-tokens": "^8.0.0", "@types/react-syntax-highlighter": "^15.5.6", "base-64": "^1.0.0", "codesandbox": "^2.2.3", diff --git a/stylelint-polaris/CHANGELOG.md b/stylelint-polaris/CHANGELOG.md index 80588583450..5531c8417bf 100644 --- a/stylelint-polaris/CHANGELOG.md +++ b/stylelint-polaris/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 14.1.2 + +### Patch Changes + +- Updated dependencies [[`2a467249f`](https://github.com/Shopify/polaris/commit/2a467249f3a198dc252eba53df9fecc7bf6572dd), [`2cdc59f88`](https://github.com/Shopify/polaris/commit/2cdc59f8823a6529ebb6150c316934633f86b28c), [`794d1f5e4`](https://github.com/Shopify/polaris/commit/794d1f5e4b79a2721594979d31972cd7534d6174), [`86d4040c05`](https://github.com/Shopify/polaris/commit/86d4040c052a0dba0cb6f0d6e0f6fb8faf14c532), [`08aaf11ec`](https://github.com/Shopify/polaris/commit/08aaf11ec59680155476a20036a672795c2bad47)]: + - @shopify/polaris-tokens@8.0.0 + ## 14.1.2-beta.1 ### Patch Changes diff --git a/stylelint-polaris/package.json b/stylelint-polaris/package.json index 9c525fe2aae..85b888c51f0 100644 --- a/stylelint-polaris/package.json +++ b/stylelint-polaris/package.json @@ -1,7 +1,7 @@ { "name": "@shopify/stylelint-polaris", "description": "Polaris Design System Stylelint tooling", - "version": "14.1.2-beta.1", + "version": "14.1.2", "private": false, "license": "MIT", "author": "Shopify ", @@ -37,7 +37,7 @@ "dependencies": { "postcss-value-parser": "^4.2.0", "postcss-media-query-parser": "^0.2.3", - "@shopify/polaris-tokens": "^8.0.0-beta.1" + "@shopify/polaris-tokens": "^8.0.0" }, "peerDependencies": { "stylelint": "^14.15.0 || ^15.0.0"