b642576e34
* Updated mobile banner icon with cross-small gridicon * Update analytics dashboard icons, removing use of dashicon * Remove use of dash icon in tag component * Remove dash icon from ellipsis menu * Remove use of dashicon in calendar * Update icon imports and remove use of Dashicon in collapsible list * Remove Dashicon usage from store alerts as it is depreciated * Remove dashicon usage in shipping label * Fix up old css for icons * Removed dashicon usage in favorite button * Update the wordpress/icons package * Add changelogs * Fix broken test |
||
---|---|---|
.. | ||
beta-features-tracking-modal | ||
marketing-coupons | ||
navigation-opt-out | ||
onboarding-homepage-notice | ||
onboarding-product-import-notice | ||
onboarding-product-notice | ||
onboarding-tax-notice | ||
print-shipping-label-banner | ||
README.md |
README.md
Scripts located in this directory are meant to be loaded on wp-admin pages outside the context of WooCommerce Admin, such as the post editor. Adding the script name to wpAdminScripts
in the Webpack config will automatically build these scripts.
Scripts must be manually enqueued with any neccessary dependencies. For example, onboarding-homepage-notice
uses the WooCommerce navigation package:
wp_enqueue_script( 'onboarding-homepage-notice', Loader::get_url( 'wp-scripts/onboarding-homepage-notice.js' ), array( 'wc-navigation' ) );