@yourblock/yb-components
v1.4.3
Published
Components for Your Block
Downloads
2
Readme
Your Block Components
Install
npm install @yourblock/yb-components
Develop
- Install packages with
npm install
- Run storybook with
npm run storybook
and write stories for each component.
Hpppy Coding!
Publish
- Run npm
npm publish --access=public
- Go through 2FA process.
- Package should now be updated and found at https://www.npmjs.com/package/@yourblock/yb-components
Known issues
There are two different type of web components that is being used. Some browsers have both implemented while others don't.
Safari supports Autonomous Custom Element but not Customized Built-in.
According HTML Standard
there should be be something called attachedInternals()
included allowing us to extend native elements. This part
will only be included if there is support for Customized Built-in.
W3C Specs for this can be found in the following link