703051b1bc
* Migrate stories for `ProductName` to latest Storybook. Also add props documentation and add named export. * Migrate `TotalsFooterItem` to TypeScript and latest Storybook * Add a `LooselyMustHave` utility type. * Export `allSettings` so that they can be manipulated in stories and tests * Implement a way to easily define and reuse Storybook controls Implement a currency control for a common use-case of selecting currencies. It currently implements EUR and USD as they have different properties. * Migrate `TotalsDiscount` to TypeScript and implement stories * Migrate `TotalsCoupon` to TypeScript and fix stories * Change Coupon name within Storybook * Nicer handling of removal of a coupon from Storybook It now dynamically calculates the discount from the actual coupons. |
||
---|---|---|
.. | ||
currency.ts | ||
index.ts |