mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-11 00:31:45 +01:00
* collect tailwind styles from the `libs/vault/*` - Some unique styles were not showing in storybook * initial add of carousel component * initial add of carousel stories * move carousel button to a standalone component for organization * add key manager for carousel buttons * add tab panel role to slide component * make carousel slide focusable when it does not contain focusable elements * add aria live to carousel slides * add labels for carousel slide buttons * emit slide change event * move icons to carousel-icons folder * add barrel file for carousel * move protected properties * remove underscore * allow differing heights of carousel slides * update interactive styles for the carousel icons * allow for focus styled on carousel buttons * fix tests * fix imports * add method to render each slide and get the height of the tallest slide - This avoids consumers having to pass in a height. - The height of the tallest slide is needed because it will stop the carousel from jumping around as the user scrolls. * add comment to content property * remove rem calculation
20 lines
460 B
JavaScript
20 lines
460 B
JavaScript
/* eslint-disable */
|
|
const config = require("./tailwind.config.base");
|
|
|
|
config.content = [
|
|
"libs/components/src/**/*.{html,ts,mdx}",
|
|
"libs/auth/src/**/*.{html,ts,mdx}",
|
|
"libs/vault/src/**/*.{html,ts,mdx}",
|
|
"apps/web/src/**/*.{html,ts,mdx}",
|
|
"apps/browser/src/**/*.{html,ts,mdx}",
|
|
"bitwarden_license/bit-web/src/**/*.{html,ts,mdx}",
|
|
".storybook/preview.tsx",
|
|
];
|
|
config.safelist = [
|
|
{
|
|
pattern: /tw-bg-(.*)/,
|
|
},
|
|
];
|
|
|
|
module.exports = config;
|