react-asc 25.19.0 → 26.1.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/components/Alert/Alert.d.ts +10 -0
- package/components/AppBar/AppBar.d.ts +9 -0
- package/{lib/components → components}/AppBar/AppBarTitle.d.ts +2 -3
- package/{lib/components → components}/AutoComplete/AutoComplete.d.ts +3 -2
- package/{lib/components → components}/Backdrop/Backdrop.d.ts +2 -2
- package/{lib/components → components}/Badge/Badge.d.ts +2 -2
- package/components/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/{lib/components → components}/Breadcrumb/BreadcrumbItem.d.ts +2 -2
- package/{lib/components → components}/Button/Button.d.ts +1 -1
- package/{lib/components → components}/Button/ButtonContext.d.ts +1 -1
- package/{lib/components → components}/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/components/Card/Card.d.ts +6 -0
- package/components/Card/CardBody.d.ts +2 -0
- package/components/Card/CardFooter.d.ts +2 -0
- package/components/Card/CardImage.d.ts +2 -0
- package/components/Card/CardSubtitle.d.ts +2 -0
- package/components/Card/CardText.d.ts +2 -0
- package/components/Card/CardTitle.d.ts +6 -0
- package/{lib/components → components}/Checkbox/Checkbox.d.ts +2 -2
- package/{lib/components → components}/Chip/Chip.d.ts +4 -4
- package/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
- package/{lib/components → components}/CssTransition/CssTransition.d.ts +2 -2
- package/{lib/components → components}/DatePicker/DatePicker.d.ts +3 -2
- package/{lib/components → components}/DateSelect/DateSelect.d.ts +1 -1
- package/{lib/components → components}/DateSelect/DaySelect.d.ts +1 -1
- package/{lib/components → components}/DateSelect/MonthSelect.d.ts +1 -1
- package/{lib/components → components}/DateSelect/YearSelect.d.ts +1 -1
- package/{lib/components → components}/Drawer/Drawer.d.ts +2 -2
- package/{lib/components → components}/ExpansionPanel/ExpansionPanel.d.ts +3 -4
- package/{lib/components → components}/ExpansionPanel/ExpansionPanelContent.d.ts +2 -2
- package/{lib/components → components}/ExpansionPanel/ExpansionPanelHeader.d.ts +2 -3
- package/{lib/components → components}/FileInput/FileInput.d.ts +2 -2
- package/{lib/components → components}/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/{lib/components → components}/Form/Form.d.ts +5 -5
- package/components/Form/FormError.d.ts +7 -0
- package/components/Form/FormGroup.d.ts +7 -0
- package/components/Form/FormHint/FormHint.d.ts +2 -0
- package/{lib/components → components}/Form/FormInput/FormInput.d.ts +4 -4
- package/components/Form/FormLabel/FormLabel.d.ts +2 -0
- package/{lib/components → components}/Form/form.interfaces.d.ts +1 -1
- package/{lib/components → components}/Form/form.models.d.ts +2 -2
- package/components/Grid/Column/Column.d.ts +7 -0
- package/{lib/components → components}/Grid/Row/Row.d.ts +2 -2
- package/components/Icon/Icon.d.ts +7 -0
- package/{lib/components → components}/IconButton/IconButton.d.ts +2 -2
- package/{lib/components → components}/Link/Link.d.ts +2 -2
- package/components/List/List.d.ts +5 -0
- package/{lib/components → components}/List/ListItem.d.ts +3 -3
- package/components/List/ListItemAction.d.ts +2 -0
- package/{lib/components → components}/List/ListItemAvatar.d.ts +2 -2
- package/{lib/components → components}/List/ListItemIcon.d.ts +2 -2
- package/{lib/components → components}/List/ListItemText.d.ts +2 -3
- package/{lib/components → components}/List/list.models.d.ts +2 -2
- package/components/LoadingIndicator/LoadingIndicator.d.ts +2 -0
- package/{lib/components → components}/LoadingIndicator/LoadingIndicatorContainer.d.ts +2 -2
- package/{lib/components → components}/Menu/Menu.d.ts +4 -5
- package/components/Menu/MenuBody.d.ts +12 -0
- package/{lib/components → components}/Menu/MenuContext.d.ts +1 -1
- package/components/Menu/MenuDivider.d.ts +1 -0
- package/components/Menu/MenuItem.d.ts +3 -0
- package/{lib/components → components}/Menu/MenuToggle.d.ts +1 -1
- package/{lib/components → components}/Modal/GlobalModal.d.ts +4 -4
- package/{lib/components → components}/Modal/Modal.d.ts +3 -3
- package/{lib/components → components}/Modal/ModalBody.d.ts +2 -2
- package/{lib/components → components}/Modal/ModalFooter.d.ts +2 -2
- package/{lib/components → components}/Modal/ModalHeader.d.ts +2 -2
- package/{lib/components → components}/Modal/modal.interfaces.d.ts +2 -2
- package/{lib/components → components}/Modal/modal.service.d.ts +4 -4
- package/{lib/components → components}/NumberSelect/NumberSelect.d.ts +1 -1
- package/{lib/components → components}/Portal/Portal.d.ts +1 -1
- package/{lib/components → components}/ProgressBar/ProgressBar.d.ts +2 -2
- package/{lib/components → components}/Select/Select.d.ts +3 -3
- package/components/Sidebar/Sidebar.d.ts +9 -0
- package/{lib/components → components}/Skeleton/SkeletonAvatar.d.ts +2 -2
- package/{lib/components → components}/Skeleton/SkeletonFooter.d.ts +2 -2
- package/{lib/components → components}/Skeleton/SkeletonImage.d.ts +2 -2
- package/{lib/components → components}/Skeleton/SkeletonText.d.ts +2 -2
- package/{lib/components → components}/Snackbar/Snackbar.d.ts +2 -3
- package/{lib/components → components}/Snackbar/snackbar.service.d.ts +1 -1
- package/{lib/components → components}/SpeedDial/SpeedDial.d.ts +2 -2
- package/{lib/components → components}/SpeedDial/SpeedDialAction.d.ts +2 -2
- package/components/SpeedDial/SpeedDialActions.d.ts +2 -0
- package/{lib/components → components}/SpeedDial/SpeedDialIcon.d.ts +2 -3
- package/{lib/components → components}/Stepper/Dot/Dot.d.ts +2 -2
- package/{lib/components → components}/Stepper/Step/Step.d.ts +2 -3
- package/{lib/components → components}/Stepper/StepConnector/StepConnector.d.ts +1 -1
- package/components/Stepper/StepPanel/StepPanel.d.ts +5 -0
- package/{lib/components → components}/Stepper/Stepper.d.ts +3 -3
- package/{lib/components → components}/Stepper/StepperActions/StepperActions.d.ts +1 -1
- package/{lib/components → components}/Table/Table.d.ts +2 -2
- package/components/Table/TableBody.d.ts +2 -0
- package/{lib/components → components}/Table/TableCell.d.ts +2 -2
- package/{lib/components → components}/Table/TableContext.d.ts +1 -1
- package/components/Table/TableHead.d.ts +2 -0
- package/components/Table/TableRow.d.ts +2 -0
- package/{lib/components → components}/Tabs/Tab.d.ts +2 -3
- package/{lib/components → components}/Tabs/TabContext.d.ts +1 -1
- package/{lib/components → components}/Tabs/TabIndicator.d.ts +2 -2
- package/{lib/components → components}/Tabs/TabPanel.d.ts +2 -2
- package/{lib/components → components}/Tabs/Tabs.d.ts +3 -3
- package/components/Textarea/Textarea.d.ts +5 -0
- package/{lib/components → components}/TimeSelect/HourSelect.d.ts +1 -1
- package/{lib/components → components}/TimeSelect/MilliSecondSelect.d.ts +1 -1
- package/{lib/components → components}/TimeSelect/MinuteSelect.d.ts +1 -1
- package/{lib/components → components}/TimeSelect/SecondSelect.d.ts +1 -1
- package/{lib/components → components}/TimeSelect/TimeSelect.d.ts +1 -1
- package/{lib/components → components}/Tooltip/Tooltip.d.ts +2 -2
- package/{lib/components → components}/TreeView/TreeItem.d.ts +2 -2
- package/components/TreeView/TreeView.d.ts +2 -0
- package/{lib/components → components}/Typography/Typography.d.ts +2 -2
- package/{lib/hooks → hooks}/useDebounce.d.ts +1 -1
- package/hooks/useHover.d.ts +1 -0
- package/icons/CaretDownSolidIcon.d.ts +1 -0
- package/icons/CheckSolidIcon.d.ts +1 -0
- package/icons/CheckSquareRegularIcon.d.ts +1 -0
- package/icons/ChevronDownSolidIcon.d.ts +1 -0
- package/icons/ChevronLeftSolidIcon.d.ts +1 -0
- package/icons/ChevronRightSolidIcon.d.ts +1 -0
- package/icons/ChevronUpSolidIcon.d.ts +1 -0
- package/icons/CircleSolidIcon.d.ts +1 -0
- package/icons/HomeSolidIcon.d.ts +1 -0
- package/icons/PlusSolidIcon.d.ts +1 -0
- package/icons/SpinnerSolidIcon.d.ts +1 -0
- package/icons/SquareRegularIcon.d.ts +1 -0
- package/icons/TimesCircleSolidIcon.d.ts +1 -0
- package/icons/TimesSolidIcon.d.ts +1 -0
- package/index.cjs.js +21 -0
- package/index.d.ts +7 -1148
- package/index.es.d.ts +1 -0
- package/index.es.js +3213 -5556
- package/index.umd.js +21 -0
- package/package.json +5 -7
- package/readme.md +19 -20
- package/{lib/typings → typings}/array-extension.d.ts +1 -1
- package/{lib/typings → typings}/date-extension.d.ts +1 -1
- package/vite.config.d.ts +1 -1
- package/index.js +0 -5721
- package/lib/components/Alert/Alert.d.ts +0 -12
- package/lib/components/AppBar/AppBar.d.ts +0 -11
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +0 -6
- package/lib/components/Card/Card.d.ts +0 -6
- package/lib/components/Card/CardBody.d.ts +0 -2
- package/lib/components/Card/CardFooter.d.ts +0 -2
- package/lib/components/Card/CardImage.d.ts +0 -2
- package/lib/components/Card/CardSubtitle.d.ts +0 -2
- package/lib/components/Card/CardText.d.ts +0 -2
- package/lib/components/Card/CardTitle.d.ts +0 -6
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -8
- package/lib/components/Form/FormError.d.ts +0 -7
- package/lib/components/Form/FormGroup.d.ts +0 -7
- package/lib/components/Form/FormHint/FormHint.d.ts +0 -2
- package/lib/components/Form/FormLabel/FormLabel.d.ts +0 -2
- package/lib/components/Grid/Column/Column.d.ts +0 -7
- package/lib/components/Icon/Icon.d.ts +0 -8
- package/lib/components/List/List.d.ts +0 -5
- package/lib/components/List/ListItemAction.d.ts +0 -2
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +0 -2
- package/lib/components/Menu/MenuBody.d.ts +0 -13
- package/lib/components/Menu/MenuDivider.d.ts +0 -1
- package/lib/components/Menu/MenuItem.d.ts +0 -2
- package/lib/components/Sidebar/Sidebar.d.ts +0 -9
- package/lib/components/SpeedDial/SpeedDialActions.d.ts +0 -2
- package/lib/components/Stepper/StepPanel/StepPanel.d.ts +0 -5
- package/lib/components/Table/TableBody.d.ts +0 -2
- package/lib/components/Table/TableHead.d.ts +0 -2
- package/lib/components/Table/TableRow.d.ts +0 -2
- package/lib/components/Textarea/Textarea.d.ts +0 -5
- package/lib/components/TreeView/TreeView.d.ts +0 -2
- package/lib/hooks/useHover.d.ts +0 -1
- package/lib/icons/CaretDownSolidIcon.d.ts +0 -1
- package/lib/icons/CheckSolidIcon.d.ts +0 -1
- package/lib/icons/CheckSquareRegularIcon.d.ts +0 -1
- package/lib/icons/ChevronDownSolidIcon.d.ts +0 -1
- package/lib/icons/ChevronLeftSolidIcon.d.ts +0 -1
- package/lib/icons/ChevronRightSolidIcon.d.ts +0 -1
- package/lib/icons/ChevronUpSolidIcon.d.ts +0 -1
- package/lib/icons/CircleSolidIcon.d.ts +0 -1
- package/lib/icons/HomeSolidIcon.d.ts +0 -1
- package/lib/icons/PlusSolidIcon.d.ts +0 -1
- package/lib/icons/SpinnerSolidIcon.d.ts +0 -1
- package/lib/icons/SquareRegularIcon.d.ts +0 -1
- package/lib/icons/TimesCircleSolidIcon.d.ts +0 -1
- package/lib/icons/TimesSolidIcon.d.ts +0 -1
- package/lib/index.d.ts +0 -8
- package/lib/services/clipboard.service.d.ts +0 -5
- package/lib/services/file.service.d.ts +0 -14
- package/lib/services/index.d.ts +0 -4
- package/lib/services/local.service.d.ts +0 -10
- package/lib/services/logger.service.d.ts +0 -25
- package/react-asc.scss +0 -382
- /package/{lib/components → components}/Alert/index.d.ts +0 -0
- /package/{lib/components → components}/AppBar/index.d.ts +0 -0
- /package/{lib/components → components}/AutoComplete/index.d.ts +0 -0
- /package/{lib/components → components}/Backdrop/index.d.ts +0 -0
- /package/{lib/components → components}/Badge/index.d.ts +0 -0
- /package/{lib/components → components}/Breadcrumb/index.d.ts +0 -0
- /package/{lib/components → components}/Button/index.d.ts +0 -0
- /package/{lib/components → components}/ButtonGroup/index.d.ts +0 -0
- /package/{lib/components → components}/Card/index.d.ts +0 -0
- /package/{lib/components → components}/Checkbox/index.d.ts +0 -0
- /package/{lib/components → components}/Chip/index.d.ts +0 -0
- /package/{lib/components → components}/ConditionalWrapper/index.d.ts +0 -0
- /package/{lib/components → components}/CssTransition/index.d.ts +0 -0
- /package/{lib/components → components}/DatePicker/index.d.ts +0 -0
- /package/{lib/components → components}/DateSelect/index.d.ts +0 -0
- /package/{lib/components → components}/Drawer/index.d.ts +0 -0
- /package/{lib/components → components}/ExpansionPanel/index.d.ts +0 -0
- /package/{lib/components → components}/FileInput/index.d.ts +0 -0
- /package/{lib/components → components}/FloatingActionButton/index.d.ts +0 -0
- /package/{lib/components → components}/Form/FormHint/index.d.ts +0 -0
- /package/{lib/components → components}/Form/FormInput/index.d.ts +0 -0
- /package/{lib/components → components}/Form/FormLabel/index.d.ts +0 -0
- /package/{lib/components → components}/Form/form.types.d.ts +0 -0
- /package/{lib/components → components}/Form/index.d.ts +0 -0
- /package/{lib/components → components}/Form/validators/EmailValidtor.d.ts +0 -0
- /package/{lib/components → components}/Form/validators/IsEmptyValidator.d.ts +0 -0
- /package/{lib/components → components}/Form/validators/IsEqualValidator.d.ts +0 -0
- /package/{lib/components → components}/Form/validators/MaxValidator.d.ts +0 -0
- /package/{lib/components → components}/Form/validators/MinValidator.d.ts +0 -0
- /package/{lib/components → components}/Form/validators/index.d.ts +0 -0
- /package/{lib/components → components}/Grid/Column/column.types.d.ts +0 -0
- /package/{lib/components → components}/Grid/Column/index.d.ts +0 -0
- /package/{lib/components → components}/Grid/Row/index.d.ts +0 -0
- /package/{lib/components → components}/Grid/index.d.ts +0 -0
- /package/{lib/components → components}/Icon/index.d.ts +0 -0
- /package/{lib/components → components}/IconButton/index.d.ts +0 -0
- /package/{lib/components → components}/Link/Link.test.d.ts +0 -0
- /package/{lib/components → components}/Link/index.d.ts +0 -0
- /package/{lib/components → components}/List/index.d.ts +0 -0
- /package/{lib/components → components}/LoadingIndicator/index.d.ts +0 -0
- /package/{lib/components → components}/LoadingIndicator/loading-indicator.service.d.ts +0 -0
- /package/{lib/components → components}/Menu/index.d.ts +0 -0
- /package/{lib/components → components}/Menu/menu.types.d.ts +0 -0
- /package/{lib/components → components}/Modal/index.d.ts +0 -0
- /package/{lib/components → components}/Modal/modal.enum.d.ts +0 -0
- /package/{lib/components → components}/NumberSelect/index.d.ts +0 -0
- /package/{lib/components → components}/Portal/index.d.ts +0 -0
- /package/{lib/components → components}/ProgressBar/index.d.ts +0 -0
- /package/{lib/components → components}/Select/index.d.ts +0 -0
- /package/{lib/components → components}/Sidebar/index.d.ts +0 -0
- /package/{lib/components → components}/Sidebar/sidebar.interfaces.d.ts +0 -0
- /package/{lib/components → components}/Sidebar/sidebar.models.d.ts +0 -0
- /package/{lib/components → components}/Skeleton/index.d.ts +0 -0
- /package/{lib/components → components}/Snackbar/index.d.ts +0 -0
- /package/{lib/components → components}/SpeedDial/index.d.ts +0 -0
- /package/{lib/components → components}/Stepper/Dot/index.d.ts +0 -0
- /package/{lib/components → components}/Stepper/Step/index.d.ts +0 -0
- /package/{lib/components → components}/Stepper/StepperActions/index.d.ts +0 -0
- /package/{lib/components → components}/Stepper/index.d.ts +0 -0
- /package/{lib/components → components}/Table/index.d.ts +0 -0
- /package/{lib/components → components}/Tabs/index.d.ts +0 -0
- /package/{lib/components → components}/Textarea/index.d.ts +0 -0
- /package/{lib/components → components}/TimeSelect/index.d.ts +0 -0
- /package/{lib/components → components}/Tooltip/index.d.ts +0 -0
- /package/{lib/components → components}/Tooltip/tooltip.enums.d.ts +0 -0
- /package/{lib/components → components}/TreeView/index.d.ts +0 -0
- /package/{lib/components → components}/Typography/index.d.ts +0 -0
- /package/{lib/components → components}/component.interfaces.d.ts +0 -0
- /package/{lib/components → components}/index.d.ts +0 -0
- /package/{lib/enums → enums}/color.enum.d.ts +0 -0
- /package/{lib/enums → enums}/index.d.ts +0 -0
- /package/{lib/enums → enums}/position.enum.d.ts +0 -0
- /package/{lib/enums → enums}/screensize.enum.d.ts +0 -0
- /package/{lib/enums → enums}/size.enum.d.ts +0 -0
- /package/{lib/enums → enums}/status.enum.d.ts +0 -0
- /package/{lib/enums → enums}/variant.enum.d.ts +0 -0
- /package/{lib/helpers → helpers}/index.d.ts +0 -0
- /package/{lib/helpers → helpers}/sort.helper.d.ts +0 -0
- /package/{lib/hooks → hooks}/index.d.ts +0 -0
- /package/{lib/hooks → hooks}/useConstructor.d.ts +0 -0
- /package/{lib/hooks → hooks}/useCssClasses.d.ts +0 -0
- /package/{lib/hooks → hooks}/useMobileDetect.d.ts +0 -0
- /package/{lib/hooks → hooks}/useOnDestroy.d.ts +0 -0
- /package/{lib/hooks → hooks}/usePrevious.d.ts +0 -0
- /package/{lib/hooks → hooks}/useScreenSizeDetect.d.ts +0 -0
- /package/{lib/hooks → hooks}/useWindowSize.d.ts +0 -0
- /package/{lib/icons → icons}/index.d.ts +0 -0
- /package/{lib/interfaces → interfaces}/index.d.ts +0 -0
- /package/{lib/interfaces → interfaces}/interfaces.d.ts +0 -0
- /package/{lib/types → types}/index.d.ts +0 -0
- /package/{lib/types → types}/nullable.type.d.ts +0 -0
- /package/{lib/typings → typings}/index.d.ts +0 -0
- /package/{lib/typings → typings}/string-extensions.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode, default as React } from 'react';
|
|
2
|
+
import { SIZE, Color, VARIANT } from '../../enums';
|
|
3
|
+
export interface IAlertProps extends React.ComponentProps<'div'> {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
variant?: VARIANT;
|
|
7
|
+
color?: Color;
|
|
8
|
+
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
9
|
+
}
|
|
10
|
+
export declare const Alert: (props: IAlertProps) => React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode, default as React } from 'react';
|
|
2
|
+
import { SIZE, Color } from '../../enums';
|
|
3
|
+
export interface IAppBarProps extends React.ComponentProps<'nav'> {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
color?: Color;
|
|
7
|
+
shadow?: boolean | SIZE.sm | SIZE.md | SIZE.lg;
|
|
8
|
+
}
|
|
9
|
+
export declare const AppBar: (props: IAppBarProps) => React.JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
3
2
|
export interface IAppBarTitleProps extends React.ComponentProps<'div'> {
|
|
4
3
|
children?: ReactNode;
|
|
5
4
|
}
|
|
6
|
-
export declare const AppBarTitle: (props: IAppBarTitleProps) => JSX.Element;
|
|
5
|
+
export declare const AppBarTitle: (props: IAppBarTitleProps) => React.JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ISelectOption } from '../component.interfaces';
|
|
2
3
|
export interface IAutoCompleteProps {
|
|
3
4
|
id?: string;
|
|
4
5
|
name?: string;
|
|
@@ -14,4 +15,4 @@ export interface IAutoCompleteProps {
|
|
|
14
15
|
onSelect?: (val: ISelectOption) => void;
|
|
15
16
|
onChange?: (val: string | undefined) => void;
|
|
16
17
|
}
|
|
17
|
-
export declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
|
|
18
|
+
export declare const AutoComplete: (props: IAutoCompleteProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface IBackdropProps extends React.ComponentProps<'div'> {
|
|
3
3
|
target?: HTMLElement;
|
|
4
4
|
isTransparent?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const Backdrop: (props: IBackdropProps) => JSX.Element;
|
|
6
|
+
export declare const Backdrop: (props: IBackdropProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Color } from '../../enums';
|
|
3
3
|
export interface IBadgeProps {
|
|
4
4
|
color?: Color;
|
|
@@ -6,4 +6,4 @@ export interface IBadgeProps {
|
|
|
6
6
|
className?: string;
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
|
-
export declare const Badge: (props: IBadgeProps) => JSX.Element;
|
|
9
|
+
export declare const Badge: (props: IBadgeProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface IBreadcrumbItemProps extends React.ComponentProps<'li'> {
|
|
3
3
|
isActive?: boolean;
|
|
4
4
|
path?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const BreadcrumbItem: (props: IBreadcrumbItemProps) => JSX.Element;
|
|
6
|
+
export declare const BreadcrumbItem: (props: IBreadcrumbItemProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Color } from '../../enums';
|
|
3
3
|
export interface IButtonGroupProps extends React.ComponentProps<'div'> {
|
|
4
4
|
color?: Color;
|
|
5
5
|
}
|
|
6
|
-
export declare const ButtonGroup: (props: IButtonGroupProps) => JSX.Element;
|
|
6
|
+
export declare const ButtonGroup: (props: IButtonGroupProps) => React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface ICheckboxProps extends React.ComponentProps<'input'> {
|
|
3
3
|
label?: string;
|
|
4
4
|
value?: string;
|
|
5
5
|
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const Checkbox: (props: ICheckboxProps) => JSX.Element;
|
|
7
|
+
export declare const Checkbox: (props: ICheckboxProps) => React.JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Color } from '../../enums';
|
|
3
3
|
export interface IChipProps extends React.ComponentProps<'div'> {
|
|
4
4
|
color?: Color;
|
|
5
5
|
shadow?: boolean;
|
|
6
6
|
onClick?: (e: React.MouseEvent<Element>) => void;
|
|
7
7
|
isDeletable?: boolean;
|
|
8
8
|
onDelete?: (e: React.MouseEvent<Element>) => void;
|
|
9
|
-
deleteIcon?: JSX.Element;
|
|
9
|
+
deleteIcon?: React.JSX.Element;
|
|
10
10
|
}
|
|
11
|
-
export declare const Chip: (props: IChipProps) => JSX.Element;
|
|
11
|
+
export declare const Chip: (props: IChipProps) => React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IConditionalWrapperProps {
|
|
3
|
+
condition: boolean;
|
|
4
|
+
wrapper: (children: React.ReactNode) => React.JSX.Element;
|
|
5
|
+
children: any;
|
|
6
|
+
}
|
|
7
|
+
export declare const ConditionalWrapper: ({ condition, wrapper, children }: IConditionalWrapperProps) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
interface ICssTransitionProps {
|
|
3
3
|
className: string;
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
show: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const CssTransition: (props: ICssTransitionProps) => JSX.Element;
|
|
7
|
+
export declare const CssTransition: (props: ICssTransitionProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import 'react-calendar/dist/Calendar.css';
|
|
2
1
|
export interface IDatePickerProps {
|
|
3
2
|
value?: Date;
|
|
4
3
|
selectRange?: boolean;
|
|
5
4
|
minDate?: Date;
|
|
6
5
|
maxDate?: Date;
|
|
6
|
+
className?: string;
|
|
7
|
+
disabled?: boolean;
|
|
7
8
|
onChange?: (val: Date) => void;
|
|
8
9
|
}
|
|
9
|
-
export declare const DatePicker: (props: IDatePickerProps) => JSX.Element;
|
|
10
|
+
export declare const DatePicker: (props: IDatePickerProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface IDrawerProps extends React.ComponentProps<'div'> {
|
|
3
3
|
position?: 'left' | 'right';
|
|
4
4
|
shadow?: boolean;
|
|
@@ -6,4 +6,4 @@ export interface IDrawerProps extends React.ComponentProps<'div'> {
|
|
|
6
6
|
permanent?: boolean;
|
|
7
7
|
target?: HTMLElement;
|
|
8
8
|
}
|
|
9
|
-
export declare const Drawer: (props: IDrawerProps) => JSX.Element;
|
|
9
|
+
export declare const Drawer: (props: IDrawerProps) => React.JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { ReactNode, default as React } from 'react';
|
|
3
2
|
export interface IExpansionPanelProps extends React.ComponentProps<'div'> {
|
|
4
3
|
header: ReactNode;
|
|
5
4
|
children: ReactNode;
|
|
6
5
|
isExpanded?: boolean;
|
|
7
6
|
shadow?: boolean;
|
|
8
|
-
|
|
7
|
+
onExpandToggle?: (event: React.MouseEvent, isExpanded: boolean) => void;
|
|
9
8
|
}
|
|
10
|
-
export declare const ExpansionPanel: (props: IExpansionPanelProps) => JSX.Element;
|
|
9
|
+
export declare const ExpansionPanel: (props: IExpansionPanelProps) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export interface IExpansionPanelContentProps {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const ExpansionPanelContent: ({ children }: IExpansionPanelContentProps) => JSX.Element;
|
|
5
|
+
export declare const ExpansionPanelContent: ({ children }: IExpansionPanelContentProps) => React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { ReactNode, default as React } from 'react';
|
|
3
2
|
export interface IExpansionPanelHeaderProps {
|
|
4
3
|
onClick?: (event: React.MouseEvent) => void;
|
|
5
4
|
children?: ReactNode;
|
|
6
5
|
isExpanded: boolean;
|
|
7
6
|
}
|
|
8
|
-
export declare const ExpansionPanelHeader: (props: IExpansionPanelHeaderProps) => JSX.Element;
|
|
7
|
+
export declare const ExpansionPanelHeader: (props: IExpansionPanelHeaderProps) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface IFileInputProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
3
3
|
deletable?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare const FileInput: (props: IFileInputProps) => JSX.Element;
|
|
5
|
+
export declare const FileInput: (props: IFileInputProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Color, SIZE } from '../../enums';
|
|
3
3
|
export interface IFloatingActionButtonProps extends React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
4
4
|
icon?: React.ReactNode;
|
|
@@ -10,4 +10,4 @@ export interface IFloatingActionButtonProps extends React.DetailedHTMLProps<Reac
|
|
|
10
10
|
position?: 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
11
11
|
onClick?: (e: React.MouseEvent) => void;
|
|
12
12
|
}
|
|
13
|
-
export declare const FloatingActionButton: (props: IFloatingActionButtonProps) => JSX.Element;
|
|
13
|
+
export declare const FloatingActionButton: (props: IFloatingActionButtonProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React,
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { default as React, Component } from 'react';
|
|
2
|
+
import { IControls } from './form.interfaces';
|
|
3
|
+
import { FormControl } from './form.models';
|
|
4
4
|
export interface IFormProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
controls: IControls;
|
|
@@ -22,7 +22,7 @@ export declare class Form extends Component<IFormProps, IFormState> {
|
|
|
22
22
|
static getDerivedStateFromProps(nextProps: IFormProps, state: IFormState): {
|
|
23
23
|
controls: IControls;
|
|
24
24
|
} | null;
|
|
25
|
-
myForm: React.RefObject<HTMLFormElement>;
|
|
25
|
+
myForm: React.RefObject<HTMLFormElement | null>;
|
|
26
26
|
handleChange(): void;
|
|
27
27
|
private validateField;
|
|
28
28
|
private handleInputChange;
|
|
@@ -36,5 +36,5 @@ export declare class Form extends Component<IFormProps, IFormState> {
|
|
|
36
36
|
handleOnKeyDown(e: React.KeyboardEvent<HTMLInputElement | undefined>): void;
|
|
37
37
|
destroy(): void;
|
|
38
38
|
getFormGroupCssClass(fieldKey: string): string | undefined;
|
|
39
|
-
render(): JSX.Element;
|
|
39
|
+
render(): React.JSX.Element;
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IFormAutoCompleteOptions, IFormInputOptions, IFormSelectOptions, IFormTextAreaOptions } from '../form.interfaces';
|
|
3
|
+
import { IFormControlType } from '../form.types';
|
|
4
4
|
export interface IFormInputEvent {
|
|
5
5
|
value: any;
|
|
6
6
|
type?: string;
|
|
@@ -26,4 +26,4 @@ export interface IFormInputProps {
|
|
|
26
26
|
onBlur?: React.FocusEventHandler<HTMLInputElement> | undefined;
|
|
27
27
|
onKeyDown?: React.KeyboardEventHandler<HTMLInputElement | undefined>;
|
|
28
28
|
}
|
|
29
|
-
export declare const FormInput: (props: IFormInputProps) => JSX.Element;
|
|
29
|
+
export declare const FormInput: (props: IFormInputProps) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { IFormControlConfig, IFormInputError } from './form.interfaces';
|
|
2
|
+
import { IFormControlType } from './form.types';
|
|
3
3
|
export declare class FormControl {
|
|
4
4
|
value: any;
|
|
5
5
|
validators: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export type TRowDirection = 'row' | 'column';
|
|
3
3
|
export interface IContainerProps extends React.ComponentProps<'div'> {
|
|
4
4
|
direction?: TRowDirection;
|
|
5
5
|
}
|
|
6
|
-
export declare const Row: ({ children, direction, className, ...rest }: IContainerProps) => JSX.Element;
|
|
6
|
+
export declare const Row: ({ children, direction, className, ...rest }: IContainerProps) => React.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps, default as React } from 'react';
|
|
2
|
+
import { Color } from '../../enums';
|
|
3
|
+
export interface IIconProps extends ComponentProps<'div'> {
|
|
4
|
+
iconColor?: Color;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const Icon: (props: IIconProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Color, SIZE, VARIANT } from '../../enums';
|
|
3
3
|
export interface IIconButtonProps extends React.ComponentProps<'button'> {
|
|
4
4
|
icon?: React.ReactNode;
|
|
@@ -9,4 +9,4 @@ export interface IIconButtonProps extends React.ComponentProps<'button'> {
|
|
|
9
9
|
shadow?: boolean;
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const IconButton: (props: IIconButtonProps) => JSX.Element;
|
|
12
|
+
export declare const IconButton: (props: IIconButtonProps) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const Link: (props: React.ComponentProps<"a">) => JSX.Element;
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const Link: (props: React.ComponentProps<"a">) => React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Color } from '../../enums';
|
|
3
3
|
export interface IListItemProps extends React.ComponentProps<'li'> {
|
|
4
4
|
color?: Color;
|
|
5
5
|
active?: boolean;
|
|
6
6
|
isHoverable?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const ListItem: (props: IListItemProps) => JSX.Element;
|
|
9
|
+
export declare const ListItem: (props: IListItemProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
interface IListItemAvatarProps extends React.ComponentProps<'div'> {
|
|
3
3
|
avatar: React.ReactNode;
|
|
4
4
|
avatarSize?: ListItemAvatarSize;
|
|
@@ -10,5 +10,5 @@ export declare enum ListItemAvatarSize {
|
|
|
10
10
|
xl = "xl",
|
|
11
11
|
xxl = "xxl"
|
|
12
12
|
}
|
|
13
|
-
export declare const ListItemAvatar: ({ avatar, avatarSize, ...rest }: IListItemAvatarProps) => JSX.Element;
|
|
13
|
+
export declare const ListItemAvatar: ({ avatar, avatarSize, ...rest }: IListItemAvatarProps) => React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
interface IListItemIconProps extends React.ComponentProps<'div'> {
|
|
3
3
|
icon: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const ListItemIcon: ({ icon, ...rest }: IListItemIconProps) => JSX.Element;
|
|
5
|
+
export declare const ListItemIcon: ({ icon, ...rest }: IListItemIconProps) => React.JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react';
|
|
1
|
+
import { ReactNode, default as React } from 'react';
|
|
3
2
|
interface IListItemTextProps extends React.ComponentProps<'div'> {
|
|
4
3
|
primary: ReactNode;
|
|
5
4
|
secondary?: ReactNode;
|
|
6
5
|
}
|
|
7
|
-
export declare const ListItemText: ({ primary, secondary, ...rest }: IListItemTextProps) => JSX.Element;
|
|
6
|
+
export declare const ListItemText: ({ primary, secondary, ...rest }: IListItemTextProps) => React.JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { IListItemProps } from './ListItem';
|
|
3
3
|
export declare class ListItemModel {
|
|
4
4
|
constructor(dto: ReactElement<IListItemProps>);
|
|
5
5
|
key: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
export interface ILoadingIndicatorContainerProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
isFixed?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const LoadingIndicatorContainer: ({ children, isFixed }: ILoadingIndicatorContainerProps) => JSX.Element;
|
|
6
|
+
export declare const LoadingIndicatorContainer: ({ children, isFixed }: ILoadingIndicatorContainerProps) => React.JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import type { MenuPosition } from './menu.types';
|
|
1
|
+
import { ReactElement, default as React } from 'react';
|
|
2
|
+
import { IListItemProps } from '../List';
|
|
3
|
+
import { MenuPosition } from './menu.types';
|
|
5
4
|
export interface IMenuProps extends React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
6
5
|
toggle?: ReactElement;
|
|
7
6
|
open?: boolean;
|
|
@@ -9,4 +8,4 @@ export interface IMenuProps extends React.DetailedHTMLProps<React.HtmlHTMLAttrib
|
|
|
9
8
|
menuPosition?: MenuPosition;
|
|
10
9
|
onClickBackdrop?: () => void;
|
|
11
10
|
}
|
|
12
|
-
export declare const Menu: (props: IMenuProps) => JSX.Element;
|
|
11
|
+
export declare const Menu: (props: IMenuProps) => React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactElement, default as React } from 'react';
|
|
2
|
+
import { IListItemProps } from '../List';
|
|
3
|
+
import { MenuPosition } from './menu.types';
|
|
4
|
+
export interface IMenuBodyProps {
|
|
5
|
+
children?: ReactElement<IListItemProps> | ReactElement<IListItemProps>[];
|
|
6
|
+
className?: string;
|
|
7
|
+
menuPosition?: MenuPosition;
|
|
8
|
+
parentRef: React.RefObject<HTMLDivElement | null>;
|
|
9
|
+
shadow?: boolean;
|
|
10
|
+
onClickBackdrop?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const MenuBody: (props: IMenuBodyProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MenuDivider: () => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement, default as React } from 'react';
|
|
2
2
|
import { SIZE } from '../../enums';
|
|
3
|
-
import
|
|
3
|
+
import { IControls } from '../Form';
|
|
4
4
|
import { MODALTYPE } from './modal.enum';
|
|
5
|
-
import
|
|
5
|
+
import { IModalButton } from './modal.interfaces';
|
|
6
6
|
interface IModalProps {
|
|
7
7
|
title?: string;
|
|
8
8
|
description?: string | ReactElement;
|
|
@@ -17,5 +17,5 @@ interface IModalProps {
|
|
|
17
17
|
fullScreen?: boolean;
|
|
18
18
|
size?: SIZE;
|
|
19
19
|
}
|
|
20
|
-
export declare const GlobalModal: ({ title, description, formControls, onOk, onChange, onCancel, onBackdropClick, isDismissable, buttons, size, fullScreen, }: IModalProps) => JSX.Element;
|
|
20
|
+
export declare const GlobalModal: ({ title, description, formControls, onOk, onChange, onCancel, onBackdropClick, isDismissable, buttons, size, fullScreen, }: IModalProps) => React.JSX.Element;
|
|
21
21
|
export {};
|