generated from atls-lab/template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
9bc06d1
commit 5659cb9
Showing
20 changed files
with
81 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
import React from 'react' | ||
'use client' | ||
|
||
import React from 'react' | ||
|
||
import { ThemeProvider } from '@ui/theme' | ||
|
||
const RootLayout = ({ children }) => ( | ||
<html> | ||
<body>{children}</body> | ||
</html> | ||
<ThemeProvider> | ||
<html> | ||
<body>{children}</body> | ||
</html> | ||
</ThemeProvider> | ||
) | ||
|
||
export default RootLayout |
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
'use client' | ||
|
||
import React from 'react' | ||
import React from 'react' | ||
|
||
import { ThemeProvider } from '@ui/theme' | ||
|
||
const Page = () => <ThemeProvider>page</ThemeProvider> | ||
const Page = () => <>page</> | ||
|
||
export default Page |
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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import styled from '@emotion/styled' | ||
import { Box } from '@atls-ui-parts/layout' | ||
import { BoxProps } from '@atls-ui-parts/layout' | ||
|
||
import React from 'react' | ||
import { FunctionComponent } from 'react' | ||
import { FC } from 'react' | ||
|
||
import { DotProps } from './dot.iterfaces' | ||
import { sizeDotStyles } from './dot.styles' | ||
import { appearanceDotStyles } from './dot.styles' | ||
|
||
const Dot = styled(Box)<any>(sizeDotStyles, appearanceDotStyles) | ||
const Dot = styled(Box)<BoxProps>(sizeDotStyles, appearanceDotStyles) | ||
|
||
export const DotComponent: FunctionComponent<any> = () => { | ||
const dotsCount = 3 | ||
return Array(dotsCount).fill(<Dot />) | ||
} | ||
export const DotComponent: FC<DotProps> = ({ count }) => Array(count).fill(<Dot />) |
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 interface DotProps { | ||
count: number | ||
} |
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
5 changes: 2 additions & 3 deletions
5
ui/dropdown/src/child-container/child-container.interfaces.ts
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import { JSX } from 'react' | ||
import { LayerProps } from 'react-laag' | ||
|
||
export interface ChildContainerProps { | ||
layerProps: object | ||
children: JSX.Element | ||
layerProps: LayerProps | ||
} |
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 |
---|---|---|
@@ -1,6 +1 @@ | ||
import { InputHTMLAttributes } from 'react' | ||
import { JSX } from 'react' | ||
|
||
export interface DropdownProps extends Omit<InputHTMLAttributes<any>, 'onChange'> { | ||
children: JSX.Element | ||
} | ||
export interface DropdownProps {} |
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 |
---|---|---|
@@ -1,6 +1,3 @@ | ||
import { JSX } from 'react' | ||
|
||
export interface ModalProps { | ||
open: boolean | ||
children: 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
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import { SwitchProps } from '@atls-ui-parts/switch' | ||
|
||
export interface IconSwitchProps extends SwitchProps { | ||
children: JSX.Element | ||
} | ||
export interface IconSwitchProps extends SwitchProps {} |
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