Skip to content

Commit

Permalink
Release v0.10.0 (#551)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Oct 24, 2023
1 parent 212d698 commit 6432ab8
Show file tree
Hide file tree
Showing 48 changed files with 17,362 additions and 15,455 deletions.
15,474 changes: 8,086 additions & 7,388 deletions dist/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/cjs/types/components/Badge/Badge.d.ts
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;
16 changes: 16 additions & 0 deletions dist/cjs/types/components/Badge/Badge.types.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/CheckCircleIcon.d.ts
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;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/CodeIcon.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/CompressIcon.d.ts
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;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/ExpandIcon.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/FindReplaceIcon.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/FirstAidIcon.d.ts
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;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/KeyIcon.d.ts
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;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/LockOpenIcon.d.ts
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;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/LoginIcon.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/PendingItemsIcon.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/PublicIcon.d.ts
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;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/WebhookIcon.d.ts
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;
12 changes: 12 additions & 0 deletions dist/cjs/types/components/Icons/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,15 @@ export { default as CancelledAudioIcon } from "./CancelledAudioIcon";
export { default as ThumbsUpIcon } from "./ThumbsUpIcon";
export { default as ThumbsDownIcon } from "./ThumbsDownIcon";
export { default as AttachFileIcon } from "./AttachFileIcon";
export { default as CheckCircleIcon } from "./CheckCircleIcon";
export { default as CodeIcon } from "./CodeIcon";
export { default as CompressIcon } from "./CompressIcon";
export { default as FindReplaceIcon } from "./FindReplaceIcon";
export { default as FirstAidIcon } from "./FirstAidIcon";
export { default as LockOpenIcon } from "./LockOpenIcon";
export { default as LoginIcon } from "./LoginIcon";
export { default as PendingItemsIcon } from "./PendingItemsIcon";
export { default as PublicIcon } from "./PublicIcon";
export { default as KeyIcon } from "./KeyIcon";
export { default as WebhookIcon } from "./WebhookIcon";
export { default as ExpandIcon } from "./ExpandIcon";
10 changes: 10 additions & 0 deletions dist/cjs/types/components/Wizard/Wizard.d.ts
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;
33 changes: 33 additions & 0 deletions dist/cjs/types/components/Wizard/Wizard.types.d.ts
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;
9 changes: 9 additions & 0 deletions dist/cjs/types/components/Wizard/WizardPage.d.ts
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;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export { default as Snackbar } from "./Snackbar/Snackbar";
export { default as Accordion } from "./Accordion/Accordion";
export { default as HelpTip } from "./HelpTip/HelpTip";
export { default as Autocomplete } from "./Autocomplete/Autocomplete";
export { default as Badge } from "./Badge/Badge";
export { default as Wizard } from "./Wizard/Wizard";
export * from "./Icons";
export * from "./Icons/SidebarMenus";
export * from "./Icons/FileIcons";
Expand Down Expand Up @@ -91,3 +93,5 @@ export * from "./Snackbar/Snackbar.types";
export * from "./Accordion/Accordion.types";
export * from "./HelpTip/HelpTip.types";
export * from "./Autocomplete/Autocomplete.types";
export * from "./Badge/Badge.types";
export * from "./Wizard/Wizard.types";
25 changes: 25 additions & 0 deletions dist/cjs/types/global/global.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,29 @@ export interface InformativeMessageProps {
warning: InformativeColorElements;
error: InformativeColorElements;
}
export interface BadgeColorElements {
backgroundColor: string;
textColor: string;
}
export interface BadgeStyleProps {
alert: BadgeColorElements;
default: BadgeColorElements;
secondary: BadgeColorElements;
warn: BadgeColorElements;
ok: BadgeColorElements;
grey: BadgeColorElements;
}
export interface WizardStepColorProps {
stepLabelColor: string;
selectedStepBG: string;
selectedStepLabelColor: string;
disabledLabelColor: string;
}
export interface WizardColorProps {
stepsBackground: string;
vertical: WizardStepColorProps;
modal: WizardStepColorProps;
}
export interface ThemeDefinitionProps {
bgColor: string;
fontColor: string;
Expand Down Expand Up @@ -289,6 +312,8 @@ export interface ThemeDefinitionProps {
tag?: TagThemeProps;
snackbar?: SnackBarThemeProps;
informativeMessage?: InformativeMessageProps;
badge?: BadgeStyleProps;
wizard?: WizardColorProps;
}
export interface SelectorType {
label: string;
Expand Down
Loading

0 comments on commit 6432ab8

Please sign in to comment.