@brentropy/grommet-with-shadow-dom-fixes
v2.15.1
Published
focus on the essential experience
Downloads
451
Maintainers
Keywords
Readme
Temporary (hopefully) fork of Grommet
This fork fixes a major issue of not being able to click anything inside of a Layer when rendered inside of a shadow root. This is because the shadow root itself is the event target for the "click outside" event listener registered at the top level. This makes the click appear to be outside of the of the Layer. There is an open PR for this issue that has been pending for some time now.
Since supporting shadow dom does not seem to be a priority for the maintainers, other shadow dom related fixes may be published here.
Install
npm i @brentropy/grommet-with-shadow-dom-fixes
--- Original README Below ---
Grommet: focus on the essential experience
Documentation
Visit the Grommet website for more information.
Support / Contributing
Before opening an issue or pull request, please read the Contributing guide.
Install
You can install Grommet using either of the methods given below.
For npm users:
$ npm install grommet styled-components --save
For Yarn users:
$ yarn add grommet styled-components
There are more detailed instructions in the Grommet Starter app tutorial for new apps. For incorporating Grommet into an existing app, see the Existing App version.
Explore
Storybook examples per component, you can create them locally by running:
$ npm run storybook
or
$ yarn storybook
Basic code-sandbox playgrounds for each component.
Templates, patterns, and starters: feel free to share with us more pattern ideas on Slack.
End-to-end project examples from our community in the #i-made-this Slack channel.
Read more from the Grommet team on Medium.
Stable
grommet is also available on a stable branch that is built with the content of the 'master' branch. From your package.json point to stable.
"grommet": "https://github.com/grommet/grommet/tarball/stable",
For more info, read the stable wiki.
Release History
See the Change Log.
Tools Behind Grommet
Grommet is produced using this great tool:
- BrowserStack for browser emulators and simulators.
- Circle CI for continuous integration.