Skip to content

Commit

Permalink
Release v0.6.1 (#378)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Perez <[email protected]>
  • Loading branch information
bexsoft authored Jun 20, 2023
1 parent e476c7b commit 2cf0f64
Show file tree
Hide file tree
Showing 40 changed files with 9,245 additions and 7,522 deletions.
6,381 changes: 3,510 additions & 2,871 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/DataTable/ColumnsSelector.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { ColumnSelectorProps } from "./DataTable.types";
declare const ColumnsSelector: FC<ColumnSelectorProps>;
export default ColumnsSelector;
14 changes: 13 additions & 1 deletion dist/cjs/types/components/DataTable/DataTable.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface DataTableProps {
columnsSelector?: boolean;
textSelectable?: boolean;
columnsShown?: string[];
onColumnChange?: (column: string, state: boolean) => any;
onColumnChange?: (column: string) => any;
autoScrollToBottom?: boolean;
infiniteScrollConfig?: IInfiniteScrollConfig;
sortConfig?: ISortConfig;
Expand Down Expand Up @@ -78,3 +78,15 @@ export interface IActionButton {
idField: string;
disabled: boolean;
}
export interface ColumnSelectorProps {
open: boolean;
closeTriggerAction: () => void;
onSelect: (column: string) => void;
columns: IColumns[];
selectedOptionIDs: string[];
sx?: CSSObject;
anchorEl?: (EventTarget & HTMLElement) | null;
}
export interface ColumnSelectorConstructProps {
sx?: CSSObject;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React, { FC } from "react";
import { ExpandOptionsButtonProps } from "./ExpandOptionsButton.types";
declare const ExpandOptionsButton: FC<
ExpandOptionsButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>
>;
export default ExpandOptionsButton;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { CSSObject } from "styled-components";
export interface ExpandOptionsButtonProps {
label: string;
open: boolean;
sx?: CSSObject;
}
export interface ConstructExpandOptionsProps {
sx?: CSSObject;
}
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/AudioIcon.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 AudioIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
export default AudioIcon;
5 changes: 5 additions & 0 deletions dist/cjs/types/components/Icons/AudioIconMute.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React, { SVGProps } from "react";
declare const AudioIconMute: (
props: SVGProps<SVGSVGElement>
) => React.JSX.Element;
export default AudioIconMute;
5 changes: 5 additions & 0 deletions dist/cjs/types/components/Icons/CancelledAudioIcon.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import React, { SVGProps } from "react";
declare const CancelledAudioIcon: (
props: SVGProps<SVGSVGElement>
) => React.JSX.Element;
export default CancelledAudioIcon;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Icons/ChatIcon.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 ChatIcon: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
export default ChatIcon;
6 changes: 6 additions & 0 deletions dist/cjs/types/components/Icons/SendMessageIcon.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 SendMessageIcon: (
props: SVGProps<SVGSVGElement>
) => React.JSX.Element;
export default SendMessageIcon;
5 changes: 5 additions & 0 deletions dist/cjs/types/components/Icons/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,8 @@ export { default as VisibilityOffIcon } from "./VisibilityOffIcon";
export { default as AccessRuleIcon } from "./AccessRuleIcon";
export { default as TimeIcon } from "./TimeIcon";
export { default as CollapseMenuIcon } from "./CollapseMenuIcon";
export { default as AudioIcon } from "./AudioIcon";
export { default as AudioIconMute } from "./AudioIconMute";
export { default as ChatIcon } from "./ChatIcon";
export { default as SendMessageIcon } from "./SendMessageIcon";
export { default as CancelledAudioIcon } from "./CancelledAudioIcon";
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Tabs/TabButton.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { TabButtonProps } from "./Tabs.types";
declare const TabButton: FC<TabButtonProps>;
export default TabButton;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Tabs/TabPanel.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { TabPanelProps } from "./Tabs.types";
declare const TabPanel: FC<TabPanelProps>;
export default TabPanel;
4 changes: 4 additions & 0 deletions dist/cjs/types/components/Tabs/Tabs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { FC } from "react";
import { TabsProps } from "./Tabs.types";
declare const Tabs: FC<TabsProps>;
export default Tabs;
44 changes: 44 additions & 0 deletions dist/cjs/types/components/Tabs/Tabs.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import React from "react";
import { CSSObject } from "styled-components";
export interface TabProps {
label: string;
icon?: React.ReactNode;
disabled?: boolean;
to?: string;
id: string;
}
export interface TabItemProps {
tabConfig: TabProps;
content?: React.ReactNode;
}
export interface TabsProps {
horizontal?: boolean;
options: TabItemProps[];
currentTabOrPath: string;
useRouteTabs?: boolean;
routes?: React.ReactElement | null;
onTabClick: (selectedItem: string) => void;
sx?: CSSObject;
}
export interface TabsContainerProps {
horizontal: boolean;
sx?: CSSObject;
}
export interface TabButtonProps {
id: string;
horizontal?: boolean;
label: string;
onClick: () => void;
disabled: boolean;
icon?: React.ReactNode;
selected?: boolean;
}
export interface TabButtonConstructProps {
horizontal: boolean;
}
export interface TabPanelProps {
id: string;
selectedTab?: string;
useRouteTabs: boolean;
children: React.ReactNode;
}
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 @@ -33,7 +33,11 @@ export { default as RadioGroup } from "./RadioGroup/RadioGroup";
export { default as ReadBox } from "./ReadBox/ReadBox";
export { default as CommentBox } from "./CommentBox/CommentBox";
export { default as Menu } from "./Menu/Menu";
export { default as ExpandOptionsButton } from "./ExpandOptionsButton/ExpandOptionsButton";
export { default as Tabs } from "./Tabs/Tabs";
export * from "./Icons";
export * from "./Icons/SidebarMenus";
export * from "./Icons/FileIcons";
export * from "./Menu/Menu.types";
export * from "./DataTable/DataTable.types";
export * from "./Tabs/Tabs.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 @@ -138,6 +138,7 @@ export interface SignalColorsThemeProps {
warning: string;
good: string;
info: string;
disabled: string;
}
export interface MenuThemeProps {
vertical?: {
Expand Down Expand Up @@ -172,6 +173,28 @@ export interface MenuThemeProps {
dropHoverSelectedColor: string;
};
}
interface TabButtonProps {
labelColor: string;
backgroundColor: string;
hoverBackground: string;
hoverLabelColor: string;
selectedBackground: string;
selectedLabelColor: string;
disabledBackgroundColor: string;
disabledColor: string;
}
export interface TabThemeProps {
vertical?: {
backgroundColor: string;
buttons: TabButtonProps;
borders: string;
};
horizontal?: {
backgroundColor: string;
selectedIndicatorColor: string;
buttons: TabButtonProps;
};
}
export interface ThemeDefinitionProps {
bgColor: string;
fontColor: string;
Expand Down Expand Up @@ -207,9 +230,11 @@ export interface ThemeDefinitionProps {
dropdownSelector?: DropdownSelectorThemeProps;
readBox?: ReadBoxThemeProps;
menu?: MenuThemeProps;
tabs?: TabThemeProps;
}
export interface SelectorType {
label: string;
value: string;
icon?: React.ReactNode;
}
export {};
1 change: 1 addition & 0 deletions dist/cjs/types/global/themes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export declare const lightColors: {
menuCollapseColor: string;
menuIconBG: string;
menuIconBorder: string;
tabBorder: string;
};
export declare const darkColors: {
dark: string;
Expand Down
Loading

0 comments on commit 2cf0f64

Please sign in to comment.