-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
iconName
prop of Button
, Banner
, SectionLabel
component…
… to include `BezierIcon` type (#1562) * config(git-ignore): include .tgz file in .gitignore * feat(button): only allow ReactElement and BezierIcon type for leftContent props of Button component * feat(build-file): add 1.10.2 version build tgz * feat(button): stop support for iconName type of SideContent * feat(banner): stop support for iconName type of icon prop * feat(storybook/props-interface): adopt icon migration of SectionLabel and Button component * feat(storybook/button): adopt icon migration of Button component * feat(storybook/component-convention): adopt icon migration of Button component * feat(storybook/icon): adopt icon migration of Button component * feat(section-label): adopt icon migration in test code * feat(key-value-list-item): adopt icon migration in storybook * feat(list-menu-title): adopt icon migration in storybook * Revert "config(git-ignore): include .tgz file in .gitignore" This reverts commit 7901580. * Revert "feat(build-file): add 1.10.2 version build tgz" This reverts commit 2757393. * feat(button): widen Button type to include ReactNode * feat(button, banner, section-label): restore support for iconName type of icon prop * chore(change-set): add change-set to bump minor version * feat(banner, section-label, button): add deprecation warning log when iconName type is used * feat(codemod/icon-name-to-bezier-icon): add Banner to transformation target * chore(changeset): bump minor version of bezier-react/bezier-codemod * refactor(button): use assert function of assertUtils * refactor(section-label, banner): use assert function of assertUtils * refactor(button): remove redundant comment
- Loading branch information
1 parent
0d54036
commit 8c2b873
Showing
23 changed files
with
318 additions
and
166 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 @@ | ||
--- | ||
"@channel.io/bezier-codemod": minor | ||
--- | ||
|
||
Add Banner to iconName transformation target |
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 @@ | ||
--- | ||
"@channel.io/bezier-react": minor | ||
--- | ||
|
||
Allow `iconName` prop of `Button`, `Banner`, `SectionLabel` component to include `BezierIcon` type |
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
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
Oops, something went wrong.