@mparticle/aquarium 1.61.0 → 1.62.0-antd-v6-react-v19.1
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/README.md +77 -7
- package/dist/aquarium.js +14283 -14438
- package/dist/aquarium.umd.cjs +53 -57
- package/dist/src/components/UXPatterns/PermissionsRestrictions/UnauthorizedTooltip.d.ts +1 -1
- package/dist/src/components/data-display/Card/Card.d.ts +2 -2
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +2 -2
- package/dist/src/components/data-display/Image/Image.d.ts +2 -2
- package/dist/src/components/data-display/Table/Table.d.ts +9 -2
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -1
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +21 -18
- package/dist/src/components/data-entry/Form/Form.d.ts +1 -1
- package/dist/src/components/data-entry/Select/Select.d.ts +2 -2
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +1 -1
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +1 -1
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +2 -2
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +1 -1
- package/dist/src/components/navigation/Menu/Menu.d.ts +2 -2
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +0 -1
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +2 -2
- package/dist/src/components/other/ConfigProvider/ConfigProvider.d.ts +13 -0
- package/package.json +14 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ITooltipProps } from '../..';
|
|
3
|
-
export interface IUnauthorizedTooltipProps extends Omit<ITooltipProps, 'title'> {
|
|
3
|
+
export interface IUnauthorizedTooltipProps extends Omit<ITooltipProps, 'title' | 'children'> {
|
|
4
4
|
isAuthorized: boolean;
|
|
5
5
|
children: React.ReactElement;
|
|
6
6
|
unauthorizedMessage?: React.ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardGridProps } from 'antd/es/card';
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
4
|
/// <reference types="react" />
|
|
5
|
-
import { type CardProps as AntCardProps } from 'antd';
|
|
5
|
+
import { CardMetaProps, type CardProps as AntCardProps } from 'antd';
|
|
6
6
|
export interface ICardProps extends AntCardProps {
|
|
7
7
|
}
|
|
8
8
|
export declare const Card: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DescriptionsItemProps } from 'antd/es/descriptions/Item';
|
|
2
|
-
import { FC } from 'react';
|
|
2
|
+
import { FC, PropsWithChildren } from 'react';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
4
|
/// <reference types="react" />
|
|
5
5
|
import { type DescriptionsProps as AntDescriptionsProps } from 'antd';
|
|
@@ -7,5 +7,5 @@ export interface IDescriptionsProps extends AntDescriptionsProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const Descriptions: {
|
|
9
9
|
(props: IDescriptionsProps): JSX.Element;
|
|
10
|
-
Item: FC<DescriptionsItemProps
|
|
10
|
+
Item: FC<PropsWithChildren<DescriptionsItemProps>>;
|
|
11
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PreviewGroupProps } from 'antd/es/image/PreviewGroup';
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
4
|
/// <reference types="react" />
|
|
@@ -7,5 +7,5 @@ export interface IImageProps extends AntImageProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const Image: {
|
|
9
9
|
(props: IImageProps): JSX.Element;
|
|
10
|
-
PreviewGroup: FC<
|
|
10
|
+
PreviewGroup: FC<PreviewGroupProps>;
|
|
11
11
|
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SummaryCellProps } from '@rc-component/table/lib/Footer/Cell';
|
|
2
|
+
import { FooterRowProps } from '@rc-component/table/lib/Footer/Row';
|
|
3
|
+
import { SummaryProps } from '@rc-component/table/lib/Footer/Summary';
|
|
4
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
5
|
import { ColumnGroupProps } from 'antd/es/table/ColumnGroup';
|
|
3
6
|
import { JSX } from 'react/jsx-runtime';
|
|
7
|
+
/// <reference types="react" />
|
|
4
8
|
import { TableColumnProps, type TableProps as AntTableProps } from 'antd';
|
|
5
9
|
import { type AnyObject } from 'antd/es/_util/type';
|
|
6
10
|
import { type ColumnType, type ExpandableConfig } from 'antd/es/table/interface';
|
|
@@ -12,7 +16,10 @@ export declare const Table: {
|
|
|
12
16
|
<RecordType extends AnyObject = AnyObject>({ className, ...props }: ITableProps<RecordType>): JSX.Element;
|
|
13
17
|
Column: <RecordType_1 extends AnyObject>(_: TableColumnProps<RecordType_1>) => null;
|
|
14
18
|
ColumnGroup: <RecordType_2 extends AnyObject>(_: ColumnGroupProps<RecordType_2>) => null;
|
|
15
|
-
Summary:
|
|
19
|
+
Summary: FC<PropsWithChildren<SummaryProps>> & {
|
|
20
|
+
Row: FC<PropsWithChildren<FooterRowProps>>;
|
|
21
|
+
Cell: FC<PropsWithChildren<SummaryCellProps>>;
|
|
22
|
+
};
|
|
16
23
|
EXPAND_COLUMN: {};
|
|
17
24
|
SELECTION_NONE: "SELECT_NONE";
|
|
18
25
|
SELECTION_ALL: "SELECT_ALL";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { TabPaneProps } from 'antd/es/tabs/TabPane';
|
|
1
2
|
import { FC } from 'react';
|
|
2
3
|
import { JSX } from 'react/jsx-runtime';
|
|
3
4
|
/// <reference types="react" />
|
|
4
|
-
import {
|
|
5
|
+
import { type TabsProps as AntTabsProps } from 'antd';
|
|
5
6
|
export interface ITabsProps extends AntTabsProps {
|
|
6
7
|
}
|
|
7
8
|
export declare const Tabs: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from 'react/jsx-runtime';
|
|
2
|
-
import { type
|
|
3
|
-
export interface ITooltipProps extends
|
|
2
|
+
import { type TooltipProps as AntTooltipProps } from 'antd';
|
|
3
|
+
export interface ITooltipProps extends AntTooltipProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Dayjs } from 'dayjs';
|
|
2
2
|
import { ButtonSize } from 'antd/es/button';
|
|
3
|
-
import { RangePickerProps, PickerRef } from 'rc-picker';
|
|
3
|
+
import { RangePickerProps, PickerRef } from '@rc-component/picker';
|
|
4
4
|
import { ReactElement, JSXElementConstructor, ForwardRefExoticComponent, CSSProperties, RefAttributes } from 'react';
|
|
5
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';
|
|
6
|
+
import { PickerPropsWithMultiple, DatePickerPickerClassNames, DatePickerStylesType, GenericTimePickerProps } from 'antd/es/date-picker/generatePicker/interface';
|
|
8
7
|
import { AnyObject } from 'antd/es/_util/type';
|
|
9
8
|
import { JSX } from 'react/jsx-runtime';
|
|
10
9
|
/// <reference types="react" />
|
|
@@ -16,63 +15,67 @@ export interface IRangePickerProps extends AntRangePickerProps {
|
|
|
16
15
|
}
|
|
17
16
|
export declare const DatePicker: {
|
|
18
17
|
(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>>) & {
|
|
18
|
+
generatePicker: <DateType extends AnyObject = AnyObject>(generateConfig: GenerateConfig<DateType>) => (<ValueType = DateType, IsMultiple extends boolean = false>(props: PickerPropsWithMultiple<DateType, PickerProps<DateType>, ValueType, IsMultiple>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
20
19
|
displayName?: string | undefined;
|
|
21
20
|
} & {
|
|
22
21
|
displayName?: string | undefined;
|
|
23
|
-
WeekPicker: (<ValueType_1 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
22
|
+
WeekPicker: (<ValueType_1 = DateType, IsMultiple_1 extends boolean = false>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_1, IsMultiple_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
24
23
|
displayName?: string | undefined;
|
|
25
24
|
};
|
|
26
|
-
MonthPicker: (<ValueType_2 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_2>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
25
|
+
MonthPicker: (<ValueType_2 = DateType, IsMultiple_2 extends boolean = false>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_2, IsMultiple_2>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
27
26
|
displayName?: string | undefined;
|
|
28
27
|
};
|
|
29
|
-
YearPicker: (<ValueType_3 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_3>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
28
|
+
YearPicker: (<ValueType_3 = DateType, IsMultiple_3 extends boolean = false>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_3, IsMultiple_3>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
30
29
|
displayName?: string | undefined;
|
|
31
30
|
};
|
|
32
|
-
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<DateType>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
31
|
+
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<DateType>, "classNames" | "styles" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
33
32
|
locale?: PickerLocale | undefined;
|
|
34
33
|
size?: ButtonSize;
|
|
35
34
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
36
35
|
bordered?: boolean | undefined;
|
|
37
|
-
status?: "" | "warning" | "error" | undefined;
|
|
36
|
+
status?: "" | "success" | "warning" | "error" | "validating" | undefined;
|
|
38
37
|
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
39
38
|
dropdownClassName?: string | undefined;
|
|
40
39
|
popupClassName?: string | undefined;
|
|
41
40
|
rootClassName?: string | undefined;
|
|
42
41
|
popupStyle?: CSSProperties | undefined;
|
|
42
|
+
classNames?: DatePickerPickerClassNames<RangePickerProps<DateType>> | undefined;
|
|
43
|
+
styles?: DatePickerStylesType<RangePickerProps<DateType>> | undefined;
|
|
43
44
|
} & RefAttributes<PickerRef>>;
|
|
44
|
-
TimePicker: (<ValueType_4 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<GenericTimePickerProps<DateType>, "picker">, ValueType_4>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
45
|
+
TimePicker: (<ValueType_4 = DateType, IsMultiple_4 extends boolean = false>(props: PickerPropsWithMultiple<DateType, Omit<GenericTimePickerProps<DateType>, "picker">, ValueType_4, IsMultiple_4>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
45
46
|
displayName?: string | undefined;
|
|
46
47
|
};
|
|
47
|
-
QuarterPicker: (<ValueType_5 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_5>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
48
|
+
QuarterPicker: (<ValueType_5 = DateType, IsMultiple_5 extends boolean = false>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_5, IsMultiple_5>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
48
49
|
displayName?: string | undefined;
|
|
49
50
|
};
|
|
50
51
|
};
|
|
51
|
-
QuarterPicker: (<ValueType_6 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_6>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
52
|
+
QuarterPicker: (<ValueType_6 = Dayjs, IsMultiple_6 extends boolean = false>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_6, IsMultiple_6>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
52
53
|
displayName?: string | undefined;
|
|
53
54
|
};
|
|
54
|
-
MonthPicker: (<ValueType_7 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_7>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
55
|
+
MonthPicker: (<ValueType_7 = Dayjs, IsMultiple_7 extends boolean = false>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_7, IsMultiple_7>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
55
56
|
displayName?: string | undefined;
|
|
56
57
|
};
|
|
57
|
-
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
58
|
+
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<Dayjs>, "classNames" | "styles" | "locale" | "generateConfig" | "hideHeader"> & {
|
|
58
59
|
locale?: PickerLocale | undefined;
|
|
59
60
|
size?: ButtonSize;
|
|
60
61
|
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
61
62
|
bordered?: boolean | undefined;
|
|
62
|
-
status?: "" | "warning" | "error" | undefined;
|
|
63
|
+
status?: "" | "success" | "warning" | "error" | "validating" | undefined;
|
|
63
64
|
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
64
65
|
dropdownClassName?: string | undefined;
|
|
65
66
|
popupClassName?: string | undefined;
|
|
66
67
|
rootClassName?: string | undefined;
|
|
67
68
|
popupStyle?: CSSProperties | undefined;
|
|
69
|
+
classNames?: DatePickerPickerClassNames<RangePickerProps<Dayjs>> | undefined;
|
|
70
|
+
styles?: DatePickerStylesType<RangePickerProps<Dayjs>> | undefined;
|
|
68
71
|
} & RefAttributes<PickerRef>>;
|
|
69
|
-
TimePicker: (<ValueType_8 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<GenericTimePickerProps<Dayjs>, "picker">, ValueType_8>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
72
|
+
TimePicker: (<ValueType_8 = Dayjs, IsMultiple_8 extends boolean = false>(props: PickerPropsWithMultiple<Dayjs, Omit<GenericTimePickerProps<Dayjs>, "picker">, ValueType_8, IsMultiple_8>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
70
73
|
displayName?: string | undefined;
|
|
71
74
|
};
|
|
72
|
-
WeekPicker: (<ValueType_9 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_9>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
75
|
+
WeekPicker: (<ValueType_9 = Dayjs, IsMultiple_9 extends boolean = false>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_9, IsMultiple_9>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
73
76
|
displayName?: string | undefined;
|
|
74
77
|
};
|
|
75
|
-
YearPicker: (<ValueType_10 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_10>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
78
|
+
YearPicker: (<ValueType_10 = Dayjs, IsMultiple_10 extends boolean = false>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_10, IsMultiple_10>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
76
79
|
displayName?: string | undefined;
|
|
77
80
|
};
|
|
78
81
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormProviderProps } from 'antd/es/form/context';
|
|
2
2
|
import { FormListProps, ErrorListProps } from 'antd/es/form';
|
|
3
3
|
import { default as __DTS_2__ } from 'antd/es/form/hooks/useFormInstance';
|
|
4
|
-
import { default as __DTS_1__ } from 'rc-
|
|
4
|
+
import { default as __DTS_1__ } from '@rc-component/form/es/useWatch';
|
|
5
5
|
import { useForm } from 'antd/es/form/Form';
|
|
6
6
|
import { JSX } from 'react/jsx-runtime';
|
|
7
7
|
import { FormItemProps, type FormProps as AntFormProps } from 'antd';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OptionGroupFC } from 'rc-select/lib/OptGroup';
|
|
2
|
-
import { OptionFC } from 'rc-select/lib/Option';
|
|
1
|
+
import { OptionGroupFC } from '@rc-component/select/lib/OptGroup';
|
|
2
|
+
import { OptionFC } from '@rc-component/select/lib/Option';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
4
|
import type { SelectProps as AntSelectProps } from 'antd';
|
|
5
5
|
import type { BaseOptionType as AntBaseOptionType, DefaultOptionType as AntDefaultOptionType } from 'antd/es/select';
|
|
@@ -3,11 +3,11 @@ import { SkeletonImageProps } from 'antd/es/skeleton/Image';
|
|
|
3
3
|
import { SkeletonNodeProps } from 'antd/es/skeleton/Node';
|
|
4
4
|
import { SkeletonButtonProps } from 'antd/es/skeleton/Button';
|
|
5
5
|
import { AvatarProps } from 'antd/es/skeleton/Avatar';
|
|
6
|
-
import { FC } from 'react';
|
|
7
6
|
import { JSX } from 'react/jsx-runtime';
|
|
8
|
-
|
|
7
|
+
import { FC, type ReactNode } from 'react';
|
|
9
8
|
import { type SkeletonProps as AntSkeletonProps } from 'antd';
|
|
10
9
|
export interface ISkeletonProps extends Omit<AntSkeletonProps, 'active'> {
|
|
10
|
+
children?: ReactNode;
|
|
11
11
|
}
|
|
12
12
|
export declare const Skeleton: {
|
|
13
13
|
(props: ISkeletonProps): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BackTopProps } from 'antd/es/float-button/
|
|
1
|
+
import { BackTopProps } from 'antd/es/float-button/BackTop';
|
|
2
2
|
import { ForwardRefExoticComponent, RefAttributes, FC } from 'react';
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
4
|
/// <reference types="react" />
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MenuDividerProps } from 'antd/es/menu';
|
|
2
|
-
import { MenuItemGroupProps } from 'rc-menu';
|
|
2
|
+
import { MenuItemGroupProps } from '@rc-component/menu';
|
|
3
3
|
import { FC, FunctionComponent, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
4
|
import { JSX } from 'react/jsx-runtime';
|
|
5
5
|
/// <reference types="react" />
|
|
6
6
|
import { SubMenuProps, MenuItemProps, type MenuProps } from 'antd';
|
|
7
7
|
import { type MenuProps as AntMenuProps } from 'antd';
|
|
8
|
-
import { type MenuInfo as RCMenuInfo } from 'rc-menu/lib/interface';
|
|
8
|
+
import { type MenuInfo as RCMenuInfo } from '@rc-component/menu/lib/interface';
|
|
9
9
|
type AntDMenuItemType = Required<MenuProps>['items'][number];
|
|
10
10
|
type AntDMenuItemGroupType = Required<MenuProps>['items'][number];
|
|
11
11
|
type AntDMenuDividerType = Required<MenuProps>['items'][number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TreeNodeProps } from 'rc-tree';
|
|
2
|
-
import { default as __DTS_1__ } from 'rc-tree/lib/Tree';
|
|
1
|
+
import { TreeNodeProps } from '@rc-component/tree';
|
|
2
|
+
import { default as __DTS_1__ } from '@rc-component/tree/lib/Tree';
|
|
3
3
|
import { ReactNode, RefAttributes, ReactElement, JSXElementConstructor, FC } from 'react';
|
|
4
4
|
import { JSX } from 'react/jsx-runtime';
|
|
5
5
|
/// <reference types="react" />
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as __DTS_1__ } from 'antd/es/config-provider/hooks/useConfig';
|
|
2
|
+
import { Context } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { ConfigConsumerProps, GlobalConfigProps, type ConfigProviderProps as AntConfigProviderProps } from 'antd/es/config-provider';
|
|
6
|
+
export interface IConfigProviderProps extends AntConfigProviderProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const ConfigProvider: {
|
|
9
|
+
(props: IConfigProviderProps): JSX.Element;
|
|
10
|
+
ConfigContext: Context<ConfigConsumerProps>;
|
|
11
|
+
useConfig: typeof __DTS_1__;
|
|
12
|
+
config: (props: GlobalConfigProps) => void;
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.62.0-antd-v6-react-v19.1",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": "https://github.com/mParticle/aquarium/",
|
|
12
12
|
"publishConfig": {
|
|
13
|
-
"access": "public"
|
|
13
|
+
"access": "public",
|
|
14
|
+
"registry": "https://registry.npmjs.org"
|
|
14
15
|
},
|
|
15
16
|
"type": "module",
|
|
16
17
|
"types": "dist/index.d.ts",
|
|
@@ -24,17 +25,21 @@
|
|
|
24
25
|
"dist/style.ts",
|
|
25
26
|
"dist/src"
|
|
26
27
|
],
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=18.0.0"
|
|
30
|
+
},
|
|
27
31
|
"peerDependencies": {
|
|
28
|
-
"antd": "
|
|
32
|
+
"antd": "^6.1.1",
|
|
29
33
|
"dayjs": "1.11.x",
|
|
30
|
-
"react": ">=
|
|
31
|
-
"react-dom": ">=
|
|
34
|
+
"react": ">=18.0.0",
|
|
35
|
+
"react-dom": ">=18.0.0"
|
|
32
36
|
},
|
|
33
37
|
"devDependencies": {
|
|
34
38
|
"@commitlint/cli": "19.2.1",
|
|
35
39
|
"@commitlint/config-conventional": "19.1.0",
|
|
36
40
|
"@faker-js/faker": "8.4.1",
|
|
37
41
|
"@semantic-release/changelog": "6.0.3",
|
|
42
|
+
"@semantic-release/exec": "7.1.0",
|
|
38
43
|
"@semantic-release/git": "10.0.1",
|
|
39
44
|
"@storybook/addon-essentials": "8.3.6",
|
|
40
45
|
"@storybook/addon-interactions": "8.3.6",
|
|
@@ -63,8 +68,8 @@
|
|
|
63
68
|
"eslint-plugin-react": "7.33.2",
|
|
64
69
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
65
70
|
"factory.ts": "1.4.1",
|
|
66
|
-
"http-server": "14.1.1",
|
|
67
71
|
"highcharts": "12.1.2",
|
|
72
|
+
"http-server": "14.1.1",
|
|
68
73
|
"husky": "9.0.11",
|
|
69
74
|
"jsdom": "24.1.3",
|
|
70
75
|
"mdx-mermaid": "^2.0.1",
|
|
@@ -73,6 +78,7 @@
|
|
|
73
78
|
"postcss-nested": "6.2.0",
|
|
74
79
|
"prettier": "3.3.2",
|
|
75
80
|
"remark-gfm": "^4.0.0",
|
|
81
|
+
"semantic-release": "25.0.2",
|
|
76
82
|
"shx": "^0.3.4",
|
|
77
83
|
"storybook": "8.3.6",
|
|
78
84
|
"stylelint": "16.2.0",
|
|
@@ -128,8 +134,8 @@
|
|
|
128
134
|
}
|
|
129
135
|
},
|
|
130
136
|
"dependencies": {
|
|
131
|
-
"lodash.clonedeep": "4.5.0",
|
|
132
137
|
"@types/fnv-plus": "1.3.1",
|
|
133
|
-
"fnv-plus": "1.3.1"
|
|
138
|
+
"fnv-plus": "1.3.1",
|
|
139
|
+
"lodash.clonedeep": "4.5.0"
|
|
134
140
|
}
|
|
135
141
|
}
|