mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
* create the pricing library * Create pricing-card.component * Refactor the code * feat: Add pricing card component library * Fix the test failing error * Address billing pr comments * feat: Add Storybook documentation and stories for pricing-card component * Fix some ui feedback * Changes from the display and sizes * feat(billing): refactor pricing card with flexible title slots and active badge * Enhance pricing card with flexible design and button icons * refactor: organize pricing card files into dedicated folder * Complete pricing card enhancements with Chromatic feedback fixes * refactor base on pr coments * Fix the button alignment * Update all the card to have the same height * Fix the slot issue on the title * Fix the Lint format issue * Add the header in the stories book
29 lines
596 B
TypeScript
29 lines
596 B
TypeScript
import { webcrypto } from "crypto";
|
|
import "@bitwarden/ui-common/setup-jest";
|
|
|
|
Object.defineProperty(window, "CSS", { value: null });
|
|
Object.defineProperty(window, "getComputedStyle", {
|
|
value: () => {
|
|
return {
|
|
display: "none",
|
|
appearance: ["-webkit-appearance"],
|
|
};
|
|
},
|
|
});
|
|
|
|
Object.defineProperty(document, "doctype", {
|
|
value: "<!DOCTYPE html>",
|
|
});
|
|
Object.defineProperty(document.body.style, "transform", {
|
|
value: () => {
|
|
return {
|
|
enumerable: true,
|
|
configurable: true,
|
|
};
|
|
},
|
|
});
|
|
|
|
Object.defineProperty(window, "crypto", {
|
|
value: webcrypto,
|
|
});
|