woocommerce/plugins/woocommerce-blocks/assets/js/base/components
Thomas Roberts e49a7eaffd Update Label component to TSX (https://github.com/woocommerce/woocommerce-blocks/pull/3889)
* Add tsconfig to components directory and include it as project

* Add @types/classnames package

* Migrate Label component to TSX

* Remove unused imports from Label component

* fix package-lock.json

It was generated with npm 7 and we don’t support that yet (and that update should be done in a separate pull)

* Add interface for LabelProps and implement.

Also:
- import `Fragment` from @wordpress/element.
- import `HTMLAttributes` explicitly as a type from react (@types/wordpress__element doesn’t export this interface).

* fix jest configuration

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2021-02-26 11:57:49 +00:00
..
block-error-boundary Fix color for BlockErrorBoundry (https://github.com/woocommerce/woocommerce-blocks/pull/3738) 2021-01-27 14:10:58 +01:00
button Use @wordpress/base-styles and @automattic/color-studio as a base for our styles (https://github.com/woocommerce/woocommerce-blocks/pull/3300) 2020-10-22 12:40:32 +02:00
cart-checkout Fix cart line subtotal display when currency has 0 decimals (https://github.com/woocommerce/woocommerce-blocks/pull/3876) 2021-02-22 13:16:45 +00:00
checkbox-control Update input colors and alignment (https://github.com/woocommerce/woocommerce-blocks/pull/3597) 2021-01-12 10:09:47 +01:00
checkbox-list Replace uppercase Translators with translators & make comment style consistent (https://github.com/woocommerce/woocommerce-blocks/pull/3869) 2021-02-19 11:58:44 +00:00
chip Fix circular dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/3704) 2021-01-19 10:55:44 -05:00
country-input Fix React hook dependency warnings in Cart & Checkout blocks + withAttributes HOC (https://github.com/woocommerce/woocommerce-blocks/pull/3314) 2020-10-27 15:37:18 +01:00
dropdown-selector Replace uppercase Translators with translators & make comment style consistent (https://github.com/woocommerce/woocommerce-blocks/pull/3869) 2021-02-19 11:58:44 +00:00
filter-submit-button Replace uppercase Translators with translators & make comment style consistent (https://github.com/woocommerce/woocommerce-blocks/pull/3869) 2021-02-19 11:58:44 +00:00
form Split Checkout form component into smaller files (II) (https://github.com/woocommerce/woocommerce-blocks/pull/3106) 2020-09-07 17:43:05 +02:00
formatted-monetary-amount Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
label Update Label component to TSX (https://github.com/woocommerce/woocommerce-blocks/pull/3889) 2021-02-26 11:57:49 +00:00
load-more-button Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
loading-mask Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
pagination Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
price-slider Switch to Fragment Short Syntax (`<>`) (https://github.com/woocommerce/woocommerce-blocks/pull/3536) 2020-12-14 11:54:34 +00:00
product-list Move ProductSortSelect and ProductListItem under /product-list (https://github.com/woocommerce/woocommerce-blocks/pull/3870) 2021-02-22 12:04:29 +01:00
product-name Merge markup from Product Title atomic block and ProductName component (https://github.com/woocommerce/woocommerce-blocks/pull/3562) 2020-12-21 14:45:27 +01:00
product-price Fix product price not displaying properly when product is on sale (https://github.com/woocommerce/woocommerce-blocks/pull/3853) 2021-02-16 11:42:11 +00:00
quantity-selector Replace uppercase Translators with translators & make comment style consistent (https://github.com/woocommerce/woocommerce-blocks/pull/3869) 2021-02-19 11:58:44 +00:00
radio-control Update Cart and Checkout sidebar design (https://github.com/woocommerce/woocommerce-blocks/pull/3797) 2021-02-09 09:10:45 +01:00
radio-control-accordion Update checkout payment methods design. (https://github.com/woocommerce/woocommerce-blocks/pull/3439) 2021-02-02 05:51:47 +01:00
read-more Add tests to AddressForm (https://github.com/woocommerce/woocommerce-blocks/pull/3621) 2021-01-06 10:22:51 +01:00
reviews Replace uppercase Translators with translators & make comment style consistent (https://github.com/woocommerce/woocommerce-blocks/pull/3869) 2021-02-19 11:58:44 +00:00
select Remove shadows from text buttons and gradient background from selects in some themes (https://github.com/woocommerce/woocommerce-blocks/pull/3846) 2021-02-17 13:40:52 +01:00
sidebar-layout Update Panel component class names to follow guidelines (https://github.com/woocommerce/woocommerce-blocks/pull/3860) 2021-02-17 14:48:53 +01:00
sort-select Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
state-input Fix Address Validation in the Store API and client (https://github.com/woocommerce/woocommerce-blocks/pull/3552) 2020-12-17 14:52:44 +00:00
store-notices-container Fix c notice close button color in Twenty Twenty One dark mode (https://github.com/woocommerce/woocommerce-blocks/pull/3472) 2020-12-02 13:09:57 +01:00
summary Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
tabs Don't load contents of payment method hidden tabs (https://github.com/woocommerce/woocommerce-blocks/pull/3227) 2020-10-05 15:25:40 +02:00
text-input Fix circular dependencies (https://github.com/woocommerce/woocommerce-blocks/pull/3704) 2021-01-19 10:55:44 -05:00
textarea Fix checkbox and textarea styles in Twenty Twenty One when it has dark controls (https://github.com/woocommerce/woocommerce-blocks/pull/3450) 2020-11-23 15:20:31 -05:00
title Restore saved payment method data after closing an express payment method (https://github.com/woocommerce/woocommerce-blocks/pull/3210) 2020-10-08 11:21:47 +02:00
validation Use @wordpress/base-styles and @automattic/color-studio as a base for our styles (https://github.com/woocommerce/woocommerce-blocks/pull/3300) 2020-10-22 12:40:32 +02:00
README.md clarify intentions / purpose of different component folders in docs (https://github.com/woocommerce/woocommerce-blocks/pull/3025) 2020-08-27 08:15:16 +12:00
tsconfig.json Update Label component to TSX (https://github.com/woocommerce/woocommerce-blocks/pull/3889) 2021-02-26 11:57:49 +00:00

README.md

WooCommerce Blocks - General Purpose Components

These are shared components used in WooCommerce blocks, and may be used in the store front end (shopper experience) as well as the editor or admin dashboard.

See Components & Storybook doc for more information.