-
Notifications
You must be signed in to change notification settings - Fork 46
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
Figure component refactor #989
Conversation
⚡ PR built on Travis and deployed a now preview here:
|
…nto feature/bds-530-figure-component
⚡ PR built on Travis and deployed a now preview here:
|
⚡ PR built on Travis and deployed a now preview here:
|
Hey Dan, I found just 1 issue with the web component, when JS is turned off, it doesn't render any of the |
Never mind that, web component currently has no fallback. Can you confirm what I showed in the screenshot is the current expected behavior? @sghoweri |
…nto feature/bds-530-figure-component # Conflicts: # docs-site/src/pages/pattern-lab/_patterns/02-components/figure/00-figure-docs.twig # docs-site/src/pages/pattern-lab/_patterns/02-components/figure/05-figure.twig # packages/components/bolt-figure/package.json
⚡ PR built on Travis and deployed a now preview here:
|
…nto feature/bds-530-figure-component
⚡ PR built on Travis and deployed a now preview here:
|
Jira
Summary
Clean up Figure component code and docs. Refactor Figure into web component.
Details
<bolt-figure>
is now a web component. If an instance ofbolt-figure
already has a<figure>
tag inside it, it will retain a sanitized version of that tag. Otherwise, simply include media and a caption and the web component does the rest (see the docs).How to test