Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Conversation

@kmanijak
Copy link
Contributor

@kmanijak kmanijak commented Dec 16, 2022

Background

WooCommerce Blocks relies on @wordpress/components in two ways:

Dependency type Dependency Version Purpose
devDependency @wordpress/components 19.1.5 Should be used on the Admin side.
dependency "wordpress-components": "npm:@wordpress/components 14.2.0 Should be used on the frontend side

What PR does

This PR updates the @wordpress/components to version 22.0.0 and narrow down the dependency to single one with no difference between Editor and the Frontend

What PR does not

Current newest version of @wordpress/components is 23.0.0. This PR does not update the dependency to the newest version, since version 23.0.0 relies on React 18, while we rely on React 17. Although, the update of React may be easy I believe it deserves a separate PR.
Also, I encountered problems with build with version 22.1.0 of @wordpress/components (missing SCSS variable), hence I sticked to 22.0.0. I believe the key problem was to bump it as far as possible and then fix the following issues from there.

Fixes #7665
Fixes #7950
Fixes #5611

Accessibility

User Facing Testing

Impacted blocks/components should be smoke tested (and overall monkey tested).

WooCommerce Visibility

  • WooCommerce Core
  • Feature plugin
  • Experimental

Performance Impact

  • Bundle size Change: -179 kB (-18%)
  • TODO: potentially do some loading tests

Changelog

Maintenance: Update @wordpress/components to 22.0.0

@github-actions
Copy link
Contributor

The release ZIP for this PR is accessible via:

https://wcblocks.wpcomstaging.com/wp-content/uploads/woocommerce-gutenberg-products-block-7962.zip

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2022

TypeScript Errors Report

Files with errors: 419
Total errors: 2095

⚠️ ⚠️ This PR introduces new TS errors on 2 files:

Details assets/js/base/components/button/index.tsx

packages/checkout/slot/index.js

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2022

Size Change: -175 kB (-17%) 👏

Total Size: 836 kB

