clients/libs/common
cyprain-okeke 7989ad7b7c
[PM-26682] [Milestone 2d] Display discount on subscription page (#17229)
* The discount badge implementation

* Use existing flag

* Added the top spaces as requested

* refactor: move discount-badge to pricing library and consolidate discount classes

* fix: add CommonModule import to discount-badge component and simplify discounted amount calculation

- Add CommonModule import to discount-badge component for *ngIf directive
- Simplify discountedSubscriptionAmount to use upcomingInvoice.amount from server instead of manual calculation

* Fix the lint errors

* Story update

---------

Co-authored-by: Alex Morask <amorask@bitwarden.com>
2025-11-12 20:38:13 +01:00
..
spec refactor: introduce @bitwarden/state and other common libs (#15772) 2025-08-04 11:01:28 -04:00
src [PM-26682] [Milestone 2d] Display discount on subscription page (#17229) 2025-11-12 20:38:13 +01:00
custom-matchers.d.ts [PM-8847] Delay browser local storage operations during reseed (#9536) 2024-07-19 16:12:29 -04:00
jest.config.js Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
package.json PM-16220: Account does not exist during login race condition (#12488) 2025-01-27 16:11:42 +01:00
project.json build: add nx configuration in libs/common (#16544) 2025-09-24 13:20:42 +02:00
test.setup.ts Improve SDK direct function usage (#13353) 2025-02-26 09:08:42 +01:00
tsconfig.json Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
tsconfig.spec.json [CL-525] Upgrade angular to v19 (#14815) 2025-06-02 13:13:31 -04:00