This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5ca0593fbd
woocommerce
/
plugins
/
woocommerce-blocks
/
assets
/
js
/
base
/
utils
/
index.js
4 lines
78 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Active filters block (https://github.com/woocommerce/woocommerce-blocks/pull/1168) * Basic block construction * Register on PHP side * wc-active-filters script * Price utils * Refactor price slider so state reflects the query Moves some logic from the component to the block so that min and max price can change (via query) and be reflected by the price sliders. This allows the active filters block to change the query and have those new values reflected by the slider. * Fix type checking of numbers * Styles for filter block * Improved attribute helper for getting attribute taxonomy data from ID/taxonomy * Refactor attribute filter to use updateAttributeFilter helper * Disable checkboxes when loading to avoid multiple queries * Add todos - this is blocked * Remove checked state from Attribute Filter so it gets updated from the store (https://github.com/woocommerce/woocommerce-blocks/pull/1170) * isLoading check * active price filtering rendering * Block heading * Implement block options; chip display with clear button * Clear all should remove all attributes * Enable previews * Introduce a component to look up terms from slugs using collections (which are cached) * Correct all docblocks * activePriceFilters null return * renderRemovableListItem * Remove useMemo for hasFilters * Switch classnames notation * Ensure slug is array in removeAttributeFilterBySlug * null -> undefined return types for attributes * Remove fragment * Check we have a termObject in ActiveAttributeFilters * Refactor formatPriceRange return statements * Ensure query array index will exist * Only sort when adding a query * Remove aria-label with dupe text * hasFilters is function * Update useQueryStateByKey usage * More doc block fixes * Update getAttributeFromTaxonomy return and docblock * getAttributeFromID return/docblock
2019-11-15 14:41:23 +00:00
export
*
from
'./errors'
;
export
*
from
'./price'
;
Link shipping form fields to shipping rates to load them. (https://github.com/woocommerce/woocommerce-blocks/pull/1890) * add plukedAddress util function in order to use it for shallowEqual * refactor useShipping so it accepts and returns the address * refactor fields * fix test and return shippingRates to hook * remove unneeded shippingAddress from ShippingRatesControl * move keys logic to hook * refactor tests again * increase cart size
2020-03-10 10:55:19 +00:00
export
*
from
'./address'
;