Commit Graph

923 Commits

Author SHA1 Message Date
Sam Seay d9daed0a4f Update the wordpress/babel-preset to avoid crashes in WP5.8 beta2 (https://github.com/woocommerce/woocommerce-admin/pull/7202)
* Update the wordpress/babel-preset to avoid crashes in WP5.8 beta2

* Also update other dependencies dropping IE11 support.

* Update data dep in data package.

* Add back regen runtime.

* Add regenerator-runtime dependency for setting up jest tests

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-06-18 13:13:17 +08:00
Ilyas Foo 7e4e0566f9 Update version to 2.5.0-dev and sync changelog and testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7156) 2021-06-11 11:38:19 +08:00
Renovate Bot 9dfb748827 Update dependency fork-ts-checker-webpack-plugin to v6.2.10 2021-06-09 06:51:00 +00:00
Renovate Bot a942fa4f99 Pin dependencies 2021-06-09 02:57:00 +00:00
Sam Seay b7a518b343 Update engines to better reflect supported node/npm versions. (https://github.com/woocommerce/woocommerce-admin/pull/7126) 2021-06-09 12:55:21 +12:00
Sam Seay 97cf2079e8 Drop IE11 support, trim the build ~800kb (https://github.com/woocommerce/woocommerce-admin/pull/7112) 2021-06-04 08:01:16 +12:00
renovate[bot] 302c7f95e4 Update dependency dompurify to v2.2.9 (https://github.com/woocommerce/woocommerce-admin/pull/7100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 14:11:24 +12:00
Sam Seay 8f3c396cfd When publishing the docs on gh workflow the WP css was not imported (https://github.com/woocommerce/woocommerce-admin/pull/7102) 2021-06-02 16:39:34 +12:00
Sam Seay edc8a1bdc5 Publish storybook docs, remove react docgen based docs (https://github.com/woocommerce/woocommerce-admin/pull/7055) 2021-06-02 15:54:00 +12:00
Renovate Bot 7b55ab54ac Update dependency eslint-import-resolver-webpack to v0.13.1 2021-06-02 03:04:48 +00:00
Renovate Bot 24ae284475 Update dependency autoprefixer to v10.2.6 2021-06-02 02:37:52 +00:00
Renovate Bot 283ce29f84 Update dependency @types/lodash to v4.14.170 2021-06-02 01:58:59 +00:00
Joel Thiessen bb7f1dc466 Refactoring WCPayCard into new onboarding package (https://github.com/woocommerce/woocommerce-admin/pull/7058) 2021-05-28 16:26:38 -07:00
Ron Rennick 5cbd87e8ac bump E2E package versions to latest (https://github.com/woocommerce/woocommerce-admin/pull/7056) 2021-05-28 17:59:49 -03:00
Renovate Bot c6890e11c0 Update dependency @testing-library/user-event to v13.1.9 2021-05-26 04:31:16 +00:00
Renovate Bot 0eacca32db Update dependency @testing-library/react to v11.2.7 2021-05-26 03:55:41 +00:00
louwie17 b3c6d25daa Fix deprecated warnings from `select` control in `@wordpress/data-controls` (https://github.com/woocommerce/woocommerce-admin/pull/7007)
* Made use of the wordpress/data controls instead of depreciated data-controls package

* Fix test and add changelog

* Remove space
2021-05-25 12:14:31 -03:00
louwie17 b642576e34 Remove the use of Dashicons and replace with `@wordpress/icons` or `gridicons` (https://github.com/woocommerce/woocommerce-admin/pull/7020)
* Updated mobile banner icon with cross-small gridicon

* Update analytics dashboard icons, removing use of dashicon

* Remove use of dash icon in tag component

* Remove dash icon from ellipsis menu

* Remove use of dashicon in calendar

* Update icon imports and remove use of Dashicon in collapsible list

* Remove Dashicon usage from store alerts as it is depreciated

* Remove dashicon usage in shipping label

* Fix up old css for icons

* Removed dashicon usage in favorite button

* Update the wordpress/icons package

* Add changelogs

* Fix broken test
2021-05-25 12:14:14 -03:00
Ilyas Foo f5557fcceb Post-Release 2.3.1: Sync readme changelog and testing instructions (https://github.com/woocommerce/woocommerce-admin/pull/7062)
* Remove remnants of legacy changelog script

* Add 2.3.0 section to TESTING-INSTRUCTIONS.md and moved all relevant instructions

* Update readme.txt with changelog from 2.3.1
2021-05-25 12:53:26 +08:00
Paul Sealock b37082630a bump ExPlat deps and prep for release (https://github.com/woocommerce/woocommerce-admin/pull/7010)
* bump explat deps

* package lock update
2021-05-25 16:25:10 +12:00
renovate[bot] f817302e99 Update dependency dompurify to v2.2.8 (https://github.com/woocommerce/woocommerce-admin/pull/6972)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-25 07:43:44 +12:00
renovate[bot] a85ce2f171 Update dependency typescript to v4.2.4 (https://github.com/woocommerce/woocommerce-admin/pull/7012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 15:48:00 +12:00
Renovate Bot 37422bd809 Update dependency webpack-cli to v3.3.12 2021-05-19 03:18:35 +00:00
Renovate Bot b4015a2b79 Pin dependency @types/dompurify to 2.2.2 2021-05-19 01:41:34 +00:00
Timmy Crawford 5c8fe41506 Update version to 2.4.0-dev and sync changelogs with release/2.3.0 branch (https://github.com/woocommerce/woocommerce-admin/pull/6991) 2021-05-14 14:50:15 -07:00
Jeff Stieler bdd91b3337 Move TaskItem component to experimental package for reuse. (https://github.com/woocommerce/woocommerce-admin/pull/6978)
* Move TaskItem component to experimental package for reuse.

* Bump package version.

* Add dompurify types.
2021-05-13 08:05:30 -06:00
Renovate Bot 64eb902257 Update dependency terser-webpack-plugin to v2.3.8 2021-05-12 05:01:15 +00:00
Renovate Bot 9df869c45f Update dependency replace to v1.2.1 2021-05-12 03:46:22 +00:00
Renovate Bot 3b60c8d3a5 Update dependency fork-ts-checker-webpack-plugin to v6.2.7 2021-05-12 02:26:18 +00:00
renovate[bot] 47d0bebea3 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/6929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-10 13:34:20 +12:00
Renovate Bot 68324b0e20 Update dependency comment-parser to v1.1.5 2021-05-05 05:10:10 +00:00
Renovate Bot e79dc61a73 Update dependency @typescript-eslint/eslint-plugin to v4.22.1 2021-05-05 03:59:31 +00:00
Renovate Bot 4666999fc2 Update dependency @testing-library/user-event to v13.1.8 2021-05-05 02:16:40 +00:00
renovate[bot] a802e8fb64 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/6796)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 16:18:45 -03:00
Renovate Bot 08af1bce4c Update dependency chalk to v4.1.1 2021-04-28 09:05:52 +00:00
Renovate Bot 02133c919f Update dependency @types/jest to v26.0.23 2021-04-28 05:26:32 +00:00
Renovate Bot 4e9f4df65c Update dependency @testing-library/jest-dom to v5.12.0 2021-04-28 01:54:46 +00:00
renovate[bot] d75b07267e Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/6839)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-27 16:55:14 -04:00
Sam Seay ed483ab43d Refactor <List> to support custom markup (https://github.com/woocommerce/woocommerce-admin/pull/6787)
* Create the new experimental list, default to rendering it when items are not supplied.

* Remove typings from the List, ListItem.

* Add react-transition-group as dependency.

* Fix warnings by wrapping with CSS transition, pass down props from List.

* Remove type annotations left in list-item.

* Duplicate some styles in the higher level woocommerce-list-item element, to make them work in the new list.

* Fix accessibility issues, adjust the role logic

* Add more testing of the roles logic.

* Mark the old list stories as deprecated, add a basic story for the new style.

* Expose ListItem without Experimental in the name.

* Remove some redundant code changes.

* Fix linting issues

* Add types package.

* Cast the type of children to TransitionGroup.

* Adjust the list to assume a purpose of being a list of links.

* Adjust the tests for the new behaviour.

* Fix css mangled by prettier.

* Fix types that are optional.

* Rework the list item.

* Export new list as experimental, fix accessibility styles and deprecation notice.

* Make the basic transition opt-in.

* Update classnames to get types.

* Add tests, adjust behaviour for css disable.

* Fix css lint, remove types/classnames, update tetsing-library/user-event.

* Fix the basic story for ExperimentalList.

* Conditionally add keyDown and role based on onClick handler. Adjust tests to new behaviour.

* tabIndex only on hasAction

* Update the package-lock

* Add changelog

* Fix transition styling

Co-authored-by: Paul Sealock <psealock@gmail.com>
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-04-23 15:47:43 -03:00
Fernando af888f5b0b Added debugger instruction to package.json (https://github.com/woocommerce/woocommerce-admin/pull/6835)
# Conflicts:
#	package.json

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-04-22 13:59:55 -03:00
louwie17 be7dd2dd5e Add recommended payment methods (https://github.com/woocommerce/woocommerce-admin/pull/6760)
* Add initial payment recommendations code for the payments settings

* Added request data for the recommended payments

* Some styling updates and make sure it does not show when marketplace suggestions is disabled

* Update url

* Update comment in php class

* Add tests

* Fix lint errors

* Remove unnecessary type

* Fix lint error

* Fix broken test

* Convert plugin package to typescript

* Fix lint errors

* Add changelog

* Add support for locale-data

* Fix track name

* Fix up the tests

* Fix lint errors

* Address PR feedback

* Add tests for option hydration

* Make types more robust in plugins reducer

* Made use of SlotFill component instead of page registry and router

* Removed console log, and fixed types

* Add newer version of i18n to data package, for newer types

* Make the request to WooCommerce.com more restrictive

* Fix path of import

* Update PHP with suggested changes

* Remove SlotFill with applyFilters

* Update copy and PR feedback

* Update package lock

* Updated package lock

* Fix the package lock

* Added dot, and some minor styling changes

* Add test instructions
2021-04-20 14:17:19 -03:00
Sam Seay b13feaeafd Add some tweaks to e2e tests to try and resolve flakyness issues (https://github.com/woocommerce/woocommerce-admin/pull/6812) 2021-04-16 10:47:21 +12:00
Paul Sealock 7ab756b76c Try ExPlat: Add A/A test (https://github.com/woocommerce/woocommerce-admin/pull/6669)
* Add basic ExPlat initialization

* add tsx support
2021-04-15 13:32:46 +12:00
Renovate Bot 86f3019fde Update dependency @typescript-eslint/eslint-plugin to v4.22.0 2021-04-14 04:26:17 +00:00
Renovate Bot 10a455c453 Update babel monorepo to v7.13.15 2021-04-14 02:37:37 +00:00
Renovate Bot 616dced818 Update dependency @woocommerce/api to v0.1.2 2021-04-07 08:10:35 +00:00
Renovate Bot 642b8c44c3 Update dependency @typescript-eslint/eslint-plugin to v4.21.0 2021-04-07 05:04:00 +00:00
Renovate Bot 7af6724e0f Update dependency @types/jest to v26.0.22 2021-04-07 04:05:05 +00:00
Renovate Bot e8e04d2e2a Update dependency @testing-library/react to v11.2.6 2021-04-07 03:07:07 +00:00
Sam Seay 9dd75e83f8 Improve page object encapsulation, refactor e2e suite, add more e2e tests. (https://github.com/woocommerce/woocommerce-admin/pull/6682) 2021-04-05 12:09:36 +12:00