Commit Graph

617 Commits

Author SHA1 Message Date
renovate[bot] 0fec59027d Pin dependency @wordpress/scripts to 6.0.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1358) 2019-12-11 10:09:53 +01:00
Mike Jolley 5a1bbbefb9 Update NPM dependencies and script dependency handling (https://github.com/woocommerce/woocommerce-blocks/pull/1337)
* Update NPM packages

* Switch JSON dependencies to new PHP files

* include->require

* include->require

* Remove from package and run audit fix

* Update wp-prettier

* Use version from asset file

* Fix eslint issues and test failures

* Update OriginalComponent docblocks

* Props are objects, not arrays

* Array to Object

* fix tests throwing unhandled rejection errors in node.

These tests were all testing Promise.rejects but then not properly catching the reject in the assertions.

* exclude rule for no short array syntax allowed

This is a WordPress core standard that we choose to ignore because it’s silly in our context to follow that rule (and we’re being consistent with WooCommerce Admin).
2019-12-10 12:17:46 -05:00
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 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
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
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
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
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
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
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
Darren Ethier 688d60d9bd update to dev version 2019-11-19 14:08:55 -05:00
Seghir Nadir 7995d56d9f Bumping version strings to new version. 2019-11-19 18:20:22 +01:00
Mike Jolley d613d2fde6 Active filters block (https://github.com/woocommerce/woocommerce-blocks/pull/1168)
* Basic block construction

* Register on PHP side

* wc-active-filters script

* Price utils

* Refactor price slider so state reflects the query

Moves some logic from the component to the block so that min and max price can change (via query) and be reflected by the price sliders.

This allows the active filters block to change the query and have those new values reflected by the slider.

* Fix type checking of numbers

* Styles for filter block

* Improved attribute helper for getting attribute taxonomy data from ID/taxonomy

* Refactor attribute filter to use updateAttributeFilter helper

* Disable checkboxes when loading to avoid multiple queries

* Add todos - this is blocked

* Remove checked state from Attribute Filter so it gets updated from the store (https://github.com/woocommerce/woocommerce-blocks/pull/1170)

* isLoading check

* active price filtering rendering

* Block heading

* Implement block options; chip display with clear button

* Clear all should remove all attributes

* Enable previews

* Introduce a component to look up terms from slugs using collections (which are cached)

* Correct all docblocks

* activePriceFilters null return

* renderRemovableListItem

* Remove useMemo for hasFilters

* Switch classnames notation

* Ensure slug is array in removeAttributeFilterBySlug

* null -> undefined return types for attributes

* Remove fragment

* Check we have a termObject in ActiveAttributeFilters

* Refactor formatPriceRange return statements

* Ensure query array index will exist

* Only sort when adding a query

* Remove aria-label with dupe text

* hasFilters is function

* Update useQueryStateByKey usage

* More doc block fixes

* Update getAttributeFromTaxonomy return and docblock

* getAttributeFromID return/docblock
2019-11-15 14:41:23 +00:00
renovate[bot] 9c9b248c6d Update dependency core-js to v3.4.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1164) 2019-11-13 10:14:01 +01:00
renovate[bot] e721c2d6c7 Update dependency eslint-plugin-jest to v22.21.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1165) 2019-11-13 10:13:51 +01:00
renovate[bot] 69af13bc45 Update dependency @octokit/rest to v16.35.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1163) 2019-11-13 09:48:43 +01:00
renovate[bot] cff026bd93 Update dependency @babel/core to v7.7.2 (https://github.com/woocommerce/woocommerce-blocks/pull/1162) 2019-11-13 09:48:31 +01:00
Albert Juhé Lluveras 2f04c61223 Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146)
* Update dependencies order

* Create eslint WooCommerce plugin with dependency group rule

* Update WCPackageLocality definition so it only includes External and Internal

* Rename WPPackageLocality to WCPackageLocality

* Delete old typedef
2019-11-08 17:30:11 +01:00
renovate[bot] 0295379b49 Update dependency @octokit/rest to v16.34.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1130) 2019-11-06 11:44:26 +01:00
renovate[bot] 3882541824 Update dependency core-js to v3.3.6 (https://github.com/woocommerce/woocommerce-blocks/pull/1132) 2019-11-06 11:39:10 +01:00
renovate[bot] 1d2d4102fd Update dependency autoprefixer to v9.7.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1131) 2019-11-06 11:39:00 +01:00
renovate[bot] 4abb516638 Update babel monorepo to v7.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1129) 2019-11-06 11:38:47 +01:00
renovate[bot] 332c4ccce2 Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/1104) 2019-10-30 08:13:50 -04:00
renovate[bot] 9113805701 Update dependency @octokit/rest to v16.34.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1105) 2019-10-30 07:56:42 -04:00
renovate[bot] 438322d25a Update dependency autoprefixer to v9.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1106) 2019-10-30 07:56:08 -04:00
renovate[bot] 6309e9a8c6 Update dependency core-js to v3.3.5 (https://github.com/woocommerce/woocommerce-blocks/pull/1107) 2019-10-30 07:54:55 -04:00
renovate[bot] d1801099b3 Update dependency eslint to v6.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1108) 2019-10-30 07:53:52 -04:00
renovate[bot] 0c337ec2b5 Update dependency eslint-config-prettier to v6.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1109) 2019-10-30 07:45:48 -04:00
Mike Jolley f851a6ef9b All Products with Inner Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/1032)
* Inital block creation

* Update labels

* Columns, rows, sample data json

* Output data from API

* thumbnail_html

* Split into smaller components of grid

* Price handling

* Image handling

* Remove !

* frontend

* Work on cart api

* Cart error handling and product type conditions

* innerblock progress

* Implement layoutConfig as set from innerblocks shape.

Note:

- this is just a poc
- where things are configured likely needs changed
- will still need to work out how this gets persisted for the frontend and how things get displayed there (but likely will work fairly similar in terms of mapping to components).

* use correct prop name

* Working edit button

* Clean up block controls and edit view

* Add link with innerblocks

* update link description

* correctly handle components with inner blocks as children

* Re-organise atomic components and blocks into own directories

* Unique keys for components

* Fix default layout when inserting block for first time

* Working layoutconfig save

* Save attributes

* Move sale badge to image component

* Add disabled to render preview and blocks

* icons

* Editor view styling

* Update withComponetId to stop component ID incrementing too many times

Co-Authored-By: Darren Ethier <darren@roughsmootheng.in>

* Improve key generation

* done/cancel buttons on edit

* Create withProducts HOC for All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/994)

* Create withProducts HOC for All Products block

* Add order select and pagination to All Products block

* Go to first page when changing order

* Add HOC test

* Make sure block is updated whem columns/rows change in the editor

* Fix 'SALE' badge positioning

* Remove unnecessary key

* Honor 'perPage' value when generating placeholders

* Make placeholder sizes match rendered block item

* Several CSS improvements

* Remove unused CSS properties

* Move getProducts to hocs utils

* Remove All Products sample-data.json

* Fix order select wrong margin in the editor

* Refactor how loading image gets its size

