-
Notifications
You must be signed in to change notification settings - Fork 0
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
Basics #60
Basics #60
Conversation
@kenshoo/uiinfra please have a look on this PR - implemented it inspired by react-select |
@@ -4558,7 +4570,7 @@ class-utils@^0.3.5: | |||
isobject "^3.0.0" | |||
static-extend "^0.1.1" | |||
|
|||
classnames@^2.2.5: | |||
classnames@^2.2.5, classnames@^2.2.6: |
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.
mind checking why we have two classnames dependencies in the project?
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.
how do you check such a thing?
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.
yarn.lock
It will show you who depends on what.
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.
yes I know this is what we see here but I added "classnames": "^2.2.6" - why it keeps the 2.2.5?
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.
You didn't look :)
If you look at yarn.lock you will see that react-draggable is using it which is used by storybook.
We're good.
css={getStyles("input", props)} | ||
value={searchTerm} | ||
onChange={e => setSearchTerm(e.target.value)} | ||
/> |
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.
Wasn't there a clear input here at some point?
Basic layout
css in js with customization via props
renderers via props
Next: more tests, classnames
@kenshoo/uiinfra @yarin-kenshoo
📦 Published PR as canary version:
Canary Versions
✨ Test out this PR locally via:
npm install @kenshooui/react-tree@0.0.18-canary.60.213.0 # or yarn add @kenshooui/react-tree@0.0.18-canary.60.213.0