-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Toast
component with scss
#1950
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
30dc59c
feat(toast): add scss module
sungik-choi 0ea75bc
feat(toast): apply scss module to ToastElement
sungik-choi 8a94c61
refactor(toast): rm useMemo, etc
sungik-choi 429ce62
feat(toast): apply scss module to conatiner
sungik-choi d3f6545
refactor(toast): inline toast container
sungik-choi 8ded4ee
feat(toast): inline toast element & refactor dismiss logic to use css…
sungik-choi 223c931
refactor: inline ToastController to ToastProvider and rename to Toast
sungik-choi 82e5f36
refactor: inline ToastContext
sungik-choi 9280753
refactor: merge files and rm unused code
sungik-choi 13612dd
refactor: refine types
sungik-choi daa2221
refactor: rename dir (ToastProvider to Toast)
sungik-choi bdc44b2
test: cleanup story
sungik-choi 3b4d152
feat: deprecate actionContent, onClick prop
sungik-choi 4d3f22f
feat: export ToastProviderProps
sungik-choi 477861c
feat: apply inverted theme
sungik-choi bb4c8eb
refactor: changing from renaming a class to changing a boolean variable
sungik-choi eb9c270
refactor: rm unnecessary transform style
sungik-choi d5133ed
feat: add status role
sungik-choi 30c69a6
feat: rm unused version prop
sungik-choi dc892b1
feat: add missed default prop and conditional logic
sungik-choi 039681a
test: update test cases
sungik-choi be23254
revert: reverts removing version prop
sungik-choi 906656e
refactor: change order
sungik-choi 4fe83c7
test: add long text cases
sungik-choi f5ba805
chore(changeset): add changeset
sungik-choi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
version 속성은 언제 필요한 것인가요?
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.
ToastService
에서 update 시 version이 변하는데, timer를 set하는 effect에서 version을 deps로 가집니다. 즉, 업데이트가 되는 토스트를 계속 보여지는 상태로 두기 위해 타이머를 초기화하는 부분으로 보여요 (#909)