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

chore(deps): update all dependencies #1103

Merged
merged 3 commits into from
Sep 3, 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
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,78 +25,78 @@
},
"homepage": "https://canonical.github.io/react-components",
"devDependencies": {
"@babel/cli": "7.24.5",
"@babel/eslint-parser": "7.24.5",
"@babel/preset-typescript": "7.24.1",
"@percy/cli": "1.28.8",
"@percy/storybook": "6.0.0",
"@babel/cli": "7.25.6",
"@babel/eslint-parser": "7.25.1",
"@babel/preset-typescript": "7.24.7",
"@percy/cli": "1.29.3",
"@percy/storybook": "6.0.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@storybook/addon-a11y": "8.1.11",
"@storybook/addon-essentials": "8.1.11",
"@storybook/addon-interactions": "8.1.11",
"@storybook/addon-links": "8.1.11",
"@storybook/addon-onboarding": "8.1.11",
"@storybook/addon-a11y": "8.2.9",
"@storybook/addon-essentials": "8.2.9",
"@storybook/addon-interactions": "8.2.9",
"@storybook/addon-links": "8.2.9",
"@storybook/addon-onboarding": "8.2.9",
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
"@storybook/blocks": "8.1.11",
"@storybook/react": "8.1.11",
"@storybook/react-webpack5": "8.1.11",
"@testing-library/cypress": "10.0.1",
"@testing-library/dom": "10.1.0",
"@testing-library/jest-dom": "6.4.5",
"@storybook/blocks": "8.2.9",
"@storybook/react": "8.2.9",
"@storybook/react-webpack5": "8.2.9",
"@testing-library/cypress": "10.0.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "15.0.7",
"@testing-library/user-event": "14.5.2",
"@types/lodash.isequal": "4",
"@typescript-eslint/eslint-plugin": "7.8.0",
"@typescript-eslint/parser": "7.8.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"babel-plugin-module-resolver": "5.0.2",
"babel-plugin-typescript-to-proptypes": "2.1.0",
"concurrently": "8.2.2",
"css-loader": "7.1.1",
"cypress": "13.9.0",
"css-loader": "7.1.2",
"cypress": "13.14.1",
"deepmerge": "4.3.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-cypress": "3.2.0",
"eslint-plugin-cypress": "3.5.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.35.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-storybook": "0.8.0",
"eslint-plugin-testing-library": "6.2.2",
"eslint-plugin-testing-library": "6.3.0",
"formik": "2.4.6",
"jest": "29.7.0",
"npm-package-json-lint": "7.1.0",
"prettier": "3.2.5",
"prettier": "3.3.3",
"react": "18.3.1",
"react-docgen-typescript-loader": "3.7.2",
"react-dom": "18.3.1",
"sass": "1.77.0",
"sass": "1.77.8",
"sass-loader": "14.2.1",
"semantic-release": "23.0.8",
"storybook": "8.1.11",
"semantic-release": "23.1.1",
"storybook": "8.2.9",
"style-loader": "4.0.0",
"stylelint": "16.5.0",
"stylelint": "16.9.0",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-recommended-scss": "14.0.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-order": "6.0.4",
"stylelint-prettier": "5.0.0",
"ts-jest": "29.1.2",
"tsc-alias": "1.8.8",
"typescript": "5.4.5",
"stylelint-prettier": "5.0.2",
"ts-jest": "29.2.5",
"tsc-alias": "1.8.10",
"typescript": "5.5.4",
"vanilla-framework": "4.15.0",
"wait-on": "7.2.0",
"webpack": "5.94.0"
},
"dependencies": {
"@types/jest": "29.5.12",
"@types/node": "20.12.11",
"@types/react": "18.3.1",
"@types/node": "20.16.3",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"@types/react-table": "7.7.20",
"classnames": "2.5.1",
Expand All @@ -107,10 +107,10 @@
"react-useportal": "1.0.19"
},
"resolutions": {
"@types/react": "18.3.1",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"postcss": "^8.3.11",
"jackspeak": "2.1.1"
"jackspeak": "2.3.6"
},
"peerDependencies": {
"@types/react": "^18.0.0",
Expand All @@ -127,7 +127,7 @@
"build-watch": "yarn run build-local --watch",
"build-docs": "storybook build -c .storybook -o docs",
"clean": "rm -rf node_modules dist .out",
"docs": "storybook dev -p ${PORT:-9009}",
"docs": "storybook dev -p ${PORT:-9009} --no-open",
"link-packages": "yarn install && yarn build && yarn link && cd node_modules/react && yarn link && cd ../react-dom && yarn link",
"lint-js": "eslint src",
"lint-style": "stylelint src/**/*.scss",
Expand Down
4 changes: 2 additions & 2 deletions src/components/MultiSelect/MultiSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const MultiSelectDropdown: React.FC<MultiSelectDropdownProps> = ({
if (foundItem) {
const newSelectedItems = checked
? [...selectedItems, foundItem]
: selectedItems.filter((item) => `${item.value}` !== value) ?? [];
: (selectedItems.filter((item) => `${item.value}` !== value) ?? []);
updateItems(newSelectedItems);
if (checked) {
onSelectItem?.(foundItem);
Expand Down Expand Up @@ -320,7 +320,7 @@ export const MultiSelect: React.FC<MultiSelectProps> = ({
<span className="multi-select__condensed-text">
{listSelected && selectedItems.length > 0
? selectedItemsLabel
: placeholder ?? "Select items"}
: (placeholder ?? "Select items")}
</span>
</button>
)
Expand Down
Loading
Loading