Albert Juhé Lluveras
6e2b5ebb8a
Downgrade @wordpress/scripts to 17.1.0 to fix dependency mistmach issue ( https://github.com/woocommerce/woocommerce-blocks/pull/5349 )
...
* Downgrade @wordpress/scripts to 17.1.0 to fix dependency mistmach issue
* Update package-lock.json
2021-12-10 17:44:03 +01:00
renovate[bot]
7822affe2e
Update dependency @types/wordpress__compose to v4.0.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5334 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 05:51:31 +00:00
renovate[bot]
5e3528a05c
Pin dependencies ( https://github.com/woocommerce/woocommerce-blocks/pull/5333 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-08 03:25:48 +00:00
Mike Jolley
cfeb5558b7
Update WordPress Monorepo packages with React 17x support ( https://github.com/woocommerce/woocommerce-blocks/pull/5223 )
...
* Use npm 14
* Update WP packages
* Update non-dev wordpress dependencies
* Remove usage of @automattic/data-stores
* Moves tag, search-list-control components back into private `editor-components` to mitigate dependency conflicts with`@woocommerce/components`
* Fix tests with act()
* package-lock
* fix broken maps
* Patch 14x package
* update locks
* Revert nvmrc change
* Fix tests due to debounce
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
2021-12-07 15:47:50 +00:00
Tom Cafferkey
44aaf67caa
Updated version numbers for the next release
2021-12-07 11:51:42 +00:00
renovate[bot]
5565b3030a
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5313 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-07 01:23:20 +01:00
M. L. Giannotta
4651f64341
Storybook and TS migration of ReadMore component ( https://github.com/woocommerce/woocommerce-blocks/pull/5300 )
...
* Update packages to latest Storybook deps
* Migrate `ReadMore` component and its utils to TypeScript
* Add type definitions for `trim-html` package
* Migrate `ReadMore` stories to newest Storybook
Fixes woocommerce/woocommerce-blocks#5254
2021-12-06 18:00:33 +01:00
M. L. Giannotta
bee06b6005
Storybook and TS migration of `ErrorPlaceholder` component ( https://github.com/woocommerce/woocommerce-blocks/pull/5294 )
...
* Convert `ErrorPlaceholder` and `ErrorMessage` to TypeScript
* Add stories for `ErrorPlaceholder` and `ErrorMessage` (https://github.com/woocommerce/woocommerce-blocks/pull/5255 )
Stories include:
* Default generic error
* API error
* Unknown error
* Error without possibility to retry
* Base Error atom
Where applicable, the **Retry** button will not only trigger the appropriate
action, but also simulate the loading state of the error component.
* Update references to `ErrorMessage` component to leave the file extension out
Fix woocommerce/woocommerce-blocks#5255
Refs woocommerce/woocommerce-blocks#5249
2021-12-02 17:56:03 +01:00
M. L. Giannotta
7e9f8c822d
Migrate Storybook to 6.4.0 and enable auto-detection of controls ( https://github.com/woocommerce/woocommerce-blocks/pull/5249 ) ( https://github.com/woocommerce/woocommerce-blocks/pull/5264 )
...
* Migrate Storybook to 6.4.0 and enable auto-detection of controls (https://github.com/woocommerce/woocommerce-blocks/pull/5249 )
Previously our Babel configuration conflicted with the one provided by
default by Storybook, making us unable to leverage the automatic
detection of properties from both JS and TS components to create
controls (formerly known as knobs).
Upgrading to 6.4.0 fixes a bug that makes it easier to work with
Babel configurations. Also done here:
* Removed a few deprecated addons in favor of the replacement ones
bundled within Storybook Essentials.
* Add auto-detection of certain control types depending on the property names
* Add support for TS stories
More context: https://github.com/storybookjs/storybook/issues/12292
* Use `react-docgen` only in development environments
This should reduce production bundle size dramatically. The only
problem here is that Storybook runs its `build` command with the
`NODE_ENV` set to `production`. For this reason, we change the
script to provide `BABEL_ENV` set to `development` to still make sure
the correct configuration is loaded, while trying to reduce any
side-effects on changing the whole `NODE_ENV`.
2021-12-01 12:28:27 +01:00
renovate[bot]
302807474a
Update dependency @storybook/addon-knobs to v6.4.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5283 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 03:09:42 +00:00
renovate[bot]
3f7c17553b
Update dependency jest-environment-puppeteer to v6.0.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5282 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 03:07:03 +00:00
renovate[bot]
2e4a303fed
Update dependency json-schema to 0.4.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5275 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-30 10:01:52 +00:00
Mike Jolley
c067e990b4
Introduce `<Noninteractive>` component to disable form elements non-visually ( https://github.com/woocommerce/woocommerce-blocks/pull/5157 )
...
* Noninteractive component based on Disabled
* Implement in cart/checkout
* Pass down props
* Update 'use-debounce' library
* aria disabled
2021-11-26 14:47:37 +00:00
renovate[bot]
bb97273115
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5209 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 11:36:49 +01:00
renovate[bot]
5542abba97
Update dependency @stripe/react-stripe-js to v1.6.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5228 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 04:52:40 +00:00
renovate[bot]
bb5d23a4e9
Update dependency @octokit/graphql to v4.8.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5227 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 04:49:55 +00:00
renovate[bot]
667da6ee02
Update dependency reakit to v1.3.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/5226 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 02:14:41 +00:00
renovate[bot]
8ea8d9cedf
Update dependency @types/jquery to v3.5.9 ( https://github.com/woocommerce/woocommerce-blocks/pull/5225 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 02:01:04 +00:00
Mike Jolley
ed0a9a2d91
Implement `@wordpress/babel-preset-default` (drops IE11 support) ( https://github.com/woocommerce/woocommerce-blocks/pull/5212 )
...
* Implement @wordpress/babel-preset-default
* remove alraedy included libs
* remove other deps
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
2021-11-23 14:49:35 +00:00
Albert Juhé Lluveras
ddc8fcccd1
Bump version to 6.5.0-dev
2021-11-23 09:03:08 +01:00
renovate[bot]
84a5f57be9
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/5137 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 17:57:19 +01:00
Niels Lange
af8f5e857c
Bump version numbers to 6.4.0-dev
2021-11-17 21:55:48 +07:00
renovate[bot]
79bd37069b
Update dependency @types/react to v16.14.21 ( https://github.com/woocommerce/woocommerce-blocks/pull/5162 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 04:41:35 +00:00
renovate[bot]
2baf7bd8fc
Update dependency @types/lodash to v4.14.177 ( https://github.com/woocommerce/woocommerce-blocks/pull/5161 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 03:08:12 +00:00
renovate[bot]
a121199d3f
Update dependency @babel/preset-env to v7.16.4 ( https://github.com/woocommerce/woocommerce-blocks/pull/5160 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 02:56:46 +00:00
renovate[bot]
52d8f6661c
Update dependency @types/gtag.js to v0.0.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/5117 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 16:47:41 +00:00
Albert Juhé Lluveras
6aeac39f17
Downgrade @wordpress/scripts to 17.1.0 to fix dependency mistmach issue ( https://github.com/woocommerce/woocommerce-blocks/pull/5124 )
...
* Downgrade @wordpress/scripts to a previous version to fix dependency mismatch
* Fix typo
2021-11-11 12:06:04 +01:00
renovate[bot]
645d534bda
Update babel monorepo to v7.16.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5118 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 03:44:41 +00:00
dependabot[bot]
a348f9ea33
Bump url-parse from 1.5.1 to 1.5.3 ( https://github.com/woocommerce/woocommerce-blocks/pull/5114 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 15:13:13 +00:00
dependabot[bot]
f36ec18bc2
Bump validator from 13.6.0 to 13.7.0 ( https://github.com/woocommerce/woocommerce-blocks/pull/5083 )
...
Bumps [validator](https://github.com/validatorjs/validator.js ) from 13.6.0 to 13.7.0.
- [Release notes](https://github.com/validatorjs/validator.js/releases )
- [Changelog](https://github.com/validatorjs/validator.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/validatorjs/validator.js/compare/13.6.0...13.7.0 )
---
updated-dependencies:
- dependency-name: validator
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 14:31:00 +00:00
dependabot[bot]
5619627eb7
Bump tmpl from 1.0.4 to 1.0.5 ( https://github.com/woocommerce/woocommerce-blocks/pull/5081 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 14:29:41 +00:00
dependabot[bot]
b8536f2c7f
Bump tar from 6.1.0 to 6.1.11 ( https://github.com/woocommerce/woocommerce-blocks/pull/5082 )
...
Bumps [tar](https://github.com/npm/node-tar ) from 6.1.0 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases )
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.11 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-09 14:28:56 +00:00
renovate[bot]
527f286d14
Update dependency eslint-import-resolver-webpack to v0.13.2 ( https://github.com/woocommerce/woocommerce-blocks/pull/5055 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 14:27:57 +00:00
renovate[bot]
7cf1c4eaf0
Update dependency nth-check to 2.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5085 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 14:20:18 +00:00
renovate[bot]
b370f9dc3c
Update dependency locutus to 2.0.15 [SECURITY] ( https://github.com/woocommerce/woocommerce-blocks/pull/5084 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 13:53:13 +00:00
Mike Jolley
70f0c06bf9
Fix e2e tests welcome guide/m1 mac support ( https://github.com/woocommerce/woocommerce-blocks/pull/5096 )
...
* Bump dependencies to fix e2e on m1 macs
* Disable welcome guide more reliably - see 3da717b8d0/packages/e2e-test-utils/src/create-new-post.js
* Update selectors and fixture data for cart block
* unused dep
* Remove duplicate block wrapper
* Remove unused jest configuration files
* More robust click in view switcher test
* Revert fixture data change
2021-11-09 13:18:55 +00:00
renovate[bot]
2466f03f28
Update storybook monorepo to v6.3.12 ( https://github.com/woocommerce/woocommerce-blocks/pull/5056 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 03:31:15 +00:00
renovate[bot]
cda282ff6c
Update dependency dinero.js to v1.9.1 ( https://github.com/woocommerce/woocommerce-blocks/pull/5007 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 18:42:18 +00:00
Tung Du
9b1a289683
Add global styles to Product Title block ( https://github.com/woocommerce/woocommerce-blocks/pull/5009 )
...
Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2021-10-28 22:51:25 +07:00
Michael P. Pfeiffer
b5bb42e799
Update version following release
2021-10-28 09:10:37 +02:00
renovate[bot]
3bc74b1fb2
Update dependency @types/react to v16.14.20 ( https://github.com/woocommerce/woocommerce-blocks/pull/5006 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 04:44:14 +00:00
renovate[bot]
506b6a8d10
Update dependency @types/lodash to v4.14.176 ( https://github.com/woocommerce/woocommerce-blocks/pull/5004 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 02:42:19 +00:00
Tom Cafferkey
b8fbb56055
Convert Title component to TypeScript ( https://github.com/woocommerce/woocommerce-blocks/pull/4891 )
...
* Convert sharedConfig and Title blockConfig to TS
* Convert constants.tsx to TS
* Convert attributes.js to TS
* Amend attributes.ts record type
* Convert title component edit.js to TS
* Convert title component block.js to TS
* Amend product name index.tsx to prevent TS errors in product title block.tsx
* Amend product-name and base tsconfig
* Add rel to ProductName component element
* Replace ReactElement with JSX.Element
* Move TagName component to outside of the main component
* Add HTMLAttributes import
* WIP: Add props to TagName component
* Fix TagName typing
* Update TagName interface
* Replace ReactElement typing with JSX.Element
* Code review feedback amends
* Replace return type undefined to void
Co-authored-by: Michael P. Pfeiffer <michael@cssconf.eu>
2021-10-21 09:58:03 +01:00
renovate[bot]
17dbd667bc
Update dependency @types/jquery to v3.5.8 ( https://github.com/woocommerce/woocommerce-blocks/pull/4968 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 09:52:39 +01:00
Mike Jolley
dc19412a54
Update dependency @woocommerce/e2e-utils to v0.1.6 ( https://github.com/woocommerce/woocommerce-blocks/pull/4957 )
...
* Update @woocommerce/e2e-utils
* Define grouped
2021-10-18 20:01:10 +01:00
renovate[bot]
45b1b4569b
Lock file maintenance ( https://github.com/woocommerce/woocommerce-blocks/pull/4883 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:08:05 +01:00
renovate[bot]
409230cff5
Update dependency @types/react to v16.14.17 ( https://github.com/woocommerce/woocommerce-blocks/pull/4933 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:00:13 +01:00
renovate[bot]
f8c9bc54f9
Update dependency @types/jquery to v3.5.7 ( https://github.com/woocommerce/woocommerce-blocks/pull/4932 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 14:59:52 +01:00
Thomas Roberts
db34f28c4f
Version bump following release
2021-10-13 15:41:47 +01:00
Mike Jolley
cf7d5d8d53
Add hook documentation and build script ( https://github.com/woocommerce/woocommerce-blocks/pull/4927 )
...
* Script to generate hook docs
* Inline docs for action and filter hooks
* __experimental_woocommerce_blocks_checkout_order_processed example
* Update doc generation
* Document exceptions
* examples
* Fix a typo
* Remove unused dependency
* add platform override for phpunit tests
2021-10-13 10:45:59 +01:00