-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Benjamin Perez <[email protected]>
- Loading branch information
Showing
48 changed files
with
17,362 additions
and
15,455 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 @@ | ||
import { FC, HTMLAttributes } from "react"; | ||
import { BadgeProps } from "./Badge.types"; | ||
declare const Badge: FC<HTMLAttributes<HTMLSpanElement> & BadgeProps>; | ||
export default Badge; |
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,16 @@ | ||
import { CSSObject } from "styled-components"; | ||
export interface BadgeMain { | ||
invisible?: boolean; | ||
max?: number; | ||
showZero?: boolean; | ||
badgeContent?: number; | ||
} | ||
export interface BadgeConstruct { | ||
horizontalPosition?: "left" | "right"; | ||
verticalPosition?: "bottom" | "top"; | ||
sx?: CSSObject; | ||
color?: "default" | "secondary" | "warn" | "alert" | "ok" | "grey"; | ||
shape?: "circular" | "rectangular"; | ||
dotOnly?: boolean; | ||
} | ||
export type BadgeProps = BadgeMain & BadgeConstruct; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const CheckCircleIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default CheckCircleIcon; |
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,4 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const CodeIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element; | ||
export default CodeIcon; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const CompressIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default CompressIcon; |
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,4 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const ExpandIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element; | ||
export default ExpandIcon; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const FindReplaceIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default FindReplaceIcon; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const FirstAidIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default FirstAidIcon; |
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,4 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const LoginIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element; | ||
export default LoginIcon; |
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,4 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const LockIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element; | ||
export default LockIcon; |
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,4 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const LoginIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element; | ||
export default LoginIcon; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const PendingItemsIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default PendingItemsIcon; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const FirstAidIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default FirstAidIcon; |
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,6 @@ | ||
import * as React from "react"; | ||
import { SVGProps } from "react"; | ||
declare const WebhookIcon: ( | ||
props: SVGProps<SVGSVGElement>, | ||
) => React.JSX.Element; | ||
export default WebhookIcon; |
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,10 @@ | ||
import React from "react"; | ||
import { WizardProps } from "./Wizard.types"; | ||
declare const GenericWizard: ({ | ||
wizardSteps, | ||
loadingStep, | ||
forModal, | ||
linearMode, | ||
sx, | ||
}: WizardProps) => React.JSX.Element | null; | ||
export default GenericWizard; |
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,33 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface WizardButton { | ||
label?: string; | ||
type?: "next" | "back" | "to" | "custom"; | ||
action?: (nextFunction: (to: string | number) => void) => void; | ||
enabled?: boolean; | ||
toPage?: number; | ||
componentRender?: React.ReactNode; | ||
} | ||
export interface WizardElement { | ||
label: string; | ||
componentRender: any; | ||
buttons: WizardButton[]; | ||
advancedOnly?: boolean; | ||
loadingStep?: boolean; | ||
} | ||
export interface WizardPage { | ||
page: WizardElement; | ||
pageChange: (to: string | number) => void; | ||
loadingStep?: boolean; | ||
} | ||
export interface WizardMain { | ||
loadingStep?: boolean; | ||
wizardSteps: WizardElement[]; | ||
linearMode?: boolean; | ||
} | ||
export interface WizardConstruct { | ||
sx?: CSSObject; | ||
forModal?: boolean; | ||
} | ||
export type WizardProps = WizardMain & WizardConstruct; | ||
export type WizardPageProps = WizardPage & WizardConstruct; |
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,9 @@ | ||
import React from "react"; | ||
import { WizardPageProps } from "./Wizard.types"; | ||
declare const WizardPage: ({ | ||
page, | ||
pageChange, | ||
loadingStep, | ||
forModal, | ||
}: WizardPageProps) => React.JSX.Element; | ||
export default WizardPage; |
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
Oops, something went wrong.