-
Notifications
You must be signed in to change notification settings - Fork 80
Prerendering/SSR fixes #95
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
Conversation
@@ -31,7 +32,7 @@ | |||
"url": "git+https://github.com/Esri/calcite-components.git" | |||
}, | |||
"dependencies": { | |||
"@a11y/focus-trap": "^1.0.2", | |||
"@a11y/focus-trap": "git+https://github.com/patrickarlt/focus-trap.git#conditional-define-build", |
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.
did you open a pr form this branch already?
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.
Yup. This particular branch just has the built files in it already vs the one I PR'ed andreasbm/focus-trap#1.
cool, this is a really neat feature, I had no idea this existed |
We should add a note about how to prerender these in the readme as well once it gets all sorted |
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.
Rad - looking forward to trying this out.
Going to merge this in, nice work @patrickarlt 👍 |
feat(token-transformer): generate asset files from tokens with Style Dictionary
This PR makes a bunch of fixes to allow Calcite Components to work with Stencils prerendering system. I have a proof-of-concept of the prerendering working with Gatsby that I can share a little later.