Filename Size Change
build/active-filters-frontend.js 7.74 kB -5 B (0%)
build/active-filters-wrapper-frontend.js 4.73 kB -1.28 kB (-21%) 🎉
build/active-filters.js 7.34 kB +24 B (0%)
build/all-products-frontend.js 11.2 kB -106 B (-1%)
build/all-products.js 33.4 kB -37 B (0%)
build/all-reviews.js 7.65 kB -4 B (0%)
build/attribute-filter-frontend.js 10 kB -12.7 kB (-56%) 🏆
build/attribute-filter-wrapper-frontend.js 7.02 kB -643 B (-8%)
build/attribute-filter.js 12.3 kB -81 B (-1%)
build/blocks-checkout.js 20.6 kB -18.9 kB (-48%) 🎉
build/cart-blocks/cart-accepted-payment-methods-frontend.js 1.37 kB -1 B (0%)
build/cart-blocks/cart-cross-sells-products-frontend.js 4.81 kB -4.83 kB (-50%) 🏆
build/cart-blocks/cart-express-payment--checkout-blocks/express-payment-frontend.js 5.08 kB -2 B (0%)
build/cart-blocks/cart-line-items--mini-cart-contents-block/products-table-frontend.js 5.29 kB +1 B (0%)
build/cart-blocks/cart-line-items-frontend.js 1.06 kB -1 B (0%)
build/cart-blocks/cart-order-summary-frontend.js 1.25 kB +1 B (0%)
build/cart-blocks/cart-totals-frontend.js 321 B -1 B (0%)
build/cart-blocks/filled-cart-frontend.js 782 B -1 B (0%)
build/cart-blocks/order-summary-coupon-form-frontend.js 1.78 kB -1 B (0%)
build/cart-blocks/order-summary-discount-frontend.js 2.12 kB -6 B (0%)
build/cart-blocks/order-summary-heading-frontend.js 454 B -1 B (0%)
build/cart-blocks/order-summary-shipping-frontend.js 428 B -14.2 kB (-97%) 🏆
build/cart-blocks/order-summary-taxes-frontend.js 435 B -1 B (0%)
build/cart-blocks/proceed-to-checkout-frontend.js 1.24 kB +3 B (0%)
build/cart-frontend.js 28 kB -100 B (0%)
build/cart.js 46.9 kB -11 B (0%)
build/checkout-blocks/actions-frontend.js 1.86 kB -4 B (0%)
build/checkout-blocks/billing-address--checkout-blocks/shipping-address-frontend.js 3.87 kB +3 B (0%)
build/checkout-blocks/billing-address-frontend.js 1.12 kB -1 B (0%)
build/checkout-blocks/contact-information-frontend.js 2 kB -2 B (0%)
build/checkout-blocks/express-payment-frontend.js 1.13 kB -2 B (0%)
build/checkout-blocks/order-note-frontend.js 1.13 kB -3 B (0%)
build/checkout-blocks/order-summary-cart-items-frontend.js 3.66 kB -8 B (0%)
build/checkout-blocks/order-summary-coupon-form-frontend.js 1.94 kB +3 B (0%)
build/checkout-blocks/order-summary-discount-frontend.js 2.29 kB -1 B (0%)
build/checkout-blocks/order-summary-frontend.js 1.25 kB +1 B (0%)
build/checkout-blocks/order-summary-shipping-frontend.js 603 B -14 kB (-96%) 🏆
build/checkout-blocks/payment-frontend.js 7.55 kB -782 B (-9%)
build/checkout-blocks/shipping-methods-frontend.js 4.92 kB +351 B (+8%) 🔍
build/checkout-blocks/totals-frontend.js 325 B +1 B (0%)
build/checkout-frontend.js 29.3 kB -115 B (0%)
build/checkout.js 40.9 kB -19 B (0%)
build/customer-account.js 3.08 kB -2 B (0%)
build/featured-category.js 13 kB -36 B (0%)
build/featured-product.js 13.3 kB -63 B (0%)
build/filter-wrapper-frontend.js 13.7 kB -82 B (-1%)
build/filter-wrapper.js 2.39 kB -1 B (0%)
build/general-style-rtl.css 988 B -300 B (-23%) 🎉
build/general-style.css 988 B -299 B (-23%) 🎉
build/handpicked-products.js 7.17 kB -44 B (-1%)
build/legacy-template.js 2.84 kB -6 B (0%)
build/mini-cart-component-frontend.js 19.9 kB -84 B (0%)
build/mini-cart-contents-block/filled-cart-frontend.js 387 B -1 B (0%)
build/mini-cart-contents-block/footer-frontend.js 2.82 kB +2 B (0%)
build/mini-cart-contents-block/shopping-button-frontend.js 312 B -1 B (0%)
build/mini-cart-contents.js 16.7 kB -29 B (0%)
build/mini-cart-frontend.js 1.88 kB -2 B (0%)
build/mini-cart.js 4.26 kB -1 B (0%)
build/price-filter-frontend.js 13.6 kB +25 B (0%)
build/price-filter-wrapper-frontend.js 5.71 kB -1.3 kB (-19%) 👏
build/price-filter.js 8.4 kB +25 B (0%)
build/product-add-to-cart--product-button--product-category-list--product-image--product-price--product-r--a0326d00.js 227 B +1 B (0%)
build/product-add-to-cart-frontend.js 1.6 kB -5.12 kB (-76%) 🏆
build/product-add-to-cart.js 8.47 kB -5 B (0%)
build/product-best-sellers.js 7.5 kB -82 B (-1%)
build/product-button--product-category-list--product-image--product-price--product-rating--product-sale-b--e17c7c01.js 441 B -2 B (0%)
build/product-button-frontend.js 2.15 kB -2 B (0%)
build/product-button.js 3.84 kB +1 B (0%)
build/product-categories.js 2.37 kB +7 B (0%)
build/product-category-list-frontend.js 1.14 kB +1 B (0%)
build/product-category-list.js 503 B +1 B (0%)
build/product-category.js 8.49 kB -79 B (-1%)
build/product-image-frontend.js 2.16 kB +3 B (0%)
build/product-image.js 3.93 kB -6 B (0%)
build/product-new.js 7.5 kB -73 B (-1%)
build/product-on-sale.js 7.82 kB -71 B (-1%)
build/product-price-frontend.js 2.17 kB -8 B (0%)
build/product-price.js 1.54 kB -3 B (0%)
build/product-query.js 5.94 kB -1 B (0%)
build/product-rating-frontend.js 1.59 kB -2 B (0%)
build/product-rating.js 918 B -1 B (0%)
build/product-sale-badge-frontend.js 1.39 kB +1 B (0%)
build/product-sale-badge.js 811 B -3 B (0%)
build/product-stock-indicator-frontend.js 1.27 kB +5 B (0%)
build/product-stock-indicator.js 644 B -1 B (0%)
build/product-summary-frontend.js 1.53 kB -1 B (0%)
build/product-summary.js 920 B +1 B (0%)
build/product-tag-list.js 498 B +1 B (0%)
build/product-tag.js 8 kB -57 B (-1%)
build/product-title-frontend.js 1.58 kB -3 B (0%)
build/product-title.js 3.32 kB +16 B (0%)
build/product-top-rated.js 7.74 kB -71 B (-1%)
build/products-by-attribute.js 8.41 kB -83 B (-1%)
build/rating-filter-frontend.js 8.6 kB -12.6 kB (-59%) 🏆
build/rating-filter-wrapper-frontend.js 5.58 kB -613 B (-10%) 👏
build/rating-filter.js 7.36 kB -26 B (0%)
build/reviews-by-category.js 11.1 kB -94 B (-1%)
build/reviews-by-product.js 12.2 kB -110 B (-1%)
build/reviews-frontend.js 6.87 kB -11 B (0%)
build/single-product-frontend.js 17.3 kB -15 B (0%)
build/single-product.js 9.9 kB -64 B (-1%)
build/stock-filter-frontend.js 8.74 kB -12.1 kB (-58%) 🏆
build/stock-filter-wrapper-frontend.js 5.71 kB -143 B (-2%)
build/stock-filter.js 8.1 kB -19 B (0%)
build/vendors--attribute-filter-wrapper--cart-blocks/cart-cross-sells-products--cart-blocks/order-summary--cde4eab5-frontend.js 0 B -6.86 kB (removed) 🏆
build/vendors--attribute-filter-wrapper--rating-filter-wrapper--stock-filter-wrapper-frontend.js 0 B -7.7 kB (removed) 🏆
build/vendors--cart-blocks/cart-cross-sells-products--cart-blocks/cart-line-items--cart-blocks/cart-order--671ca56f-frontend.js 5.26 kB -3 B (0%)
build/vendors--cart-blocks/cart-cross-sells-products--cart-blocks/order-summary-shipping--checkout-blocks--18f9376a-frontend.js 0 B -19.1 kB (removed) 🏆
build/vendors--cart-blocks/cart-cross-sells-products--product-add-to-cart-frontend.js 0 B -7.53 kB (removed) 🏆
build/vendors--cart-blocks/cart-line-items--checkout-blocks/order-summary-cart-items--mini-cart-contents---233ab542-frontend.js 3.14 kB -1 B (0%)
build/vendors--cart-blocks/order-summary-shipping--checkout-blocks/billing-address--checkout-blocks/order--5b8feb0b-frontend.js 0 B -4.82 kB (removed) 🏆
build/vendors--checkout-blocks/shipping-methods-frontend.js 0 B -9.48 kB (removed) 🏆
build/wc-blocks-data.js 21.1 kB -55 B (0%)
build/wc-blocks-registry.js 2.91 kB -8 B (0%)
build/wc-blocks-shared-context.js 1.51 kB -7 B (0%)
build/wc-blocks-shared-hocs.js 1.72 kB -4 B (0%)
build/wc-blocks-style-rtl.css 24.5 kB -326 B (-1%)
build/wc-blocks-style.css 24.4 kB -325 B (-1%)
build/wc-blocks-vendors-style-rtl.css 1.96 kB +10 B (+1%)
build/wc-blocks-vendors-style.css 1.96 kB +6 B (0%)
build/wc-blocks-vendors.js 22.8 kB -39.9 kB (-64%) 🏆
build/wc-blocks.js 2.62 kB -6 B (0%)
build/wc-settings.js 2.6 kB -2 B (0%)
build/active-filters-wrapper--attribute-filter-wrapper--price-filter-wrapper--rating-filter-wrapper--stoc--78b62dd5-frontend.js 1.71 kB +1.71 kB (new file) 🆕
build/cart-blocks/cart-cross-sells-products--product-add-to-cart-frontend.js 6.18 kB +6.18 kB (new file) 🆕
build/cart-blocks/order-summary-shipping--checkout-blocks/order-summary-shipping-frontend.js 5.81 kB +5.81 kB (new file) 🆕
build/vendors--cart-blocks/order-summary-shipping--checkout-blocks/order-summary-shipping--checkout-block--dda5866c-frontend.js 8.25 kB +8.25 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size
build/cart-blocks/cart-cross-sells-frontend.js 253 B
build/cart-blocks/cart-express-payment-frontend.js 720 B
build/cart-blocks/cart-items-frontend.js 299 B
build/cart-blocks/empty-cart-frontend.js 343 B
build/cart-blocks/order-summary-fee-frontend.js 273 B
build/cart-blocks/order-summary-subtotal-frontend.js 273 B
build/checkout-blocks/fields-frontend.js 343 B
build/checkout-blocks/order-summary-fee-frontend.js 275 B
build/checkout-blocks/order-summary-subtotal-frontend.js 273 B
build/checkout-blocks/order-summary-taxes-frontend.js 436 B
build/checkout-blocks/shipping-address-frontend.js 1.11 kB
build/checkout-blocks/terms-frontend.js 1.56 kB
build/mini-cart-contents-block/empty-cart-frontend.js 366 B
build/mini-cart-contents-block/items-frontend.js 237 B
build/mini-cart-contents-block/products-table-frontend.js 591 B
build/mini-cart-contents-block/title-frontend.js 368 B
build/price-format.js 1.19 kB
build/product-add-to-cart--product-button--product-image--product-rating--product-title.js 151 B
build/product-button--product-image--product-rating--product-sale-badge--product-title.js 302 B
build/product-search.js 2.62 kB
build/product-sku-frontend.js 629 B
build/product-sku.js 377 B
build/product-tag-list-frontend.js 1.13 kB
build/wc-blocks-editor-style-rtl.css 5.41 kB
build/wc-blocks-editor-style.css 5.41 kB
build/wc-blocks-google-analytics.js 1.56 kB
build/wc-blocks-middleware.js 931 B
build/wc-payment-method-bacs.js 816 B
build/wc-payment-method-cheque.js 811 B
build/wc-payment-method-cod.js 909 B
build/wc-payment-method-paypal.js 837 B

