cherry-styled-components 0.1.0-1 → 0.1.0
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/package.json +6 -20
- package/src/app/components/{styled-components → cherry/styled-components}/theme-provider.tsx +1 -1
- package/.DS_Store +0 -0
- package/.eslintrc.json +0 -3
- package/.gitignore +0 -43
- package/.next/app-build-manifest.json +0 -15
- package/.next/build-manifest.json +0 -19
- package/.next/cache/.tsbuildinfo +0 -1
- package/.next/cache/eslint/.cache_hc9deq +0 -1
- package/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development/10.pack.gz +0 -0
- package/.next/cache/webpack/client-development/11.pack.gz +0 -0
- package/.next/cache/webpack/client-development/12.pack.gz +0 -0
- package/.next/cache/webpack/client-development/13.pack.gz +0 -0
- package/.next/cache/webpack/client-development/14.pack.gz +0 -0
- package/.next/cache/webpack/client-development/15.pack.gz +0 -0
- package/.next/cache/webpack/client-development/16.pack.gz +0 -0
- package/.next/cache/webpack/client-development/17.pack.gz +0 -0
- package/.next/cache/webpack/client-development/18.pack.gz +0 -0
- package/.next/cache/webpack/client-development/19.pack.gz +0 -0
- package/.next/cache/webpack/client-development/2.pack.gz +0 -0
- package/.next/cache/webpack/client-development/20.pack.gz +0 -0
- package/.next/cache/webpack/client-development/21.pack.gz +0 -0
- package/.next/cache/webpack/client-development/22.pack.gz +0 -0
- package/.next/cache/webpack/client-development/23.pack.gz +0 -0
- package/.next/cache/webpack/client-development/3.pack.gz +0 -0
- package/.next/cache/webpack/client-development/4.pack.gz +0 -0
- package/.next/cache/webpack/client-development/5.pack.gz +0 -0
- package/.next/cache/webpack/client-development/6.pack.gz +0 -0
- package/.next/cache/webpack/client-development/7.pack.gz +0 -0
- package/.next/cache/webpack/client-development/8.pack.gz +0 -0
- package/.next/cache/webpack/client-development/9.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/client-development-fallback/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/index.pack.gz.old +0 -0
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/1.pack +0 -0
- package/.next/cache/webpack/client-production/2.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/.next/cache/webpack/server-development/0.pack.gz +0 -0
- package/.next/cache/webpack/server-development/1.pack.gz +0 -0
- package/.next/cache/webpack/server-development/10.pack.gz +0 -0
- package/.next/cache/webpack/server-development/11.pack.gz +0 -0
- package/.next/cache/webpack/server-development/12.pack.gz +0 -0
- package/.next/cache/webpack/server-development/13.pack.gz +0 -0
- package/.next/cache/webpack/server-development/14.pack.gz +0 -0
- package/.next/cache/webpack/server-development/15.pack.gz +0 -0
- package/.next/cache/webpack/server-development/16.pack.gz +0 -0
- package/.next/cache/webpack/server-development/17.pack.gz +0 -0
- package/.next/cache/webpack/server-development/18.pack.gz +0 -0
- package/.next/cache/webpack/server-development/19.pack.gz +0 -0
- package/.next/cache/webpack/server-development/2.pack.gz +0 -0
- package/.next/cache/webpack/server-development/20.pack.gz +0 -0
- package/.next/cache/webpack/server-development/21.pack.gz +0 -0
- package/.next/cache/webpack/server-development/22.pack.gz +0 -0
- package/.next/cache/webpack/server-development/23.pack.gz +0 -0
- package/.next/cache/webpack/server-development/24.pack.gz +0 -0
- package/.next/cache/webpack/server-development/25.pack.gz +0 -0
- package/.next/cache/webpack/server-development/26.pack.gz +0 -0
- package/.next/cache/webpack/server-development/27.pack.gz +0 -0
- package/.next/cache/webpack/server-development/28.pack.gz +0 -0
- package/.next/cache/webpack/server-development/29.pack.gz +0 -0
- package/.next/cache/webpack/server-development/3.pack.gz +0 -0
- package/.next/cache/webpack/server-development/30.pack.gz +0 -0
- package/.next/cache/webpack/server-development/31.pack.gz +0 -0
- package/.next/cache/webpack/server-development/32.pack.gz +0 -0
- package/.next/cache/webpack/server-development/4.pack.gz +0 -0
- package/.next/cache/webpack/server-development/5.pack.gz +0 -0
- package/.next/cache/webpack/server-development/6.pack.gz +0 -0
- package/.next/cache/webpack/server-development/7.pack.gz +0 -0
- package/.next/cache/webpack/server-development/8.pack.gz +0 -0
- package/.next/cache/webpack/server-development/9.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/1.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/.next/package.json +0 -1
- package/.next/react-loadable-manifest.json +0 -1
- package/.next/server/app/page.js +0 -1072
- package/.next/server/app/page_client-reference-manifest.js +0 -1
- package/.next/server/app-paths-manifest.json +0 -1
- package/.next/server/middleware-build-manifest.js +0 -1
- package/.next/server/middleware-manifest.json +0 -6
- package/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/.next/server/next-font-manifest.js +0 -1
- package/.next/server/next-font-manifest.json +0 -1
- package/.next/server/pages-manifest.json +0 -1
- package/.next/server/server-reference-manifest.js +0 -1
- package/.next/server/server-reference-manifest.json +0 -5
- package/.next/server/vendor-chunks/@emotion.js +0 -45
- package/.next/server/vendor-chunks/@swc.js +0 -75
- package/.next/server/vendor-chunks/next.js +0 -2197
- package/.next/server/vendor-chunks/shallowequal.js +0 -24
- package/.next/server/vendor-chunks/styled-components.js +0 -35
- package/.next/server/vendor-chunks/stylis.js +0 -85
- package/.next/server/webpack-runtime.js +0 -220
- package/.next/static/chunks/app/layout.js +0 -695
- package/.next/static/chunks/app/page.js +0 -28
- package/.next/static/chunks/app-pages-internals.js +0 -105
- package/.next/static/chunks/main-app.js +0 -1893
- package/.next/static/chunks/polyfills.js +0 -1
- package/.next/static/chunks/webpack.js +0 -1416
- package/.next/static/css/app/layout.css +0 -69
- package/.next/static/development/_buildManifest.js +0 -1
- package/.next/static/development/_ssgManifest.js +0 -1
- package/.next/static/media/05a31a2ca4975f99-s.woff2 +0 -0
- package/.next/static/media/513657b02c5c193f-s.woff2 +0 -0
- package/.next/static/media/51ed15f9841b9f9d-s.woff2 +0 -0
- package/.next/static/media/c9a5bc6a7c948fb0-s.p.woff2 +0 -0
- package/.next/static/media/d6b16ce4a6175f26-s.woff2 +0 -0
- package/.next/static/media/ec159349637c90ad-s.woff2 +0 -0
- package/.next/static/media/fd4db3eb5472fc27-s.woff2 +0 -0
- package/.next/static/webpack/633457081244afec._.hot-update.json +0 -1
- package/.next/trace +0 -19
- package/.next/types/app/layout.ts +0 -79
- package/.next/types/app/page.ts +0 -79
- package/.next/types/package.json +0 -1
- package/.prettierrc +0 -11
- package/.vscode/settings.json +0 -67
- package/next-env.d.ts +0 -5
- package/next.config.mjs +0 -8
- package/src/app/layout.tsx +0 -19
- package/src/app/page.tsx +0 -14
- package/tsconfig.json +0 -29
- package/tsconfig.tsbuildinfo +0 -1
- package/types/.next/types/app/layout.d.ts +0 -9
- package/types/.next/types/app/page.d.ts +0 -9
- package/types/src/app/components/box.d.ts +0 -4
- package/types/src/app/components/button.d.ts +0 -17
- package/types/src/app/components/col.d.ts +0 -16
- package/types/src/app/components/container.d.ts +0 -19
- package/types/src/app/components/flex.d.ts +0 -27
- package/types/src/app/components/grid.d.ts +0 -24
- package/types/src/app/components/index.d.ts +0 -15
- package/types/src/app/components/input.d.ts +0 -15
- package/types/src/app/components/max-width.d.ts +0 -13
- package/types/src/app/components/range.d.ts +0 -13
- package/types/src/app/components/select.d.ts +0 -14
- package/types/src/app/components/space.d.ts +0 -14
- package/types/src/app/components/styled-components/index.d.ts +0 -2
- package/types/src/app/components/styled-components/registry.d.ts +0 -5
- package/types/src/app/components/styled-components/theme-provider.d.ts +0 -6
- package/types/src/app/components/textarea.d.ts +0 -13
- package/types/src/app/components/toggle.d.ts +0 -14
- package/types/src/app/components/utils/global.d.ts +0 -3
- package/types/src/app/components/utils/icons.d.ts +0 -9
- package/types/src/app/components/utils/index.d.ts +0 -5
- package/types/src/app/components/utils/mixins.d.ts +0 -11
- package/types/src/app/components/utils/theme.d.ts +0 -227
- package/types/src/app/components/utils/typography.d.ts +0 -20
- package/types/src/app/layout.d.ts +0 -2
- package/types/src/app/page.d.ts +0 -4
- package/types/tsconfig.tsbuildinfo +0 -1
- /package/src/app/components/{box.tsx → cherry/box.tsx} +0 -0
- /package/src/app/components/{button.tsx → cherry/button.tsx} +0 -0
- /package/src/app/components/{col.tsx → cherry/col.tsx} +0 -0
- /package/src/app/components/{container.tsx → cherry/container.tsx} +0 -0
- /package/src/app/components/{flex.tsx → cherry/flex.tsx} +0 -0
- /package/src/app/components/{grid.tsx → cherry/grid.tsx} +0 -0
- /package/src/app/components/{index.ts → cherry/index.ts} +0 -0
- /package/src/app/components/{input.tsx → cherry/input.tsx} +0 -0
- /package/src/app/components/{max-width.tsx → cherry/max-width.tsx} +0 -0
- /package/src/app/components/{range.tsx → cherry/range.tsx} +0 -0
- /package/src/app/components/{select.tsx → cherry/select.tsx} +0 -0
- /package/src/app/components/{space.tsx → cherry/space.tsx} +0 -0
- /package/src/app/components/{styled-components → cherry/styled-components}/index.ts +0 -0
- /package/src/app/components/{styled-components → cherry/styled-components}/registry.tsx +0 -0
- /package/src/app/components/{textarea.tsx → cherry/textarea.tsx} +0 -0
- /package/src/app/components/{toggle.tsx → cherry/toggle.tsx} +0 -0
- /package/src/app/components/{utils → cherry/utils}/global.tsx +0 -0
- /package/src/app/components/{utils → cherry/utils}/icons.tsx +0 -0
- /package/src/app/components/{utils → cherry/utils}/index.ts +0 -0
- /package/src/app/components/{utils → cherry/utils}/mixins.tsx +0 -0
- /package/src/app/components/{utils → cherry/utils}/theme.ts +0 -0
- /package/src/app/components/{utils → cherry/utils}/typography.tsx +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
$fluid?: boolean;
|
|
7
|
-
$textAlign?: "right" | "left" | "center";
|
|
8
|
-
$padding?: number | "none";
|
|
9
|
-
$xsPadding?: number | "none";
|
|
10
|
-
$smPadding?: number | "none";
|
|
11
|
-
$mdPadding?: number | "none";
|
|
12
|
-
$lgPadding?: number | "none";
|
|
13
|
-
$xlPadding?: number | "none";
|
|
14
|
-
$xxlPadding?: number | "none";
|
|
15
|
-
$xxxlPadding?: number | "none";
|
|
16
|
-
theme?: Theme;
|
|
17
|
-
}
|
|
18
|
-
declare function Container({ ...props }: ContainerProps): React.JSX.Element;
|
|
19
|
-
export { Container };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
type JustifyContentType = "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
|
4
|
-
type GapType = number | "none";
|
|
5
|
-
interface FlexProps extends React.AllHTMLAttributes<FlexProps> {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
$justifyContent?: JustifyContentType;
|
|
8
|
-
$xsJustifyContent?: JustifyContentType;
|
|
9
|
-
$smJustifyContent?: JustifyContentType;
|
|
10
|
-
$mdJustifyContent?: JustifyContentType;
|
|
11
|
-
$lgJustifyContent?: JustifyContentType;
|
|
12
|
-
$xlJustifyContent?: JustifyContentType;
|
|
13
|
-
$xxlJustifyContent?: JustifyContentType;
|
|
14
|
-
$xxxlJustifyContent?: JustifyContentType;
|
|
15
|
-
$wrap?: "wrap" | "nowrap" | "wrap-reverse";
|
|
16
|
-
$gap?: GapType;
|
|
17
|
-
$xsGap?: GapType;
|
|
18
|
-
$smGap?: GapType;
|
|
19
|
-
$mdGap?: GapType;
|
|
20
|
-
$lgGap?: GapType;
|
|
21
|
-
$xlGap?: GapType;
|
|
22
|
-
$xxlGap?: GapType;
|
|
23
|
-
$xxxlGap?: GapType;
|
|
24
|
-
theme?: Theme;
|
|
25
|
-
}
|
|
26
|
-
declare function Flex({ ...props }: FlexProps): React.JSX.Element;
|
|
27
|
-
export { Flex };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
$gap?: number | "none";
|
|
6
|
-
$xsGap?: number | "none";
|
|
7
|
-
$smGap?: number | "none";
|
|
8
|
-
$mdGap?: number | "none";
|
|
9
|
-
$lgGap?: number | "none";
|
|
10
|
-
$xlGap?: number | "none";
|
|
11
|
-
$xxlGap?: number | "none";
|
|
12
|
-
$xxxlGap?: number | "none";
|
|
13
|
-
$cols?: number;
|
|
14
|
-
$xsCols?: number;
|
|
15
|
-
$smCols?: number;
|
|
16
|
-
$mdCols?: number;
|
|
17
|
-
$lgCols?: number;
|
|
18
|
-
$xlCols?: number;
|
|
19
|
-
$xxlCols?: number;
|
|
20
|
-
$xxxlCols?: number;
|
|
21
|
-
theme?: Theme;
|
|
22
|
-
}
|
|
23
|
-
declare function Grid({ ...props }: GridProps): React.JSX.Element;
|
|
24
|
-
export { Grid };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from "./styled-components";
|
|
2
|
-
export * from "./utils/";
|
|
3
|
-
export * from "./box";
|
|
4
|
-
export * from "./button";
|
|
5
|
-
export * from "./col";
|
|
6
|
-
export * from "./container";
|
|
7
|
-
export * from "./flex";
|
|
8
|
-
export * from "./grid";
|
|
9
|
-
export * from "./input";
|
|
10
|
-
export * from "./max-width";
|
|
11
|
-
export * from "./range";
|
|
12
|
-
export * from "./select";
|
|
13
|
-
export * from "./space";
|
|
14
|
-
export * from "./textarea";
|
|
15
|
-
export * from "./toggle";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
$label?: string;
|
|
6
|
-
$size?: "default" | "big";
|
|
7
|
-
$error?: boolean;
|
|
8
|
-
$success?: boolean;
|
|
9
|
-
$fullWidth?: boolean;
|
|
10
|
-
theme?: Theme;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledInputWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, InputProps>>;
|
|
13
|
-
export declare const StyledLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, InputProps>>;
|
|
14
|
-
declare function Input({ ...props }: InputProps): React.JSX.Element;
|
|
15
|
-
export { Input };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface MaxWidthProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
$size?: number;
|
|
4
|
-
$xs?: number;
|
|
5
|
-
$sm?: number;
|
|
6
|
-
$md?: number;
|
|
7
|
-
$lg?: number;
|
|
8
|
-
$xl?: number;
|
|
9
|
-
$xxl?: number;
|
|
10
|
-
$xxxl?: number;
|
|
11
|
-
}
|
|
12
|
-
declare function MaxWidth({ ...props }: MaxWidthProps): React.JSX.Element;
|
|
13
|
-
export { MaxWidth };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
4
|
-
className?: string;
|
|
5
|
-
$label?: string;
|
|
6
|
-
$size?: "default" | "big";
|
|
7
|
-
$error?: boolean;
|
|
8
|
-
$success?: boolean;
|
|
9
|
-
$fullWidth?: boolean;
|
|
10
|
-
theme?: Theme;
|
|
11
|
-
}
|
|
12
|
-
declare function Range({ ...props }: InputProps): React.JSX.Element;
|
|
13
|
-
export { Range };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
interface SelectProps extends React.InputHTMLAttributes<HTMLSelectElement> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
$label?: string;
|
|
6
|
-
$size?: "default" | "big";
|
|
7
|
-
$error?: boolean;
|
|
8
|
-
$success?: boolean;
|
|
9
|
-
$fullWidth?: boolean;
|
|
10
|
-
theme?: Theme;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledIconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, SelectProps>>;
|
|
13
|
-
declare function Select({ ...props }: SelectProps): React.JSX.Element;
|
|
14
|
-
export { Select };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface SpaceProps {
|
|
3
|
-
$size?: number | "none";
|
|
4
|
-
$xs?: number | "none";
|
|
5
|
-
$sm?: number | "none";
|
|
6
|
-
$md?: number | "none";
|
|
7
|
-
$lg?: number | "none";
|
|
8
|
-
$xl?: number | "none";
|
|
9
|
-
$xxl?: number | "none";
|
|
10
|
-
$xxxl?: number | "none";
|
|
11
|
-
$horizontal?: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare function Space({ ...props }: SpaceProps): React.JSX.Element;
|
|
14
|
-
export { Space };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
interface TextareaProps extends Omit<React.InputHTMLAttributes<HTMLTextAreaElement>, "size"> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
$label?: string;
|
|
6
|
-
$size?: "default" | "big";
|
|
7
|
-
$error?: boolean;
|
|
8
|
-
$success?: boolean;
|
|
9
|
-
$fullWidth?: boolean;
|
|
10
|
-
theme?: Theme;
|
|
11
|
-
}
|
|
12
|
-
declare function Textarea({ ...props }: TextareaProps): React.JSX.Element;
|
|
13
|
-
export { Textarea };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Theme } from "./utils";
|
|
3
|
-
interface ToggleProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
type?: "checkbox" | "radio";
|
|
6
|
-
$label?: string;
|
|
7
|
-
$size?: "default" | "big";
|
|
8
|
-
$error?: boolean;
|
|
9
|
-
$success?: boolean;
|
|
10
|
-
$fullWidth?: boolean;
|
|
11
|
-
theme?: Theme;
|
|
12
|
-
}
|
|
13
|
-
declare function Toggle({ type, ...props }: ToggleProps): React.JSX.Element;
|
|
14
|
-
export { Toggle };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare function IconCheck(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
3
|
-
declare function IconArrow(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
4
|
-
declare function IconGitHub(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
5
|
-
declare function IconDiscord(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
6
|
-
declare function IconDribbble(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
7
|
-
declare function IconThreads(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
8
|
-
declare function IconFigma(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
9
|
-
export { IconCheck, IconArrow, IconGitHub, IconDiscord, IconDribbble, IconThreads, IconFigma, };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Breakpoints, Theme } from "./theme";
|
|
2
|
-
export declare const resetButton: import("styled-components").RuleSet<object>;
|
|
3
|
-
export declare const resetInput: import("styled-components").RuleSet<object>;
|
|
4
|
-
export declare const fullWidthStyles: (fullWidth: boolean) => import("styled-components").RuleSet<object> | undefined;
|
|
5
|
-
export declare const statusBorderStyles: ($error: boolean, $success: boolean, theme: Theme) => import("styled-components").RuleSet<object> | undefined;
|
|
6
|
-
export declare const formElementHeightStyles: ($size?: "default" | "big") => import("styled-components").RuleSet<object>;
|
|
7
|
-
export declare const generateGapStyles: (size: keyof Breakpoints<number>, gap: number | "none") => import("styled-components").RuleSet<object>;
|
|
8
|
-
export declare const generateColsStyles: (size: keyof Breakpoints<number>, cols: number) => import("styled-components").RuleSet<object>;
|
|
9
|
-
export declare const generateColSpanStyles: (size: keyof Breakpoints<number>, span: number) => import("styled-components").RuleSet<object>;
|
|
10
|
-
export declare const generatePaddingStyles: (size: keyof Breakpoints<number>, padding: number | "none") => import("styled-components").RuleSet<object>;
|
|
11
|
-
export declare const generateJustifyContentStyles: (size: keyof Breakpoints<number>, justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly") => import("styled-components").RuleSet<object>;
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
export declare const breakpoints: Breakpoints;
|
|
2
|
-
export declare function mq(minWidth: keyof Breakpoints): string;
|
|
3
|
-
export declare const spacing: Spacing;
|
|
4
|
-
export declare const colors: Colors;
|
|
5
|
-
export declare const shadows: Shadows;
|
|
6
|
-
export declare const fonts: Fonts;
|
|
7
|
-
export declare const fontSizes: FontSizes;
|
|
8
|
-
export declare const lineHeights: LineHeights;
|
|
9
|
-
export declare const theme: Theme;
|
|
10
|
-
export interface Breakpoints<TNumber = number> {
|
|
11
|
-
xs: TNumber;
|
|
12
|
-
sm: TNumber;
|
|
13
|
-
md: TNumber;
|
|
14
|
-
lg: TNumber;
|
|
15
|
-
xl: TNumber;
|
|
16
|
-
xxl: TNumber;
|
|
17
|
-
xxxl: TNumber;
|
|
18
|
-
}
|
|
19
|
-
export interface Spacing<TString = string> {
|
|
20
|
-
maxWidth: {
|
|
21
|
-
xs: TString;
|
|
22
|
-
xxxl: TString;
|
|
23
|
-
};
|
|
24
|
-
padding: {
|
|
25
|
-
xs: TString;
|
|
26
|
-
lg: TString;
|
|
27
|
-
};
|
|
28
|
-
radius: {
|
|
29
|
-
xs: TString;
|
|
30
|
-
lg: TString;
|
|
31
|
-
xl: TString;
|
|
32
|
-
};
|
|
33
|
-
gridGap: {
|
|
34
|
-
xs: TString;
|
|
35
|
-
lg: TString;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export interface Colors<TString = string> {
|
|
39
|
-
primaryLight: TString;
|
|
40
|
-
primary: TString;
|
|
41
|
-
primaryDark: TString;
|
|
42
|
-
secondaryLight: TString;
|
|
43
|
-
secondary: TString;
|
|
44
|
-
secondaryDark: TString;
|
|
45
|
-
tertiaryLight: TString;
|
|
46
|
-
tertiary: TString;
|
|
47
|
-
tertiaryDark: TString;
|
|
48
|
-
grayLight: TString;
|
|
49
|
-
gray: TString;
|
|
50
|
-
grayDark: TString;
|
|
51
|
-
success: TString;
|
|
52
|
-
error: TString;
|
|
53
|
-
warning: TString;
|
|
54
|
-
info: TString;
|
|
55
|
-
dark: TString;
|
|
56
|
-
light: TString;
|
|
57
|
-
}
|
|
58
|
-
interface Shadows<TString = string> {
|
|
59
|
-
xs: TString;
|
|
60
|
-
sm: TString;
|
|
61
|
-
md: TString;
|
|
62
|
-
lg: TString;
|
|
63
|
-
xl: TString;
|
|
64
|
-
}
|
|
65
|
-
export interface Fonts<TString = string> {
|
|
66
|
-
head: TString;
|
|
67
|
-
text: TString;
|
|
68
|
-
mono: TString;
|
|
69
|
-
}
|
|
70
|
-
export interface FontSizes<TString = string> {
|
|
71
|
-
hero1: {
|
|
72
|
-
xs: TString;
|
|
73
|
-
lg: TString;
|
|
74
|
-
};
|
|
75
|
-
hero2: {
|
|
76
|
-
xs: TString;
|
|
77
|
-
lg: TString;
|
|
78
|
-
};
|
|
79
|
-
hero3: {
|
|
80
|
-
xs: TString;
|
|
81
|
-
lg: TString;
|
|
82
|
-
};
|
|
83
|
-
h1: {
|
|
84
|
-
xs: TString;
|
|
85
|
-
lg: TString;
|
|
86
|
-
};
|
|
87
|
-
h2: {
|
|
88
|
-
xs: TString;
|
|
89
|
-
lg: TString;
|
|
90
|
-
};
|
|
91
|
-
h3: {
|
|
92
|
-
xs: TString;
|
|
93
|
-
lg: TString;
|
|
94
|
-
};
|
|
95
|
-
h4: {
|
|
96
|
-
xs: TString;
|
|
97
|
-
lg: TString;
|
|
98
|
-
};
|
|
99
|
-
h5: {
|
|
100
|
-
xs: TString;
|
|
101
|
-
lg: TString;
|
|
102
|
-
};
|
|
103
|
-
h6: {
|
|
104
|
-
xs: TString;
|
|
105
|
-
lg: TString;
|
|
106
|
-
};
|
|
107
|
-
text: {
|
|
108
|
-
xs: TString;
|
|
109
|
-
lg: TString;
|
|
110
|
-
};
|
|
111
|
-
strong: {
|
|
112
|
-
xs: TString;
|
|
113
|
-
lg: TString;
|
|
114
|
-
};
|
|
115
|
-
small: {
|
|
116
|
-
xs: TString;
|
|
117
|
-
lg: TString;
|
|
118
|
-
};
|
|
119
|
-
blockquote: {
|
|
120
|
-
xs: TString;
|
|
121
|
-
lg: TString;
|
|
122
|
-
};
|
|
123
|
-
code: {
|
|
124
|
-
xs: TString;
|
|
125
|
-
lg: TString;
|
|
126
|
-
};
|
|
127
|
-
button: {
|
|
128
|
-
xs: TString;
|
|
129
|
-
lg: TString;
|
|
130
|
-
};
|
|
131
|
-
buttonBig: {
|
|
132
|
-
xs: TString;
|
|
133
|
-
lg: TString;
|
|
134
|
-
};
|
|
135
|
-
input: {
|
|
136
|
-
xs: TString;
|
|
137
|
-
lg: TString;
|
|
138
|
-
};
|
|
139
|
-
inputBig: {
|
|
140
|
-
xs: TString;
|
|
141
|
-
lg: TString;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
export interface LineHeights<TString = string> {
|
|
145
|
-
hero1: {
|
|
146
|
-
xs: TString;
|
|
147
|
-
lg: TString;
|
|
148
|
-
};
|
|
149
|
-
hero2: {
|
|
150
|
-
xs: TString;
|
|
151
|
-
lg: TString;
|
|
152
|
-
};
|
|
153
|
-
hero3: {
|
|
154
|
-
xs: TString;
|
|
155
|
-
lg: TString;
|
|
156
|
-
};
|
|
157
|
-
h1: {
|
|
158
|
-
xs: TString;
|
|
159
|
-
lg: TString;
|
|
160
|
-
};
|
|
161
|
-
h2: {
|
|
162
|
-
xs: TString;
|
|
163
|
-
lg: TString;
|
|
164
|
-
};
|
|
165
|
-
h3: {
|
|
166
|
-
xs: TString;
|
|
167
|
-
lg: TString;
|
|
168
|
-
};
|
|
169
|
-
h4: {
|
|
170
|
-
xs: TString;
|
|
171
|
-
lg: TString;
|
|
172
|
-
};
|
|
173
|
-
h5: {
|
|
174
|
-
xs: TString;
|
|
175
|
-
lg: TString;
|
|
176
|
-
};
|
|
177
|
-
h6: {
|
|
178
|
-
xs: TString;
|
|
179
|
-
lg: TString;
|
|
180
|
-
};
|
|
181
|
-
text: {
|
|
182
|
-
xs: TString;
|
|
183
|
-
lg: TString;
|
|
184
|
-
};
|
|
185
|
-
strong: {
|
|
186
|
-
xs: TString;
|
|
187
|
-
lg: TString;
|
|
188
|
-
};
|
|
189
|
-
small: {
|
|
190
|
-
xs: TString;
|
|
191
|
-
lg: TString;
|
|
192
|
-
};
|
|
193
|
-
blockquote: {
|
|
194
|
-
xs: TString;
|
|
195
|
-
lg: TString;
|
|
196
|
-
};
|
|
197
|
-
code: {
|
|
198
|
-
xs: TString;
|
|
199
|
-
lg: TString;
|
|
200
|
-
};
|
|
201
|
-
button: {
|
|
202
|
-
xs: TString;
|
|
203
|
-
lg: TString;
|
|
204
|
-
};
|
|
205
|
-
buttonBig: {
|
|
206
|
-
xs: TString;
|
|
207
|
-
lg: TString;
|
|
208
|
-
};
|
|
209
|
-
input: {
|
|
210
|
-
xs: TString;
|
|
211
|
-
lg: TString;
|
|
212
|
-
};
|
|
213
|
-
inputBig: {
|
|
214
|
-
xs: TString;
|
|
215
|
-
lg: TString;
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
export interface Theme {
|
|
219
|
-
breakpoints: Breakpoints;
|
|
220
|
-
spacing: Spacing;
|
|
221
|
-
colors: Colors;
|
|
222
|
-
shadows: Shadows;
|
|
223
|
-
fonts: Fonts;
|
|
224
|
-
fontSizes: FontSizes;
|
|
225
|
-
lineHeights: LineHeights;
|
|
226
|
-
}
|
|
227
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Theme } from "./theme";
|
|
2
|
-
declare const styledHero1: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
3
|
-
declare const styledHero2: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
4
|
-
declare const styledHero3: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
5
|
-
declare const styledH1: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
6
|
-
declare const styledH2: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
7
|
-
declare const styledH3: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
8
|
-
declare const styledH4: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
9
|
-
declare const styledH5: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
10
|
-
declare const styledH6: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
11
|
-
declare const styledText: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
12
|
-
declare const styledStrong: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
13
|
-
declare const styledSmall: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
14
|
-
declare const styledBlockquote: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
15
|
-
declare const styledCode: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
16
|
-
declare const styledButton: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
17
|
-
declare const styledButtonBig: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
18
|
-
declare const styledInput: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
19
|
-
declare const styledInputBig: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
20
|
-
export { styledHero1, styledHero2, styledHero3, styledH1, styledH2, styledH3, styledH4, styledH5, styledH6, styledText, styledStrong, styledSmall, styledBlockquote, styledCode, styledButton, styledButtonBig, styledInput, styledInputBig, };
|
package/types/src/app/page.d.ts
DELETED