import { c as __spreadArray, _ as __assign } from '../tslib.es6-20a2a300.js';
import { jsx } from 'react/jsx-runtime';
import colors from '../theme/colors.js';
import Typography, { TypographyVariants } from '../components/Typography.js';
import '../_commonjsHelpers-57e89916.js';
import '../theme/fontSize.js';
import '../theme/fontWeight.js';
import '../theme/fontFamily.js';
import '../theme/lineHeight.js';
import '../Typography-649a8eff.js';
import '../defaultTheme-49a26576.js';
import 'react';
import '../clsx.m-6243b874.js';
import '../withStyles-99aeb25b.js';
import '../hoist-non-react-statics.cjs-b718ab87.js';
import '../capitalize-5d3e9aac.js';
import '../makeStyles-c9a99c7a.js';

var textColorKeys = __spreadArray(__spreadArray([], Object.keys(colors.text)), [""]);
var argTypes = {
    children: {
        name: "children",
        description: "The content of the component.",
        defaultValue: "The quick brown fox jumps over the lazy dog.",
        control: {
            type: "text"
        },
        table: {
            type: { summary: "string" },
            defaultValue: { summary: "-" }
        }
    },
    variant: {
        name: "variant",
        description: "Applies the theme typography styles.",
        defaultValue: "paragraph",
        options: TypographyVariants,
        control: {
            type: "select"
        },
        table: {
            type: { summary: "string" },
            defaultValue: { summary: "body1" }
        }
    },
    color: {
        name: "color",
        description: "The color of the component. It supports those theme colors that make sense for this component.",
        defaultValue: colors.text.primary,
        options: textColorKeys,
        control: {
            type: "select"
        },
        table: {
            type: { summary: "string" },
            defaultValue: { summary: colors.text.primary }
        }
    },
    align: {
        name: "align",
        description: "Set the text-align on the component.",
        defaultValue: "inherit",
        options: ["inherit", "left", "center", "right", "justify"],
        control: {
            type: "select"
        },
        table: {
            type: { summary: "string" },
            defaultValue: { summary: "inherit" }
        }
    },
    display: {
        name: "display",
        description: "Set the display on the component.",
        defaultValue: "initial",
        options: ["initial", "block", "inline"],
        control: {
            type: "select"
        },
        table: {
            type: { summary: "string" },
            defaultValue: { summary: "initial" }
        }
    },
    noWrap: {
        name: "noWrap",
        description: "Set the text-wrap on the component.",
        defaultValue: false,
        control: {
            type: "boolean"
        },
        table: {
            type: { summary: "boolean" },
            defaultValue: { summary: false }
        }
    },
    component: { table: { disable: true } }
};
var Template = function (args) {
    return jsx(Typography, __assign({}, args), void 0);
};
var Default = Template.bind({});
var Typography_stories = {
    title: "Components/Typography",
    component: Typography,
    argTypes: argTypes
};

export { Default, Typography_stories as default };
