Skip to content

Commit

Permalink
2.11 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Suzanne Rozier committed Sep 29, 2021
1 parent 3f6116f commit cefff0d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"peerDependencies": {
"react": "^16.x || ^17.x",
"react-dom": "^16.x || ^17.x",
"uswds": "2.10.3"
"uswds": "2.11.2"
},
"devDependencies": {
"@babel/core": "^7.10.5",
Expand Down Expand Up @@ -129,7 +129,7 @@
"stylelint-scss": "^3.17.1",
"ts-jest": "^26.1.2",
"typescript": "^4.2.4",
"uswds": "2.10.3",
"uswds": "2.11.2",
"webpack": "^5.52.1",
"webpack-cli": "^4.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const AccordionItem = ({

return (
<>
<h2 className={headingClasses}>
<h4 className={headingClasses}>
<button
type="button"
className="usa-accordion__button"
Expand All @@ -44,7 +44,7 @@ export const AccordionItem = ({
onClick={handleToggle}>
{title}
</button>
</h2>
</h4>
<div
id={id}
data-testid={`accordionItem_${id}`}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Alert = ({
return (
<div className={classes} data-testid="alert" {...props}>
<div className="usa-alert__body">
{heading && <h3 className="usa-alert__heading">{heading}</h3>}
{heading && <h4 className="usa-alert__heading">{heading}</h4>}
{children &&
(validation ? (
children
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/Validation/Validation.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const Default = (): React.ReactElement => {
onSubmit={(): void => {
console.log('submit')
}}>
<Fieldset legend="Enter a code">
<Fieldset legend="Enter a code" legendStyle="large">
<Alert type="info" validation heading="Code Requirements">
<ValidationChecklist id="validate-code">
<ValidationItem id="uppercase" isValid={validations.uppercase}>
Expand Down
4 changes: 2 additions & 2 deletions src/components/stepindicator/StepIndicator/StepIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const StepIndicator = (
{children}
</ol>
<div className="usa-step-indicator__header">
<h2 className="usa-step-indicator__heading">
<h4 className="usa-step-indicator__heading">
<span className="usa-step-indicator__heading-counter">
<span className="usa-sr-only">Step</span>
<span className="usa-step-indicator__current-step">
Expand All @@ -67,7 +67,7 @@ export const StepIndicator = (
<span className="usa-step-indicator__heading-text">
{currentStepLabel}
</span>
</h2>
</h4>
</div>
</div>
)
Expand Down
11 changes: 5 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10989,7 +10989,7 @@ lodash.clonedeep@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=

lodash.debounce@^4.0.7, lodash.debounce@^4.0.8:
lodash.debounce@^4.0.8:
version "4.0.8"
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=
Expand Down Expand Up @@ -15861,16 +15861,15 @@ use@^3.1.0:
resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"
integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==

uswds@2.10.3:
version "2.10.3"
resolved "https://registry.yarnpkg.com/uswds/-/uswds-2.10.3.tgz#16d34cee81897762d6d69d3ac83aa55129826fa6"
integrity sha512-krNRzx1jRzOJpuH/qtmQhd5zxnXTaDVqrPNYT99sJbxzWUqjb1zZHh3jFNo+xKDpNuiO0XMPwZwlaSp2YdZ3Ag==
uswds@2.11.2:
version "2.11.2"
resolved "https://registry.yarnpkg.com/uswds/-/uswds-2.11.2.tgz#bf5ff132f6324c0939d01b7eefebde340c22dcec"
integrity sha512-JISTXCjPIlrufbObIifjrMDn5jF9bbLu7UYhGWmEs9iqB6Z2KDCXHVoBUyzMmIrIjW/UWWYHZzPqOOHO6/IMCQ==
dependencies:
classlist-polyfill "^1.0.3"
del "^6.0.0"
domready "^1.0.8"
elem-dataset "^2.0.0"
lodash.debounce "^4.0.7"
object-assign "^4.1.1"
receptor "^1.0.0"
resolve-id-refs "^0.1.0"
Expand Down

0 comments on commit cefff0d

Please sign in to comment.