* Revert "Add new buttonAttributes API to style express checkout buttons coherently (#47899)"
This reverts commit 006fbc6714.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* Update changelog
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* add email type to email field in Checkout block
* Add changefile(s) from automation for the following project(s): woocommerce
* fix changelog
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix inline documentation typos in woocommerce-blocks
* Add changelog file
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* Remove original changelog
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
* Remove common query string variables which affect cart contents
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add busy state
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Missing global $wp
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Remove colon in product data meta box checkboxes
* Changelog
* Fix CSS for checkbox
* Update margin so the distance between checkbox and label is 8px, and distance between items are 32px
* Move checkbox to the left, added has-checkbox class, minor adjustments to margins
* Minor adjustment
* REST: Update product stock when removing line item from order
This ensures that the REST endpoint behaves the same as the UI when
updating an order to remove a line item.
Fixes#49651
* Add changefile(s) from automation for the following project(s): woocommerce
* phpcs cleanup
* Add unit tests
* phpcs cleanup
* Update plugins/woocommerce/changelog/50606-fix-49651-rest-remove-line-item-stock
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
* Add changefile(s) from automation for the following project(s): woocommerce
* Add void return type to new method
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
* Add variation to Product Filters Overlay Navigation
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
* Move Product Filters Overlay Navigation to correct position
* Hide block when it is outside the Product Filters template part
* Display Navigation block in the frontend
* Show the Product Filters Overlay Navigation on the frontend
* Add logic to hide Product Filters Overlay Navigation block on the frontend
* Hide block on the Overlay template part
* Fix eslint errors
* Update the block variation title
* Remove the `isActive` property from the block variations
* Use Product Filters block context
* Replace enum with const
* Remove unnecessary `StyleAttributesUtils`
* Rename context key
* Move BlockOverlayAttribute to the constants.ts file
* fix BlockOverlayAttribute import
* Fix import error
* Improve code for the shouldHideBlock method
* Remove unnecessary attributes property
* Fix error in ProductFiltersOverlay block
* Prevent block from being hidden on Product Filters template part
* Fix inspector controls when block is hidden
* Remove unnecessary import
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add aria-current to the current link in My Account side nav
* Update current page check for dashboard, orders, and payment methods
* Fix PHP linting errors
* Update function for getting current aria for account menu
* Bump template version
* Create a helper function to test current item in the account menu
* Fix liniting errors
---------
Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
* Update logic to allow new accounts to set their password
* Changelog
* phpcs ignores
* Doc block update
* Remove redirect if lost-password accessed by logged in user
* Remove restriction on lost password page
* Disregard invalid slug
* Change logic for invalid slug -- plugin dir with the slug must exist
* Use put_contents correctly
---------
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Fix `Product meta` console error
* Add changefile(s) from automation for the following project(s): woocommerce
* Not use Atomic class
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: avoid to enqueue jetpack scripts
* Add changefile(s) from automation for the following project(s): woocommerce
* remove not necessary import
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add context to type
* Clean up notifyerrors helpers
* Notify and clear top level cart errors
* changelog
* Make extensionCartUpdate surface the errors
* No automatic clearing of notice
* Handle generic errors only, add docs
* Rename param
* Fix linting in readme
* Update toc
* test coverage
* Unused import
* We're only dealing with arrays of errors so simplify logic
* Make hover status style like active
* Add changelog file
* Update changelog message
Co-authored-by: Albert Juhé Lluveras <aljullu@gmail.com>
---------
Co-authored-by: Albert Juhé Lluveras <aljullu@gmail.com>
* Make some methods agnostic of which fallback template is used
* Get rid of the template_is_eligible_for_fallback() util
* Get rid of the template_is_eligible_for_fallback() util (II)
* Add changelog
* Get rid of the template_is_eligible_for_fallback() util (III)
* Add back 'template_is_eligible_for_fallback' method
* Fix issue after rebase
* Remove some more instances of hard-coded templates from the template hierarchy code
* Update comments
* Remove unused template_is_eligible_for_fallback() function
* Add extra explanatory comment
* Pass default value to get_option
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Avoid registering block in the wrong context
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Fix Product meta translations
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint error
* Remove AddToCartForm from the list of blocks to not register in posts
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Expose buttonAttributes to the express payment methods
* Add size and label attributes to the express checkout area
* Remove defaultHeight
* default button Label
* Remove the button label attribute
* Remove px from height
* Change large button height to 55px
* Load express checkout block with attributes
* Add toggle and borderRadius controls and remove getting border radius from the theme
* Remove extra border radius text
* Only pass buttonAttributes if toggled on
* Move express payment block attribute logic into a Provider
* Tidy up editor grid and parse attributes into context on frontend
* Add px to border-radius input
* Express payment methods not selectable
* Add a test
* lint fixes
* default button height is 48 not 4
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Update docs
* Add tests for express payment methods
* Center images within the express payment area in the editor
* Apply the buttonAttributes to the li container in the editor regardless of showButtonStyles
* Fix style issue
* fix linting
* fix lint again
* Update manifest
* Update docs manifest
* Resize images in editor
* lint fix
---------
Co-authored-by: github-actions <github-actions@github.com>