@tecsinapse/react-web-kit 3.3.10-beta.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/components/atoms/Accordion/Accordion.d.ts +9 -0
- package/dist/types/components/atoms/Accordion/animations.d.ts +42 -0
- package/dist/types/components/atoms/Accordion/index.d.ts +2 -0
- package/dist/types/components/atoms/Accordion/styled.d.ts +17 -0
- package/dist/types/components/atoms/Badge/Badge.d.ts +8 -0
- package/dist/types/components/atoms/Badge/index.d.ts +2 -0
- package/dist/types/components/atoms/Button/Button.d.ts +10 -0
- package/dist/types/components/atoms/Button/hooks/useMouseHover.d.ts +5 -0
- package/dist/types/components/atoms/Button/hooks/useMousePressed.d.ts +5 -0
- package/dist/types/components/atoms/Button/index.d.ts +3 -0
- package/dist/types/components/atoms/Button/styled.d.ts +13 -0
- package/dist/types/components/atoms/Dropdown/index.d.ts +9 -0
- package/dist/types/components/atoms/Dropdown/styled.d.ts +5 -0
- package/dist/types/components/atoms/Input/Input.d.ts +7 -0
- package/dist/types/components/atoms/Input/index.d.ts +2 -0
- package/dist/types/components/atoms/Input/styled.d.ts +5 -0
- package/dist/types/components/atoms/InputMask/InputMask.d.ts +7 -0
- package/dist/types/components/atoms/InputMask/index.d.ts +2 -0
- package/dist/types/components/atoms/InputMask/styled.d.ts +5 -0
- package/dist/types/components/atoms/Modal/Modal.d.ts +7 -0
- package/dist/types/components/atoms/Modal/animations.d.ts +23 -0
- package/dist/types/components/atoms/Modal/index.d.ts +2 -0
- package/dist/types/components/atoms/Modal/styled.d.ts +5 -0
- package/dist/types/components/atoms/Overlay/Overlay.d.ts +11 -0
- package/dist/types/components/atoms/Overlay/animations.d.ts +23 -0
- package/dist/types/components/atoms/Overlay/index.d.ts +1 -0
- package/dist/types/components/atoms/Overlay/styled.d.ts +11 -0
- package/dist/types/components/atoms/Skeleton/Skeleton.d.ts +11 -0
- package/dist/types/components/atoms/Skeleton/index.d.ts +2 -0
- package/dist/types/components/atoms/Skeleton/styled.d.ts +6 -0
- package/dist/types/components/atoms/Switch/Switch.d.ts +4 -0
- package/dist/types/components/atoms/Switch/index.d.ts +1 -0
- package/dist/types/components/atoms/Switch/styled.d.ts +9 -0
- package/dist/types/components/atoms/Table/Body/TBody.d.ts +3 -0
- package/dist/types/components/atoms/Table/Body/index.d.ts +1 -0
- package/dist/types/components/atoms/Table/Cell/Td.d.ts +3 -0
- package/dist/types/components/atoms/Table/Cell/index.d.ts +1 -0
- package/dist/types/components/atoms/Table/Cell/styled.d.ts +5 -0
- package/dist/types/components/atoms/Table/Container/TableContainer.d.ts +3 -0
- package/dist/types/components/atoms/Table/Container/index.d.ts +1 -0
- package/dist/types/components/atoms/Table/Container/styled.d.ts +5 -0
- package/dist/types/components/atoms/Table/Footer/TFoot.d.ts +3 -0
- package/dist/types/components/atoms/Table/Footer/index.d.ts +1 -0
- package/dist/types/components/atoms/Table/Footer/styled.d.ts +5 -0
- package/dist/types/components/atoms/Table/Header/THead.d.ts +3 -0
- package/dist/types/components/atoms/Table/Header/Th.d.ts +3 -0
- package/dist/types/components/atoms/Table/Header/index.d.ts +2 -0
- package/dist/types/components/atoms/Table/Header/styled.d.ts +13 -0
- package/dist/types/components/atoms/Table/Row/Tr.d.ts +3 -0
- package/dist/types/components/atoms/Table/Row/index.d.ts +1 -0
- package/dist/types/components/atoms/Table/Row/styled.d.ts +5 -0
- package/dist/types/components/atoms/Table/Table.d.ts +3 -0
- package/dist/types/components/atoms/Table/Toolbar/TableToolbar.d.ts +8 -0
- package/dist/types/components/atoms/Table/Toolbar/index.d.ts +2 -0
- package/dist/types/components/atoms/Table/Toolbar/styled.d.ts +5 -0
- package/dist/types/components/atoms/Table/index.d.ts +9 -0
- package/dist/types/components/atoms/Table/styled.d.ts +5 -0
- package/dist/types/components/atoms/Tag/Tag.d.ts +8 -0
- package/dist/types/components/atoms/Tag/index.d.ts +2 -0
- package/dist/types/components/atoms/Tooltip/Tooltip.d.ts +15 -0
- package/dist/types/components/atoms/Tooltip/index.d.ts +2 -0
- package/dist/types/components/atoms/Tooltip/styled.d.ts +18 -0
- package/dist/types/components/molecules/Breadcrumbs/BreadcrumbItem/BreadcrumbItem.d.ts +9 -0
- package/dist/types/components/molecules/Breadcrumbs/BreadcrumbItem/index.d.ts +2 -0
- package/dist/types/components/molecules/Breadcrumbs/BreadcrumbItem/styled.d.ts +9 -0
- package/dist/types/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +11 -0
- package/dist/types/components/molecules/Breadcrumbs/index.d.ts +2 -0
- package/dist/types/components/molecules/Breadcrumbs/styled.d.ts +5 -0
- package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +7 -0
- package/dist/types/components/molecules/DatePicker/Modal.d.ts +6 -0
- package/dist/types/components/molecules/DatePicker/index.d.ts +2 -0
- package/dist/types/components/molecules/DatePicker/styled.d.ts +11 -0
- package/dist/types/components/molecules/DateTimePicker/DateTimePicker.d.ts +4 -0
- package/dist/types/components/molecules/DateTimePicker/Modal.d.ts +3 -0
- package/dist/types/components/molecules/DateTimePicker/index.d.ts +2 -0
- package/dist/types/components/molecules/DateTimePicker/styled.d.ts +11 -0
- package/dist/types/components/molecules/DateTimePickerSelector/DateTimePickerSelector.d.ts +5 -0
- package/dist/types/components/molecules/DateTimePickerSelector/components/MemoizedTimeCard.d.ts +10 -0
- package/dist/types/components/molecules/DateTimePickerSelector/components/ScrollableDigit.d.ts +13 -0
- package/dist/types/components/molecules/DateTimePickerSelector/components/index.d.ts +2 -0
- package/dist/types/components/molecules/DateTimePickerSelector/index.d.ts +1 -0
- package/dist/types/components/molecules/DateTimePickerSelector/styled.d.ts +40 -0
- package/dist/types/components/molecules/Drawer/Drawer.d.ts +9 -0
- package/dist/types/components/molecules/Drawer/animations.d.ts +35 -0
- package/dist/types/components/molecules/Drawer/index.d.ts +2 -0
- package/dist/types/components/molecules/Drawer/styled.d.ts +6 -0
- package/dist/types/components/molecules/Grid/Grid.d.ts +5 -0
- package/dist/types/components/molecules/Grid/Item/Item.d.ts +9 -0
- package/dist/types/components/molecules/Grid/Item/functions.d.ts +2 -0
- package/dist/types/components/molecules/Grid/Item/index.d.ts +2 -0
- package/dist/types/components/molecules/Grid/index.d.ts +4 -0
- package/dist/types/components/molecules/IconTextButton/IconTextButton.d.ts +6 -0
- package/dist/types/components/molecules/IconTextButton/TextComponent.d.ts +12 -0
- package/dist/types/components/molecules/IconTextButton/hooks/useIconTextButton.d.ts +7 -0
- package/dist/types/components/molecules/IconTextButton/index.d.ts +2 -0
- package/dist/types/components/molecules/IconTextButton/styled.d.ts +12 -0
- package/dist/types/components/molecules/InputPassword/InputPassword.d.ts +5 -0
- package/dist/types/components/molecules/InputPassword/index.d.ts +2 -0
- package/dist/types/components/molecules/LabeledSwitch/LabelComponent.d.ts +12 -0
- package/dist/types/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +7 -0
- package/dist/types/components/molecules/LabeledSwitch/index.d.ts +2 -0
- package/dist/types/components/molecules/LabeledSwitch/styled.d.ts +12 -0
- package/dist/types/components/molecules/Masonry/Masonry.d.ts +10 -0
- package/dist/types/components/molecules/Masonry/index.d.ts +1 -0
- package/dist/types/components/molecules/Masonry/styled.d.ts +18 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuBlock.d.ts +8 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/MenuItem.d.ts +12 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/SubMenuBlock.d.ts +8 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/index.d.ts +1 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/styled.d.ts +9 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/index.d.ts +1 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/styled.d.ts +9 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/index.d.ts +1 -0
- package/dist/types/components/molecules/Menubar/MenuBlock/styled.d.ts +21 -0
- package/dist/types/components/molecules/Menubar/Menubar.d.ts +14 -0
- package/dist/types/components/molecules/Menubar/MostUsed/MostUsed.d.ts +9 -0
- package/dist/types/components/molecules/Menubar/MostUsed/index.d.ts +1 -0
- package/dist/types/components/molecules/Menubar/MostUsed/styled.d.ts +9 -0
- package/dist/types/components/molecules/Menubar/SearchResultItem/SearchResultItem.d.ts +9 -0
- package/dist/types/components/molecules/Menubar/SearchResultItem/index.d.ts +1 -0
- package/dist/types/components/molecules/Menubar/SearchResultItem/styled.d.ts +9 -0
- package/dist/types/components/molecules/Menubar/SearchResultItem/utils.d.ts +3 -0
- package/dist/types/components/molecules/Menubar/animations.d.ts +4 -0
- package/dist/types/components/molecules/Menubar/index.d.ts +3 -0
- package/dist/types/components/molecules/Menubar/styled.d.ts +40 -0
- package/dist/types/components/molecules/Menubar/types.d.ts +19 -0
- package/dist/types/components/molecules/Menubar/utils.d.ts +2 -0
- package/dist/types/components/molecules/ScrollableMonthYearPicker/ScrollableMonthYearPicker.d.ts +10 -0
- package/dist/types/components/molecules/ScrollableMonthYearPicker/index.d.ts +1 -0
- package/dist/types/components/molecules/ScrollableMonthYearPicker/styled.d.ts +9 -0
- package/dist/types/components/molecules/ScrollableTimePicker/ScrollableTimePicker.d.ts +10 -0
- package/dist/types/components/molecules/ScrollableTimePicker/index.d.ts +1 -0
- package/dist/types/components/molecules/ScrollableTimePicker/styled.d.ts +9 -0
- package/dist/types/components/molecules/Select/Dropdown/Dropdown.d.ts +11 -0
- package/dist/types/components/molecules/Select/Dropdown/components/SearchInput.d.ts +8 -0
- package/dist/types/components/molecules/Select/Dropdown/components/index.d.ts +1 -0
- package/dist/types/components/molecules/Select/Dropdown/index.d.ts +1 -0
- package/dist/types/components/molecules/Select/Dropdown/styled.d.ts +36 -0
- package/dist/types/components/molecules/Select/Select.d.ts +23 -0
- package/dist/types/components/molecules/Select/SelectItem/SelectItem.d.ts +17 -0
- package/dist/types/components/molecules/Select/SelectItem/index.d.ts +1 -0
- package/dist/types/components/molecules/Select/SelectItem/styled.d.ts +15 -0
- package/dist/types/components/molecules/Select/animations.d.ts +51 -0
- package/dist/types/components/molecules/Select/functions.d.ts +2 -0
- package/dist/types/components/molecules/Select/index.d.ts +2 -0
- package/dist/types/components/molecules/Select/styled.d.ts +15 -0
- package/dist/types/components/molecules/Select/types.d.ts +4 -0
- package/dist/types/components/molecules/Snackbar/Snackbar.d.ts +8 -0
- package/dist/types/components/molecules/Snackbar/index.d.ts +2 -0
- package/dist/types/components/molecules/Snackbar/styled.d.ts +5 -0
- package/dist/types/components/molecules/TextArea/TextArea.d.ts +5 -0
- package/dist/types/components/molecules/TextArea/index.d.ts +2 -0
- package/dist/types/components/molecules/TextArea/styled.d.ts +15 -0
- package/dist/types/components/organisms/DataGrid/DataGrid.d.ts +29 -0
- package/dist/types/components/organisms/DataGrid/Footer/Footer.d.ts +16 -0
- package/dist/types/components/organisms/DataGrid/Footer/index.d.ts +1 -0
- package/dist/types/components/organisms/DataGrid/Footer/styled.d.ts +60 -0
- package/dist/types/components/organisms/DataGrid/Header/Header.d.ts +13 -0
- package/dist/types/components/organisms/DataGrid/Header/index.d.ts +1 -0
- package/dist/types/components/organisms/DataGrid/Header/styled.d.ts +4 -0
- package/dist/types/components/organisms/DataGrid/Header/utils.d.ts +8 -0
- package/dist/types/components/organisms/DataGrid/Row/Row.d.ts +10 -0
- package/dist/types/components/organisms/DataGrid/Row/index.d.ts +1 -0
- package/dist/types/components/organisms/DataGrid/index.d.ts +3 -0
- package/dist/types/components/organisms/DataGrid/styled.d.ts +4 -0
- package/dist/types/components/organisms/DataGrid/types.d.ts +8 -0
- package/dist/types/components/organisms/DataGrid/utils.d.ts +2 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/useBreakpoints.d.ts +6 -0
- package/dist/types/hooks/useClickAwayListener.d.ts +2 -0
- package/dist/types/hooks/useWindowSize.d.ts +6 -0
- package/dist/types/index.d.ts +47 -0
- package/package.json +6 -6
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DivStyledColumn: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const DivStyledRow: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface DateTimeSelectorProps {
|
|
3
|
+
setDate: React.Dispatch<React.SetStateAction<Date>>;
|
|
4
|
+
date: Date;
|
|
5
|
+
locale?: Locale;
|
|
6
|
+
minuteLabel?: string;
|
|
7
|
+
hourLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const ScrollableTimePicker: React.FC<DateTimeSelectorProps>;
|
|
10
|
+
export default ScrollableTimePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScrollableTimePicker } from './ScrollableTimePicker';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DivStyledColumn: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const DivStyledRow: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SelectProps } from '../Select';
|
|
3
|
+
declare const Component: <Data, Type extends "single" | "multi">({ options, onSearch, type, hideSearchBar, onSelect, value, keyExtractor, labelExtractor, setDropDownVisible, style, anchor, selectAllLabel, searchBarPlaceholder, }: SelectProps<Data, Type> & {
|
|
4
|
+
setDropDownVisible: (t: boolean) => void;
|
|
5
|
+
}, ref: React.ForwardedRef<HTMLDivElement>) => JSX.Element;
|
|
6
|
+
declare const Dropdown: <Data, Type extends "single" | "multi">(props: SelectProps<Data, Type> & {
|
|
7
|
+
setDropDownVisible: (t: boolean) => void;
|
|
8
|
+
} & {
|
|
9
|
+
ref?: React.ForwardedRef<HTMLDivElement> | undefined;
|
|
10
|
+
}) => ReturnType<typeof Component>;
|
|
11
|
+
export default Dropdown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SearchInput } from './SearchInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Dropdown } from './Dropdown';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectProps } from '../Select';
|
|
3
|
+
export declare const StyledContainerDropdown: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps & SelectProps<unknown, "single" | "multi"> & {
|
|
7
|
+
lengthOptions: number;
|
|
8
|
+
}>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const OptionsContainer: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps & SelectProps<unknown, "single" | "multi"> & {
|
|
13
|
+
lengthOptions: number;
|
|
14
|
+
}>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
+
export declare const SearchBarContainer: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
+
export declare const PaddedContainer: import("@emotion/styled").StyledComponent<{
|
|
20
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
+
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
+
export declare const StyledContainerCheckAll: import("@emotion/styled").StyledComponent<{
|
|
24
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
+
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
27
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
+
}, {}, {}>;
|
|
29
|
+
export declare const StyledSpan: import("@emotion/styled").StyledComponent<{
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
as?: import("react").ElementType<any> | undefined;
|
|
32
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
33
|
+
export declare const StyledContainerTextLabel: import("@emotion/styled").StyledComponent<{
|
|
34
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
+
as?: import("react").ElementType<any> | undefined;
|
|
36
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TextProps } from '@tecsinapse/react-core';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { MultiLabels } from './types';
|
|
4
|
+
export interface SelectProps<Data, Type extends 'single' | 'multi'> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect'> {
|
|
5
|
+
options: ((searchInput?: string) => Promise<Data[]>) | Data[];
|
|
6
|
+
onSelect: (option: Type extends 'single' ? Data | undefined : Data[]) => never | void;
|
|
7
|
+
value: Type extends 'single' ? Data | undefined : Data[];
|
|
8
|
+
type: Type;
|
|
9
|
+
keyExtractor: (t: Data, index?: number) => string;
|
|
10
|
+
labelExtractor: (t: Data) => string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
onSearch?: ((searchArg: string) => void) | ((searchInput?: string) => Promise<Data[]>) | never;
|
|
13
|
+
searchBarPlaceholder?: string;
|
|
14
|
+
hideSearchBar?: boolean;
|
|
15
|
+
selectAllLabel?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
label?: string;
|
|
18
|
+
anchor?: 'top' | 'bottom';
|
|
19
|
+
displayTextProps?: TextProps;
|
|
20
|
+
multiLabels?: MultiLabels;
|
|
21
|
+
}
|
|
22
|
+
declare const Select: <Data, Type extends "single" | "multi">({ value, options, keyExtractor, onSelect, type, labelExtractor, placeholder, onSearch, searchBarPlaceholder, hideSearchBar, label, disabled, anchor, displayTextProps, selectAllLabel, multiLabels, ...rest }: SelectProps<Data, Type>) => JSX.Element;
|
|
23
|
+
export default Select;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface SelectItemProps<Data, Type extends 'single' | 'multi'> {
|
|
3
|
+
item: Data;
|
|
4
|
+
type: Type;
|
|
5
|
+
value: Type extends 'single' ? Data | undefined : Data[];
|
|
6
|
+
onSelect: (option: Type extends 'single' ? Data | undefined : Data[]) => never | void;
|
|
7
|
+
keyExtractor: (t: Data, index?: number) => string;
|
|
8
|
+
labelExtractor: (t: Data) => string;
|
|
9
|
+
index: number;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: <Data, Type extends "single" | "multi">({ item, onSelect, type, value, labelExtractor, setDropDownVisible, checkedAll, setCheckedAll, lenghtOptions, keyExtractor, }: SelectItemProps<Data, Type> & {
|
|
12
|
+
setDropDownVisible: (t: boolean) => void;
|
|
13
|
+
checkedAll: boolean;
|
|
14
|
+
setCheckedAll: (t: boolean) => void;
|
|
15
|
+
lenghtOptions: number;
|
|
16
|
+
}) => JSX.Element;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ItemSelect } from './SelectItem';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ContainerItemSelect: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledSpan: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
|
|
10
|
+
singleHighligh: boolean;
|
|
11
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
12
|
+
export declare const StyledContainerTextLabel: import("@emotion/styled").StyledComponent<{
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
as?: import("react").ElementType<any> | undefined;
|
|
15
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare const defaultStyles: {
|
|
2
|
+
transition: string[];
|
|
3
|
+
overflow: string;
|
|
4
|
+
visibility: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const transition: {
|
|
7
|
+
bottom: {
|
|
8
|
+
entering: {
|
|
9
|
+
transform: string;
|
|
10
|
+
opacity: number;
|
|
11
|
+
visibility: string;
|
|
12
|
+
};
|
|
13
|
+
entered: {
|
|
14
|
+
transform: string;
|
|
15
|
+
opacity: number;
|
|
16
|
+
visibility: string;
|
|
17
|
+
};
|
|
18
|
+
exiting: {
|
|
19
|
+
transform: string;
|
|
20
|
+
opacity: number;
|
|
21
|
+
visibility: string;
|
|
22
|
+
};
|
|
23
|
+
exited: {
|
|
24
|
+
transform: string;
|
|
25
|
+
opacity: number;
|
|
26
|
+
visibility: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
top: {
|
|
30
|
+
entering: {
|
|
31
|
+
transform: string;
|
|
32
|
+
opacity: number;
|
|
33
|
+
visibility: string;
|
|
34
|
+
};
|
|
35
|
+
entered: {
|
|
36
|
+
transform: string;
|
|
37
|
+
opacity: number;
|
|
38
|
+
visibility: string;
|
|
39
|
+
};
|
|
40
|
+
exiting: {
|
|
41
|
+
transform: string;
|
|
42
|
+
opacity: number;
|
|
43
|
+
visibility: string;
|
|
44
|
+
};
|
|
45
|
+
exited: {
|
|
46
|
+
transform: string;
|
|
47
|
+
opacity: number;
|
|
48
|
+
visibility: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { MultiLabels } from './types';
|
|
2
|
+
export declare const getDisplayValue: <Data>(type: 'multi' | 'single', value: Data | Data[] | undefined, options: Data[], placeholder: string | undefined, keyExtractor: (option: Data, idx?: number) => string, labelExtractor: (option: Data) => string, multiLabels?: MultiLabels) => string | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const StyledInputContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const StyledIconComponent: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").IconProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps & {
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
}>, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SnackbarProps as SnackPropsCore, TextProps } from '@tecsinapse/react-core';
|
|
3
|
+
export interface SnackbarWebProps extends Omit<SnackPropsCore, 'children'> {
|
|
4
|
+
value: string;
|
|
5
|
+
textProps?: TextProps;
|
|
6
|
+
}
|
|
7
|
+
declare const Snackbar: React.FC<SnackbarWebProps>;
|
|
8
|
+
export default Snackbar;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SnackbarStyled: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").SnackbarProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FontStackType, FontWeightType } from '@tecsinapse/react-core';
|
|
3
|
+
import { TextAreaProps } from './TextArea';
|
|
4
|
+
interface Font {
|
|
5
|
+
fontStack?: FontStackType;
|
|
6
|
+
fontWeight?: FontWeightType;
|
|
7
|
+
}
|
|
8
|
+
export declare const StyledWebInput: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").InputElementProps & import("react").RefAttributes<import("react-native").TextInput> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
+
as?: import("react").ElementType<any> | undefined;
|
|
11
|
+
} & Partial<import("@tecsinapse/react-core").TextAreaProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
|
|
12
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
+
as?: import("react").ElementType<any> | undefined;
|
|
14
|
+
} & Font & Partial<TextAreaProps>, {}, {}>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HeadersType } from './types';
|
|
3
|
+
export interface DataGridProps<Data> extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
headers: HeadersType<Data>[];
|
|
5
|
+
data: Data[];
|
|
6
|
+
rowKeyExtractor: (data: Data) => string;
|
|
7
|
+
toolbarRightIcons?: React.ReactNode;
|
|
8
|
+
toolbarFooter?: React.ReactNode;
|
|
9
|
+
toolbarTitle: string;
|
|
10
|
+
selectable?: boolean;
|
|
11
|
+
selectedRows?: Data[];
|
|
12
|
+
onSelectedRows?: (data: Data[] | ((prevState: Data[]) => Data[])) => void;
|
|
13
|
+
pagination?: boolean;
|
|
14
|
+
rowsPerPage?: number;
|
|
15
|
+
onRowsPerPageChange?: (value: number) => void;
|
|
16
|
+
rowsPerPageOptions?: number[];
|
|
17
|
+
rowsPerPageLabel?: (value: number) => string;
|
|
18
|
+
exportLabel?: string;
|
|
19
|
+
exportFunction?: () => void;
|
|
20
|
+
rowsCount?: number;
|
|
21
|
+
page?: number;
|
|
22
|
+
onPageChange?: (page: number) => void;
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
skeletonComponent?: React.ReactNode;
|
|
25
|
+
emptyPlaceholder?: React.ReactNode;
|
|
26
|
+
exportComponent?: React.ReactNode;
|
|
27
|
+
}
|
|
28
|
+
declare const DataGrid: <Data>({ headers, data, rowKeyExtractor, toolbarTitle, toolbarFooter, toolbarRightIcons, selectable, selectedRows, onSelectedRows, pagination, rowsPerPage, onRowsPerPageChange, rowsPerPageOptions: _rowsPerPageOptions, rowsPerPageLabel: _rowsPerPageLabel, exportLabel, exportFunction, rowsCount, page, onPageChange, loading, skeletonComponent, emptyPlaceholder, exportComponent, ...rest }: DataGridProps<Data>) => JSX.Element;
|
|
29
|
+
export default DataGrid;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DataGridFooterProps {
|
|
3
|
+
rowsPerPage: number;
|
|
4
|
+
onRowsPerPageChange?: (value: number) => void;
|
|
5
|
+
rowsPerPageOptions: number[];
|
|
6
|
+
rowsPerPageLabel: (value: number) => string;
|
|
7
|
+
exportLabel?: string;
|
|
8
|
+
exportFunction?: () => void;
|
|
9
|
+
rowsCount: number;
|
|
10
|
+
page: number;
|
|
11
|
+
onPageChange?: (page: number) => void;
|
|
12
|
+
pagination: boolean;
|
|
13
|
+
exportComponent?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: React.NamedExoticComponent<DataGridFooterProps>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Footer } from './Footer';
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TdFooterStyled: import("@emotion/styled").StyledComponent<import("react").TdHTMLAttributes<HTMLTableCellElement> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
5
|
+
export declare const FlexContainer: import("@emotion/styled").StyledComponent<{
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
+
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const FooterContainer: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
13
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
export declare const FooterContainerStart: import("@emotion/styled").StyledComponent<{
|
|
16
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
+
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export declare const FooterContainerEnd: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any> | undefined;
|
|
24
|
+
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
export declare const SelectContainer: import("@emotion/styled").StyledComponent<{
|
|
28
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
29
|
+
as?: import("react").ElementType<any> | undefined;
|
|
30
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
31
|
+
export declare const NavigationButton: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").ButtonProps & {
|
|
32
|
+
onMouseOver?: (() => void) | undefined;
|
|
33
|
+
onMouseOut?: (() => void) | undefined;
|
|
34
|
+
onPressIn?: (() => void) | undefined;
|
|
35
|
+
onPressOut?: (() => void) | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
38
|
+
as?: import("react").ElementType<any> | undefined;
|
|
39
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
40
|
+
export declare const PageButton: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").ButtonProps & {
|
|
41
|
+
onMouseOver?: (() => void) | undefined;
|
|
42
|
+
onMouseOut?: (() => void) | undefined;
|
|
43
|
+
onPressIn?: (() => void) | undefined;
|
|
44
|
+
onPressOut?: (() => void) | undefined;
|
|
45
|
+
} & {
|
|
46
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
47
|
+
as?: import("react").ElementType<any> | undefined;
|
|
48
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
49
|
+
export declare const PagesContainer: import("@emotion/styled").StyledComponent<{
|
|
50
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
51
|
+
as?: import("react").ElementType<any> | undefined;
|
|
52
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
53
|
+
export declare const HoveredText: import("@emotion/styled").StyledComponent<{
|
|
54
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
55
|
+
as?: import("react").ElementType<any> | undefined;
|
|
56
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
57
|
+
export declare const TextPagination: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
|
|
58
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
59
|
+
as?: import("react").ElementType<any> | undefined;
|
|
60
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HeadersType } from '../types';
|
|
3
|
+
export interface DataGridHeaderProps<Data> {
|
|
4
|
+
headers: HeadersType<Data>[];
|
|
5
|
+
data: Data[];
|
|
6
|
+
selectedRows: Data[];
|
|
7
|
+
onSelected?: (data: Data[]) => void;
|
|
8
|
+
rowKeyExtractor: (data: Data) => string;
|
|
9
|
+
rowsCount: number;
|
|
10
|
+
selectable?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Header: <Data>({ selectable, rowsCount, headers, data, rowKeyExtractor, selectedRows, onSelected, }: DataGridHeaderProps<Data>) => JSX.Element;
|
|
13
|
+
export default Header;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Header } from './Header';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CheckboxHeader: import("@emotion/styled").StyledComponent<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SortState } from '../types';
|
|
2
|
+
export declare const NEXT_STATE: {
|
|
3
|
+
[key: string]: SortState;
|
|
4
|
+
};
|
|
5
|
+
export declare const getIconSuffix: (state: SortState) => string;
|
|
6
|
+
export declare const getIconColor: (state: SortState) => 'medium' | 'orange';
|
|
7
|
+
export declare const findUnselectedItemsOnData: <T>(selected: T[], data: T[], rowKeyExtractor: (t: T) => string) => T[];
|
|
8
|
+
export declare const findCurrentItemsOnData: <T>(selected: T[], data: T[], rowKeyExtractor: (t: T) => string) => T[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<({ rowKeyExtractor, data, checked: _checked, handleSelect, selectable, headers, }: {
|
|
3
|
+
rowKeyExtractor: any;
|
|
4
|
+
data: any;
|
|
5
|
+
checked: any;
|
|
6
|
+
handleSelect: any;
|
|
7
|
+
selectable: any;
|
|
8
|
+
headers: any;
|
|
9
|
+
}) => JSX.Element>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Row } from './Row';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const CheckboxCell: import("@emotion/styled").StyledComponent<import("react").TdHTMLAttributes<HTMLTableCellElement> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
} & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type SortState = 'ascending' | 'descending' | 'unsorted';
|
|
3
|
+
export type HeadersType<Data> = {
|
|
4
|
+
label: string;
|
|
5
|
+
render: (data: Data) => React.ReactNode;
|
|
6
|
+
sort?: (direction: SortState) => void;
|
|
7
|
+
justifyContent?: 'flex-start' | 'center' | 'flex-end';
|
|
8
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export * from '@tecsinapse/react-core';
|
|
2
|
+
export { Icon, Text } from '@tecsinapse/react-core';
|
|
3
|
+
export { Accordion } from './components/atoms/Accordion';
|
|
4
|
+
export type { AccordionProps } from './components/atoms/Accordion';
|
|
5
|
+
export { default as Badge } from './components/atoms/Badge/Badge';
|
|
6
|
+
export type { BadgeWebProps } from './components/atoms/Badge/Badge';
|
|
7
|
+
export { Button, useMouseHover } from './components/atoms/Button';
|
|
8
|
+
export type { WebButtonProps } from './components/atoms/Button';
|
|
9
|
+
export { Input } from './components/atoms/Input';
|
|
10
|
+
export type { InputWebProps } from './components/atoms/Input';
|
|
11
|
+
export { InputMask } from './components/atoms/InputMask';
|
|
12
|
+
export type { InputMaskWebProps } from './components/atoms/InputMask';
|
|
13
|
+
export { Modal } from './components/atoms/Modal';
|
|
14
|
+
export type { ModalProps } from './components/atoms/Modal';
|
|
15
|
+
export { Skeleton } from './components/atoms/Skeleton';
|
|
16
|
+
export type { SkeletonProps } from './components/atoms/Skeleton';
|
|
17
|
+
export { Tag } from './components/atoms/Tag';
|
|
18
|
+
export type { TagProps } from './components/atoms/Tag';
|
|
19
|
+
export { Tooltip } from './components/atoms/Tooltip';
|
|
20
|
+
export type { ITooltip } from './components/atoms/Tooltip';
|
|
21
|
+
export { Breadcrumbs } from './components/molecules/Breadcrumbs';
|
|
22
|
+
export type { BreadcrumbsProps, BreadcrumbType, } from './components/molecules/Breadcrumbs';
|
|
23
|
+
export { DatePicker } from './components/molecules/DatePicker';
|
|
24
|
+
export type { WebDatePickerProps } from './components/molecules/DatePicker';
|
|
25
|
+
export { DateTimePicker } from './components/molecules/DateTimePicker';
|
|
26
|
+
export type { WebDateTimePickerProps } from './components/molecules/DateTimePicker';
|
|
27
|
+
export { Drawer } from './components/molecules/Drawer';
|
|
28
|
+
export type { DrawerProps } from './components/molecules/Drawer';
|
|
29
|
+
export { Grid, GridItem } from './components/molecules/Grid';
|
|
30
|
+
export type { IGridItemWeb, IGridWeb } from './components/molecules/Grid';
|
|
31
|
+
export { IconTextButton } from './components/molecules/IconTextButton';
|
|
32
|
+
export { InputPassword } from './components/molecules/InputPassword';
|
|
33
|
+
export type { InputPasswordWebProps } from './components/molecules/InputPassword';
|
|
34
|
+
export { Switch } from './components/atoms/Switch';
|
|
35
|
+
export { LabeledSwitch } from './components/molecules/LabeledSwitch';
|
|
36
|
+
export type { LabeledSwitchWebProps } from './components/molecules/LabeledSwitch';
|
|
37
|
+
export { Menubar } from './components/molecules/Menubar';
|
|
38
|
+
export type { MenubarItemsOptions, MenubarMostUsedType, MenubarOptionsType, MenubarProps, } from './components/molecules/Menubar';
|
|
39
|
+
export { Select } from './components/molecules/Select';
|
|
40
|
+
export type { SelectProps } from './components/molecules/Select';
|
|
41
|
+
export { Snackbar } from './components/molecules/Snackbar';
|
|
42
|
+
export type { SnackbarWebProps } from './components/molecules/Snackbar';
|
|
43
|
+
export { TextArea } from './components/molecules/TextArea';
|
|
44
|
+
export type { TextAreaProps } from './components/molecules/TextArea';
|
|
45
|
+
export { DataGrid } from './components/organisms/DataGrid';
|
|
46
|
+
export type { DataGridProps, HeadersType, SortState, } from './components/organisms/DataGrid';
|
|
47
|
+
export * from './hooks';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/react-web-kit",
|
|
3
3
|
"description": "TecSinapse React components",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
-
"dev": "
|
|
13
|
+
"dev": "rollup --config --watch",
|
|
14
|
+
"dev:dts": "tsc --project tsconfig.build.json --watch",
|
|
14
15
|
"build:es": "rollup --config",
|
|
15
|
-
"build:
|
|
16
|
-
"build:declaration:watch": "tsc --project tsconfig.build.json --watch",
|
|
16
|
+
"build:dts": "tsc --project tsconfig.build.json",
|
|
17
17
|
"yalc:push": "yalc push --changed",
|
|
18
18
|
"yalc:show": "yalc installations show $npm_package_name"
|
|
19
19
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@emotion/native": "~11.11.0",
|
|
22
22
|
"@emotion/react": "~11.11.0",
|
|
23
23
|
"@emotion/styled": "~11.11.0",
|
|
24
|
-
"@tecsinapse/react-core": "3.
|
|
24
|
+
"@tecsinapse/react-core": "3.4.0",
|
|
25
25
|
"date-fns": "~2.30.0",
|
|
26
26
|
"react-native-vector-icons": "^9.2.0",
|
|
27
27
|
"react-transition-group": "~4.4.5"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"react-dom": "^18.0.0",
|
|
41
41
|
"react-native-web": ">=0.18.0 <1"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "68c1b2e4efabf493290234c3d97754f39e82b861"
|
|
44
44
|
}
|