renovate[bot]
2c31eb2c25
Update dependency css-loader to v3.2.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/1316 )
2019-12-04 09:04:55 +01:00
renovate[bot]
780171af56
Update dependency autoprefixer to v9.7.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/1314 )
2019-12-04 09:04:44 +01:00
renovate[bot]
d6fc110913
Update dependency core-js to v3.4.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/1315 )
2019-12-04 09:04:31 +01:00
renovate[bot]
274e971220
Update dependency eslint to v6.7.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/1317 )
2019-12-04 09:04:22 +01:00
renovate[bot]
0c819caf73
Pin dependency downshift to 3.4.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/1313 )
2019-12-04 09:03:40 +01:00
Albert Juhé Lluveras
41374cf5ea
Fix price slider layout in narrow columns
2019-12-03 21:18:11 +01:00
Seghir Nadir
88d20ba018
change bundle size limit to 400 ( https://github.com/woocommerce/woocommerce-blocks/pull/1310 )
2019-12-03 15:40:43 +01:00
Seghir Nadir
ee1cdf7e0d
Skeleton Checkout block ( https://github.com/woocommerce/woocommerce-blocks/pull/1308 )
...
* add checkout block
* prevent block from loading in wrong page
* remove block limitation
* exclude file from build
* rename todo
* remove fragment
* move files
* refactor example file
2019-12-03 15:12:46 +01:00
Rua Haszard
8e2b94fd69
Skeleton shopping cart block ( https://github.com/woocommerce/woocommerce-blocks/pull/1306 )
...
* basic empty cart block
* use a real placeholder for placeholder editor content
* remove unnecessary Fragment
* updates to config and frontend script
* enqueue frontend script
* add example config to block registration
* change name typo
2019-12-03 08:57:56 -05:00
Albert Juhé Lluveras
f7c807a0c6
Add dropdown display style to Attribute Filter block ( https://github.com/woocommerce/woocommerce-blocks/pull/1255 )
...
* Add dropdown display style to Attribute Filter block
* Unify filter blocks margin
* Show attribute label inside dropdown input
* Minor CSS reorganization
* Refactor code to smaller files
* Preserve input values on blur
* Only save data-display-style if it's different than 'list'
* Remove inputRef prop in DropdownSelectorInputWrapper
* Accessibility: fix missing label
* Prevent input field being unselected when removing an item with the backspace
* Remove isLoading styles and don't set isDisabled when it's not actually disabled
* Accessibility: increase color contrast
* Add package-lock.json
* Prevent input field being unfocused when removing an item with its chip card
* Don't show menu when input is unfocused
2019-12-03 14:39:11 +01:00
Albert Juhé Lluveras
1e92555c8c
Add 2.5.2 changelog
2019-12-02 21:03:29 +01:00
Darren Ethier
be199a6d48
Restore back-compat loading of assets registry switch which ensures wcSettings is only loaded when necessary ( https://github.com/woocommerce/woocommerce-blocks/pull/1292 )
...
* restore back-compat switch
* update woocommerce/components dependency to latest version
* fix bug in AssetDataRegistry and add tests to guard against regressions
2019-12-02 14:53:36 -05:00
Pierre
221591ce81
Fix the PHP Notice in Featured Category Block when the category is deleted ( https://github.com/woocommerce/woocommerce-blocks/pull/1291 )
...
https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/1290
2019-12-02 19:35:01 +01:00
Darren Ethier
1670757534
Remove with-query-string-values hoc implementation ( https://github.com/woocommerce/woocommerce-blocks/pull/1287 )
...
* remove with-query-string-values hoc implementation
* remove unnecessary passed in props and clean up proptypes
* remove dead code
2019-12-02 07:52:10 -05:00
Albert Juhé Lluveras
aaa37637c2
Replace 'isPreview' with 'isEditor' when it refers to the editor ( https://github.com/woocommerce/woocommerce-blocks/pull/1276 )
...
* Replace 'isPreview' with 'isEditor' in several places
* Explicitly set props to true
* Add missing propTypes
2019-12-02 11:27:44 +01:00
renovate[bot]
05b234862b
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/1288 )
2019-12-02 10:52:13 +01:00
Albert Juhé Lluveras
84a073acf4
Update 'Tested up to' version to WP 5.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/1282 )
2019-11-29 19:37:05 +01:00
Albert Juhé Lluveras
f8571c3618
Add instructions to update a single file to WordPress.org ( https://github.com/woocommerce/woocommerce-blocks/pull/1284 )
2019-11-29 19:36:38 +01:00
Albert Juhé Lluveras
5698e123d3
Fix Price Filter block if minPrice or maxPrice are null ( https://github.com/woocommerce/woocommerce-blocks/pull/1278 )
2019-11-29 15:28:14 +01:00
Jeff Stieler
fb8a21ba81
Add getAdminLink() to shared settings export. ( https://github.com/woocommerce/woocommerce-blocks/pull/1244 )
...
* Add getAdminLink() to shared settings export.
* Import getAdminLink from @woocommerce/settings
* Uninstall @woocommerce/navigation
2019-11-28 17:33:29 +01:00
Darren Ethier
bdcb7544c1
Add source-maps for easier debugging development builds ( https://github.com/woocommerce/woocommerce-blocks/pull/1274 )
...
* add source-maps for easier debugging
* change test to be a bit more stable
2019-11-28 07:55:59 -05:00
Albert Juhé Lluveras
ed4e4ad7b9
Use attribute label instead of slug in Filter by Attribute title ( https://github.com/woocommerce/woocommerce-blocks/pull/1271 )
2019-11-27 14:29:28 +01:00
Seghir Nadir
087e5531aa
Update CONTRIBUTING.md
...
change some things according to Darren [notes here](2ee0b6afd8
)
2019-11-27 14:27:44 +01:00
Seghir Nadir
6680559d53
Update CONTRIBUTING.md
2019-11-27 12:27:17 +01:00
renovate[bot]
007e19eb68
Update dependency eslint to v6.7.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/1268 )
2019-11-27 11:19:08 +01:00
renovate[bot]
e326639a37
Update dependency core-js to v3.4.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/1267 )
2019-11-27 11:19:00 +01:00
renovate[bot]
2ce6504676
Update babel monorepo to v7.7.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/1266 )
2019-11-27 11:18:53 +01:00
renovate[bot]
18d2757665
Update dependency request-promise to v4.2.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/1269 )
2019-11-27 10:36:34 +01:00
Albert Juhé Lluveras
919ad381fb
Add 2.5.1 changelog
2019-11-26 18:11:33 +01:00
Albert Juhé Lluveras
ec4ae1269d
Filter by Attribute: Allow reselecting unselected attribute ( https://github.com/woocommerce/woocommerce-blocks/pull/1264 )
...
* Filter by Attribute: Allow reselecting unselected attribute
* Run prettier
2019-11-26 17:43:27 +01:00
Seghir Nadir
e8f0a071ba
Fix bug with cart not updating ( https://github.com/woocommerce/woocommerce-blocks/pull/1258 )
...
* fix bug with add to cart
* prettier
* migrate to Event
* prettier
* Update assets/js/atomic/components/product/button/index.js
update to fix on sequential adds
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
* Avoid dispatching cart update event on initial mount
* add condition to check if Event is defined
2019-11-26 11:26:53 -05:00
Seghir Nadir
998d3920c9
Fix color on pagination caused by Twenty Twenty ( https://github.com/woocommerce/woocommerce-blocks/pull/1257 )
...
* fix color on pagination caused by twentytwenty
2019-11-26 12:45:00 +01:00
Albert Juhé Lluveras
ea1a31123f
Fix wrong proptypes definition in BlockTitle component ( https://github.com/woocommerce/woocommerce-blocks/pull/1259 )
2019-11-26 12:16:28 +01:00
Rua Haszard
1ec624f2d7
Fix inconsistent heading editor styles for filter blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/1256 )
...
* override title bg to transparent in editor for filter blocks
2019-11-26 11:56:14 +01:00
renovate[bot]
9eaeb208f5
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/1250 )
2019-11-26 06:38:50 +01:00
renovate[bot]
dc13d9c8ec
Update dependency react-test-renderer to v16.12.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/1225 )
2019-11-26 06:38:12 +01:00
renovate[bot]
e5a7d1bab9
Update dependency node-sass to v4.13.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/1224 )
2019-11-26 06:37:57 +01:00
renovate[bot]
571254f69e
Update dependency lint-staged to v9.4.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/1223 )
2019-11-26 06:37:18 +01:00
renovate[bot]
1d3201609b
Update dependency eslint-config-prettier to v6.7.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/1222 )
2019-11-26 06:36:56 +01:00
renovate[bot]
85ed640634
Update dependency autoprefixer to v9.7.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/1221 )
2019-11-26 06:36:32 +01:00
Albert Juhé Lluveras
f32011e2d3
Fix invalid attributes error in some blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/1254 )
2019-11-26 06:34:49 +01:00
Mike Jolley
c55a387657
Prevent multiple collection data requests using debounce ( https://github.com/woocommerce/woocommerce-blocks/pull/1233 )
...
* Add context for collection data query
* Introduce useCollectionData hook
* Implement hook in filter blocks
* Update API to handle nuances of counts instead of client side
* Clone requests so original is untouched
* Prevent dupe requests is working
* Cleanup
* Update assets/js/base/hooks/use-collection-data.js
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
* Update assets/js/base/hooks/use-collection-data.js
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
* Feedback
* Remove context
2019-11-23 17:04:30 +00:00
Mike Jolley
c595444b7f
Hydrate REST endpoint data in the stores ( https://github.com/woocommerce/woocommerce-blocks/pull/1206 )
...
* Helper to get namespace routes from the REST Api
* Add routes to store settings
* HydrateRestApiData component
* Correct usage of useSelect
* Remove lodash
* Move code to HOC
2019-11-23 16:29:35 +00:00
Mike Jolley
fc32c0a9ed
Update translation handling to include core translations ( https://github.com/woocommerce/woocommerce-blocks/pull/1242 )
...
* Remove language files and po2json generation scripts
* Add action filter and function to load core translations
* Use pre_load_script_translations
* Remove script actions
* docblock
2019-11-23 16:28:54 +00:00
Darren Ethier
5c26249e26
don’t mutate default state constant. ( https://github.com/woocommerce/woocommerce-blocks/pull/1245 )
...
There was no need to have a const for the default state and also needed to make sure we’re not mutating it because it would result in the mutation of the default state. This in turn meant that on the initial reducing action, the default state in the store would have a ghost value.
2019-11-22 15:18:45 -05:00
Seghir Nadir
aa2e2d8f1e
introduce block title component ( https://github.com/woocommerce/woocommerce-blocks/pull/1240 )
...
* introduce block title component
* style with prettier
* rename component class
* update readme
2019-11-21 18:21:14 +01:00
Mike Jolley
2f3c4623b7
Update `useQueryStateByContext` to remove need for context when setting values ( https://github.com/woocommerce/woocommerce-blocks/pull/1239 )
...
* Don't require context for set
* Update tests
2019-11-21 16:06:52 +01:00
Mike Jolley
6e2978413e
level -> headingLevel ( https://github.com/woocommerce/woocommerce-blocks/pull/1230 )
2019-11-21 12:19:34 +00:00
Mike Jolley
b96f568c2e
Price Slider -- Only do instant updates if filter button is disabled ( https://github.com/woocommerce/woocommerce-blocks/pull/1228 )
...
* Only do instant updates if filter button is disabled
* Update assets/js/blocks/price-filter/block.js
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-11-21 11:53:08 +00:00
renovate[bot]
868db00a86
Pin dependency use-debounce to 3.1.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/1220 )
2019-11-21 11:51:46 +00:00