Co-authored-by: Joel <dygerati@gmail.com>
Co-authored-by: Thomas Shellberg <6723003+tommyshellberg@users.noreply.github.com>
Co-authored-by: Nima Karimi <73110514+nima-karimi@users.noreply.github.com>
* Add support to downloads block to use the context postType
* Register the downloads block into the ProductVariationTemplate
* Add changelog files
* Fix compilation error
* Fix download block init function
* Show themes first if no extensions
* Empty search load discover page
* Show three items per row if not dividable by four
* Update search per page to 8 for large screens
* Show 8 items on large screens
* Prevent same tab click
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix function name
---------
Co-authored-by: github-actions <github-actions@github.com>
- Aims to make those skeleton loaders more accurately represent this size and shape of the content that will replace them.
- Refactors the code so that components are responsible for hosting their own skeleton code, attached to an `isLoading` variable, making it easier to stay consistent as changes are made in future.
* Move component from WooPayments
* Expose component on the package
And include its style sheet.
* Add missing global typing
* Fallback to alpha2 codes
when wcSettings.countries is not available
* Add build data script and its output
* Move defaults to their own file
* Add readme and JSDocs
* Add storyboard examples
* Add JS unit and snapshot tests
* Move `DataType` to a `types.ts` file
To get rid of the type definition in the build data script
* Fix markdown issues
* Add changefile(s) from automation for the following project(s): @woocommerce/components
* Minor markdown update
* Fix input sanitization
* Add component output to storybook examples
* Remove consecutive spaces or hyphens from input sanitization
* Improve consecutive character sanitization
Move it to the component keyDown event to avoid the caret to be displaced
* Ensure imports from @wordpress/element
* Refactor to avoid using lodash
* Add changefile(s) from automation for the following project(s): @woocommerce/components
* Use $gray-5 for highlighted items for better contrast
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add variation switcher hook for easier use across multiple components
* Add unregister function for validation
* Add changelogs
* Remove stray console
* Add unRegisterValidator function