compressed-size-action

@github-actions
Copy link
Contributor

github-actions bot commented Dec 16, 2022

Script Dependencies Report

The compare-assets action has detected some changed script dependencies between this branch and trunk. Please review and confirm the following are correct before merging.

Script Handle Added Removed
wc-blocks.js wp-blocks, wp-compose, wp-element, wp-hooks, wp-i18n, wp-polyfill, wp-primitives ⚠️
handpicked-products.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-best-sellers.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-category.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-categories.js wp-block-editor, wp-blocks, wp-components, wp-element, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render ⚠️
product-new.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-on-sale.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-top-rated.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
products-by-attribute.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
featured-product.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
all-reviews.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives ⚠️
reviews-by-product.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
reviews-by-category.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
product-search.js wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
product-tag.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
featured-category.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
all-products.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-blocks-shared-context, wc-blocks-shared-hocs, wc-price-format, wc-settings, wp-a11y, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
price-filter.js lodash, react, wc-blocks-data-store, wc-price-format, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
attribute-filter.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
stock-filter.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-settings, wp-a11y, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
active-filters.js lodash, react, wc-blocks-data-store, wc-price-format, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
rating-filter.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-settings, wp-a11y, wp-block-editor, wp-blocks, wp-components, wp-data, wp-element, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
cart.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-blocks-shared-context, wc-blocks-shared-hocs, wc-price-format, wc-settings, wp-a11y, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-core-data, wp-data, wp-deprecated, wp-dom, wp-editor, wp-element, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-keycodes, wp-plugins, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
checkout.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-price-format, wc-settings, wp-a11y, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-core-data, wp-data, wp-deprecated, wp-dom, wp-editor, wp-element, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-keycodes, wp-plugins, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
mini-cart.js react, wc-price-format, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-dom, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
mini-cart-contents.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-price-format, wc-settings, wp-a11y, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-data, wp-dom, wp-element, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-keycodes, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
single-product.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-blocks-shared-context, wc-blocks-shared-hocs, wc-price-format, wc-settings, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
legacy-template.js wc-settings, wp-block-editor, wp-blocks, wp-components, wp-data, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
product-query.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-data, wp-element, wp-hooks, wp-i18n, wp-polyfill, wp-primitives, wp-url ⚠️
filter-wrapper.js wp-block-editor, wp-blocks, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️

