@mparticle/aquarium 1.56.0 → 1.56.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 +1 -4
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +5 -2
- package/dist/src/components/data-display/Badge/Badge.d.ts +5 -2
- package/dist/src/components/data-display/Card/Card.d.ts +6 -3
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +5 -3
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +5 -2
- package/dist/src/components/data-display/Empty/Empty.d.ts +2 -1
- package/dist/src/components/data-display/Image/Image.d.ts +5 -2
- package/dist/src/components/data-display/List/List.d.ts +4 -2
- package/dist/src/components/data-display/Popover/Popover.d.ts +2 -1
- package/dist/src/components/data-display/Segmented/Segmented.d.ts +2 -1
- package/dist/src/components/data-display/Table/Table.d.ts +8 -5
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +5 -3
- package/dist/src/components/data-display/Tag/Tag.d.ts +3 -2
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -1
- package/dist/src/components/data-display/Tour/Tour.d.ts +2 -1
- package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +2 -1
- package/dist/src/components/data-entry/Cascader/Cascader.d.ts +4 -2
- package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +5 -2
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +31 -22
- package/dist/src/components/data-entry/Form/Form.d.ts +16 -10
- package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/Action.d.ts +3 -2
- package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +4 -3
- package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +8 -3
- package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +13 -8
- package/dist/src/components/data-entry/QueryItem/Text.d.ts +6 -1
- package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +2 -1
- package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +8 -4
- package/dist/src/components/data-entry/Radio/Radio.d.ts +6 -3
- package/dist/src/components/data-entry/Radio/RadioButton.d.ts +2 -1
- package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +2 -1
- package/dist/src/components/data-entry/Select/Select.d.ts +6 -3
- package/dist/src/components/data-entry/Switch/Switch.d.ts +2 -1
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +6 -3
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +5 -2
- package/dist/src/components/data-entry/Upload/Upload.d.ts +6 -3
- package/dist/src/components/feedback/Alert/Alert.d.ts +4 -2
- package/dist/src/components/feedback/Drawer/Drawer.d.ts +2 -1
- package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +3 -2
- package/dist/src/components/feedback/Message/Message.d.ts +14 -10
- package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +3 -2
- package/dist/src/components/feedback/Modal/ErrorModal/ErrorModal.d.ts +1 -1
- package/dist/src/components/feedback/Modal/Modal.d.ts +10 -7
- package/dist/src/components/feedback/Notification/Notification.d.ts +8 -4
- package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +2 -1
- package/dist/src/components/feedback/Progress/Progress.d.ts +2 -1
- package/dist/src/components/feedback/Result/Result.d.ts +6 -4
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +13 -6
- package/dist/src/components/feedback/Spin/Spin.d.ts +4 -2
- package/dist/src/components/general/Button/Button.d.ts +4 -2
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +7 -4
- package/dist/src/components/general/Icon/Icon.d.ts +1 -1
- package/dist/src/components/general/Typography/Typography.d.ts +6 -5
- package/dist/src/components/icons/index.d.ts +136 -136
- package/dist/src/components/index.d.ts +2 -2
- package/dist/src/components/layout/Center/Center.d.ts +3 -2
- package/dist/src/components/layout/Divider/Divider.d.ts +2 -1
- package/dist/src/components/layout/Flex/Flex.d.ts +2 -1
- package/dist/src/components/layout/Layout/Layout.d.ts +8 -6
- package/dist/src/components/layout/Space/Space.d.ts +5 -2
- package/dist/src/components/layout/Splitter/Splitter.d.ts +3 -2
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +5 -3
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +5 -3
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +5 -2
- package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +6 -5
- package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +2 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +4 -3
- 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 +4 -3
- 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 +3 -2
- 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 -6
- package/dist/src/components/navigation/Pagination/Pagination.d.ts +2 -1
- package/dist/src/components/navigation/Steps/Steps.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +6 -2
- package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +2 -1
- package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +2 -1
- package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +4 -2
- package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +5 -3
- package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +7 -4
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +10 -6
- package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +2 -1
- package/dist/src/constants/Icons.d.ts +1 -1
- package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +2 -2
- 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 +3 -3
- package/dist/src/shared/services/NavigationItemsService.d.ts +1 -1
- package/dist/src/shared/services/routeAuthorizations/root-authorizations.d.ts +2 -2
- package/dist/src/utils/ExampleStory.d.ts +2 -1
- package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +2 -1
- package/package.json +2 -2
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type ISuiteSelectorOptions } from '../GlobalNavigationItems';
|
|
2
3
|
type ISuiteSelectorContentProps = ISuiteSelectorOptions;
|
|
3
|
-
export declare function SuiteSelectorContent(props: ISuiteSelectorContentProps):
|
|
4
|
+
export declare function SuiteSelectorContent(props: ISuiteSelectorContentProps): JSX.Element;
|
|
4
5
|
export {};
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type SuiteLink, type SuiteLinks } from '../GlobalNavigationItems';
|
|
2
3
|
interface ISuiteSelectorSuiteLinkProps {
|
|
3
4
|
link: SuiteLink;
|
|
4
5
|
onLinkClick: (link: SuiteLink) => void;
|
|
5
6
|
unauthorizedLinks?: SuiteLinks[];
|
|
6
7
|
activeLink: SuiteLinks;
|
|
7
8
|
}
|
|
8
|
-
export declare function SuiteSelectorSuiteLink(props: ISuiteSelectorSuiteLinkProps):
|
|
9
|
+
export declare function SuiteSelectorSuiteLink(props: ISuiteSelectorSuiteLinkProps): JSX.Element;
|
|
9
10
|
export {};
|
package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
export declare const WorkspaceNoResults: () => JSX.Element;
|
package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type IAvatarProps, type INavigationOrg } from '../../..';
|
|
2
3
|
export interface IWorkspaceSelectorProps {
|
|
3
4
|
orgs: INavigationOrg[];
|
|
4
5
|
avatarOptions?: IAvatarProps;
|
|
@@ -8,4 +9,4 @@ export interface IWorkspaceSelectorProps {
|
|
|
8
9
|
withoutContainer?: boolean;
|
|
9
10
|
};
|
|
10
11
|
}
|
|
11
|
-
export declare function WorkspaceSelector(props: IWorkspaceSelectorProps):
|
|
12
|
+
export declare function WorkspaceSelector(props: IWorkspaceSelectorProps): JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type ChangeEvent, type RefObject } from 'react';
|
|
2
|
-
import { type InputRef, type IWorkspaceSelectorDisplayItem } from '
|
|
3
|
+
import { type InputRef, type IWorkspaceSelectorDisplayItem } from '../../..';
|
|
3
4
|
type WorkspaceSelectorContentProps = {
|
|
4
5
|
onSearch: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
5
6
|
searchTerm: string;
|
|
@@ -13,5 +14,5 @@ type WorkspaceSelectorContentProps = {
|
|
|
13
14
|
withoutContainer?: boolean;
|
|
14
15
|
};
|
|
15
16
|
};
|
|
16
|
-
export declare function WorkspaceSelectorContent(props: WorkspaceSelectorContentProps):
|
|
17
|
+
export declare function WorkspaceSelectorContent(props: WorkspaceSelectorContentProps): JSX.Element;
|
|
17
18
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type IWorkspaceSelectorDisplayItem } from '../../..';
|
|
2
3
|
type WorkspaceSelectorContentItemsProps = {
|
|
3
4
|
menuItems: IWorkspaceSelectorDisplayItem[];
|
|
4
5
|
};
|
|
5
|
-
export declare function WorkspaceSelectorContentItems({ menuItems }: WorkspaceSelectorContentItemsProps):
|
|
6
|
+
export declare function WorkspaceSelectorContentItems({ menuItems }: WorkspaceSelectorContentItemsProps): JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type INavigationOrg } from '
|
|
1
|
+
import { type INavigationOrg } from '../..';
|
|
2
2
|
export declare function generateOrgs(orgs: number, accounts: number, workspaces: number): INavigationOrg[];
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { MenuDividerProps } from 'antd/es/menu';
|
|
2
|
+
import { MenuItemGroupProps } from 'rc-menu';
|
|
3
|
+
import { FC, FunctionComponent, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
5
|
/// <reference types="react" />
|
|
2
|
-
import { type MenuProps } from 'antd';
|
|
6
|
+
import { SubMenuProps, MenuItemProps, type MenuProps } from 'antd';
|
|
3
7
|
import { type MenuProps as AntMenuProps } from 'antd';
|
|
4
8
|
import { type MenuInfo as RCMenuInfo } from 'rc-menu/lib/interface';
|
|
5
9
|
type AntDMenuItemType = Required<MenuProps>['items'][number];
|
|
@@ -12,9 +16,9 @@ export interface IMenuInfo extends RCMenuInfo {
|
|
|
12
16
|
}
|
|
13
17
|
export { type AntDMenuItemType as MenuItemType, type AntDMenuItemGroupType as MenuItemGroupType, type AntDMenuDividerType as MenuDividerType, type AntDSubMenuType as SubMenuType, };
|
|
14
18
|
export declare const Menu: {
|
|
15
|
-
(props: IMenuProps):
|
|
16
|
-
SubMenu:
|
|
17
|
-
Item: Omit<
|
|
18
|
-
ItemGroup:
|
|
19
|
-
Divider:
|
|
19
|
+
(props: IMenuProps): JSX.Element;
|
|
20
|
+
SubMenu: FC<SubMenuProps>;
|
|
21
|
+
Item: Omit<FunctionComponent<MenuItemProps>, ""> & (<T extends MenuItemProps>(props: T extends infer U extends MenuItemProps ? unknown extends U ? MenuItemProps : U : MenuItemProps, deprecatedLegacyContext?: any) => ReactNode);
|
|
22
|
+
ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
23
|
+
Divider: FC<MenuDividerProps>;
|
|
20
24
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type PaginationProps as AntPaginationProps } from 'antd';
|
|
2
3
|
export interface IPaginationProps extends AntPaginationProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Pagination: (props: IPaginationProps) =>
|
|
5
|
+
export declare const Pagination: (props: IPaginationProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type StepsProps as AntStepsProps } from 'antd';
|
|
2
3
|
export interface IStepsProps extends AntStepsProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Steps: (props: IStepsProps) =>
|
|
5
|
+
export declare const Steps: (props: IStepsProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type AffixProps as AntAffixProps } from 'antd';
|
|
2
3
|
export interface IAffixProps extends AntAffixProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Affix: (props: IAffixProps) =>
|
|
5
|
+
export declare const Affix: (props: IAffixProps) => JSX.Element;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { GenerateConfig } from 'rc-picker/lib/generate';
|
|
3
|
+
import { AnyObject } from 'antd/es/_util/type';
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
5
|
/// <reference types="react" />
|
|
2
6
|
import { type CalendarProps as AntCalendarProps } from 'antd';
|
|
3
7
|
import { type Dayjs } from 'dayjs';
|
|
4
8
|
export interface ICalendarProps extends AntCalendarProps<Dayjs> {
|
|
5
9
|
}
|
|
6
10
|
export declare const Calendar: {
|
|
7
|
-
(props: ICalendarProps):
|
|
8
|
-
generateCalendar: <DateType extends
|
|
11
|
+
(props: ICalendarProps): JSX.Element;
|
|
12
|
+
generateCalendar: <DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>) => FC<Readonly<AntCalendarProps<DateType>>>;
|
|
9
13
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type CarouselProps as AntCarouselProps } from 'antd';
|
|
2
3
|
export interface ICarouselProps extends AntCarouselProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Carousel: (props: ICarouselProps) =>
|
|
5
|
+
export declare const Carousel: (props: ICarouselProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import type { ColorPickerProps as AntColorPickerProps } from 'antd';
|
|
2
3
|
export interface IColorPickerProps extends AntColorPickerProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const ColorPicker: (props: IColorPickerProps) =>
|
|
5
|
+
export declare const ColorPicker: (props: IColorPickerProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type QRCodeProps as AntQRCodeProps } from 'antd';
|
|
2
3
|
export interface IQRCodeProps extends AntQRCodeProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const QRCode: (props: IQRCodeProps) =>
|
|
5
|
+
export declare const QRCode: (props: IQRCodeProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import type { RateProps as AntRateProps } from 'antd';
|
|
2
3
|
export interface IRateProps extends AntRateProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Rate: (props: IRateProps) =>
|
|
5
|
+
export declare const Rate: (props: IRateProps) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import { type SliderRangeProps } from 'antd/es/slider';
|
|
2
3
|
import { type SliderSingleProps } from 'antd/es/slider';
|
|
3
4
|
export type ISliderProps = SliderSingleProps | SliderRangeProps;
|
|
4
|
-
export declare const Slider: (props: ISliderProps) =>
|
|
5
|
+
export declare const Slider: (props: ISliderProps) => JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { NamedExoticComponent } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
3
|
/// <reference types="react" />
|
|
2
4
|
import { type StatisticProps as AntStatisticProps } from 'antd';
|
|
3
5
|
import { type CountdownProps as AntCountdownProps } from 'antd';
|
|
@@ -8,6 +10,6 @@ export interface ICountdownProps extends AntCountdownProps {
|
|
|
8
10
|
}
|
|
9
11
|
export type valueType = AntValueType;
|
|
10
12
|
export declare const Statistic: {
|
|
11
|
-
(props: IStatisticProps):
|
|
12
|
-
Countdown:
|
|
13
|
+
(props: IStatisticProps): JSX.Element;
|
|
14
|
+
Countdown: NamedExoticComponent<AntCountdownProps>;
|
|
13
15
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
3
|
/// <reference types="react" />
|
|
2
|
-
import { type TimelineProps as AntTimelineProps } from 'antd';
|
|
4
|
+
import { TimelineItemProps, type TimelineProps as AntTimelineProps } from 'antd';
|
|
3
5
|
export interface ITimelineProps extends AntTimelineProps {
|
|
4
6
|
}
|
|
5
7
|
export declare const Timeline: {
|
|
6
|
-
(props: ITimelineProps):
|
|
7
|
-
Item:
|
|
8
|
+
(props: ITimelineProps): JSX.Element;
|
|
9
|
+
Item: FC<TimelineItemProps>;
|
|
8
10
|
};
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
import { JSX, FC } from 'react';
|
|
2
|
+
import { KeyWiseTransferItem, TransferListProps, TransferSearchProps, TransferOperationProps } from 'antd/es/transfer';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
4
|
/// <reference types="react" />
|
|
2
5
|
import { type TransferProps as AntTransferProps } from 'antd';
|
|
3
6
|
export interface ITransferProps extends AntTransferProps {
|
|
4
7
|
}
|
|
5
8
|
export declare const Transfer: {
|
|
6
|
-
(props: ITransferProps):
|
|
9
|
+
(props: ITransferProps): JSX.Element;
|
|
7
10
|
List: {
|
|
8
|
-
<RecordType extends
|
|
11
|
+
<RecordType extends KeyWiseTransferItem>(props: TransferListProps<RecordType>): JSX.Element;
|
|
9
12
|
displayName: string;
|
|
10
13
|
};
|
|
11
|
-
Search:
|
|
12
|
-
Operation:
|
|
14
|
+
Search: FC<TransferSearchProps>;
|
|
15
|
+
Operation: FC<TransferOperationProps>;
|
|
13
16
|
};
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { TreeNodeProps } from 'rc-tree';
|
|
2
|
+
import { default as __DTS_1__ } from 'rc-tree/lib/Tree';
|
|
3
|
+
import { ReactNode, RefAttributes, ReactElement, JSXElementConstructor, FC } from 'react';
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
5
|
/// <reference types="react" />
|
|
2
6
|
import { type TreeDataNode } from 'antd';
|
|
3
7
|
import { type TreeProps as AntTreeProps } from 'antd';
|
|
4
|
-
import
|
|
8
|
+
import { DirectoryTreeProps, BasicDataNode, DataNode } from 'antd/es/tree';
|
|
5
9
|
export interface ITreeProps<T extends BasicDataNode = DataNode> extends AntTreeProps<T> {
|
|
6
10
|
}
|
|
7
11
|
export interface ITreeData extends TreeDataNode {
|
|
8
12
|
}
|
|
9
13
|
export declare const Tree: {
|
|
10
|
-
<T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>):
|
|
11
|
-
DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props:
|
|
12
|
-
children?:
|
|
13
|
-
} &
|
|
14
|
-
TreeNode:
|
|
14
|
+
<T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): JSX.Element;
|
|
15
|
+
DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props: DirectoryTreeProps<T_1> & {
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
} & RefAttributes<__DTS_1__<TreeDataNode>>) => ReactElement<any, string | JSXElementConstructor<any>>) & Pick<FC<{}>, "displayName">;
|
|
18
|
+
TreeNode: FC<Readonly<TreeNodeProps<TreeDataNode>>>;
|
|
15
19
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
import type { WatermarkProps as AntWatermarkProps } from 'antd';
|
|
2
3
|
export interface IWatermarkProps extends AntWatermarkProps {
|
|
3
4
|
}
|
|
4
|
-
export declare const Watermark: (props: IWatermarkProps) =>
|
|
5
|
+
export declare const Watermark: (props: IWatermarkProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IconOptions, type IconNames } from '
|
|
1
|
+
import { type IconOptions, type IconNames } from '../types/icons';
|
|
2
2
|
export declare const Icons: Record<IconNames, IconOptions>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UserPreferenceScopeType, type UserPreferenceDefinitions } from '
|
|
2
|
-
import { type UserPreferenceScope } from '
|
|
1
|
+
import { UserPreferenceScopeType, type UserPreferenceDefinitions } from '../models/definitions';
|
|
2
|
+
import { type UserPreferenceScope } from '../models/storage-models';
|
|
3
3
|
import { type UserPreferencesPerScope } from '../models/definitions/user-preference-per-scope';
|
|
4
4
|
export declare class CompositeUserPreferencesService<T extends Record<string, unknown>> {
|
|
5
5
|
getScopedUserPreferences(userPreferencesPerScope: UserPreferencesPerScope<T>, currentScope: UserPreferenceScope, definitions: UserPreferenceDefinitions<T>): T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type UserPreferenceScope } from '
|
|
2
|
-
import { type CookieOptions } from '
|
|
3
|
-
import { type UserPreferenceDefinitions } from '
|
|
1
|
+
import { type UserPreferenceScope } from './models/storage-models';
|
|
2
|
+
import { type CookieOptions } from '../../utils/Cookies';
|
|
3
|
+
import { type UserPreferenceDefinitions } from '../../components';
|
|
4
4
|
export declare class UserPreferencesService<T extends Record<string, unknown>> {
|
|
5
5
|
private readonly definitions;
|
|
6
6
|
private readonly currentScope;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type UserPreferenceScope } from '
|
|
2
|
-
import { UserPreferenceScopeType } from '
|
|
1
|
+
import { type UserPreferenceScope } from './models/storage-models/user-preference-scope';
|
|
2
|
+
import { UserPreferenceScopeType } from './models/definitions/user-preference-scope-type';
|
|
3
3
|
import { type Sync } from 'factory.ts';
|
|
4
|
-
import { type UserPreferenceDefinitions } from '
|
|
4
|
+
import { type UserPreferenceDefinitions } from '../../components';
|
|
5
5
|
import { type UserPreferencesPerScope } from './models/definitions/user-preference-per-scope';
|
|
6
6
|
export type TestType = {
|
|
7
7
|
Default: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseRoutesAuthorizations } from
|
|
2
|
-
import { Suite } from
|
|
1
|
+
import { BaseRoutesAuthorizations } from './base-routes-authorizations';
|
|
2
|
+
import { Suite } from '../../Suite';
|
|
3
3
|
export declare class RootAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
interface IExampleStoryProps {
|
|
3
4
|
children: React.ReactNode;
|
|
4
5
|
title: React.ReactNode;
|
|
5
6
|
description?: React.ReactNode;
|
|
6
7
|
}
|
|
7
|
-
export declare function ExampleStory(props: IExampleStoryProps):
|
|
8
|
+
export declare function ExampleStory(props: IExampleStoryProps): JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
export declare const SVGPrettifier: () => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.56.
|
|
3
|
+
"version": "1.56.2",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"test-storybook": "test-storybook",
|
|
101
101
|
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run build-storybook --quiet && NODE_NO_WARNINGS=1 npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && npm run test-storybook\"",
|
|
102
102
|
"test-unit": "vitest",
|
|
103
|
-
"build": "vite build && npm run tokens-to-css && shx cp src/styles/*.css dist && shx cp src/styles/style.ts dist",
|
|
103
|
+
"build": "vite build && node scripts/fix-type-imports.js && npm run tokens-to-css && shx cp src/styles/*.css dist && shx cp src/styles/style.ts dist",
|
|
104
104
|
"build-dist": "sh ./scripts/build-dist.sh",
|
|
105
105
|
"build-storybook": "storybook build",
|
|
106
106
|
"lint": "concurrently \"eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\"\" \"stylelint \"**/*.css\"\"",
|