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
Kelly Dwan
cf14034f9a
Cherry-pick branch/2.0.x: Fix conflict with hooks + 3.6, pre 3.6.2
2019-04-22 12:16:53 -04:00
Kelly Dwan
7bac46f286
Move conflict check to init action ( https://github.com/woocommerce/woocommerce-blocks/pull/534 )
...
Checking the feature plugin version on `init` ensures the constant is defined before we get to it, which is not guaranteed in `__construct` due to potential different load orders.
2019-04-19 12:33:04 -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
Kelly Dwan
39d5cb8231
Update readme.txt
2019-04-18 11:13:31 -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
Kelly Dwan
d826ee9ee9
Add a custom jsonpFunction to prevent collisions with other splitChunks-using projects ( https://github.com/woocommerce/woocommerce-blocks/pull/520 )
2019-04-08 17:53:06 -04:00
renovate[bot]
bc9fcc1a21
chore(deps): update dependency autoprefixer to v9.5.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/519 )
2019-04-08 14:53:19 -04:00
renovate[bot]
85ea23eb17
chore(deps): update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/516 )
2019-04-05 10:56:15 -04:00
renovate[bot]
5e164508ec
chore(deps): update dependency @babel/core to v7.4.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/514 )
2019-04-03 10:44:23 -04:00
Kelly Dwan
169037d0c1
Update changelog ( https://github.com/woocommerce/woocommerce-blocks/pull/513 )
2019-04-01 13:22:36 -04:00
renovate[bot]
8e084adda9
chore(deps): update dependency eslint to v5.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/512 )
2019-04-01 11:03:46 -04:00
renovate[bot]
407e7468ff
chore(deps): update dependency react-test-renderer to v16.8.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/510 )
2019-03-28 10:47:40 -04:00
renovate[bot]
0b1cab89c5
chore(deps): update dependency react-test-renderer to v16.8.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/507 )
2019-03-27 11:06:26 +01:00
Kelly Dwan
23532701dd
Fix fatal with 1.x versions of the feature plugin ( https://github.com/woocommerce/woocommerce-blocks/pull/502 )
...
* Add plugin version check to prevent fatal error with core + 1.4
* Version bump
2019-03-22 10:42:01 -04:00
Kelly Dwan
70dc02a1ca
Add "contributor" docs for developer tools, release processes ( https://github.com/woocommerce/woocommerce-blocks/pull/504 )
...
* Docs: Add docs for npm scripts and the release process
* Update readme to reflect project status
* Add install instructions
* Add a link to a previous PR for an example
2019-03-22 10:40:55 -04:00
renovate[bot]
828e413493
chore(deps): update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/501 )
2019-03-20 15:04:08 -04:00
renovate[bot]
52e1999384
chore(deps): update dependency @babel/core to v7.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/500 )
2019-03-20 11:00:56 -04:00
renovate[bot]
dbc394ce71
chore(deps): update dependency eslint to v5.15.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/498 )
2019-03-20 11:00:31 -04:00
renovate[bot]
c66b5445d9
chore(deps): update dependency webpack-cli to v3.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/496 )
2019-03-18 11:25:27 -04:00
renovate[bot]
e46b2a6f73
chore(deps): update dependency eslint-plugin-jest to v22.4.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/497 )
2019-03-18 11:23:59 -04:00
renovate[bot]
2d9d467728
chore(deps): update dependency eslint to v5.15.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/495 )
2019-03-18 11:23:13 -04:00
Kelly Dwan
0c85ec1bc7
Add pre-publishing script and bump version to 2.0.0-rc1 ( https://github.com/woocommerce/woocommerce-blocks/pull/494 )
...
* Add a `prepack` script to run before publish
This will re-install dependencies, run linting on PHP, CSS, and JS, run the JS tests, and lastly build the production bundle.
* phpcs is now part of `npm run lint` so we don’t need to run it twice
* Version bump to RC1
2019-03-15 12:55:34 -04:00
Kelly Dwan
d2f1aa6c44
Update grid blocks preview to match width of products on the frontend ( https://github.com/woocommerce/woocommerce-blocks/pull/489 )
...
* Update grid blocks preview to match width of products on the front end
* Remove max-width from CSS, set it on the preview itself so we can use the dynamic theme width
* Override block thumbnail width for multiple column layouts
Previously larger thumbnails would cause multiple column layouts to break and wrap early. This enforces the column width for those cases
* Add the thumbnail size to images, to prevent larger images in multiple col layouts
* Update snapshot to new preview markup
2019-03-15 12:48:46 -04:00
renovate[bot]
4aa4ba25b5
chore(deps): update dependency eslint-plugin-jest to v22.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/493 )
2019-03-15 12:44:19 -04:00
renovate[bot]
e89cb009cd
chore(deps): update dependency clean-webpack-plugin to v2.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/492 )
2019-03-14 16:06:11 -04:00
renovate[bot]
ff1733a391
chore(deps): update dependency autoprefixer to v9.5.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/491 )
2019-03-14 16:04:58 -04:00
Kelly Dwan
8ea719b140
Grid blocks: Use a different theme option name for block column/row values ( https://github.com/woocommerce/woocommerce-blocks/pull/481 )
...
* Use a different theme option name for block column/row values
* Update the default columns value
2019-03-14 10:22:29 -04:00
Kelly Dwan
22f3582c43
Build: Add translation conversion script ( https://github.com/woocommerce/woocommerce-blocks/pull/486 )
...
* Add script to transform language .po files to the expected JSON format for each built JS file
* Merge in updated language packs
* Ignore languages file in bin
2019-03-13 09:59:12 -04:00
renovate[bot]
500b1a8f74
chore(deps): update dependency eslint-plugin-jest to v22.3.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/484 )
2019-03-12 11:14:05 -04:00
renovate[bot]
226369a287
chore(deps): update dependency eslint-plugin-jest to v22.3.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/483 )
2019-03-12 09:57:36 -04:00
renovate[bot]
96c89cd9f8
chore(deps): update dependency woocommerce/woocommerce-sniffs to v0.0.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/482 )
2019-03-12 09:57:19 -04:00
Kelly Dwan
7dc5187b4b
Check for the existence of productId before using it ( https://github.com/woocommerce/woocommerce-blocks/pull/480 )
2019-03-07 17:01:53 -05:00
renovate[bot]
0f473aaa07
chore(deps): update dependency css-loader to v2.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/479 )
2019-03-07 11:03:02 -05:00
Kelly Dwan
cba3d402b6
Bump the version, update the changelog ( https://github.com/woocommerce/woocommerce-blocks/pull/478 )
2019-03-06 18:27:37 -05:00
Kelly Dwan
1712f8dbcf
Remove blocks API endpoints ( https://github.com/woocommerce/woocommerce-blocks/pull/477 )
...
* Remove blocks API endpoints
* Remove API tests
2019-03-06 16:06:02 -05:00
renovate[bot]
c4b8b5ea44
chore(deps): update npm to v6.9.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/476 )
2019-03-06 14:18:39 -05:00
Kevin Killingsworth
245f472a4b
Category block: select categories when none selected ( https://github.com/woocommerce/woocommerce-blocks/pull/458 )
...
* Category block: open category panel when no categories
When no categories are selected, open the category panel on initial
render.
* Add check for editMode
Don't open categories if in edit mode because the block itself has a
category selection.
2019-03-06 13:51:21 -05:00
renovate[bot]
2ccdc07b85
chore(deps): update wordpress monorepo (major) ( https://github.com/woocommerce/woocommerce-blocks/pull/475 )
...
* chore(deps): update wordpress monorepo
* Remove unnecessary babel config
2019-03-06 13:50:44 -05:00
Kelly Dwan
9fa9257430
Blocks: Add rating to grid previews ( https://github.com/woocommerce/woocommerce-blocks/pull/472 )
...
* Add rating stars to the product preview
* Add rating to the visibility controls
2019-03-06 13:50:32 -05:00
renovate[bot]
432925a090
chore(deps): update wordpress monorepo ( https://github.com/woocommerce/woocommerce-blocks/pull/474 )
2019-03-06 12:59:42 -05:00
renovate[bot]
c66c9cd633
chore(deps): update dependency react-test-renderer to v16.8.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/473 )
2019-03-06 12:43:22 -05:00
renovate[bot]
056b42fd45
chore(deps): update node.js to v10.15.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/471 )
2019-03-05 13:13:00 -05:00
renovate[bot]
4a5eb512d3
chore(deps): update dependency eslint to v5.15.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/470 )
2019-03-05 12:56:11 -05:00
renovate[bot]
78d385f28c
chore(deps): update dependency autoprefixer to v9.4.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/469 )
2019-03-05 12:54:31 -05:00
renovate[bot]
8f998a4859
chore(deps): update dependency clean-webpack-plugin to v2 ( https://github.com/woocommerce/woocommerce-blocks/pull/466 )
...
* chore(deps): update dependency clean-webpack-plugin to v2
* Update options for v2.0
2019-03-04 09:48:27 -08:00
renovate[bot]
039bb10b89
fix(deps): pin dependency gridicons to 3.1.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/467 )
2019-03-04 09:42:47 -08:00
Kelly Dwan
7f78a79698
Set up plugin to be published on npm ( https://github.com/woocommerce/woocommerce-blocks/pull/456 )
...
* Move block rendering class into assets
* Update package.json for npm
* Move script registration into publish-able file
* Fix phpcs issue
* Add note about source of file
* Add wcSettings back in
* Rename files to match class name
* Add languages & includes back, so we can use this for publishing zip files
* Update documentation, versions, and add hook for wc components settings
* Update wcSettings output to use fitler
* Update version to `alpha`
* Make block library class into a singleton
2019-03-04 09:30:06 -08:00
renovate[bot]
e84670b4c4
chore(deps): update dependency eslint to v5.15.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/464 )
2019-03-03 13:13:09 -08:00
renovate[bot]
16562fff20
chore(deps): update dependency lint-staged to v8.1.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/463 )
2019-03-03 13:11:49 -08:00
Timmy Crawford
db79f75376
Update/wc blocks/v1/products ( https://github.com/woocommerce/woocommerce-blocks/pull/459 )
...
* Update products endpoint to match core.
* Update usage of cat_operator and attr_operator
* Fix phpcs issue
* Update parameter in tests
2019-02-28 10:07:38 -08:00
renovate[bot]
1990554765
chore(deps): update node.js to v10.15.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/462 )
2019-02-28 09:25:25 -08:00
renovate[bot]
20090582b6
chore(deps): update dependency webpack to v4.29.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/461 )
2019-02-28 09:25:08 -08:00
renovate[bot]
184acdec75
chore(deps): pin dependency composer/installers to 1.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/460 )
2019-02-28 09:24:51 -08:00
Kevin Killingsworth
1288fe1c75
Remove legacy block ( https://github.com/woocommerce/woocommerce-blocks/pull/457 )
...
* Remove legacy block
This removes the legacy products block and sets the version to
v2.0.0-dev
* Remove legacy product block test
* Update plugin header version
2019-02-26 14:16:21 -06:00
Timmy Crawford
8e3d19ee6d
REST API: Update usage of attributes/<id>/terms to match core. ( https://github.com/woocommerce/woocommerce-blocks/pull/453 )
...
* REST API: Update usage of attributes/<id>/terms to match core.
* phpcs fixes, i think
2019-02-26 08:11:31 -08:00
renovate[bot]
fb482b0cf6
chore(deps): update dependency @babel/core to v7.3.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/452 )
2019-02-26 10:18:43 -05:00
Kevin Killingsworth
7ffc11d987
Fix html in preview of product titles ( https://github.com/woocommerce/woocommerce-blocks/pull/444 )
...
* Fix html in preview of product titles
Previously the html wasn't rendered in the preview for product titles.
This renders the html.
* Update test snapshot
* Also decode html for featured preview name.
* Un-escape HTML for featured post title render
2019-02-25 23:32:04 -06:00
Kevin Killingsworth
ffc19e26ec
Add transforms for shared attributes. ( https://github.com/woocommerce/woocommerce-blocks/pull/448 )
...
* Add transforms for shared attributes.
This adds transforms for the 5 blocks which share attributes:
- woocommerce/product-best-sellers
- woocommerce/product-category
- woocommerce/product-new
- woocommerce/product-on-sale
- woocommerce/product-top-rated
* Use createBlock directly and rowColumnBlockTypes
This adds rowColumnBlockTypes as an array of woocommerce/* block types
that use row and column layouts
* Move block types into utils, and use without
This uses lodash instead of without instead of difference
It also moves the block types from an index into the shared-attributes
in utils.
2019-02-25 23:31:25 -06:00
Timmy Crawford
57155e685f
REST API: Change namespeace to reflect what will exist in Woo core. ( https://github.com/woocommerce/woocommerce-blocks/pull/451 )
2019-02-25 12:23:29 -08:00
renovate[bot]
612df2efb8
chore(deps): update dependency autoprefixer to v9.4.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/450 )
2019-02-25 10:16:00 -05:00
Kelly Dwan
930602bc8d
Remove shortcode tweaks ( https://github.com/woocommerce/woocommerce-blocks/pull/449 )
...
* Remove shortcode filter
WC core handles category & attribute IDs as of 3.5
* Bump min requirements to 3.5+
2019-02-22 13:16:46 -05:00
renovate[bot]
ae42ecbae3
chore(deps): update dependency react-test-renderer to v16.8.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/447 )
2019-02-21 14:02:16 -05:00
Kelly Dwan
5af66f5de5
Remove the edit-blocks dependency from front end styles ( https://github.com/woocommerce/woocommerce-blocks/pull/446 )
2019-02-21 14:01:04 -05:00
Kelly Dwan
17ff1aa886
Blocks: Add new content controls to grid blocks ( https://github.com/woocommerce/woocommerce-blocks/pull/440 )
...
* Component: GridContentControl for controlling visibility of product content
* Add the content control to all grid blocks
* Use CSS to hide the content on the front end
* Fix missing translation functions
2019-02-21 14:00:47 -05:00
Kelly Dwan
2a00a897d5
Components: Move SearchListControl to woocommerce/components ( https://github.com/woocommerce/woocommerce-blocks/pull/442 )
...
* Switch to using the SearchListControl from woocommerce/components
* Remove unused mixin
2019-02-21 13:07:08 -05:00
renovate[bot]
71d8235449
fix(deps): update dependency @woocommerce/components to v1.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/445 )
2019-02-21 12:53:07 -05:00
renovate[bot]
792ed91a5a
chore(deps): update dependency autoprefixer to v9.4.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/443 )
2019-02-20 12:19:26 -05:00
renovate[bot]
af8a180ce8
chore(deps): pin dependency rimraf to 2.6.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/441 )
2019-02-19 16:18:25 -05:00
Kelly Dwan
b14a37f7b5
Update CSS build process ( https://github.com/woocommerce/woocommerce-blocks/pull/439 )
...
* Split apart editor and frontend styles
* Remove the empty JS files after each build
* Pull out editor and style CSS files into two single, separate files
Rename products-grid CSS, add a “global” front end stylesheet
* Update style registration to use these two new global CSS files
* Merge style JS files into vendors before deleting them
* Remove empty file to fix lint error
* Check for file before reading from it
When watching, not all the file stubs are created, so this errors out.
2019-02-19 16:09:36 -05:00
Kevin Killingsworth
ecb0f7741b
Add catalog_visibility param to products api ( https://github.com/woocommerce/woocommerce-blocks/pull/406 )
...
* Add catalog_visibility param to products api
This adds a catalog_visibility=visible option to the product api which
will filter out any products that are excluded from the catalog.
* Add product_visibility phpunit test
* Add catalog_visibility for catalog, search, hidden
* Fix util js test
The util js test checks for query parameters, so this adds the
category_visibility = 'visible' param.
* Updated for comments
1. Added collection params
2. moved catalog_visibility default with others
2019-02-19 10:09:16 -06:00
renovate[bot]
6790518efc
chore(deps): update dependency eslint to v5.14.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/438 )
2019-02-18 16:02:40 -05:00
Kelly Dwan
a503af9e51
Add space between the icon and placeholder title ( https://github.com/woocommerce/woocommerce-blocks/pull/421 )
2019-02-18 09:48:34 -05:00
renovate[bot]
e5e7737058
chore(deps): update dependency @babel/core to v7.3.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/435 )
2019-02-18 09:48:19 -05:00
renovate[bot]
6378556414
chore(deps): update dependency eslint to v5.14.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/434 )
2019-02-18 09:47:51 -05:00
renovate[bot]
181f126e58
chore(deps): update dependency webpack to v4.29.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/436 )
2019-02-18 09:21:10 -05:00
renovate[bot]
62397dcd87
chore(deps): update dependency webpack to v4.29.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/431 )
2019-02-15 11:18:03 -05:00
renovate[bot]
7eb27e61bc
chore(deps): update dependency core-js to v2.6.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/430 )
2019-02-15 11:17:33 -05:00
renovate[bot]
04e3747acb
chore(deps): update dependency react-test-renderer to v16.8.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/429 )
2019-02-15 11:16:40 -05:00
Kelly Dwan
81845a1bf9
Fix changelog headings ( https://github.com/woocommerce/woocommerce-blocks/pull/428 )
2019-02-14 13:14:27 -05:00
renovate[bot]
9089346cc3
chore(deps): update dependency cssnano to v4.1.10 ( https://github.com/woocommerce/woocommerce-blocks/pull/425 )
2019-02-14 13:00:43 -05:00
renovate[bot]
9de561702b
chore(deps): update dependency eslint-plugin-jest to v22.3.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/427 )
2019-02-14 13:00:26 -05:00
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