daleui 0.0.2 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/dist/check-DEVerfH5.js +72 -0
- package/dist/components/Box/Box.d.ts +34 -0
- package/dist/components/Box/Box.js +34 -0
- package/dist/components/Button/Button.d.ts +37 -0
- package/dist/components/Button/Button.js +367 -0
- package/dist/components/Card/Card.d.ts +68 -0
- package/dist/components/Card/Card.js +132 -0
- package/dist/components/Checkbox/Checkbox.d.ts +34 -0
- package/dist/components/Checkbox/Checkbox.js +657 -0
- package/dist/components/Flex/Flex.d.ts +361 -0
- package/dist/components/Flex/Flex.js +65 -0
- package/dist/components/HStack/HStack.d.ts +23 -0
- package/dist/components/HStack/HStack.js +35 -0
- package/dist/components/Heading/Heading.d.ts +33 -0
- package/dist/components/Heading/Heading.js +67 -0
- package/dist/components/Icon/Icon.d.ts +20 -0
- package/dist/components/Icon/Icon.js +325 -0
- package/dist/components/Label/Label.d.ts +35 -0
- package/dist/components/Label/Label.js +74 -0
- package/dist/components/Link/Link.d.ts +33 -0
- package/dist/components/Link/Link.js +176 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +17 -0
- package/dist/components/PasswordInput/PasswordInput.js +151 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +82 -0
- package/dist/components/RadioGroup/RadioGroup.js +713 -0
- package/dist/components/Select/Select.d.ts +39 -0
- package/dist/components/Select/Select.js +222 -0
- package/dist/components/Tag/Tag.d.ts +26 -0
- package/dist/components/Tag/Tag.js +189 -0
- package/dist/components/Text/Text.d.ts +22 -0
- package/dist/components/Text/Text.js +115 -0
- package/dist/components/TextInput/TextInput.d.ts +21 -0
- package/dist/components/TextInput/TextInput.js +106 -0
- package/dist/components/VStack/VStack.d.ts +23 -0
- package/dist/components/VStack/VStack.js +35 -0
- package/dist/css-QiVVeZaw.js +212 -0
- package/dist/cva-BrKodHDH.js +57 -0
- package/dist/cx-DN21T1EH.js +9 -0
- package/dist/hstack-cCrHxysi.js +43 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +37 -0
- package/dist/tokens/colors.d.ts +4 -0
- package/dist/tokens/iconography.d.ts +45 -0
- package/dist/tokens/spacing.d.ts +42 -0
- package/dist/tokens/typography.d.ts +312 -0
- package/dist/use-locale-context-DYXE7B4r.js +775 -0
- package/package.json +62 -39
- package/styled-system/css/conditions.mjs +36 -0
- package/styled-system/css/css.d.ts +22 -0
- package/styled-system/css/css.mjs +45 -0
- package/styled-system/css/cva.d.ts +6 -0
- package/styled-system/css/cva.mjs +87 -0
- package/styled-system/css/cx.d.ts +5 -0
- package/styled-system/css/cx.mjs +15 -0
- package/styled-system/css/index.d.ts +5 -0
- package/styled-system/css/index.mjs +4 -0
- package/styled-system/css/sva.d.ts +4 -0
- package/styled-system/css/sva.mjs +46 -0
- package/styled-system/helpers.mjs +316 -0
- package/styled-system/patterns/aspect-ratio.d.ts +20 -0
- package/styled-system/patterns/aspect-ratio.mjs +38 -0
- package/styled-system/patterns/bleed.d.ts +21 -0
- package/styled-system/patterns/bleed.mjs +24 -0
- package/styled-system/patterns/box.d.ts +20 -0
- package/styled-system/patterns/box.mjs +15 -0
- package/styled-system/patterns/center.d.ts +20 -0
- package/styled-system/patterns/center.mjs +21 -0
- package/styled-system/patterns/circle.d.ts +20 -0
- package/styled-system/patterns/circle.mjs +25 -0
- package/styled-system/patterns/container.d.ts +20 -0
- package/styled-system/patterns/container.mjs +21 -0
- package/styled-system/patterns/cq.d.ts +21 -0
- package/styled-system/patterns/cq.mjs +21 -0
- package/styled-system/patterns/divider.d.ts +22 -0
- package/styled-system/patterns/divider.mjs +25 -0
- package/styled-system/patterns/flex.d.ts +26 -0
- package/styled-system/patterns/flex.mjs +26 -0
- package/styled-system/patterns/float.d.ts +23 -0
- package/styled-system/patterns/float.mjs +52 -0
- package/styled-system/patterns/grid-item.d.ts +25 -0
- package/styled-system/patterns/grid-item.mjs +25 -0
- package/styled-system/patterns/grid.d.ts +24 -0
- package/styled-system/patterns/grid.mjs +27 -0
- package/styled-system/patterns/hstack.d.ts +21 -0
- package/styled-system/patterns/hstack.mjs +24 -0
- package/styled-system/patterns/index.d.ts +21 -0
- package/styled-system/patterns/index.mjs +20 -0
- package/styled-system/patterns/link-overlay.d.ts +20 -0
- package/styled-system/patterns/link-overlay.mjs +24 -0
- package/styled-system/patterns/spacer.d.ts +20 -0
- package/styled-system/patterns/spacer.mjs +21 -0
- package/styled-system/patterns/square.d.ts +20 -0
- package/styled-system/patterns/square.mjs +24 -0
- package/styled-system/patterns/stack.d.ts +23 -0
- package/styled-system/patterns/stack.mjs +24 -0
- package/styled-system/patterns/visually-hidden.d.ts +20 -0
- package/styled-system/patterns/visually-hidden.mjs +18 -0
- package/styled-system/patterns/vstack.d.ts +21 -0
- package/styled-system/patterns/vstack.mjs +24 -0
- package/styled-system/patterns/wrap.d.ts +24 -0
- package/styled-system/patterns/wrap.mjs +25 -0
- package/styled-system/tokens/index.d.ts +9 -0
- package/styled-system/tokens/index.mjs +3176 -0
- package/styled-system/tokens/tokens.d.ts +63 -0
- package/styled-system/types/composition.d.ts +224 -0
- package/styled-system/types/conditions.d.ts +310 -0
- package/styled-system/types/csstype.d.ts +21298 -0
- package/styled-system/types/global.d.ts +20 -0
- package/styled-system/types/index.d.ts +7 -0
- package/styled-system/types/parts.d.ts +8 -0
- package/styled-system/types/pattern.d.ts +78 -0
- package/styled-system/types/prop-type.d.ts +265 -0
- package/styled-system/types/recipe.d.ts +181 -0
- package/styled-system/types/selectors.d.ts +59 -0
- package/styled-system/types/static-css.d.ts +56 -0
- package/styled-system/types/style-props.d.ts +7504 -0
- package/styled-system/types/system-types.d.ts +269 -0
- package/.github/CODEOWNERS +0 -1
- package/.github/FUNDING.yml +0 -1
- package/.github/workflows/automation.yml +0 -13
- package/.github/workflows/chromatic.yml +0 -19
- package/.github/workflows/deployment.yml +0 -32
- package/.github/workflows/integration.yml +0 -15
- package/.github/workflows/storybook-tests.yml +0 -17
- package/.storybook/main.ts +0 -18
- package/.storybook/preview.ts +0 -29
- package/.storybook/test-runner.ts +0 -33
- package/bun.lock +0 -2099
- package/chromatic.config.json +0 -5
- package/eslint.config.js +0 -28
- package/index.html +0 -13
- package/panda.config.ts +0 -61
- package/postcss.config.cjs +0 -5
- package/public/logo.svg +0 -9
- package/src/App.tsx +0 -67
- package/src/assets/Discord.svg +0 -1
- package/src/assets/GitHub.svg +0 -1
- package/src/assets/LinkedIn.svg +0 -1
- package/src/assets/Medium.svg +0 -1
- package/src/assets/YouTube.svg +0 -1
- package/src/components/Button/Button.stories.tsx +0 -115
- package/src/components/Button/Button.test.tsx +0 -108
- package/src/components/Button/Button.tsx +0 -245
- package/src/components/Button/index.tsx +0 -1
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -129
- package/src/components/Checkbox/Checkbox.test.tsx +0 -169
- package/src/components/Checkbox/Checkbox.tsx +0 -190
- package/src/components/Heading/Heading.stories.tsx +0 -72
- package/src/components/Heading/Heading.test.tsx +0 -55
- package/src/components/Heading/Heading.tsx +0 -73
- package/src/components/Heading/index.tsx +0 -1
- package/src/components/Icon/Icon.stories.tsx +0 -106
- package/src/components/Icon/Icon.test.tsx +0 -44
- package/src/components/Icon/Icon.tsx +0 -116
- package/src/components/Icon/index.tsx +0 -1
- package/src/components/Text/Text.stories.tsx +0 -65
- package/src/components/Text/Text.test.tsx +0 -54
- package/src/components/Text/Text.tsx +0 -93
- package/src/components/Text/index.tsx +0 -1
- package/src/index.css +0 -2
- package/src/main.tsx +0 -10
- package/src/setupTests.tsx +0 -5
- package/src/styles/globalCss.ts +0 -43
- package/src/tokens/colors.mdx +0 -100
- package/src/tokens/colors.ts +0 -288
- package/src/tokens/iconography.mdx +0 -15
- package/src/tokens/iconography.tsx +0 -54
- package/src/tokens/typography.mdx +0 -38
- package/src/tokens/typography.ts +0 -132
- package/src/vite-env.d.ts +0 -2
- package/tsconfig.app.json +0 -25
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -22
- package/vite.config.ts +0 -16
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
export { Box, type BoxProps } from "./components/Box/Box";
|
|
3
|
+
export { Button, type ButtonProps } from "./components/Button/Button";
|
|
4
|
+
export { Card } from "./components/Card/Card";
|
|
5
|
+
export { Checkbox, type CheckboxProps } from "./components/Checkbox/Checkbox";
|
|
6
|
+
export { Flex, type FlexProps } from "./components/Flex/Flex";
|
|
7
|
+
export { Heading, type HeadingProps } from "./components/Heading/Heading";
|
|
8
|
+
export { HStack, type HStackProps } from "./components/HStack/HStack";
|
|
9
|
+
export { Icon, type IconProps } from "./components/Icon/Icon";
|
|
10
|
+
export { Label, type LabelProps } from "./components/Label/Label";
|
|
11
|
+
export { Link, type LinkProps } from "./components/Link/Link";
|
|
12
|
+
export { PasswordInput, type PasswordInputProps, } from "./components/PasswordInput/PasswordInput";
|
|
13
|
+
export { RadioGroup, type RadioGroupProps, Radio, type RadioProps, } from "./components/RadioGroup/RadioGroup";
|
|
14
|
+
export { Select, type SelectProps } from "./components/Select/Select";
|
|
15
|
+
export { Tag, type TagProps } from "./components/Tag/Tag";
|
|
16
|
+
export { Text, type TextProps } from "./components/Text/Text";
|
|
17
|
+
export { TextInput, type TextInputProps, } from "./components/TextInput/TextInput";
|
|
18
|
+
export { VStack, type VStackProps } from "./components/VStack/VStack";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Box as t } from "./components/Box/Box.js";
|
|
2
|
+
import { Button as x } from "./components/Button/Button.js";
|
|
3
|
+
import { Card as f } from "./components/Card/Card.js";
|
|
4
|
+
import { Checkbox as a } from "./components/Checkbox/Checkbox.js";
|
|
5
|
+
import { Flex as c } from "./components/Flex/Flex.js";
|
|
6
|
+
import { Heading as i } from "./components/Heading/Heading.js";
|
|
7
|
+
import { HStack as u } from "./components/HStack/HStack.js";
|
|
8
|
+
import { Icon as I } from "./components/Icon/Icon.js";
|
|
9
|
+
import { Label as T } from "./components/Label/Label.js";
|
|
10
|
+
import { Link as g } from "./components/Link/Link.js";
|
|
11
|
+
import { PasswordInput as B } from "./components/PasswordInput/PasswordInput.js";
|
|
12
|
+
import { Radio as H, RadioGroup as L } from "./components/RadioGroup/RadioGroup.js";
|
|
13
|
+
import { Select as h } from "./components/Select/Select.js";
|
|
14
|
+
import { Tag as F } from "./components/Tag/Tag.js";
|
|
15
|
+
import { Text as P } from "./components/Text/Text.js";
|
|
16
|
+
import { TextInput as j } from "./components/TextInput/TextInput.js";
|
|
17
|
+
import { VStack as v } from "./components/VStack/VStack.js";
|
|
18
|
+
export {
|
|
19
|
+
t as Box,
|
|
20
|
+
x as Button,
|
|
21
|
+
f as Card,
|
|
22
|
+
a as Checkbox,
|
|
23
|
+
c as Flex,
|
|
24
|
+
u as HStack,
|
|
25
|
+
i as Heading,
|
|
26
|
+
I as Icon,
|
|
27
|
+
T as Label,
|
|
28
|
+
g as Link,
|
|
29
|
+
B as PasswordInput,
|
|
30
|
+
H as Radio,
|
|
31
|
+
L as RadioGroup,
|
|
32
|
+
h as Select,
|
|
33
|
+
F as Tag,
|
|
34
|
+
P as Text,
|
|
35
|
+
j as TextInput,
|
|
36
|
+
v as VStack
|
|
37
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ComponentProps, FunctionComponent, SVGProps } from "react";
|
|
2
|
+
export declare const icons: {
|
|
3
|
+
award: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
check: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
chevronDown: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
6
|
+
chevronLeft: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
7
|
+
chevronRight: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
circleAlert: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
9
|
+
clock: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
codeXml: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
11
|
+
externalLink: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
12
|
+
eye: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
13
|
+
eyeClosed: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
eyeOff: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
|
+
globe: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
handHeart: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
|
+
heartHandshake: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
18
|
+
info: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
19
|
+
kr: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
20
|
+
title?: string;
|
|
21
|
+
titleId?: string;
|
|
22
|
+
desc?: string;
|
|
23
|
+
descId?: string;
|
|
24
|
+
}>;
|
|
25
|
+
loaderCircle: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
26
|
+
menu: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
messageCircle: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
28
|
+
messageCircleMore: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
29
|
+
moon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
30
|
+
search: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
31
|
+
star: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
32
|
+
sun: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
33
|
+
thumbsUp: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
34
|
+
user: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
|
+
users: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
|
+
x: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
37
|
+
Discord: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
GitHub: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
LinkedIn: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
Medium: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
YouTube: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
Storybook: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
Figma: (args: ComponentProps<FunctionComponent<SVGProps<SVGSVGElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
export type IconName = keyof typeof icons;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* margin, padding, gap, top, right, bottom, left, outlineOffset
|
|
3
|
+
*/
|
|
4
|
+
export declare const spacing: {
|
|
5
|
+
"0": {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
"2": {
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
"4": {
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
"8": {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
17
|
+
"12": {
|
|
18
|
+
value: string;
|
|
19
|
+
};
|
|
20
|
+
"16": {
|
|
21
|
+
value: string;
|
|
22
|
+
};
|
|
23
|
+
"20": {
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
"24": {
|
|
27
|
+
value: string;
|
|
28
|
+
};
|
|
29
|
+
"32": {
|
|
30
|
+
value: string;
|
|
31
|
+
};
|
|
32
|
+
"36": {
|
|
33
|
+
value: string;
|
|
34
|
+
};
|
|
35
|
+
"40": {
|
|
36
|
+
value: string;
|
|
37
|
+
};
|
|
38
|
+
"48": {
|
|
39
|
+
value: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type Spacing = keyof typeof spacing;
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
export declare const textStyles: {
|
|
2
|
+
display: {
|
|
3
|
+
lg: {
|
|
4
|
+
value: {
|
|
5
|
+
fontFamily: string;
|
|
6
|
+
fontSize: string;
|
|
7
|
+
fontWeight: string;
|
|
8
|
+
lineHeight: string;
|
|
9
|
+
letterSpacing: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
md: {
|
|
13
|
+
value: {
|
|
14
|
+
fontFamily: string;
|
|
15
|
+
fontSize: string;
|
|
16
|
+
fontWeight: string;
|
|
17
|
+
lineHeight: string;
|
|
18
|
+
letterSpacing: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
sm: {
|
|
22
|
+
value: {
|
|
23
|
+
fontFamily: string;
|
|
24
|
+
fontSize: string;
|
|
25
|
+
fontWeight: string;
|
|
26
|
+
lineHeight: string;
|
|
27
|
+
letterSpacing: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
title: {
|
|
32
|
+
lg: {
|
|
33
|
+
value: {
|
|
34
|
+
fontFamily: string;
|
|
35
|
+
fontSize: string;
|
|
36
|
+
fontWeight: string;
|
|
37
|
+
lineHeight: string;
|
|
38
|
+
letterSpacing: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
md: {
|
|
42
|
+
value: {
|
|
43
|
+
fontFamily: string;
|
|
44
|
+
fontSize: string;
|
|
45
|
+
fontWeight: string;
|
|
46
|
+
lineHeight: string;
|
|
47
|
+
letterSpacing: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
sm: {
|
|
51
|
+
value: {
|
|
52
|
+
fontFamily: string;
|
|
53
|
+
fontSize: string;
|
|
54
|
+
fontWeight: string;
|
|
55
|
+
lineHeight: string;
|
|
56
|
+
letterSpacing: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
body: {
|
|
61
|
+
lg: {
|
|
62
|
+
value: {
|
|
63
|
+
fontFamily: string;
|
|
64
|
+
fontSize: string;
|
|
65
|
+
fontWeight: string;
|
|
66
|
+
lineHeight: string;
|
|
67
|
+
letterSpacing: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
md: {
|
|
71
|
+
value: {
|
|
72
|
+
fontFamily: string;
|
|
73
|
+
fontSize: string;
|
|
74
|
+
fontWeight: string;
|
|
75
|
+
lineHeight: string;
|
|
76
|
+
letterSpacing: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
sm: {
|
|
80
|
+
value: {
|
|
81
|
+
fontFamily: string;
|
|
82
|
+
fontSize: string;
|
|
83
|
+
fontWeight: string;
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
letterSpacing: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
label: {
|
|
90
|
+
lg: {
|
|
91
|
+
DEFAULT: {
|
|
92
|
+
value: {
|
|
93
|
+
fontFamily: string;
|
|
94
|
+
fontSize: string;
|
|
95
|
+
fontWeight: string;
|
|
96
|
+
lineHeight: string;
|
|
97
|
+
letterSpacing: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
underline: {
|
|
101
|
+
value: {
|
|
102
|
+
fontFamily: string;
|
|
103
|
+
fontSize: string;
|
|
104
|
+
fontWeight: string;
|
|
105
|
+
lineHeight: string;
|
|
106
|
+
letterSpacing: string;
|
|
107
|
+
textDecoration: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
md: {
|
|
112
|
+
DEFAULT: {
|
|
113
|
+
value: {
|
|
114
|
+
fontFamily: string;
|
|
115
|
+
fontSize: string;
|
|
116
|
+
fontWeight: string;
|
|
117
|
+
lineHeight: string;
|
|
118
|
+
letterSpacing: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
underline: {
|
|
122
|
+
value: {
|
|
123
|
+
fontFamily: string;
|
|
124
|
+
fontSize: string;
|
|
125
|
+
fontWeight: string;
|
|
126
|
+
lineHeight: string;
|
|
127
|
+
letterSpacing: string;
|
|
128
|
+
textDecoration: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
strong: {
|
|
132
|
+
value: {
|
|
133
|
+
fontFamily: string;
|
|
134
|
+
fontSize: string;
|
|
135
|
+
fontWeight: string;
|
|
136
|
+
lineHeight: string;
|
|
137
|
+
letterSpacing: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
sm: {
|
|
142
|
+
DEFAULT: {
|
|
143
|
+
value: {
|
|
144
|
+
fontFamily: string;
|
|
145
|
+
fontSize: string;
|
|
146
|
+
fontWeight: string;
|
|
147
|
+
lineHeight: string;
|
|
148
|
+
letterSpacing: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
underline: {
|
|
152
|
+
value: {
|
|
153
|
+
fontFamily: string;
|
|
154
|
+
fontSize: string;
|
|
155
|
+
fontWeight: string;
|
|
156
|
+
lineHeight: string;
|
|
157
|
+
letterSpacing: string;
|
|
158
|
+
textDecoration: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
caption: {
|
|
164
|
+
value: {
|
|
165
|
+
fontFamily: string;
|
|
166
|
+
fontSize: string;
|
|
167
|
+
fontWeight: string;
|
|
168
|
+
lineHeight: string;
|
|
169
|
+
letterSpacing: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
code: {
|
|
173
|
+
value: {
|
|
174
|
+
fontFamily: string;
|
|
175
|
+
fontSize: string;
|
|
176
|
+
fontWeight: string;
|
|
177
|
+
lineHeight: string;
|
|
178
|
+
letterSpacing: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
heading: {
|
|
182
|
+
"1": {
|
|
183
|
+
value: {
|
|
184
|
+
fontFamily: string;
|
|
185
|
+
fontSize: {
|
|
186
|
+
base: string;
|
|
187
|
+
lg: string;
|
|
188
|
+
};
|
|
189
|
+
fontWeight: string;
|
|
190
|
+
lineHeight: string;
|
|
191
|
+
letterSpacing: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
"2": {
|
|
195
|
+
value: {
|
|
196
|
+
fontFamily: string;
|
|
197
|
+
fontSize: {
|
|
198
|
+
base: string;
|
|
199
|
+
lg: string;
|
|
200
|
+
};
|
|
201
|
+
fontWeight: string;
|
|
202
|
+
lineHeight: string;
|
|
203
|
+
letterSpacing: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
"3": {
|
|
207
|
+
value: {
|
|
208
|
+
fontFamily: string;
|
|
209
|
+
fontSize: {
|
|
210
|
+
base: string;
|
|
211
|
+
lg: string;
|
|
212
|
+
};
|
|
213
|
+
fontWeight: string;
|
|
214
|
+
lineHeight: string;
|
|
215
|
+
letterSpacing: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
"4": {
|
|
219
|
+
value: {
|
|
220
|
+
fontFamily: string;
|
|
221
|
+
fontSize: {
|
|
222
|
+
base: string;
|
|
223
|
+
lg: string;
|
|
224
|
+
};
|
|
225
|
+
fontWeight: string;
|
|
226
|
+
lineHeight: string;
|
|
227
|
+
letterSpacing: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
"5": {
|
|
231
|
+
value: {
|
|
232
|
+
fontFamily: string;
|
|
233
|
+
fontSize: {
|
|
234
|
+
base: string;
|
|
235
|
+
lg: string;
|
|
236
|
+
};
|
|
237
|
+
fontWeight: string;
|
|
238
|
+
lineHeight: string;
|
|
239
|
+
letterSpacing: string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
};
|
|
244
|
+
export declare const fonts: {
|
|
245
|
+
sans: {
|
|
246
|
+
value: string;
|
|
247
|
+
};
|
|
248
|
+
mono: {
|
|
249
|
+
value: string;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
export declare const fontWeights: {
|
|
253
|
+
normal: {
|
|
254
|
+
value: string;
|
|
255
|
+
};
|
|
256
|
+
medium: {
|
|
257
|
+
value: string;
|
|
258
|
+
};
|
|
259
|
+
semibold: {
|
|
260
|
+
value: string;
|
|
261
|
+
};
|
|
262
|
+
bold: {
|
|
263
|
+
value: string;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
export type FontWeight = keyof typeof fontWeights;
|
|
267
|
+
export declare const fontSizes: {
|
|
268
|
+
xs: {
|
|
269
|
+
value: string;
|
|
270
|
+
};
|
|
271
|
+
sm: {
|
|
272
|
+
value: string;
|
|
273
|
+
};
|
|
274
|
+
md: {
|
|
275
|
+
value: string;
|
|
276
|
+
};
|
|
277
|
+
lg: {
|
|
278
|
+
value: string;
|
|
279
|
+
};
|
|
280
|
+
xl: {
|
|
281
|
+
value: string;
|
|
282
|
+
};
|
|
283
|
+
"2xl": {
|
|
284
|
+
value: string;
|
|
285
|
+
};
|
|
286
|
+
"3xl": {
|
|
287
|
+
value: string;
|
|
288
|
+
};
|
|
289
|
+
"4xl": {
|
|
290
|
+
value: string;
|
|
291
|
+
};
|
|
292
|
+
"5xl": {
|
|
293
|
+
value: string;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
export type FontSize = keyof typeof fontSizes;
|
|
297
|
+
export declare const letterSpacings: {
|
|
298
|
+
tight: {
|
|
299
|
+
value: string;
|
|
300
|
+
};
|
|
301
|
+
balanced: {
|
|
302
|
+
value: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
export declare const lineHeights: {
|
|
306
|
+
tight: {
|
|
307
|
+
value: string;
|
|
308
|
+
};
|
|
309
|
+
balanced: {
|
|
310
|
+
value: string;
|
|
311
|
+
};
|
|
312
|
+
};
|