renovate[bot]
c99043e897
Update dependency style-loader to v1 ( https://github.com/woocommerce/woocommerce-blocks/pull/805 )
2019-08-08 13:04:33 +01:00
renovate[bot]
65e28ed35d
Update dependency eslint-plugin-jest to v22.15.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/815 )
2019-08-08 13:00:33 +01:00
renovate[bot]
f82c3ecc29
Update dependency css-loader to v3.2.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/807 )
2019-08-08 13:00:03 +01:00
renovate[bot]
9ff3332b24
Update npm to v6.10.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/809 )
2019-08-08 12:59:29 +01:00
renovate[bot]
0d739215d5
Update Node.js to v10.16.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/810 )
2019-08-08 12:47:34 +01:00
Albert Juhé Lluveras
3097bb0901
Create a constants.js file with the NAMESPACE value ( https://github.com/woocommerce/woocommerce-blocks/pull/799 )
...
* Create a constants.js file with the NAMESPACE value
* Created 'ENDPOINTS' constant instead of 'NAMESPACE'
* Use NAMESPACE in constants.js
2019-08-07 16:47:01 +02:00
Darren Ethier
2d5b06f07a
Introduce withSearchedProducts higher order component and refactor ProductsControl Component ( https://github.com/woocommerce/woocommerce-blocks/pull/791 )
...
* add new withSearchedProducts hoc
includes tests
* convert to functional component and wrap with new hoc
* remove dependency between tests
* Fix typo with PropTypes bool
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* remove unnecessary specific import
* fix bug introduced on refactor for selected prop recalc
* fix tests that were testing the wrong expectation
- also improved mocks a bit so they are a bit more realistic for the purpose of the test coverage.
* remove unnecessary Fragment
* tweak propType definitions and remove defaults
- this keeps argument expectations in sync with wrapped component and reduces chance of unexpected behaviour if `SearchListControl` logic changes.
* remove lodash.find dependency.
2019-08-06 11:34:13 -04:00
Mike Jolley
918f822128
Disable HTML editing on dynamic blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/801 )
...
* Disable HTML editing on dynamic blocks
* Tabindex case
2019-08-06 15:10:01 +01:00
Mike Jolley
6a6d280eb0
Add product search block ( https://github.com/woocommerce/woocommerce-blocks/pull/697 )
...
* basic scaffold
* Progress
* Fix saving
* Move data to form
* Update assets/js/blocks/product-search/editor.scss
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Update assets/js/blocks/product-search/block.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* hex case
* Use a span element
* Move render method
* CSS
* Update buttons
* Fix navigation buttons
* remove webkit appearance styles for buttons
* Swap rich to plain text component
* Improved attribute handling
* Update assets/js/blocks/product-search/block.js
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
2019-08-05 11:25:57 +01:00
renovate[bot]
5efef42495
Update dependency webpack to v4.39.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/798 )
2019-08-05 10:40:45 +01:00
Albert Juhé Lluveras
8a187db5d9
Move withComponentId to hocs directory ( https://github.com/woocommerce/woocommerce-blocks/pull/797 )
2019-08-05 10:37:16 +01:00
Albert Juhé Lluveras
2504bffdfa
Create `withProduct` HOC ( https://github.com/woocommerce/woocommerce-blocks/pull/779 )
...
* Reset 'loaded' state in Featured Product and Category blocks
* Minor code improvements
* Remove state from ApiErrorPlaceholder
* Move getProduct to a HOC
* Undo changes in Featured Category
* Update proptypes
* Move error messages to <ApiErrorPlaceholder>
* Reorder props
* Move lifecycle methods to HOC
* Make <FeaturedProduct> component presentational
* Move withProduct to js/hocs
* Create NAMESPACE constant in utils
* Create getProduct util function
* Set 'error' and 'product' state to null instead of 'false' when they have no value
* Prevent getImageSrcFromProduct and getImageIdFromProduct returning an error when 'product' is not an object
* Add HOC tests
* Use 'toBe' and 'toBeNull' jest expect methods instead of 'toEqual' when possible
* Export HOCs from index
* Move mock implementation to beforeEach
2019-08-02 13:56:53 +02:00
renovate[bot]
c12fffea9b
Update Node.js to v10.16.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/789 )
2019-08-02 12:51:52 +01:00
renovate[bot]
dcfb27efd8
Update dependency webpack to v4.39.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/794 )
2019-08-02 12:51:05 +01:00
Mike Jolley
d230a6a876
Update webpack config to fix ie11
2019-07-31 14:59:38 +01:00
renovate[bot]
c3cee87dce
Update dependency eslint-plugin-jest to v22.14.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/782 )
2019-07-31 10:39:27 +01:00
Mike Jolley
166f9e3dfb
Ensure register_block_type exists ( https://github.com/woocommerce/woocommerce-blocks/pull/780 )
2019-07-31 10:33:05 +01:00
Albert Juhé Lluveras
3b39d6cc61
Fix Jest missing webpack config ( https://github.com/woocommerce/woocommerce-blocks/pull/781 )
2019-07-31 10:25:16 +02:00
Albert Juhé Lluveras
c1c4d235b1
Fix ComponentId camelCase
2019-07-30 16:26:35 +01:00
renovate[bot]
2875dee9ae
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/776 )
2019-07-29 14:12:18 +01:00
Mike Jolley
5789a74409
Reduce number of dependencies for the product categories list block ( https://github.com/woocommerce/woocommerce-blocks/pull/771 )
...
* unqiueID helper to replace compose
* move get categories function to own file
* fix svg styling
* remove lodash dependency
* Refactor block/edit to use less dependencies
* Babel config to skip wp.element
* update comments
* Update assets/js/blocks/product-categories/frontend.js
ie11 compatible for each on nodelist
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* move id generation to constructor
* simplify webpack config
* Remove components CSS dependency
* use HOC for component ID
* Correct case on ComponentId
2019-07-29 13:00:26 +01:00
Albert Juhé Lluveras
20f90ab1cb
Refactor register_block_script ( https://github.com/woocommerce/woocommerce-blocks/pull/775 )
2019-07-29 12:47:25 +02:00
renovate[bot]
0d41e0e3e2
Update dependency eslint-plugin-jest to v22.14.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/772 )
2019-07-29 11:28:48 +02:00
renovate[bot]
d447557436
Update dependency eslint-plugin-jest to v22.13.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/767 )
2019-07-26 10:30:12 +02:00
renovate[bot]
4e5835e4b8
Update dependency webpack to v4.38.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/768 )
2019-07-26 10:30:05 +02:00
renovate[bot]
827a14db33
Update dependency lint-staged to v9.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/765 )
2019-07-26 10:29:43 +02:00
Mike Jolley
802653f4ee
readme
2019-07-25 15:50:25 +01:00
renovate[bot]
98ee76fd10
Update npm to v6.10.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/764 )
2019-07-24 10:27:32 +01:00
renovate[bot]
46aafd21c2
Update dependency webpack to v4.37.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/763 )
2019-07-23 11:56:03 +02:00
renovate[bot]
5837573d0c
Update dependency eslint-plugin-react to v7.14.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/761 )
2019-07-23 11:55:40 +02:00
renovate[bot]
a07440f82a
Update dependency eslint-plugin-jest to v22.13.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/760 )
2019-07-23 11:55:32 +02:00
Mike Jolley
eb4b8f426e
Remove constants and unhook old blocks plugin ( https://github.com/woocommerce/woocommerce-blocks/pull/757 )
2019-07-22 16:20:51 +01:00
renovate[bot]
d8b459b312
Update dependency eslint-plugin-jest to v22.13.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/759 )
2019-07-22 16:20:33 +01:00
renovate[bot]
ac6ac1dedb
Update dependency eslint-plugin-jest to v22.13.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/758 )
2019-07-22 15:47:23 +01:00
renovate[bot]
460eeed7ff
Update dependency eslint to v6.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/755 )
2019-07-22 15:09:41 +01:00
renovate[bot]
c3e50b53ce
Update dependency eslint-plugin-jest to v22.13.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/751 )
2019-07-22 15:03:26 +01:00
Albert Juhé Lluveras
9d4a76c841
Use radio buttons instead of checkboxes in Featured Category control ( https://github.com/woocommerce/woocommerce-blocks/pull/756 )
2019-07-22 13:41:35 +02:00
Albert Juhé Lluveras
0c0fc8be3b
Remove vendors.js as a frontend dependency ( https://github.com/woocommerce/woocommerce-blocks/pull/750 )
...
* Load frontend scripts only when required
* Typo
* Use register_script from Assets
* Remove vendors as a frontend dependency
* Simplify webpack config
2019-07-22 13:10:25 +02:00
Albert Juhé Lluveras
ecc306b3cf
Load frontend scripts only when required ( https://github.com/woocommerce/woocommerce-blocks/pull/746 )
...
* Load frontend scripts only when required
* Typo
* Use register_script from Assets
2019-07-22 13:10:15 +02:00
renovate[bot]
dff73240bc
Update dependency css-loader to v3.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/749 )
2019-07-18 15:21:22 +02:00
renovate[bot]
7540de54e0
Update dependency @babel/core to v7.5.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/748 )
2019-07-18 11:16:30 +02:00
renovate[bot]
ad936a210b
Update dependency eslint-plugin-jest to v22.10.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/747 )
2019-07-18 11:15:46 +02:00
renovate[bot]
d85626f9f8
Update dependency webpack to v4.36.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/745 )
2019-07-18 11:15:35 +02:00
renovate[bot]
2659e9455f
Update dependency eslint-plugin-jest to v22.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/741 )
2019-07-17 11:55:58 +02:00
renovate[bot]
e84853b6ef
Update dependency mini-css-extract-plugin to v0.8.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/742 )
2019-07-17 11:55:48 +02:00
Paul Sealock
611d0cbce8
add composer install to readme ( https://github.com/woocommerce/woocommerce-blocks/pull/738 )
2019-07-17 11:06:06 +12:00
renovate[bot]
b085c44436
Update dependency yargs to v13.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/737 )
2019-07-16 12:28:57 +02:00
renovate[bot]
29daec2f42
Update dependency eslint-plugin-jest to v22.8.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/735 )
2019-07-16 12:26:59 +02:00
renovate[bot]
26982ca992
Update dependency webpack-cli to v3.3.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/734 )
2019-07-15 16:27:46 +02:00
Albert Juhé Lluveras
1cbef7dd39
Cancel debounced functions on unmount ( https://github.com/woocommerce/woocommerce-blocks/pull/725 )
2019-07-12 12:20:42 +01:00