Skip to content

Releases: CMSgov/design-system

1.3.0

16 Oct 15:41
Compare
Choose a tag to compare

🚀 Added

  • Added support for React 16. #163

💅 Changes

  • Changed padding values of button, input, and select components. #165

    image

  • Changed icon of select component to be consistent with U.S. Web Design Standards #166

    image

  • Removed PNG fallback icons. These were only needed for IE9 support. #166

1.2.0

27 Sep 20:23
Compare
Choose a tag to compare

🚀 Added

@cmsgov/design-system-core

  • Right-to-left checkbox/radio style - #144
    • New ds-c-choice--right modifier class for placing a checkbox/radio on the right side of the label
    • New inputClassName and inputPlacement props added to Choice component
  • Added a "small" size variant to the Choice component - #146
    • New ds-c-choice--small modifier class added
    • New size prop added to Choice component

      small choice

  • New aria-valuetext and role props (with default values) added to Spinner component - #138, #141

💅 Changes

@cmsgov/design-system-core

  • Bumped react and react-dom to 15.6.2 - #153
    (We'll add support for v16.x very soon, after a little more testing).

@cmsgov/design-system-support

  • Bumped uswds package to 1.3.1 - #145

Sketch file - #142

  • Renamed file to make more sense with how Sketch Libraries work
  • Reorganized text styles
  • Updated color values
  • Added additional button component variations
  • Added "small" body text style
  • Fixed resizing constraints of Dropdown, Checkbox, and Radio buttons
  • Add "big" variation of "disabled" button

🛠 Fixed

@cmsgov/design-system-core

  • Fixed checkbox/radio behavior caused by negative margin: The Choice input was hidden by setting its margin-left property to -100%. This caused issues when two choices were side by side. #143

📦 Internal

  • Added ability to preview site packages, AKA "themes", in the context of the documentation - #139

1.1.0

30 Aug 02:04
Compare
Choose a tag to compare

🚀 Added

Core

  • A Sketch file with design system's components and shared styles is now available in the design-assets directory of the repo.
  • New component: Spinner (#126)
    Currently considered in Alpha status, so expect further guidance and possibly breaking changes for this component.

Support

  • New mixin: inline-icon

💅 Changes

Core

  • Updated the visual design of the Alert component, reflecting the same visual changes coming down the US Web Design Standards pipeline. (#128)

    image

1.0.1

17 Aug 22:41
Compare
Choose a tag to compare

🛠 Fixed

@cmsgov/design-system-core

  • Fixed IE compatibility of the VerticalNavItem and VerticalNavItemLabel React components

📦 Internal

  • Fixed IE compatibility of docs site

1.0.0

15 Aug 14:52
Compare
Choose a tag to compare

This is the first official release of the CMS Design System. Future releases will conform to the Semantic Versioning as outlined here.

🚀 Added

  • Added a flex-wrap utility class
  • Added a $ds-include-base-html-rulesets: true Sass variable which, when set to false, will disable the base HTML selectors. (Only a {...} right now — see below)
  • Added SkipNav CSS and React component

🚨 Breaking changes

  • Added styling to base <a> elements (More info here: #106)
  • Renamed ds-c-vertical-nav__link to ds-c-vertical-nav__label to more accurately represent its functionality — it can be used on more than just <a> tags. (#116)
  • Changed both the default font and image paths so that their directories are now expected to live in the same directory as the CSS's directory. This is actually what the U.S. WDS does, so it's a reversion of customizations we made early on. The expected file structure is now:
    ├── Assets directory/
        ├── css/          # The CSS directory can be named whatever you want.
        ├── images/
        └── fonts/
    
    To restore the previous behavior, you could define the following variables before the line where you @import the design system's Sass file:
    $font-path: 'fonts';
    $image-path: 'images';
    
    @import '@cmsgov/design-system-core';
  • Moved the fonts and images directories to the root of packages/core, moving them out of the dist and src directories.

💅 Changes

  • ds-u[-*]-justify-content*, ds-u[-*]-align-items*, and ds-u[-*]-flex-wrap* now use !importants when setting properties.

  • ds-display and ds-title will now drop down to the font-size of ds-h1 on small screens. This is similar to what USWDS does and saves the trouble of doing this yourself during implementation, which you'd likely need to do.

  • When a Vertical Nav item includes a sub-navigation menu, the user can now toggle the sub-nav by clicking anywhere on the label. Before, they had to click the arrow icon, which was pretty annoying. Below is a visual comparison of the functionality:

    Before After
    old new

🛠 Fixed

  • Fixed unexpected flexbox grid column behavior caused by the default min-width value of flexbox items being set to auto. This could result in a grid column overflowing the viewport on the x-axis, rather than resizing to fit within the viewport as you'd expect. For more context, check out this article.

1.0.0-rc.2

19 Jul 20:59
Compare
Choose a tag to compare

🚀 Added

🚨 Breaking changes

  • Moved Sass mixins and variables to separate NPM package: @cmsgov/design-system-support — These are still included in the core package and this change shouldn't break anything unless you were importing the individual settings or mixins files.

💅 Changes

  • Removed bourbon dependency

📦 Internal

Lots of improvements to the internal tooling and documentation site. Some highlights:

  • HTML examples are now rendered in a sandboxed iframe
  • Added the ability for some examples to include toggles, allowing you to preview the example at various breakpoints
  • Added GOVERNANCE.md

1.0.0-rc.1

29 Jun 20:55
Compare
Choose a tag to compare

This is the first release candidate — meaning we feel confident that the components within it which are being recommended have no known bugs. Each component now has its own status (alpha, beta, or recommended). The majority of the components are now considered "recommended". This is consistent with their status in the U.S. Web Design Standards, which is where most came from.

🚀 Added

  • Added support for Table row headers and a new ds-c-table__caption component

    image

💅 Changes

  • Substantial updates to the guidance documentation of each component
  • Changed the styling of the Badge component and added additional modifiers:

    image

1.0.0-alpha.11

19 Jun 14:00
Compare
Choose a tag to compare
1.0.0-alpha.11 Pre-release
Pre-release

🚀 Added

  • React component for Vertical Navigation #73

💅 Changes

  • Increased smallest font size from 13px to 14px #73

  • Upgraded dependencies #74

    Package Current version Updated version
    React 15.5.4 15.6.1
    USWDS 1.2.0-rc1 1.2.1

1.0.0-alpha.10

05 Jun 13:48
Compare
Choose a tag to compare
1.0.0-alpha.10 Pre-release
Pre-release

Documentation 👉

🚀 Added

  • New utility classes:
    • .ds-u-text-decoration--underline
    • .ds-u-text-decoration--none
  • Added .ds-u-color--primary-darkest utility class

🚨 Breaking changes

  • Removed .ds-u-font-weight--light
  • Removed the "Open Sans - Light" font file. This reduces page weight by 11.16kB.

💅 Changes

  • The font-weight of .ds-title and .ds-text--lead are now set to normal. Previously they were set to "light".
    lead text
  • Change buttons to be same height as text fields
    image
  • Added a border to Alert components

🛠 Fixed

  • Update USWDS to 1.2.0-rc1, resolving an issue where installing the design system NPM package was also installing a bunch of unnecessary dependencies used by the USWDS
  • Alignment of checkbox/radio fields when text wraps

📃 Documentation

  • Added guidance for grid layout and internationalization

1.0.0-alpha.9

19 May 17:54
Compare
Choose a tag to compare
1.0.0-alpha.9 Pre-release
Pre-release

Documentation 👉

🚀 Added

  • Added .woff2 font files for a reduced page weight
  • Added a Tabs component

    tabs