From 3022b601cababc2feea107aa804d94885b8706c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:17:37 +0000 Subject: [PATCH] chore(deps): bump simplebar from 5.3.9 to 6.2.5 (#5088) * chore(deps): bump simplebar from 5.3.9 to 6.2.5 Bumps [simplebar](https://github.com/grsmto/simplebar/tree/HEAD/packages/simplebar) from 5.3.9 to 6.2.5. - [Release notes](https://github.com/grsmto/simplebar/releases) - [Changelog](https://github.com/Grsmto/simplebar/blob/master/packages/simplebar/CHANGELOG.md) - [Commits](https://github.com/grsmto/simplebar/commits/simplebar@6.2.5/packages/simplebar) --- updated-dependencies: - dependency-name: simplebar dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Update simplebar CSS import --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastien Romain --- .changeset/curly-mails-design.md | 5 +++ packages/components/package.json | 2 +- .../src/SidePanel/SidePanel.component.js | 2 +- yarn.lock | 32 ++++++++++++++++++- 4 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 .changeset/curly-mails-design.md diff --git a/.changeset/curly-mails-design.md b/.changeset/curly-mails-design.md new file mode 100644 index 00000000000..3cdc4689b65 --- /dev/null +++ b/.changeset/curly-mails-design.md @@ -0,0 +1,5 @@ +--- +'@talend/react-components': minor +--- + +deps: bump simplebar to 6.x diff --git a/packages/components/package.json b/packages/components/package.json index f6c4fdc9555..6cf41cc8ef0 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -65,7 +65,7 @@ "react-virtualized": "^9.22.5", "reactour": "^1.19.2", "recharts": "^2.10.3", - "simplebar": "^5.3.9", + "simplebar": "^6.2.5", "simplebar-react": "^2.4.3", "styled-components": "^5.3.11", "warning": "^3.0.0" diff --git a/packages/components/src/SidePanel/SidePanel.component.js b/packages/components/src/SidePanel/SidePanel.component.js index 94b91acaf4c..2c3b86ff9f2 100644 --- a/packages/components/src/SidePanel/SidePanel.component.js +++ b/packages/components/src/SidePanel/SidePanel.component.js @@ -4,7 +4,7 @@ import { withTranslation } from 'react-i18next'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import 'simplebar'; -import 'simplebar/dist/simplebar.css'; +import 'simplebar-react/dist/simplebar.min.css'; import tokens from '@talend/design-tokens'; diff --git a/yarn.lock b/yarn.lock index df108fc3b23..289ec29013e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4795,7 +4795,14 @@ resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.5.tgz#1e78a3ac2428e6d7e6c05c1665c242023a4601d8" integrity sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw== -"@types/lodash@^4.14.167", "@types/lodash@^4.14.202": +"@types/lodash-es@^4.17.6": + version "4.17.12" + resolved "https://registry.yarnpkg.com/@types/lodash-es/-/lodash-es-4.17.12.tgz#65f6d1e5f80539aa7cfbfc962de5def0cf4f341b" + integrity sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*", "@types/lodash@^4.14.167", "@types/lodash@^4.14.202": version "4.14.202" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.202.tgz#f09dbd2fb082d507178b2f2a5c7e74bd72ff98f8" integrity sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ== @@ -12817,6 +12824,11 @@ locate-path@^7.1.0: dependencies: p-locate "^6.0.0" +lodash-es@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" + integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== + lodash.debounce@4.0.8, lodash.debounce@^4, lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" @@ -17165,6 +17177,16 @@ simple-update-notifier@^2.0.0: dependencies: semver "^7.5.3" +simplebar-core@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/simplebar-core/-/simplebar-core-1.2.4.tgz#1fe965716a426f812c1a112ce28d98b9a643797b" + integrity sha512-P+Sqshef4fq3++gQ82TgNYcgl3qZFSCP5jS2/8NMmw18oagXOijMzs1G+vm6RUY3oMvpwH3wGoqh9u6SyDjHfQ== + dependencies: + "@types/lodash-es" "^4.17.6" + can-use-dom "^0.1.0" + lodash "^4.17.21" + lodash-es "^4.17.21" + simplebar-react@^2.4.3: version "2.4.3" resolved "https://registry.yarnpkg.com/simplebar-react/-/simplebar-react-2.4.3.tgz#79c830711c23a5ae457ef73420f5752d4a1b3133" @@ -17185,6 +17207,14 @@ simplebar@^5.3.9: lodash.memoize "^4.1.2" lodash.throttle "^4.1.1" +simplebar@^6.2.5: + version "6.2.5" + resolved "https://registry.yarnpkg.com/simplebar/-/simplebar-6.2.5.tgz#9d7cdf9f9a57b28f2497d165caf60f1bc644913e" + integrity sha512-vfxKR6KNBsPx7+sZnqO7T8VuCvi4px6OlycrrkNgyjvoHhRW7LIyVkHhUfXxbz33Gw99Wb9UMMsnEZv35wtLSw== + dependencies: + can-use-dom "^0.1.0" + simplebar-core "^1.2.4" + sinon@^11.1.2: version "11.1.2" resolved "https://registry.yarnpkg.com/sinon/-/sinon-11.1.2.tgz#9e78850c747241d5c59d1614d8f9cbe8840e8674"