Skip to content

core-2.1.0

Compare
Choose a tag to compare
@bernardwang bernardwang released this 01 Oct 21:55

@cmsgov/design-system

💅 Changed

  • Update the checkmark icon to render with SCSS instead of background image of the font awesome checkmark icon. This change fixes an accessibility issue where the checkmark icon doesn't render in Window's high contrast mode. This fix introduces a minor minor visual change, naming the removal of a border radius on the checkmark. (#827, #733)

Before:
Screen Shot 2020-09-30 at 1 30 27 PM

After:
Screen Shot 2020-09-30 at 1 31 34 PM

  • Update borderless table style to not have a background color, which aligns with USWDS's borderless table style. Other minor SCSS changes have been included to the beta <Table> component (#829)

Before:
Screen Shot 2020-10-01 at 11 45 56 AM

After:
Screen Shot 2020-10-01 at 11 45 42 AM

🚀 Added

  • Add an optional error style for choices via the ds-c-choice--error class. This style is off by default, but when the $ds-include-choice-error-highlight flag is enabled, ChoiceList components with an errorMessage will automatically apply this error style to all choices. Set $ds-include-choice-error-highlight to true in your SCSS to enable the flag. (#810, #827)

Before:
Screen Shot 2020-09-30 at 1 28 22 PM

After with the $ds-include-choice-error-highlight flag enabled:
Screen Shot 2020-09-30 at 1 28 57 PM

  • Add new draft Tooltip component. (#534, #828)
  • Add new Choice theme variables for customizing border color, background color, and border radius. See here for the full list. (#825)

📦 Internal

  • Added USWDS as a dependency, and added USWDS mixins/functions/variables to our SCSS (#826)

@cmsgov/design-system-scripts

🛠 Fixed

  • Fix stats reporting in the cmsds build script to better compare changes in our CSS (#826)
  • Fix eslint errors not being properly reported in the cmsds lint script (#821)

@cmsgov/design-system-docs

🚀 Added

  • Add SkipNav React example and additional guidance (#824)