M. L. Giannotta
77c237d6a2
Storybook migration of `CountryInput` component ( https://github.com/woocommerce/woocommerce-blocks/pull/5312 )
...
* Enable `exactOptionalPropertyTypes` in TS config
This option will create more strict types out of optional properties.
Read more: https://devblogs.microsoft.com/typescript/announcing-typescript-4-4-beta/#exact-optional-property-types
* Extract `ComboBoxProps` as own interface
This way we can export it to use it somewhere else. In this specific case,
I'll need to use it as a base to extend the `CountryInputProps`.
Also fixed some types to be optional, as the component requires.
* Fix stories and props for `CountryInput` (https://github.com/woocommerce/woocommerce-blocks/pull/5252 )
2021-12-07 16:07:21 +01:00
Mike Jolley
ad6521d250
Add focus styles to form elements ( https://github.com/woocommerce/woocommerce-blocks/pull/4721 )
2021-09-14 12:26:41 +01:00
Mike Jolley
717465ed99
Combobox patch to prevent the suggestion list being left open after browser autocomplete ( https://github.com/woocommerce/woocommerce-blocks/pull/4590 )
...
* Combobox patch
* Update a package to invalidate CI cache
* Update cache handling
* revert eslint package change
2021-08-17 13:25:11 +01:00
Mike Jolley
a40893ae3a
Switch from Select to Combobox for Country and State Inputs ( https://github.com/woocommerce/woocommerce-blocks/pull/4369 )
...
* Add combobox control
* Implement in country and state
* mobile styling
* styling across themes
* Remove validated select component
* Use focus-within
* Update tests
* Use @wordpress/compose
* Move field clearing to effect hook
* Patch combobox component
PR https://github.com/WordPress/gutenberg/pull/33928
* patch package after install
* update package
* Prevent autofill handling impacting manual input
* Add todo
* combo requires option to be selected
2021-08-12 17:30:42 +01:00