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 visible (Hide)
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
Published by sghoweri about 5 years ago
This is a patch release with two primary updates:
@bolt/build-tools
, @bolt/components-tabs
, @bolt/core
@bolt/components-accordion
, @bolt/components-carousel
, @bolt/components-tabs
, @bolt/components-video
@bolt/animations
, @bolt/api
, @bolt/build-tools
, @bolt/components-accordion
, @bolt/components-action-blocks
, @bolt/components-animate
, @bolt/components-background-shapes
, @bolt/components-background
, @bolt/components-band
, @bolt/components-block-list
, @bolt/components-blockquote
, @bolt/components-breadcrumb
, @bolt/components-button-group
, @bolt/components-button
, @bolt/components-card
, @bolt/components-carousel
, @bolt/components-chip-list
, @bolt/components-chip
, @bolt/components-code-snippet
, @bolt/components-copy-to-clipboard
, @bolt/components-critical-css-vars
, @bolt/components-critical-css
, @bolt/components-critical-fonts
, @bolt/components-device-viewer
, @bolt/components-dropdown
, @bolt/components-figure
, @bolt/components-form
, @bolt/components-grid
, @bolt/components-headline
, @bolt/components-icon
, @bolt/components-icons
, @bolt/components-image
, @bolt/components-li
, @bolt/components-link
, @bolt/components-list
, @bolt/components-logo
, @bolt/components-modal
, @bolt/components-nav-indicator
, @bolt/components-nav-priority
, @bolt/components-navbar
, @bolt/components-navlink
, @bolt/components-ol
, @bolt/components-page-header
, @bolt/components-pagination
, @bolt/components-placeholder
, @bolt/components-ratio
, @bolt/components-share
, @bolt/components-site
, @bolt/components-smooth-scroll
, @bolt/components-stack
, @bolt/components-sticky
, @bolt/components-table
, @bolt/components-tabs
, @bolt/components-teaser
, @bolt/components-text
, @bolt/components-tooltip
, @bolt/components-trigger
, @bolt/components-typeahead
, @bolt/components-ul
, @bolt/components-video
, @bolt/core
, @bolt/components-editor
, @bolt/generator-bolt
, @bolt/global
, @bolt/micro-journeys
, @bolt/ssr-server
, @bolt/testing-server
, @bolt/testing-helpers
, @bolt/jest-config
Published by sghoweri about 5 years ago
In addition to the updates previously released in the v2.8.0-beta.1
through v2.8.0-beta.6
releases (see below for links), this release also includes the following:
@bolt/components-editor
@bolt/components-tooltip
@bolt/components-animate
, @bolt/components-editor
, @bolt/micro-journeys
@bolt/components-animate
Published by sghoweri about 5 years ago
@bolt/micro-journeys
@bolt/micro-journeys
@bolt/components-animate
@bolt/components-ratio
, @bolt/core
, @bolt/drupal-twig-extensions
, @bolt/twig-renderer
, @bolt/uikit-workshop
@bolt/micro-journeys
@bolt/core
, @bolt/micro-journeys
@bolt/micro-journeys
@bolt/micro-journeys
@bolt/micro-journeys
@bolt/core
, @bolt/micro-journeys
@bolt/micro-journeys
@bolt/micro-journeys
@bolt/core-php
@bolt/animations
, @bolt/api
, @bolt/build-tools
, @bolt/components-accordion
, @bolt/components-action-blocks
, @bolt/components-animate
, @bolt/components-background-shapes
, @bolt/components-background
, @bolt/components-band
, @bolt/components-block-list
, @bolt/components-blockquote
, @bolt/components-breadcrumb
, @bolt/components-button-group
, @bolt/components-button
, @bolt/components-card
, @bolt/components-carousel
, @bolt/components-chip-list
, @bolt/components-chip
, @bolt/components-code-snippet
, @bolt/components-copy-to-clipboard
, @bolt/components-critical-css-vars
, @bolt/components-critical-css
, @bolt/components-critical-fonts
, @bolt/components-device-viewer
, @bolt/components-dropdown
, @bolt/components-figure
, @bolt/components-form
, @bolt/components-grid
, @bolt/components-headline
, @bolt/components-icon
, @bolt/components-icons
, @bolt/components-image
, @bolt/components-li
, @bolt/components-link
, @bolt/components-list
, @bolt/components-logo
, @bolt/components-modal
, @bolt/components-nav-indicator
, @bolt/components-nav-priority
, @bolt/components-navbar
, @bolt/components-navlink
, @bolt/components-ol
, @bolt/components-page-header
, @bolt/components-pagination
, @bolt/components-placeholder
, @bolt/components-ratio
, @bolt/components-share
, @bolt/components-site
, @bolt/components-smooth-scroll
, @bolt/components-stack
, @bolt/components-sticky
, @bolt/components-table
, @bolt/components-tabs
, @bolt/components-teaser
, @bolt/components-text
, @bolt/components-tooltip
, @bolt/components-trigger
, @bolt/components-typeahead
, @bolt/components-ul
, @bolt/components-video
, @bolt/core-php
, @bolt/core
, @bolt/drupal-twig-extensions
, @bolt/components-editor
, @bolt/generator-bolt
, @bolt/global
, @bolt/micro-journeys
, @bolt/ssr-server
, @bolt/testing-server
, @bolt/testing-helpers
, @bolt/jest-config
, @bolt/twig-renderer
, @bolt/uikit-workshop
@bolt/build-tools
, @bolt/components-blockquote
, @bolt/components-card
, @bolt/components-critical-fonts
, @bolt/components-device-viewer
, @bolt/components-figure
, @bolt/components-image
, @bolt/components-logo
, @bolt/components-teaser
, @bolt/global
@bolt/core-php
@bolt/micro-journeys
@bolt/micro-journeys
@bolt/micro-journeys
@bolt/animations
, @bolt/api
, @bolt/build-tools
, @bolt/components-accordion
, @bolt/components-action-blocks
, @bolt/components-animate
, @bolt/components-background-shapes
, @bolt/components-background
, @bolt/components-band
, @bolt/components-block-list
, @bolt/components-blockquote
, @bolt/components-breadcrumb
, @bolt/components-button-group
, @bolt/components-button
, @bolt/components-card
, @bolt/components-carousel
, @bolt/components-chip-list
, @bolt/components-chip
, @bolt/components-code-snippet
, @bolt/components-copy-to-clipboard
, @bolt/components-critical-css-vars
, @bolt/components-critical-css
, @bolt/components-critical-fonts
, @bolt/components-device-viewer
, @bolt/components-dropdown
, @bolt/components-figure
, @bolt/components-form
, @bolt/components-grid
, @bolt/components-headline
, @bolt/components-icon
, @bolt/components-icons
, @bolt/components-image
, @bolt/components-li
, @bolt/components-link
, @bolt/components-list
, @bolt/components-logo
, @bolt/components-modal
, @bolt/components-nav-indicator
, @bolt/components-nav-priority
, @bolt/components-navbar
, @bolt/components-navlink
, @bolt/components-ol
, @bolt/components-page-header
, @bolt/components-pagination
, @bolt/components-placeholder
, @bolt/components-ratio
, @bolt/components-share
, @bolt/components-site
, @bolt/components-smooth-scroll
, @bolt/components-stack
, @bolt/components-sticky
, @bolt/components-table
, @bolt/components-tabs
, @bolt/components-teaser
, @bolt/components-text
, @bolt/components-tooltip
, @bolt/components-trigger
, @bolt/components-typeahead
, @bolt/components-ul
, @bolt/components-video
, @bolt/core-php
, @bolt/core
, @bolt/drupal-twig-extensions
, @bolt/components-editor
, @bolt/generator-bolt
, @bolt/global
, @bolt/micro-journeys
, @bolt/ssr-server
, @bolt/testing-server
, @bolt/testing-helpers
, @bolt/jest-config
, @bolt/nightwatch-config
, @bolt/testing-utils
, @bolt/twig-renderer
, @bolt/critical-css-webpack-plugin
, @bolt/prerender-spa-plugin
, @bolt/uikit-prerenderer
, @bolt/uikit-workshop
Published by sghoweri about 5 years ago
This is a patch release that pulls in and releases the exact same updates in the v2.7.3 release but for the upcoming Bolt v2.8.0
release.
This release addresses an issue with the Image component's lazyloading behavior that was causing the fallback image (src
attribute) to not display as expected in older browsers that don't natively support srcset
.
Updated Packages:
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
Published by sghoweri about 5 years ago
This is a patch release to address an issue with the Image component's lazyloading behavior that was causing the fallback image (src
attribute) to not display as expected in older browsers that don't natively support srcset
.
This update adjusts the <img>
tag's HTML to more closely match the recommended lazysizes config + adds additional tests to help catch issues like this in the future. Also adds an extra fallback layer to try and generate a fallback src
path if srcset
is defined.
Updated Packages:
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
- @bolt/[email protected]
Published by sghoweri about 5 years ago
Published by sghoweri about 5 years ago
@bolt/with-without
package to @pegawww/with-without
as prep for handing this off to the Drupal teamcredit-card
close-circled
face-happy
face-sad
chart-bar
exclamation
@pegawww/with-without
) to be added to the Twig namespaces auto-registered.verbosity
config option is set to 5 (the most verbose output when compiling) #1355mousetrap
and react-html-parser
packages missing from the recently released Typeahead component CC @christophersmith262Published by sghoweri about 5 years ago
inactive
prop to the Accordion component to allow individual Accordion items to be optionally "deactivated" in certain use cases (ex. using a collection of accordions to display an agenda and needing to account for items without any nested content).Note: as a best practice (and out of caution), this is an opt-in option since there's no sensible way to know f this behavior always applies to 100% of all components / use cases, or if an accordion item currently (or will eventually) contain content (ex. if content gets dynamically injected...).
Closes out http://vjira2:8080/browse/WWWD-4037
@bolt/animations
Sass package to help support ongoing projects.CC @charginghawk @EvanLovely @joekarasek @WessWillis @glassdimly @danielamorse @margoromo @adamszalapski @mikemai2awesome @christophersmith262
Published by sghoweri about 5 years ago
Tabs organize multiple panels of related content, allowing users to view one panel at a time.
Typeahead is an input field with dropdown-like listbox that displays suggested results that most closely match a user's given search term.
Demo of linking directly to a Typeahead suggestion
Demo of linking to pre-populated search results
valign
Addedvalign
option which gives users some control over the focal point of background images. #1339
@bolt/core
and @bolt/components-image
#1407Extra huge thanks to @danielamorse, @mikemai2awesome, @adamszalapski, @remydenton, @margoromo, and @christophersmith262 for all the help getting this out the door!!
Published by sghoweri about 5 years ago
<bolt-animate>
β
Incredibly flexible animation possibilities come from this new web component. Wrap it around any other component or HTML and easily set animations on them.
β
<bolt-animate in="fade-in-slide-up">
<h2>This heading will fade in and slide up when triggered</h2>
</bolt-animate>
β
in
for "build in" that control how it appears on the page once triggered, once completed it goes to the idle
animation stage (could be a subtle pulse), and then an out
animation can be triggered for "build out" animations like "fade out slide down"<bolt-animate>
s can be used together for orchestrating complex multi-step animations by specifying the order of either the in
or out
animations; see example below:<div id="my-animations">
<bolt-animate in="fade-in" in-duration="1000" in-order="1">
<h2>1st fade in</h2>
</bolt-animate>
β
<bolt-animate in="fade-in" in-duration="1000" in-order="3">
<h2>3rd fade in</h2>
</bolt-animate>
<bolt-animate in="fade-in" in-duration="1000" in-order="2">
<h2>2nd fade in that happens in parallel to below</h2>
</bolt-animate>
<bolt-animate in="fade-in" in-duration="1000" in-order="2">
<h2>2nd fade in that happens in parallel to above</h2>
</bolt-animate>
</div>
β
To trigger the animations of the above markup, use the JS below:
β
import { triggerAnimsInEl } from '@bolt/components-animate/utils';
β
const animationWrapper = document.getElementById('my-animations');
β
triggerAnimsInEl(animationWrapper).then(() => {
console.log('All animations complete');
});
β
β
β
A collection of web components that help to explain an individuals journey to solve an issue by communicating with others. What does that mean? Well, it includes these components:
β
<bolt-animate>
component to animate these components in a way that tells a storyβ
A next generation editor for authoring portions of web pages using web components brings many exciting opportunities! Once Web Components from Bolt (or other places) have been registered in the editor, it's possible to drag and drop them around, select them to alter their attributes to change appearance, update text and much more. The Micro Journeys, Editor, and Animate component have been part of a bigger goal of creating custom experiences that aren't one-offs and this is really exciting. The Editor will grow to be able to work with much more than the Micro Journeys as more of Bolt is added. Here's a quick sample:
β
Published by sghoweri about 5 years ago
Super huge thanks to @danielamorse, @EvanLovely, @mikemai2awesome, @TashaBasalt, @adamszalapski, @joekarasek, @relimck, @remydenton, @christophersmith262, and @margoromo for all of your hard work getting this latest release of the Bolt Design System out the door!! π
@bolt/critical-path-polyfills
PackageAdded a new Bolt package containing a handful of Javascript polyfills that get inlined on the page. This should help assist with smoothing over some cross browser compatibility behavior with some 3rd party libraries! Check out the docs for more information!
toggle
Javascript method. #1327noBodyScroll
feature. This now allows the page to scroll behind the modal by default as a temporary workaround to prevent the page's content from shifting. #1304disabled
HTML attribute to Button's inner elements when the disabled
prop is set. #1260target
is defined via Drupal's {{ attributes }}
object instead of the default target
prop. #1266attributes
object #1329include
path in action-block.twig
adaptor file from _action-block.twig
to _action-block-item.twig
. #1233autoplay
behavior on iOS #1347disabled
HTML attribute to Trigger's inner elements when the disabled
prop is set. #1260@bolt/analytics-autolink
and @bolt/analytics-autotrack
packages to no longer throw a Javascript error if Google Analytics's Javascript never loads OR if a config for tracking external-bound links is undefined. #1321bolt-repeat-rule
mixin to repeat a block of styles as a separate rule-set for each selector provided, helps keep :host
rulesets DRY.node_modules
and vendor
directories. This should fully restore the ability to run npm start
in Drupal and utilize Webpack Dev Server and live reloading! #1323@bolt/build-tools
to allow for customizing the full URL that gets proxied by Browsersync. This allows for non-Bolt provided servers (like Drupal) to benefit from live reloading when CSS and Javascript changes while doing local development! #1237openServerAtStart
config option to now try and reuse an existing browser tab previously opened. This should be a super helpful update for devs ever needing to restart the build tools while doing local development!@bolt/build-tools
to add 'env' to the global data exposed to all JavaScript files (via Webpack) + wrap 'env' and 'lang' in JSON.stringify() #1241@bolt/build-tools
#1267@bolt/build tools
Jest snapshots to reflect minor CSS changes #1333Puppeteer Core
+ launch using an instance of Chrome already installed; significantly speeding up / slimming down local dev installs + shaving nearly a minute off of our Travis CI build! #1255yarn test:types
.@bolt/critical-path-polyfills
package #1333isBackgroundVideo
prop #1326generator-bolt
to @bolt/generator-bolt
to avoid publishing issues due to NPM namespace permissions. #1305Check out the full emojii guide.
Published by sghoweri about 5 years ago
This is a small patch release to address an issue with the Build Tools caused by a recent behavior change to an upstream dependency (Sass Loader). #1361
Published by sghoweri about 5 years ago
Besides the updates released in the first v2.6.0 beta, this pre-release of the Bolt Design System includes the following changes:
v2.6.0-beta.1
release (#1333)@bolt/build tools
Jest snapshots to reflect minor CSS changes@bolt/critical-path-polyfills
packageisBackgroundVideo
prop #1326autoplay
behavior on iOS #1347Published by sghoweri about 5 years ago
@bolt/critical-path-polyfills
Package Addedtoggle
Javascript method. #1327noBodyScroll
feature. This now allows the page to scroll behind the modal by default as a temporary workaround to prevent the page's content from shifting. #1304disabled
attribute to bolt-button and bolt-trigger inner elements when prop is set. #1260target
prop when target is defined via Drupal's {{ attributes }}
object instead of the default target
prop. #1266@bolt/build-tools
to allow for customizing the full URL that gets proxied by Browsersync. This allows for non-Bolt provided servers (like Drupal) to benefit from live reloading when CSS and Javascript changes while doing local development! #1237@bolt/build-tools
to add 'env' to the global data exposed to all JavaScript files (via Webpack) + wrap 'env' and 'lang' in JSON.stringify() #1241@bolt/build-tools
#1267openServerAtStart
config option to now try and reuse an existing browser tab previously opened. This should be a super helpful update for devs ever needing to restart the build tools while doing local development!bolt-repeat-rule
mixin to repeat a block of styles as a separate rule-set for each selector provided, helps keep :host
rulesets DRY.<bolt-code-snippet>
component's Twig template to work better when Javascript is disabled / hasn't finished loading #1224include
path in action-block.twig
adaptor file from _action-block.twig
to _action-block-item.twig
. Added tests for adaptor file and deprecated props. #1233TESTING.md
manual testing steps for the Device Viewer component #1238@bolt/analytics-autolink
and @bolt/analytics-autotrack
packages to no longer throw a Javascript error if Google Analytics's Javascript never loads OR if a config for tracking external-bound links is undefined. #1321@bolt/build-tools
browserSync config trying to watch files for changes in node_modules
and vendor
directories which had been causing issues when trying to run bolt start
in certain project configurations. #1323This should fully restore the ability to run npm start
in Drupal and utilize Webpack Dev Server and live reloading!
This PR also updates our existing Drupal Lab tests to check that a temporary workaround fixes the issue in Drupal (immediate workaround using the most recent release of Bolt) + adds a new suite of tests for the latest upcoming release of our build tools. #1265
The SSR server is now running as a persistent HTTP2 server (vs CLI previously), speeding up server-side rendering to be around 128x faster (~0.01s response)!! π
Incorporated several different updates to fix and improve overall testing consistency in Bolt (ex. more predictable results when running Jest tests locally vs on Travis) in addition to better handling the results from successful / failing visual regression tests. #1272
Added a new suite of testing utilities (including a powerful new way to walk through Twig-based dependencies) + quicker Jest tests via #1226
Added global type checking (not compiling) of Javascript files in the Bolt monorepo using TypeScript via yarn test:types
.
Note: Currently there are a lot of errors coming in and fine tuning the includes and excludes properties in tsconfig.json would be a good start to narrow the focus would be a good idea. The big advantage from this update is much better editor auto-completion. #1234
This update will significantly reduce our infrastructure costs with Now.sh by temporarily having all of our deployments be a static HTML deployments (ie. no PHP services and no Docker containers). The only main drawback with this update is that our Twig Rendering Service / Component Explorer needs to be temporarily disabled until we've finished working on getting this to work on Now.sh's new serverless architecture (lots of progress has been made on this thankfully!).
For the time being, a Component Explorer placeholder + message has been aded on all component docs pages this particular feature had been getting used -- namely on the Button, Navbar, and Carousel component sections in Pattern Lab.
Added a new monorepo helper script to automatically update NPM dependencies in packages not managed by directly by Lerna (ex. the example integration demos using Vue, Angular, Drupal Lab, etc). #1205
DevOps related updates to upgrade Boltβs Puppeteer instances to now use Puppeteer Core
+ launch using an instance of Chrome already installed; significantly speeding up / slimming down local dev installs + shaving nearly a minute off of our Travis CI build! #1255
Also includes a handful of UIKit visual improvements + a ton of IE-specific bug fixes that popped up when testing out these updates.
Before:
After:
generator-bolt
to @bolt/generator-bolt
to avoid publishing issues due to NPM namespace permissions. #1305The old NPM package now points people to use the renamed package (including when installing the old NPM package via the command line).
v2.5.3/4
@bolt/components-trigger
as an NPM dependency of @bolt/components-modal
so this sub-component gets automatically NPM installed if it isn't manually listed out in a package.json
. #1229sizes
prop in nested images to be overwritten with a less optimized config. #1257--config-file
option to restore multiple language-specific builds #1232<bolt-text>
component CSS to address a minor Sass-related regression in IE that had been causing the outer container to not display the correct display
or margin
styles. #1231Published by danielamorse about 5 years ago
This is a small hotfix release which addresses a few minor v2.5.x
-related items.
Added IE11 fallback for zoom-in
and zoom-out
options for bolt-trigger
's cursor prop. #1300
Fixed focus-trap
IE11 JS error that caused images to be distorted. #1293
Restored regular
width prop option. #1299