93214eeb2b
* Adjust border and box-shadow color for textual inputs * WIP: Style checkboxes * Vertically center checkmark * Adjust focus outline width * Adjust selected checkbox background in light mode * Adjust background color of selected radio button * Add chevron icon to dropdown fields * Add changelog * Fix CSS lint issues * Adjust outline width * Revert checkbox styles * Adjust input field height and label size * Revert box-shadow styles * Add spacing between coupon title and coupon code * Simplify onFocus and onBlur * Fix outline width when focusing combobox * Ensure chevron points down after selecting value * Adjust outline color of focused delivery option * POC: Use currentColor for focus states |
||
---|---|---|
.. | ||
components | ||
context | ||
hocs | ||
hooks | ||
utils | ||
README.MD |
README.MD
Base Components/Context/Hooks
Base components are designed to be used on the frontend of a store. Due to this, we need to avoid using heavy WordPress externals as dependencies (@wordpress/blocks
, @wordpress/block-editor
, etc).
Note 2 exceptions, we do use the Slot
and Fill
which we import and bundle from @wordpress/components
. Otherwise you should avoid importing anything else from that package.
The other exception is the FormTokenField
, which is used in deprecated blocks and use of that import is also deprecated.
If you need primitive/low-level components to build components in this library, please use Ariakit to build them. See Button for an example.
Check the built *.assets.php
files to ensure extra dependencies aren't being added to the build.