-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PaletteEdit
: Convert to TypeScript (#47764)
* Begin refactoring of PaletteEdit component to TS * Add PaletteEditListViewProps * Add OptionProps and NameInputProps * Add PaletteEditListViewProps * Correct an error from value not being defined * Make the value assignment less hacky * Add a very basic storybook file, but doesn't work yet * Remove toolbar, which I accidentally added back in * Use generics for Color | Gradient * Use more union types * Remove needless never type * Commit Lena's suggestion: Update packages/components/src/palette-edit/types.ts Co-authored-by: Lena Morita <lena@jaguchi.com> * Commit Lena's suggestion: Update packages/components/src/palette-edit/types.ts Co-authored-by: Lena Morita <lena@jaguchi.com> --------- Co-authored-by: Lena Morita <lena@jaguchi.com>
- Loading branch information
Showing
14 changed files
with
354 additions
and
55 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
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
2 changes: 2 additions & 0 deletions
2
packages/components/src/custom-gradient-picker/gradient-bar/control-points.js
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,3 +1,5 @@ | ||
// @ts-nocheck | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
|
2 changes: 2 additions & 0 deletions
2
packages/components/src/custom-gradient-picker/gradient-bar/index.js
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,3 +1,5 @@ | ||
// @ts-nocheck | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
|
2 changes: 2 additions & 0 deletions
2
packages/components/src/custom-gradient-picker/gradient-bar/utils.js
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,3 +1,5 @@ | ||
// @ts-nocheck | ||
|
||
/** | ||
* Internal dependencies | ||
*/ | ||
|
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,3 +1,5 @@ | ||
// @ts-nocheck | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
|
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,3 +1,5 @@ | ||
// @ts-nocheck | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
|
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,3 +1,5 @@ | ||
// @ts-nocheck | ||
|
||
/** | ||
* WordPress dependencies | ||
*/ | ||
|
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
Oops, something went wrong.
1753c04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 1753c04.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4412375366
📝 Reported issues:
/test/e2e/specs/site-editor/writing-flow.spec.js