-
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
69 changed files
with
9,931 additions
and
6,536 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 } from "react"; | ||
import { ActionsListProps } from "./ActionsList.types"; | ||
declare const ActionsList: FC<ActionsListProps>; | ||
export default ActionsList; |
22 changes: 22 additions & 0 deletions
22
dist/cjs/types/components/ActionsList/ActionsList.types.d.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface ActionItem { | ||
action: () => void; | ||
label: string; | ||
disabled: boolean; | ||
icon: React.ReactNode; | ||
tooltip: string; | ||
} | ||
export interface ActionsListProps { | ||
sx?: CSSObject; | ||
items: ActionItem[]; | ||
title: React.ReactNode; | ||
} | ||
export interface ActionsListPanelProps { | ||
sx?: CSSObject; | ||
} | ||
export interface ActionButtonProps | ||
extends React.ButtonHTMLAttributes<HTMLButtonElement> { | ||
label: string; | ||
icon: React.ReactNode; | ||
} |
4 changes: 4 additions & 0 deletions
4
dist/cjs/types/components/ActionsList/ObjectActionButton.d.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FC } from "react"; | ||
import { ActionButtonProps } from "./ActionsList.types"; | ||
declare const ObjectActionButton: FC<ActionButtonProps>; | ||
export default ObjectActionButton; |
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,4 @@ | ||
import { FC } from "react"; | ||
import { BreadcrumbsProps } from "./Breadcrumbs.types"; | ||
declare const Breadcrumbs: FC<BreadcrumbsProps>; | ||
export default Breadcrumbs; |
11 changes: 11 additions & 0 deletions
11
dist/cjs/types/components/Breadcrumbs/Breadcrumbs.types.d.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface BreadcrumbsProps { | ||
sx?: CSSObject; | ||
children: React.ReactNode; | ||
additionalOptions?: React.ReactNode; | ||
goBackFunction: () => void; | ||
} | ||
export interface BreadcrumbsContainerProps { | ||
sx?: CSSObject; | ||
} |
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
4 changes: 4 additions & 0 deletions
4
dist/cjs/types/components/DropdownSelector/DropdownSelector.d.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { FC } from "react"; | ||
import { DropdownSelectorProps } from "./DropdownSelector.types"; | ||
declare const DropdownSelector: FC<DropdownSelectorProps>; | ||
export default DropdownSelector; |
13 changes: 13 additions & 0 deletions
13
dist/cjs/types/components/DropdownSelector/DropdownSelector.types.d.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { SelectorType } from "../../global/global.types"; | ||
import { CSSObject } from "styled-components"; | ||
export interface DropdownSelectorProps { | ||
options: SelectorType[]; | ||
selectedOption: string; | ||
onSelect: (value: string) => void; | ||
hideTriggerAction: () => void; | ||
open: boolean; | ||
anchorEl?: (EventTarget & HTMLDivElement) | null; | ||
} | ||
export interface DropDownBlockProps { | ||
sx: CSSObject; | ||
} |
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,10 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface IconButtonProps | ||
extends React.ButtonHTMLAttributes<HTMLButtonElement> { | ||
export interface IconBase { | ||
label?: string; | ||
size?: "small" | "medium" | "large" | string; | ||
sx?: CSSObject; | ||
children: React.ReactNode; | ||
} | ||
export type IconButtonProps = IconBase & | ||
React.ButtonHTMLAttributes<HTMLButtonElement>; |
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,4 @@ | ||
import { FC } from "react"; | ||
import { ModalBoxProps } from "./ModalBox.types"; | ||
declare const ModalBox: FC<ModalBoxProps>; | ||
export default ModalBox; |
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,21 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface ModalBoxProps { | ||
onClose: () => void; | ||
open: boolean; | ||
title: React.ReactNode; | ||
children: React.ReactNode; | ||
widthLimit?: boolean; | ||
titleIcon?: React.ReactNode; | ||
backgroundOverlay?: boolean; | ||
iconColor?: "accept" | "delete" | "default"; | ||
customMaxWidth?: number | string; | ||
sx?: CSSObject; | ||
} | ||
export interface ModalBoxContainerProps { | ||
backgroundOverlay?: boolean; | ||
widthLimit?: boolean; | ||
iconColor?: "accept" | "delete" | "default"; | ||
customMaxWidth?: number | string; | ||
sx?: CSSObject; | ||
} |
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 } from "react"; | ||
import { RadioGroupProps } from "./RadioGroup.types"; | ||
declare const RadioGroup: FC<RadioGroupProps>; | ||
export default RadioGroup; |
19 changes: 19 additions & 0 deletions
19
dist/cjs/types/components/RadioGroup/RadioGroup.types.d.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
import { SelectorType } from "../../global/global.types"; | ||
export interface RadioGroupProps { | ||
label?: string; | ||
tooltip?: string; | ||
selectorOptions: SelectorType[]; | ||
currentValue: string; | ||
id: string; | ||
name: string; | ||
disableOptions?: boolean; | ||
displayInColumn?: boolean; | ||
className?: string; | ||
onChange: React.ChangeEventHandler<HTMLInputElement>; | ||
sx?: CSSObject; | ||
} | ||
export interface OptionsContainerProps { | ||
inColumn: boolean; | ||
} |
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 } from "react"; | ||
import { ReadBoxProps } from "./ReadBox.types"; | ||
declare const ReadBox: FC<ReadBoxProps>; | ||
export default ReadBox; |
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,14 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface ReadBoxProps { | ||
label?: string; | ||
children: React.ReactNode; | ||
multiLine?: boolean; | ||
actionButton?: React.ReactNode; | ||
sx?: CSSObject; | ||
} | ||
export interface ReadBoxBaseProps { | ||
label?: string; | ||
sx?: CSSObject; | ||
multiLine?: boolean; | ||
} |
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 } from "react"; | ||
import { ScreenTitleProps } from "./ScreenTitle.types"; | ||
declare const ScreenTitle: FC<ScreenTitleProps>; | ||
export default ScreenTitle; |
14 changes: 14 additions & 0 deletions
14
dist/cjs/types/components/ScreenTitle/ScreenTitle.types.d.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface ScreenTitleProps { | ||
icon: React.ReactNode; | ||
subTitle: React.ReactNode; | ||
title: string; | ||
actions: React.ReactNode; | ||
sx?: CSSObject; | ||
bottomBorder?: boolean; | ||
} | ||
export interface ScreenTitleContainerProps { | ||
sx?: CSSObject; | ||
bottomBorder?: boolean; | ||
} |
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 } from "react"; | ||
import { SelectProps } from "./Select.types"; | ||
declare const Select: FC<SelectProps>; | ||
export default Select; |
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"; | ||
import { SelectorType } from "../../global/global.types"; | ||
export interface SelectProps { | ||
options: SelectorType[]; | ||
value: string; | ||
id: string; | ||
name?: string; | ||
required?: boolean; | ||
className?: string; | ||
disabled?: boolean; | ||
label?: string; | ||
tooltip?: string; | ||
noLabelMinWidth?: boolean; | ||
onChange: (newValue: string) => void; | ||
sx?: CSSObject; | ||
} |
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 } from "react"; | ||
import { SimpleHeaderProps } from "./SimpleHeader.types"; | ||
declare const SimpleHeader: FC<SimpleHeaderProps>; | ||
export default SimpleHeader; |
10 changes: 10 additions & 0 deletions
10
dist/cjs/types/components/SimpleHeader/SimpleHeader.types.d.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface SimpleHeaderProps { | ||
label: React.ReactNode; | ||
icon?: React.ReactNode; | ||
sx?: CSSObject; | ||
} | ||
export interface SimpleHeaderContainerProps { | ||
sx?: CSSObject; | ||
} |
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 React, { FC } from "react"; | ||
import { SwitchProps } from "./Switch.types"; | ||
declare const Switch: FC< | ||
SwitchProps & React.InputHTMLAttributes<HTMLInputElement> | ||
>; | ||
export default Switch; |
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,21 @@ | ||
import React from "react"; | ||
import { CSSObject } from "styled-components"; | ||
export interface MainSwitchProps { | ||
id: string; | ||
label?: string; | ||
tooltip?: string; | ||
sx?: CSSObject; | ||
className?: string; | ||
switchOnly?: boolean; | ||
indicatorLabels?: string[]; | ||
description?: string; | ||
} | ||
export interface IndicatorProps { | ||
on: boolean; | ||
children: React.ReactNode; | ||
} | ||
export interface SwitchContainerProps { | ||
sx?: CSSObject; | ||
} | ||
export type SwitchProps = MainSwitchProps & | ||
React.InputHTMLAttributes<HTMLInputElement>; |
2 changes: 2 additions & 0 deletions
2
dist/cjs/types/components/ThemeHandler/ThemeHandler.types.d.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,5 +1,7 @@ | ||
import { ReactNode } from "react"; | ||
import { ThemeDefinitionProps } from "../../global/global.types"; | ||
export interface ThemeHandlerProps { | ||
darkMode?: boolean; | ||
customTheme?: ThemeDefinitionProps; | ||
children: ReactNode; | ||
} |
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.