* Clear products when loadProducts start

* Enhance pagination logic

* Fix placeholder width

* Fix regular_price check

* Set product link max-width

* Implement querystrings for the All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/997)

* Implement querystrings for the All Products block

* Create withWindow HOC

* Add with-window tests

* Use renderFrontend util in All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/1003)

* Add with-window tests

* Use renderFrontend util in All Products block

* Rename properties and components from 'order' to 'sort' (https://github.com/woocommerce/woocommerce-blocks/pull/1012)

* Rename properties and components from 'order' to 'sort'

* Rename onOrderChange to onSortChange

* Remove unnecessary stylint-disable-line (https://github.com/woocommerce/woocommerce-blocks/pull/1016)

* Create withBrowserLocation and withBrowserHistory HOC (https://github.com/woocommerce/woocommerce-blocks/pull/1022)

* Create withBrowserWindowProp HOC

* Remove unnecessary expect's

* Always pass window prop to propMap if it exists

* Scroll to top when switching pages in All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/1011)

* Scroll to top when switching pages in All Pages block

* Improve keyboard navigation in the All Products block

* Create withScrollToTop HOC

* Fix variable name typo

* Update paths with aliases

* Avoid first and last page being included in pagination 'pagesToDisplay' (https://github.com/woocommerce/woocommerce-blocks/pull/1015)

* Update lock

* constants

* linting

* Clean up styling

* Prettier

* Block options for title/image

* Prettier

* Remove shared content controls

* Update atomic block descriptions

* Summary block

* Prettier

* Impoved template edit appearance and added inline tips

* Apply prettier

* Reset and cancel buttons

* Improved keys

* Tweak tip placement

* Remove incorrect comments

* Remove disabled ofr non interactive elements

* Fragment not needed

* Update assets/js/atomic/components/product-list/title/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Move componentId hoc

* Comment

* Implement onImageLoaded

* Pagination: disable first/last page if they are active (https://github.com/woocommerce/woocommerce-blocks/pull/1041)

* Update assets/js/atomic/components/product-list/rating/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Sale badges refactoring

Adds sale badges blocks and improves how the default blocks are defined.

* revert changes in withComponentId

* fix flexbox alignment

* Create withQueryStringValues HOC and use it in ProductGrid component (https://github.com/woocommerce/woocommerce-blocks/pull/1040)

* Create withQueryStringValues HOC and use it in ProductGrid component

* Add tests

* Add comment explaining urlParameterSuffix

* Don't destructure props if only used once

* Move dependencies check outside the HOC

* Update test description

* Remove HOCs no longer used

* Update assets/js/atomic/blocks/product-list/image/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/atomic/components/product-list/sale-badge/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/atomic/utils/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/atomic/utils/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Feedback

* Grid to List

* Improved badge handling

* update package-lock after merge from master

* Add wp.data store for schema and lists. (https://github.com/woocommerce/woocommerce-blocks/pull/1008)

* install @wordpress/data-controls and deepFreeze

* add schema store

* add query-state store

* add collections store

* add bundle entry point (and export store keys and constants)

* add master README.md for new stores

* add bundle configuration and register asset php side

* Add missing param name

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* code style fixes

* remove unnecessary period from test description

* Simplify conditional

* reorder imports (code style)

* reorder imports and codestyle

* refactor using lodash for state utils

* reorder imports

* reorder imports

* reorder dependencies

* reorder dependnecies an remove duplication block

* remove errant tab

* reorder dependencies

* Modify collections store to add headers to the store state. (https://github.com/woocommerce/woocommerce-blocks/pull/1073)

* add control for getting unparsed response from apiFetch

* Modify action so it recieves a response object.

* modify reducer to handle response object

* improve selectors to make headers accessible

- modifys existing `getCollection` to retrieve items from state.
- adds `getCollectionHeader` selector

* update resolvers to handle full response from request

- also adds resolver for `getCollectionHeader`

* update docs for changes

* Improve spacing in doc

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* Fix spacing in inline docs

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* change `getFromState` to receive an object instead of arguments list.

* Prepare All Products block to accept extension inner blocks (https://github.com/woocommerce/woocommerce-blocks/pull/1047)

* Simplify BLOCK_MAP

* Prepare All Products block to accept extension inner blocks

* Change filter name

* Update filter name

* Add check that block exists in BLOCK_MAP

* Create REVERSED_BLOCK_MAP instead of searching blocks each time

* Change how child blocks are registered for All Products block

* Refactor All Products block so reverse map isn't needed

* Remove getDefaultBlocks

* Make sure getRegisteredInnerBlocks always returns an object and add checks to registerInnerBlock

* Add missing blockName arg

* Add inline docs to block registry

* Move 'blockName' prop to context

* Typos

* Improve registerInnerBlock error messages and create a validation function

* Refactor context

* Rename validateOption to assertOption

* refactor where new context lives and add alias for base-context

* fix doc block

* remove todo block (there’s an issue for it)

* rename context

* Update assets/js/atomic/components/product-list/sale-badge/index.js

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* HeadingToolbar comment

* Tweak bool comparison

* Improve how default layouts are set so all blocks can be removed and the no-content message is correct

* Sale centering

* Fix default template

* Product example switch to preview

* Update preview schema and image data to match latest schema

* Add @woocommerce/atomic-components alias

* Alias for previews to prevent need for relative paths

* Drop `align` for sale block

Align disrupts other blocks in unexpected and unavoidable ways. Drop support so the sale block is a block level item.

* Rename atomic components and blocks (and create ProductLayoutContext) (https://github.com/woocommerce/woocommerce-blocks/pull/1089)

* rename atomic blocks and components to be more generic (drop list)

* create new context for productlayout and implement provider

* Rename ProductSalesBadge to ProductSaleBadge

* Add php5.3 restriction for All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/1090)

* enable legacy builds and add handling for AllProducts to be wp5.3 only

* fix legacy builds

* Prevent filemtime notice

* Implement new data stores with All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/1067)

* add new hooks and tests and alias for hooks

* various fixes for stores after implementation tests

* implement new stores for ProductList component

* add doc blocks for useStoreProducts hooks

* fix typo in property on returned object
2019-10-28 09:53:09 -04:00
Mike Jolley 6319de52e9 Build maintainence (https://github.com/woocommerce/woocommerce-blocks/pull/1092)
* Ignore node_modules when watching to reduce CPU load

https://github.com/webpack/webpack/issues/1706

* Remove prepack - we no longer push to NPM
2019-10-28 11:00:04 +00:00
renovate[bot] 9ad48205b4 Update dependency react-test-renderer to v16.11.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1074) 2019-10-23 10:19:08 +02:00
renovate[bot] 3d22e01e63 Update dependency lint-staged to v9.4.2 (https://github.com/woocommerce/woocommerce-blocks/pull/1072) 2019-10-23 10:19:01 +02:00
renovate[bot] d36b881b9c Update dependency eslint-plugin-jest to v22.20.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1071) 2019-10-23 10:18:43 +02:00
renovate[bot] 5d70a4499d Update dependency core-js to v3.3.3 (https://github.com/woocommerce/woocommerce-blocks/pull/1070) 2019-10-23 10:18:18 +02:00
renovate[bot] 835dc648e9 Update Node.js to v10.17.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1069) 2019-10-23 10:17:36 +02:00
renovate[bot] b95203aad9 Update dependency @babel/core to v7.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/1049) 2019-10-16 11:11:16 +02:00
renovate[bot] 5f303cfe6f Update dependency autoprefixer to v9.6.5 (https://github.com/woocommerce/woocommerce-blocks/pull/1051) 2019-10-16 10:41:55 +02:00
renovate[bot] 99a3660e29 Update dependency @octokit/rest to v16.33.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1050) 2019-10-16 10:41:33 +02:00
renovate[bot] b4325feeb3 Pin dependency compare-versions to 3.5.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1048) 2019-10-16 10:41:15 +02:00
Darren Ethier 007039c5b9 Expose wp_version on settings api and provide a js version compare function (https://github.com/woocommerce/woocommerce-blocks/pull/1033)
* install compare-versions and export on `@woocommerce/settings` external

* expose `wp_version` on wcSettings

* export a compareWithWpVersion function for easier version checking

* improve semver coercing for wp version check

also add tests

* fix for code standards around imports

* switch to camelcase for version option
2019-10-11 11:29:27 -04:00
renovate[bot] 452e963840 Update dependency eslint-config-prettier to v6.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1039) 2019-10-09 10:33:10 +02:00
renovate[bot] 6300e48766 Update dependency cross-env to v6.0.3 (https://github.com/woocommerce/woocommerce-blocks/pull/1038) 2019-10-09 10:32:05 +02:00
renovate[bot] 152977d66c Update dependency autoprefixer to v9.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/1037) 2019-10-09 10:31:40 +02:00
renovate[bot] d1bc3fff2d Update dependency @octokit/rest to v16.33.0 (https://github.com/woocommerce/woocommerce-blocks/pull/1036) 2019-10-09 10:30:54 +02:00
renovate[bot] 3f62090f93 Update dependency @babel/core to v7.6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/1035) 2019-10-09 10:30:16 +02:00
renovate[bot] 96a902fa81 Update dependency cross-env to v6.0.2 (https://github.com/woocommerce/woocommerce-blocks/pull/1009) 2019-10-02 15:52:10 +02:00
renovate[bot] d8760bcdd6 Update dependency eslint to v6.5.1 (https://github.com/woocommerce/woocommerce-blocks/pull/1010) 2019-10-02 15:51:15 +02:00
renovate[bot] c86114d2cb Update dependency cross-env to v6 (https://github.com/woocommerce/woocommerce-blocks/pull/993) 2019-09-25 12:27:11 +02:00
renovate[bot] cfffbb2561 Update dependency webpack to v4.41.0 (https://github.com/woocommerce/woocommerce-blocks/pull/992) 2019-09-25 12:26:34 +02:00
renovate[bot] cc3d06c417 Update dependency lint-staged to v9.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/991) 2019-09-25 12:26:04 +02:00
renovate[bot] 766dd61a4f Update dependency @octokit/rest to v16.30.1 (https://github.com/woocommerce/woocommerce-blocks/pull/989) 2019-09-25 12:25:22 +02:00
renovate[bot] 5f78890c6a Update dependency @babel/core to v7.6.2 (https://github.com/woocommerce/woocommerce-blocks/pull/988) 2019-09-25 12:24:44 +02:00
renovate[bot] f2b63f76f8 Update dependency react-test-renderer to v16.9.0 (https://github.com/woocommerce/woocommerce-blocks/pull/823) 2019-09-25 12:23:53 +02:00
Albert Juhé Lluveras b5e1ec8052 Delete interpolate-components dependency and update package-lock.json (https://github.com/woocommerce/woocommerce-blocks/pull/986)
* Remove interpolate-components dependency

* Update package-lock

* Enable Renovate's lockFileMaintenance
2019-09-24 20:43:28 +02:00
renovate[bot] 96e073acd8 Update dependency webpack to v4.40.2 (https://github.com/woocommerce/woocommerce-blocks/pull/969) 2019-09-20 09:23:14 -04:00
renovate[bot] 9aa9394a5a Update dependency eslint to v6.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/967) 2019-09-20 09:22:43 -04:00
renovate[bot] 21f0fc88a9 Update dependency eslint-config-prettier to v6.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/968) 2019-09-20 09:20:54 -04:00
renovate[bot] da903b54d7 Update dependency webpack-cli to v3.3.9 (https://github.com/woocommerce/woocommerce-blocks/pull/970) 2019-09-20 09:20:39 -04:00
renovate[bot] 43968f23c9 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/971) 2019-09-20 09:20:23 -04:00
renovate[bot] b5f2f0c536 Update dependency eslint-plugin-jest to v22.17.0 (https://github.com/woocommerce/woocommerce-blocks/pull/959) 2019-09-13 23:50:49 +02:00
renovate[bot] 11ede4fa95 Update dependency webpack-cli to v3.3.8 (https://github.com/woocommerce/woocommerce-blocks/pull/960) 2019-09-13 23:50:20 +02:00
renovate[bot] 7425c125c2 Update npm to v6.11.3 (https://github.com/woocommerce/woocommerce-blocks/pull/962) 2019-09-13 23:49:25 +02:00
renovate[bot] 676873908c Update dependency @babel/core to v7.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/958) 2019-09-13 23:48:39 +02:00
renovate[bot] ddf370e391 Pin dependency eslint-config-prettier to 6.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/957) 2019-09-13 23:48:03 +02:00
Albert Juhé Lluveras 6ab7834f59 Install prettier and reformat files (https://github.com/woocommerce/woocommerce-blocks/pull/945)
* Install prettier

* Reformat all files

* Add prettier to precommit hook

* Update prettier settings to match Gutenberg code standards

* Reformat files with new settings

* Improve legibility in some line breaks
2019-09-05 17:09:31 +02:00
renovate[bot] 41ea6691cb Update dependency eslint-plugin-jest to v22.16.0 (https://github.com/woocommerce/woocommerce-blocks/pull/943) 2019-09-04 10:56:25 +02:00
renovate[bot] 5b05f0632c Update dependency eslint to v6.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/942) 2019-09-04 10:51:47 +02:00
renovate[bot] 42776c555f Update dependency cross-env to v5.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/941) 2019-09-04 10:50:08 +02:00
renovate[bot] d0d8a8c678 Update dependency @octokit/rest to v16.28.9 (https://github.com/woocommerce/woocommerce-blocks/pull/940) 2019-09-04 10:49:19 +02:00
Albert Juhé Lluveras 04c9933030 RTL fixes (https://github.com/woocommerce/woocommerce-blocks/pull/938)
* Install webpack-rtl-plugin

* Rotate arrow buttons on RTL sites

* Minify in safe mode
2019-09-03 19:55:20 +02:00
Mike Jolley 2c64ff0e98 Master is now 2.5.0-dev 2019-08-29 10:46:11 +01:00
Mike Jolley 0d0474f1e7 Rolling 2.4 release changelog (https://github.com/woocommerce/woocommerce-blocks/pull/720)
* 2.4 placeholder

* Add error handling for API requests to the featured product block.

* changelog

* Update changelog

* Changelog and versions
2019-08-29 10:39:51 +01:00
renovate[bot] 0e0bc749d2 Update dependency rimraf to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/868) 2019-08-28 11:17:07 +01:00
renovate[bot] 8e020311eb Update dependency eslint to v6.2.2 (https://github.com/woocommerce/woocommerce-blocks/pull/922) 2019-08-28 11:07:00 +01:00
renovate[bot] 26671c37de Update dependency yargs to v14 (https://github.com/woocommerce/woocommerce-blocks/pull/887) 2019-08-28 11:06:44 +01:00
renovate[bot] dd06a34d72 Update dependency sass-loader to v7.3.1 (https://github.com/woocommerce/woocommerce-blocks/pull/892) 2019-08-28 11:06:26 +01:00
renovate[bot] 313fd1942f Update npm to v6.11.2 (https://github.com/woocommerce/woocommerce-blocks/pull/894) 2019-08-28 11:06:15 +01:00
renovate[bot] e80cca3890 Update dependency eslint-plugin-jest to v22.15.2 (https://github.com/woocommerce/woocommerce-blocks/pull/923) 2019-08-28 11:05:20 +01:00
renovate[bot] b8fa8710d6 Update dependency lint-staged to v9.2.5 (https://github.com/woocommerce/woocommerce-blocks/pull/924) 2019-08-28 11:05:10 +01:00
renovate[bot] 207023db3a Update dependency babel-eslint to v10.0.3 (https://github.com/woocommerce/woocommerce-blocks/pull/921) 2019-08-28 11:05:01 +01:00
renovate[bot] b1db72ba7e Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/920) 2019-08-28 11:02:10 +01:00
renovate[bot] 82a4107ee7 Update dependency webpack to v4.39.3 (https://github.com/woocommerce/woocommerce-blocks/pull/925) 2019-08-28 11:02:01 +01:00
renovate[bot] 046e69e46c Update dependency @woocommerce/navigation to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/876) 2019-08-22 21:01:10 +02:00
Albert Juhé Lluveras 46934d2946 Create withReviews base HOC (https://github.com/woocommerce/woocommerce-blocks/pull/877)
* Create withReviews base HOC

* Add tests

* Make Reviews by Category use withReviews HOC

* Move componentDidUpdate and debounce dependency to decouple HOC from components

* Spaces

* Rename 'delayMethod' to 'delayFunction'

* Refactor withReviews HOC

* Update tests

* Minor fixes

* Undo fix being handled in woocommerce/woocommerce-blocks#884

* Remove hardcoded from withReviews

* Update delay comment

* Use callbacks instead of announceUpdates prop

* Move props check to a 'shouldReplaceReviews' method

* Fix productId propType

* Move per_page and offset args to 'getArgs'

* Update withReviews displayName

* Fix tests

* Add callback propsTypes

* Use is-shallow-equal
2019-08-22 13:36:20 +02:00
Darren Ethier 0b9559e2db Install @babel/plugin-proposal-class-properties. (https://github.com/woocommerce/woocommerce-blocks/pull/856)
* add @babel/plugin-proposal-class-properties plugin

* refactor ProductByCategoryBlock to use class properties
2019-08-21 09:05:17 -04:00
Albert Juhé Lluveras eb6b584bc3 Set eslint version back to 6.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/896) 2019-08-21 12:52:10 +01:00
renovate[bot] 0a709aa133 Update dependency eslint to v6.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/890) 2019-08-20 14:35:08 +01:00
renovate[bot] 1b12758093 Update dependency eslint to v6.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/881) 2019-08-19 14:29:28 +01:00
renovate[bot] a050dff437 Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/883) 2019-08-19 14:29:06 +01:00
renovate[bot] 8540838ec8 Update dependency lint-staged to v9.2.3 (https://github.com/woocommerce/woocommerce-blocks/pull/879) 2019-08-19 13:16:36 +02:00
Albert Juhé Lluveras 2122d694e7 Add changelog script (https://github.com/woocommerce/woocommerce-blocks/pull/878)
* Add changelog script

* Adapt changelog script to WooCommerce Blocks

* Minor improvements
2019-08-19 12:46:32 +02:00
renovate[bot] f70d9021fe Update dependency webpack-cli to v3.3.7 (https://github.com/woocommerce/woocommerce-blocks/pull/880) 2019-08-19 11:28:58 +02:00
renovate[bot] 05b1777b83 Update Node.js to v10.16.3 (https://github.com/woocommerce/woocommerce-blocks/pull/874) 2019-08-16 16:29:08 +01:00
renovate[bot] 5027fa2c6f Update dependency @woocommerce/components to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/875) 2019-08-16 08:50:48 +02:00
renovate[bot] 5dded757ba Update dependency webpack to v4.39.2 (https://github.com/woocommerce/woocommerce-blocks/pull/855) 2019-08-15 16:07:22 +01:00
renovate[bot] de9f8b14ea Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/872) 2019-08-15 17:05:26 +02:00
Albert Juhé Lluveras ad38f9d327 Create Reviews by Product block (https://github.com/woocommerce/woocommerce-blocks/pull/658)
* Create Reviews by Product block

* Honor Content settings

* Fix wrong className

* Load new wc-packages file

* Add reviews-by-product JS files to webpack config

* Cleanup

* Remove error messages

* Add Reviews by Product icon

* Update sort options

* Allow additional CSS classes attribute

* Refactor block styles

* Fix wrong default for reviews_orderby

* Don't enforce CSS chunks

* Add reviews count to Reviews by Product controls (https://github.com/woocommerce/woocommerce-blocks/pull/671)

* Add label to Reviews by Product controls count (https://github.com/woocommerce/woocommerce-blocks/pull/677)

* Add reviews count to Reviews by Product controls

* Add label to Reviews by Product controls count

* Add label to Reviews by Product controls count

* Update components package

* Review ordering and placeholders (https://github.com/woocommerce/woocommerce-blocks/pull/688)

* Add support for comment_count ordering and add to productcontrol

* Add a placeholder if rating count is 0

* Update assets/js/components/utils/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/blocks/reviews-by-product/block.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* grammar

* Fix some linting errors and warnings (https://github.com/woocommerce/woocommerce-blocks/pull/693)

* Create Reviews by Product block placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/691)

* Create Reviews by Product block placeholder

* Reviews by Product: load and render reviews with JS (https://github.com/woocommerce/woocommerce-blocks/pull/696)

* Reviews by Product: load and render reviews with JS

* Add dangerouslySetInnerHTML explanatory comment

* Fix wrong dependency source

* Debounce getReviews call when creating the Reviews by Product block

* Rename 'Reviewer Picture' with 'Avatar' (https://github.com/woocommerce/woocommerce-blocks/pull/702)

* Lint errors

* Replace stringify query with addQueryArgs (https://github.com/woocommerce/woocommerce-blocks/pull/707)

* Add reviews endpoint (https://github.com/woocommerce/woocommerce-blocks/pull/705)

* Prevent state updates on unmounted components (https://github.com/woocommerce/woocommerce-blocks/pull/715)

* Add Order by and Load more controls in Reviews by Product frontend (https://github.com/woocommerce/woocommerce-blocks/pull/716)

* Export IconReviewsByProduct (https://github.com/woocommerce/woocommerce-blocks/pull/721)

* Fix Reviews by Product layout in IE11 (https://github.com/woocommerce/woocommerce-blocks/pull/723)

* Set minimum to per page input field (https://github.com/woocommerce/woocommerce-blocks/pull/731)

* Hide avatars in Reviews by Products if 'show_avatars' settings is false (https://github.com/woocommerce/woocommerce-blocks/pull/730)

* Blocks API - Reviews endpoint with rating sort and category filtering (https://github.com/woocommerce/woocommerce-blocks/pull/726)

* Move file to correct location

* We are only using the reviews endpoint not revioews/id

* Remove sensistive data and make endpoint public

* Allow guest access to approved reviews

* Add support for rating sorting

* category filtering

* update arg name

* fix category query

* Reviews by Product: add placeholders when loading reviews (https://github.com/woocommerce/woocommerce-blocks/pull/732)

* Add placeholder animation (https://github.com/woocommerce/woocommerce-blocks/pull/733)

* Hook up Reviews by Product 'Order by' with endpoint (https://github.com/woocommerce/woocommerce-blocks/pull/736)

* Hook up Reviews by Product 'Order by' with endpoint

* Use onChange instead of onBlur in select control

* Reviews by Product: Hide ratings if they are disabled in settings (https://github.com/woocommerce/woocommerce-blocks/pull/740)

* Hide ratings in Reviews by Product if disabled in settings

* Hide order by select if ratings are disabled

* Reviews by Product cleanup (https://github.com/woocommerce/woocommerce-blocks/pull/773)

* Fix wrong method name

* Reduce the number of dependencies used in Reviews by Product (https://github.com/woocommerce/woocommerce-blocks/pull/774)

* Reduce the number of dependencies used in Reviews by Product

* Use 'withComponentId' HOC

* Remove debounce

* Fix wrong proptype

* Get rid of JS warning

* Load render from react-dom

* Add formatted_date_created item schema (https://github.com/woocommerce/woocommerce-blocks/pull/788)

* Fix import of WithComponentID

* Add new settings to Reviews by Product block (https://github.com/woocommerce/woocommerce-blocks/pull/787)

* Add new settings to Reviews by Product block

* Remove helpText and add notices

* Use RangeControl for numeric settings

* Prevent fetching new reviews if all were already fetched

* Enable product image in reviews

* Remove unnecessary catch

* Refactor getReviews

* Move getReviews back to block's code

* Cleanup

* Fix wrong order in editor

* Hide 'Load More Reviews' if showLoadMore is false

* Move getReviews to utils.js

* Add @woocommerce/navigation to package.json

* Make notices non-dismissable

* Reviews by Product: prevent importing all HOCs and import only withComponentId (https://github.com/woocommerce/woocommerce-blocks/pull/811)

* Reviews by product: Update review styling and content (https://github.com/woocommerce/woocommerce-blocks/pull/806)

* Add new settings to Reviews by Product block

* Remove helpText and add notices

* Use RangeControl for numeric settings

* Prevent fetching new reviews if all were already fetched

* Enable product image in reviews

* Remove unnecessary catch

* Refactor getReviews

* Move getReviews back to block's code

* Cleanup

* Fix wrong order in editor

* Hide 'Load More Reviews' if showLoadMore is false

* Move getReviews to utils.js

* Add @woocommerce/navigation to package.json

* Make notices non-dismissable

* Review design/layout

* verified icons

* Read more component

* remove comment

* expanded -> isExpanded

* Localise and change default elipses

* Simplify ReadMore

* Support children rather than passing content

* remove outside

* remove list style

* Update assets/js/components/read-more/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* Update assets/js/components/read-more/index.js

Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>

* merge set state

* Add missing parameter doc in renderReview (https://github.com/woocommerce/woocommerce-blocks/pull/820)

* Fix Reviews by Product order by select not honoring default setting (https://github.com/woocommerce/woocommerce-blocks/pull/818)

* Read more component - change how clamped content is shown (https://github.com/woocommerce/woocommerce-blocks/pull/821)

* Pass review as components

* Build summary from content and track both

* Toggle display after inital load

* remove unused variable

* remove componentDidUpdate

* Simplify clampLines

* Put back componentDidUpdate, but store final summary in state

* clampEnabled

* Call clampLines from componentDidMount (https://github.com/woocommerce/woocommerce-blocks/pull/826)

* truncate html tests

* implement trimHTML and pass test

* Feedback

* test short content

* Use withProduct HOC in ReviewsByProductEditor (https://github.com/woocommerce/woocommerce-blocks/pull/828)

* Use withProduct HOC

* Convert ReviewsByProductEditor to a functional component

* Add loading and error states

* Prevent loading screen appearing when changing products

* Reviews: only save wrapper element to post (https://github.com/woocommerce/woocommerce-blocks/pull/830)

* Fix bundlesize config not picking frontend files (https://github.com/woocommerce/woocommerce-blocks/pull/840)

* Reviews by Product: split 'block.js' into smaller chunks (https://github.com/woocommerce/woocommerce-blocks/pull/841)

* Split 'block.js' into smaller chunks

* Move frontend blocks to their specific folder

* Order imports

* Typo

* Add frontend components proptypes

* Fix indentation

* Call 'this.getDefaultArgs' directly inside 'getReviews'

* Move access to wc_product_block_data to the top of the file

* Rename 'frontend' folder to 'base'

* Rename base components and move styles to their folder

* Fix Reviews by Product using rating count instead of review count (https://github.com/woocommerce/woocommerce-blocks/pull/860)

* Improve Reviews by Product accessibility (https://github.com/woocommerce/woocommerce-blocks/pull/861)

* Improve Reviews by Product accessibility

* Make 'onClick' prop not required in <LoadMoreButton>

* Wrap Reviews by Product editor block with <Disabled>

* Reviews: fix reviews without rating not appearing when sorting by rating (https://github.com/woocommerce/woocommerce-blocks/pull/863)
2019-08-15 16:55:57 +02:00
renovate[bot] 2078e81bc8 Update dependency rimraf to v2.7.1 (https://github.com/woocommerce/woocommerce-blocks/pull/867) 2019-08-15 11:11:18 +02:00
Darren Ethier 64b476303a remove unnecessary config (https://github.com/woocommerce/woocommerce-blocks/pull/862) 2019-08-14 07:23:09 -04:00
renovate[bot] 7b07bb015a Update dependency rimraf to v2.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/858) 2019-08-14 11:39:38 +02:00
renovate[bot] a618bb7dd0 Pin dependency babel-plugin-transform-react-remove-prop-types to 0.4.24 (https://github.com/woocommerce/woocommerce-blocks/pull/851) 2019-08-13 15:44:07 +01:00
Darren Ethier 69890535c9 Add babel-plugin-transform-remove-prop-types Babel plugin (https://github.com/woocommerce/woocommerce-blocks/pull/839)
* install transform-react-remove-prop-types babel plugin

* use `@wordpress/babel-preset-default` not `@wordpress/default` (name change)

* add configuration for new plugin (removing prop-types on production builds)
2019-08-13 09:51:44 -04:00
renovate[bot] e36d014584 Update dependency core-js to v3.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/838) 2019-08-13 11:40:31 +01:00
renovate[bot] 45f2d48f56 Update dependency eslint-plugin-jest to v22.15.1 (https://github.com/woocommerce/woocommerce-blocks/pull/844) 2019-08-13 11:39:49 +01:00
renovate[bot] c3008d268f Update dependency core-js to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/824) 2019-08-12 11:05:29 +02:00
renovate[bot] 2cfd59fa38 Pin dependency bundlesize to 0.18.0 (https://github.com/woocommerce/woocommerce-blocks/pull/831) 2019-08-12 11:05:20 +02:00
renovate[bot] da52d84518 Update dependency sass-loader to v7.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/827) 2019-08-12 11:05:06 +02:00
Darren Ethier e5bf616dca Add bundlesize package and tweak travis config (https://github.com/woocommerce/woocommerce-blocks/pull/822)
- adds bundlesize package and travis config to run it on pulls (reports size as a check on pulls)
- reconfigure travis configuration so that jobs are split by task for easier review/reporting
- Fix failing phpunit tests exposed as a result of the travis reconfiguration
- Fix legit fail exposed by failing phpunit test in products REST endpoint (permissions related)
- Don't abort plugin initialization when detecting no build asset file but still throw notice (necessary to ensure php tests run in travis because we don't build js/css assets unnecessarily for those tests)
2019-08-09 14:08:31 -04:00
Albert Juhé Lluveras e5f73b05e8 Add eslint JSDoc checks (https://github.com/woocommerce/woocommerce-blocks/pull/819)
* Add eslint JSDoc checks

* Use @wordpress/eslint-plugin for ESLint config

* Rename 'augments' with 'extends'

* Remove '@wordpress/eslint-plugin' from package.json
2019-08-09 18:18:46 +02:00
renovate[bot] 981b5aea63 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/802) 2019-08-08 13:07:34 +01:00
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
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
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
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
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
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
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
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
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
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
renovate[bot] 10873b8503 Update npm to v6.10.1 (https://github.com/woocommerce/woocommerce-blocks/pull/729) 2019-07-12 11:09:57 +01:00
Mike Jolley bbadbf674a Update build scripts to include vendor directory 2019-07-11 12:05:20 +01:00
Mike Jolley 76f93866b3 Master is now `2.4.0-dev` 2019-07-11 11:03:16 +01:00
renovate[bot] a23008f39c Update dependency lint-staged to v9.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/718) 2019-07-11 10:43:44 +01:00
Mike Jolley 050a9bdcdd Rolling 2.3 release changelog (https://github.com/woocommerce/woocommerce-blocks/pull/672)
* changelog

* Updated changelog

* featured category block readme

* readme

* version bump
2019-07-10 11:38:03 +01:00
renovate[bot] 6586c5b61e Update dependency @babel/core to v7.5.4 (https://github.com/woocommerce/woocommerce-blocks/pull/711) 2019-07-10 09:49:09 +01:00
Albert Juhé Lluveras f97b5ce800 Add `package-plugin` script (https://github.com/woocommerce/woocommerce-blocks/pull/689)
* Add build-plugin-zip script

* Avoid removing files not being tracked by git

* rsync

* Exclude zip file from builds
2019-07-09 12:37:25 +01:00
Albert Juhé Lluveras e54a33b501 Add pre-commit CSS and JS linting (https://github.com/woocommerce/woocommerce-blocks/pull/699) 2019-07-09 11:50:09 +01:00
renovate[bot] fb83bbfa89 Update dependency webpack to v4.35.3 (https://github.com/woocommerce/woocommerce-blocks/pull/698) 2019-07-08 15:36:53 +01:00
renovate[bot] 2a8a009f21 Update dependency lint-staged to v9.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/695) 2019-07-08 14:21:28 +01:00
renovate[bot] 0a1ea4f383 Update dependency autoprefixer to v9.6.1 (https://github.com/woocommerce/woocommerce-blocks/pull/694) 2019-07-08 14:21:16 +01:00
renovate[bot] 53163608a2 Update dependency @woocommerce/components to v3.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/692) 2019-07-05 12:48:12 +02:00
renovate[bot] 4a94c6d859 Update dependency @babel/core to v7.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/687) 2019-07-04 16:31:13 +01:00
renovate[bot] 12e527238f Update npm to v6.10.0 (https://github.com/woocommerce/woocommerce-blocks/pull/680) 2019-07-04 16:28:38 +01:00
renovate[bot] 1a20d8cac9 Update dependency eslint-plugin-jest to v22.7.2 (https://github.com/woocommerce/woocommerce-blocks/pull/682) 2019-07-04 16:06:52 +01:00
Mike Jolley fb96c0abba WordPress org release script (https://github.com/woocommerce/woocommerce-blocks/pull/685)
* Release scripts update

* pre-release check

* fix github releaser

* Create script to run releaser

* update strings

* Release script

* fixes for releaser

* Update dev docs

* indents
2019-07-04 16:01:06 +01:00
Albert Juhé Lluveras 2e32632e73 Fix lint-staged config (https://github.com/woocommerce/woocommerce-blocks/pull/684) 2019-07-04 15:12:04 +01:00
renovate[bot] 57e66dccc0 Update dependency @woocommerce/components to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/681) 2019-07-04 09:14:48 +01:00
renovate[bot] bfd83c959e Update dependency lint-staged to v9.0.2 (https://github.com/woocommerce/woocommerce-blocks/pull/674) 2019-07-03 10:35:25 +01:00
Mike Jolley ba614a258f deploy script (https://github.com/woocommerce/woocommerce-blocks/pull/667) 2019-07-03 10:35:09 +01:00
renovate[bot] 601291f644 Update dependency lint-staged to v9 (https://github.com/woocommerce/woocommerce-blocks/pull/670) 2019-07-02 15:30:45 +01:00
renovate[bot] 44685c9e3f Update dependency webpack to v4.35.2 (https://github.com/woocommerce/woocommerce-blocks/pull/666) 2019-07-01 11:04:05 +01:00
renovate[bot] 96bce2be9e Update dependency eslint-plugin-jsx-a11y to v6.2.3 (https://github.com/woocommerce/woocommerce-blocks/pull/665) 2019-07-01 10:07:30 +01:00
renovate[bot] 759dcf3440 Update npm to v6.9.2 (https://github.com/woocommerce/woocommerce-blocks/pull/657) 2019-06-28 14:03:46 +01:00
Kelly Dwan 6471602702 Bump version to 2.3.0-dev (https://github.com/woocommerce/woocommerce-blocks/pull/652) 2019-06-26 15:17:17 -04:00
Kelly Dwan 4c941191ba Release version 2.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/651)
* Version bump to RC

* Add json files to built package

* Center images in product columns

* Update changelog, bump version to final
2019-06-26 12:37:50 -04:00
renovate[bot] 36b58ff1be Update dependency eslint to v6.0.1 (https://github.com/woocommerce/woocommerce-blocks/pull/649) 2019-06-25 10:48:22 +01:00
renovate[bot] 3775b59b5a Update dependency eslint-plugin-react to v7.14.2 (https://github.com/woocommerce/woocommerce-blocks/pull/648) 2019-06-25 10:47:37 +01:00
Kelly Dwan ce981aeb8c Roll back husky update to 2.4.1 (https://github.com/woocommerce/woocommerce-blocks/pull/646)
2.5 requires node 12.1+, but we're on 10.x
2019-06-25 10:20:28 +01:00
renovate[bot] c93168d1ac Update dependency husky to v2.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/645) 2019-06-24 09:06:46 -04:00
renovate[bot] aa53d6256c Update dependency eslint-plugin-react to v7.14.1 (https://github.com/woocommerce/woocommerce-blocks/pull/644) 2019-06-24 09:04:32 -04:00
renovate[bot] 6226c2accc Update dependency eslint to v6 (https://github.com/woocommerce/woocommerce-blocks/pull/642) 2019-06-24 09:04:12 -04:00
renovate[bot] bed9f26307 Update dependency webpack-cli to v3.3.5 (https://github.com/woocommerce/woocommerce-blocks/pull/643) 2019-06-24 09:00:18 -04:00
renovate[bot] d8caa49aaf Update dependency eslint-plugin-jest to v22.7.1 (https://github.com/woocommerce/woocommerce-blocks/pull/639) 2019-06-24 08:55:25 -04:00
renovate[bot] c981a5c5c6 Update dependency webpack to v4.35.0 (https://github.com/woocommerce/woocommerce-blocks/pull/638) 2019-06-24 08:53:04 -04:00
renovate[bot] c7f9844ab1 Update dependency babel-eslint to v10.0.2 (https://github.com/woocommerce/woocommerce-blocks/pull/635) 2019-06-17 10:25:09 -04:00
renovate[bot] 5f76139679 Update dependency core-js to v3.1.4 (https://github.com/woocommerce/woocommerce-blocks/pull/634) 2019-06-17 17:40:01 +08:00
renovate[bot] 7885c5f1c4 Update dependency webpack to v4.34.0 (https://github.com/woocommerce/woocommerce-blocks/pull/631) 2019-06-14 09:49:00 -04:00
renovate[bot] 691dad4b22 Update dependency lint-staged to v8.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/632) 2019-06-14 09:48:44 -04:00
renovate[bot] f9b54fcefc Update dependency @wordpress/components to v8 (https://github.com/woocommerce/woocommerce-blocks/pull/630) 2019-06-12 14:31:11 -04:00
renovate[bot] 7b890a4a4f Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/629) 2019-06-12 14:14:07 -04:00
Kelly Dwan ed36d76ff9 Try dependency plugin (https://github.com/woocommerce/woocommerce-blocks/pull/626) 2019-06-12 11:50:57 -04:00
renovate[bot] c2eda2416d Update dependency husky to v2.4.1 (https://github.com/woocommerce/woocommerce-blocks/pull/627) 2019-06-12 10:40:19 +01:00
renovate[bot] 11002fc6bc Update dependency css-loader to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/623) 2019-06-11 09:51:57 -04:00
renovate[bot] 9bb40b7d81 Update dependency webpack-cli to v3.3.4 (https://github.com/woocommerce/woocommerce-blocks/pull/622) 2019-06-11 09:44:40 -04:00
renovate[bot] 3432d0f283 Update dependency autoprefixer to v9.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/614)
* Update dependency autoprefixer to v9.6.0

* Fix postcss/autoprefixer config

`browsers` property is now deprecated, should use browsers list in package.json for compat with other tools
2019-06-10 10:24:22 -04:00
renovate[bot] 26e0be77f0 Update dependency stylelint to v10.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/619) 2019-06-10 09:30:08 -04:00
renovate[bot] 9b5a321c21 Update dependency webpack to v4.33.0 (https://github.com/woocommerce/woocommerce-blocks/pull/615) 2019-06-10 09:29:46 -04:00
renovate[bot] 9fa761bf76 Update dependency lint-staged to v8.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/617) 2019-06-07 15:13:57 +02:00
renovate[bot] 526f07832a Update dependency husky to v2.4.0 (https://github.com/woocommerce/woocommerce-blocks/pull/616) 2019-06-07 15:13:34 +02:00
renovate[bot] 4639d4617e Update dependency webpack-cli to v3.3.3 (https://github.com/woocommerce/woocommerce-blocks/pull/618) 2019-06-07 15:12:51 +02:00
renovate[bot] 1f37bccda8 Update dependency clean-webpack-plugin to v3 (https://github.com/woocommerce/woocommerce-blocks/pull/611)
* Update dependency clean-webpack-plugin to v3

* Update CleanWebpackPlugin import for v3+
2019-05-30 10:17:00 -04:00
renovate[bot] 2e48398e7f Update Node.js to v10.16.0 (https://github.com/woocommerce/woocommerce-blocks/pull/607) 2019-05-29 13:18:46 -04:00
renovate[bot] a82b8726bf Update dependency mini-css-extract-plugin to v0.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/604) 2019-05-28 14:37:02 -04:00
renovate[bot] 50fbfc5399 Update dependency core-js to v3.1.3 (https://github.com/woocommerce/woocommerce-blocks/pull/603) 2019-05-28 14:36:36 -04:00
renovate[bot] efc96bba85 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/582)
* Update wordpress monorepo

* Update core-js to 3.x
2019-05-23 10:57:33 -04:00
renovate[bot] 5de8a2d09a Update dependency eslint-plugin-jest to v22.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/594) 2019-05-23 16:52:04 +02:00
renovate[bot] 4c696ebcaa Update dependency webpack to v4.32.2 (https://github.com/woocommerce/woocommerce-blocks/pull/597) 2019-05-23 11:35:32 +01:00
renovate[bot] 22f88f7c2e Update dependency webpack to v4.32.1 (https://github.com/woocommerce/woocommerce-blocks/pull/593) 2019-05-22 12:40:55 +02:00
renovate[bot] b32bb71f2c Update dependency core-js to v2.6.8 (https://github.com/woocommerce/woocommerce-blocks/pull/587) 2019-05-22 12:36:39 +02:00
renovate[bot] bf7618bdee Update dependency @babel/core to v7.4.5 (https://github.com/woocommerce/woocommerce-blocks/pull/585) 2019-05-21 16:37:16 -04:00
renovate[bot] ccc40edaa8 Update dependency core-js to v2.6.7 (https://github.com/woocommerce/woocommerce-blocks/pull/579) 2019-05-21 11:19:08 +02:00
renovate[bot] bd4659147e Update dependency webpack to v4.32.0 (https://github.com/woocommerce/woocommerce-blocks/pull/575) 2019-05-21 11:09:58 +02:00
renovate[bot] 5640f83239 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/570) 2019-05-21 11:06:12 +02:00
renovate[bot] 9203b71b28 Update dependency core-js to v2.6.6 (https://github.com/woocommerce/woocommerce-blocks/pull/573) 2019-05-20 14:34:50 +01:00
renovate[bot] 8e5514a929 Update dependency lint-staged to v8.1.7 (https://github.com/woocommerce/woocommerce-blocks/pull/566) 2019-05-15 08:48:23 +01:00
Kelly Dwan 1ea00a7fb1 Bump to dev version (https://github.com/woocommerce/woocommerce-blocks/pull/564) 2019-05-15 08:37:48 +01:00
renovate[bot] b6daddd0f5 Update dependency husky to v2.3.0 (https://github.com/woocommerce/woocommerce-blocks/pull/563) 2019-05-14 16:23:57 -04:00
Kelly Dwan 22439f5c12 Release version 2.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/562)
* Version bump to 2.1.0-rc

* Version bump to 2.1.0

* Add missing period
2019-05-14 13:43:54 -04:00
renovate[bot] 8aae752690 Pin dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/561) 2019-05-13 14:07:47 +01:00
Mike Jolley e8f3d3776f Show build progress (https://github.com/woocommerce/woocommerce-blocks/pull/557)
* Add progress indicator to build

* Clean up post-build output (only show build files)

* Enable cacheDirectory

* Supress start output
2019-05-13 13:08:32 +01:00
renovate[bot] 2b1fa6ba3f Update dependency babel-loader to v8.0.6 (https://github.com/woocommerce/woocommerce-blocks/pull/559) 2019-05-13 12:45:16 +01:00
renovate[bot] ce17f5756b Update dependency yargs to v13.2.4 (https://github.com/woocommerce/woocommerce-blocks/pull/560) 2019-05-13 12:45:09 +01:00
renovate[bot] 0732e2f094 Update dependency webpack-cli to v3.3.2 (https://github.com/woocommerce/woocommerce-blocks/pull/552) 2019-05-10 10:38:04 -04:00
renovate[bot] 781f706e42 Update dependency clean-webpack-plugin to v2.0.2 (https://github.com/woocommerce/woocommerce-blocks/pull/553) 2019-05-10 10:37:53 -04:00
renovate[bot] b121d090c1 Update dependency webpack to v4.31.0 (https://github.com/woocommerce/woocommerce-blocks/pull/556) 2019-05-09 10:28:04 -04:00
renovate[bot] fddbc7efaa chore(deps): update dependency lint-staged to v8.1.6 (https://github.com/woocommerce/woocommerce-blocks/pull/550) 2019-05-03 10:34:15 -04:00
renovate[bot] 31b5f8bb83 chore(deps): update dependency eslint-plugin-react to v7.13.0 (https://github.com/woocommerce/woocommerce-blocks/pull/549) 2019-05-03 10:33:53 -04:00
renovate[bot] 6dcdc5f80a chore(deps): update dependency husky to v2.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/545) 2019-05-02 11:34:10 -04:00
renovate[bot] 7b0a03abee fix(deps): update dependency gridicons to v3.3.1 (https://github.com/woocommerce/woocommerce-blocks/pull/546) 2019-05-02 11:33:40 -04:00
renovate[bot] ef50db86f5 chore(deps): update dependency node-sass to v4.12.0 (https://github.com/woocommerce/woocommerce-blocks/pull/542) 2019-04-29 10:25:38 -04:00
renovate[bot] 235d717906 chore(deps): update dependency @babel/core to v7.4.4 (https://github.com/woocommerce/woocommerce-blocks/pull/541) 2019-04-29 10:25:19 -04:00
renovate[bot] 539a5ed152 chore(deps): update dependency eslint-plugin-jest to v22.5.1 (https://github.com/woocommerce/woocommerce-blocks/pull/539) 2019-04-25 10:21:01 -04:00
renovate[bot] 4793924efe chore(deps): update dependency husky to v2.1.0 (https://github.com/woocommerce/woocommerce-blocks/pull/538) 2019-04-24 17:31:28 -04:00
renovate[bot] 7edb9b080a chore(deps): update dependency husky to v2 (https://github.com/woocommerce/woocommerce-blocks/pull/537) 2019-04-24 12:35:45 -04:00
renovate[bot] e54a9a7fbb chore(deps): update dependency eslint-plugin-jest to v22.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/536) 2019-04-24 10:47:06 -04:00
renovate[bot] 2f2d1c165e chore(deps): update dependency webpack-cli to v3.3.1 (https://github.com/woocommerce/woocommerce-blocks/pull/535) 2019-04-22 13:17:18 -04:00
renovate[bot] f8e2a7c06e chore(deps): update dependency stylelint-config-wordpress to v14 (https://github.com/woocommerce/woocommerce-blocks/pull/532) 2019-04-18 11:14:56 -04:00
renovate[bot] 026c635f2b chore(deps): update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/531) 2019-04-18 11:14:45 -04:00
renovate[bot] 94cd18d6f0 chore(deps): update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/529) 2019-04-16 16:22:01 -04:00
renovate[bot] e62aa238a5 chore(deps): update dependency stylelint to v10 (https://github.com/woocommerce/woocommerce-blocks/pull/528) 2019-04-16 16:20:30 -04:00
renovate[bot] 43ed7187be chore(deps): update dependency webpack to v4.30.0 (https://github.com/woocommerce/woocommerce-blocks/pull/527) 2019-04-16 16:19:43 -04:00
Kelly Dwan 3920836287 Update ProductsControl to use API search when product catalog is large (https://github.com/woocommerce/woocommerce-blocks/pull/515)
* Move query path into constant

* Add catalog size as a preloaded setting

* Pass a search callback to SearchListControl

This will limit the number of products loaded, and update the product list via an API call, when there are over 200 products

* Extract the API requests into a separate file

* Fix proptype warning

* Only trigger the selected request if there are selected products

* Add new `@wordpress/*` dependencies from wc package bumps

* Move the "large catalog" check to the server side

* Update to components@2.0.0
2019-04-12 11:47:29 -04:00
renovate[bot] 9eba0d41f9 fix(deps): update dependency gridicons to v3.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/524) 2019-04-11 11:20:37 -04:00
Kelly Dwan da1ef3fead Version bump to 2.1.0-dev (https://github.com/woocommerce/woocommerce-blocks/pull/523) 2019-04-10 19:13:09 -04:00
renovate[bot] 2ce15f01e6 chore(deps): update dependency mini-css-extract-plugin to v0.6.0 (https://github.com/woocommerce/woocommerce-blocks/pull/522) 2019-04-10 15:45:21 -04:00
Kelly Dwan 634349ce4b Bump version to 2.0.0-rc3 (https://github.com/woocommerce/woocommerce-blocks/pull/521)
* Update tested versions of WP & WC

* Bump version & update readme
2019-04-08 19:24:02 -04:00