Commit Graph

929 Commits

Author SHA1 Message Date
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] d822515b2f Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-11 14:01:24 +12:00
louwie17 812743d3ff Move experimental list components to experimental package (https://github.com/woocommerce/woocommerce-admin/pull/6950)
* Move experimental list components to experimental package

* Update changelogs

* Fix lint errors

* Fix lint error

* Update css lint

* Fix test

* Update package lock
2021-05-10 11:40:49 -03: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
Paul Sealock 34d1f8c36c Use Rule Processing for Free Extensions List (https://github.com/woocommerce/woocommerce-admin/pull/6933)
* Copy payments gateways

* remove field localization

* remove is_configured
2021-05-06 11:49:47 +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] 9052c25461 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 16:02:01 -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
louwie17 071a68b950 Update task list component to make use of new experimental list (https://github.com/woocommerce/woocommerce-admin/pull/6849)
* Add initial task item component with the new task list

* Switch components to functional components

* Some minor updates from the last rebase

* Fix missing variables.

* Fix tests

* Add animation for the experimental list

* Fix lint error

* Add changelog

* Fix E2E tests

* Update PR suggestions and export list from experimental package

* Fix dismiss styling issue

Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-04-27 12:23:34 -03: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
louwie17 4141e5b59c Deleted and re-generated package lock to fix packages (https://github.com/woocommerce/woocommerce-admin/pull/6843)
* Deleted and re-generated package lock to fix packages

* Add changelog

* Add sleep after docker:up
2021-04-22 12:18:15 -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
louwie17 7859e37221 Making experimental package public and updating its dependency versions (https://github.com/woocommerce/woocommerce-admin/pull/6810)
* Making experimental package public, and updating the dependency versions

* add experimental to webpack and make explat public

* bump DEWP package version

* use filepath for inter package dependencies

* load experimental script

* remove check for experimental

Co-authored-by: Sam Seay <samueljseay@gmail.com>
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-04-16 15:34:15 +12: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] 5266784930 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 14:02:06 +10: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
Renovate Bot 3b02fa02a5 Update dependency @testing-library/jest-dom to v5.11.10 2021-03-31 03:48:00 +00:00
Renovate Bot 6722a2b0ce Update babel monorepo to v7.13.14 2021-03-31 02:58:32 +00:00
Renovate Bot 64dc45d438 Pin dependency @types/wordpress__components to 9.8.6 2021-03-31 01:55:12 +00:00
Adrian Duffell a5e14e9fb2 Add TypeScript to CustomerFeedbackModal (https://github.com/woocommerce/woocommerce-admin/pull/6498)
* Add types

* Add type definitions for @wordpress/components

* Fix formatting

* Fix JSX return type

* Fix incorect type for rows

* Add null to return type for react component

* Add type definitions for @wordpress/components to main package

* Add changelog entry

* Remove TS filename from import

* Re-add @types/wordpress__components
2021-03-30 20:04:08 +08:00
renovate[bot] 5a215e7ff4 Update dependency dompurify to v2.2.7 (https://github.com/woocommerce/woocommerce-admin/pull/6608)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 14:17:01 +10:00
renovate[bot] 889b8619b7 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/6605)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 14:05:58 +10:00
Sam Seay cc01b9816e Fix TypeScript build for `packages` and add types for wc/data's onboarding store (https://github.com/woocommerce/woocommerce-admin/pull/6595) 2021-03-25 10:29:37 +13:00
Renovate Bot 7a4cfa909a Update dependency @typescript-eslint/eslint-plugin to v4.19.0 2021-03-24 10:09:48 +00:00
Renovate Bot 032613d485 Update babel monorepo to v7.13.12 2021-03-24 04:48:50 +00:00
renovate[bot] cb4e300ee6 Update dependency fork-ts-checker-webpack-plugin to v6.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/6655)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 15:50:23 +13:00
renovate[bot] b47698bf4f Update dependency @automattic/color-studio to v2.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/6606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 11:08:17 +13:00
renovate[bot] f45ec227c5 Update dependency autoprefixer to v10.2.5 (https://github.com/woocommerce/woocommerce-admin/pull/6548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-19 12:03:16 +10:00
Paul Sealock b7360d0d55 Add typescript to Nav utils (https://github.com/woocommerce/woocommerce-admin/pull/6477)
* Add typescript to nav utils--no-verify

* save

* progress

* fixup category

* better

* getting closer

* grrr

* appease the type gods

* move types to start of page

* Fixup addHistoryListener

* Add typescript to nav utils--no-verify

* save

* progress

* fixup category

* better

* fix tsconfig

* changelog

* add babel jest typescript preset for tests

* fix rebase issue

* PR feedabck

* update package-lock

* eslint fix
2021-03-18 16:38:38 +13:00
renovate[bot] b6c9527d3b Update dependency copy-webpack-plugin to v5.1.2 (https://github.com/woocommerce/woocommerce-admin/pull/6496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-18 13:01:51 +10:00