-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix(chips): Rename all entry chips to input chips #2619
Conversation
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.
rename:
mdc-chips/chip-set/mdc-chip-set.scss
@Keyframes mdc-chip-entry
mdc-chips/chip/constants.js
ENTRY_ANIMATION_NAME
demos/chips.html
Outdated
var entryButton = document.getElementById('entry-chip-set-button'); | ||
var inputChipSet = document.getElementById('input-chip-set'); | ||
var chipSets = document.querySelectorAll('.mdc-chip-set:not(#input-chip-set)'); | ||
var entryInput = document.getElementById('input-chip-set-input'); |
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.
I think rename this to just input
The keyframe doesn't need to be renamed because it refers to the animation when the chip "enters" the DOM. It just so happens that the animation is only used on input chips. |
Codecov Report
@@ Coverage Diff @@
## master #2619 +/- ##
=======================================
Coverage 98.48% 98.48%
=======================================
Files 98 98
Lines 4230 4230
Branches 537 537
=======================================
Hits 4166 4166
Misses 64 64 Continue to review full report at Codecov.
|
Design decision: change name from "entry" to "input" for chips which enable user input by converting text into chips.