From d733ca31d37549f654bd96fb32f4c2ea726b4347 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 11 Nov 2024 10:40:46 +0000 Subject: [PATCH] Local Pickup Settings Screen Fixes (#52644) * Bump dependencies * Wrap SVG with span to prevent console error regarding aria-hidden #52400 * Fix toggle alignment #52356 * Add wrapper so pickup locations can be saved after sorting #52357 * changelog --- .../pickup-location/settings-context.tsx | 10 +- .../sortable-table/index.tsx | 9 +- plugins/woocommerce-blocks/package.json | 10 +- .../changelog/fix-local-pickup-settings-52400 | 4 + pnpm-lock.yaml | 218 +++++++----------- 5 files changed, 109 insertions(+), 142 deletions(-) create mode 100644 plugins/woocommerce/changelog/fix-local-pickup-settings-52400 diff --git a/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/pickup-location/settings-context.tsx b/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/pickup-location/settings-context.tsx index 1a7cbd100d5..2379966cb5f 100644 --- a/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/pickup-location/settings-context.tsx +++ b/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/pickup-location/settings-context.tsx @@ -71,6 +71,14 @@ export const SettingsProvider = ( { [] ); + const setPickupLocationsState = useCallback( + ( newLocations: SortablePickupLocation[] ) => { + setIsDirty( true ); + setPickupLocations( newLocations ); + }, + [] + ); + const toggleLocation = useCallback( ( rowId: UniqueIdentifier ) => { setIsDirty( true ); setPickupLocations( ( previousLocations: SortablePickupLocation[] ) => { @@ -169,7 +177,7 @@ export const SettingsProvider = ( { setSettingField, readOnlySettings, pickupLocations, - setPickupLocations, + setPickupLocations: setPickupLocationsState, toggleLocation, updateLocation, isSaving, diff --git a/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/shared-components/sortable-table/index.tsx b/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/shared-components/sortable-table/index.tsx index 6770ebf72d1..60c4da90a05 100644 --- a/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/shared-components/sortable-table/index.tsx +++ b/plugins/woocommerce-blocks/assets/js/extensions/shipping-methods/shared-components/sortable-table/index.tsx @@ -56,13 +56,13 @@ const TableRow = ( { <> - + > + + { children } @@ -92,6 +92,7 @@ const StyledTable = styled.table` text-align: right; .components-flex { justify-content: flex-end; + flex-direction: row-reverse; gap: 0; } } diff --git a/plugins/woocommerce-blocks/package.json b/plugins/woocommerce-blocks/package.json index 181d22a8203..ffc94db952a 100644 --- a/plugins/woocommerce-blocks/package.json +++ b/plugins/woocommerce-blocks/package.json @@ -260,10 +260,10 @@ }, "dependencies": { "@ariakit/react": "^0.4.5", - "@dnd-kit/core": "^6.1.0", - "@dnd-kit/modifiers": "^6.0.1", - "@dnd-kit/sortable": "^7.0.2", - "@dnd-kit/utilities": "^3.2.2", + "@dnd-kit/core": "6.1.0", + "@dnd-kit/modifiers": "7.0.0", + "@dnd-kit/sortable": "8.0.0", + "@dnd-kit/utilities": "3.2.2", "@emotion/styled": "^11.11.0", "@preact/signals": "^1.2.2", "@woocommerce/tracks": "workspace:^", @@ -273,7 +273,7 @@ "@wordpress/icons": "9.36.0", "@wordpress/notices": "3.12.0", "@wordpress/plugins": "4.10.0", - "@wordpress/primitives": "3.0.4", + "@wordpress/primitives": "4.11.0", "@wordpress/server-side-render": "3.10.0", "@wordpress/style-engine": "^1.30.0", "@wordpress/url": "3.13.0", diff --git a/plugins/woocommerce/changelog/fix-local-pickup-settings-52400 b/plugins/woocommerce/changelog/fix-local-pickup-settings-52400 new file mode 100644 index 00000000000..8df8d328f3c --- /dev/null +++ b/plugins/woocommerce/changelog/fix-local-pickup-settings-52400 @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix local pickup table styling and saving after sorting locations. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ceb040a14d3..871d0871634 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3607,16 +3607,16 @@ importers: specifier: ^0.4.5 version: 0.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@dnd-kit/core': - specifier: ^6.1.0 + specifier: 6.1.0 version: 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@dnd-kit/modifiers': - specifier: ^6.0.1 - version: 6.0.1(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: 7.0.0 + version: 7.0.0(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@dnd-kit/sortable': - specifier: ^7.0.2 - version: 7.0.2(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + specifier: 8.0.0 + version: 8.0.0(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@dnd-kit/utilities': - specifier: ^3.2.2 + specifier: 3.2.2 version: 3.2.2(react@18.3.1) '@emotion/styled': specifier: ^11.11.0 @@ -3646,8 +3646,8 @@ importers: specifier: 4.10.0 version: 4.10.0(react@18.3.1) '@wordpress/primitives': - specifier: 3.0.4 - version: 3.0.4 + specifier: 4.11.0 + version: 4.11.0(react@18.3.1) '@wordpress/server-side-render': specifier: 3.10.0 version: 3.10.0(@types/react@17.0.71)(react-dom@18.3.1(react@18.3.1))(react-with-direction@1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) @@ -6843,16 +6843,16 @@ packages: react: '>=16.8.0' react-dom: '>=16.8.0' - '@dnd-kit/modifiers@6.0.1': - resolution: {integrity: sha512-rbxcsg3HhzlcMHVHWDuh9LCjpOVAgqbV78wLGI8tziXY3+qcMQ61qVXIvNKQFuhj75dSfD+o+PYZQ/NUk2A23A==} + '@dnd-kit/modifiers@7.0.0': + resolution: {integrity: sha512-BG/ETy3eBjFap7+zIti53f0PCLGDzNXyTmn6fSdrudORf+OH04MxrW4p5+mPu4mgMk9kM41iYONjc3DOUWTcfg==} peerDependencies: - '@dnd-kit/core': ^6.0.6 + '@dnd-kit/core': ^6.1.0 react: '>=16.8.0' - '@dnd-kit/sortable@7.0.2': - resolution: {integrity: sha512-wDkBHHf9iCi1veM834Gbk1429bd4lHX4RpAwT0y2cHLf246GAvU2sVw/oxWNpPKQNQRQaeGXhAVgrOl1IT+iyA==} + '@dnd-kit/sortable@8.0.0': + resolution: {integrity: sha512-U3jk5ebVXe1Lr7c2wU7SBZjcWdQP+j7peHJfCspnA81enlu88Mgd7CC8Q+pub9ubP7eKVETzJW+IBAhsqbSu/g==} peerDependencies: - '@dnd-kit/core': ^6.0.7 + '@dnd-kit/core': ^6.1.0 react: '>=16.8.0' '@dnd-kit/utilities@3.2.2': @@ -12387,18 +12387,10 @@ packages: resolution: {integrity: sha512-WupgR+tt6fKGZE1UKy2gz3wDdpRL9MWQbVuetXv/7TPAz2ofOS2fZIsXNrl4D0HkA82gYh8w8s2TXK0XNyAAow==} engines: {node: '>=12'} - '@wordpress/primitives@3.0.4': - resolution: {integrity: sha512-yu3BEpr09vpPM0QOYGm5Kmwo/tfo7u7Ez4hN5+AL2dT53VNr3QOmDo0Ym7sewI7+GgU18H4VkAi1QOydrc4vDw==} - engines: {node: '>=12'} - '@wordpress/primitives@3.4.1': resolution: {integrity: sha512-2QzRVBgMzd2nBLseyq4QFi2SFAD2Vu8lC6tIRW7SuCaeGSJT9JKQIeowc18ji5Y2856YRUNL4Lz0DxFyinWqQw==} engines: {node: '>=12'} - '@wordpress/primitives@3.45.0': - resolution: {integrity: sha512-8nSRklcrUFIOD/A8gpDrNmf2GTa3x0kuc8EHpra0FBVAwUaacp+HeeP7281tSSIt/yKg3BYhzFnYTB2OQIguGQ==} - engines: {node: '>=12'} - '@wordpress/primitives@3.55.0': resolution: {integrity: sha512-4vMhlu40+qxkt6lyCv2KWCx9bP7hcpPC9GXj9Kq3gwKIzSSHoqbYs3V8HYeGWrG9g7JWMFN9Pkdy8Bm61ZsKuQ==} engines: {node: '>=12'} @@ -12407,20 +12399,8 @@ packages: resolution: {integrity: sha512-NXBq1ODjl6inMWx/l7KCbATcjdoeIOqYeL9i9alqdAfWeKx1EH9PIvKWylIkqZk7erXxCxldiRkuyjTtwjNBxw==} engines: {node: '>=12'} - '@wordpress/primitives@4.10.0': - resolution: {integrity: sha512-dmck1VSKbxy7yA5VZhi+jOyb0Hc6QqOxIZ4R139a/Zuzr0xHuuKurh94At/R9UHYP8Dr9YxAlgiF/uQChFzKQg==} - engines: {node: '>=18.12.0', npm: '>=8.19.2'} - peerDependencies: - react: ^18.0.0 - - '@wordpress/primitives@4.6.0': - resolution: {integrity: sha512-uu4ANmgwslB2YOyIBQDSwKTQXXqGDL9Gz5INe+UeJZBMt2uU/TGEjKcZ63dqbuM8mqlPAcdVGL52RCt7mIKEhQ==} - engines: {node: '>=18.12.0', npm: '>=8.19.2'} - peerDependencies: - react: ^18.0.0 - - '@wordpress/primitives@4.8.1': - resolution: {integrity: sha512-enfNxpEWycMNnvF7lpP8QYGKotu6B0UfUVcA89oDkam4OhP8tkpP1OVZyPHPgseRWweS/hL6aW/4bvwNSklf+g==} + '@wordpress/primitives@4.11.0': + resolution: {integrity: sha512-CoBXbh0mOSxcZtuzL7gK3RVumFx71DXQBfd3IkbRHuuVxa+2hI4KDuFyomSsbjQDshHsfuVrKUvuT3UGt6pdpQ==} engines: {node: '>=18.12.0', npm: '>=8.19.2'} peerDependencies: react: ^18.0.0 @@ -26542,7 +26522,7 @@ snapshots: '@wordpress/element': 4.4.1 '@wordpress/i18n': 4.57.0 '@wordpress/icons': 9.48.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/react-i18n': 3.55.0 classnames: 2.3.2 debug: 4.3.4(supports-color@9.4.0) @@ -30775,26 +30755,26 @@ snapshots: '@dnd-kit/utilities': 3.2.2(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - tslib: 2.6.2 + tslib: 2.6.3 - '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@dnd-kit/modifiers@7.0.0(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@dnd-kit/utilities': 3.2.2(react@18.3.1) react: 18.3.1 - tslib: 2.6.2 + tslib: 2.6.3 - '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@dnd-kit/sortable@8.0.0(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: '@dnd-kit/core': 6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@dnd-kit/utilities': 3.2.2(react@18.3.1) react: 18.3.1 - tslib: 2.6.2 + tslib: 2.6.3 '@dnd-kit/utilities@3.2.2(react@18.3.1)': dependencies: react: 18.3.1 - tslib: 2.6.2 + tslib: 2.6.3 '@effect/data@0.17.1': {} @@ -39850,7 +39830,7 @@ snapshots: '@wordpress/date': 4.57.0 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/escape-html': 2.57.0 '@wordpress/hooks': 3.57.0 '@wordpress/html-entities': 3.57.0 @@ -39911,7 +39891,7 @@ snapshots: '@wordpress/date': 4.57.0 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/escape-html': 2.57.0 '@wordpress/hooks': 3.57.0 '@wordpress/html-entities': 3.57.0 @@ -40290,7 +40270,7 @@ snapshots: '@wordpress/icons': 9.36.0 '@wordpress/keycodes': 3.47.0 '@wordpress/notices': 3.31.0(react@17.0.2) - '@wordpress/primitives': 3.45.0 + '@wordpress/primitives': 3.56.0 '@wordpress/reusable-blocks': 3.20.0(@types/react@17.0.71)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/rich-text': 5.20.0(react@17.0.2) '@wordpress/server-side-render': 3.20.0(@types/react@17.0.71)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) @@ -40327,7 +40307,7 @@ snapshots: '@wordpress/date': 4.57.0 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/escape-html': 2.57.0 '@wordpress/hooks': 3.57.0 '@wordpress/html-entities': 3.57.0 @@ -40336,7 +40316,7 @@ snapshots: '@wordpress/interactivity': 3.0.1(@preact/signals-core@1.5.1) '@wordpress/keycodes': 3.57.0 '@wordpress/notices': 4.15.0(react@17.0.2) - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/private-apis': 0.29.0 '@wordpress/reusable-blocks': 4.24.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/rich-text': 6.34.0(react@17.0.2) @@ -40826,7 +40806,7 @@ snapshots: '@wordpress/icons': 9.36.0 '@wordpress/is-shallow-equal': 4.24.0 '@wordpress/keycodes': 3.47.0 - '@wordpress/primitives': 3.45.0 + '@wordpress/primitives': 3.56.0 '@wordpress/rich-text': 5.20.0(react@17.0.2) '@wordpress/warning': 2.47.0 classnames: 2.3.2 @@ -40875,7 +40855,7 @@ snapshots: '@wordpress/icons': 9.36.0 '@wordpress/is-shallow-equal': 4.24.0 '@wordpress/keycodes': 3.47.0 - '@wordpress/primitives': 3.45.0 + '@wordpress/primitives': 3.56.0 '@wordpress/rich-text': 5.20.0(react@18.3.1) '@wordpress/warning': 2.47.0 classnames: 2.3.2 @@ -41068,7 +41048,7 @@ snapshots: '@wordpress/icons': 9.36.0 '@wordpress/is-shallow-equal': 4.24.0 '@wordpress/keycodes': 3.57.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/rich-text': 5.20.0(react@17.0.2) '@wordpress/warning': 2.57.0 change-case: 4.1.2 @@ -41164,14 +41144,14 @@ snapshots: '@wordpress/deprecated': 3.58.0 '@wordpress/dom': 3.58.0 '@wordpress/element': 5.35.0 - '@wordpress/escape-html': 2.57.0 + '@wordpress/escape-html': 2.58.0 '@wordpress/hooks': 3.58.0 '@wordpress/html-entities': 3.58.0 '@wordpress/i18n': 4.58.0 '@wordpress/icons': 9.49.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/keycodes': 3.58.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/private-apis': 0.32.0 '@wordpress/rich-text': 6.35.0(react@17.0.2) '@wordpress/warning': 2.58.0 @@ -41227,14 +41207,14 @@ snapshots: '@wordpress/deprecated': 3.58.0 '@wordpress/dom': 3.58.0 '@wordpress/element': 5.35.0 - '@wordpress/escape-html': 2.57.0 + '@wordpress/escape-html': 2.58.0 '@wordpress/hooks': 3.58.0 '@wordpress/html-entities': 3.58.0 '@wordpress/i18n': 4.58.0 '@wordpress/icons': 9.49.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/keycodes': 3.58.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/private-apis': 0.32.0 '@wordpress/rich-text': 6.35.0(react@18.3.1) '@wordpress/warning': 2.58.0 @@ -41297,7 +41277,7 @@ snapshots: '@wordpress/icons': 9.48.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/keycodes': 3.57.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/private-apis': 0.33.1 '@wordpress/rich-text': 6.34.0(react@18.3.1) '@wordpress/warning': 2.57.0 @@ -41351,7 +41331,7 @@ snapshots: '@wordpress/date': 4.57.0 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/escape-html': 2.57.0 '@wordpress/hooks': 3.57.0 '@wordpress/html-entities': 3.57.0 @@ -41359,7 +41339,7 @@ snapshots: '@wordpress/icons': 9.48.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/keycodes': 3.57.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/private-apis': 0.39.0 '@wordpress/rich-text': 6.34.0(react@17.0.2) '@wordpress/warning': 2.57.0 @@ -41470,7 +41450,7 @@ snapshots: '@wordpress/icons': 10.10.0(react@17.0.2) '@wordpress/is-shallow-equal': 5.10.0 '@wordpress/keycodes': 4.10.0 - '@wordpress/primitives': 4.10.0(react@17.0.2) + '@wordpress/primitives': 4.11.0(react@17.0.2) '@wordpress/private-apis': 1.10.0 '@wordpress/rich-text': 7.10.0(react@17.0.2) '@wordpress/warning': 3.10.0 @@ -41524,7 +41504,7 @@ snapshots: '@wordpress/icons': 10.10.0(react@18.3.1) '@wordpress/is-shallow-equal': 5.10.0 '@wordpress/keycodes': 4.10.0 - '@wordpress/primitives': 4.10.0(react@18.3.1) + '@wordpress/primitives': 4.11.0(react@18.3.1) '@wordpress/private-apis': 1.10.0 '@wordpress/rich-text': 7.10.0(react@18.3.1) '@wordpress/warning': 3.10.0 @@ -41570,7 +41550,7 @@ snapshots: '@wordpress/date': 5.8.1 '@wordpress/deprecated': 4.8.1 '@wordpress/dom': 4.8.1 - '@wordpress/element': 6.8.1 + '@wordpress/element': 6.10.0 '@wordpress/escape-html': 3.8.1 '@wordpress/hooks': 4.8.1 '@wordpress/html-entities': 4.8.1 @@ -41578,7 +41558,7 @@ snapshots: '@wordpress/icons': 10.8.1(react@17.0.2) '@wordpress/is-shallow-equal': 5.8.1 '@wordpress/keycodes': 4.8.1 - '@wordpress/primitives': 4.8.1(react@17.0.2) + '@wordpress/primitives': 4.11.0(react@17.0.2) '@wordpress/private-apis': 1.10.0 '@wordpress/rich-text': 7.8.1(react@17.0.2) '@wordpress/warning': 3.8.1 @@ -41752,7 +41732,7 @@ snapshots: '@types/mousetrap': 1.6.15 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.47.0 '@wordpress/keycodes': 3.57.0 '@wordpress/priority-queue': 2.47.0 @@ -41769,7 +41749,7 @@ snapshots: '@types/mousetrap': 1.6.15 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.47.0 '@wordpress/keycodes': 3.57.0 '@wordpress/priority-queue': 2.47.0 @@ -41786,7 +41766,7 @@ snapshots: '@types/mousetrap': 1.6.15 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/keycodes': 3.57.0 '@wordpress/priority-queue': 2.57.0 @@ -41803,7 +41783,7 @@ snapshots: '@types/mousetrap': 1.6.15 '@wordpress/deprecated': 3.57.0 '@wordpress/dom': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/keycodes': 3.57.0 '@wordpress/priority-queue': 2.57.0 @@ -41888,7 +41868,7 @@ snapshots: '@types/mousetrap': 1.6.15 '@wordpress/deprecated': 4.8.1 '@wordpress/dom': 4.6.0 - '@wordpress/element': 6.8.1 + '@wordpress/element': 6.10.0 '@wordpress/is-shallow-equal': 5.6.0 '@wordpress/keycodes': 4.8.1 '@wordpress/priority-queue': 3.6.0 @@ -41905,7 +41885,7 @@ snapshots: '@types/mousetrap': 1.6.15 '@wordpress/deprecated': 4.8.1 '@wordpress/dom': 4.8.1 - '@wordpress/element': 6.8.1 + '@wordpress/element': 6.10.0 '@wordpress/is-shallow-equal': 5.8.1 '@wordpress/keycodes': 4.8.1 '@wordpress/priority-queue': 3.8.1 @@ -42056,7 +42036,7 @@ snapshots: '@wordpress/compose': 6.34.0(react@17.0.2) '@wordpress/data': 9.27.0(react@17.0.2) '@wordpress/deprecated': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/html-entities': 3.57.0 '@wordpress/i18n': 4.57.0 '@wordpress/is-shallow-equal': 4.57.0 @@ -42093,7 +42073,7 @@ snapshots: '@wordpress/compose': 6.34.0(react@18.3.1) '@wordpress/data': 9.27.0(react@18.3.1) '@wordpress/deprecated': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/html-entities': 3.57.0 '@wordpress/i18n': 4.57.0 '@wordpress/is-shallow-equal': 4.57.0 @@ -42331,7 +42311,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/compose': 7.8.1(react@17.0.2) '@wordpress/deprecated': 4.8.1 - '@wordpress/element': 6.8.1 + '@wordpress/element': 6.10.0 '@wordpress/is-shallow-equal': 5.8.1 '@wordpress/priority-queue': 3.8.1 '@wordpress/private-apis': 1.10.0 @@ -42494,7 +42474,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/compose': 6.34.0(react@17.0.2) '@wordpress/deprecated': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.47.0 '@wordpress/priority-queue': 2.47.0 '@wordpress/private-apis': 0.29.0 @@ -42513,7 +42493,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/compose': 6.34.0(react@18.3.1) '@wordpress/deprecated': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.47.0 '@wordpress/priority-queue': 2.47.0 '@wordpress/private-apis': 0.29.0 @@ -42532,7 +42512,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/compose': 6.34.0(react@17.0.2) '@wordpress/deprecated': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/priority-queue': 2.57.0 '@wordpress/private-apis': 0.39.0 @@ -42551,7 +42531,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/compose': 6.34.0(react@18.3.1) '@wordpress/deprecated': 3.57.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/is-shallow-equal': 4.57.0 '@wordpress/priority-queue': 2.57.0 '@wordpress/private-apis': 0.39.0 @@ -42613,7 +42593,7 @@ snapshots: '@wordpress/element': 6.8.1 '@wordpress/i18n': 5.8.1 '@wordpress/icons': 10.8.1(react@17.0.2) - '@wordpress/primitives': 4.8.1(react@17.0.2) + '@wordpress/primitives': 4.11.0(react@17.0.2) '@wordpress/private-apis': 1.10.0 '@wordpress/warning': 3.8.1 clsx: 2.1.1 @@ -42635,7 +42615,7 @@ snapshots: '@wordpress/element': 6.10.0 '@wordpress/i18n': 5.10.0 '@wordpress/icons': 10.10.0(react@17.0.2) - '@wordpress/primitives': 4.10.0(react@17.0.2) + '@wordpress/primitives': 4.11.0(react@17.0.2) '@wordpress/private-apis': 1.10.0 '@wordpress/warning': 3.10.0 clsx: 2.1.1 @@ -42657,7 +42637,7 @@ snapshots: '@wordpress/element': 6.10.0 '@wordpress/i18n': 5.10.0 '@wordpress/icons': 10.10.0(react@18.3.1) - '@wordpress/primitives': 4.10.0(react@18.3.1) + '@wordpress/primitives': 4.11.0(react@18.3.1) '@wordpress/private-apis': 1.10.0 '@wordpress/warning': 3.10.0 clsx: 2.1.1 @@ -43140,7 +43120,7 @@ snapshots: '@wordpress/notices': 4.15.0(react@17.0.2) '@wordpress/plugins': 6.15.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/preferences': 3.24.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) - '@wordpress/primitives': 3.55.0 + '@wordpress/primitives': 3.56.0 '@wordpress/private-apis': 0.20.0 '@wordpress/reusable-blocks': 4.24.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/router': 0.7.0(react@17.0.2) @@ -43776,7 +43756,7 @@ snapshots: '@wordpress/icons': 10.10.0(react@18.3.1) '@wordpress/notices': 5.10.0(react@18.3.1) '@wordpress/patterns': 2.10.0(@emotion/is-prop-valid@1.2.1)(@types/react-dom@18.0.10)(@types/react@17.0.71)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@wordpress/primitives': 4.10.0(react@18.3.1) + '@wordpress/primitives': 4.11.0(react@18.3.1) '@wordpress/private-apis': 1.10.0 '@wordpress/url': 4.10.0 '@wordpress/warning': 3.10.0 @@ -43955,7 +43935,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.7 '@wordpress/element': 6.10.0 - '@wordpress/primitives': 4.10.0(react@17.0.2) + '@wordpress/primitives': 4.11.0(react@17.0.2) transitivePeerDependencies: - react @@ -43963,7 +43943,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.7 '@wordpress/element': 6.10.0 - '@wordpress/primitives': 4.10.0(react@18.3.1) + '@wordpress/primitives': 4.11.0(react@18.3.1) transitivePeerDependencies: - react @@ -43971,15 +43951,15 @@ snapshots: dependencies: '@babel/runtime': 7.25.0 '@wordpress/element': 6.8.1 - '@wordpress/primitives': 4.6.0(react@17.0.2) + '@wordpress/primitives': 4.11.0(react@17.0.2) transitivePeerDependencies: - react '@wordpress/icons@10.8.1(react@17.0.2)': dependencies: '@babel/runtime': 7.25.7 - '@wordpress/element': 6.8.1 - '@wordpress/primitives': 4.8.1(react@17.0.2) + '@wordpress/element': 6.10.0 + '@wordpress/primitives': 4.11.0(react@17.0.2) transitivePeerDependencies: - react @@ -44005,19 +43985,19 @@ snapshots: dependencies: '@babel/runtime': 7.23.5 '@wordpress/element': 4.20.0 - '@wordpress/primitives': 3.45.0 + '@wordpress/primitives': 3.56.0 '@wordpress/icons@9.36.0': dependencies: '@babel/runtime': 7.23.5 '@wordpress/element': 5.22.0 - '@wordpress/primitives': 3.45.0 + '@wordpress/primitives': 3.56.0 '@wordpress/icons@9.48.0': dependencies: '@babel/runtime': 7.25.7 - '@wordpress/element': 5.34.0 - '@wordpress/primitives': 3.55.0 + '@wordpress/element': 5.35.0 + '@wordpress/primitives': 3.56.0 '@wordpress/icons@9.49.0': dependencies: @@ -44467,7 +44447,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/api-fetch': 6.44.0 '@wordpress/blob': 3.47.0 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/i18n': 4.57.0 '@wordpress/media-utils@4.49.0': @@ -44686,7 +44666,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/components': 25.16.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/compose': 6.34.0(react@17.0.2) - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/hooks': 3.57.0 '@wordpress/icons': 9.48.0 '@wordpress/is-shallow-equal': 4.57.0 @@ -44919,28 +44899,16 @@ snapshots: '@wordpress/element': 3.2.0 classnames: 2.3.2 - '@wordpress/primitives@3.0.4': - dependencies: - '@babel/runtime': 7.23.5 - '@wordpress/element': 4.20.0 - classnames: 2.3.2 - '@wordpress/primitives@3.4.1': dependencies: '@babel/runtime': 7.25.0 '@wordpress/element': 4.20.0 classnames: 2.3.2 - '@wordpress/primitives@3.45.0': - dependencies: - '@babel/runtime': 7.25.7 - '@wordpress/element': 5.34.0 - classnames: 2.3.2 - '@wordpress/primitives@3.55.0': dependencies: '@babel/runtime': 7.25.7 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 classnames: 2.3.2 '@wordpress/primitives@3.56.0': @@ -44949,34 +44917,20 @@ snapshots: '@wordpress/element': 5.35.0 clsx: 2.1.1 - '@wordpress/primitives@4.10.0(react@17.0.2)': + '@wordpress/primitives@4.11.0(react@17.0.2)': dependencies: '@babel/runtime': 7.25.7 - '@wordpress/element': 6.10.0 + '@wordpress/element': 4.20.0 clsx: 2.1.1 react: 17.0.2 - '@wordpress/primitives@4.10.0(react@18.3.1)': + '@wordpress/primitives@4.11.0(react@18.3.1)': dependencies: '@babel/runtime': 7.25.7 - '@wordpress/element': 6.10.0 + '@wordpress/element': 4.20.0 clsx: 2.1.1 react: 18.3.1 - '@wordpress/primitives@4.6.0(react@17.0.2)': - dependencies: - '@babel/runtime': 7.25.7 - '@wordpress/element': 6.8.1 - clsx: 2.1.1 - react: 17.0.2 - - '@wordpress/primitives@4.8.1(react@17.0.2)': - dependencies: - '@babel/runtime': 7.25.7 - '@wordpress/element': 6.8.1 - clsx: 2.1.1 - react: 17.0.2 - '@wordpress/priority-queue@1.11.2': dependencies: '@babel/runtime': 7.25.7 @@ -45050,7 +45004,7 @@ snapshots: '@wordpress/react-i18n@3.55.0': dependencies: '@babel/runtime': 7.25.7 - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/i18n': 4.57.0 utility-types: 3.10.0 @@ -45135,7 +45089,7 @@ snapshots: '@wordpress/components': 25.16.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/core-data': 6.24.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/data': 9.27.0(react@17.0.2) - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/i18n': 4.57.0 '@wordpress/icons': 9.48.0 '@wordpress/notices': 4.15.0(react@17.0.2) @@ -45410,7 +45364,7 @@ snapshots: '@wordpress/data': 10.10.0(react@17.0.2) '@wordpress/deprecated': 4.10.0 '@wordpress/element': 6.10.0 - '@wordpress/escape-html': 3.8.1 + '@wordpress/escape-html': 3.10.0 '@wordpress/i18n': 5.10.0 '@wordpress/keycodes': 4.10.0 memize: 2.1.0 @@ -46096,7 +46050,7 @@ snapshots: '@babel/runtime': 7.25.7 '@wordpress/compose': 6.34.0(react@17.0.2) '@wordpress/data': 9.27.0(react@17.0.2) - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 react: 17.0.2 '@wordpress/viewport@6.10.0(react@18.3.1)': @@ -46160,7 +46114,7 @@ snapshots: '@wordpress/compose': 6.34.0(react@17.0.2) '@wordpress/core-data': 6.24.0(@babel/helper-module-imports@7.24.7)(@babel/types@7.25.2)(@types/react@17.0.71)(babel-plugin-macros@3.1.0)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@wordpress/data': 9.27.0(react@17.0.2) - '@wordpress/element': 5.34.0 + '@wordpress/element': 5.35.0 '@wordpress/i18n': 4.57.0 '@wordpress/icons': 9.48.0 '@wordpress/notices': 4.15.0(react@17.0.2) @@ -50190,7 +50144,7 @@ snapshots: prop-types: 15.8.1 react: 17.0.2 react-is: 17.0.2 - tslib: 2.6.2 + tslib: 2.6.3 downshift@6.1.12(react@18.3.1): dependencies: @@ -50199,7 +50153,7 @@ snapshots: prop-types: 15.8.1 react: 18.3.1 react-is: 17.0.2 - tslib: 2.6.2 + tslib: 2.6.3 downshift@6.1.7(react@18.3.1): dependencies: @@ -52266,7 +52220,7 @@ snapshots: react: 17.0.2 react-dom: 17.0.2(react@17.0.2) style-value-types: 5.0.0 - tslib: 2.6.2 + tslib: 2.6.3 optionalDependencies: '@emotion/is-prop-valid': 0.8.8 @@ -52279,7 +52233,7 @@ snapshots: react: 17.0.2 react-dom: 18.3.1(react@17.0.2) style-value-types: 5.0.0 - tslib: 2.6.2 + tslib: 2.6.3 optionalDependencies: '@emotion/is-prop-valid': 0.8.8 @@ -52292,7 +52246,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) style-value-types: 5.0.0 - tslib: 2.6.2 + tslib: 2.6.3 optionalDependencies: '@emotion/is-prop-valid': 0.8.8