initial commit
This commit is contained in:
assets
css
_animation.scss_fonts.scss_mixins.scss_variables.scssactivation-rtl.cssactivation.cssactivation.scssadmin-rtl.cssadmin.cssadmin.scssauth-rtl.cssauth.cssauth.scssdashboard-rtl.cssdashboard-setup-rtl.cssdashboard-setup.cssdashboard-setup.scssdashboard.cssdashboard.scsshelper-rtl.csshelper.csshelper.scssmarketplace-suggestions-rtl.cssmarketplace-suggestions.cssmarketplace-suggestions.scssmenu-rtl.cssmenu.cssmenu.scssnetwork-order-widget-rtl.cssnetwork-order-widget.cssnetwork-order-widget.scss
jquery-ui
images
ui-bg_flat_0_aaaaaa_40x100.pngui-bg_flat_75_ffffff_40x100.pngui-bg_glass_55_fbf9ee_1x400.pngui-bg_glass_65_ffffff_1x400.pngui-bg_glass_75_dadada_1x400.pngui-bg_glass_75_e6e6e6_1x400.pngui-bg_glass_95_fef1ec_1x400.pngui-bg_highlight-soft_75_cccccc_1x100.pngui-icons_222222_256x240.pngui-icons_2e83ff_256x240.pngui-icons_454545_256x240.pngui-icons_888888_256x240.pngui-icons_cd0a0a_256x240.png
jquery-ui-rtl.cssjquery-ui.cssjquery-ui.min.cssphotoswipe
prettyPhoto-rtl.cssprettyPhoto.cssprettyPhoto.scssprivacy-rtl.cssprivacy.cssprivacy.scssreports-print-rtl.cssreports-print.cssreports-print.scssselect2.cssselect2.scsstwenty-nineteen-rtl.csstwenty-nineteen.csstwenty-nineteen.scsstwenty-seventeen-rtl.csstwenty-seventeen.csstwenty-seventeen.scsstwenty-twenty-one-admin-rtl.csstwenty-twenty-one-admin.csstwenty-twenty-one-admin.scsstwenty-twenty-one-rtl.csstwenty-twenty-one.csstwenty-twenty-one.scsstwenty-twenty-rtl.csstwenty-twenty.csstwenty-twenty.scsswc-setup-rtl.csswc-setup.csswc-setup.scsswoocommerce-layout-rtl.csswoocommerce-layout.csswoocommerce-layout.scsswoocommerce-rtl.csswoocommerce-smallscreen-rtl.csswoocommerce-smallscreen.csswoocommerce-smallscreen.scsswoocommerce.csswoocommerce.scssfonts
images
calendar.pngdashboard-widget-setup.pngeway-logo.jpghelp.pngjetpack_horizontal_logo.pngjetpack_vertical_logo.pngklarna-black.pngmarketplace-header-bg@2x.pngmercadopago.pngobw-facebook-icon.svgobw-mailchimp-icon.svgobw-shipstation-icon.pngobw-storefront-icon.svgobw-taxes-icon.svgobw-woocommerce-admin-icon.svgobw-woocommerce-services-icon.pngpayfast.pngpaypal-braintree.pngpaypal.pngplaceholder-attachment.pngplaceholder.pngselect2-spinner.gifselect2.pngselect2x2.pngsquare-black.pngstorefront-bg.jpgstorefront-intro.pngstorefront.pngstripe.pngwcpayments-icon-secure.pngwcs-dhlexpress-logo.pngwcs-extensions-banner-3x.jpgwcs-notice.pngwcs-usps-logo.pngwoocommerce_logo.pngwoocommerce_logo.svgwpspin-2x.gifwpspin.gif
icons
credit-cards
amex.pngamex.svgdiners.pngdiners.svgdiscover.pngdiscover.svgjcb.pngjcb.svglaser.pnglaser.svgmaestro.pngmaestro.svgmastercard.pngmastercard.svgvisa.pngvisa.svg
edit.pnggridicons-checkmark.svggridicons-chevron-down.svgloader.svgstar-golden.svgstar-gray.svgstar-half-filled.svgjs
accounting
admin
api-keys.jsapi-keys.min.jsbackbone-modal.jsbackbone-modal.min.jsmarketplace-suggestions.jsmarketplace-suggestions.min.jsmeta-boxes-coupon.jsmeta-boxes-coupon.min.jsmeta-boxes-order.jsmeta-boxes-order.min.jsmeta-boxes-product-variation.jsmeta-boxes-product-variation.min.jsmeta-boxes-product.jsmeta-boxes-product.min.jsmeta-boxes.jsmeta-boxes.min.jsnetwork-orders.jsnetwork-orders.min.jsproduct-ordering.jsproduct-ordering.min.jsquick-edit.jsquick-edit.min.jsreports.jsreports.min.jssettings-views-html-settings-tax.jssettings-views-html-settings-tax.min.jssettings.jssettings.min.jssystem-status.jssystem-status.min.jsterm-ordering.jsterm-ordering.min.jsusers.jsusers.min.jswc-clipboard.jswc-clipboard.min.jswc-enhanced-select.jswc-enhanced-select.min.jswc-orders.jswc-orders.min.jswc-product-export.jswc-product-export.min.jswc-product-import.jswc-product-import.min.jswc-setup.jswc-setup.min.jswc-shipping-classes.jswc-shipping-classes.min.jswc-shipping-zone-methods.jswc-shipping-zone-methods.min.jswc-shipping-zones.jswc-shipping-zones.min.jswc-status-widget.jswc-status-widget.min.jswoocommerce_admin.jswoocommerce_admin.min.js
flexslider
frontend
add-payment-method.jsadd-payment-method.min.jsadd-to-cart-variation.jsadd-to-cart-variation.min.jsadd-to-cart.jsadd-to-cart.min.jsaddress-i18n.jsaddress-i18n.min.jscart-fragments.jscart-fragments.min.jscart.jscart.min.jscheckout.jscheckout.min.jscountry-select.jscountry-select.min.jscredit-card-form.jscredit-card-form.min.jsgeolocation.jsgeolocation.min.jslost-password.jslost-password.min.jspassword-strength-meter.jspassword-strength-meter.min.jsprice-slider.jsprice-slider.min.jssingle-product.jssingle-product.min.jstokenization-form.jstokenization-form.min.jswoocommerce.jswoocommerce.min.js
jquery-blockui
jquery-cookie
jquery-flot
jquery.flot.jsjquery.flot.min.jsjquery.flot.pie.jsjquery.flot.pie.min.jsjquery.flot.resize.jsjquery.flot.resize.min.jsjquery.flot.stack.jsjquery.flot.stack.min.jsjquery.flot.time.jsjquery.flot.time.min.js
jquery-payment
jquery-qrcode
jquery-serializejson
jquery-tiptip
jquery-ui-touch-punch
js-cookie
photoswipe
prettyPhoto
jquery.prettyPhoto.init.jsjquery.prettyPhoto.init.min.jsjquery.prettyPhoto.jsjquery.prettyPhoto.min.js
round
select2
selectWoo
stupidtable
zeroclipboard
zoom
i18n
includes
abstracts
abstract-wc-data.phpabstract-wc-deprecated-hooks.phpabstract-wc-integration.phpabstract-wc-log-handler.phpabstract-wc-object-query.phpabstract-wc-order.phpabstract-wc-payment-gateway.phpabstract-wc-payment-token.phpabstract-wc-privacy.phpabstract-wc-product.phpabstract-wc-session.phpabstract-wc-settings-api.phpabstract-wc-shipping-method.phpabstract-wc-widget.phpclass-wc-background-process.php
admin
class-wc-admin-addons.phpclass-wc-admin-api-keys-table-list.phpclass-wc-admin-api-keys.phpclass-wc-admin-assets.phpclass-wc-admin-attributes.phpclass-wc-admin-customize.phpclass-wc-admin-dashboard-setup.phpclass-wc-admin-dashboard.phpclass-wc-admin-duplicate-product.phpclass-wc-admin-exporters.phpclass-wc-admin-help.phpclass-wc-admin-importers.phpclass-wc-admin-log-table-list.phpclass-wc-admin-menus.phpclass-wc-admin-meta-boxes.phpclass-wc-admin-notices.phpclass-wc-admin-permalink-settings.phpclass-wc-admin-pointers.phpclass-wc-admin-post-types.phpclass-wc-admin-profile.phpclass-wc-admin-reports.phpclass-wc-admin-settings.phpclass-wc-admin-setup-wizard.phpclass-wc-admin-status.phpclass-wc-admin-taxonomies.phpclass-wc-admin-webhooks-table-list.phpclass-wc-admin-webhooks.phpclass-wc-admin.php
helper
class-wc-helper-api.phpclass-wc-helper-compat.phpclass-wc-helper-options.phpclass-wc-helper-plugin-info.phpclass-wc-helper-updater.phpclass-wc-helper.php
views
importers
list-tables
abstract-class-wc-admin-list-table.phpclass-wc-admin-list-table-coupons.phpclass-wc-admin-list-table-orders.phpclass-wc-admin-list-table-products.php
marketplace-suggestions
meta-boxes
class-wc-meta-box-coupon-data.phpclass-wc-meta-box-order-actions.phpclass-wc-meta-box-order-data.phpclass-wc-meta-box-order-downloads.phpclass-wc-meta-box-order-items.phpclass-wc-meta-box-order-notes.phpclass-wc-meta-box-product-data.phpclass-wc-meta-box-product-images.phpclass-wc-meta-box-product-reviews.phpclass-wc-meta-box-product-short-description.php
views
html-order-download-permission.phphtml-order-fee.phphtml-order-item-meta.phphtml-order-item.phphtml-order-items.phphtml-order-notes.phphtml-order-refund.phphtml-order-shipping.phphtml-product-attribute.phphtml-product-data-advanced.phphtml-product-data-attributes.phphtml-product-data-general.phphtml-product-data-inventory.phphtml-product-data-linked-products.phphtml-product-data-panel.phphtml-product-data-shipping.phphtml-product-data-variations.phphtml-product-download.phphtml-product-variation-download.phphtml-variation-admin.php
notes
plugin-updates
class-wc-plugin-updates.phpclass-wc-plugins-screen-updates.phpclass-wc-updates-screen-updates.php
views
reports
class-wc-admin-report.phpclass-wc-report-coupon-usage.phpclass-wc-report-customer-list.phpclass-wc-report-customers.phpclass-wc-report-downloads.phpclass-wc-report-low-in-stock.phpclass-wc-report-most-stocked.phpclass-wc-report-out-of-stock.phpclass-wc-report-sales-by-category.phpclass-wc-report-sales-by-date.phpclass-wc-report-sales-by-product.phpclass-wc-report-stock.phpclass-wc-report-taxes-by-code.phpclass-wc-report-taxes-by-date.php
settings
class-wc-settings-accounts.phpclass-wc-settings-advanced.phpclass-wc-settings-checkout.phpclass-wc-settings-emails.phpclass-wc-settings-general.phpclass-wc-settings-integrations.phpclass-wc-settings-page.phpclass-wc-settings-payment-gateways.phpclass-wc-settings-products.phpclass-wc-settings-shipping.phpclass-wc-settings-tax.php
views
views
html-admin-dashboard-setup.phphtml-admin-page-addons.phphtml-admin-page-product-export.phphtml-admin-page-reports.phphtml-admin-page-status-logs-db.phphtml-admin-page-status-logs.phphtml-admin-page-status-report.phphtml-admin-page-status-tools.phphtml-admin-page-status.phphtml-admin-settings.phphtml-bulk-edit-product.phphtml-email-template-preview.phphtml-notice-base-table-missing.phphtml-notice-custom.phphtml-notice-install.phphtml-notice-legacy-shipping.phphtml-notice-maxmind-license-key.phphtml-notice-no-shipping-methods.phphtml-notice-redirect-only-download.phphtml-notice-regenerating-lookup-table.phphtml-notice-regenerating-thumbnails.phphtml-notice-secure-connection.phphtml-notice-template-check.phphtml-notice-update.phphtml-notice-updated.phphtml-notice-updating.phphtml-notice-uploads-directory-is-unprotected.phphtml-notice-wp-php-minimum-requirements.phphtml-quick-edit-product.phphtml-report-by-date.php
wc-admin-functions.phpwc-meta-box-functions.phpblocks
class-wc-ajax.phpclass-wc-api.phpclass-wc-auth.phpclass-wc-autoloader.phpclass-wc-background-emailer.phpclass-wc-background-updater.phpclass-wc-breadcrumb.phpclass-wc-cache-helper.phpclass-wc-cart-fees.phpclass-wc-cart-session.phpclass-wc-cart-totals.phpclass-wc-cart.phpclass-wc-checkout.phpclass-wc-cli.phpclass-wc-comments.phpclass-wc-countries.phpclass-wc-coupon.phpclass-wc-customer-download-log.phpclass-wc-customer-download.phpclass-wc-customer.phpclass-wc-data-exception.phpclass-wc-data-store.phpclass-wc-datetime.phpclass-wc-deprecated-action-hooks.phpclass-wc-deprecated-filter-hooks.phpclass-wc-discounts.phpclass-wc-download-handler.phpclass-wc-emails.phpclass-wc-embed.phpclass-wc-form-handler.phpclass-wc-frontend-scripts.phpclass-wc-geo-ip.phpclass-wc-geolite-integration.phpclass-wc-geolocation.phpclass-wc-https.phpclass-wc-install.phpclass-wc-integrations.phpclass-wc-log-levels.phpclass-wc-logger.phpclass-wc-meta-data.phpclass-wc-order-factory.phpclass-wc-order-item-coupon.phpclass-wc-order-item-fee.phpclass-wc-order-item-meta.phpclass-wc-order-item-product.phpclass-wc-order-item-shipping.phpclass-wc-order-item-tax.phpclass-wc-order-item.phpclass-wc-order-query.phpclass-wc-order-refund.phpclass-wc-order.phpclass-wc-payment-gateways.phpclass-wc-payment-tokens.phpclass-wc-post-data.phpclass-wc-post-types.phpclass-wc-privacy-background-process.phpclass-wc-privacy-erasers.phpclass-wc-privacy-exporters.phpclass-wc-privacy.phpclass-wc-product-attribute.phpclass-wc-product-download.phpclass-wc-product-external.phpclass-wc-product-factory.phpclass-wc-product-grouped.phpclass-wc-product-query.phpclass-wc-product-simple.phpclass-wc-product-variable.phpclass-wc-product-variation.phpclass-wc-query.phpclass-wc-rate-limiter.phpclass-wc-regenerate-images-request.phpclass-wc-regenerate-images.phpclass-wc-register-wp-admin-settings.phpclass-wc-rest-authentication.phpclass-wc-rest-exception.phpclass-wc-session-handler.phpclass-wc-shipping-rate.phpclass-wc-shipping-zone.phpclass-wc-shipping-zones.phpclass-wc-shipping.phpclass-wc-shortcodes.phpclass-wc-structured-data.phpclass-wc-tax.phpclass-wc-template-loader.phpclass-wc-tracker.phpclass-wc-validation.phpclass-wc-webhook.phpclass-woocommerce.phpcli
class-wc-cli-rest-command.phpclass-wc-cli-runner.phpclass-wc-cli-tool-command.phpclass-wc-cli-tracker-command.phpclass-wc-cli-update-command.php
customizer
data-stores
abstract-wc-order-data-store-cpt.phpabstract-wc-order-item-type-data-store.phpclass-wc-coupon-data-store-cpt.phpclass-wc-customer-data-store-session.phpclass-wc-customer-data-store.phpclass-wc-customer-download-data-store.phpclass-wc-customer-download-log-data-store.phpclass-wc-data-store-wp.phpclass-wc-order-data-store-cpt.phpclass-wc-order-item-coupon-data-store.phpclass-wc-order-item-data-store.phpclass-wc-order-item-fee-data-store.phpclass-wc-order-item-product-data-store.phpclass-wc-order-item-shipping-data-store.phpclass-wc-order-item-tax-data-store.phpclass-wc-order-refund-data-store-cpt.phpclass-wc-payment-token-data-store.phpclass-wc-product-data-store-cpt.phpclass-wc-product-grouped-data-store-cpt.phpclass-wc-product-variable-data-store-cpt.phpclass-wc-product-variation-data-store-cpt.phpclass-wc-shipping-zone-data-store.phpclass-wc-webhook-data-store.php
emails
class-wc-email-cancelled-order.phpclass-wc-email-customer-completed-order.phpclass-wc-email-customer-invoice.phpclass-wc-email-customer-new-account.phpclass-wc-email-customer-note.phpclass-wc-email-customer-on-hold-order.phpclass-wc-email-customer-processing-order.phpclass-wc-email-customer-refunded-order.phpclass-wc-email-customer-reset-password.phpclass-wc-email-failed-order.phpclass-wc-email-new-order.phpclass-wc-email.php
export
gateways
bacs
cheque
class-wc-payment-gateway-cc.phpclass-wc-payment-gateway-echeck.phpcod
paypal
import
integrations
maxmind-geolocation
interfaces
class-wc-abstract-order-data-store-interface.phpclass-wc-coupon-data-store-interface.phpclass-wc-customer-data-store-interface.phpclass-wc-customer-download-data-store-interface.phpclass-wc-customer-download-log-data-store-interface.phpclass-wc-importer-interface.phpclass-wc-log-handler-interface.phpclass-wc-logger-interface.phpclass-wc-object-data-store-interface.phpclass-wc-order-data-store-interface.phpclass-wc-order-item-data-store-interface.phpclass-wc-order-item-product-data-store-interface.phpclass-wc-order-item-type-data-store-interface.phpclass-wc-order-refund-data-store-interface.phpclass-wc-payment-token-data-store-interface.phpclass-wc-product-data-store-interface.phpclass-wc-product-variable-data-store-interface.phpclass-wc-queue-interface.phpclass-wc-shipping-zone-data-store-interface.phpclass-wc-webhooks-data-store-interface.php
legacy
abstract-wc-legacy-order.phpabstract-wc-legacy-payment-token.phpabstract-wc-legacy-product.php
api
class-wc-rest-legacy-coupons-controller.phpclass-wc-rest-legacy-orders-controller.phpclass-wc-rest-legacy-products-controller.php
class-wc-legacy-api.phpclass-wc-legacy-cart.phpclass-wc-legacy-coupon.phpclass-wc-legacy-customer.phpclass-wc-legacy-shipping-zone.phpclass-wc-legacy-webhook.phpv1
class-wc-api-authentication.phpclass-wc-api-coupons.phpclass-wc-api-customers.phpclass-wc-api-json-handler.phpclass-wc-api-orders.phpclass-wc-api-products.phpclass-wc-api-reports.phpclass-wc-api-resource.phpclass-wc-api-server.phpclass-wc-api-xml-handler.phpinterface-wc-api-handler.php
v2
class-wc-api-authentication.phpclass-wc-api-coupons.phpclass-wc-api-customers.phpclass-wc-api-exception.phpclass-wc-api-json-handler.phpclass-wc-api-orders.phpclass-wc-api-products.phpclass-wc-api-reports.phpclass-wc-api-resource.phpclass-wc-api-server.phpclass-wc-api-webhooks.phpinterface-wc-api-handler.php
v3
class-wc-api-authentication.phpclass-wc-api-coupons.phpclass-wc-api-customers.phpclass-wc-api-exception.phpclass-wc-api-json-handler.phpclass-wc-api-orders.phpclass-wc-api-products.phpclass-wc-api-reports.phpclass-wc-api-resource.phpclass-wc-api-server.phpclass-wc-api-taxes.phpclass-wc-api-webhooks.phpinterface-wc-api-handler.php
libraries
log-handlers
payment-tokens
queue
rest-api
Controllers
Telemetry
Version1
class-wc-rest-coupons-v1-controller.phpclass-wc-rest-customer-downloads-v1-controller.phpclass-wc-rest-customers-v1-controller.phpclass-wc-rest-order-notes-v1-controller.phpclass-wc-rest-order-refunds-v1-controller.phpclass-wc-rest-orders-v1-controller.phpclass-wc-rest-product-attribute-terms-v1-controller.phpclass-wc-rest-product-attributes-v1-controller.phpclass-wc-rest-product-categories-v1-controller.phpclass-wc-rest-product-reviews-v1-controller.phpclass-wc-rest-product-shipping-classes-v1-controller.phpclass-wc-rest-product-tags-v1-controller.phpclass-wc-rest-products-v1-controller.phpclass-wc-rest-report-sales-v1-controller.phpclass-wc-rest-report-top-sellers-v1-controller.phpclass-wc-rest-reports-v1-controller.phpclass-wc-rest-tax-classes-v1-controller.phpclass-wc-rest-taxes-v1-controller.phpclass-wc-rest-webhook-deliveries-v1-controller.phpclass-wc-rest-webhooks-v1-controller.php
Version2
class-wc-rest-coupons-v2-controller.phpclass-wc-rest-customer-downloads-v2-controller.phpclass-wc-rest-customers-v2-controller.phpclass-wc-rest-network-orders-v2-controller.phpclass-wc-rest-order-notes-v2-controller.phpclass-wc-rest-order-refunds-v2-controller.phpclass-wc-rest-orders-v2-controller.phpclass-wc-rest-payment-gateways-v2-controller.phpclass-wc-rest-product-attribute-terms-v2-controller.phpclass-wc-rest-product-attributes-v2-controller.phpclass-wc-rest-product-categories-v2-controller.phpclass-wc-rest-product-reviews-v2-controller.phpclass-wc-rest-product-shipping-classes-v2-controller.phpclass-wc-rest-product-tags-v2-controller.phpclass-wc-rest-product-variations-v2-controller.phpclass-wc-rest-products-v2-controller.phpclass-wc-rest-report-sales-v2-controller.phpclass-wc-rest-report-top-sellers-v2-controller.phpclass-wc-rest-reports-v2-controller.phpclass-wc-rest-setting-options-v2-controller.phpclass-wc-rest-settings-v2-controller.phpclass-wc-rest-shipping-methods-v2-controller.phpclass-wc-rest-shipping-zone-locations-v2-controller.phpclass-wc-rest-shipping-zone-methods-v2-controller.phpclass-wc-rest-shipping-zones-v2-controller.phpclass-wc-rest-system-status-tools-v2-controller.phpclass-wc-rest-system-status-v2-controller.phpclass-wc-rest-tax-classes-v2-controller.phpclass-wc-rest-taxes-v2-controller.phpclass-wc-rest-webhook-deliveries-v2-controller.phpclass-wc-rest-webhooks-v2-controller.php
Version3
class-wc-rest-controller.phpclass-wc-rest-coupons-controller.phpclass-wc-rest-crud-controller.phpclass-wc-rest-customer-downloads-controller.phpclass-wc-rest-customers-controller.phpclass-wc-rest-data-continents-controller.phpclass-wc-rest-data-controller.phpclass-wc-rest-data-countries-controller.phpclass-wc-rest-data-currencies-controller.phpclass-wc-rest-network-orders-controller.phpclass-wc-rest-order-notes-controller.phpclass-wc-rest-order-refunds-controller.phpclass-wc-rest-orders-controller.phpclass-wc-rest-payment-gateways-controller.phpclass-wc-rest-posts-controller.phpclass-wc-rest-product-attribute-terms-controller.phpclass-wc-rest-product-attributes-controller.phpclass-wc-rest-product-categories-controller.phpclass-wc-rest-product-reviews-controller.phpclass-wc-rest-product-shipping-classes-controller.phpclass-wc-rest-product-tags-controller.phpclass-wc-rest-product-variations-controller.phpclass-wc-rest-products-controller.phpclass-wc-rest-report-coupons-totals-controller.phpclass-wc-rest-report-customers-totals-controller.phpclass-wc-rest-report-orders-totals-controller.phpclass-wc-rest-report-products-totals-controller.phpclass-wc-rest-report-reviews-totals-controller.phpclass-wc-rest-report-sales-controller.phpclass-wc-rest-report-top-sellers-controller.phpclass-wc-rest-reports-controller.phpclass-wc-rest-setting-options-controller.phpclass-wc-rest-settings-controller.phpclass-wc-rest-shipping-methods-controller.phpclass-wc-rest-shipping-zone-locations-controller.phpclass-wc-rest-shipping-zone-methods-controller.phpclass-wc-rest-shipping-zones-controller-base.phpclass-wc-rest-shipping-zones-controller.phpclass-wc-rest-system-status-controller.phpclass-wc-rest-system-status-tools-controller.phpclass-wc-rest-tax-classes-controller.phpclass-wc-rest-taxes-controller.phpclass-wc-rest-terms-controller.phpclass-wc-rest-webhooks-controller.php
Utilities
shipping
flat-rate
free-shipping
legacy-flat-rate
legacy-free-shipping
legacy-international-delivery
legacy-local-delivery
legacy-local-pickup
local-pickup
shortcodes
class-wc-shortcode-cart.phpclass-wc-shortcode-checkout.phpclass-wc-shortcode-my-account.phpclass-wc-shortcode-order-tracking.phpclass-wc-shortcode-products.php
theme-support
class-wc-twenty-eleven.phpclass-wc-twenty-fifteen.phpclass-wc-twenty-fourteen.phpclass-wc-twenty-nineteen.phpclass-wc-twenty-seventeen.phpclass-wc-twenty-sixteen.phpclass-wc-twenty-ten.phpclass-wc-twenty-thirteen.phpclass-wc-twenty-twelve.phpclass-wc-twenty-twenty-one.phpclass-wc-twenty-twenty.php
tracks
class-wc-site-tracking.phpclass-wc-tracks-client.phpclass-wc-tracks-event.phpclass-wc-tracks-footer-pixel.phpclass-wc-tracks.php
events
class-wc-admin-setup-wizard-tracking.phpclass-wc-coupon-tracking.phpclass-wc-coupons-tracking.phpclass-wc-extensions-tracking.phpclass-wc-importer-tracking.phpclass-wc-order-tracking.phpclass-wc-orders-tracking.phpclass-wc-products-tracking.phpclass-wc-settings-tracking.phpclass-wc-status-tracking.php
traits
walkers
class-product-cat-dropdown-walker.phpclass-product-cat-list-walker.phpclass-wc-product-cat-dropdown-walker.phpclass-wc-product-cat-list-walker.php
wc-account-functions.phpwc-attribute-functions.phpwc-cart-functions.phpwc-conditional-functions.phpwc-core-functions.phpwc-coupon-functions.phpwc-deprecated-functions.phpwc-formatting-functions.phpwc-notice-functions.phpwc-order-functions.phpwc-order-item-functions.phpwc-page-functions.phpwc-product-functions.phpwc-rest-functions.phpwc-stock-functions.phpwc-template-functions.phpwc-template-hooks.phpwc-term-functions.phpwc-update-functions.phpwc-user-functions.phpwc-webhook-functions.phpwc-widget-functions.phpwccom-site
class-wc-wccom-site-installer-requirements-check.phpclass-wc-wccom-site-installer.phpclass-wc-wccom-site.php
rest-api
widgets
class-wc-widget-cart.phpclass-wc-widget-layered-nav-filters.phpclass-wc-widget-layered-nav.phpclass-wc-widget-price-filter.phpclass-wc-widget-product-categories.phpclass-wc-widget-product-search.phpclass-wc-widget-product-tag-cloud.phpclass-wc-widget-products.phpclass-wc-widget-rating-filter.phpclass-wc-widget-recent-reviews.phpclass-wc-widget-recently-viewed.phpclass-wc-widget-top-rated-products.php
lib/packages/League/Container
Argument
ArgumentResolverInterface.phpArgumentResolverTrait.phpClassName.phpClassNameInterface.phpClassNameWithOptionalValue.phpRawArgument.phpRawArgumentInterface.php
Container.phpContainerAwareInterface.phpContainerAwareTrait.phpDefinition
Exception
Inflector
ReflectionContainer.phpServiceProvider
packages
action-scheduler
action-scheduler.php
classes
ActionScheduler_ActionClaim.phpActionScheduler_ActionFactory.phpActionScheduler_AdminView.phpActionScheduler_AsyncRequest_QueueRunner.phpActionScheduler_Compatibility.phpActionScheduler_DataController.phpActionScheduler_DateTime.phpActionScheduler_Exception.phpActionScheduler_FatalErrorMonitor.phpActionScheduler_InvalidActionException.phpActionScheduler_ListTable.phpActionScheduler_LogEntry.phpActionScheduler_NullLogEntry.phpActionScheduler_OptionLock.phpActionScheduler_QueueCleaner.phpActionScheduler_QueueRunner.phpActionScheduler_Versions.phpActionScheduler_WPCommentCleaner.phpActionScheduler_wcSystemStatus.php
WP_CLI
ActionScheduler_WPCLI_QueueRunner.phpActionScheduler_WPCLI_Scheduler_command.phpMigration_Command.phpProgressBar.php
abstracts
ActionScheduler.phpActionScheduler_Abstract_ListTable.phpActionScheduler_Abstract_QueueRunner.phpActionScheduler_Abstract_RecurringSchedule.phpActionScheduler_Abstract_Schedule.phpActionScheduler_Abstract_Schema.phpActionScheduler_Lock.phpActionScheduler_Logger.phpActionScheduler_Store.phpActionScheduler_TimezoneHelper.php
actions
ActionScheduler_Action.phpActionScheduler_CanceledAction.phpActionScheduler_FinishedAction.phpActionScheduler_NullAction.php
data-stores
ActionScheduler_DBLogger.phpActionScheduler_DBStore.phpActionScheduler_HybridStore.phpActionScheduler_wpCommentLogger.phpActionScheduler_wpPostStore.phpActionScheduler_wpPostStore_PostStatusRegistrar.phpActionScheduler_wpPostStore_PostTypeRegistrar.phpActionScheduler_wpPostStore_TaxonomyRegistrar.php
migration
ActionMigrator.phpActionScheduler_DBStoreMigrator.phpBatchFetcher.phpConfig.phpController.phpDryRun_ActionMigrator.phpDryRun_LogMigrator.phpLogMigrator.phpRunner.phpScheduler.php
schedules
ActionScheduler_CanceledSchedule.phpActionScheduler_CronSchedule.phpActionScheduler_IntervalSchedule.phpActionScheduler_NullSchedule.phpActionScheduler_Schedule.phpActionScheduler_SimpleSchedule.php
schema
deprecated
ActionScheduler_Abstract_QueueRunner_Deprecated.phpActionScheduler_AdminView_Deprecated.phpActionScheduler_Schedule_Deprecated.phpActionScheduler_Store_Deprecated.phpfunctions.php
functions.phplib
WP_Async_Request.php
license.txtreadme.txtcron-expression
CronExpression.phpCronExpression_AbstractField.phpCronExpression_DayOfMonthField.phpCronExpression_DayOfWeekField.phpCronExpression_FieldFactory.phpCronExpression_FieldInterface.phpCronExpression_HoursField.phpCronExpression_MinutesField.phpCronExpression_MonthField.phpCronExpression_YearField.phpLICENSE
woocommerce-admin
chunk-src-version-param.js
dist
activity-panels-help
activity-panels-inbox
analytics-report-categories
analytics-report-customers
analytics-report-orders
analytics-report-products
analytics-report-stock
analytics-report
analytics-settings
app
beta-features-tracking-modal
chunks
0.js0.style.css1.js1.js.LICENSE.txt11.style.css12.style.css14.style.css17.style.css2.js25.style.css26.style.css3.js31.style.css32.style.css34.style.css4.style.css45.style.css47.style.css48.style.css49.style.css5.style.css50.style.css51.style.css6.style.css7.style.css9.style.cssactivity-panels-help.jsactivity-panels-inbox.jsanalytics-report-categories.jsanalytics-report-coupons.jsanalytics-report-customers.jsanalytics-report-downloads.jsanalytics-report-orders.jsanalytics-report-products.jsanalytics-report-revenue.jsanalytics-report-stock.jsanalytics-report-taxes.jsanalytics-report-variations.jsanalytics-report.jsanalytics-settings.jscustomizable-dashboard.jsdashboard-charts.jsdashboard.jshomescreen.jsleaderboards.jsmarketing-overview.jspayment-recommendations.jsprofile-wizard.jsshipping-recommendations.jsstore-alerts.jsstore-performance.jstask-list.jswcpay-usage-modal.js
components
csv-export
currency
customer-effort-score
dashboard-charts
dashboard
data
date
experimental
explat
homescreen
leaderboards
marketing-coupons
marketing-overview
navigation-opt-out
navigation
notices
number
onboarding
payment-method-promotions
payment-recommendations
print-shipping-label-banner
profile-wizard
shipping-recommendations
store-alerts
store-performance
task-list
tracks
undefined
wp-admin-scripts
beta-features-tracking-modal.asset.phpbeta-features-tracking-modal.jsmarketing-coupons.asset.phpmarketing-coupons.jsmarketing-coupons.js.LICENSE.txtnavigation-opt-out.asset.phpnavigation-opt-out.jsonboarding-homepage-notice.asset.phponboarding-homepage-notice.jsonboarding-product-import-notice.asset.phponboarding-product-import-notice.jsonboarding-product-notice.asset.phponboarding-product-notice.jsonboarding-tax-notice.asset.phponboarding-tax-notice.jspayment-method-promotions.asset.phppayment-method-promotions.jspayment-method-promotions.js.LICENSE.txtprint-shipping-label-banner.asset.phpprint-shipping-label-banner.js
images
admin_notes
empty-content.svgmarketing
onboarding
bacs.svgcod.svgcreative-mail-by-constant-contact.pngcreativemail.pngeway.pngfb-woocommerce.pngg-shopping.pnggoogle-listings-and-ads.pngmailchimp-for-woocommerce.pngmailchimp.pngmailpoet.pngmercadopago.pngmollie.svgother-small.jpgpaystack.pngpayu.svgrazorpay.svgwcpay.svg
shippingillustration.svgincludes
class-experimental-abtest.phpconnect-existing-pages.phpcore-functions.php
emails
html-admin-report-export-download.phphtml-merchant-notification.phpplain-admin-report-export-download.phpplain-merchant-notification.php
feature-config.phppage-controller-functions.phpwc-admin-update-functions.phplanguages
license.txtlint-staged.config.jsreadme.txtsrc
API
Coupons.phpCustomAttributeTraits.phpCustomers.phpData.phpDataCountries.phpDataDownloadIPs.phpFeatures.phpInit.phpLeaderboards.phpMarketing.phpMarketingOverview.phpNavigationFavorites.phpNoteActions.phpNotes.phpOnboardingFreeExtensions.phpOnboardingPayments.phpOnboardingProductTypes.phpOnboardingProfile.phpOnboardingTasks.phpOnboardingThemes.phpOptions.phpOrders.phpPlugins.phpProductAttributeTerms.phpProductAttributes.phpProductCategories.phpProductReviews.phpProductVariations.phpProducts.phpProductsLowInStock.php
CategoryLookup.phpReports
Cache.php
SettingOptions.phpTaxes.phpCategories
Controller.phpCoupons
Customers
DataStore.phpDataStoreInterface.phpDownloads
Export
ExportableInterface.phpExportableTraits.phpImport
Orders
ParameterException.phpPerformanceIndicators
Products
Query.phpRevenue
Segmenter.phpSqlQuery.phpStock
Taxes
TimeInterval.phpVariations
Templates
Themes.phpComposer
DateTimeProvider
DeprecatedClassFacade.phpEvents.phpFeaturePlugin.phpFeatures
ActivityPanels.phpAnalytics.phpCoupons.phpCouponsMovedTrait.phpCustomerEffortScoreTracks.phpFeatures.phpHomescreen.phpMarketing.phpMobileAppBanner.php
Install.phpLoader.phpNavigation
Onboarding.phpOnboardingTasks
PaymentGatewaySuggestions
DataSourcePoller.phpDefaultPaymentGateways.phpEvaluateSuggestion.phpInit.phpPaymentGatewaysController.php
RemoteFreeExtensions
RemoteInboxNotifications.phpSettings.phpShippingLabelBanner.phpShippingLabelBannerDisplayRules.phpTransientNotices.phpWcPayPromotion
Marketing
Notes
AddFirstProduct.phpAddingAndManangingProducts.phpChooseNiche.phpChoosingTheme.phpCouponPageMoved.phpCustomizeStoreWithBlocks.phpCustomizingProductCatalog.phpDataStore.phpDeactivatePlugin.phpDeprecatedNotes.phpDrawAttention.phpEUVATNumber.phpEditProductsOnTheMove.phpFilterByProductVariationsInReports.phpFirstDownlaodableProduct.phpFirstProduct.phpGettingStartedInEcommerceWebinar.phpGivingFeedbackNotes.phpInsightFirstProductAndPayment.phpInsightFirstSale.phpInstallJPAndWCSPlugins.phpLaunchChecklist.phpLearnMoreAboutVariableProducts.phpManageOrdersOnTheGo.phpManageStoreActivityFromHomeScreen.phpMarketing.phpMarketingJetpack.php
MerchantEmailNotifications
MigrateFromShopify.phpMobileApp.phpNavigationFeedback.phpNavigationFeedbackFollowUp.phpNavigationNudge.phpNeedSomeInspiration.phpNewSalesRecord.phpNote.phpNoteTraits.phpNotes.phpNotesUnavailableException.phpOnboardingPayments.phpOnboardingTraits.phpOnlineClothingStore.phpOrderMilestones.phpPerformanceOnMobile.phpPersonalizeStore.phpRealTimeOrderAlerts.phpSellingOnlineCourses.phpSetUpAdditionalPaymentTypes.phpStartDropshippingBusiness.phpTestCheckout.phpTrackingOptIn.phpUnsecuredReportFiles.phpWelcomeToWooCommerceForStoreUsers.phpWooCommercePayments.phpWooCommerceSubscriptions.phpWooSubscriptionsNotes.phpOverrides
PageController.phpPaymentPlugins.phpPluginsHelper.phpPluginsInstaller.phpPluginsProvider
RemoteInboxNotifications
BaseLocationCountryRuleProcessor.phpBaseLocationStateRuleProcessor.phpComparisonOperation.phpDataSourcePoller.phpEvaluateAndGetStatus.phpEvaluationLogger.phpFailRuleProcessor.phpGetRuleProcessor.phpIsEcommerceRuleProcessor.phpNotRuleProcessor.phpNoteStatusRuleProcessor.phpOnboardingProfileRuleProcessor.phpOptionRuleProcessor.phpOrRuleProcessor.phpOrderCountRuleProcessor.phpOrdersProvider.phpPassRuleProcessor.phpPluginVersionRuleProcessor.phpPluginsActivatedRuleProcessor.phpProductCountRuleProcessor.phpPublishAfterTimeRuleProcessor.phpPublishBeforeTimeRuleProcessor.phpRemoteInboxNotificationsEngine.phpRuleEvaluator.phpRuleProcessorInterface.phpSpecRunner.phpStoredStateRuleProcessor.phpStoredStateSetupForProducts.phpTransformerInterface.phpTransformerService.php
ReportCSVEmail.phpReportCSVExporter.phpReportExporter.phpReportsSync.phpTransformers
WCAdminActiveForProvider.phpWCAdminActiveForRuleProcessor.phpWooCommerceAdminUpdatedRuleProcessor.phpSchedulers
CustomersScheduler.phpImportInterface.phpImportScheduler.phpMailchimpScheduler.phpOrdersScheduler.phpSchedulerTraits.php
Survey.phpWCAdminHelper.phpWCAdminSharedSettings.phptypings
uninstall.phpunminify.jsvendor
autoload.phpautoload_packages.php
woocommerce-admin.phpautomattic
jetpack-autoloader
LICENSE.txt
src
AutoloadFileWriter.phpAutoloadGenerator.phpAutoloadProcessor.phpCustomAutoloaderPlugin.phpManifestGenerator.phpautoload.phpclass-autoloader-handler.phpclass-autoloader-locator.phpclass-autoloader.phpclass-container.phpclass-hook-manager.phpclass-latest-autoloader-guard.phpclass-manifest-reader.phpclass-path-processor.phpclass-php-autoloader.phpclass-plugin-locator.phpclass-plugins-handler.phpclass-shutdown-handler.phpclass-version-loader.phpclass-version-selector.php
composer
ClassLoader.phpInstalledVersions.phpLICENSEautoload_classmap.phpautoload_namespaces.phpautoload_psr4.phpautoload_real.phpautoload_static.phpinstalled.jsoninstalled.php
installers
LICENSEphpstan.neon.distbootstrap.php
jetpack_autoload_classmap.phpjetpack_autoload_psr4.phpplatform_check.phpsrc
Composer
Installers
AglInstaller.phpAimeosInstaller.phpAnnotateCmsInstaller.phpAsgardInstaller.phpAttogramInstaller.phpBaseInstaller.phpBitrixInstaller.phpBonefishInstaller.phpCakePHPInstaller.phpChefInstaller.phpCiviCrmInstaller.phpClanCatsFrameworkInstaller.phpCockpitInstaller.phpCodeIgniterInstaller.phpConcrete5Installer.phpCraftInstaller.phpCroogoInstaller.phpDecibelInstaller.phpDframeInstaller.phpDokuWikiInstaller.phpDolibarrInstaller.phpDrupalInstaller.phpElggInstaller.phpEliasisInstaller.phpExpressionEngineInstaller.phpEzPlatformInstaller.phpFuelInstaller.phpFuelphpInstaller.phpGravInstaller.phpHuradInstaller.phpImageCMSInstaller.phpInstaller.phpItopInstaller.phpJoomlaInstaller.phpKanboardInstaller.phpKirbyInstaller.phpKnownInstaller.phpKodiCMSInstaller.phpKohanaInstaller.phpLanManagementSystemInstaller.phpLaravelInstaller.phpLavaLiteInstaller.phpLithiumInstaller.phpMODULEWorkInstaller.phpMODXEvoInstaller.phpMagentoInstaller.phpMajimaInstaller.phpMakoInstaller.phpMantisBTInstaller.phpMauticInstaller.phpMayaInstaller.phpMediaWikiInstaller.phpMiaoxingInstaller.phpMicroweberInstaller.phpModxInstaller.phpMoodleInstaller.phpOctoberInstaller.phpOntoWikiInstaller.phpOsclassInstaller.phpOxidInstaller.phpPPIInstaller.phpPantheonInstaller.phpPhiftyInstaller.phpPhpBBInstaller.phpPimcoreInstaller.phpPiwikInstaller.phpPlentymarketsInstaller.phpPlugin.phpPortoInstaller.phpPrestashopInstaller.phpProcessWireInstaller.phpPuppetInstaller.phpPxcmsInstaller.phpRadPHPInstaller.phpReIndexInstaller.phpRedaxo5Installer.phpRedaxoInstaller.phpRoundcubeInstaller.phpSMFInstaller.phpShopwareInstaller.phpSilverStripeInstaller.phpSiteDirectInstaller.phpStarbugInstaller.phpSyDESInstaller.phpSyliusInstaller.phpSymfony1Installer.phpTYPO3CmsInstaller.phpTYPO3FlowInstaller.phpTaoInstaller.phpTastyIgniterInstaller.phpTheliaInstaller.phpTuskInstaller.phpUserFrostingInstaller.phpVanillaInstaller.phpVgmcpInstaller.phpWHMCSInstaller.phpWinterInstaller.phpWolfCMSInstaller.phpWordPressInstaller.phpYawikInstaller.phpZendInstaller.phpZikulaInstaller.php
jetpack-autoloader
class-autoloader-handler.phpclass-autoloader-locator.phpclass-autoloader.phpclass-container.phpclass-hook-manager.phpclass-latest-autoloader-guard.phpclass-manifest-reader.phpclass-path-processor.phpclass-php-autoloader.phpclass-plugin-locator.phpclass-plugins-handler.phpclass-shutdown-handler.phpclass-version-loader.phpclass-version-selector.php
woocommerce-blocks
LICENSEindex.tscontainer-width-context.jseditor-context.jsindex.jsquery-state-context.jsindex.js
assets
css
js
atomic
blocks
component-init.jsindex.js
product-elements
add-to-cart
attributes.jsblock.jsconstants.jsedit.jsfrontend.jsindex.js
product-types
shared
style.scssbutton
category-list
image
price
rating
sale-badge
save.jsshared
sku
stock-indicator
summary
tag-list
title
utils
base
components
block-error-boundary
button
cart-checkout
address-form
form-step
index.jsorder-summary
payment-method-icons
payment-method-label
place-order-button
policies
product-backorder-badge
product-badge
product-details
product-image
product-low-stock-badge
product-metadata
product-sale-badge
product-summary
return-to-cart-button
shipping-calculator
shipping-location
shipping-rates-control-package
shipping-rates-control
totals
checkbox-control
checkbox-list
chip
combobox
country-input
CountryInputProps.tsbilling-country-input.tsxcountry-input.tsxindex.tsshipping-country-input.tsx
stories
style.scssdrawer
dropdown-selector
filter-element-label
filter-submit-button
form
formatted-monetary-amount
label
load-more-button
loading-mask
pagination
price-slider
product-list
container.jsindex.jsno-matching-products.jsno-products.js
product-list-item
product-list.jsproduct-sort-select
style.scssproduct-name
product-price
quantity-selector
radio-control-accordion
radio-control
read-more
reviews
sidebar-layout
sort-select
spinner
state-input
summary
tabs
text-input
textarea
title
context
event-emit
hooks
cart
collections
index.jspayment-methods
shipping
test
use-checkout-submit.jsuse-query-state.jsuse-store-notices.jsuse-store-products.jsuse-store-snackbar-notices.js
use-checkout-address.jsuse-checkout-extension-data.tsuse-checkout-notices.jsuse-checkout-submit.jsuse-customer-data.tsuse-emit-response.tsuse-query-state.jsuse-store-add-to-cart.tsuse-store-events.tsuse-store-notices.tsuse-store-products.jsuse-store-snackbar-notices.jsuse-validation.tsproviders
add-to-cart-form
cart-checkout
cart
checkout-processor.jscheckout-provider.jscheckout-state
customer
index.jspayment-methods
actions.tsconstants.tsevent-emit.tsindex.tspayment-method-data-context.tsxreducer.ts
test
types.tsuse-active-payment-method.tsuse-payment-method-dispatchers.tsuse-payment-method-registration.tsutils.tsshipping
utils.tsstore-notices
store-snackbar-notices
validation
test
utils.jshocs
hooks
index.js
test
use-container-queries.tsuse-local-storage-state.tsuse-position-relative-to-viewport.jsuse-previous.tsuse-shallow-equal.tsuse-throw-error.tsutils
blocks-registry
block-components
get-registered-block-components.jsindex.jsregister-block-component.jsregistered-block-components-init.js
index.jstest
payment-methods
blocks
active-filters
attribute-filter
cart-checkout
cart-i2
attributes.jsblock.jsstyle.scsstypes.tsuse-forced-layout.tsuse-view-switcher.tsx
checkout-button
columns
context.tsedit.tsxeditor-utils.tseditor.scssempty-cart-edit
frontend.jsfull-cart
hacks.tsindex.jsinner-blocks
cart-express-payment-block
cart-items-block
cart-line-items-block
cart-order-summary-block
cart-totals-block
empty-cart-block
filled-cart-block
index.tsxproceed-to-checkout-block
register-components.tscart
attributes.jsblock.js
checkout-button
edit.jseditor.scssempty-cart-edit
frontend.jsfull-cart
index.jsstyle.scsstest
checkout
attributes.tsblock.tsx
checkout-order-error
columns
context.tsedit.tsxeditor-utils.tsempty-cart
form-step
frontend.tsxhacks.tsindex.tsxinner-blocks
checkout-actions-block
checkout-billing-address-block
checkout-contact-information-block
checkout-express-payment-block
checkout-fields-block
checkout-order-note-block
checkout-order-summary-block
checkout-payment-block
checkout-shipping-address-block
checkout-shipping-methods-block
checkout-terms-block
checkout-totals-block
index.tsxregister-components.tsorder-notes
phone-number
styles
types.tsuse-forced-layout.tsutils.tsmini-cart
block.tsxcomponent-frontend.tsxedit.tsxfrontend.tsindex.tsxstyle.scsswith-mini-cart-conditional-hydration.tsx
payment-methods
featured-category
featured-product
handpicked-products
price-filter
product-best-sellers
product-categories
product-category
product-new
product-on-sale
product-search
product-tag
product-top-rated
products-by-attribute
products
reviews
all-reviews
attributes.jsedit-utils.jseditor-block.jseditor-container-block.jseditor.scssexample.jsfrontend-block.jsfrontend-container-block.jsfrontend.jsreviews-by-category
reviews-by-product
save.jsutils.jssingle-product
stock-filter
data
cart
collections
constants.tsdefault-states.tsindex.tsquery-state
schema
shared-controls.tstypes.tsutils
editor-components
block-title
compatibility-notices
edit-product-link
error-placeholder
expandable-search-list-item
external-link-card
feedback-prompt
grid-content-control
grid-layout-control
heading-toolbar
page-selector
product-attribute-term-control
product-category-control
product-control
product-orderby-control
product-tag-control
products-control
text-toolbar-button
toggle-button-control
utils
view-switcher
extensions
google-analytics
filters
global.d.tshocs
index.js
test
with-categories.jswith-category.jswith-product-variations.jswith-product.jswith-searched-products.jswith-transform-single-select-to-multiple-select.js
with-attributes.jswith-categories.jswith-category.jswith-product-variations.jswith-product.jswith-rest-api-hydration.jswith-searched-products.tsxwith-store-cart-api-hydration.jswith-transform-single-select-to-multiple-select.jsicons
icon
index.jslibrary
address.jsarrow-back.jsarrow-down-alt2.jsasterisk.jsatom.jsbank.jsbarcode.jsbill.jsbookmark.jsbox.jscard.jscart.jscheck-payment.jschevron-down.jschevron-right.jschevron-up.jscomment.jscontact.jsdiscussion.jsdone.jsexclamation.jsexternal.jseye.jsfields.jsfilled-cart.jsfolder-starred.jsfolder.jsform-step.jsgrid.jsheading.jsimage.jslist.jsmore.jsno-alt.jsnotes.jsnotice.jsradio-selected.jsradio-unselected.jsreader.jsremove-cart.jsrestore.jsreview.jssearch.jsserver.jsstar.jsstonks.jstag.jstags.jsthumb-up.jstoggle.jstotals.jstruck.jswidgets.jswoo.js
stories
middleware
payment-method-extensions
payment-methods
bacs
cheque
cod
paypal
stripe
credit-card
constants.jselements.jsindex.jspayment-method.jsuse-checkout-subscriptions.jsuse-element-options.jsuse-payment-intents.jsuse-payment-processing.js
index.jspayment-request
apple-pay-preview.jsconstants.jsindex.jspayment-request-express.jsuse-checkout-subscriptions.jsuse-event-handlers.jsuse-initialization.js
stripe-utils
previews
cart.tscategories.jsgrid-block.jsindex.jsproducts.jsreviews.jssaved-payment-methods.jsshipping-rates.tssingle-product-block.js
settings
blocks
shared
shared
context
hocs
types
index.ts
type-defs
add-to-cart-form.jsaddress-fields.jsbilling.jscart-response.tscart.jscart.tscontexts.jscontexts.tscurrency.tsevents.tshooks.jshooks.tsindex.tsobjects.tspayments.tsproduct-response.tsregistered-payment-method-props.jssettings.jsshipping.jsshipping.ts
type-guards
utils
build
active-filters-frontend.asset.phpactive-filters-frontend.jsactive-filters.asset.phpactive-filters.jsall-products-frontend.asset.phpall-products-frontend.jsall-products.asset.phpall-products.jsall-reviews.asset.phpall-reviews.jsattribute-filter-frontend.asset.phpattribute-filter-frontend.jsattribute-filter.asset.phpattribute-filter.jsblocks-checkout.asset.phpblocks-checkout.jsadd-to-cart-frontend.jswc-blocks-data.asset.phpwc-blocks-data.jswc-blocks-editor-style-rtl.csswc-blocks-editor-style.csswc-blocks-google-analytics.asset.phpwc-blocks-google-analytics.jswc-blocks-middleware.asset.phpwc-blocks-middleware.jswc-blocks-registry.asset.phpwc-blocks-registry.jswc-blocks-shared-context.asset.phpwc-blocks-shared-context.jswc-blocks-shared-hocs.asset.phpwc-blocks-shared-hocs.jswc-blocks-style-rtl.csswc-blocks-style.csswc-blocks-vendors-style-rtl.csswc-blocks-vendors-style.csswc-blocks-vendors.jswc-blocks.asset.phpwc-blocks.jswc-payment-method-bacs.asset.phpwc-payment-method-bacs.jswc-payment-method-cheque.asset.phpwc-payment-method-cheque.jswc-payment-method-cod.asset.phpwc-payment-method-cod.jswc-payment-method-paypal.asset.phpwc-payment-method-paypal.jswc-payment-method-stripe.asset.phpwc-payment-method-stripe.jswc-settings.asset.phpwc-settings.js
global.d.tsatomic-block-components
add-to-cart--atomic-block-components
add-to-cart-frontend.jsadd-to-cart.jsbutton-frontend.jsbutton.jscategory-list-frontend.jscategory-list.jsimage-frontend.jsimage.jsprice-frontend.jsprice.jsrating-frontend.jsrating.jssale-badge-frontend.jssale-badge.jssku-frontend.jssku.jsstock-indicator-frontend.jsstock-indicator.jssummary-frontend.jssummary.jstag-list-frontend.jstag-list.jstitle-frontend.jstitle.jscart-blocks
checkout-button-frontend.jsempty-cart-frontend.jsexpress-payment-frontend.jsfilled-cart-frontend.jsitems-frontend.jsline-items-frontend.jsorder-summary-frontend.jstotals-frontend.js
cart-frontend.asset.phpcart-frontend.jscart-i2-frontend.asset.phpcart-i2-frontend.jscart-i2.asset.phpcart-i2.jscart.asset.phpcart.jsexpress-payment--checkout-blocks
express-payment--checkout-blocks
order-summary--checkout-blocks
billing-address--checkout-blocks
checkout-blocks
actions-frontend.jsbilling-address-frontend.jscontact-information-frontend.jsexpress-payment-frontend.jsfields-frontend.jsorder-note-frontend.jsorder-summary-frontend.jspayment-frontend.jsshipping-address-frontend.jsshipping-methods-frontend.jsterms-frontend.jstotals-frontend.js
checkout-frontend.asset.phpcheckout-frontend.jscheckout.asset.phpcheckout.jsfeatured-category.asset.phpfeatured-category.jsfeatured-product.asset.phpfeatured-product.jshandpicked-products.asset.phphandpicked-products.jsmini-cart-component-frontend.asset.phpmini-cart-component-frontend.jsmini-cart-frontend.asset.phpmini-cart-frontend.jsmini-cart.asset.phpmini-cart.jsprice-filter-frontend.asset.phpprice-filter-frontend.jsprice-filter.asset.phpprice-filter.jsprice-format.asset.phpprice-format.jsproduct-best-sellers.asset.phpproduct-best-sellers.jsproduct-categories.asset.phpproduct-categories.jsproduct-category.asset.phpproduct-category.jsproduct-new.asset.phpproduct-new.jsproduct-on-sale.asset.phpproduct-on-sale.jsproduct-search.asset.phpproduct-search.jsproduct-tag.asset.phpproduct-tag.jsproduct-top-rated.asset.phpproduct-top-rated.jsproducts-by-attribute.asset.phpproducts-by-attribute.jsreviews-by-category.asset.phpreviews-by-category.jsreviews-by-product.asset.phpreviews-by-product.jsreviews-frontend.asset.phpreviews-frontend.jssingle-product-frontend.asset.phpsingle-product-frontend.jssingle-product.asset.phpsingle-product.jsstock-filter-frontend.asset.phpstock-filter-frontend.jsstock-filter.asset.phpstock-filter.jsvendors--atomic-block-components
add-to-cart--cart-blocks
order-summary--checkout-blocks
price--cart-blocks
line-items--cart-blocks
vendors--cart-blocks
line-items--checkout-blocks
order-summary--checkout-blocks
billing-address--checkout-blocks
images
block-error.svg
payment-methods
alipay.svgamex.svgbancontact.svgdiners.svgdiscover.svgeps.svggiropay.svgideal.svgjcb.svglaser.svgmaestro.svgmastercard.svgmultibanco.svgp24.svgsepa.svgsofort.svgunionpay.svgvisa.svgwechat.svg
previews
packages
checkout
blocks-registry
button
discounts-meta
error-boundary
index.jslabel
order-meta
order-shipping-packages
panel
registry
slot
style.scsstotals
utils
wrapper
prices
patches
readme.txtsrc
Assets.php
Assets
AssetsController.phpBlockTypes
AbstractBlock.phpAbstractDynamicBlock.phpAbstractProductGrid.phpActiveFilters.phpAllProducts.phpAllReviews.phpAtomicBlock.phpAttributeFilter.phpCart.phpCartI2.phpCheckout.phpFeaturedCategory.phpFeaturedProduct.phpHandpickedProducts.phpMiniCart.phpPriceFilter.phpProductBestSellers.phpProductCategories.phpProductCategory.phpProductNew.phpProductOnSale.phpProductSearch.phpProductTag.phpProductTopRated.phpProductsByAttribute.phpReviewsByCategory.phpReviewsByProduct.phpSingleProduct.phpStockFilter.php
BlockTypesController.phpDomain
InboxNotifications.phpInstaller.phpIntegrations
Library.phpPackage.phpPayments
Api.php
Integrations
PaymentContext.phpPaymentMethodRegistry.phpPaymentMethodTypeInterface.phpPaymentResult.phpRegistry
RestApi.phpStoreApi
Formatters.php
Formatters
Routes
AbstractCartRoute.phpAbstractRoute.phpAbstractTermsRoute.phpBatch.phpCart.phpCartAddItem.phpCartApplyCoupon.phpCartCoupons.phpCartCouponsByCode.phpCartExtensions.phpCartItems.phpCartItemsByKey.phpCartRemoveCoupon.phpCartRemoveItem.phpCartSelectShippingRate.phpCartUpdateCustomer.phpCartUpdateItem.phpCheckout.phpProductAttributeTerms.phpProductAttributes.phpProductAttributesById.phpProductCategories.phpProductCategoriesById.phpProductCollectionData.phpProductReviews.phpProductTags.phpProducts.phpProductsById.phpRouteException.phpRouteInterface.php
RoutesController.phpSchemaController.phpSchemas
AbstractAddressSchema.phpAbstractSchema.phpBillingAddressSchema.phpCartCouponSchema.phpCartExtensionsSchema.phpCartFeeSchema.phpCartItemSchema.phpCartSchema.phpCartShippingRateSchema.phpCheckoutSchema.phpErrorSchema.phpImageAttachmentSchema.phpOrderCouponSchema.phpProductAttributeSchema.phpProductCategorySchema.phpProductCollectionDataSchema.phpProductReviewSchema.phpProductSchema.phpShippingAddressSchema.phpTermSchema.php
Utilities
Utils
templates
vendor
autoload.phpautoload_packages.php
woocommerce-gutenberg-products-block.phpautomattic
jetpack-autoloader
LICENSE.txt
src
AutoloadFileWriter.phpAutoloadGenerator.phpAutoloadProcessor.phpCustomAutoloaderPlugin.phpManifestGenerator.phpautoload.phpclass-autoloader-handler.phpclass-autoloader-locator.phpclass-autoloader.phpclass-container.phpclass-hook-manager.phpclass-latest-autoloader-guard.phpclass-manifest-reader.phpclass-path-processor.phpclass-php-autoloader.phpclass-plugin-locator.phpclass-plugins-handler.phpclass-shutdown-handler.phpclass-version-loader.phpclass-version-selector.php
composer
ClassLoader.phpInstalledVersions.phpLICENSEautoload_classmap.phpautoload_namespaces.phpautoload_psr4.phpautoload_real.phpautoload_static.phpinstalled.jsoninstalled.php
installers
LICENSEphpstan.neon.distbootstrap.php
jetpack_autoload_classmap.phpjetpack_autoload_psr4.phpsrc
Composer
Installers
AglInstaller.phpAimeosInstaller.phpAnnotateCmsInstaller.phpAsgardInstaller.phpAttogramInstaller.phpBaseInstaller.phpBitrixInstaller.phpBonefishInstaller.phpCakePHPInstaller.phpChefInstaller.phpCiviCrmInstaller.phpClanCatsFrameworkInstaller.phpCockpitInstaller.phpCodeIgniterInstaller.phpConcrete5Installer.phpCraftInstaller.phpCroogoInstaller.phpDecibelInstaller.phpDframeInstaller.phpDokuWikiInstaller.phpDolibarrInstaller.phpDrupalInstaller.phpElggInstaller.phpEliasisInstaller.phpExpressionEngineInstaller.phpEzPlatformInstaller.phpFuelInstaller.phpFuelphpInstaller.phpGravInstaller.phpHuradInstaller.phpImageCMSInstaller.phpInstaller.phpItopInstaller.phpJoomlaInstaller.phpKanboardInstaller.phpKirbyInstaller.phpKnownInstaller.phpKodiCMSInstaller.phpKohanaInstaller.phpLanManagementSystemInstaller.phpLaravelInstaller.phpLavaLiteInstaller.phpLithiumInstaller.phpMODULEWorkInstaller.phpMODXEvoInstaller.phpMagentoInstaller.phpMajimaInstaller.phpMakoInstaller.phpMantisBTInstaller.phpMauticInstaller.phpMayaInstaller.phpMediaWikiInstaller.phpMiaoxingInstaller.phpMicroweberInstaller.phpModxInstaller.phpMoodleInstaller.phpOctoberInstaller.phpOntoWikiInstaller.phpOsclassInstaller.phpOxidInstaller.phpPPIInstaller.phpPhiftyInstaller.phpPhpBBInstaller.phpPimcoreInstaller.phpPiwikInstaller.phpPlentymarketsInstaller.phpPlugin.phpPortoInstaller.phpPrestashopInstaller.phpProcessWireInstaller.phpPuppetInstaller.phpPxcmsInstaller.phpRadPHPInstaller.phpReIndexInstaller.phpRedaxo5Installer.phpRedaxoInstaller.phpRoundcubeInstaller.phpSMFInstaller.phpShopwareInstaller.phpSilverStripeInstaller.phpSiteDirectInstaller.phpStarbugInstaller.phpSyDESInstaller.phpSyliusInstaller.phpSymfony1Installer.phpTYPO3CmsInstaller.phpTYPO3FlowInstaller.phpTaoInstaller.phpTastyIgniterInstaller.phpTheliaInstaller.phpTuskInstaller.phpUserFrostingInstaller.phpVanillaInstaller.phpVgmcpInstaller.phpWHMCSInstaller.phpWinterInstaller.phpWolfCMSInstaller.phpWordPressInstaller.phpYawikInstaller.phpZendInstaller.phpZikulaInstaller.php
jetpack-autoloader
class-autoloader-handler.phpclass-autoloader-locator.phpclass-autoloader.phpclass-container.phpclass-hook-manager.phpclass-latest-autoloader-guard.phpclass-manifest-reader.phpclass-path-processor.phpclass-php-autoloader.phpclass-plugin-locator.phpclass-plugins-handler.phpclass-shutdown-handler.phpclass-version-loader.phpclass-version-selector.php
sample-data
src
Autoloader.php
Checkout
Container.phpInternal
AssignDefaultCategory.php
Packages.phpDependencyManagement
AbstractServiceProvider.phpContainerException.phpDefinition.phpExtendedContainer.php
DownloadPermissionsAdjuster.phpServiceProviders
ProductAttributesLookup
RestApiUtil.phpRestockRefundedItemsAdjuster.phpWCCom
Proxies
Utilities
templates
archive-product.phptaxonomy-product-cat.phptaxonomy-product-tag.php
uninstall.phpauth
cart
cart-empty.phpcart-item-data.phpcart-shipping.phpcart-totals.phpcart.phpcross-sells.phpmini-cart.phpproceed-to-checkout-button.phpshipping-calculator.php
checkout
cart-errors.phpform-billing.phpform-checkout.phpform-coupon.phpform-login.phpform-pay.phpform-shipping.phporder-receipt.phppayment-method.phppayment.phpreview-order.phpterms.phpthankyou.php
content-product-cat.phpcontent-product.phpcontent-single-product.phpcontent-widget-price-filter.phpcontent-widget-product.phpcontent-widget-reviews.phpemails
admin-cancelled-order.phpadmin-failed-order.phpadmin-new-order.phpcustomer-completed-order.phpcustomer-invoice.phpcustomer-new-account.phpcustomer-note.phpcustomer-on-hold-order.phpcustomer-processing-order.phpcustomer-refunded-order.phpcustomer-reset-password.phpemail-addresses.phpemail-customer-details.phpemail-downloads.phpemail-footer.phpemail-header.phpemail-order-details.phpemail-order-items.phpemail-styles.php
plain
admin-cancelled-order.phpadmin-failed-order.phpadmin-new-order.phpcustomer-completed-order.phpcustomer-invoice.phpcustomer-new-account.phpcustomer-note.phpcustomer-on-hold-order.phpcustomer-processing-order.phpcustomer-refunded-order.phpcustomer-reset-password.phpemail-addresses.phpemail-customer-details.phpemail-downloads.phpemail-order-details.phpemail-order-items.php
global
loop
add-to-cart.phploop-end.phploop-start.phpno-products-found.phporderby.phppagination.phpprice.phprating.phpresult-count.phpsale-flash.php
myaccount
dashboard.phpdownloads.phpform-add-payment-method.phpform-edit-account.phpform-edit-address.phpform-login.phpform-lost-password.phpform-reset-password.phplost-password-confirmation.phpmy-account.phpmy-address.phpmy-downloads.phpmy-orders.phpnavigation.phporders.phppayment-methods.phpview-order.php
notices
order
form-tracking.phporder-again.phporder-details-customer.phporder-details-item.phporder-details.phporder-downloads.phptracking.php
product-searchform.phpsingle-product-reviews.phpsingle-product.phpsingle-product
add-to-cart
meta.phpphotoswipe.phpprice.phpproduct-attributes.phpproduct-image.phpproduct-thumbnails.phprating.phprelated.phpreview-meta.phpreview-rating.phpreview.phpsale-flash.phpshare.phpshort-description.phpstock.phptabs
title.phpup-sells.phpvendor
autoload.phpautoload_packages.php
woocommerce.phpautomattic
jetpack-autoloader
src
AutoloadFileWriter.phpAutoloadGenerator.phpAutoloadProcessor.phpCustomAutoloaderPlugin.phpManifestGenerator.phpautoload.phpclass-autoloader-handler.phpclass-autoloader-locator.phpclass-autoloader.phpclass-container.phpclass-hook-manager.phpclass-latest-autoloader-guard.phpclass-manifest-reader.phpclass-path-processor.phpclass-php-autoloader.phpclass-plugin-locator.phpclass-plugins-handler.phpclass-shutdown-handler.phpclass-version-loader.phpclass-version-selector.php
jetpack-constants
composer
ClassLoader.phpLICENSEautoload_classmap.phpautoload_namespaces.phpautoload_psr4.phpautoload_real.phpautoload_static.phpinstalled.json
installers
LICENSEphpstan.neon.distbootstrap.php
jetpack_autoload_classmap.phpsrc
Composer
Installers
AglInstaller.phpAimeosInstaller.phpAnnotateCmsInstaller.phpAsgardInstaller.phpAttogramInstaller.phpBaseInstaller.phpBitrixInstaller.phpBonefishInstaller.phpCakePHPInstaller.phpChefInstaller.phpCiviCrmInstaller.phpClanCatsFrameworkInstaller.phpCockpitInstaller.phpCodeIgniterInstaller.phpConcrete5Installer.phpCraftInstaller.phpCroogoInstaller.phpDecibelInstaller.phpDframeInstaller.phpDokuWikiInstaller.phpDolibarrInstaller.phpDrupalInstaller.phpElggInstaller.phpEliasisInstaller.phpExpressionEngineInstaller.phpEzPlatformInstaller.phpFuelInstaller.phpFuelphpInstaller.phpGravInstaller.phpHuradInstaller.phpImageCMSInstaller.phpInstaller.phpItopInstaller.phpJoomlaInstaller.phpKanboardInstaller.phpKirbyInstaller.phpKnownInstaller.phpKodiCMSInstaller.phpKohanaInstaller.phpLanManagementSystemInstaller.phpLaravelInstaller.phpLavaLiteInstaller.phpLithiumInstaller.phpMODULEWorkInstaller.phpMODXEvoInstaller.phpMagentoInstaller.phpMajimaInstaller.phpMakoInstaller.phpMantisBTInstaller.phpMauticInstaller.phpMayaInstaller.phpMediaWikiInstaller.phpMiaoxingInstaller.phpMicroweberInstaller.phpModxInstaller.phpMoodleInstaller.phpOctoberInstaller.phpOntoWikiInstaller.phpOsclassInstaller.phpOxidInstaller.phpPPIInstaller.phpPantheonInstaller.phpPhiftyInstaller.phpPhpBBInstaller.phpPimcoreInstaller.phpPiwikInstaller.phpPlentymarketsInstaller.phpPlugin.phpPortoInstaller.phpPrestashopInstaller.phpProcessWireInstaller.phpPuppetInstaller.phpPxcmsInstaller.phpRadPHPInstaller.phpReIndexInstaller.phpRedaxo5Installer.phpRedaxoInstaller.phpRoundcubeInstaller.phpSMFInstaller.phpShopwareInstaller.phpSilverStripeInstaller.phpSiteDirectInstaller.phpStarbugInstaller.phpSyDESInstaller.phpSyliusInstaller.phpSymfony1Installer.phpTYPO3CmsInstaller.phpTYPO3FlowInstaller.phpTaoInstaller.phpTastyIgniterInstaller.phpTheliaInstaller.phpTuskInstaller.phpUserFrostingInstaller.phpVanillaInstaller.phpVgmcpInstaller.phpWHMCSInstaller.phpWinterInstaller.phpWolfCMSInstaller.phpWordPressInstaller.phpYawikInstaller.phpZendInstaller.phpZikulaInstaller.php
jetpack-autoloader
class-autoloader-handler.phpclass-autoloader-locator.phpclass-autoloader.phpclass-container.phpclass-hook-manager.phpclass-latest-autoloader-guard.phpclass-manifest-reader.phpclass-path-processor.phpclass-php-autoloader.phpclass-plugin-locator.phpclass-plugins-handler.phpclass-shutdown-handler.phpclass-version-loader.phpclass-version-selector.php
maxmind-db
reader
pelago
emogrifier
psr
container
symfony
css-selector
CssSelectorConverter.php
Exception
ExceptionInterface.phpExpressionErrorException.phpInternalErrorException.phpParseException.phpSyntaxErrorException.php
LICENSENode
AbstractNode.phpAttributeNode.phpClassNode.phpCombinedSelectorNode.phpElementNode.phpFunctionNode.phpHashNode.phpNegationNode.phpNodeInterface.phpPseudoNode.phpSelectorNode.phpSpecificity.php
Parser
Handler
CommentHandler.phpHandlerInterface.phpHashHandler.phpIdentifierHandler.phpNumberHandler.phpStringHandler.phpWhitespaceHandler.php
Parser.phpParserInterface.phpReader.phpShortcut
Token.phpTokenStream.phpTokenizer
Tests
CssSelectorConverterTest.php
Node
AbstractNodeTest.phpAttributeNodeTest.phpClassNodeTest.phpCombinedSelectorNodeTest.phpElementNodeTest.phpFunctionNodeTest.phpHashNodeTest.phpNegationNodeTest.phpPseudoNodeTest.phpSelectorNodeTest.phpSpecificityTest.php
Parser
Handler
AbstractHandlerTest.phpCommentHandlerTest.phpHashHandlerTest.phpIdentifierHandlerTest.phpNumberHandlerTest.phpStringHandlerTest.phpWhitespaceHandlerTest.php
ParserTest.phpReaderTest.phpShortcut
TokenStreamTest.phpXPath
XPath
95
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/index.js
Normal file
95
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/index.js
Normal file
@ -0,0 +1,95 @@
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
import classnames from 'classnames';
|
||||
import PropTypes from 'prop-types';
|
||||
import Title from '@woocommerce/base-components/title';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import './style.scss';
|
||||
|
||||
const StepHeading = ( { title, stepHeadingContent } ) => (
|
||||
<div className="wc-block-components-checkout-step__heading">
|
||||
<Title
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-checkout-step__title"
|
||||
headingLevel="2"
|
||||
>
|
||||
{ title }
|
||||
</Title>
|
||||
{ !! stepHeadingContent && (
|
||||
<span className="wc-block-components-checkout-step__heading-content">
|
||||
{ stepHeadingContent }
|
||||
</span>
|
||||
) }
|
||||
</div>
|
||||
);
|
||||
|
||||
const FormStep = ( {
|
||||
id,
|
||||
className,
|
||||
title,
|
||||
legend,
|
||||
description,
|
||||
children,
|
||||
disabled = false,
|
||||
showStepNumber = true,
|
||||
stepHeadingContent = () => {},
|
||||
} ) => {
|
||||
// If the form step doesn't have a legend or title, render a <div> instead
|
||||
// of a <fieldset>.
|
||||
const Element = legend || title ? 'fieldset' : 'div';
|
||||
|
||||
return (
|
||||
<Element
|
||||
className={ classnames(
|
||||
className,
|
||||
'wc-block-components-checkout-step',
|
||||
{
|
||||
'wc-block-components-checkout-step--with-step-number': showStepNumber,
|
||||
'wc-block-components-checkout-step--disabled': disabled,
|
||||
}
|
||||
) }
|
||||
id={ id }
|
||||
disabled={ disabled }
|
||||
>
|
||||
{ !! ( legend || title ) && (
|
||||
<legend className="screen-reader-text">
|
||||
{ legend || title }
|
||||
</legend>
|
||||
) }
|
||||
{ !! title && (
|
||||
<StepHeading
|
||||
title={ title }
|
||||
stepHeadingContent={ stepHeadingContent() }
|
||||
/>
|
||||
) }
|
||||
<div className="wc-block-components-checkout-step__container">
|
||||
{ !! description && (
|
||||
<p className="wc-block-components-checkout-step__description">
|
||||
{ description }
|
||||
</p>
|
||||
) }
|
||||
<div className="wc-block-components-checkout-step__content">
|
||||
{ children }
|
||||
</div>
|
||||
</div>
|
||||
</Element>
|
||||
);
|
||||
};
|
||||
|
||||
FormStep.propTypes = {
|
||||
id: PropTypes.string,
|
||||
className: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
description: PropTypes.string,
|
||||
children: PropTypes.node,
|
||||
showStepNumber: PropTypes.bool,
|
||||
stepHeadingContent: PropTypes.func,
|
||||
disabled: PropTypes.bool,
|
||||
legend: PropTypes.string,
|
||||
};
|
||||
|
||||
export default FormStep;
|
129
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/style.scss
Normal file
129
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/style.scss
Normal file
@ -0,0 +1,129 @@
|
||||
.wc-block-components-form {
|
||||
counter-reset: checkout-step;
|
||||
}
|
||||
|
||||
.wc-block-components-form .wc-block-components-checkout-step {
|
||||
position: relative;
|
||||
border: none;
|
||||
padding: 0 0 0 $gap-large;
|
||||
background: none;
|
||||
margin: 0;
|
||||
|
||||
.is-mobile &,
|
||||
.is-small & {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step--disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__content > * {
|
||||
margin-bottom: em($gap);
|
||||
}
|
||||
.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content > :last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: em($gap-large);
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__heading {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin: em($gap-small) 0 em($gap);
|
||||
position: relative;
|
||||
align-items: center;
|
||||
gap: em($gap);
|
||||
|
||||
.wc-block-components-express-payment-continue-rule + .wc-block-components-checkout-step & {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step:first-child .wc-block-components-checkout-step__heading {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__title {
|
||||
margin: 0 $gap-small 0 0;
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__heading-content {
|
||||
@include font-size(smaller);
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
color: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__description {
|
||||
@include font-size(small);
|
||||
line-height: 1.25;
|
||||
margin-bottom: $gap;
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step--with-step-number {
|
||||
.wc-block-components-checkout-step__title::before {
|
||||
@include reset-box();
|
||||
background: transparent;
|
||||
counter-increment: checkout-step;
|
||||
content: "\00a0" counter(checkout-step) ".";
|
||||
content: "\00a0" counter(checkout-step) "." / "";
|
||||
position: absolute;
|
||||
width: $gap-large;
|
||||
left: -$gap-large;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
transform: translateX(-50%);
|
||||
|
||||
.is-mobile &,
|
||||
.is-small & {
|
||||
position: static;
|
||||
transform: none;
|
||||
left: auto;
|
||||
top: auto;
|
||||
content: counter(checkout-step) ".\00a0";
|
||||
content: counter(checkout-step) ".\00a0" / "";
|
||||
}
|
||||
}
|
||||
|
||||
.wc-block-components-checkout-step__container::after {
|
||||
content: "";
|
||||
height: 100%;
|
||||
border-left: 1px solid;
|
||||
opacity: 0.3;
|
||||
position: absolute;
|
||||
left: -$gap-large;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.is-mobile &,
|
||||
.is-small & {
|
||||
.wc-block-components-checkout-step__title::before {
|
||||
position: static;
|
||||
transform: none;
|
||||
left: auto;
|
||||
top: auto;
|
||||
content: counter(checkout-step) ".\00a0";
|
||||
content: counter(checkout-step) ".\00a0" / "";
|
||||
}
|
||||
.wc-block-components-checkout-step__container::after {
|
||||
content: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.editor-styles-wrapper {
|
||||
.wp-block h4.wc-block-components-checkout-step__title {
|
||||
@include font-size(regular);
|
||||
line-height: 24px;
|
||||
margin: 0 $gap-small 0 0;
|
||||
}
|
||||
}
|
262
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/test/__snapshots__/index.js.snap
Normal file
262
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/test/__snapshots__/index.js.snap
Normal file
@ -0,0 +1,262 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`FormStep fieldset legend should default to legend prop when title and legend are defined 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum 2
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__heading"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-title wc-block-components-checkout-step__title"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
||||
|
||||
exports[`FormStep should apply id and className props 1`] = `
|
||||
<div
|
||||
className="my-classname wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
id="my-id"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`FormStep should remove step number CSS class if prop is false 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step"
|
||||
disabled={false}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__heading"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-title wc-block-components-checkout-step__title"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
||||
|
||||
exports[`FormStep should render a div if no title or legend is provided 1`] = `
|
||||
<div
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`FormStep should render a fieldset if a legend is provided 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum 2
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
||||
|
||||
exports[`FormStep should render a fieldset with heading if a title is provided 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__heading"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-title wc-block-components-checkout-step__title"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
||||
|
||||
exports[`FormStep should render step description 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__heading"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-title wc-block-components-checkout-step__title"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<p
|
||||
className="wc-block-components-checkout-step__description"
|
||||
>
|
||||
This is the description
|
||||
</p>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
||||
|
||||
exports[`FormStep should render step heading content 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number"
|
||||
disabled={false}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__heading"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-title wc-block-components-checkout-step__title"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h2>
|
||||
<span
|
||||
className="wc-block-components-checkout-step__heading-content"
|
||||
>
|
||||
<span>
|
||||
Some context to render next to the heading
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
||||
|
||||
exports[`FormStep should set disabled prop to the fieldset element when disabled is true 1`] = `
|
||||
<fieldset
|
||||
className="wc-block-components-checkout-step wc-block-components-checkout-step--with-step-number wc-block-components-checkout-step--disabled"
|
||||
disabled={true}
|
||||
>
|
||||
<legend
|
||||
className="screen-reader-text"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</legend>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__heading"
|
||||
>
|
||||
<h2
|
||||
aria-hidden="true"
|
||||
className="wc-block-components-title wc-block-components-checkout-step__title"
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h2>
|
||||
</div>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__container"
|
||||
>
|
||||
<div
|
||||
className="wc-block-components-checkout-step__content"
|
||||
>
|
||||
Dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
`;
|
100
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/test/index.js
Normal file
100
packages/woocommerce-blocks/assets/js/base/components/cart-checkout/form-step/test/index.js
Normal file
@ -0,0 +1,100 @@
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
import TestRenderer from 'react-test-renderer';
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import FormStep from '..';
|
||||
|
||||
describe( 'FormStep', () => {
|
||||
test( 'should render a div if no title or legend is provided', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep>Dolor sit amet</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should apply id and className props', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep id="my-id" className="my-classname">
|
||||
Dolor sit amet
|
||||
</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should render a fieldset if a legend is provided', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep legend="Lorem Ipsum 2">Dolor sit amet</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should render a fieldset with heading if a title is provided', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep title="Lorem Ipsum">Dolor sit amet</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'fieldset legend should default to legend prop when title and legend are defined', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep title="Lorem Ipsum" legend="Lorem Ipsum 2">
|
||||
Dolor sit amet
|
||||
</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should remove step number CSS class if prop is false', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep title="Lorem Ipsum" showStepNumber={ false }>
|
||||
Dolor sit amet
|
||||
</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should render step heading content', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep
|
||||
title="Lorem Ipsum"
|
||||
stepHeadingContent={ () => (
|
||||
<span>Some context to render next to the heading</span>
|
||||
) }
|
||||
>
|
||||
Dolor sit amet
|
||||
</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should render step description', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep title="Lorem Ipsum" description="This is the description">
|
||||
Dolor sit amet
|
||||
</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
|
||||
test( 'should set disabled prop to the fieldset element when disabled is true', () => {
|
||||
const component = TestRenderer.create(
|
||||
<FormStep title="Lorem Ipsum" disabled={ true }>
|
||||
Dolor sit amet
|
||||
</FormStep>
|
||||
);
|
||||
|
||||
expect( component.toJSON() ).toMatchSnapshot();
|
||||
} );
|
||||
} );
|
Reference in New Issue
Block a user