Skip to content

Commit

Permalink
Release v0.9.6 (#541)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Oct 16, 2023
1 parent ca81225 commit e28dbbc
Show file tree
Hide file tree
Showing 22 changed files with 11,879 additions and 11,147 deletions.
9,256 changes: 4,773 additions & 4,483 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/Autocomplete/Autocomplete.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { AutocompleteProps } from "./Autocomplete.types";
declare const Autocomplete: FC<AutocompleteProps>;
export default Autocomplete;
22 changes: 22 additions & 0 deletions dist/cjs/types/components/Autocomplete/Autocomplete.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/// <reference types="react" />
import { CSSObject } from "styled-components";
import { SelectorType } from "../../global/global.types";
import { CommonHelpTipPlacement } from "../HelpTip/HelpTip.types";
export interface AutocompleteProps {
options: SelectorType[];
value?: string;
id: string;
name?: string;
required?: boolean;
className?: string;
disabled?: boolean;
displayDropArrow?: boolean;
label?: string;
tooltip?: string;
noLabelMinWidth?: boolean;
placeholder?: string;
onChange: (newValue: string, extraValue?: any) => void;
sx?: CSSObject;
helpTip?: React.ReactNode;
helpTipPlacement?: CommonHelpTipPlacement;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface DropdownSelectorProps {
id: string;
options: SelectorType[];
selectedOption?: string;
onSelect: (value: string, extraValue?: any) => void;
onSelect: (value: string, extraValue?: any, label?: string) => void;
hideTriggerAction: () => void;
open: boolean;
anchorEl?: (EventTarget & HTMLElement) | null;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { InformativeMessageProps } from "./InformativeMessage.types";
declare const InformativeMessage: FC<InformativeMessageProps>;
export default InformativeMessage;
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 InformativeMessageMain {
title: React.ReactNode;
message: React.ReactNode;
}
export interface ConstructProps {
variant?: "default" | "success" | "warning" | "error";
sx?: CSSObject;
}
export type InformativeMessageProps = InformativeMessageMain & ConstructProps;
2 changes: 2 additions & 0 deletions dist/cjs/types/components/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export { default as SizeChart } from "./SizeChart/SizeChart";
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 * from "./Icons";
export * from "./Icons/SidebarMenus";
export * from "./Icons/FileIcons";
Expand Down Expand Up @@ -89,3 +90,4 @@ export * from "./SizeChart/SizeChart.types";
export * from "./Snackbar/Snackbar.types";
export * from "./Accordion/Accordion.types";
export * from "./HelpTip/HelpTip.types";
export * from "./Autocomplete/Autocomplete.types";
12 changes: 12 additions & 0 deletions dist/cjs/types/global/global.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,17 @@ export interface SnackBarThemeProps {
warning: SnackBarColorElements;
error: SnackBarColorElements;
}
export interface InformativeColorElements {
backgroundColor: string;
borderColor: string;
textColor: string;
}
export interface InformativeMessageProps {
default: InformativeColorElements;
success: InformativeColorElements;
warning: InformativeColorElements;
error: InformativeColorElements;
}
export interface ThemeDefinitionProps {
bgColor: string;
fontColor: string;
Expand Down Expand Up @@ -277,6 +288,7 @@ export interface ThemeDefinitionProps {
codeEditor?: CodeEditorThemeProps;
tag?: TagThemeProps;
snackbar?: SnackBarThemeProps;
informativeMessage?: InformativeMessageProps;
}
export interface SelectorType {
label: string;
Expand Down
4 changes: 4 additions & 0 deletions dist/cjs/types/global/hooks.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export declare const useEscapeKey: (handleAction: () => void) => void;
export declare const useEnterKey: (handleAction: () => void) => void;
export declare const useArrowKeys: (
handleAction: (arrowDirection: string) => void,
) => void;
Loading

0 comments on commit e28dbbc

Please sign in to comment.