This comment was automatically generated by the ./github/compare-assets action.

@kmanijak kmanijak changed the title [WIP] Try/update wordpress components no framer motion Update @wordpress/components and merge into single dependency Dec 20, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 29, 2022

The release ZIP for this PR is accessible via:

https://wcblocks.wpcomstaging.com/wp-content/uploads/woocommerce-gutenberg-products-block-7962.zip

Script Dependencies Report

The compare-assets action has detected some changed script dependencies between this branch and trunk. Please review and confirm the following are correct before merging.

Script Handle Added Removed
wc-blocks.js wp-blocks, wp-compose, wp-element, wp-hooks, wp-i18n, wp-polyfill, wp-primitives ⚠️
handpicked-products.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-best-sellers.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-category.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-categories.js wp-block-editor, wp-blocks, wp-components, wp-element, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render ⚠️
product-new.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-on-sale.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
product-top-rated.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
products-by-attribute.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
featured-product.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
all-reviews.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives ⚠️
reviews-by-product.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
reviews-by-category.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
product-search.js wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
product-tag.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-element, wp-html-entities, wp-i18n, wp-polyfill, wp-primitives, wp-server-side-render, wp-url ⚠️
featured-category.js lodash, react, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
all-products.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-blocks-shared-context, wc-blocks-shared-hocs, wc-price-format, wc-settings, wp-a11y, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
price-filter.js lodash, react, wc-blocks-data-store, wc-price-format, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
attribute-filter.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
stock-filter.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-settings, wp-a11y, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
active-filters.js lodash, react, wc-blocks-data-store, wc-price-format, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
rating-filter.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-settings, wp-a11y, wp-block-editor, wp-blocks, wp-components, wp-data, wp-element, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url ⚠️
cart.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-blocks-shared-context, wc-blocks-shared-hocs, wc-price-format, wc-settings, wp-a11y, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-core-data, wp-data, wp-deprecated, wp-dom, wp-editor, wp-element, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-keycodes, wp-plugins, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
checkout.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-price-format, wc-settings, wp-a11y, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-core-data, wp-data, wp-deprecated, wp-dom, wp-editor, wp-element, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-keycodes, wp-plugins, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
mini-cart.js react, wc-price-format, wc-settings, wp-block-editor, wp-blocks, wp-components, wp-dom, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
mini-cart-contents.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-price-format, wc-settings, wp-a11y, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-data, wp-dom, wp-element, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-keycodes, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
single-product.js lodash, react, wc-blocks-checkout, wc-blocks-data-store, wc-blocks-registry, wc-blocks-shared-context, wc-blocks-shared-hocs, wc-price-format, wc-settings, wp-api-fetch, wp-autop, wp-block-editor, wp-blocks, wp-components, wp-compose, wp-data, wp-element, wp-escape-html, wp-hooks, wp-html-entities, wp-i18n, wp-is-shallow-equal, wp-polyfill, wp-primitives, wp-url, wp-wordcount ⚠️
legacy-template.js wc-settings, wp-block-editor, wp-blocks, wp-components, wp-data, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
product-query.js lodash, wc-settings, wp-api-fetch, wp-block-editor, wp-blocks, wp-components, wp-data, wp-element, wp-hooks, wp-i18n, wp-polyfill, wp-primitives, wp-url ⚠️
filter-wrapper.js wp-block-editor, wp-blocks, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️
customer-account.js wc-settings, wp-block-editor, wp-blocks, wp-components, wp-element, wp-i18n, wp-polyfill, wp-primitives ⚠️

This comment was automatically generated by the ./github/compare-assets action.

TypeScript Errors Report

  • Files with errors: 409
  • Total errors: 2010

⚠️ ⚠️ This PR introduces new TS errors on 1 files:

Details assets/js/base/components/button/index.tsx

comments-aggregator

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

This PR has been marked as stale because it has not seen any activity within the past 7 days. Our team uses this tool to help surface pull requests that have slipped through review.

If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label.

@github-actions github-actions bot added the status: stale Stale issues and PRs have had no updates for 60 days. label Jan 6, 2023
* Update FormTokenField styles after @wordpress/components update

* Remove unnecessary CSS declarations
@github-actions github-actions bot removed the status: stale Stale issues and PRs have had no updates for 60 days. label Feb 25, 2023
@kmanijak
Copy link
Contributor Author

kmanijak commented Jun 2, 2023

That path won't be followed, hence closing the PR

@kmanijak kmanijak closed this Jun 2, 2023
@nielslange nielslange deleted the try/update-wordpress-components-no-framer-motion branch August 18, 2023 09:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

2 participants