diff --git a/CHANGELOG.md b/CHANGELOG.md index 332f5668f..854ed08b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [6.10.1](https://github.com/dequelabs/cauldron/compare/v6.10.0...v6.10.1) (2024-10-25) + + +### Bug Fixes + +* onSelect prop for OptionsMenu is optional ([#1734](https://github.com/dequelabs/cauldron/issues/1734)) ([9bd6636](https://github.com/dequelabs/cauldron/commit/9bd66364d7a79b1fa9e4ee09f0672efec835ee49)) + ## [6.10.0](https://github.com/dequelabs/cauldron/compare/v6.9.0...v6.10.0) (2024-10-16) diff --git a/package.json b/package.json index e1224036d..d3fff470e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cauldron", "private": true, - "version": "6.10.0", + "version": "6.10.1", "license": "MPL-2.0", "scripts": { "clean": "rimraf dist docs/dist", @@ -56,8 +56,8 @@ "@fontsource/pt-mono": "^5.0.13", "@fontsource/roboto": "^5.0.14", "@mdx-js/loader": "^2.3.0", - "@playwright/experimental-ct-react17": "^1.47.2", - "@playwright/test": "^1.47.2", + "@playwright/experimental-ct-react17": "^1.48.1", + "@playwright/test": "^1.48.1", "@types/classnames": "^2.2.9", "@types/express": "^4.17.21", "@types/node": "^22.1.0", diff --git a/packages/react/package.json b/packages/react/package.json index 73312c19e..892bc1ea0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@deque/cauldron-react", - "version": "6.10.0", + "version": "6.10.1", "license": "MPL-2.0", "description": "Fully accessible react components library for Deque Cauldron", "homepage": "https://cauldron.dequelabs.com/", diff --git a/packages/react/src/components/OptionsMenu/OptionsMenu.tsx b/packages/react/src/components/OptionsMenu/OptionsMenu.tsx index 370dd5a6e..174e6eaa8 100644 --- a/packages/react/src/components/OptionsMenu/OptionsMenu.tsx +++ b/packages/react/src/components/OptionsMenu/OptionsMenu.tsx @@ -22,7 +22,7 @@ export interface OptionsMenuProps extends OptionsMenuAlignmentProps { menuRef?: React.Ref; trigger?: (props: OptionsMenuRenderTriggerProps) => React.ReactNode; onClose?: () => void; - onSelect: (e: React.MouseEvent) => void; + onSelect?: (e: React.MouseEvent) => void; closeOnSelect?: boolean; show?: boolean; children: React.ReactNode; diff --git a/packages/styles/package.json b/packages/styles/package.json index e98583a97..9c80eda42 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -1,6 +1,6 @@ { "name": "@deque/cauldron-styles", - "version": "6.10.0", + "version": "6.10.1", "license": "MPL-2.0", "description": "deque cauldron pattern library styles", "repository": "https://github.com/dequelabs/cauldron", diff --git a/yarn.lock b/yarn.lock index 2db7b57d2..bb7fe92fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1583,29 +1583,29 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@playwright/experimental-ct-core@1.47.2": - version "1.47.2" - resolved "https://registry.yarnpkg.com/@playwright/experimental-ct-core/-/experimental-ct-core-1.47.2.tgz#b04a7d3b6ea7577959e1fad4a8f4604f0a9bfbed" - integrity sha512-aTR254jpS7mpuX8Od6vt9zOOmeuZ1PPI8aaT3vxb8lOtRWoq/XsCsnlxu3eWInbDsiYyAEcxPsiGLU9PXgC4LQ== +"@playwright/experimental-ct-core@1.48.1": + version "1.48.1" + resolved "https://registry.yarnpkg.com/@playwright/experimental-ct-core/-/experimental-ct-core-1.48.1.tgz#907db74a5212d72a29fbece1918a5ea145b4b326" + integrity sha512-J0CaiyAZLFupdz0rd3k2MuB3UGdnpy/866fWqAO4R4WPFTHe27SB8wy5qhCaooq1i7yPDFNcfgpKfXQ4TRM3aA== dependencies: - playwright "1.47.2" - playwright-core "1.47.2" + playwright "1.48.1" + playwright-core "1.48.1" vite "^5.2.8" -"@playwright/experimental-ct-react17@^1.47.2": - version "1.47.2" - resolved "https://registry.yarnpkg.com/@playwright/experimental-ct-react17/-/experimental-ct-react17-1.47.2.tgz#40529bd8fa717b6b8b9b0aadaf2f5f7244d9df72" - integrity sha512-CkkuJwDhJGMmIVBB8H2sGxNqxSgDk0vBRqv8i9R9hiW2+DekDY8mbkbr87OLmhugK+gvbFo7NOoTZnHXMbC3UQ== +"@playwright/experimental-ct-react17@^1.48.1": + version "1.48.1" + resolved "https://registry.yarnpkg.com/@playwright/experimental-ct-react17/-/experimental-ct-react17-1.48.1.tgz#bac573f4e53a526118b44bb67413003074479b23" + integrity sha512-lbPNNedQ6njj5dNKWQV2YkaPKSk80oXKFO5C5xvuvWVhkck/XTbt+QmwhL9GW3xWoWoL4eZRfH4ekXJ1TDad8w== dependencies: - "@playwright/experimental-ct-core" "1.47.2" + "@playwright/experimental-ct-core" "1.48.1" "@vitejs/plugin-react" "^4.2.1" -"@playwright/test@^1.47.2": - version "1.47.2" - resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.47.2.tgz#dbe7051336bfc5cc599954214f9111181dbc7475" - integrity sha512-jTXRsoSPONAs8Za9QEQdyjFn+0ZQFjCiIztAIF6bi1HqhBzG9Ma7g1WotyiGqFSBRZjIEqMdT8RUlbk1QVhzCQ== +"@playwright/test@^1.48.1": + version "1.48.1" + resolved "https://registry.yarnpkg.com/@playwright/test/-/test-1.48.1.tgz#343e710fcf2e559529e3ec8d7782e09f325b9396" + integrity sha512-s9RtWoxkOLmRJdw3oFvhFbs9OJS0BzrLUc8Hf6l2UdCNd1rqeEyD4BhCJkvzeEoD1FsK4mirsWwGerhVmYKtZg== dependencies: - playwright "1.47.2" + playwright "1.48.1" "@puppeteer/browsers@2.2.3": version "2.2.3" @@ -9302,17 +9302,17 @@ pkg-up@^3.1.0: dependencies: find-up "^3.0.0" -playwright-core@1.47.2: - version "1.47.2" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.47.2.tgz#7858da9377fa32a08be46ba47d7523dbd9460a4e" - integrity sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ== +playwright-core@1.48.1: + version "1.48.1" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.48.1.tgz#5fe28fb9a9326dae88d4608c35e819163cceeb23" + integrity sha512-Yw/t4VAFX/bBr1OzwCuOMZkY1Cnb4z/doAFSwf4huqAGWmf9eMNjmK7NiOljCdLmxeRYcGPPmcDgU0zOlzP0YA== -playwright@1.47.2, playwright@^1.47.0: - version "1.47.2" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.47.2.tgz#155688aa06491ee21fb3e7555b748b525f86eb20" - integrity sha512-nx1cLMmQWqmA3UsnjaaokyoUpdVaaDhJhMoxX2qj3McpjnsqFHs516QAKYhqHAgOP+oCFTEOCOAaD1RgD/RQfA== +playwright@1.48.1, playwright@^1.47.0: + version "1.48.1" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.48.1.tgz#2a920cfbec4572c84789e757d8b044baaed49435" + integrity sha512-j8CiHW/V6HxmbntOfyB4+T/uk08tBy6ph0MpBXwuoofkSnLmlfdYNNkFTYD6ofzzlSqLA1fwH4vwvVFvJgLN0w== dependencies: - playwright-core "1.47.2" + playwright-core "1.48.1" optionalDependencies: fsevents "2.3.2"