-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into contextual-save-bar-updates
- Loading branch information
Showing
138 changed files
with
1,749 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris': minor | ||
--- | ||
|
||
Added support to `Filters` for indicating `appliedFilters` have unsaved changes |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris-migrator': minor | ||
--- | ||
|
||
Created migration to replace deprecated `text` custom properties in polaris-react v14.0.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'polaris.shopify.com': patch | ||
--- | ||
|
||
Updated common action guidance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris': patch | ||
--- | ||
|
||
Added `touch-action: manipulation` to `Button` and `Link` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Bullet | ||
description: | ||
Used for bulleted lists | ||
keywords: | ||
- Bullet | ||
- List | ||
authors: | ||
- Vihar Kothamasu | ||
- Joe Thoams | ||
date_added: 2024-04-04 | ||
date_modified: 2024-04-04 | ||
# Optional: fill exclusive_use if the icon should *only* be used | ||
# in specific areas of the admin (such as “Orders”): |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Crop | ||
description: Used in media editing for croping an image. | ||
keywords: | ||
- crop | ||
authors: | ||
- David Goligorsky | ||
- Joe Thomas | ||
- Arda Karaçizmeli | ||
date_added: 2024-03-28 | ||
date_modified: 2024-03-28 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Flip horizontal | ||
description: Used in media editing for flipping an image horizontally. | ||
keywords: | ||
- flip | ||
- mirror | ||
- horizontal | ||
authors: | ||
- David Goligorsky | ||
- Arda Karaçizmeli | ||
date_added: 2024-03-28 | ||
date_modified: 2024-03-28 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Flip vertical | ||
description: Used in media editing for flipping an image vertically. | ||
keywords: | ||
- flip | ||
- mirror | ||
- vertical | ||
authors: | ||
- David Goligorsky | ||
- Arda Karaçizmeli | ||
date_added: 2024-03-28 | ||
date_modified: 2024-03-28 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Image Magic | ||
description: Used for signifying Magic media editing, like background removal and image generation. | ||
keywords: | ||
- Magic | ||
- Generation | ||
- Media | ||
authors: | ||
- David Goligorsky | ||
- Arda Karaçizmeli | ||
date_added: 2024-03-28 | ||
date_modified: 2024-03-28 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Remove background | ||
description: Used to signify the background removal feature in Magic media editing. | ||
keywords: | ||
- Magic | ||
- Background | ||
- Removal | ||
- Media | ||
authors: | ||
- David Goligorsky | ||
- Arda Karaçizmeli | ||
date_added: 2024-04-03 | ||
date_modified: 2024-04-03 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Rotate left | ||
description: Used in media editing for rotating an image counterclockwise. | ||
keywords: | ||
- Rotate | ||
- Left | ||
- Counterclockwise | ||
authors: | ||
- David Goligorsky | ||
- Arda Karaçizmeli | ||
date_added: 2024-03-28 | ||
date_modified: 2024-03-28 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Rotate right | ||
description: Used in media editing for rotating an image clockwise. | ||
keywords: | ||
- Rotate | ||
- Right | ||
- Clockwise | ||
authors: | ||
- David Goligorsky | ||
- Arda Karaçizmeli | ||
date_added: 2024-03-28 | ||
date_modified: 2024-03-28 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@shopify/polaris-migrator", | ||
"version": "0.28.4", | ||
"version": "0.28.6", | ||
"description": "Codemod transformations to help upgrade your Polaris codebase", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
"author": "Shopify <[email protected]>", | ||
|
@@ -36,8 +36,8 @@ | |
"generate": "plop" | ||
}, | ||
"dependencies": { | ||
"@shopify/polaris-tokens": "^8.9.0", | ||
"@shopify/stylelint-polaris": "^15.5.0", | ||
"@shopify/polaris-tokens": "^8.10.0", | ||
"@shopify/stylelint-polaris": "^15.5.1", | ||
"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.24.0", | ||
"@shopify/polaris": "^12.26.1", | ||
"plop": "^3.1.1", | ||
"plop-dir": "^0.0.5", | ||
"prettier": "^2.7.1", | ||
|
13 changes: 0 additions & 13 deletions
13
...les-replace-custom-property-font/tests/v14-styles-replace-custom-property-font.input.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
.font { | ||
font-size: var(--p-font-size-750); | ||
font-size: var(--p-font-size-800); | ||
font-size: var(--p-font-size-900); | ||
font-size: var(--p-font-size-1000); | ||
font-size: var(--p-text-heading-2xl-font-size); | ||
font-size: var(--p-text-heading-3xl-font-size); | ||
letter-spacing: var(--p-font-letter-spacing-denser); | ||
letter-spacing: var(--p-font-letter-spacing-densest); | ||
letter-spacing: var(--p-text-heading-2xl-font-letter-spacing); | ||
letter-spacing: var(--p-text-heading-3xl-font-letter-spacing); | ||
line-height: var(--p-font-line-height-1000); | ||
line-height: var(--p-font-line-height-1200); | ||
line-height: var(--p-text-heading-2xl-font-line-height); | ||
line-height: var(--p-text-heading-3xl-font-line-height); | ||
font-family: var(--p-text-heading-2xl-font-family); | ||
font-family: var(--p-text-heading-3xl-font-family); | ||
font-weight: var(--p-text-heading-2xl-font-weight); | ||
font-weight: var(--p-text-heading-3xl-font-weight); | ||
} |
23 changes: 5 additions & 18 deletions
23
...es-replace-custom-property-font/tests/v14-styles-replace-custom-property-font.output.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
.font { | ||
font-size: var(--p-font-size-600); | ||
font-size: var(--p-font-size-600); | ||
font-size: var(--p-font-size-600); | ||
font-size: var(--p-font-size-600); | ||
font-size: var(--p-text-heading-xl-font-size); | ||
font-size: var(--p-text-heading-xl-font-size); | ||
letter-spacing: var(--p-font-letter-spacing-dense); | ||
letter-spacing: var(--p-font-letter-spacing-dense); | ||
letter-spacing: var(--p-text-heading-xl-font-letter-spacing); | ||
letter-spacing: var(--p-text-heading-xl-font-letter-spacing); | ||
line-height: var(--p-font-line-height-800); | ||
line-height: var(--p-font-line-height-800); | ||
line-height: var(--p-text-heading-xl-font-line-height); | ||
line-height: var(--p-text-heading-xl-font-line-height); | ||
font-family: var(--p-text-heading-xl-font-family); | ||
font-family: var(--p-text-heading-xl-font-family); | ||
font-weight: var(--p-text-heading-xl-font-weight); | ||
font-weight: var(--p-text-heading-xl-font-weight); | ||
font-size: var(--p-font-size-750); | ||
font-size: var(--p-font-size-750); | ||
font-size: var(--p-font-size-750); | ||
letter-spacing: var(--p-font-letter-spacing-denser); | ||
line-height: var(--p-font-line-height-1000); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...s-migrator/src/migrations/v14-styles-replace-custom-property-text/tests/transform.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {check} from '../../../utilities/check'; | ||
|
||
const transform = 'v14-styles-replace-custom-property-text'; | ||
const fixtures = ['v14-styles-replace-custom-property-text']; | ||
|
||
for (const fixture of fixtures) { | ||
check(__dirname, { | ||
fixture, | ||
transform, | ||
extension: 'scss', | ||
}); | ||
} |
Oops, something went wrong.