Mike Jolley
c4be7ca307
Styling (margin and padding) tweaks ( https://github.com/woocommerce/woocommerce-blocks/pull/4974 )
2021-10-20 17:02:05 +01:00
Raluca Stan
a1046eb95e
Add empty cart to Cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4976 )
2021-10-20 15:42:57 +01:00
Niels Lange
02dbd8bf4f
Correct WooCommerce branding color ( https://github.com/woocommerce/woocommerce-blocks/pull/4959 )
2021-10-20 10:30:16 +01:00
Seghir Nadir
7c8becccd7
Move shared code between Cart and Checkout into single folder. ( https://github.com/woocommerce/woocommerce-blocks/pull/4961 )
...
* move shared code out of checkout into shared folder
* move code from cart i2 to shared folder
* move columns
* move viewSwitcher
* code cleanup inside Cart i2
2021-10-19 15:29:12 +01:00
Seghir Nadir
91296b09cc
Update blocks-registry docs ( https://github.com/woocommerce/woocommerce-blocks/pull/4946 )
...
* add handleMap
* remove useValidation from cart blocks
* add namespace options to docs
* Update packages/checkout/blocks-registry/README.md
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* expand on the docblock
* Update packages/checkout/blocks-registry/README.md
Co-authored-by: Mike Jolley <mike.jolley@me.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Co-authored-by: Mike Jolley <mike.jolley@me.com>
2021-10-19 14:05:26 +01:00
Mike Jolley
3840462cf0
Add Accepted Payment Methods Block ( https://github.com/woocommerce/woocommerce-blocks/pull/4944 )
...
* Remove icons from checkout button
* Add new block type
* Register new block
* Remove unused attribute
* Add to new template
* Remove duplicate attributes
* Update Inner Block handling to use consistent appender and unlock payment methods
2021-10-19 12:23:33 +01:00
Mike Jolley
dad8331242
Cart i2 Attribute Audit ( https://github.com/woocommerce/woocommerce-blocks/pull/4956 )
...
* Add dark mode inputs toggle to top level block
* Remove top level attributes which moved to inner blocks
* Remove unused components
* Pass down hasDarkControls and currentView via context props
2021-10-18 17:12:36 +01:00
hafhaf10
4d0ba20d6d
Fix correct branding color ( https://github.com/woocommerce/woocommerce-blocks/pull/4911 )
...
* Correct WooCommerce branding color
* Correct WooCommerce branding color
* Fixed lowercase colors
* Changed color in more files
2021-10-15 15:27:59 +01:00
Mike Jolley
901a78979e
Fix positioning of default locked blocks in the editor and frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/4937 )
...
* Update default empty template on server side
* template->registeredBlocks wording
* useForcedLayout: insert in correct place
* Remove test div
* Clarify inline docs
* Apply changes to cart block
2021-10-15 10:48:57 +01:00
Raluca Stan
05dc130d21
Register as experimental the Cart i2 blocks and update the feature flag documentation ( https://github.com/woocommerce/woocommerce-blocks/pull/4936 )
...
* Use registerExperimentalBlockType for registering Cart i2 related blocks
* Update feature flags and experimental interfaces doc
2021-10-14 13:44:46 +01:00
Ovidiu Liuta
ae603f3e82
WordPress Coding Standards fix for .scss files ( https://github.com/woocommerce/woocommerce-blocks/pull/4918 )
...
* adding timerange limit
* woocommerce/woocommerce-blocks#3739 fixing scss coding standard and removing spaces from parantheses values
* removing unrelated changes
* fixing further instances for parantheses
2021-10-11 14:18:32 +01:00
Mike Jolley
1aaa00ed2a
Cart i2: view switcher shared to children ( https://github.com/woocommerce/woocommerce-blocks/pull/4817 )
...
* Replace context with __experimentalShareWithChildBlocks
* Switch to parent block when changing views
* Swap order of views
* Drop default, use first view
* Improve block selection after changing views
2021-09-24 16:13:39 +01:00
Seghir Nadir
244a2baa48
remove duplicate context ( https://github.com/woocommerce/woocommerce-blocks/pull/4832 )
2021-09-24 15:37:16 +01:00
Seghir Nadir
f1c936b7d1
Add Cart Totals to cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4823 )
...
* WIP getting to work on frontend
* restore frontend.tsx
* fix layout
* support emtpy cart in frontend
* add cart tital to correct place and move useEffect
2021-09-24 15:23:10 +01:00
Seghir Nadir
f9f70893e0
Update Cart & Checkout i2 temporarily locking to be on the parent block ( https://github.com/woocommerce/woocommerce-blocks/pull/4837 )
...
* update locking to be on parent, not block
* include cart as well
2021-09-24 14:44:05 +01:00
Seghir Nadir
b6167bc179
Cart i2: Render filled and empty Carts on frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/4802 )
...
* WIP getting to work on frontend
* restore frontend.tsx
* fix layout
* remove unit tests living where they shouldn't be living
* remove skeleton
* support emtpy cart in frontend
* remove extra todo
* use fragment instead of div
* Add empty cart event
* Remove extra fragment
2021-09-23 16:38:30 +01:00
Mike Jolley
2c412b2b3b
Cart i2: Toolbar based view switcher ( https://github.com/woocommerce/woocommerce-blocks/pull/4811 )
...
* New icons
* Add new view switcher
* Context to pass down component controls
* Implement switcher
2021-09-22 16:00:19 +01:00
Mike Jolley
2af90f301c
Add/empty and fillted cart wrapper ( https://github.com/woocommerce/woocommerce-blocks/pull/4803 )
...
* Update area/types
* Add empty and filled block wrappers
* Add missing useBlockProps
* Add templates and inner block structure
2021-09-21 16:41:09 +01:00
Seghir Nadir
614c7205ef
add CartCheckoutFeedbackPrompt to cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4801 )
2021-09-21 14:42:12 +01:00
Seghir Nadir
a459360dc1
Add Express Checkout block for Cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4791 )
...
* setup basic column blocks
* fix classnames
* move hacks back
* dubplciate columns
* add express payment block
* adjust styles
* fix locking after rebase
2021-09-21 13:38:56 +01:00
Seghir Nadir
f2af87226c
Adds Proceed to Checkout block to Cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4783 )
...
* setup basic column blocks
* fix classnames
* move hacks back
* dubplciate columns
* add proceed to checkout block
* dub code
2021-09-21 13:20:42 +01:00
Seghir Nadir
aeb43084f7
Add Cart Summary block in cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4782 )
...
* setup basic column blocks
* fix classnames
* move hacks back
* dubplciate columns
* add summary block
* dub code
2021-09-21 12:58:36 +01:00
Seghir Nadir
91f9f160d9
Add Cart Line Items Block to Cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4781 )
...
* setup basic column blocks
* fix classnames
* move hacks back
* dubplciate columns
* add cart line items block
* dub code
2021-09-21 11:47:20 +01:00
Seghir Nadir
56551347a6
Setup basic column blocks for Cart i2 ( https://github.com/woocommerce/woocommerce-blocks/pull/4780 )
...
* setup basic column blocks
* fix classnames
* fix broken block.json in cart items block
* move hacks back
* dubplciate columns
2021-09-21 11:18:27 +01:00
Seghir Nadir
f44784ffca
Create Cart i2 block ( https://github.com/woocommerce/woocommerce-blocks/pull/4718 )
2021-09-17 16:29:58 +01:00