-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
ProgressBarSize
, ProgressBarVariant
string literal type and d…
…eprecate enum (#1595) <!-- How to write a good PR title: - Follow [the Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/). - Give as much context as necessary and as little as possible - Prefix it with [WIP] while it’s a work in progress --> ## Self Checklist - [x] I wrote a PR title in **English**. - [x] I added an appropriate **label** to the PR. - [x] I wrote a commit message in **English**. - [x] I wrote a commit message according to [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] [I added the appropriate **changeset**](https://github.com/channel-io/bezier-react/blob/main/CONTRIBUTING.md#add-a-changeset) for the changes. - [ ] [Component] I wrote **a unit test** about the implementation. - [ ] [Component] I wrote **a storybook document** about the implementation. - [ ] [Component] I tested the implementation in **various browsers**. - Windows: Chrome, Edge, (Optional) Firefox - macOS: Chrome, Edge, Safari, (Optional) Firefox - [ ] [*New* Component] I added my username to the correct directory in the `CODEOWNERS` file. ## Related Issue - #1568 ## Summary <!-- Please add a summary of the modification. --> - `ProgressBar` 컴포넌트의 SizeProps인 `ProgressBarSize`, VariantProps인 `ProgressBarVariant`에 enum 대신 string literal type이 들어갈 수 있도록 변경하고, enum을 deprecated 처리합니다. ## Details <!-- Please add a detailed description of the modification. (such as AS-IS/TO-DO)--> ## Breaking change or not (Yes/No) <!-- If Yes, please describe the impact and migration path for users --> - No - 향후 `ProgressBarSize`, `ProgressBarVariant` enum 사용처에서 이를 string literal로 변경해주어야 합니다. ## References <!-- External documents based on workarounds or reviewers should refer to -->
- Loading branch information
Showing
8 changed files
with
70 additions
and
63 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-react": patch | ||
--- | ||
|
||
Add `ProgressBarSize`, `ProgressBarVariant` string literal type and deprecate enum |
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
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