The Bolt Design System provides robust Twig and Web Component-powered UI components, reusable visual styles, and powerful tooling to help developers, designers, and content authors build, maintain, and scale best of class digital experiences.
MIT License
Bot releases are hidden (Show)
Published by sghoweri almost 5 years ago
Bolt v2.15.0
required breaking changes to Tooltip in order to meet the requirements of an updated Tooltip component and the new Popover component.
Traditionally, this would have resulted in a major version bump to v3.0
. However, this ultimately wasn't the direction we took per request from internal stakeholders.
Tooltip has been split into two separate, simplified components: Tooltip and Popover.
The new Tooltip opens only on hover and should contain simple text content (formatting and links are ok, too).
Popover opens only on click and can contain any content you want, most commonly used to display a menu of links.
Before:
{% include "@bolt-components-tooltip/tooltip.twig" with {
trigger: {
type: "text",
text: "Hover this text to show tooltip",
},
content: "This is the tooltip content."
} only %}
After:
{% include "@bolt-components-tooltip/tooltip.twig" with {
trigger: "Hover this text to show tooltip",
content: "This is the tooltip content.",
} only %}
Note:
direction
prop is deprecated. Useplacement
prop instead. See full schema.
Before:
{% include "@bolt-components-tooltip/tooltip.twig" with {
trigger: {
type: "button",
text: "Press this button to show tooltip",
},
content: "This tooltip activates when the trigger is pressed.",
} only %}
After:
{% set trigger %}
{% include "@bolt-components-button/button.twig" with {
text: "Click button to show popover"
} only %}
{% endset %}
{% include "@bolt-components-popover/popover.twig" with {
trigger: trigger,
content: "This is the popover content.",
} only %}
Note: Popover includes
placement
,spacing
, and other new props for positioning and styling Popover content. It no longer supportstoggle
functionality. See full schema.
templateMap
API #1663 (@sghoweri)Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
This is a fast follow to the Bolt v2.11.0 release that removes an undeclared (and unneeded) NPM dependency from the Editor package as discussed here.
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri almost 5 years ago
Published by sghoweri about 5 years ago
This is a small follow-up Bolt release that addresses the following items:
Published by sghoweri about 5 years ago
This is a small follow-up patch release to v2.8.1 to address a JavaScript merge conflict from the recent Tabs-related work.
@bolt/components-tabs