Commit Graph

377 Commits

Author SHA1 Message Date
renovate[bot] 0f7c87fca2 chore(deps): update npm to v6.8.0 (https://github.com/woocommerce/woocommerce-blocks/pull/422) 2019-02-14 10:49:13 -05:00
renovate[bot] fb2516e472 chore(deps): update dependency lint-staged to v8.1.4 (https://github.com/woocommerce/woocommerce-blocks/pull/423) 2019-02-14 10:47:27 -05:00
renovate[bot] dfb4acf882 chore(deps): update wordpress monorepo (major) (https://github.com/woocommerce/woocommerce-blocks/pull/343)
* chore(deps): update wordpress monorepo

* Fix tests: `transformIgnorePatterns` requires the babel config to be a JS export, rather than a JSON file
2019-02-13 15:18:43 -05:00
Kelly Dwan 37fca65ad6 Bump stable tag & plugin dev version (https://github.com/woocommerce/woocommerce-blocks/pull/420) 2019-02-13 15:18:21 -05:00
Kelly Dwan 33cb699ef1 Update changelog, bump version to 1.4.0-rc (https://github.com/woocommerce/woocommerce-blocks/pull/413)
* Update changelog, bump version to 1.4.0-rc

* Update languages to language packs at 100% for v1.3.1

* Update readme with button PR

* Add note about featured product edit mode

* Update version number

* Add a missing bug fix to the changelog
2019-02-13 10:50:40 -05:00
renovate[bot] 2bdfc262e6 chore(deps): update dependency cssnano to v4.1.9 (https://github.com/woocommerce/woocommerce-blocks/pull/418) 2019-02-12 14:10:20 -05:00
Kelly Dwan ee8e185e4d Featured Product: Remove ability to change source product (https://github.com/woocommerce/woocommerce-blocks/pull/415) 2019-02-12 10:04:36 -05:00
Kelly Dwan 299412bb0f Featured Product: Try using Button block for button (https://github.com/woocommerce/woocommerce-blocks/pull/398)
* Try using Button block for the product button

* Use the permalink for the selected product

* Fix use of templateLock prop

* Fix button component alignment
2019-02-08 18:57:58 -05:00
Kelly Dwan 1f880b309a ProductAttributeControl: Polish style, screen reader interaction (https://github.com/woocommerce/woocommerce-blocks/pull/412)
* Save attribute terms per attribute, so we don’t need to do duplicate API requests for previously fetched terms. Add spinner to loading items.

* Add count to API response

* Use terms count in displaying attribute type

* Update attribute selection code to collapse already-selected attributes

* Add a chevron icon indicating open-able attributes

* Center the loading indicator

* Remove count from attribute type & re-add it to the terms themselves
2019-02-08 14:57:56 -05:00
Kelly Dwan daa106ebbe Remove Gutenberg requirement from phpunit tests (https://github.com/woocommerce/woocommerce-blocks/pull/414)
* Remove Gutenberg requirement from phpunit tests

* Remove gutenberg from the install script
2019-02-08 14:23:31 -05:00
renovate[bot] 55669d294a chore(deps): update dependency react-test-renderer to v16.8.1 (https://github.com/woocommerce/woocommerce-blocks/pull/402) 2019-02-08 10:07:32 -05:00
Kelly Dwan d55309adf8 Fix undefined variable notice (https://github.com/woocommerce/woocommerce-blocks/pull/411) 2019-02-08 09:43:32 -05:00
Kelly Dwan 388d083c2b Products by Attribute: Update block to use API, shortcode rendering (https://github.com/woocommerce/woocommerce-blocks/pull/405)
* Add “attribute selection” step before allowing terms to be selected

* Update query builder

* Use shortcode to render block

* Styling for child list items
2019-02-07 15:26:47 -05:00
Kevin Killingsworth a8754e73dd Bump `@woocommerce/components` to v1.5.0 (https://github.com/woocommerce/woocommerce-blocks/pull/408)
This advances the version of woocommerce components for the primary
reason of fixing the navigation problem of adding #/ to any URLs we use.
2019-02-07 11:25:28 -06:00
renovate[bot] 4a5b9b2688 chore(deps): update dependency core-js to v2.6.4 (https://github.com/woocommerce/woocommerce-blocks/pull/410) 2019-02-07 10:06:34 -05:00
renovate[bot] cd9d573112 chore(deps): update dependency webpack to v4.29.3 (https://github.com/woocommerce/woocommerce-blocks/pull/409) 2019-02-07 09:58:12 -05:00
Kelly Dwan 8da93d36f1 API: Remove custom `attributes` handling from API (https://github.com/woocommerce/woocommerce-blocks/pull/401) 2019-02-06 17:59:34 -05:00
renovate[bot] 60b4cd5fcc chore(deps): update dependency webpack to v4.29.2 (https://github.com/woocommerce/woocommerce-blocks/pull/404) 2019-02-06 11:20:18 -05:00
Kelly Dwan 6bf837ff7a Featured Product: Allow to resize the block height (https://github.com/woocommerce/woocommerce-blocks/pull/397)
* Add ResizeableBox wrapper to component to adjust height

* Use the fixed height on the front end display of the block

* Fix display of resize handle

* Allow the default & min featured product heights to be customized by setting a new theme support keyword, `featured_block`.

* Use `min-height` on the front end display, so content is not clipped on smaller screens

* Add a wrapper div to the content, to prevent it from breaking out of the block display
2019-02-05 15:49:24 -05:00
renovate[bot] 843f9529bf chore(deps): update dependency webpack-cli to v3.2.3 (https://github.com/woocommerce/woocommerce-blocks/pull/399) 2019-02-05 13:35:23 +08:00
renovate[bot] 0902e1b707 chore(deps): update dependency webpack to v4.29.1 (https://github.com/woocommerce/woocommerce-blocks/pull/395) 2019-02-04 14:24:49 -05:00
renovate[bot] a49f061950 chore(deps): update dependency eslint-plugin-jsx-a11y to v6.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/394)
LGTM 👍
2019-02-04 17:24:19 +08:00
renovate[bot] 63c7728ad8 chore(deps): update dependency lint-staged to v8.1.3 (https://github.com/woocommerce/woocommerce-blocks/pull/393)
Minor bug fix.  👍
2019-02-04 17:20:20 +08:00
renovate[bot] 9c02e09537 chore(deps): update dependency lint-staged to v8.1.2 (https://github.com/woocommerce/woocommerce-blocks/pull/392) 2019-02-02 11:52:44 -05:00
renovate[bot] e3b7c4af60 chore(deps): update dependency eslint to v5.13.0 (https://github.com/woocommerce/woocommerce-blocks/pull/391) 2019-02-01 14:28:06 -05:00
Kevin Killingsworth dc2b4485f4 Add placeholder image for product preview (https://github.com/woocommerce/woocommerce-blocks/pull/382)
* Add placeholder image for product preview

This adds the designated placeholder image url from settings into the
wcSettings global for the blocks to use. Then uses the placeholder url
when a product doesn't have any images.

* Updated based on review notes

Using `$block_settings` instead of `$settings`
Using '' alt tag
Updated snapshot

* Add the placeholder global to test that it passes through to the preview
2019-02-01 10:45:53 -05:00
renovate[bot] 454c9262ab chore(deps): update dependency eslint-plugin-jest to v22.2.2 (https://github.com/woocommerce/woocommerce-blocks/pull/390) 2019-02-01 10:26:31 -05:00
Kelly Dwan 017f0df5b7 Blocks: Restrict row/column values to only valid values (https://github.com/woocommerce/woocommerce-blocks/pull/386)
* Add a new LayoutControl component

* Use new LayoutControl to handle rows & columns settings

* Fix errors when rows or columns is empty (silently fall back to default to prevent breaking the block)

* Rename `LayoutControl` to `GridLayoutControl`
2019-01-31 17:55:54 -05:00
renovate[bot] 11bfb1b153 fix(deps): update dependency @woocommerce/components to v1.4.2 (https://github.com/woocommerce/woocommerce-blocks/pull/388) 2019-01-31 17:12:03 -05:00
Kelly Dwan c41ceff9fc i18n: Remove the babel makepot & pot-to-php scripts (https://github.com/woocommerce/woocommerce-blocks/pull/385)
* Remove the babel makepot & pot-to-php scripts

These aren’t needed because WP.org will now pull from JS files for glotpress translations.

* Remove pot file from gitignore
2019-01-31 15:59:13 -05:00
Kelly Dwan 5f4b6c74db Use defaultProps to set up the taxonomy control operators (https://github.com/woocommerce/woocommerce-blocks/pull/381) 2019-01-31 15:43:55 -05:00
Kelly Dwan ac96484f7a New block: Products by Attribute (https://github.com/woocommerce/woocommerce-blocks/pull/378)
* Add Products by Attribute block

* Remove attributes property from sharedAttributes

* Add operator control to Products Attribute selector

* Fix default operator queries

* Add the initial “edit mode” placeholder screen

* Style attribute selector better

* Add ‘edit mode’ toggle to toolbar

* Add orderby control
2019-01-30 16:27:56 -05:00
Kelly Dwan 284d98643d REST API: Add new parameter for relationship between multiple taxonomies (https://github.com/woocommerce/woocommerce-blocks/pull/377)
* Add new API parameter `tax_relation`, to handle relationship between multiple taxonomies

* Minor change to trigger a travis build
2019-01-30 16:08:21 -05:00
renovate[bot] 9a404e5c6e Update dependency eslint-plugin-jest to v22.2.1 (https://github.com/woocommerce/woocommerce-blocks/pull/376) 2019-01-30 16:07:32 -05:00
renovate[bot] d71c5a4ef6 Update Node.js to v10.15.1 (https://github.com/woocommerce/woocommerce-blocks/pull/375) 2019-01-30 16:07:09 -05:00
Kelly Dwan 2382dbf5f4 Run `composer install` after packages install (https://github.com/woocommerce/woocommerce-blocks/pull/374) 2019-01-30 10:31:05 -05:00
renovate[bot] d664df9a85 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-blocks/pull/366) 2019-01-29 14:18:34 -05:00
renovate[bot] 9860565210 Update dependency autoprefixer to v9.4.7 (https://github.com/woocommerce/woocommerce-blocks/pull/367) 2019-01-29 12:46:25 -05:00
renovate[bot] 2cf52f0e4d Update dependency lint-staged to v8.1.1 (https://github.com/woocommerce/woocommerce-blocks/pull/365) 2019-01-29 12:46:03 -05:00
renovate[bot] e46aebf921 Update dependency eslint-plugin-jsx-a11y to v6.2.0 (https://github.com/woocommerce/woocommerce-blocks/pull/363) 2019-01-29 12:42:52 -05:00
renovate[bot] b0a581b732 Update npm to v6.7.0 (https://github.com/woocommerce/woocommerce-blocks/pull/360) 2019-01-24 10:56:00 +00:00
renovate[bot] 32d42cbec7 Update dependency core-js to v2.6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/358) 2019-01-22 07:49:15 -05:00
renovate[bot] 71536c0e00 Update dependency clean-webpack-plugin to v1.0.1 (https://github.com/woocommerce/woocommerce-blocks/pull/356) 2019-01-22 07:33:55 -05:00
renovate[bot] 16319d2a07 Update dependency autoprefixer to v9.4.6 (https://github.com/woocommerce/woocommerce-blocks/pull/355) 2019-01-21 10:54:41 -05:00
renovate[bot] 98540efb81 Update dependency webpack to v4.29.0 (https://github.com/woocommerce/woocommerce-blocks/pull/354) 2019-01-21 10:53:26 -05:00
renovate[bot] b2d3ad5e0d Update dependency stylelint to v9.10.1 (https://github.com/woocommerce/woocommerce-blocks/pull/353) 2019-01-21 10:53:03 -05:00
renovate[bot] 903236db84 Update dependency eslint to v5.12.1 (https://github.com/woocommerce/woocommerce-blocks/pull/352) 2019-01-18 17:05:13 -05:00
Kelly Dwan d5802c0467 Update bug report template to include WordPress details 2019-01-18 14:44:11 -05:00
Albert Juhé Lluveras 7b207ad9ce Merge pull request woocommerce/woocommerce-blocks#350 from woocommerce/renovate/npm-6.x
Update npm to v6.6.0
2019-01-18 12:21:09 +01:00
Renovate Bot 0f7eb3df30 Update npm to v6.6.0 2019-01-17 23:00:15 +00:00