@mparticle/aquarium 1.63.0-aquarium-2-upgrade.2 → 1.63.0-new-fonts.2
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/aquarium.js +24811 -3264
- package/dist/aquarium.umd.cjs +252 -1
- package/dist/index.d.ts +0 -1
- package/dist/src/components/UXPatterns/MoreActionsButton/MoreActionsButton.d.ts +2 -2
- package/dist/src/components/UXPatterns/PermissionsRestrictions/UnauthorizedTooltip.d.ts +3 -3
- package/dist/src/components/UXPatterns/StatisticsCard/StatisticsCard.d.ts +2 -1
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +7 -4
- package/dist/src/components/data-display/Badge/Badge.d.ts +5 -3
- package/dist/src/components/data-display/Card/Card.d.ts +5 -3
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +5 -3
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +6 -4
- package/dist/src/components/data-display/Empty/Empty.d.ts +4 -3
- package/dist/src/components/data-display/Image/Image.d.ts +6 -4
- package/dist/src/components/data-display/List/List.d.ts +5 -3
- package/dist/src/components/data-display/Popover/Popover.d.ts +3 -2
- package/dist/src/components/data-display/Segmented/Segmented.d.ts +4 -2
- package/dist/src/components/data-display/Table/Table.d.ts +10 -15
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +4 -2
- package/dist/src/components/data-display/Tag/Tag.d.ts +6 -4
- package/dist/src/components/data-display/Tooltip/IconWithTooltip.d.ts +6 -5
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +4 -3
- package/dist/src/components/data-display/Tour/Tour.d.ts +3 -2
- package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +3 -2
- package/dist/src/components/data-entry/Cascader/Cascader.d.ts +6 -5
- package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +9 -6
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +55 -59
- package/dist/src/components/data-entry/Form/Form.d.ts +15 -15
- package/dist/src/components/data-entry/Input/Input.d.ts +4 -2
- package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +3 -2
- package/dist/src/components/data-entry/QueryItem/Action.d.ts +3 -2
- package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +7 -6
- package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +3 -2
- package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +3 -2
- package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +12 -11
- package/dist/src/components/data-entry/QueryItem/Text.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +7 -6
- package/dist/src/components/data-entry/Radio/Radio.d.ts +6 -5
- package/dist/src/components/data-entry/Radio/RadioButton.d.ts +3 -2
- package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +3 -2
- package/dist/src/components/data-entry/RadioCard/RadioCard.d.ts +3 -2
- package/dist/src/components/data-entry/Select/Select.d.ts +6 -5
- package/dist/src/components/data-entry/Switch/Switch.d.ts +3 -2
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +6 -4
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +5 -3
- package/dist/src/components/data-entry/Upload/Upload.d.ts +6 -4
- package/dist/src/components/feedback/Alert/Alert.d.ts +6 -5
- package/dist/src/components/feedback/Drawer/Drawer.d.ts +3 -2
- package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +4 -2
- package/dist/src/components/feedback/Message/Message.d.ts +9 -5
- package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +4 -3
- package/dist/src/components/feedback/Modal/ErrorModal/ErrorModal.d.ts +2 -2
- package/dist/src/components/feedback/Modal/Modal.d.ts +6 -5
- package/dist/src/components/feedback/Notification/Notification.d.ts +9 -5
- package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +3 -2
- package/dist/src/components/feedback/Progress/Progress.d.ts +3 -2
- package/dist/src/components/feedback/Result/Result.d.ts +4 -2
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +9 -8
- package/dist/src/components/feedback/Spin/Spin.d.ts +6 -3
- package/dist/src/components/general/Button/Button.d.ts +6 -4
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +7 -5
- package/dist/src/components/general/Icon/ErrorStateIcon/ErrorStateIcon.d.ts +1 -1
- package/dist/src/components/general/Icon/Icon.d.ts +2 -2
- package/dist/src/components/general/Icon/SuccessStateIcon/SuccessStateIcon.d.ts +1 -1
- package/dist/src/components/general/Icon/WarningStateIcon/WarningStateIcon.d.ts +1 -1
- package/dist/src/components/general/Typography/Typography.d.ts +12 -11
- package/dist/src/components/icons/index.d.ts +140 -140
- package/dist/src/components/layout/Center/Center.d.ts +3 -2
- package/dist/src/components/layout/Divider/Divider.d.ts +3 -2
- package/dist/src/components/layout/Flex/Flex.d.ts +3 -2
- package/dist/src/components/layout/Grid/Grid.d.ts +5 -1
- package/dist/src/components/layout/Layout/Layout.d.ts +5 -3
- package/dist/src/components/layout/Space/Space.d.ts +5 -3
- package/dist/src/components/layout/Splitter/Splitter.d.ts +6 -5
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +4 -2
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +7 -3
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +5 -3
- package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +5 -4
- package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +5 -4
- package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +5 -4
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +5 -4
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +1 -1
- package/dist/src/components/navigation/Menu/Menu.d.ts +10 -7
- package/dist/src/components/navigation/Pagination/Pagination.d.ts +3 -2
- package/dist/src/components/navigation/Steps/Steps.d.ts +3 -2
- package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +3 -2
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +8 -5
- package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +3 -2
- package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +3 -2
- package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +3 -2
- package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +3 -2
- package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +4 -2
- package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +6 -3
- package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +4 -2
- package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +6 -4
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +13 -7
- package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +3 -2
- package/dist/src/constants/ChartConfig.d.ts +2 -2
- package/dist/src/constants/Icons.d.ts +1 -1
- package/dist/src/hooks/NewExperienceReminder/useNewExperienceReminder.d.ts +1 -1
- package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +3 -3
- package/dist/src/services/user-preferences/models/definitions/user-preference-definition.d.ts +1 -1
- package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts +1 -1
- package/dist/src/services/user-preferences/models/definitions/user-preference-per-scope.d.ts +1 -1
- package/dist/src/services/user-preferences/user-preferences-service.d.ts +3 -3
- package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +4 -4
- package/dist/src/styles/style.d.ts +54 -42
- package/dist/src/types/icons.d.ts +2 -1
- package/dist/src/utils/Cookies.d.ts +1 -1
- package/dist/src/utils/ExampleStory.d.ts +3 -1
- package/dist/src/utils/GetGlobalToken.d.ts +1 -0
- package/dist/src/utils/debounce.d.ts +1 -1
- package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +2 -1
- package/dist/src/utils/utils.d.ts +2 -2
- package/dist/style.css +427 -1
- package/dist/style.ts +56 -42
- package/package.json +70 -61
- package/dist/src/components/other/ConfigProvider/ConfigProvider.d.ts +0 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { IDropdownProps, IButtonProps, IMenuProps } from '../..';
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type IDropdownProps, type IButtonProps, type IMenuProps } from '../..';
|
|
3
3
|
export type IMoreActionsButtonItem = NonNullable<IMenuProps['items']>[number];
|
|
4
4
|
export interface IMoreActionsButtonProps extends Omit<IDropdownProps, 'children' | 'menu'> {
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ITooltipProps } from '../..';
|
|
3
|
-
export interface IUnauthorizedTooltipProps extends Omit<ITooltipProps, 'title'
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ITooltipProps } from '../..';
|
|
3
|
+
export interface IUnauthorizedTooltipProps extends Omit<ITooltipProps, 'title'> {
|
|
4
4
|
isAuthorized: boolean;
|
|
5
5
|
children: React.ReactElement;
|
|
6
6
|
unauthorizedMessage?: React.ReactNode;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { AvatarProps as AntAvatarProps } from 'antd';
|
|
2
|
-
import { FC } from 'react';
|
|
3
1
|
import { AvatarGroupProps } from 'antd/es/avatar/AvatarGroup';
|
|
4
|
-
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type AvatarProps as AntAvatarProps } from 'antd';
|
|
6
|
+
export interface IAvatarProps extends AntAvatarProps {
|
|
7
|
+
}
|
|
5
8
|
export declare const Avatar: {
|
|
6
|
-
(props: IAvatarProps):
|
|
9
|
+
(props: IAvatarProps): JSX.Element;
|
|
7
10
|
Group: FC<AvatarGroupProps>;
|
|
8
11
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RibbonProps } from 'antd/es/badge/Ribbon';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type BadgeProps as AntBadgeProps } from 'antd';
|
|
4
6
|
export type BadgeVariant = 'default' | 'filled';
|
|
5
7
|
export type BadgeFilledSize = 'sm' | 'md' | 'lg';
|
|
6
8
|
export type BadgeShape = 'pill' | 'square';
|
|
@@ -10,6 +12,6 @@ export interface IBadgeProps extends Omit<AntBadgeProps, 'size'> {
|
|
|
10
12
|
shape?: BadgeShape;
|
|
11
13
|
}
|
|
12
14
|
export declare const Badge: {
|
|
13
|
-
({ variant, size, shape, ...props }: IBadgeProps):
|
|
15
|
+
({ variant, size, shape, ...props }: IBadgeProps): JSX.Element;
|
|
14
16
|
Ribbon: FC<RibbonProps>;
|
|
15
17
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardMetaProps, CardGridProps } from 'antd/es/card';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type CardProps as AntCardProps } from 'antd';
|
|
4
6
|
export interface ICardProps extends AntCardProps {
|
|
5
7
|
}
|
|
6
8
|
export declare const Card: {
|
|
7
|
-
(props: ICardProps):
|
|
9
|
+
(props: ICardProps): JSX.Element;
|
|
8
10
|
Meta: FC<CardMetaProps>;
|
|
9
11
|
Grid: FC<CardGridProps>;
|
|
10
12
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { CollapseProps as AntCollapseProps, CollapsePanelProps } from 'antd';
|
|
2
1
|
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
/// <reference types="react" />
|
|
4
|
+
import { CollapsePanelProps, CollapseProps as AntCollapseProps } from 'antd';
|
|
3
5
|
export interface ICollapseProps extends AntCollapseProps {
|
|
4
6
|
}
|
|
5
7
|
export declare const Collapse: {
|
|
6
|
-
(props: ICollapseProps):
|
|
7
|
-
Panel: ForwardRefExoticComponent<
|
|
8
|
+
(props: ICollapseProps): JSX.Element;
|
|
9
|
+
Panel: ForwardRefExoticComponent<CollapsePanelProps & RefAttributes<HTMLDivElement>>;
|
|
8
10
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { DescriptionsProps as AntDescriptionsProps } from 'antd';
|
|
2
|
-
import { FC, PropsWithChildren } from 'react';
|
|
3
1
|
import { DescriptionsItemProps } from 'antd/es/descriptions/Item';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type DescriptionsProps as AntDescriptionsProps } from 'antd';
|
|
4
6
|
export interface IDescriptionsProps extends AntDescriptionsProps {
|
|
5
7
|
}
|
|
6
8
|
export declare const Descriptions: {
|
|
7
|
-
(props: IDescriptionsProps):
|
|
8
|
-
Item: FC<
|
|
9
|
+
(props: IDescriptionsProps): JSX.Element;
|
|
10
|
+
Item: FC<DescriptionsItemProps>;
|
|
9
11
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type EmptyProps as AntEmptyProps } from 'antd';
|
|
3
4
|
export type EmptyState = 'empty' | 'error';
|
|
4
5
|
export interface IEmptyProps extends Omit<AntEmptyProps, 'description'> {
|
|
5
6
|
/** The state of the empty component - determines the icon and styling */
|
|
@@ -29,7 +30,7 @@ export interface IEmptyProps extends Omit<AntEmptyProps, 'description'> {
|
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
export declare const Empty: {
|
|
32
|
-
(props: IEmptyProps):
|
|
33
|
+
(props: IEmptyProps): JSX.Element;
|
|
33
34
|
PRESENTED_IMAGE_DEFAULT: React.ReactNode;
|
|
34
35
|
PRESENTED_IMAGE_SIMPLE: React.ReactNode;
|
|
35
36
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GroupConsumerProps } from 'rc-image/lib/PreviewGroup';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type ImageProps as AntImageProps } from 'antd';
|
|
4
6
|
export interface IImageProps extends AntImageProps {
|
|
5
7
|
}
|
|
6
8
|
export declare const Image: {
|
|
7
|
-
(props: IImageProps):
|
|
8
|
-
PreviewGroup: FC<
|
|
9
|
+
(props: IImageProps): JSX.Element;
|
|
10
|
+
PreviewGroup: FC<GroupConsumerProps>;
|
|
9
11
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListItemTypeProps } from 'antd/es/list/Item';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { type ListProps as AntListProps } from 'antd';
|
|
2
4
|
export interface IListProps<T> extends AntListProps<T> {
|
|
3
5
|
}
|
|
4
|
-
export declare function List<T>(props: IListProps<T>):
|
|
6
|
+
export declare function List<T>(props: IListProps<T>): JSX.Element;
|
|
5
7
|
export declare namespace List {
|
|
6
|
-
var Item:
|
|
8
|
+
var Item: ListItemTypeProps;
|
|
7
9
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type PopoverProps as AntPopoverProps } from 'antd';
|
|
2
3
|
export interface IPopoverProps extends AntPopoverProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Popover: (props: IPopoverProps) =>
|
|
5
|
+
export declare const Popover: (props: IPopoverProps) => JSX.Element;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { type SegmentedProps as AntSegmentedProps } from 'antd';
|
|
2
4
|
export interface ISegmentedProps extends AntSegmentedProps {
|
|
3
5
|
ref?: React.RefObject<HTMLDivElement>;
|
|
4
6
|
}
|
|
5
|
-
export declare const Segmented: (props: ISegmentedProps) =>
|
|
7
|
+
export declare const Segmented: (props: ISegmentedProps) => JSX.Element;
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AnyObject } from 'antd/es/_util/type';
|
|
3
|
-
import { ColumnType, ExpandableConfig } from 'antd/es/table/interface';
|
|
4
|
-
import { ColumnsType, TableProps } from 'antd/es/table';
|
|
1
|
+
import { default as __DTS_1__ } from 'rc-table/lib/Footer/Summary';
|
|
5
2
|
import { ColumnGroupProps } from 'antd/es/table/ColumnGroup';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { TableColumnProps, type TableProps as AntTableProps } from 'antd';
|
|
5
|
+
import { type AnyObject } from 'antd/es/_util/type';
|
|
6
|
+
import { type ColumnType, type ExpandableConfig } from 'antd/es/table/interface';
|
|
7
|
+
import { type ColumnsType, type TableProps } from 'antd/es/table';
|
|
10
8
|
export interface ITableProps<RecordType extends AnyObject = AnyObject> extends AntTableProps<RecordType> {
|
|
11
9
|
}
|
|
12
10
|
export type { ColumnType, ExpandableConfig, ColumnsType, TableProps };
|
|
13
11
|
export declare const Table: {
|
|
14
|
-
<RecordType extends AnyObject = AnyObject>({ className, ...props }: ITableProps<RecordType>):
|
|
15
|
-
Column: <
|
|
16
|
-
ColumnGroup: <
|
|
17
|
-
Summary:
|
|
18
|
-
Row: React.FC<React.PropsWithChildren< FooterRowProps>>;
|
|
19
|
-
Cell: React.FC<React.PropsWithChildren< SummaryCellProps>>;
|
|
20
|
-
};
|
|
12
|
+
<RecordType extends AnyObject = AnyObject>({ className, ...props }: ITableProps<RecordType>): JSX.Element;
|
|
13
|
+
Column: <RecordType_1 extends AnyObject>(_: TableColumnProps<RecordType_1>) => null;
|
|
14
|
+
ColumnGroup: <RecordType_2 extends AnyObject>(_: ColumnGroupProps<RecordType_2>) => null;
|
|
15
|
+
Summary: typeof __DTS_1__;
|
|
21
16
|
EXPAND_COLUMN: {};
|
|
22
17
|
SELECTION_NONE: "SELECT_NONE";
|
|
23
18
|
SELECTION_ALL: "SELECT_ALL";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { TabsProps as AntTabsProps, TabPaneProps } from 'antd';
|
|
2
1
|
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
/// <reference types="react" />
|
|
4
|
+
import { TabPaneProps, type TabsProps as AntTabsProps } from 'antd';
|
|
3
5
|
export interface ITabsProps extends AntTabsProps {
|
|
4
6
|
}
|
|
5
7
|
export declare const Tabs: {
|
|
6
|
-
(props: ITabsProps):
|
|
8
|
+
(props: ITabsProps): JSX.Element;
|
|
7
9
|
TabPane: FC<TabPaneProps>;
|
|
8
10
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import type { TagProps as AntTagProps } from 'antd';
|
|
4
|
+
import type { CheckableTagProps as AntCheckableTagProps } from 'antd/es/tag';
|
|
3
5
|
export interface ITagProps extends AntTagProps {
|
|
4
6
|
children: React.ReactNode;
|
|
5
7
|
}
|
|
6
8
|
type CheckableTagProps = AntCheckableTagProps & ITagProps;
|
|
7
9
|
export declare const Tag: {
|
|
8
|
-
(props: ITagProps):
|
|
9
|
-
CheckableTag: (props: CheckableTagProps) =>
|
|
10
|
+
(props: ITagProps): JSX.Element;
|
|
11
|
+
CheckableTag: (props: CheckableTagProps) => JSX.Element;
|
|
10
12
|
};
|
|
11
13
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type IIconProps } from '../../general/Icon/Icon';
|
|
3
|
+
import { type ITooltipProps } from './Tooltip';
|
|
4
|
+
import type { IconNames } from '../../../types/icons';
|
|
5
|
+
import type { ReactNode } from 'react';
|
|
5
6
|
export interface IIconWithTooltipProps extends Omit<ITooltipProps, 'title'> {
|
|
6
7
|
title: ReactNode;
|
|
7
8
|
iconName?: IconNames;
|
|
8
9
|
iconProps?: Omit<IIconProps, 'name'>;
|
|
9
10
|
}
|
|
10
|
-
export declare const IconWithTooltip: ({ title, iconName, iconProps, ...rest }: IIconWithTooltipProps) =>
|
|
11
|
+
export declare const IconWithTooltip: ({ title, iconName, iconProps, ...rest }: IIconWithTooltipProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type TooltipPropsWithTitle as AntTooltipPropsWithTitle } from 'antd/es/tooltip';
|
|
3
|
+
export interface ITooltipProps extends AntTooltipPropsWithTitle {
|
|
3
4
|
}
|
|
4
|
-
export declare const Tooltip: (props: ITooltipProps) =>
|
|
5
|
+
export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type TourProps as AntTourProps } from 'antd';
|
|
2
3
|
export interface ITourProps extends AntTourProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Tour: (props: ITourProps) =>
|
|
5
|
+
export declare const Tour: (props: ITourProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type AutoCompleteProps as AntAutoCompleteProps } from 'antd';
|
|
2
3
|
export interface IAutoCompleteProps extends AntAutoCompleteProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const AutoComplete: (props: IAutoCompleteProps) =>
|
|
5
|
+
export declare const AutoComplete: (props: IAutoCompleteProps) => JSX.Element;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { default as __DTS_1__ } from 'antd/es/cascader/Panel';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { type CascaderProps as AntCascaderProps } from 'antd';
|
|
4
|
+
import { type BaseOptionType } from 'antd/es/select';
|
|
4
5
|
export type ICascaderProps<DataNodeType extends BaseOptionType = any> = AntCascaderProps<DataNodeType>;
|
|
5
6
|
export declare const Cascader: {
|
|
6
|
-
(props: ICascaderProps):
|
|
7
|
-
Panel:
|
|
7
|
+
(props: ICascaderProps): JSX.Element;
|
|
8
|
+
Panel: typeof __DTS_1__;
|
|
8
9
|
SHOW_PARENT: "SHOW_PARENT";
|
|
9
10
|
SHOW_CHILD: "SHOW_CHILD";
|
|
10
11
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type CheckboxProps as AntCheckboxProps } from 'antd';
|
|
3
|
+
import { type CheckboxGroupProps as AntCheckboxGroupProps } from 'antd/es/checkbox/Group';
|
|
4
|
+
export interface ICheckboxProps extends AntCheckboxProps {
|
|
5
|
+
}
|
|
6
|
+
export interface ICheckboxGroupProps extends AntCheckboxGroupProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Checkbox: ((props: ICheckboxProps) => JSX.Element) & {
|
|
9
|
+
Group: (props: ICheckboxGroupProps) => JSX.Element;
|
|
7
10
|
};
|
|
@@ -1,82 +1,78 @@
|
|
|
1
|
-
import { DatePickerProps as AntDatePickerProps } from 'antd';
|
|
2
|
-
import { RangePickerProps as AntRangePickerProps } from 'antd/es/date-picker';
|
|
3
|
-
import { AnyObject } from 'antd/es/_util/type';
|
|
4
|
-
import { GenerateConfig } from '@rc-component/picker/generate';
|
|
5
|
-
import { PickerPropsWithMultiple, DatePickerPickerClassNames, DatePickerStylesType, GenericTimePickerProps } from 'antd/es/date-picker/generatePicker/interface';
|
|
6
|
-
import { PickerProps, PickerLocale } from 'antd/es/date-picker/generatePicker';
|
|
7
|
-
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
8
|
-
import { RangePickerProps, PickerRef } from '@rc-component/picker';
|
|
9
|
-
import { ButtonSize } from 'antd/es/button';
|
|
10
|
-
import { InputStatus } from 'antd/es/_util/statusUtils';
|
|
11
|
-
import { Variant } from 'antd/es/config-provider';
|
|
12
1
|
import { Dayjs } from 'dayjs';
|
|
2
|
+
import { ButtonSize } from 'antd/es/button';
|
|
3
|
+
import { RangePickerProps, PickerRef } from 'rc-picker';
|
|
4
|
+
import { ReactElement, JSXElementConstructor, ForwardRefExoticComponent, CSSProperties, RefAttributes } from 'react';
|
|
5
|
+
import { PickerProps, PickerLocale } from 'antd/es/date-picker/generatePicker';
|
|
6
|
+
import { PickerPropsWithMultiple, GenericTimePickerProps } from 'antd/es/date-picker/generatePicker/interface';
|
|
7
|
+
import { GenerateConfig } from 'rc-picker/lib/generate';
|
|
8
|
+
import { AnyObject } from 'antd/es/_util/type';
|
|
9
|
+
import { JSX } from 'react/jsx-runtime';
|
|
10
|
+
/// <reference types="react" />
|
|
11
|
+
import { type DatePickerProps as AntDatePickerProps } from 'antd';
|
|
12
|
+
import type { RangePickerProps as AntRangePickerProps } from 'antd/es/date-picker';
|
|
13
13
|
export interface IDatePickerProps extends AntDatePickerProps {
|
|
14
14
|
}
|
|
15
15
|
export interface IRangePickerProps extends AntRangePickerProps {
|
|
16
16
|
}
|
|
17
17
|
export declare const DatePicker: {
|
|
18
|
-
(props: IDatePickerProps):
|
|
19
|
-
generatePicker: <DateType extends AnyObject = AnyObject>(generateConfig: GenerateConfig<DateType>) => (<ValueType = DateType
|
|
20
|
-
displayName?: string;
|
|
18
|
+
(props: IDatePickerProps): JSX.Element;
|
|
19
|
+
generatePicker: <DateType extends AnyObject = AnyObject>(generateConfig: GenerateConfig<DateType>) => (<ValueType = DateType>(props: PickerPropsWithMultiple<DateType, PickerProps<DateType>, ValueType>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
20
|
+
displayName?: string | undefined;
|
|
21
21
|
} & {
|
|
22
|
-
displayName?: string;
|
|
23
|
-
WeekPicker: (<
|
|
24
|
-
displayName?: string;
|
|
22
|
+
displayName?: string | undefined;
|
|
23
|
+
WeekPicker: (<ValueType_1 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
24
|
+
displayName?: string | undefined;
|
|
25
25
|
};
|
|
26
|
-
MonthPicker: (<
|
|
27
|
-
displayName?: string;
|
|
26
|
+
MonthPicker: (<ValueType_2 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_2>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
27
|
+
displayName?: string | undefined;
|
|
28
28
|
};
|
|
29
|
-
YearPicker: (<
|
|
30
|
-
displayName?: string;
|
|
29
|
+
YearPicker: (<ValueType_3 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_3>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
30
|
+
displayName?: string | undefined;
|
|
31
31
|
};
|
|
32
|
-
RangePicker: ForwardRefExoticComponent<Omit<
|
|
33
|
-
locale?: PickerLocale;
|
|
32
|
+
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<DateType>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
33
|
+
locale?: PickerLocale | undefined;
|
|
34
34
|
size?: ButtonSize;
|
|
35
|
-
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
36
|
-
bordered?: boolean;
|
|
37
|
-
status?:
|
|
38
|
-
variant?:
|
|
39
|
-
dropdownClassName?: string;
|
|
40
|
-
popupClassName?: string;
|
|
41
|
-
rootClassName?: string;
|
|
42
|
-
popupStyle?:
|
|
43
|
-
classNames?: DatePickerPickerClassNames<RangePickerProps<DateType>> | undefined;
|
|
44
|
-
styles?: DatePickerStylesType<RangePickerProps<DateType>> | undefined;
|
|
35
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
36
|
+
bordered?: boolean | undefined;
|
|
37
|
+
status?: "" | "warning" | "error" | undefined;
|
|
38
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
39
|
+
dropdownClassName?: string | undefined;
|
|
40
|
+
popupClassName?: string | undefined;
|
|
41
|
+
rootClassName?: string | undefined;
|
|
42
|
+
popupStyle?: CSSProperties | undefined;
|
|
45
43
|
} & RefAttributes<PickerRef>>;
|
|
46
|
-
TimePicker: (<
|
|
47
|
-
displayName?: string;
|
|
44
|
+
TimePicker: (<ValueType_4 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<GenericTimePickerProps<DateType>, "picker">, ValueType_4>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
45
|
+
displayName?: string | undefined;
|
|
48
46
|
};
|
|
49
|
-
QuarterPicker: (<
|
|
50
|
-
displayName?: string;
|
|
47
|
+
QuarterPicker: (<ValueType_5 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_5>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
48
|
+
displayName?: string | undefined;
|
|
51
49
|
};
|
|
52
50
|
};
|
|
53
|
-
QuarterPicker: (<
|
|
54
|
-
displayName?: string;
|
|
51
|
+
QuarterPicker: (<ValueType_6 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_6>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
52
|
+
displayName?: string | undefined;
|
|
55
53
|
};
|
|
56
|
-
MonthPicker: (<
|
|
57
|
-
displayName?: string;
|
|
54
|
+
MonthPicker: (<ValueType_7 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_7>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
55
|
+
displayName?: string | undefined;
|
|
58
56
|
};
|
|
59
|
-
RangePicker: ForwardRefExoticComponent<Omit<
|
|
60
|
-
locale?: PickerLocale;
|
|
57
|
+
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
58
|
+
locale?: PickerLocale | undefined;
|
|
61
59
|
size?: ButtonSize;
|
|
62
|
-
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
63
|
-
bordered?: boolean;
|
|
64
|
-
status?:
|
|
65
|
-
variant?:
|
|
66
|
-
dropdownClassName?: string;
|
|
67
|
-
popupClassName?: string;
|
|
68
|
-
rootClassName?: string;
|
|
69
|
-
popupStyle?:
|
|
70
|
-
classNames?: DatePickerPickerClassNames<RangePickerProps<Dayjs>> | undefined;
|
|
71
|
-
styles?: DatePickerStylesType<RangePickerProps<Dayjs>> | undefined;
|
|
60
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
61
|
+
bordered?: boolean | undefined;
|
|
62
|
+
status?: "" | "warning" | "error" | undefined;
|
|
63
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
64
|
+
dropdownClassName?: string | undefined;
|
|
65
|
+
popupClassName?: string | undefined;
|
|
66
|
+
rootClassName?: string | undefined;
|
|
67
|
+
popupStyle?: CSSProperties | undefined;
|
|
72
68
|
} & RefAttributes<PickerRef>>;
|
|
73
|
-
TimePicker: (<
|
|
74
|
-
displayName?: string;
|
|
69
|
+
TimePicker: (<ValueType_8 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<GenericTimePickerProps<Dayjs>, "picker">, ValueType_8>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
70
|
+
displayName?: string | undefined;
|
|
75
71
|
};
|
|
76
|
-
WeekPicker: (<
|
|
77
|
-
displayName?: string;
|
|
72
|
+
WeekPicker: (<ValueType_9 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_9>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
73
|
+
displayName?: string | undefined;
|
|
78
74
|
};
|
|
79
|
-
YearPicker: (<
|
|
80
|
-
displayName?: string;
|
|
75
|
+
YearPicker: (<ValueType_10 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_10>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
76
|
+
displayName?: string | undefined;
|
|
81
77
|
};
|
|
82
78
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { FormProps as AntFormProps, FormItemProps } from 'antd';
|
|
2
|
-
import { ReactNode, FC } from 'react';
|
|
3
|
-
import { useForm } from 'antd/es/form/Form';
|
|
4
|
-
import { useWatch } from '@rc-component/form';
|
|
5
|
-
import { default as __DTS_DEFAULT_0__ } from 'antd/es/form/hooks/useFormInstance';
|
|
6
|
-
import { ValidateStatus } from 'antd/es/form/FormItem';
|
|
7
|
-
import { FormListProps, ErrorListProps } from 'antd/es/form';
|
|
8
1
|
import { FormProviderProps } from 'antd/es/form/context';
|
|
2
|
+
import { FormListProps, ErrorListProps } from 'antd/es/form';
|
|
3
|
+
import { default as __DTS_2__ } from 'antd/es/form/hooks/useFormInstance';
|
|
4
|
+
import { default as __DTS_1__ } from 'rc-field-form/es/useWatch';
|
|
5
|
+
import { useForm } from 'antd/es/form/Form';
|
|
6
|
+
import { JSX } from 'react/jsx-runtime';
|
|
7
|
+
import { FormItemProps, type FormProps as AntFormProps } from 'antd';
|
|
8
|
+
import { ReactElement, JSXElementConstructor, FC, type ReactNode } from 'react';
|
|
9
9
|
export type { FormInstance } from 'antd';
|
|
10
10
|
export interface IFormProps<Values = any> extends AntFormProps<Values> {
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
}
|
|
13
13
|
export declare const Form: {
|
|
14
|
-
<Values = any>(props: IFormProps<Values>):
|
|
15
|
-
useForm: useForm;
|
|
16
|
-
useWatch:
|
|
17
|
-
useFormInstance:
|
|
18
|
-
Item: (<
|
|
14
|
+
<Values = any>(props: IFormProps<Values>): JSX.Element;
|
|
15
|
+
useForm: typeof useForm;
|
|
16
|
+
useWatch: typeof __DTS_1__;
|
|
17
|
+
useFormInstance: typeof __DTS_2__;
|
|
18
|
+
Item: (<Values_1 = any>(props: FormItemProps<Values_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
19
19
|
useStatus: () => {
|
|
20
|
-
status?:
|
|
21
|
-
errors:
|
|
22
|
-
warnings:
|
|
20
|
+
status?: "" | "success" | "warning" | "error" | "validating" | undefined;
|
|
21
|
+
errors: ReactNode[];
|
|
22
|
+
warnings: ReactNode[];
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
List: FC<FormListProps>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { Input as AntInput
|
|
2
|
-
import {
|
|
1
|
+
import { Input as AntInput } from 'antd';
|
|
2
|
+
import { type InputProps as AntInputProps } from 'antd';
|
|
3
|
+
import { type InputRef } from 'antd';
|
|
4
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
3
5
|
export { Input, type InputRef, type IInputProps };
|
|
4
6
|
interface IInputProps extends AntInputProps {
|
|
5
7
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type InputNumberProps as AntInputNumberProps } from 'antd';
|
|
2
3
|
export interface IInputNumberProps extends AntInputNumberProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const InputNumber: (props: IInputNumberProps) =>
|
|
5
|
+
export declare const InputNumber: (props: IInputNumberProps) => JSX.Element;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type IButtonProps } from '../..';
|
|
2
3
|
export interface IActionProps {
|
|
3
4
|
type?: 'disabled' | 'primary' | 'default';
|
|
4
5
|
text?: string;
|
|
5
6
|
onClick?: () => void;
|
|
6
7
|
loading?: IButtonProps['loading'];
|
|
7
8
|
}
|
|
8
|
-
declare const Action: (props: IActionProps) =>
|
|
9
|
+
declare const Action: (props: IActionProps) => JSX.Element;
|
|
9
10
|
export default Action;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type DefaultOptionType } from 'antd/es/select';
|
|
3
|
+
import { type ReactNode } from 'react';
|
|
4
|
+
import { type ICascaderProps as IBaseCascaderProps } from '../..';
|
|
5
|
+
import { type Icons } from '../../../constants/Icons';
|
|
5
6
|
export interface ICascaderOption extends DefaultOptionType {
|
|
6
7
|
value: string;
|
|
7
8
|
label: ReactNode;
|
|
@@ -14,7 +15,7 @@ export interface IQueryItemCascaderProps {
|
|
|
14
15
|
icon?: keyof Pick<typeof Icons, 'empty' | 'event' | 'userAttribute' | 'eventAttribute'>;
|
|
15
16
|
errorMessage?: string;
|
|
16
17
|
placeholder?: string;
|
|
17
|
-
onChange?: (values: Array<number | string>, selectedOptions:
|
|
18
|
+
onChange?: (values: Array<number | string>, selectedOptions: any) => Promise<void>;
|
|
18
19
|
loadData?: (value: string) => Promise<void>;
|
|
19
20
|
value?: Array<number | string>;
|
|
20
21
|
disabled?: boolean;
|
|
@@ -22,5 +23,5 @@ export interface IQueryItemCascaderProps {
|
|
|
22
23
|
defaultOpen?: IBaseCascaderProps['defaultOpen'];
|
|
23
24
|
suffixIcon?: IBaseCascaderProps['suffixIcon'];
|
|
24
25
|
}
|
|
25
|
-
declare const Cascader: (props: IQueryItemCascaderProps) =>
|
|
26
|
+
declare const Cascader: (props: IQueryItemCascaderProps) => JSX.Element;
|
|
26
27
|
export default Cascader;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
export interface INumberInputProps {
|
|
3
4
|
value?: number | undefined;
|
|
4
5
|
disabled?: boolean;
|
|
@@ -11,5 +12,5 @@ export interface INumberInputProps {
|
|
|
11
12
|
onChange?: (value: number | undefined) => void;
|
|
12
13
|
onPressEnter?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
13
14
|
}
|
|
14
|
-
declare const NumberInput: (props: INumberInputProps) =>
|
|
15
|
+
declare const NumberInput: (props: INumberInputProps) => JSX.Element;
|
|
15
16
|
export default NumberInput;
|