react-asc 25.5.6 → 25.6.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/index.d.ts +772 -770
- package/index.es.js +4070 -4176
- package/index.js +4069 -4175
- package/lib/components/Alert/Alert.d.ts +12 -12
- package/lib/components/Alert/index.d.ts +1 -1
- package/lib/components/AppBar/AppBar.d.ts +11 -11
- package/lib/components/AppBar/AppBarTitle.d.ts +6 -6
- package/lib/components/AppBar/index.d.ts +2 -2
- package/lib/components/AutoComplete/AutoComplete.d.ts +18 -18
- package/lib/components/AutoComplete/index.d.ts +1 -1
- package/lib/components/Backdrop/Backdrop.d.ts +6 -6
- package/lib/components/Backdrop/index.d.ts +1 -1
- package/lib/components/Badge/Badge.d.ts +9 -7
- package/lib/components/Badge/index.d.ts +1 -1
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +6 -6
- package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -6
- package/lib/components/Breadcrumb/index.d.ts +2 -2
- package/lib/components/Button/Button.d.ts +13 -13
- package/lib/components/Button/ButtonContext.d.ts +7 -7
- package/lib/components/Button/index.d.ts +2 -2
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +6 -6
- package/lib/components/ButtonGroup/index.d.ts +1 -1
- package/lib/components/Card/Card.d.ts +6 -6
- package/lib/components/Card/CardBody.d.ts +2 -2
- package/lib/components/Card/CardFooter.d.ts +2 -2
- package/lib/components/Card/CardImage.d.ts +2 -2
- package/lib/components/Card/CardSubtitle.d.ts +2 -2
- package/lib/components/Card/CardText.d.ts +2 -2
- package/lib/components/Card/CardTitle.d.ts +6 -6
- package/lib/components/Card/index.d.ts +7 -7
- package/lib/components/Checkbox/Checkbox.d.ts +7 -7
- package/lib/components/Checkbox/index.d.ts +1 -1
- package/lib/components/Chip/Chip.d.ts +11 -11
- package/lib/components/Chip/index.d.ts +1 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -8
- package/lib/components/ConditionalWrapper/index.d.ts +1 -1
- package/lib/components/CssTransition/CssTransition.d.ts +8 -8
- package/lib/components/CssTransition/index.d.ts +1 -1
- package/lib/components/DatePicker/DatePicker.d.ts +10 -10
- package/lib/components/DatePicker/index.d.ts +1 -1
- package/lib/components/DateSelect/DateSelect.d.ts +17 -17
- package/lib/components/DateSelect/DaySelect.d.ts +12 -12
- package/lib/components/DateSelect/MonthSelect.d.ts +10 -10
- package/lib/components/DateSelect/YearSelect.d.ts +12 -12
- package/lib/components/DateSelect/index.d.ts +4 -4
- package/lib/components/Drawer/Drawer.d.ts +9 -9
- package/lib/components/Drawer/index.d.ts +1 -1
- package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +10 -10
- package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +5 -5
- package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +8 -8
- package/lib/components/ExpansionPanel/index.d.ts +3 -3
- package/lib/components/FileInput/FileInput.d.ts +5 -5
- package/lib/components/FileInput/index.d.ts +1 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +13 -13
- package/lib/components/FloatingActionButton/index.d.ts +1 -1
- package/lib/components/Form/Form.d.ts +40 -40
- package/lib/components/Form/FormError.d.ts +8 -8
- package/lib/components/Form/FormGroup.d.ts +7 -7
- package/lib/components/Form/FormHint/FormHint.d.ts +2 -2
- package/lib/components/Form/FormHint/index.d.ts +1 -1
- package/lib/components/Form/FormInput/FormInput.d.ts +29 -29
- package/lib/components/Form/FormInput/index.d.ts +1 -1
- package/lib/components/Form/FormLabel/FormLabel.d.ts +2 -2
- package/lib/components/Form/FormLabel/index.d.ts +1 -1
- package/lib/components/Form/form.interfaces.d.ts +40 -40
- package/lib/components/Form/form.models.d.ts +12 -12
- package/lib/components/Form/form.types.d.ts +2 -2
- package/lib/components/Form/index.d.ts +10 -10
- package/lib/components/Form/validators/EmailValidtor.d.ts +1 -1
- package/lib/components/Form/validators/IsEmptyValidator.d.ts +1 -1
- package/lib/components/Form/validators/IsEqualValidator.d.ts +1 -1
- package/lib/components/Form/validators/MaxValidator.d.ts +1 -1
- package/lib/components/Form/validators/MinValidator.d.ts +1 -1
- package/lib/components/Form/validators/index.d.ts +5 -5
- package/lib/components/Grid/Column/Column.d.ts +10 -10
- package/lib/components/Grid/Column/index.d.ts +1 -1
- package/lib/components/Grid/Row/Row.d.ts +5 -5
- package/lib/components/Grid/Row/index.d.ts +1 -1
- package/lib/components/Grid/index.d.ts +2 -2
- package/lib/components/Icon/Icon.d.ts +8 -8
- package/lib/components/Icon/index.d.ts +1 -1
- package/lib/components/IconButton/IconButton.d.ts +11 -11
- package/lib/components/IconButton/index.d.ts +1 -1
- package/lib/components/Link/Link.d.ts +2 -2
- package/lib/components/Link/Link.test.d.ts +1 -1
- package/lib/components/Link/index.d.ts +1 -1
- package/lib/components/List/List.d.ts +5 -5
- package/lib/components/List/ListItem.d.ts +9 -9
- package/lib/components/List/ListItemAction.d.ts +2 -2
- package/lib/components/List/ListItemAvatar.d.ts +6 -6
- package/lib/components/List/ListItemIcon.d.ts +6 -6
- package/lib/components/List/ListItemText.d.ts +8 -8
- package/lib/components/List/index.d.ts +6 -6
- package/lib/components/List/list.models.d.ts +8 -8
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +2 -2
- package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +6 -6
- package/lib/components/LoadingIndicator/index.d.ts +3 -3
- package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +12 -12
- package/lib/components/Menu/Menu.d.ts +12 -12
- package/lib/components/Menu/MenuBody.d.ts +13 -13
- package/lib/components/Menu/MenuContext.d.ts +6 -6
- package/lib/components/Menu/MenuDivider.d.ts +2 -2
- package/lib/components/Menu/MenuItem.d.ts +3 -3
- package/lib/components/Menu/MenuToggle.d.ts +6 -6
- package/lib/components/Menu/index.d.ts +6 -6
- package/lib/components/Menu/menu.types.d.ts +1 -1
- package/lib/components/Modal/GlobalModal.d.ts +21 -21
- package/lib/components/Modal/Modal.d.ts +15 -15
- package/lib/components/Modal/ModalBody.d.ts +6 -6
- package/lib/components/Modal/ModalFooter.d.ts +6 -6
- package/lib/components/Modal/ModalHeader.d.ts +8 -8
- package/lib/components/Modal/index.d.ts +8 -8
- package/lib/components/Modal/modal.enum.d.ts +10 -10
- package/lib/components/Modal/modal.interfaces.d.ts +12 -12
- package/lib/components/Modal/modal.service.d.ts +22 -22
- package/lib/components/NumberSelect/NumberSelect.d.ts +12 -12
- package/lib/components/NumberSelect/index.d.ts +1 -1
- package/lib/components/Portal/Portal.d.ts +7 -7
- package/lib/components/Portal/index.d.ts +1 -1
- package/lib/components/ProgressBar/ProgressBar.d.ts +9 -9
- package/lib/components/ProgressBar/index.d.ts +1 -1
- package/lib/components/Select/Select.d.ts +16 -16
- package/lib/components/Select/index.d.ts +1 -1
- package/lib/components/Sidebar/Sidebar.d.ts +9 -9
- package/lib/components/Sidebar/index.d.ts +2 -2
- package/lib/components/Sidebar/sidebar.interfaces.d.ts +9 -9
- package/lib/components/Sidebar/sidebar.models.d.ts +11 -11
- package/lib/components/Skeleton/SkeletonAvatar.d.ts +5 -5
- package/lib/components/Skeleton/SkeletonFooter.d.ts +5 -5
- package/lib/components/Skeleton/SkeletonImage.d.ts +5 -5
- package/lib/components/Skeleton/SkeletonText.d.ts +5 -5
- package/lib/components/Skeleton/index.d.ts +4 -4
- package/lib/components/Snackbar/Snackbar.d.ts +9 -9
- package/lib/components/Snackbar/index.d.ts +2 -2
- package/lib/components/Snackbar/snackbar.service.d.ts +20 -20
- package/lib/components/SpeedDial/SpeedDial.d.ts +7 -7
- package/lib/components/SpeedDial/SpeedDialAction.d.ts +9 -9
- package/lib/components/SpeedDial/SpeedDialActions.d.ts +2 -2
- package/lib/components/SpeedDial/SpeedDialIcon.d.ts +6 -6
- package/lib/components/SpeedDial/index.d.ts +3 -3
- package/lib/components/Stepper/Dot/Dot.d.ts +7 -7
- package/lib/components/Stepper/Dot/index.d.ts +1 -1
- package/lib/components/Stepper/Step/Step.d.ts +20 -20
- package/lib/components/Stepper/Step/index.d.ts +1 -1
- package/lib/components/Stepper/StepConnector/StepConnector.d.ts +6 -6
- package/lib/components/Stepper/StepPanel/StepPanel.d.ts +5 -5
- package/lib/components/Stepper/Stepper.d.ts +20 -20
- package/lib/components/Stepper/StepperActions/StepperActions.d.ts +14 -14
- package/lib/components/Stepper/StepperActions/index.d.ts +1 -1
- package/lib/components/Stepper/index.d.ts +4 -4
- package/lib/components/Table/Table.d.ts +8 -8
- package/lib/components/Table/TableBody.d.ts +2 -2
- package/lib/components/Table/TableCell.d.ts +5 -5
- package/lib/components/Table/TableContext.d.ts +6 -6
- package/lib/components/Table/TableHead.d.ts +2 -2
- package/lib/components/Table/TableRow.d.ts +2 -2
- package/lib/components/Table/index.d.ts +5 -5
- package/lib/components/Tabs/Tab.d.ts +13 -13
- package/lib/components/Tabs/TabContext.d.ts +8 -8
- package/lib/components/Tabs/TabIndicator.d.ts +10 -10
- package/lib/components/Tabs/TabPanel.d.ts +6 -6
- package/lib/components/Tabs/Tabs.d.ts +13 -13
- package/lib/components/Tabs/index.d.ts +3 -3
- package/lib/components/Textarea/Textarea.d.ts +5 -5
- package/lib/components/Textarea/index.d.ts +1 -1
- package/lib/components/TimeSelect/HourSelect.d.ts +10 -10
- package/lib/components/TimeSelect/MilliSecondSelect.d.ts +11 -11
- package/lib/components/TimeSelect/MinuteSelect.d.ts +10 -10
- package/lib/components/TimeSelect/SecondSelect.d.ts +10 -10
- package/lib/components/TimeSelect/TimeSelect.d.ts +20 -20
- package/lib/components/TimeSelect/index.d.ts +5 -5
- package/lib/components/Tooltip/Tooltip.d.ts +10 -10
- package/lib/components/Tooltip/index.d.ts +2 -1
- package/lib/components/Tooltip/tooltip.enums.d.ts +6 -6
- package/lib/components/TreeView/TreeItem.d.ts +14 -14
- package/lib/components/TreeView/TreeView.d.ts +2 -2
- package/lib/components/TreeView/index.d.ts +2 -2
- package/lib/components/Typography/Typography.d.ts +12 -12
- package/lib/components/Typography/index.d.ts +1 -1
- package/lib/components/component.enums.d.ts +26 -26
- package/lib/components/component.interfaces.d.ts +18 -18
- package/lib/components/index.d.ts +46 -46
- package/lib/hooks/index.d.ts +7 -7
- package/lib/hooks/useConstructor.d.ts +1 -1
- package/lib/hooks/useCssClasses.d.ts +1 -1
- package/lib/hooks/useDebounce.d.ts +2 -2
- package/lib/hooks/useHover.d.ts +2 -2
- package/lib/hooks/useMobileDetect.d.ts +3 -3
- package/lib/hooks/useOnDestroy.d.ts +1 -1
- package/lib/hooks/useWindowSize.d.ts +5 -5
- package/lib/icons/CaretDownSolidIcon.d.ts +2 -2
- package/lib/icons/CheckSolidIcon.d.ts +2 -2
- package/lib/icons/CheckSquareRegularIcon.d.ts +2 -2
- package/lib/icons/ChevronDownSolidIcon.d.ts +2 -2
- package/lib/icons/ChevronLeftSolidIcon.d.ts +2 -2
- package/lib/icons/ChevronRightSolidIcon.d.ts +2 -2
- package/lib/icons/ChevronUpSolidIcon.d.ts +2 -2
- package/lib/icons/CircleSolidIcon.d.ts +2 -2
- package/lib/icons/HomeSolidIcon.d.ts +2 -2
- package/lib/icons/PlusSolidIcon.d.ts +2 -2
- package/lib/icons/SpinnerSolidIcon.d.ts +2 -2
- package/lib/icons/SquareRegularIcon.d.ts +2 -2
- package/lib/icons/TimesCircleSolidIcon.d.ts +2 -2
- package/lib/icons/TimesSolidIcon.d.ts +2 -2
- package/lib/icons/index.d.ts +14 -14
- package/lib/index.d.ts +4 -4
- package/lib/interfaces/index.d.ts +1 -1
- package/lib/interfaces/interfaces.d.ts +3 -3
- package/package.json +9 -2
- package/vite.config.d.ts +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { SIZE } from '../component.enums';
|
|
4
|
-
import { COLOR, VARIANT } from '../component.enums';
|
|
5
|
-
export interface IAlertProps extends React.ComponentProps<'div'> {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
variant?: VARIANT;
|
|
9
|
-
color?: COLOR;
|
|
10
|
-
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
11
|
-
}
|
|
12
|
-
export declare const Alert: (props: IAlertProps) => JSX.Element;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { SIZE } from '../component.enums';
|
|
4
|
+
import { COLOR, VARIANT } from '../component.enums';
|
|
5
|
+
export interface IAlertProps extends React.ComponentProps<'div'> {
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
variant?: VARIANT;
|
|
9
|
+
color?: COLOR;
|
|
10
|
+
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
11
|
+
}
|
|
12
|
+
export declare const Alert: (props: IAlertProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Alert';
|
|
1
|
+
export * from './Alert';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { SIZE } from '../component.enums';
|
|
4
|
-
import { COLOR } from '../component.enums';
|
|
5
|
-
export interface IAppBarProps extends React.ComponentProps<'nav'> {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
color?: COLOR;
|
|
9
|
-
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
10
|
-
}
|
|
11
|
-
export declare const AppBar: (props: IAppBarProps) => JSX.Element;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { SIZE } from '../component.enums';
|
|
4
|
+
import { COLOR } from '../component.enums';
|
|
5
|
+
export interface IAppBarProps extends React.ComponentProps<'nav'> {
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
color?: COLOR;
|
|
9
|
+
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
10
|
+
}
|
|
11
|
+
export declare const AppBar: (props: IAppBarProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IAppBarTitleProps extends React.ComponentProps<'div'> {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const AppBarTitle: (props: IAppBarTitleProps) => JSX.Element;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IAppBarTitleProps extends React.ComponentProps<'div'> {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const AppBarTitle: (props: IAppBarTitleProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AppBar';
|
|
2
|
-
export * from './AppBarTitle';
|
|
1
|
+
export * from './AppBar';
|
|
2
|
+
export * from './AppBarTitle';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { ISelectOption } from '../component.interfaces';
|
|
3
|
-
export interface IAutoCompleteProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
options?: ISelectOption[];
|
|
8
|
-
value?: string;
|
|
9
|
-
openOnFocus?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
readOnly?: boolean;
|
|
13
|
-
debounce?: number;
|
|
14
|
-
showClearButton?: boolean;
|
|
15
|
-
onSelect?: (val: ISelectOption) => void;
|
|
16
|
-
onChange?: (val: string | undefined) => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ISelectOption } from '../component.interfaces';
|
|
3
|
+
export interface IAutoCompleteProps {
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
options?: ISelectOption[];
|
|
8
|
+
value?: string;
|
|
9
|
+
openOnFocus?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
debounce?: number;
|
|
14
|
+
showClearButton?: boolean;
|
|
15
|
+
onSelect?: (val: ISelectOption) => void;
|
|
16
|
+
onChange?: (val: string | undefined) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './AutoComplete';
|
|
1
|
+
export * from './AutoComplete';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IBackdropProps extends React.ComponentProps<'div'> {
|
|
3
|
-
target?: HTMLElement;
|
|
4
|
-
isTransparent?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const Backdrop: (props: IBackdropProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IBackdropProps extends React.ComponentProps<'div'> {
|
|
3
|
+
target?: HTMLElement;
|
|
4
|
+
isTransparent?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const Backdrop: (props: IBackdropProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Backdrop';
|
|
1
|
+
export * from './Backdrop';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR } from '../component.enums';
|
|
3
|
-
export interface IBadgeProps
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
content?: React.ReactNode;
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { COLOR } from '../component.enums';
|
|
3
|
+
export interface IBadgeProps {
|
|
4
|
+
color?: COLOR;
|
|
5
|
+
content?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const Badge: (props: IBadgeProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Badge';
|
|
1
|
+
export * from './Badge';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IBreadcrumbProps extends React.ComponentProps<'nav'> {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
export declare const Breadcrumb: (props: IBreadcrumbProps) => JSX.Element;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IBreadcrumbProps extends React.ComponentProps<'nav'> {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const Breadcrumb: (props: IBreadcrumbProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IBreadcrumbItemProps extends React.ComponentProps<'li'> {
|
|
3
|
-
isActive?: boolean;
|
|
4
|
-
path?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const BreadcrumbItem: (props: IBreadcrumbItemProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IBreadcrumbItemProps extends React.ComponentProps<'li'> {
|
|
3
|
+
isActive?: boolean;
|
|
4
|
+
path?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const BreadcrumbItem: (props: IBreadcrumbItemProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Breadcrumb';
|
|
2
|
-
export * from './BreadcrumbItem';
|
|
1
|
+
export * from './Breadcrumb';
|
|
2
|
+
export * from './BreadcrumbItem';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR, VARIANT } from '../component.enums';
|
|
3
|
-
export interface IButtonProps extends React.ComponentProps<'button'> {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
isActive?: boolean;
|
|
6
|
-
isRounded?: boolean;
|
|
7
|
-
variant?: VARIANT;
|
|
8
|
-
startIcon?: React.ReactNode;
|
|
9
|
-
endIcon?: React.ReactNode;
|
|
10
|
-
shadow?: boolean;
|
|
11
|
-
block?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const Button: React.FunctionComponent<IButtonProps>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { COLOR, VARIANT } from '../component.enums';
|
|
3
|
+
export interface IButtonProps extends React.ComponentProps<'button'> {
|
|
4
|
+
color?: COLOR;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
isRounded?: boolean;
|
|
7
|
+
variant?: VARIANT;
|
|
8
|
+
startIcon?: React.ReactNode;
|
|
9
|
+
endIcon?: React.ReactNode;
|
|
10
|
+
shadow?: boolean;
|
|
11
|
+
block?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const Button: React.FunctionComponent<IButtonProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { COLOR } from '../component.enums';
|
|
3
|
-
export interface IButtonContext {
|
|
4
|
-
color: COLOR | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const ButtonContext: React.Context<IButtonContext>;
|
|
7
|
-
export declare const useButtonContext: () => IButtonContext;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { COLOR } from '../component.enums';
|
|
3
|
+
export interface IButtonContext {
|
|
4
|
+
color: COLOR | null;
|
|
5
|
+
}
|
|
6
|
+
export declare const ButtonContext: React.Context<IButtonContext>;
|
|
7
|
+
export declare const useButtonContext: () => IButtonContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './ButtonContext';
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './ButtonContext';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { COLOR } from '../component.enums';
|
|
3
|
-
export interface IButtonGroupProps extends React.ComponentProps<'div'> {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
}
|
|
6
|
-
export declare const ButtonGroup: (props: IButtonGroupProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { COLOR } from '../component.enums';
|
|
3
|
+
export interface IButtonGroupProps extends React.ComponentProps<'div'> {
|
|
4
|
+
color?: COLOR;
|
|
5
|
+
}
|
|
6
|
+
export declare const ButtonGroup: (props: IButtonGroupProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ButtonGroup';
|
|
1
|
+
export * from './ButtonGroup';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ICardProps extends React.ComponentProps<'div'> {
|
|
3
|
-
shadow?: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const Card: (props: ICardProps) => JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ICardProps extends React.ComponentProps<'div'> {
|
|
3
|
+
shadow?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const Card: (props: ICardProps) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const CardBody: (props: React.ComponentProps<'div'>) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CardBody: (props: React.ComponentProps<'div'>) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const CardFooter: (props: React.ComponentProps<'div'>) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CardFooter: (props: React.ComponentProps<'div'>) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const CardImage: (props: React.ComponentProps<'img'>) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CardImage: (props: React.ComponentProps<'img'>) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const CardSubtitle: (props: React.ComponentProps<'div'>) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CardSubtitle: (props: React.ComponentProps<'div'>) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const CardText: (props: React.ComponentProps<'p'>) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CardText: (props: React.ComponentProps<'p'>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ICardTitleProps extends React.ComponentProps<'div'> {
|
|
3
|
-
as?: any;
|
|
4
|
-
}
|
|
5
|
-
export declare const CardTitle: (props: ICardTitleProps) => JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ICardTitleProps extends React.ComponentProps<'div'> {
|
|
3
|
+
as?: any;
|
|
4
|
+
}
|
|
5
|
+
export declare const CardTitle: (props: ICardTitleProps) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './Card';
|
|
2
|
-
export * from './CardBody';
|
|
3
|
-
export * from './CardFooter';
|
|
4
|
-
export * from './CardSubtitle';
|
|
5
|
-
export * from './CardText';
|
|
6
|
-
export * from './CardTitle';
|
|
7
|
-
export * from './CardImage';
|
|
1
|
+
export * from './Card';
|
|
2
|
+
export * from './CardBody';
|
|
3
|
+
export * from './CardFooter';
|
|
4
|
+
export * from './CardSubtitle';
|
|
5
|
+
export * from './CardText';
|
|
6
|
+
export * from './CardTitle';
|
|
7
|
+
export * from './CardImage';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ICheckboxProps extends React.ComponentProps<'input'> {
|
|
3
|
-
label?: string;
|
|
4
|
-
value?: string;
|
|
5
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const Checkbox: (props: ICheckboxProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ICheckboxProps extends React.ComponentProps<'input'> {
|
|
3
|
+
label?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const Checkbox: (props: ICheckboxProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
1
|
+
export * from './Checkbox';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { COLOR } from '../component.enums';
|
|
3
|
-
export interface IChipProps extends React.ComponentProps<'div'> {
|
|
4
|
-
color?: COLOR;
|
|
5
|
-
shadow?: boolean;
|
|
6
|
-
onClick?: (e: React.MouseEvent<Element>) => void;
|
|
7
|
-
isDeletable?: boolean;
|
|
8
|
-
onDelete?: (e: React.MouseEvent<Element>) => void;
|
|
9
|
-
deleteIcon?: JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export declare const Chip: (props: IChipProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { COLOR } from '../component.enums';
|
|
3
|
+
export interface IChipProps extends React.ComponentProps<'div'> {
|
|
4
|
+
color?: COLOR;
|
|
5
|
+
shadow?: boolean;
|
|
6
|
+
onClick?: (e: React.MouseEvent<Element>) => void;
|
|
7
|
+
isDeletable?: boolean;
|
|
8
|
+
onDelete?: (e: React.MouseEvent<Element>) => void;
|
|
9
|
+
deleteIcon?: JSX.Element;
|
|
10
|
+
}
|
|
11
|
+
export declare const Chip: (props: IChipProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Chip';
|
|
1
|
+
export * from './Chip';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
interface IConditionalWrapperProps {
|
|
3
|
-
condition: boolean;
|
|
4
|
-
wrapper: (children: React.ReactNode) => JSX.Element;
|
|
5
|
-
children: any;
|
|
6
|
-
}
|
|
7
|
-
export declare const ConditionalWrapper: ({ condition, wrapper, children }: IConditionalWrapperProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
interface IConditionalWrapperProps {
|
|
3
|
+
condition: boolean;
|
|
4
|
+
wrapper: (children: React.ReactNode) => JSX.Element;
|
|
5
|
+
children: any;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConditionalWrapper: ({ condition, wrapper, children }: IConditionalWrapperProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ConditionalWrapper';
|
|
1
|
+
export * from './ConditionalWrapper';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ICssTransitionProps {
|
|
3
|
-
className: string;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
show: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const CssTransition: (props: ICssTransitionProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ICssTransitionProps {
|
|
3
|
+
className: string;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
show: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const CssTransition: (props: ICssTransitionProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './CssTransition';
|
|
1
|
+
export * from './CssTransition';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import 'react-calendar/dist/Calendar.css';
|
|
3
|
-
export interface IDatePickerProps {
|
|
4
|
-
value?: Date;
|
|
5
|
-
selectRange?: boolean;
|
|
6
|
-
minDate?: Date;
|
|
7
|
-
maxDate?: Date;
|
|
8
|
-
onChange?: (val: Date) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const DatePicker: (props: IDatePickerProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import 'react-calendar/dist/Calendar.css';
|
|
3
|
+
export interface IDatePickerProps {
|
|
4
|
+
value?: Date;
|
|
5
|
+
selectRange?: boolean;
|
|
6
|
+
minDate?: Date;
|
|
7
|
+
maxDate?: Date;
|
|
8
|
+
onChange?: (val: Date) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const DatePicker: (props: IDatePickerProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './DatePicker';
|
|
1
|
+
export * from './DatePicker';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare enum DATEMODE {
|
|
3
|
-
YEAR = 0,
|
|
4
|
-
MONTH = 1,
|
|
5
|
-
DAY = 2
|
|
6
|
-
}
|
|
7
|
-
export interface IDateSelectProps {
|
|
8
|
-
value?: Date;
|
|
9
|
-
className?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
yearConfig?: {
|
|
12
|
-
from?: number;
|
|
13
|
-
to?: number;
|
|
14
|
-
};
|
|
15
|
-
onChange?: (val: Date) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const DateSelect: (props: IDateSelectProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare enum DATEMODE {
|
|
3
|
+
YEAR = 0,
|
|
4
|
+
MONTH = 1,
|
|
5
|
+
DAY = 2
|
|
6
|
+
}
|
|
7
|
+
export interface IDateSelectProps {
|
|
8
|
+
value?: Date;
|
|
9
|
+
className?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
yearConfig?: {
|
|
12
|
+
from?: number;
|
|
13
|
+
to?: number;
|
|
14
|
+
};
|
|
15
|
+
onChange?: (val: Date) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const DateSelect: (props: IDateSelectProps) => JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IDaySelectProps {
|
|
3
|
-
day?: number;
|
|
4
|
-
month?: number;
|
|
5
|
-
year?: number;
|
|
6
|
-
className?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onChange?: (val: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const DaySelect: (props: IDaySelectProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IDaySelectProps {
|
|
3
|
+
day?: number;
|
|
4
|
+
month?: number;
|
|
5
|
+
year?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onChange?: (val: number) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const DaySelect: (props: IDaySelectProps) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IMonthProps {
|
|
3
|
-
value?: number;
|
|
4
|
-
className?: string;
|
|
5
|
-
id?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
onChange?: (val: number) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const MonthSelect: (props: IMonthProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IMonthProps {
|
|
3
|
+
value?: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
onChange?: (val: number) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const MonthSelect: (props: IMonthProps) => JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface IYearProps {
|
|
3
|
-
from?: number;
|
|
4
|
-
to?: number;
|
|
5
|
-
value?: number;
|
|
6
|
-
className?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
onChange?: (val: number) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const YearSelect: (props: IYearProps) => JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IYearProps {
|
|
3
|
+
from?: number;
|
|
4
|
+
to?: number;
|
|
5
|
+
value?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onChange?: (val: number) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const YearSelect: (props: IYearProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './DateSelect';
|
|
2
|
-
export * from './YearSelect';
|
|
3
|
-
export * from './DaySelect';
|
|
4
|
-
export * from './MonthSelect';
|
|
1
|
+
export * from './DateSelect';
|
|
2
|
+
export * from './YearSelect';
|
|
3
|
+
export * from './DaySelect';
|
|
4
|
+
export * from './MonthSelect';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IDrawerProps extends React.ComponentProps<'div'> {
|
|
3
|
-
position?: 'left' | 'right';
|
|
4
|
-
shadow?: boolean;
|
|
5
|
-
onClickBackdrop?: () => void;
|
|
6
|
-
permanent?: boolean;
|
|
7
|
-
target?: HTMLElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const Drawer: (props: IDrawerProps) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IDrawerProps extends React.ComponentProps<'div'> {
|
|
3
|
+
position?: 'left' | 'right';
|
|
4
|
+
shadow?: boolean;
|
|
5
|
+
onClickBackdrop?: () => void;
|
|
6
|
+
permanent?: boolean;
|
|
7
|
+
target?: HTMLElement;
|
|
8
|
+
}
|
|
9
|
+
export declare const Drawer: (props: IDrawerProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Drawer';
|
|
1
|
+
export * from './Drawer';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface IExpansionPanelProps {
|
|
4
|
-
header: ReactNode;
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
isExpanded?: boolean;
|
|
7
|
-
shadow?: boolean;
|
|
8
|
-
onChange?: (event: React.MouseEvent, isExpanded: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const ExpansionPanel: (props: IExpansionPanelProps) => JSX.Element;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IExpansionPanelProps {
|
|
4
|
+
header: ReactNode;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
isExpanded?: boolean;
|
|
7
|
+
shadow?: boolean;
|
|
8
|
+
onChange?: (event: React.MouseEvent, isExpanded: boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const ExpansionPanel: (props: IExpansionPanelProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export interface IExpansionPanelContentProps {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare const ExpansionPanelContent: ({ children }: IExpansionPanelContentProps) => JSX.Element;
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface IExpansionPanelContentProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const ExpansionPanelContent: ({ children }: IExpansionPanelContentProps) => JSX.Element;
|