Skip to content

Commit

Permalink
Release v0.0.6 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
bexsoft authored Dec 6, 2022
1 parent 764250f commit 6ba190f
Show file tree
Hide file tree
Showing 58 changed files with 838 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { ApplicationLogoProps } from "./ApplicationLogo.types";
declare const ApplicationLogo: FC<ApplicationLogoProps>;
export default ApplicationLogo;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface ApplicationLogoProps {
applicationName: "console" | "operator" | "directpv" | "kes" | "subnet";
subVariant?: "simple" | "AGPL" | "standard" | "enterprise";
inverse?: boolean;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const ConsoleAGPL: FC<SVGProps<any> & LogoBaseProps>;
export default ConsoleAGPL;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const ConsoleEnterprise: FC<SVGProps<any> & LogoBaseProps>;
export default ConsoleEnterprise;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const ConsoleSingle: FC<SVGProps<any> & LogoBaseProps>;
export default ConsoleSingle;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const ConsoleStandard: FC<SVGProps<any> & LogoBaseProps>;
export default ConsoleStandard;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const DirectPV: FC<SVGProps<any> & LogoBaseProps>;
export default DirectPV;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/ApplicationLogo/Logos/KES/KES.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const KES: FC<SVGProps<any> & LogoBaseProps>;
export default KES;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from "react";
import { LogoBaseProps } from "./LogoBase.types";
declare const LogoBase: import("styled-components").StyledComponent<
"svg",
any,
React.SVGProps<any> & LogoBaseProps,
never
>;
export default LogoBase;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export interface LogoBaseProps {
inverse?: boolean;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const Operator: FC<SVGProps<any> & LogoBaseProps>;
export default Operator;
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC, SVGProps } from "react";
import { LogoBaseProps } from "../LogoBase/LogoBase.types";
declare const SUBNET: FC<SVGProps<any> & LogoBaseProps>;
export default SUBNET;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Button/Button.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React, { FC } from "react";
import { ButtonProps } from "./Button.types";
declare const Button: FC<
ButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>
>;
export default Button;
17 changes: 17 additions & 0 deletions dist/cjs/types/components/Button/Button.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { MouseEventHandler, ReactNode } from "react";
export interface ButtonProps {
id: string;
name?: string;
label?: string;
variant?: "regular" | "callAction" | "secondary";
icon?: ReactNode;
iconLocation?: "start" | "end";
fullWidth?: boolean;
disabled?: boolean;
collapseOnSmall?: boolean;
onClick?: MouseEventHandler<HTMLButtonElement>;
children?: ReactNode | string;
}
export interface ConstructProps {
parentChildren: ReactNode | string | undefined;
}
5 changes: 5 additions & 0 deletions dist/cjs/types/components/GlobalStyles/GlobalStyles.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
declare const GlobalStyles: import("styled-components").GlobalStyleComponent<
{},
import("styled-components").DefaultTheme
>;
export default GlobalStyles;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Grid/Grid.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { GridProps } from "./Grid.types";
declare const Grid: FC<GridProps>;
export default Grid;
35 changes: 35 additions & 0 deletions dist/cjs/types/components/Grid/Grid.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { HTMLAttributes, ReactNode } from "react";
import { CSSObject } from "styled-components";
interface GridCommonProps extends HTMLAttributes<HTMLDivElement> {
children?: ReactNode;
sx?: CSSObject;
}
type ConditionalProps =
| {
container?: boolean;
item?: never;
wrap?: "nowrap" | "wrap-reverse" | "wrap";
direction?: "column-reverse" | "column" | "row-reverse" | "row";
columnSpacing?: number;
rowSpacing?: number;
xs?: never;
sm?: never;
md?: never;
lg?: never;
xl?: never;
}
| {
container?: never;
item?: boolean;
wrap?: never;
direction?: never;
columnSpacing?: never;
rowSpacing?: never;
xs?: "auto" | "hidden" | number | boolean;
sm?: "auto" | "hidden" | number | boolean;
md?: "auto" | "hidden" | number | boolean;
lg?: "auto" | "hidden" | number | boolean;
xl?: "auto" | "hidden" | number | boolean;
};
export type GridProps = GridCommonProps & ConditionalProps;
export {};
4 changes: 4 additions & 0 deletions dist/cjs/types/components/LoginWrapper/LoginWrapper.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { LoginWrapperProps } from "./LoginWrapper.types";
declare const LoginWrapper: FC<LoginWrapperProps>;
export default LoginWrapper;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ReactNode } from "react";
import { ApplicationLogoProps } from "../ApplicationLogo/ApplicationLogo.types";
export interface LoginWrapperProps {
logoProps: ApplicationLogoProps;
form: ReactNode;
formFooter?: ReactNode;
promoHeader?: ReactNode;
promoInfo?: ReactNode;
}
4 changes: 4 additions & 0 deletions dist/cjs/types/components/ThemeHandler/ThemeHandler.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { ThemeHandlerProps } from "./ThemeHandler.types";
declare const ThemeHandler: FC<ThemeHandlerProps>;
export default ThemeHandler;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { ReactNode } from "react";
export interface ThemeHandlerProps {
darkMode?: boolean;
children: ReactNode;
}
3 changes: 3 additions & 0 deletions dist/cjs/types/components/ThemedLogo/ThemedLogo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { FC, SVGProps } from "react";
declare const ThemedLogo: FC<SVGProps<any>>;
export default ThemedLogo;
7 changes: 7 additions & 0 deletions dist/cjs/types/components/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export { default as ThemeHandler } from "./ThemeHandler/ThemeHandler";
export { default as GlobalStyles } from "./GlobalStyles/GlobalStyles";
export { default as Button } from "./Button/Button";
export { default as ApplicationLogo } from "./ApplicationLogo/ApplicationLogo";
export { default as ThemedLogo } from "./ThemedLogo/ThemedLogo";
export { default as Grid } from "./Grid/Grid";
export { default as LoginWrapper } from "./LoginWrapper/LoginWrapper";
Loading

0 comments on commit 6ba190f

Please sign in to comment.