woocommerce/plugins/woocommerce-blocks/assets/js/settings/shared
Mike Jolley e0c62dce79
Extensibility: Format currency config so it can be consumed more easily (#48727)
* Export pre-formatted SITE_CURRENCY object from settings

* Fallback to SITE_CURRENCY

* Changelog

* Fix typedef

* Update mocks

* Inject site currency into cart preview data

* Update test

* Add currency formatting to preview data

* Mock currency in tests

* More currency mocking
2024-07-12 14:24:22 +01:00
..
test Mini Cart block: Add label for tax when it should be visible in accordance with WC settings (https://github.com/woocommerce/woocommerce-blocks/pull/5184) 2021-12-03 10:45:06 +01:00
default-constants.ts Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00
default-fields.ts [Experimental] Handle adding attributes during fields registration (#43379) 2024-01-15 14:59:36 -08:00
index.ts Introduce Additional Fields extensibility API (#42695) 2023-12-15 13:45:38 +01:00
settings-init.ts Convert product-elements/price to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/7683) 2022-12-23 22:30:10 +07:00
utils.ts Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00