Bump uswds from 2.0.0-beta to 2.0.0-beta.2
Created by: dependabot-preview[bot]
Bumps uswds from 2.0.0-beta to 2.0.0-beta.2.
Release notes
Sourced from uswds's releases.
2.0.0 Beta 2
Internal
- Say goodbye to maya
- Welcome saracope to the core team
- Added a new build process to
uswds-siteto modularize the CSS output and compile only the Sass necessary to see the change. For instance, utility classes, layout grid, fonts, and USWDS components don't need to be re-generated when making a change to custom Sass. (https://github-redirect.dependabot.com/uswds/uswds-site/pull/674)
- Add new gulp scripts and npm scripts to process only the necessary Sass
- Add conditional stylesheets to
uswds-sitethat load individual CSS modules when in the local environment and a single, minified CSS file when built through Federalist- This can speed up most builds by about 10x!
Additions
- Added Public Sans to its own repo:
uswds/public-sans- Added basic gulp pipeline to its own repo:
uswds/uswds-gulpUpdates
- Updated the font license information in LICENSE.md (https://github-redirect.dependabot.com/uswds/uswds/pull/2800)
Bug fixes
- Fixed a typo that prevented the
gray,gray-warm, andgray-coolgrade 60 colors from appearing (https://github-redirect.dependabot.com/uswds/uswds/pull/2801)- Gray cool and Gray warm were reversed in token data. Now they aren't and should output correctly. (https://github-redirect.dependabot.com/uswds/uswds/pull/2823)
- Added the
uifont family to line-height. Now you can use something likeline-height('ui', 3)(https://github-redirect.dependabot.com/uswds/uswds/pull/2824)- Fixed a problem with the display of some items in our documentation (https://github-redirect.dependabot.com/uswds/uswds-site/issues/673)
- Addressed a potential vulnerability with
mem@1.1.0by updating toyargs@12.0.2(https://github-redirect.dependabot.com/uswds/uswds/pull/2842)- Fixed a bug where
aelements classed withusa-buttonvariants were being overridden byusa-button:visitedstyles. (https://github-redirect.dependabot.com/uswds/uswds/pull/2827)
- Thanks stphnwlkr!
Improvements
- Added a AAA magic number to the docs and updated contrast references to WCAG 2.0 (https://github-redirect.dependabot.com/uswds/uswds-site/pull/656)
- Removed utility classes from any component (https://github-redirect.dependabot.com/uswds/uswds/pull/2823)
⚠ ️ breaking change: Removes aflex-justifyutility from the footer component and revises footer markup to add this rule to component code. This markup would need to be updated.- Modified some nunjucks templates to improve the rendering of markup code in the components docs (https://github-redirect.dependabot.com/uswds/uswds/pull/2823)
- Added any public-facing mixin into files within the
core/mixinsfolder so they can be imported without importing any styles (https://github-redirect.dependabot.com/uswds/uswds/pull/2844)- Removed
_uswds-theme.scssstylesheet from the theme stylesheets. This was an abstraction file that collected all the settings files together, but it proved a little confusing and may have been a premature optimization. Now all the settings files are included directly instyles.scss(https://github-redirect.dependabot.com/uswds/uswds/pull/2830)- The 'object' namespace was causing confusion and wasn't useful enough to justify its inclusion. (https://github-redirect.dependabot.com/uswds/uswds/pull/2829)
- Removed
objectfrom namespace options since it proved confusing to users- Output all utilities with utility namespace
- Add
add-manually to those utilities that previously added them with the object namespace- Now the letterspacing function can accept numerical equivalents and not just
'ls-[token]'strings. Sols(-2)is now valid. (https://github-redirect.dependabot.com/uswds/uswds/pull/2826)- Added a
$theme-show-compile-warningssetting (default:true) to show compile warnings when using false or nonstandard tokens (https://github-redirect.dependabot.com/uswds/uswds/pull/2828)- Use the word 'token' instead of 'value' in compile errors to align with our naming convention (https://github-redirect.dependabot.com/uswds/uswds/pull/2828)
- Use 'system' instead of 'uswds' in palette names (ex:
$palette-font-system-mono-microinstead of$palette-font-uswds-mono-micro) to align with our naming convention. (https://github-redirect.dependabot.com/uswds/uswds/pull/2828)
⚠ ️ Breaking change: Any palette usinguswdsin its name needs to be update to usesysteminstead, as show above.Documentation
... (truncated)
- Removed out of date references and added notes when some documentation or features were consipicuously absent (https://github-redirect.dependabot.com/uswds/uswds-site/pull/657)
- Removed references to palette variables
- Updated USWDS 2.0 token references
- Added notes when documentation is notably not in with USWDS 2.0 (typesetting, for instance)
- Updated readme with USWDS 2.0-specific information (https://github-redirect.dependabot.com/uswds/uswds/pull/2819)
- Installing using npm
- Using the USWDS package
Commits
-
139f4b4Merge pull request #2852 from uswds/release-2.0.0-beta.2 -
4dc78452.0.0-beta.2 -
2f5f5acUpdate package lock -
7a09fffMerge pull request #2827 from uswds/dw-fix-buttons -
d9595aeMerge branch 'release-2.0' into dw-fix-buttons -
a6a58c9Merge pull request #2844 from uswds/dw-consolidate-mixins -
476bed9Move public mixins into mixins folder -
b72bb36Merge pull request #2842 from uswds/dw-update-yargs -
e26e344Update to yargs@12.0.2 -
96ba311Merge pull request #2841 from uswds/dw-import-order - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.