Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies: design-system@0.39.0, babel/core@7.24.0, cypress@13.6.6, eslint@8.57.0, eslint-plugin-jsdoc@48.2.1, mini-css-extract-plugin@2.8.1, postcss-preset-env@9.5.0 #493

Merged
merged 7 commits into from
Mar 28, 2024
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
6 changes: 3 additions & 3 deletions dist/ccdb5.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ccdb5.css.map

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions dist/ccdb5.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ccdb5.js.map

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@
],
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.23.10",
"@babel/preset-react": "^7.23.3",
"@babel/runtime": "^7.23.9",
"@cfpb/cfpb-atomic-component": "0.37.0",
"@cfpb/cfpb-buttons": "0.37.0",
"@cfpb/cfpb-core": "0.37.0",
"@cfpb/cfpb-design-system": "^0.37.2",
"@cfpb/cfpb-expandables": "^0.37.0",
"@cfpb/cfpb-forms": "0.37.1",
"@cfpb/cfpb-grid": "0.37.0",
"@cfpb/cfpb-icons": "^0.37.0",
"@cfpb/cfpb-layout": "0.37.0",
"@cfpb/cfpb-notifications": "0.37.0",
"@cfpb/cfpb-pagination": "0.37.0",
"@cfpb/cfpb-tables": "0.37.0",
"@cfpb/cfpb-typography": "0.37.2",
"@babel/runtime": "^7.24.0",
"@cfpb/cfpb-atomic-component": "0.39.0",
"@cfpb/cfpb-buttons": "0.39.0",
"@cfpb/cfpb-core": "0.39.0",
"@cfpb/cfpb-design-system": "^0.39.0",
"@cfpb/cfpb-expandables": "^0.39.0",
"@cfpb/cfpb-forms": "0.39.0",
"@cfpb/cfpb-grid": "0.39.0",
"@cfpb/cfpb-icons": "^0.39.0",
"@cfpb/cfpb-layout": "0.39.0",
"@cfpb/cfpb-notifications": "0.39.0",
"@cfpb/cfpb-pagination": "0.39.0",
"@cfpb/cfpb-tables": "0.39.0",
"@cfpb/cfpb-typography": "0.39.0",
"@craco/craco": "^7.1.0",
"@reduxjs/toolkit": "^2.1.0",
"@testing-library/cypress": "^10.0.1",
Expand All @@ -65,17 +65,17 @@
"coveralls": "^3.0.9",
"craco-esbuild": "^0.5.2",
"craco-less": "^3.0.1",
"cypress": "^13.6.5",
"cypress": "^13.6.6",
"d3": "^5.12.0",
"d3-selection": "^1.4.0",
"dayjs": "^1.11.10",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-jsdoc": "^48.0.6",
"eslint-plugin-jsdoc": "^48.2.1",
"eslint-plugin-react-redux": "^4.1.0",
"highcharts": "9.2.2",
"history": "^5.3.0",
Expand All @@ -91,11 +91,11 @@
"less-plugin-clean-css": "^1.5.1",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.8.0",
"mini-css-extract-plugin": "^2.8.1",
"mockdate": "^3.0.5",
"postcss": "^8.4.35",
"postcss-less": "^6.0.0",
"postcss-preset-env": "^9.4.0",
"postcss-preset-env": "^9.5.0",
"postcss-safe-parser": "^7.0.0",
"prettier": "^3.2.4",
"prop-types": "^15.5.10",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Filters/DateFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,12 @@ export const DateFilter = () => {
</ul>
<DateRanges />
{errors ? (
<>
{errors + ' '}
<div className="a-form-alert a-form-alert__error" role="alert">
<span aria-hidden="true">
{getIcon('delete-round', 'cf-icon-delete-round')}
</span>
</>
<span className="a-form-alert_text">{errors + ' '}</span>
</div>
) : null}
</div>
</CollapsibleFilter>
Expand Down
10 changes: 8 additions & 2 deletions src/components/Filters/FilterPanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@
border-right: none;
}

hr {
.a-form-alert {
margin-top: @gutter-normal;
margin-bottom: @gutter-normal;
}

hr {
margin: 0;
color: @gray-40;
}

.single-checkbox {
margin: @gutter-normal;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,25 @@ exports[`component::DateFilter snapshot shows errors 1`] = `
All
</button>
</section>
'From' date must be less than 'through' date
<span
aria-hidden="true"
<div
className="a-form-alert a-form-alert__error"
role="alert"
>
<svg
className="cf-icon-svg cf-icon-delete-round"
<span
aria-hidden="true"
>
error-round.svg
</svg>
</span>
<svg
className="cf-icon-svg cf-icon-delete-round"
>
error-round.svg
</svg>
</span>
<span
className="a-form-alert_text"
>
'From' date must be less than 'through' date
</span>
</div>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/components/__tests__/FilterPanel.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import renderer from 'react-test-renderer';
import { shallow } from 'enzyme';

/**
* @returns {object}
* @returns {object} - An enzyme configuration object.
*/
function setupEnzyme() {
const props = {
Expand Down
Loading