-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2db9164
commit 4e5585d
Showing
17 changed files
with
2,129 additions
and
1,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export declare function GlobalStyle(): JSX.Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { Ref } from 'react'; | ||
interface BoxProps { | ||
as?: any; | ||
children?: any; | ||
className?: string; | ||
styleSheet?: any; | ||
ref?: Ref<any>; | ||
} | ||
export declare const Box: React.ForwardRefExoticComponent<Pick<BoxProps, "as" | "styleSheet" | "children" | "className"> & React.RefAttributes<unknown>>; | ||
export declare function Icon({ as, styleSheet: initialStyleSheet, ...props }: any): JSX.Element; | ||
export declare const Text: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>; | ||
export declare function Image({ as, ...props }: any): JSX.Element; | ||
export declare namespace Image { | ||
var defaultProps: { | ||
styleSheet: {}; | ||
}; | ||
} | ||
export declare function Input({ as, styleSheet, ...props }: any): JSX.Element; | ||
export declare namespace Input { | ||
var defaultProps: { | ||
styleSheet: {}; | ||
}; | ||
} | ||
export declare function Button({ as, styleSheet, ...props }: any): JSX.Element; | ||
export declare namespace Button { | ||
var defaultProps: { | ||
styleSheet: {}; | ||
}; | ||
} | ||
export declare function Link({ children, href, styleSheet, as, ...props }: any): JSX.Element; | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { theme } from '@lib/core/theme/theme'; | ||
export { Box } from '@lib/components/box/box'; | ||
export { Text } from '@lib/components/text/text'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React, { Ref } from 'react'; | ||
import { StyleSheet } from '@lib/core/stylesheet/stylesheet'; | ||
interface BoxProps { | ||
as?: any; | ||
children?: any; | ||
className?: string; | ||
styleSheet?: StyleSheet; | ||
ref?: Ref<any>; | ||
} | ||
export declare const Box: React.ForwardRefExoticComponent<Pick<BoxProps, "as" | "styleSheet" | "children" | "className"> & React.RefAttributes<unknown>>; | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import { StyleSheet } from '@lib/core/stylesheet/stylesheet'; | ||
interface TextProps { | ||
styleSheet: StyleSheet; | ||
children: React.ReactNode; | ||
} | ||
export declare function Text({ children, styleSheet }: TextProps): JSX.Element; | ||
export declare namespace Text { | ||
var defaultProps: { | ||
styleSheet: {}; | ||
}; | ||
} | ||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export declare enum Breakpoints { | ||
xs = "Breakpoints.xs", | ||
sm = "Breakpoints.sm", | ||
md = "Breakpoints.md", | ||
lg = "Breakpoints.lg", | ||
xl = "Breakpoints.xl" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Breakpoints } from '@lib/core/breakpoints/breakpoints'; | ||
declare type ResponsiveProperty<Type> = Partial<Record<Breakpoints, Type>>; | ||
export interface StyleSheet { | ||
srOnly?: boolean; | ||
backgroundColor?: ResponsiveProperty<string>; | ||
padding?: ResponsiveProperty<number>; | ||
margin?: ResponsiveProperty<number>; | ||
focus?: any; | ||
hover?: any; | ||
} | ||
export {}; |
Oops, something went wrong.
4e5585d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: