@mparticle/aquarium 1.33.3-chore-dependency-upgrades.1 → 1.33.3-chore-docs-restructuring.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/dist/aquarium.js +4908 -4377
- package/dist/aquarium.umd.cjs +40 -40
- package/dist/index.d.ts +0 -1
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +3 -2
- package/dist/src/components/data-display/Badge/Badge.d.ts +3 -2
- package/dist/src/components/data-display/Card/Card.d.ts +4 -3
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +3 -2
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +3 -2
- package/dist/src/components/data-display/Empty/Empty.d.ts +4 -3
- package/dist/src/components/data-display/Image/Image.d.ts +3 -2
- package/dist/src/components/data-display/List/List.d.ts +1 -1
- package/dist/src/components/data-display/Popover/Popover.d.ts +1 -1
- package/dist/src/components/data-display/Segmented/Segmented.d.ts +2 -1
- package/dist/src/components/data-display/Table/Table.d.ts +7 -7
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +3 -2
- package/dist/src/components/data-display/Tag/Tag.d.ts +3 -2
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +1 -1
- package/dist/src/components/data-display/Tour/Tour.d.ts +1 -1
- package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +1 -1
- package/dist/src/components/data-entry/Cascader/Cascader.d.ts +3 -3
- package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +3 -2
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +23 -22
- package/dist/src/components/data-entry/Form/Form.d.ts +9 -9
- package/dist/src/components/data-entry/Input/Input.d.ts +4 -2
- package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +1 -1
- package/dist/src/components/data-entry/QueryItem/Action.d.ts +1 -1
- package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +4 -4
- package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +1 -1
- package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +1 -1
- package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +3 -3
- package/dist/src/components/data-entry/Radio/Radio.d.ts +3 -3
- package/dist/src/components/data-entry/Radio/RadioButton.d.ts +1 -1
- package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +1 -1
- package/dist/src/components/data-entry/Select/Select.d.ts +4 -4
- package/dist/src/components/data-entry/Switch/Switch.d.ts +1 -1
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +3 -2
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +3 -2
- package/dist/src/components/data-entry/Upload/Upload.d.ts +4 -3
- package/dist/src/components/feedback/Alert/Alert.d.ts +2 -2
- package/dist/src/components/feedback/Drawer/Drawer.d.ts +1 -1
- package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +2 -1
- package/dist/src/components/feedback/Message/Message.d.ts +12 -10
- package/dist/src/components/feedback/Modal/Modal.d.ts +8 -8
- package/dist/src/components/feedback/Notification/Notification.d.ts +6 -4
- package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +1 -1
- package/dist/src/components/feedback/Progress/Progress.d.ts +1 -1
- package/dist/src/components/feedback/Result/Result.d.ts +5 -4
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +7 -6
- package/dist/src/components/feedback/Spin/Spin.d.ts +3 -2
- package/dist/src/components/general/Button/Button.d.ts +4 -3
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +4 -3
- package/dist/src/components/general/Icon/Icon.d.ts +2 -2
- package/dist/src/components/general/Typography/Typography.d.ts +6 -6
- package/dist/src/components/icons/index.d.ts +87 -87
- package/dist/src/components/index.d.ts +13 -14
- package/dist/src/components/layout/Center/Center.d.ts +1 -1
- package/dist/src/components/layout/Divider/Divider.d.ts +1 -1
- package/dist/src/components/layout/Flex/Flex.d.ts +1 -1
- package/dist/src/components/layout/Grid/Grid.d.ts +5 -1
- package/dist/src/components/layout/Layout/Layout.d.ts +6 -5
- package/dist/src/components/layout/Space/Space.d.ts +3 -2
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +3 -2
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +3 -2
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +3 -2
- package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +3 -3
- package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +3 -3
- package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +3 -3
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +2 -2
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +1 -1
- package/dist/src/components/navigation/Menu/Menu.d.ts +8 -6
- package/dist/src/components/navigation/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/navigation/Steps/Steps.d.ts +1 -1
- package/dist/src/components/{other → not-prod-ready}/Affix/Affix.d.ts +1 -1
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +9 -0
- package/dist/src/components/{unused → not-prod-ready}/Carousel/Carousel.d.ts +1 -1
- package/dist/src/components/{unused → not-prod-ready}/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/src/components/{unused → not-prod-ready}/QRCode/QRCode.d.ts +1 -1
- package/dist/src/components/{unused → not-prod-ready}/Rate/Rate.d.ts +1 -1
- package/dist/src/components/{data-entry → not-prod-ready}/Slider/Slider.d.ts +2 -1
- package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +13 -0
- package/dist/src/components/{data-display → not-prod-ready}/Timeline/Timeline.d.ts +3 -2
- package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +13 -0
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +15 -0
- package/dist/src/components/{unused → not-prod-ready}/Watermark/Watermark.d.ts +1 -1
- 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 +4 -4
- 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/storage-models/user-preferences.d.ts +2 -2
- package/dist/src/services/user-preferences/models/user-preferences/composite-user-preferences.d.ts +1 -1
- package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +4 -4
- package/dist/src/services/user-preferences/user-preferences.d.ts +5 -5
- package/dist/src/types/icons.d.ts +2 -1
- package/dist/src/utils/Cookies.d.ts +1 -1
- package/dist/src/utils/utils.d.ts +1 -1
- package/package.json +24 -20
- package/dist/src/components/data-display/Statistic/Statistic.d.ts +0 -11
- package/dist/src/components/data-display/Tree/Tree.d.ts +0 -13
- package/dist/src/components/data-entry/Transfer/Transfer.d.ts +0 -12
- package/dist/src/components/other/App/App.d.ts +0 -7
- package/dist/src/components/unused/Calendar/Calendar.d.ts +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { IGlobalNavigationItem } from '../../../../../../../../../src/components';
|
|
3
|
-
import { HrefOptions } from '../../../../../../../../../src/utils/utils';
|
|
1
|
+
import { type MouseEvent, type ReactNode } from 'react';
|
|
2
|
+
import { type IGlobalNavigationItem } from '../../../../../../../../../src/components';
|
|
3
|
+
import { type HrefOptions } from '../../../../../../../../../src/utils/utils';
|
|
4
4
|
export interface INavigationItemProps {
|
|
5
5
|
type: 'link' | 'menu';
|
|
6
6
|
icon?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IGlobalNavigationItem } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
1
|
+
import { type IGlobalNavigationItem } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
2
2
|
export interface INavigationListProps {
|
|
3
3
|
items: IGlobalNavigationItem[];
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IButtonProps, IPopoverProps } from '../../../../../../../../../src/components';
|
|
1
|
+
import { type IButtonProps, type IPopoverProps } from '../../../../../../../../../src/components';
|
|
2
2
|
export interface INotificationCenterProps extends Omit<IPopoverProps, 'key' | 'trigger' | 'placement' | 'arrow' | 'overlayClassName' | 'title'> {
|
|
3
3
|
onClose?: IButtonProps['onClick'];
|
|
4
4
|
onPreferencesClick?: IButtonProps['onClick'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IGlobalNavigationLogo, ISuiteSelectorOptions } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
1
|
+
import { type IGlobalNavigationLogo, type ISuiteSelectorOptions } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
2
2
|
interface SuiteLogoProps extends IGlobalNavigationLogo {
|
|
3
3
|
suiteSelectorOptions?: ISuiteSelectorOptions;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IPopoverProps } from '../../../../../../../../../../src/components';
|
|
3
|
-
import { ISuiteSelectorOptions, SuiteLink } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type IPopoverProps } from '../../../../../../../../../../src/components';
|
|
3
|
+
import { type ISuiteSelectorOptions, type SuiteLink } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
4
4
|
interface ISuiteSelectorProps extends IPopoverProps {
|
|
5
5
|
suiteSelectorOptions: ISuiteSelectorOptions;
|
|
6
6
|
onLinkClick: (link: SuiteLink) => void;
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISuiteSelectorOptions } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
1
|
+
import { type ISuiteSelectorOptions } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
2
2
|
type ISuiteSelectorContentProps = ISuiteSelectorOptions;
|
|
3
3
|
export declare function SuiteSelectorContent(props: ISuiteSelectorContentProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export {};
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SuiteLink, SuiteLinks } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
1
|
+
import { type SuiteLink, type SuiteLinks } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
|
|
2
2
|
interface ISuiteSelectorSuiteLinkProps {
|
|
3
3
|
link: SuiteLink;
|
|
4
4
|
onLinkClick: (link: SuiteLink) => void;
|
package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IAvatarProps, INavigationOrg } from '../../../../../../../../../../src/components';
|
|
1
|
+
import { type IAvatarProps, type INavigationOrg } from '../../../../../../../../../../src/components';
|
|
2
2
|
export interface IWorkspaceSelectorProps {
|
|
3
3
|
orgs: INavigationOrg[];
|
|
4
4
|
avatarOptions?: IAvatarProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChangeEvent, RefObject } from 'react';
|
|
2
|
-
import { InputRef, IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
|
|
1
|
+
import { type ChangeEvent, type RefObject } from 'react';
|
|
2
|
+
import { type InputRef, type IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
|
|
3
3
|
type WorkspaceSelectorContentProps = {
|
|
4
4
|
onSearch: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
5
5
|
searchTerm: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
|
|
1
|
+
import { type IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
|
|
2
2
|
type WorkspaceSelectorContentItemsProps = {
|
|
3
3
|
menuItems: IWorkspaceSelectorDisplayItem[];
|
|
4
4
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { INavigationOrg } from '../../../../../../../../../src/components';
|
|
1
|
+
import { type INavigationOrg } from '../../../../../../../../../src/components';
|
|
2
2
|
export declare function generateOrgs(orgs: number, accounts: number, workspaces: number): INavigationOrg[];
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type MenuProps } from 'antd';
|
|
3
|
+
import { type MenuProps as AntMenuProps } from 'antd';
|
|
4
|
+
import { type MenuInfo as RCMenuInfo } from 'rc-menu/lib/interface';
|
|
3
5
|
type AntDMenuItemType = Required<MenuProps>['items'][number];
|
|
4
6
|
type AntDMenuItemGroupType = Required<MenuProps>['items'][number];
|
|
5
7
|
type AntDMenuDividerType = Required<MenuProps>['items'][number];
|
|
@@ -11,8 +13,8 @@ export interface IMenuInfo extends RCMenuInfo {
|
|
|
11
13
|
export { type AntDMenuItemType as MenuItemType, type AntDMenuItemGroupType as MenuItemGroupType, type AntDMenuDividerType as MenuDividerType, type AntDSubMenuType as SubMenuType, };
|
|
12
14
|
export declare const Menu: {
|
|
13
15
|
(props: IMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
SubMenu: import(
|
|
15
|
-
Item: Omit<import(
|
|
16
|
-
ItemGroup: import(
|
|
17
|
-
Divider: import(
|
|
16
|
+
SubMenu: import("react").FC<import("antd").SubMenuProps>;
|
|
17
|
+
Item: Omit<import("react").FunctionComponent<import("antd").MenuItemProps>, ""> & (<T extends import("antd").MenuItemProps>(props: T extends infer U extends import("antd").MenuItemProps ? unknown extends U ? import("antd").MenuItemProps : U : import("antd").MenuItemProps, context?: any) => import("react").ReactNode);
|
|
18
|
+
ItemGroup: import("react").ForwardRefExoticComponent<Pick<import("rc-menu").MenuItemGroupProps, "className" | "style" | "title" | "children" | "eventKey" | "warnKey"> & import("react").RefAttributes<HTMLLIElement>>;
|
|
19
|
+
Divider: import("react").FC<import("antd/es/menu").MenuDividerProps>;
|
|
18
20
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationProps as AntPaginationProps } from 'antd';
|
|
1
|
+
import { type PaginationProps as AntPaginationProps } from 'antd';
|
|
2
2
|
export interface IPaginationProps extends AntPaginationProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const Pagination: (props: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type CalendarProps as AntCalendarProps } from 'antd';
|
|
3
|
+
import { type Dayjs } from 'dayjs';
|
|
4
|
+
export interface ICalendarProps extends AntCalendarProps<Dayjs> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Calendar: {
|
|
7
|
+
(props: ICalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
generateCalendar: <DateType extends import("antd/es/_util/type").AnyObject>(generateConfig: import("rc-picker/lib/generate").GenerateConfig<DateType>) => import("react").FC<Readonly<AntCalendarProps<DateType>>>;
|
|
9
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CarouselProps as AntCarouselProps } from 'antd';
|
|
1
|
+
import { type CarouselProps as AntCarouselProps } from 'antd';
|
|
2
2
|
export interface ICarouselProps extends AntCarouselProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const Carousel: (props: ICarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorPickerProps as AntColorPickerProps } from 'antd';
|
|
1
|
+
import type { ColorPickerProps as AntColorPickerProps } from 'antd';
|
|
2
2
|
export interface IColorPickerProps extends AntColorPickerProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const ColorPicker: (props: IColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QRCodeProps as AntQRCodeProps } from 'antd';
|
|
1
|
+
import { type QRCodeProps as AntQRCodeProps } from 'antd';
|
|
2
2
|
export interface IQRCodeProps extends AntQRCodeProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const QRCode: (props: IQRCodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { SliderRangeProps
|
|
1
|
+
import { type SliderRangeProps } from 'antd/es/slider';
|
|
2
|
+
import { type SliderSingleProps } from 'antd/es/slider';
|
|
2
3
|
export type ISliderProps = SliderSingleProps | SliderRangeProps;
|
|
3
4
|
export declare const Slider: (props: ISliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type StatisticProps as AntStatisticProps } from 'antd';
|
|
3
|
+
import { type CountdownProps as AntCountdownProps } from 'antd';
|
|
4
|
+
import { type valueType as AntValueType } from 'antd/es/statistic/utils';
|
|
5
|
+
export interface IStatisticProps extends AntStatisticProps {
|
|
6
|
+
}
|
|
7
|
+
export interface ICountdownProps extends AntCountdownProps {
|
|
8
|
+
}
|
|
9
|
+
export type valueType = AntValueType;
|
|
10
|
+
export declare const Statistic: {
|
|
11
|
+
(props: IStatisticProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
Countdown: import("react").NamedExoticComponent<AntCountdownProps>;
|
|
13
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type TimelineProps as AntTimelineProps } from 'antd';
|
|
2
3
|
export interface ITimelineProps extends AntTimelineProps {
|
|
3
4
|
}
|
|
4
5
|
export declare const Timeline: {
|
|
5
6
|
(props: ITimelineProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
Item: import(
|
|
7
|
+
Item: import("react").FC<import("antd").TimelineItemProps>;
|
|
7
8
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type TransferProps as AntTransferProps } from 'antd';
|
|
3
|
+
export interface ITransferProps extends AntTransferProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const Transfer: {
|
|
6
|
+
(props: ITransferProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
List: {
|
|
8
|
+
<RecordType extends import("antd/es/transfer").KeyWiseTransferItem>(props: import("antd/es/transfer").TransferListProps<RecordType>): import("react").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
Search: import("react").FC<import("antd/es/transfer").TransferSearchProps>;
|
|
12
|
+
Operation: import("react").FC<import("antd/es/transfer").TransferOperationProps>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type TreeDataNode } from 'antd';
|
|
3
|
+
import { type TreeProps as AntTreeProps } from 'antd';
|
|
4
|
+
import type { BasicDataNode, DataNode } from 'antd/es/tree';
|
|
5
|
+
export interface ITreeProps<T extends BasicDataNode = DataNode> extends AntTreeProps<T> {
|
|
6
|
+
}
|
|
7
|
+
export interface ITreeData extends TreeDataNode {
|
|
8
|
+
}
|
|
9
|
+
export declare const Tree: {
|
|
10
|
+
<T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<import("rc-tree/lib/Tree").default<TreeDataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName">;
|
|
14
|
+
TreeNode: import("react").FC<import("rc-tree").TreeNodeProps<TreeDataNode>>;
|
|
15
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WatermarkProps as AntWatermarkProps } from 'antd';
|
|
1
|
+
import type { WatermarkProps as AntWatermarkProps } from 'antd';
|
|
2
2
|
export interface IWatermarkProps extends AntWatermarkProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const Watermark: (props: IWatermarkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IconOptions, IconNames } from '../../../../../../../src/types/icons';
|
|
1
|
+
import { type IconOptions, type IconNames } from '../../../../../../../src/types/icons';
|
|
2
2
|
export declare const Icons: Record<IconNames, IconOptions>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UserPreferences } from '../../../../../../../../../src/services/user-preferences/models/storage-models/user-preferences';
|
|
2
|
-
import { UserPreferenceScope } from '../../../../../../../../../src/services/user-preferences/models/storage-models/user-preference-scope';
|
|
3
|
-
import { UserPreferenceDefinitions } from '../../../../../../../../../src/services/user-preferences/models/definitions/user-preference-definitions';
|
|
4
|
-
import { CompositeUserPreferences } from '../../../../../../../../../src/services/user-preferences/models/user-preferences/composite-user-preferences';
|
|
1
|
+
import { type UserPreferences } from '../../../../../../../../../src/services/user-preferences/models/storage-models/user-preferences';
|
|
2
|
+
import { type UserPreferenceScope } from '../../../../../../../../../src/services/user-preferences/models/storage-models/user-preference-scope';
|
|
3
|
+
import { type UserPreferenceDefinitions } from '../../../../../../../../../src/services/user-preferences/models/definitions/user-preference-definitions';
|
|
4
|
+
import { type CompositeUserPreferences } from '../../../../../../../../../src/services/user-preferences/models/user-preferences/composite-user-preferences';
|
|
5
5
|
import { UserPreferenceScopeType } from '../../../../../../../../../src/services/user-preferences/models/definitions/user-preference-scope-type';
|
|
6
6
|
export declare class CompositeUserPreferencesService<TPreferenceIds extends PropertyKey> {
|
|
7
7
|
getScopedUserPreferences(storedPreferences: UserPreferences<TPreferenceIds>, currentScope: UserPreferenceScope, definitions: UserPreferenceDefinitions<TPreferenceIds>): CompositeUserPreferences<TPreferenceIds>;
|
package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserPreferenceDefinition } from './user-preference-definition';
|
|
1
|
+
import { type UserPreferenceDefinition } from './user-preference-definition';
|
|
2
2
|
export type UserPreferenceDefinitions<UserPreferenceId extends PropertyKey> = {
|
|
3
3
|
[Id in UserPreferenceId]?: UserPreferenceDefinition;
|
|
4
4
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UserPreferenceScope } from './user-preference-scope';
|
|
2
|
-
import { UserPreference } from './user-preference';
|
|
1
|
+
import { type UserPreferenceScope } from './user-preference-scope';
|
|
2
|
+
import { type UserPreference } from './user-preference';
|
|
3
3
|
export type UserPreferences<UserPreferenceId extends PropertyKey> = {
|
|
4
4
|
[K in UserPreferenceScope]?: {
|
|
5
5
|
[Id in UserPreferenceId]: UserPreference;
|
package/dist/src/services/user-preferences/models/user-preferences/composite-user-preferences.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserPreference } from '../storage-models/user-preference';
|
|
1
|
+
import { type UserPreference } from '../storage-models/user-preference';
|
|
2
2
|
export type CompositeUserPreferences<UserPreferenceId extends PropertyKey> = {
|
|
3
3
|
[Id in UserPreferenceId]: UserPreference;
|
|
4
4
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UserPreferenceScope } from '../../../../../../../../src/services/user-preferences/models/storage-models/user-preference-scope';
|
|
2
|
-
import { UserPreferences } from '../../../../../../../../src/services/user-preferences/models/storage-models/user-preferences';
|
|
3
|
-
import { UserPreferenceDefinitions } from '../../../../../../../../src/services/user-preferences/models/definitions/user-preference-definitions';
|
|
1
|
+
import { type UserPreferenceScope } from '../../../../../../../../src/services/user-preferences/models/storage-models/user-preference-scope';
|
|
2
|
+
import { type UserPreferences } from '../../../../../../../../src/services/user-preferences/models/storage-models/user-preferences';
|
|
3
|
+
import { type UserPreferenceDefinitions } from '../../../../../../../../src/services/user-preferences/models/definitions/user-preference-definitions';
|
|
4
4
|
import { UserPreferenceScopeType } from '../../../../../../../../src/services/user-preferences/models/definitions/user-preference-scope-type';
|
|
5
|
-
import { Sync } from 'factory.ts';
|
|
5
|
+
import { type Sync } from 'factory.ts';
|
|
6
6
|
export declare enum TestUserPreferenceId {
|
|
7
7
|
Default = "default-id",
|
|
8
8
|
PreferenceOne = "preference-one"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CompositeUserPreferences } from '../../../../../../../../src/services/user-preferences/models/user-preferences/composite-user-preferences';
|
|
2
|
-
import { UserPreferenceScope } from '../../../../../../../../src/services/user-preferences/models/storage-models/user-preference-scope';
|
|
3
|
-
import { UserPreferenceDefinitions } from '../../../../../../../../src/services/user-preferences/models/definitions/user-preference-definitions';
|
|
4
|
-
import { CompositeUserPreferencesService } from '../../../../../../../../src/services/user-preferences/composite-user-preferences-service';
|
|
5
|
-
import { CookieOptions } from '../../../../../../../../src/utils/Cookies';
|
|
1
|
+
import { type CompositeUserPreferences } from '../../../../../../../../src/services/user-preferences/models/user-preferences/composite-user-preferences';
|
|
2
|
+
import { type UserPreferenceScope } from '../../../../../../../../src/services/user-preferences/models/storage-models/user-preference-scope';
|
|
3
|
+
import { type UserPreferenceDefinitions } from '../../../../../../../../src/services/user-preferences/models/definitions/user-preference-definitions';
|
|
4
|
+
import { type CompositeUserPreferencesService } from '../../../../../../../../src/services/user-preferences/composite-user-preferences-service';
|
|
5
|
+
import { type CookieOptions } from '../../../../../../../../src/utils/Cookies';
|
|
6
6
|
export declare class UserPreferencesService<TUserPreferenceId extends PropertyKey> {
|
|
7
7
|
private readonly definitions;
|
|
8
8
|
private readonly compositeUserPreferencesService;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { RequireAtLeastOne } from 'type-fest';
|
|
2
3
|
export type IconVariant = 'light' | 'duo-tone';
|
|
3
4
|
export type IconOptions = RequireAtLeastOne<{
|
|
4
5
|
light?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RequireOneOrNone } from 'type-fest';
|
|
1
|
+
import { type RequireOneOrNone } from 'type-fest';
|
|
2
2
|
export declare function get(key: string): string | null;
|
|
3
3
|
export declare function getAll(): Record<string, string>;
|
|
4
4
|
export declare function getObject(key: string): string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
export declare function getInitials(str?: string): string;
|
|
3
3
|
export declare const debounce: (callback: (...args: any[]) => void, wait: number) => (...args: unknown[]) => void;
|
|
4
4
|
type OSNames = 'Windows' | 'Macintosh' | 'Linux' | 'Android' | 'iOS' | 'Unknown OS';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.33.3-chore-
|
|
3
|
+
"version": "1.33.3-chore-docs-restructuring.1",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -36,21 +36,20 @@
|
|
|
36
36
|
"@faker-js/faker": "8.4.1",
|
|
37
37
|
"@semantic-release/changelog": "6.0.3",
|
|
38
38
|
"@semantic-release/git": "10.0.1",
|
|
39
|
-
"@storybook/addon-essentials": "8.
|
|
40
|
-
"@storybook/addon-interactions": "8.
|
|
41
|
-
"@storybook/addon-links": "8.
|
|
42
|
-
"@storybook/addon-onboarding": "8.
|
|
43
|
-
"@storybook/blocks": "8.
|
|
44
|
-
"@storybook/react": "8.
|
|
45
|
-
"@storybook/react-vite": "8.
|
|
46
|
-
"@storybook/test": "8.
|
|
47
|
-
"@storybook/test-runner": "0.
|
|
39
|
+
"@storybook/addon-essentials": "8.1.10",
|
|
40
|
+
"@storybook/addon-interactions": "8.1.10",
|
|
41
|
+
"@storybook/addon-links": "8.1.10",
|
|
42
|
+
"@storybook/addon-onboarding": "8.1.10",
|
|
43
|
+
"@storybook/blocks": "8.1.10",
|
|
44
|
+
"@storybook/react": "8.1.10",
|
|
45
|
+
"@storybook/react-vite": "8.1.10",
|
|
46
|
+
"@storybook/test": "8.1.10",
|
|
47
|
+
"@storybook/test-runner": "0.18.2",
|
|
48
48
|
"@types/jsdom": "21.1.7",
|
|
49
49
|
"@types/multer": "1.4.12",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "6.19.0",
|
|
51
|
-
"@vitejs/plugin-react": "4.
|
|
51
|
+
"@vitejs/plugin-react": "4.2.1",
|
|
52
52
|
"concurrently": "8.2.2",
|
|
53
|
-
"cross-env": "^7.0.3",
|
|
54
53
|
"cz-conventional-changelog": "3.3.0",
|
|
55
54
|
"eslint": "8.56.0",
|
|
56
55
|
"eslint-config-prettier": "9.1.0",
|
|
@@ -65,28 +64,33 @@
|
|
|
65
64
|
"jsdom": "24.1.3",
|
|
66
65
|
"mdx-mermaid": "^2.0.1",
|
|
67
66
|
"multer": "1.4.5-lts.1",
|
|
68
|
-
"postcss": "8.4.47",
|
|
69
|
-
"postcss-nested": "6.2.0",
|
|
70
67
|
"prettier": "3.3.2",
|
|
71
68
|
"remark-gfm": "^4.0.0",
|
|
72
69
|
"shx": "^0.3.4",
|
|
73
|
-
"storybook": "8.
|
|
70
|
+
"storybook": "8.1.10",
|
|
74
71
|
"stylelint": "16.2.0",
|
|
75
72
|
"stylelint-config-recommended": "14.0.0",
|
|
76
73
|
"stylelint-config-standard": "36.0.0",
|
|
77
74
|
"stylelint-no-indistinguishable-colors": "2.1.0",
|
|
78
75
|
"type-fest": "^4.20.0",
|
|
79
76
|
"typescript": "5.3.3",
|
|
80
|
-
"vite": "5.
|
|
81
|
-
"vite-plugin-dts": "
|
|
77
|
+
"vite": "5.0.13",
|
|
78
|
+
"vite-plugin-dts": "3.7.2",
|
|
82
79
|
"vite-plugin-svgr": "4.2.0",
|
|
83
|
-
"vitest": "
|
|
84
|
-
"wait-on": "7.2.0"
|
|
80
|
+
"vitest": "1.3.1",
|
|
81
|
+
"wait-on": "7.2.0",
|
|
82
|
+
"postcss": "8.4.47",
|
|
83
|
+
"postcss-nested": "6.2.0"
|
|
84
|
+
},
|
|
85
|
+
"optionalDependencies": {
|
|
86
|
+
"@rollup/rollup-linux-x64-gnu": "4.18.0",
|
|
87
|
+
"@swc/core-linux-x64-gnu": "1.4.0",
|
|
88
|
+
"@swc/core-linux-x64-musl": "1.4.0"
|
|
85
89
|
},
|
|
86
90
|
"scripts": {
|
|
87
91
|
"prepare": "husky",
|
|
88
92
|
"start": "npm run storybook",
|
|
89
|
-
"storybook": "
|
|
93
|
+
"storybook": "storybook dev -p 6006",
|
|
90
94
|
"test-storybook": "test-storybook",
|
|
91
95
|
"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\"",
|
|
92
96
|
"test-unit": "vitest",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { StatisticProps as AntStatisticProps, CountdownProps as AntCountdownProps } from 'antd';
|
|
2
|
-
import { valueType as AntValueType } from 'antd/es/statistic/utils';
|
|
3
|
-
export interface IStatisticProps extends AntStatisticProps {
|
|
4
|
-
}
|
|
5
|
-
export interface ICountdownProps extends AntCountdownProps {
|
|
6
|
-
}
|
|
7
|
-
export type valueType = AntValueType;
|
|
8
|
-
export declare const Statistic: {
|
|
9
|
-
(props: IStatisticProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
Countdown: import('react').NamedExoticComponent<AntCountdownProps>;
|
|
11
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TreeDataNode, TreeProps as AntTreeProps } from 'antd';
|
|
2
|
-
import { BasicDataNode, DataNode } from 'antd/es/tree';
|
|
3
|
-
export interface ITreeProps<T extends BasicDataNode = DataNode> extends AntTreeProps<T> {
|
|
4
|
-
}
|
|
5
|
-
export interface ITreeData extends TreeDataNode {
|
|
6
|
-
}
|
|
7
|
-
export declare const Tree: {
|
|
8
|
-
<T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props: import('antd/es/tree').DirectoryTreeProps<T_1> & {
|
|
10
|
-
children?: import('react').ReactNode;
|
|
11
|
-
} & import('react').RefAttributes<import('rc-tree/lib/Tree').default<TreeDataNode>>) => import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>>) & Pick<import('react').FC<{}>, "displayName">;
|
|
12
|
-
TreeNode: import('react').FC<import('rc-tree').TreeNodeProps<TreeDataNode>>;
|
|
13
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TransferProps as AntTransferProps } from 'antd';
|
|
2
|
-
export interface ITransferProps extends AntTransferProps {
|
|
3
|
-
}
|
|
4
|
-
export declare const Transfer: {
|
|
5
|
-
(props: ITransferProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
List: {
|
|
7
|
-
<RecordType extends import('antd/es/transfer').KeyWiseTransferItem>(props: import('antd/es/transfer').TransferListProps<RecordType>): import("react").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
Search: import('react').FC<import('antd/es/transfer').TransferSearchProps>;
|
|
11
|
-
Operation: import('react').FC<import('antd/es/transfer').TransferOperationProps>;
|
|
12
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CalendarProps as AntCalendarProps } from 'antd';
|
|
2
|
-
import { Dayjs } from 'dayjs';
|
|
3
|
-
export interface ICalendarProps extends AntCalendarProps<Dayjs> {
|
|
4
|
-
}
|
|
5
|
-
export declare const Calendar: {
|
|
6
|
-
(props: ICalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
generateCalendar: <DateType extends import('antd/es/_util/type').AnyObject>(generateConfig: import('rc-picker/lib/generate').GenerateConfig<DateType>) => import('react').FC<Readonly<AntCalendarProps<DateType>>>;
|
|
8
|
-
};
|