Skip to content

Commit

Permalink
Merge pull request dnnsoftware#6101 from dnnsoftware/dependabot/npm_a…
Browse files Browse the repository at this point in the history
…nd_yarn/react-slider-2.0.6

Bump react-slider from 0.11.2 to 2.0.6
  • Loading branch information
bdukes authored Oct 28, 2024
2 parents 8450b1d + 592e3a2 commit d9fb7b4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/************************************************************/
/***** SqlDataProvider *****/
/***** *****/
/***** *****/
/***** Note: To manually execute this script you must *****/
/***** perform a search and replace operation *****/
/***** for {databaseOwner} and {objectQualifier} *****/
/***** *****/
/************************************************************/
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-modal": "^3.16.1",
"react-motion": "^0.5.2",
"react-scrollbar": "^0.5.6",
"react-slider": "0.11.2",
"react-slider": "2.0.6",
"react-tabs": "3.2.3",
"react-tooltip": "^4.5.1",
"react-widgets": "^5.8.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ export default class NumberSlider extends Component {
step={step}
onChange={this.props.onChange}
disabled={!!this.props.disabled}
withBars={true}>
{!this.props.hideValue && <div>{value}</div>}
renderThumb={(props, _state) => !this.props.hideValue && <div {...props}><div>{value}</div></div>}>
</ReactSlider>

{this.props.withMinMax && <span>{maximum}</span>}
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
width: 100%;
float: left;
margin-top: 2px;
.handle {
.thumb {
width: 20px;
height: 20px;
border-radius: 100%;
Expand All @@ -35,9 +35,9 @@
transform: translate(-50%, 0);
}
}
.bar {
.track {
height: 100%;
&.bar-0 {
&.track-0 {
border-radius: 10px;
background: #0087c6;
}
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@ __metadata:
react-modal: "npm:^3.16.1"
react-motion: "npm:^0.5.2"
react-scrollbar: "npm:^0.5.6"
react-slider: "npm:0.11.2"
react-slider: "npm:2.0.6"
react-tabs: "npm:3.2.3"
react-test-renderer: "npm:^17.0.2"
react-tooltip: "npm:^4.5.1"
Expand Down Expand Up @@ -19792,14 +19792,14 @@ __metadata:
languageName: node
linkType: hard

"react-slider@npm:0.11.2":
version: 0.11.2
resolution: "react-slider@npm:0.11.2"
"react-slider@npm:2.0.6":
version: 2.0.6
resolution: "react-slider@npm:2.0.6"
dependencies:
prop-types: "npm:^15.8.1"
peerDependencies:
create-react-class: ^15.6
prop-types: ^15.6
react: ^16.2
checksum: 10/fc2394b732acef42548473128a84f4b24f4d49d6fedd82307fc4d3de66a0af1a6318c185b39bcadde2d5ad7fcce1cc0204b91ec3d5620cd20859ba85a45dafad
react: ^16 || ^17 || ^18
checksum: 9ee7f9073207f559a37e10aa52cfebc3d54925d23906bc2902ba8cb55f3607d867c5b3d77614f46a48204de47a4adb11254b52f6ead458ab6b409e3d5be9144e
languageName: node
linkType: hard

Expand Down

0 comments on commit d9fb7b4

Please # to comment.