Skip to content

Commit

Permalink
Merge pull request #1026 from devinit/dependabot/npm_and_yarn/styled-…
Browse files Browse the repository at this point in the history
…components-6.1.8

Bump styled-components from 5.3.5 to 6.1.8
  • Loading branch information
ThatcherK authored Jan 23, 2024
2 parents a47c7ed + b93b42b commit 1dfc30f
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 173 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`HelpMenu renders correctly with the required link properties 1`] = `
Array [
.c0 {
text-transform: capitalize !important;
text-transform: capitalize!important;
}
.c0.disabled {
Expand All @@ -12,7 +12,7 @@ Array [
.c0:hover,
.c0:active {
color: #ffffff !important;
color: #ffffff!important;
}
<a
Expand All @@ -25,7 +25,7 @@ Array [
Item 1
</a>,
.c0 {
text-transform: capitalize !important;
text-transform: capitalize!important;
}
.c0.disabled {
Expand All @@ -34,7 +34,7 @@ Array [
.c0:hover,
.c0:active {
color: #ffffff !important;
color: #ffffff!important;
}
<a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Array [
}
.c3 {
padding-top: 0 !important;
padding-right: 0 !important;
padding-top: 0!important;
padding-right: 0!important;
margin-top: 0;
}
Expand Down Expand Up @@ -84,8 +84,8 @@ Array [
}
.c2 {
padding-top: 0 !important;
padding-right: 0 !important;
padding-top: 0!important;
padding-right: 0!important;
margin-top: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/OperationSteps/OperationSteps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const OperationSteps: FunctionComponent<OperationStepsProps> = (props) => {
<StyledListItem
data-testid="qb-step-wrapper"
className="py-2"
onClick={!activeStep && onClickStep(step)}
onClick={!activeStep ? onClickStep(step) : undefined}
disabled={(activeStep && !isActiveStep) || props.disabled}
active={isActiveStep}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const SortableStep: FunctionComponent<SortableStepProps> = ({
<StyledListItem
data-testid="qb-step-wrapper"
className="py-2"
onClick={!activeStep && onClickStep(stepMap as OperationStepMap)}
onClick={!activeStep ? onClickStep(stepMap as OperationStepMap) : undefined}
disabled={(activeStep && !isActiveStep) || props.disabled}
active={isActiveStep}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

exports[`Wizard renders the default structure correctly 1`] = `
.c1.nav {
border-radius: inherit !important;
margin: inherit !important;
padding: inherit !important;
border-radius: inherit!important;
margin: inherit!important;
padding: inherit!important;
}
.c0 {
opacity: 1;
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}
<div
Expand Down Expand Up @@ -74,14 +74,14 @@ exports[`Wizard renders the default structure correctly 1`] = `

exports[`Wizard renders with children 1`] = `
.c1.nav {
border-radius: inherit !important;
margin: inherit !important;
padding: inherit !important;
border-radius: inherit!important;
margin: inherit!important;
padding: inherit!important;
}
.c0 {
opacity: 1;
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

exports[`WizardNavigation renders the default structure correctly 1`] = `
.c0.nav {
border-radius: inherit !important;
margin: inherit !important;
padding: inherit !important;
border-radius: inherit!important;
margin: inherit!important;
padding: inherit!important;
}
<div
Expand All @@ -19,9 +19,9 @@ exports[`WizardNavigation renders the default structure correctly 1`] = `

exports[`WizardNavigation renders with children 1`] = `
.c0.nav {
border-radius: inherit !important;
margin: inherit !important;
padding: inherit !important;
border-radius: inherit!important;
margin: inherit!important;
padding: inherit!important;
}
<div
Expand Down
Loading

0 comments on commit 1dfc30f

Please sign in to comment.