Skip to content
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

Merged
merged 4 commits into from
Jan 5, 2021
Merged

Basics #60

merged 4 commits into from
Jan 5, 2021

Conversation

orineuman
Copy link
Contributor

@orineuman orineuman commented Mar 23, 2020

  1. Basic layout

  2. css in js with customization via props

  3. renderers via props

image

image

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

@orineuman
Copy link
Contributor Author

@kenshoo/uiinfra please have a look on this PR - implemented it inspired by react-select

babel.config.js Outdated Show resolved Hide resolved
@@ -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:
Copy link
Contributor

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?

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

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)}
/>
Copy link
Contributor

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?

@liorheber liorheber merged commit ab8d4da into master Jan 5, 2021
@liorheber liorheber deleted the layout-css-in-js-renderers branch January 5, 2021 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants