Releases
We hope to continually improve Digital Guidelines by listening to your feedback. Here you will find our release notes and summaries of bug fixes, new features, and other updates introduced in each release.
5.2.0
Features
Introducing the new combobox component — share your feedback at DTMB-DG-Support@michigan.gov - Added
date
andtime
types to input component’stype
property - Added new small
.0_25
and.0_75
spacing helper classes - Added new responsive helper classes for gap utilities
- Added usage documentation for the following components:
Bug fixes
- Fixed issue where left and right arrows were appearing intermittently on side(s) of tabs
- Added missing
.font-italic
helper class - Added missing default values to
addToast
method in toast group component - Fixed issue where checkboxes and radio buttons were not displaying in card component
5.1.0
Bug fixes
- Adjusted tooltip positioning in data grid headers
- Fixed issue where slotted footer links were heavier weight than other footer links
- Fixed color contrast issue in light-mode footer text
- Fixed bug where radio buttons and checkboxes disappeared when their
hideLabel
prop was set to true - Added missing props to toast group's
addToast
method - Fixed issue where button dropdown in expanded state would not update its
aria-expanded
attribute properly if Escape key was used to close dropdown - Fixed radio button bug where
hover
CSS did not take effect on initial load
Component updates
- Added
minDate
andmaxDate
props tosom-date-picker-input
,som-date-picker-mobile
, andsom-date-range-picker-button
- Date picker dates disabled using
min
andmax
properties now visually reflect disabled state - Group label font size now matches checkbox and radio button label font size
Documentation updates
- Added new Usage tab in component documentation that provides design specs and detailed guidance on effectively implementing into your designs. You'll see this new tab in the following components, with more rolling out in future releases:
- Added dedicated Support page with information on ways to get help and connect with the Digital Guidelines team
5.0.0
Breaking changes
We’ve made some necessary changes to how assets are imported and resolved in Angular and React projects. You can find the updated instructions for each via the Getting Started page.
Features
- Added support for Angular standalone components
- Added new
som-toast
andsom-toast-group
components - Added new category for notification-type components, such as
som-alert
andsom-toast
- Updated example section to show live component examples first with option to expand or collapse sample code as desired
- Updated instructions for using Digital Guidelines with React
Bug fixes
- Added
table-name
property tosom-pagination
to better describe pagination to screenreaders when multiple tables are present - Updated width of close button focus ring on overlays (
som-panel
,som-dialog
, andsom-modal
) to match WCAG requirements - Fixed issue where
som-tab-panel-group
s were not rendering nestedsom-tab
elements properly - Updated form element disabled text color to match Figma designs
- Updated documentation for primary and light teal colors with accurate RGB values
- Fixed accessibility issue where disabled buttons were removed from tab flow and undetectable by screenreaders
- Fixed problem where collapse component wasn't rerendering properly after update
- Fixed issue where pressing
Esc
twice would allow a modal to close even whenenable-keyboard-close
prop wasfalse
4.2.0
Feature
- Updated Angular library to support the Ivy compiler and runtime
Bug fixes
- Fixed issue with styling of
som-button
on rerenders
4.1.0
Release notes, now with dates!
Features
- Added indeterminate checkbox option to support nested checkboxes
- Added new tooltip option to form element labels
- Added form label slots to make styling easier
- Added prefix and suffix slots to
som-input
to allow for icons and buttons - Added screenreader support for
som-textarea
to announce when a user has reached the character limit
Changes
- Removed
som-form-field
andsom-form-field-group
components - Removed
part
fromsom-panel
- Deprecated
grouped
prop onsom-input
- Deprecated
labelClass
prop on form elements - Updated default link styles to be underlined and medium weight
New to Docs
- Added a deprecation badge to clearly identify any component props, methods, or events we're no longer supporting
4.0.1
Bug fixes
- Fixed
som-button
click event firing twice when using theenter
key. - Fixed nested interactive controls in
som-button
.
4.0.0
Digital Guidelines 4.0.0 represents an important major update in the State of Michigan's design system, setting a new standard for its future. Key enhancements in this rewritten version include -
Feature
- NPM packages for web components, Angular, and React libraries.
- Figma library to help design applications using Digital Guidelines.
- All components have been translated to web components.
- Updated component styling for a better overall experience.
- Components using the latest native web elements, such as
<dialog>
, to power web components and improve accessibility. - Added token variables in Figma and code.
- Handling of assets.
We highly recommend adopting version 4.0.0 for all new projects. However, please be advised that transitioning from 3.x.x to 4.0.0 will introduce numerous breaking changes and necessitate significant code modifications. Should you require assistance with migrating from an earlier version, please get in touch with us at DTMB-DG-Support@michigan.gov.
3.2.0
Bug fixes
- Add
aria-hidden
to the icon in the alert component. - Fixed icon component to bottom align with text.
- Fixed tab issue when content dynamically changes within the modal component.
- Fixed animation issue on first render with the collapse component.
- Fixed accessibility and resizing issues with the collapse component.
- Deprecated
refresh
method on the collapse component. - Fixed accessibility issues with the header component.
- Fixed accessibility issues with the date picker component.
- Fixed cut off text in select input forms on different browsers.
- Fixed loading issue with fonts.
- Fixed a logo resizing issue with the header component.
New items
- Added tab component event when the active tab changes.
3.1.0
Bug fixes
- Fixed issue with printing custom checkboxes and radio buttons.
- Fixed focus issue on the modal component when clicking outside a focusable element.
- Fixed issues with the collapse component when initially closed.
- Fixed datepicker component's
dateChanged
event. - Fixed color contrast issue with inactive tabs.
- Fixed overflow issue on tabs component.
- Fixed issue with the header component where the mobile menu was rendered when no menu items were defined.
- Fixed focus issue on the date picker component when clicking outside a focusable element.
- Fixed focus issue on the icon component.
New items
- Added toggle component.
- Added dialog component.
- Added cards component.
- Added card component.
- Added print utilities.
- Added new properties to the modal component to better control how a user exits.
- Added
min-date
andmax-date
properties to the datepicker component. - Added
error
event to the datepicker component.
Changes
- Changed all methods to return a
promise
instead ofvoid
. - Small style updates to the modal component.
3.0.0
Breaking changes
- Changes how the header component handles navigation to allow more flexibility.
- Changed the method for passing extra links into the footer component. Links now need to be wrapped in a
som-footer-item
to be properly rendered.
Bug fixes
- Icons now default to the color of the surrounding text.
- Fixed setting default input date when selected-date property is set on a date picker component.
- Fixed word wrap Internet Explorer issue in the alert component.
New items
- Added a new
setMonthToOpen
method to date picker. - Added
content-fill
class to push the footer to the bottom when there isn't sufficient content to do so. - Added badge component.
- Added button component.
- Added panel component.
Changes
- Added skeleton UI while the header component is loading.
- Modified button sizes to contain less padding.
- Removed custom focus ring in favor of the browser default.
- Changed body typography to use system fonts.
2.0.1
Bug fixes
- Fixed escape key issue in date picker component.
- Fixed skip navigation issue in header component.
- Fixed focus in modal component after
refresh
method is called. - Fixed focus issue in date picker component.
2.0.0
Breaking changes
- CSS classes no longer affect icons. Size and color parameters were added to take care of styling.
Bug fixes
- Fixed color contrast issues with the focus state of input elements.
- Fixed icon alignment in header component on larger breakpoints.
- Fixed duplicate id issues in modal component.
- Fixed duplicate id issues in tabs component.
- Fixed documentation around responsive tables.
- Fixed inconsistencies with button styles.
- Fixed the btn-link
:focus
color. - Fixed tab height issue with dynamic content.
New items
- Added the ability to dismiss an alert.
- Added an event emitter to the collapse component to better track
aria-expanded
properties. - Added prop to collapse component to set initial state of open/closed.
- Added beta release of date picker component.
- Added ability for a custom close button in the Modal component.
- Added fixed header with scrollable content in the Modal component.
- Added
onOpen
andonClose
events in the Modal component. - Added ability to hide close button in the Modal component.
- Added
header-accent
optional classes to h1-h6 elements. - Added refresh method to the modal component to accommodate data loaded asynchronously.
- Added
btn-icon
class to buttons - Added
setActiveLink
method to the header component.
Changes
- Alerts, Header, and Footer were converted to use Shadow DOM. The som-components.css is no longer needed to render those components.
- Updated
gray-100
throughgray-400
colors to remove the blue hue - Modified h1-h6 heading sizes.
- Updated typography documentation to be more clear and add more accessibility information.
- Updated the header navigation font. Adjusted the size and used the header default of Montserrat
- Updated the border on cards and tables to
gray-200
- Moved the alerts description to be next to the alert icon instead of below
- Removed
font-weight-light
class. - Removed Google Fonts dependency and moved to self hosting fonts.
- Updated modal background color to transparent
- Updated the focus color on all focusable elements
1.0.0
Bug fixes
- Removed menu icon when there are no primary navigation items.
- Fixed issue in header component where responsive secondary navigation wouldn't show if a primary navigation wasn't marked as
class="active"
. - Fixed header component documentation regarding primary and secondary navigation.
- Fixed CSS and JS references in Page Template
- Fixed issue with the Skip Navigation in the header component
- Renamed alert component title property to headline to not conflict with the native HTML property.
- Fixed
ARIA
landmark issues on documentation website - Fixed screenreader focus point on route change
- Cleaned up color properties and removed unused colors - this breaks the previous syntax for the alert component
New items
- Added the beta release of a modal component.
- Added
target="_blank"
support to the footer component.
1.0.0-beta
This is our initial release of Digital Guidelines 🚀
- Released custom web components for header, footer, tabs, and collapse.
- Forked and themed Bootstrap 4 to match the State of Michigan branding.
Thank You
- 18F's Design System: The vision for this project is largely based on the work done at 18F. They did such a good job that we lifted a lot of content around accessibility from them.
- Bootstrap 4: The base from which Digital Guidelines was built on.
- StencilJS: Used for all of our web components. We cannot say enough about how helpful this has been. We have great plans to continue making components and we're excited to see what comes next.
- Suzanne Pauley for helping make this vision a reality.