diff --git a/.changeset/tall-chicken-repeat.md b/.changeset/tall-chicken-repeat.md index 86129a78340..9909cf3be37 100644 --- a/.changeset/tall-chicken-repeat.md +++ b/.changeset/tall-chicken-repeat.md @@ -2,4 +2,4 @@ '@shopify/polaris': major --- -Removed Summer Editions experimental styles and code for the following components: `Avatar`, `AccountConnection`, `ActionList`, `ActionMenu` +Removed Summer Editions experimental styles and code for the following components: `Avatar`, `AccountConnection`, `ActionList`, `ActionMenu`, `Autocomplete` diff --git a/polaris-react/src/components/Autocomplete/components/MappedAction/MappedAction.scss b/polaris-react/src/components/Autocomplete/components/MappedAction/MappedAction.scss index ec5475a6108..72ce02bd008 100644 --- a/polaris-react/src/components/Autocomplete/components/MappedAction/MappedAction.scss +++ b/polaris-react/src/components/Autocomplete/components/MappedAction/MappedAction.scss @@ -15,14 +15,7 @@ .Action { // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY svg { - fill: var(--p-color-icon-interactive); - } - - #{$se23} & { - // stylelint-disable-next-line -- se23 overrides - svg { - fill: var(--p-color-icon); - } + fill: var(--p-color-icon); } &.destructive { @@ -48,15 +41,8 @@ padding: var(--pc-mapped-actions-item-vertical-padding) var(--p-space-2); // stylelint-disable-next-line -- using pre-existing private pc token margin: calc(-1 * var(--pc-mapped-actions-item-vertical-padding)) - calc(-1 * var(--p-space-2)); - border-radius: var(--p-border-radius-1); - - #{$se23} & { - border-radius: var(--p-border-radius-2); - // stylelint-disable-next-line polaris/conventions/polaris/custom-property-allowed-list -- se23 overrides - margin: calc(-1 * var(--pc-mapped-actions-item-vertical-padding)) - calc(-1 * var(--p-space-3)); - } + calc(-1 * var(--p-space-3)); + border-radius: var(--p-border-radius-2); &:hover { background-color: var(--p-color-bg-hover); @@ -95,13 +81,6 @@ fill: var(--p-color-icon-critical); } - #{$se23} & { - // stylelint-disable-next-line selector-max-combinators -- se23 overrides - svg { - fill: var(--p-color-icon-critical); - } - } - &:hover { background-color: var(--p-color-bg-critical-subdued-hover); } @@ -146,9 +125,7 @@ // stylelint-disable -- generated by polaris-migrator DO NOT COPY margin: calc(-0.5 * var(--pc-mapped-actions-image-size)) var(--p-space-4) calc(-0.5 * var(--pc-mapped-actions-image-size)) 0; - #{$se23} & { - margin-right: var(--p-space-2); - } + margin-right: var(--p-space-2); // stylelint-enable background-size: cover; background-position: center center;