├── .nvmrc ├── scripts ├── .gitignore ├── package.json ├── commands │ ├── bump-version.js │ └── readme.js └── release.js ├── .eslintignore ├── tests ├── mocks │ ├── static.js │ └── woocommerce-settings.js ├── setup │ ├── setup-react-testing-library.js │ ├── setup-window-globals.js │ └── setup-globals.js └── unit-tests │ └── example.php ├── .prettierrc.js ├── src ├── payment-gateway-suggestions │ └── components │ │ ├── Toggle │ │ ├── index.js │ │ ├── Toggle.scss │ │ └── Toggle.js │ │ ├── List │ │ ├── index.js │ │ ├── fallback.png │ │ ├── List.js │ │ └── Placeholder.js │ │ ├── Setup │ │ ├── index.js │ │ ├── Setup.scss │ │ └── Placeholder.js │ │ └── WCPay │ │ ├── index.js │ │ ├── suggestion.scss │ │ ├── UsageModal.js │ │ └── utils.js ├── free-trial │ ├── tax │ │ ├── avalara │ │ │ └── logo.png │ │ ├── woocommerce-tax │ │ │ ├── logo.png │ │ │ ├── automated-taxes.tsx │ │ │ ├── setup.scss │ │ │ ├── connect.tsx │ │ │ └── index.tsx │ │ ├── components │ │ │ ├── bullet.tsx │ │ │ ├── connect.tsx │ │ │ ├── partner-card.scss │ │ │ ├── partners.scss │ │ │ ├── partners.tsx │ │ │ ├── partner-card.tsx │ │ │ └── store-location.tsx │ │ └── manual-configuration │ │ │ ├── index.tsx │ │ │ └── configure.tsx │ └── fills │ │ ├── index.ts │ │ └── woocommerce-payments.js ├── marketing │ └── images │ │ └── browser-people.jpg ├── task-headers │ ├── assets │ │ └── images │ │ │ ├── add-domain-illustration.png │ │ │ └── timer.svg │ ├── index.ts │ ├── add-domain.js │ └── products.js ├── utils │ ├── admin-settings.js │ ├── hooks │ │ └── use-appearance-click.js │ ├── escape.js │ ├── storage.js │ └── index.js ├── task-fills │ ├── index.js │ ├── get-paid-with-paypal.js │ ├── get-paid-with-square.js │ ├── get-paid-with-stripe.js │ └── appearance.js ├── notice │ ├── style.scss │ └── index.js ├── homescreen-progress-header │ ├── style.scss │ ├── index.js │ └── task-list-menu.tsx ├── launch-store │ └── images │ │ ├── copy.js │ │ ├── globe_icon.js │ │ ├── card_icon.js │ │ ├── lock.js │ │ └── products_icon.js ├── homescreen-banner │ └── style.scss ├── task-completion │ ├── fill.tsx │ └── style.scss ├── disabled-tasks │ ├── style.scss │ └── index.tsx ├── payments-welcome │ ├── banner.tsx │ ├── tracks.ts │ └── cards │ │ └── cb.js ├── stylesheets │ └── _variables.scss ├── wc-navigation-root-url.js ├── introductory-offer-banner │ └── style.scss └── track-menu-item.ts ├── babel.config.js ├── typings ├── index.d.ts └── global.d.ts ├── assets ├── fonts │ ├── WCPay.eot │ ├── WCPay.ttf │ ├── WCPay.woff │ └── WCPay.svg ├── images │ ├── klarna.png │ ├── square.png │ ├── cart-active.png │ ├── cart-default.png │ ├── cart-hovered.png │ ├── welcome-modal-illustration-1.png │ ├── welcome-modal-illustration-2.png │ ├── plugins-landing-page-hero-desktop.png │ ├── extensions-landing-page-hero-desktop.png │ ├── extensions-landing-page-hero-mobile.png │ └── icon-flag.svg ├── css │ ├── customize-store.css │ ├── ecommerce-navigation.css │ ├── free-trial-plan-picker-banner.css │ ├── free-trial-admin.css │ └── nav-unification.css └── scripts │ └── frontend-banner-tracks.js ├── .husky └── pre-commit ├── languages ├── wc-calypso-bridge-ar.mo ├── wc-calypso-bridge-ja.mo ├── wc-calypso-bridge-de_DE.mo ├── wc-calypso-bridge-es_CL.mo ├── wc-calypso-bridge-es_ES.mo ├── wc-calypso-bridge-es_MX.mo ├── wc-calypso-bridge-fr_BE.mo ├── wc-calypso-bridge-fr_CA.mo ├── wc-calypso-bridge-fr_FR.mo ├── wc-calypso-bridge-he_IL.mo ├── wc-calypso-bridge-id_ID.mo ├── wc-calypso-bridge-it_IT.mo ├── wc-calypso-bridge-ko_KR.mo ├── wc-calypso-bridge-nl_NL.mo ├── wc-calypso-bridge-pt_BR.mo ├── wc-calypso-bridge-ru_RU.mo ├── wc-calypso-bridge-sv_SE.mo ├── wc-calypso-bridge-tr_TR.mo ├── wc-calypso-bridge-zh_CN.mo ├── wc-calypso-bridge-zh_SG.mo ├── wc-calypso-bridge-zh_TW.mo ├── wc-calypso-bridge-id_ID-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-es_ES-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-id_ID-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-es_CL-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-es_MX-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-nl_NL-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-it_IT-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-es_CL-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-es_ES-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-es_MX-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-nl_NL-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-it_IT-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-pt_BR-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-de_DE-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-sv_SE-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-pt_BR-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-de_DE-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-sv_SE-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-fr_FR-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-fr_BE-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-fr_CA-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-id_ID-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-fr_FR-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-fr_BE-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-fr_CA-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-tr_TR-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-es_ES-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-es_CL-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-es_MX-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-nl_NL-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-tr_TR-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-zh_CN-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-zh_SG-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-zh_TW-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-it_IT-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-pt_BR-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-zh_CN-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-zh_SG-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-zh_TW-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-sv_SE-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-de_DE-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-fr_FR-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-fr_BE-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-fr_CA-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-tr_TR-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-zh_TW-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-zh_CN-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-zh_SG-d306b16f43f72fde801a43dea46bfd64.json ├── wc-calypso-bridge-ko_KR-beb9e19fb5e7cb316b39d09ff6ca8bdf.json ├── wc-calypso-bridge-ko_KR-ce1126179ccf98c51c6a61cf74680416.json ├── wc-calypso-bridge-ja-beb9e19fb5e7cb316b39d09ff6ca8bdf.json └── wc-calypso-bridge-ja-ce1126179ccf98c51c6a61cf74680416.json ├── store-on-wpcom ├── assets │ ├── icon-128x128.png │ ├── icon-256x256.png │ └── css │ │ ├── admin │ │ └── nav-unification.css │ │ └── masterbar.css ├── inc │ ├── wc-calypso-bridge-enable-auto-update-db.php │ ├── wc-calypso-bridge-paypal-defaults.php │ ├── wc-calypso-bridge-cheque-defaults.php │ ├── wc-calypso-bridge-mailchimp-deactivate-hook.php │ ├── wc-calypso-bridge-masterbar-menu.php │ ├── wc-calypso-bridge-jetpack-hotfixes.php │ └── wc-calypso-bridge-disable-publicize.php └── phpunit.xml ├── bin ├── lint-php-staged.sh └── check-versions.sh ├── includes ├── tasks │ ├── class-wc-calypso-task-free-trial-payments.php │ ├── class-wc-calypso-task-free-trial-store-details.php │ ├── class-wc-calypso-task-appearance.php │ ├── class-wc-calypso-task-get-paid-with-square.php │ └── class-wc-calypso-task-get-paid-with-stripe.php ├── atomic-api │ └── class-wc-calypso-bridge-atomic-launch-api.php ├── class-wc-calypso-bridge-fse.php ├── class-wc-calypso-bridge-crowdsignal-redirect.php ├── free-trial │ ├── class-wc-calypso-bridge-free-trial-wc-payments.php │ └── class-wc-calypso-bridge-free-trial-orders-changes.php ├── class-wc-calypso-bridge-free-trial-store-details-task.php ├── wc-calypso-bridge-deprecated-functions.php ├── class-wc-calypso-bridge-notes.php └── class-wc-calypso-bridge-free-trial-payment-task.php ├── .github ├── ISSUE_TEMPLATE │ ├── config.yml │ └── 2-enhancement.yml ├── ISSUE_TEMPLATE.md ├── workflows │ ├── check-bundle-size.yml │ ├── setup-node.yml │ └── check-coding-standards.yml └── PULL_REQUEST_TEMPLATE.md ├── phpunit.xml ├── .gitignore ├── .editorconfig ├── jest-unit.config.js ├── tsconfig.json ├── .eslintrc.js ├── webpack.config.js └── composer.json /.nvmrc: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /scripts/.gitignore: -------------------------------------------------------------------------------- 1 | ./node_modules/ 2 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | !.eslintrc.js 2 | node_modules 3 | 4 | -------------------------------------------------------------------------------- /tests/mocks/static.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | 3 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require("@wordpress/prettier-config"); 2 | -------------------------------------------------------------------------------- /src/payment-gateway-suggestions/components/Toggle/index.js: -------------------------------------------------------------------------------- 1 | export { Toggle } from './Toggle'; 2 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ '@wordpress/babel-preset-default' ], 3 | }; 4 | 5 | -------------------------------------------------------------------------------- /typings/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png'; 2 | declare module '*.jpg'; 3 | declare module '*.svg'; 4 | -------------------------------------------------------------------------------- /assets/fonts/WCPay.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/fonts/WCPay.eot -------------------------------------------------------------------------------- /assets/fonts/WCPay.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/fonts/WCPay.ttf -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npm run lint:php:staged 5 | -------------------------------------------------------------------------------- /assets/fonts/WCPay.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/fonts/WCPay.woff -------------------------------------------------------------------------------- /assets/images/klarna.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/klarna.png -------------------------------------------------------------------------------- /assets/images/square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/square.png -------------------------------------------------------------------------------- /assets/css/customize-store.css: -------------------------------------------------------------------------------- 1 | body.woocommerce-customize-store #jp-admin-notices { 2 | display: none; 3 | } 4 | -------------------------------------------------------------------------------- /assets/images/cart-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/cart-active.png -------------------------------------------------------------------------------- /assets/images/cart-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/cart-default.png -------------------------------------------------------------------------------- /assets/images/cart-hovered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/cart-hovered.png -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-ar.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-ar.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-ja.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-de_DE.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-es_CL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-es_CL.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-es_ES.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-es_MX.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-es_MX.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-fr_BE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-fr_BE.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-fr_CA.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-fr_CA.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-fr_FR.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-he_IL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-he_IL.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-id_ID.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-id_ID.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-it_IT.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-ko_KR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-ko_KR.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-nl_NL.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-pt_BR.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-ru_RU.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-sv_SE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-sv_SE.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-tr_TR.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-zh_CN.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-zh_SG.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-zh_SG.mo -------------------------------------------------------------------------------- /languages/wc-calypso-bridge-zh_TW.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/languages/wc-calypso-bridge-zh_TW.mo -------------------------------------------------------------------------------- /src/free-trial/tax/avalara/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/src/free-trial/tax/avalara/logo.png -------------------------------------------------------------------------------- /src/marketing/images/browser-people.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/src/marketing/images/browser-people.jpg -------------------------------------------------------------------------------- /src/payment-gateway-suggestions/components/List/index.js: -------------------------------------------------------------------------------- 1 | export { List } from './List'; 2 | export { Placeholder } from './Placeholder'; 3 | -------------------------------------------------------------------------------- /src/payment-gateway-suggestions/components/Setup/index.js: -------------------------------------------------------------------------------- 1 | export { Setup } from './Setup'; 2 | export { Placeholder } from './Placeholder'; 3 | -------------------------------------------------------------------------------- /store-on-wpcom/assets/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/store-on-wpcom/assets/icon-128x128.png -------------------------------------------------------------------------------- /store-on-wpcom/assets/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/store-on-wpcom/assets/icon-256x256.png -------------------------------------------------------------------------------- /src/free-trial/tax/woocommerce-tax/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/src/free-trial/tax/woocommerce-tax/logo.png -------------------------------------------------------------------------------- /assets/images/welcome-modal-illustration-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/welcome-modal-illustration-1.png -------------------------------------------------------------------------------- /assets/images/welcome-modal-illustration-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/welcome-modal-illustration-2.png -------------------------------------------------------------------------------- /assets/images/plugins-landing-page-hero-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/plugins-landing-page-hero-desktop.png -------------------------------------------------------------------------------- /assets/images/extensions-landing-page-hero-desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/extensions-landing-page-hero-desktop.png -------------------------------------------------------------------------------- /assets/images/extensions-landing-page-hero-mobile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/assets/images/extensions-landing-page-hero-mobile.png -------------------------------------------------------------------------------- /tests/setup/setup-react-testing-library.js: -------------------------------------------------------------------------------- 1 | /** 2 | * External dependencies 3 | */ 4 | import '@wordpress/jest-console'; 5 | import '@testing-library/jest-dom'; 6 | 7 | -------------------------------------------------------------------------------- /src/free-trial/fills/index.ts: -------------------------------------------------------------------------------- 1 | export * from './task-headers/payments'; 2 | export * from './task-headers/woocommerce-payments'; 3 | export * from './woocommerce-payments'; 4 | -------------------------------------------------------------------------------- /src/task-headers/assets/images/add-domain-illustration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/src/task-headers/assets/images/add-domain-illustration.png -------------------------------------------------------------------------------- /tests/setup/setup-window-globals.js: -------------------------------------------------------------------------------- 1 | // Check if we're in a JSDOM test or not 2 | if ( global.window ) { 3 | window.wcCalypsoBridge = { 4 | siteSlug: 'test-site', 5 | }; 6 | } 7 | -------------------------------------------------------------------------------- /src/payment-gateway-suggestions/components/List/fallback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Automattic/wc-calypso-bridge/HEAD/src/payment-gateway-suggestions/components/List/fallback.png -------------------------------------------------------------------------------- /src/utils/admin-settings.js: -------------------------------------------------------------------------------- 1 | /** 2 | * External dependencies 3 | */ 4 | import { getSetting } from '@woocommerce/settings'; 5 | 6 | export const WC_ASSET_URL = getSetting( 'wcAssetUrl' ); 7 | -------------------------------------------------------------------------------- /src/task-fills/index.js: -------------------------------------------------------------------------------- 1 | export * from './appearance.js'; 2 | export * from './get-paid-with-square.js'; 3 | export * from './get-paid-with-stripe.js'; 4 | export * from './get-paid-with-paypal.js'; 5 | -------------------------------------------------------------------------------- /src/payment-gateway-suggestions/components/WCPay/index.js: -------------------------------------------------------------------------------- 1 | export * from './utils'; 2 | export { Suggestion as WCPaySuggestion } from './Suggestion'; 3 | export { UsageModal as WCPayUsageModal } from './UsageModal'; 4 | -------------------------------------------------------------------------------- /src/payment-gateway-suggestions/components/Toggle/Toggle.scss: -------------------------------------------------------------------------------- 1 | .woocommerce-task-payments { 2 | .toggle-button { 3 | margin: $gap-small 0; 4 | 5 | .gridicon { 6 | margin-left: 4px; 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/notice/style.scss: -------------------------------------------------------------------------------- 1 | .wc-calypso-bridge-notice { 2 | border-left: 4px solid var(--wp-admin-theme-color); 3 | padding: 12px 16px; 4 | margin-bottom: 24px; 5 | line-height: 24px; 6 | font-size: 13px; 7 | background-color: #ffffff; 8 | } 9 | -------------------------------------------------------------------------------- /src/notice/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Internal dependencies 3 | */ 4 | import './style.scss'; 5 | 6 | const Notice = ( { text } ) => { 7 | return
{ strings.discountCopy }
21 |28 | { headingDescription } 29 |
30 | ) } 31 |{ notice }
37 | 48 |49 | { __( 'Get more sales', 'wc-calypso-bridge' ) } 50 |
51 |52 | { __( 'Launch your store', 'wc-calypso-bridge' ) } 53 |
54 |34 | { __( 35 | 'Choose a new website address for your store or transfer one you already own.', 36 | 'wc-calypso-bridge' 37 | ) } 38 |
39 | 46 |
47 | { ' ' }
48 | { task.time }
49 |
{ taskDescription }
37 | 45 |
46 | { ' ' }
47 |
48 | { __( '2 minutes', 'woocommerce' ) }
49 |
50 |
42 | { generalSettings?.woocommerce_calc_taxes !== 'yes' && 43 | interpolateComponents( { 44 | mixedString: __( 45 | /*eslint-disable max-len*/ 46 | 'By clicking "Configure" you\'re enabling tax rates and calculations. More info {{link}}here{{/link}}.', 47 | 'woocommerce' 48 | ), 49 | components: { 50 | link: ( 51 | 56 | <>> 57 | 58 | ), 59 | }, 60 | } ) } 61 |
62 | > 63 | ); 64 | }; 65 | --------------------------------------------------------------------------------