Visitar URL original
Upgrade USWDS from v3.4.1 to v3.6.0 by aduth · Pull Request #362 · 18F/identity-design-system · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ updates:
schedule:
interval: 'daily'
allow:
- dependency-name: 'uswds'
- dependency-name: '@uswds/uswds'
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## Unreleased

### Breaking Changes

- Update USWDS from 3.4.1 to 3.6.0
- See release notes:
- https://github.com/uswds/uswds/releases/tag/v3.5.0
- https://github.com/uswds/uswds/releases/tag/v3.6.0
- Note "Breaking" changes in the above minor release. Additionally, the `inputPrefixSuffix` JavaScript named export has been removed.
Comment thread
aduth marked this conversation as resolved.

## 7.1.0

### New Features
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ const notificationOptions = {
message: '💔 Failed to build <%= file.relative %>',
},
handler(err) {
console.error(err.toString()); // eslint-disable-line no-console
notify(notificationOptions.error).write({
relative: path.basename(err.file || err.filename),
});
console.error(err.toString()); // eslint-disable-line no-console
this.emit('end');
},
};
Expand Down
354 changes: 177 additions & 177 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"homepage": "https://github.com/18F/identity-design-system#readme",
"dependencies": {
"@uswds/uswds": "^3.4.1"
"@uswds/uswds": "^3.6.0"
},
"devDependencies": {
"@18f/eslint-plugin-identity": "^2.0.0",
Expand Down
2 changes: 0 additions & 2 deletions src/js/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import datePicker from '@uswds/uswds/js/usa-date-picker';
import dateRangePicker from '@uswds/uswds/js/usa-date-range-picker';
import fileInput from '@uswds/uswds/js/usa-file-input';
import footer from '@uswds/uswds/js/usa-footer';
import inputPrefixSuffix from '@uswds/uswds/js/usa-input-prefix-suffix';
import modal from '@uswds/uswds/js/usa-modal';
import header from '@uswds/uswds/js/usa-header';
import password from '@uswds/uswds/js/_usa-password';
Expand All @@ -26,7 +25,6 @@ export {
dateRangePicker,
fileInput,
footer,
inputPrefixSuffix,
modal,
header,
password,
Expand Down
8 changes: 4 additions & 4 deletions src/scss/packages/_uswds-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ $site-palette: (
'site-lighter-grey': #dedede,
'site-lightest-grey': #f0f0f0,
'site-ink': #454545,
'site-disabled-grey': #767676,
// Yellow
'site-darkest-yellow': #504332,
'site-darker-yellow': #847122,
Expand Down Expand Up @@ -127,9 +126,10 @@ $site-palette: (
$theme-color-info-dark: map.get($site-palette, 'site-darker-teal') !default,
$theme-color-info-darker: map.get($site-palette, 'site-darkest-teal') !default,
// Disabled colors
$theme-color-disabled-light: map.get($site-palette, 'site-lightest-grey') !default,
$theme-color-disabled: map.get($site-palette, 'site-disabled-grey') !default,
$theme-color-disabled-dark: map.get($site-palette, 'site-darker-grey') !default,
$theme-color-disabled-lighter: map.get($site-palette, 'site-lighter-grey') !default,
$theme-color-disabled-light: map.get($site-palette, 'site-light-grey') !default,
$theme-color-disabled: map.get($site-palette, 'site-grey') !default,
$theme-color-disabled-dark: map.get($site-palette, 'site-dark-grey') !default,
// Links
$theme-link-reverse-color: 'white' !default,
$theme-link-reverse-hover-color: 'primary-light' !default,
Expand Down
2 changes: 0 additions & 2 deletions src/scss/packages/usa-input/src/_overrides.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@use 'uswds-core' as *;

$input-padding: 1;

.usa-input {
@include u-border-color('primary-light');
font-weight: font-weight('bold');
Expand Down
4 changes: 0 additions & 4 deletions src/scss/packages/usa-prose/src/_overrides.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
@use 'uswds-core' as *;

.usa-prose {
@include add-knockout-font-smoothing;
}

.usa-prose > {
h1,
h2,
Expand Down