@mparticle/aquarium 1.33.3-chore-docs-restructuring.1 → 1.33.3-chore-dependency-upgrades.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.
Files changed (112) hide show
  1. package/dist/aquarium.js +4374 -4905
  2. package/dist/aquarium.umd.cjs +40 -40
  3. package/dist/index.d.ts +1 -0
  4. package/dist/src/components/data-display/Avatar/Avatar.d.ts +2 -3
  5. package/dist/src/components/data-display/Badge/Badge.d.ts +2 -3
  6. package/dist/src/components/data-display/Card/Card.d.ts +3 -4
  7. package/dist/src/components/data-display/Collapse/Collapse.d.ts +2 -3
  8. package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +2 -3
  9. package/dist/src/components/data-display/Empty/Empty.d.ts +3 -4
  10. package/dist/src/components/data-display/Image/Image.d.ts +2 -3
  11. package/dist/src/components/data-display/List/List.d.ts +1 -1
  12. package/dist/src/components/data-display/Popover/Popover.d.ts +1 -1
  13. package/dist/src/components/data-display/Segmented/Segmented.d.ts +1 -2
  14. package/dist/src/components/data-display/Statistic/Statistic.d.ts +11 -0
  15. package/dist/src/components/data-display/Table/Table.d.ts +7 -7
  16. package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -3
  17. package/dist/src/components/data-display/Tag/Tag.d.ts +2 -3
  18. package/dist/src/components/{not-prod-ready → data-display}/Timeline/Timeline.d.ts +2 -3
  19. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +1 -1
  20. package/dist/src/components/data-display/Tour/Tour.d.ts +1 -1
  21. package/dist/src/components/data-display/Tree/Tree.d.ts +13 -0
  22. package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +1 -1
  23. package/dist/src/components/data-entry/Cascader/Cascader.d.ts +3 -3
  24. package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +2 -3
  25. package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +22 -23
  26. package/dist/src/components/data-entry/Form/Form.d.ts +9 -9
  27. package/dist/src/components/data-entry/Input/Input.d.ts +2 -4
  28. package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +1 -1
  29. package/dist/src/components/data-entry/QueryItem/Action.d.ts +1 -1
  30. package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +4 -4
  31. package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +1 -1
  32. package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +1 -1
  33. package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +3 -3
  34. package/dist/src/components/data-entry/Radio/Radio.d.ts +3 -3
  35. package/dist/src/components/data-entry/Radio/RadioButton.d.ts +1 -1
  36. package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +1 -1
  37. package/dist/src/components/data-entry/Select/Select.d.ts +4 -4
  38. package/dist/src/components/{not-prod-ready → data-entry}/Slider/Slider.d.ts +1 -2
  39. package/dist/src/components/data-entry/Switch/Switch.d.ts +1 -1
  40. package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +2 -3
  41. package/dist/src/components/data-entry/Transfer/Transfer.d.ts +12 -0
  42. package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +2 -3
  43. package/dist/src/components/data-entry/Upload/Upload.d.ts +3 -4
  44. package/dist/src/components/feedback/Alert/Alert.d.ts +2 -2
  45. package/dist/src/components/feedback/Drawer/Drawer.d.ts +1 -1
  46. package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +1 -2
  47. package/dist/src/components/feedback/Message/Message.d.ts +10 -12
  48. package/dist/src/components/feedback/Modal/Modal.d.ts +8 -8
  49. package/dist/src/components/feedback/Notification/Notification.d.ts +4 -6
  50. package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +1 -1
  51. package/dist/src/components/feedback/Progress/Progress.d.ts +1 -1
  52. package/dist/src/components/feedback/Result/Result.d.ts +4 -5
  53. package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +6 -7
  54. package/dist/src/components/feedback/Spin/Spin.d.ts +2 -3
  55. package/dist/src/components/general/Button/Button.d.ts +3 -4
  56. package/dist/src/components/general/FloatButton/FloatButton.d.ts +3 -4
  57. package/dist/src/components/general/Icon/Icon.d.ts +2 -2
  58. package/dist/src/components/general/Typography/Typography.d.ts +6 -6
  59. package/dist/src/components/icons/index.d.ts +87 -87
  60. package/dist/src/components/index.d.ts +14 -13
  61. package/dist/src/components/layout/Center/Center.d.ts +1 -1
  62. package/dist/src/components/layout/Divider/Divider.d.ts +1 -1
  63. package/dist/src/components/layout/Flex/Flex.d.ts +1 -1
  64. package/dist/src/components/layout/Grid/Grid.d.ts +1 -5
  65. package/dist/src/components/layout/Layout/Layout.d.ts +5 -6
  66. package/dist/src/components/layout/Space/Space.d.ts +2 -3
  67. package/dist/src/components/navigation/Anchor/Anchor.d.ts +2 -3
  68. package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -3
  69. package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +2 -3
  70. package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +3 -3
  71. package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +1 -1
  72. package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +1 -1
  73. package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +1 -1
  74. package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +3 -3
  75. package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +1 -1
  76. package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +1 -1
  77. package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +1 -1
  78. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +3 -3
  79. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +1 -1
  80. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +1 -1
  81. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +1 -1
  82. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +2 -2
  83. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +1 -1
  84. package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +1 -1
  85. package/dist/src/components/navigation/Menu/Menu.d.ts +6 -8
  86. package/dist/src/components/navigation/Pagination/Pagination.d.ts +1 -1
  87. package/dist/src/components/navigation/Steps/Steps.d.ts +1 -1
  88. package/dist/src/components/{not-prod-ready → other}/Affix/Affix.d.ts +1 -1
  89. package/dist/src/components/other/App/App.d.ts +7 -0
  90. package/dist/src/components/unused/Calendar/Calendar.d.ts +8 -0
  91. package/dist/src/components/{not-prod-ready → unused}/Carousel/Carousel.d.ts +1 -1
  92. package/dist/src/components/{not-prod-ready → unused}/ColorPicker/ColorPicker.d.ts +1 -1
  93. package/dist/src/components/{not-prod-ready → unused}/QRCode/QRCode.d.ts +1 -1
  94. package/dist/src/components/{not-prod-ready → unused}/Rate/Rate.d.ts +1 -1
  95. package/dist/src/components/{not-prod-ready → unused}/Watermark/Watermark.d.ts +1 -1
  96. package/dist/src/constants/Icons.d.ts +1 -1
  97. package/dist/src/hooks/NewExperienceReminder/useNewExperienceReminder.d.ts +1 -1
  98. package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +4 -4
  99. package/dist/src/services/user-preferences/models/definitions/user-preference-definition.d.ts +1 -1
  100. package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts +1 -1
  101. package/dist/src/services/user-preferences/models/storage-models/user-preferences.d.ts +2 -2
  102. package/dist/src/services/user-preferences/models/user-preferences/composite-user-preferences.d.ts +1 -1
  103. package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +4 -4
  104. package/dist/src/services/user-preferences/user-preferences.d.ts +5 -5
  105. package/dist/src/types/icons.d.ts +1 -2
  106. package/dist/src/utils/Cookies.d.ts +1 -1
  107. package/dist/src/utils/utils.d.ts +1 -1
  108. package/package.json +20 -24
  109. package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +0 -9
  110. package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +0 -13
  111. package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +0 -13
  112. package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +0 -15
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
- import { type BreadcrumbProps as AntBreadcrumbProps } from 'antd';
1
+ import { BreadcrumbProps as AntBreadcrumbProps } from 'antd';
3
2
  export interface IBreadcrumbProps extends AntBreadcrumbProps {
4
3
  }
5
4
  export declare const Breadcrumb: {
6
5
  (props: IBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
7
- Item: import("react").FC<import("antd").BreadcrumbItemProps> & {
6
+ Item: import('react').FC<import('antd').BreadcrumbItemProps> & {
8
7
  __ANT_BREADCRUMB_ITEM: boolean;
9
8
  };
10
9
  };
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import { type DropdownProps as AntDropdownProps } from 'antd';
1
+ import { DropdownProps as AntDropdownProps } from 'antd';
3
2
  export interface IDropdownProps extends AntDropdownProps {
4
3
  }
5
4
  /**
@@ -9,5 +8,5 @@ export interface IDropdownProps extends AntDropdownProps {
9
8
  */
10
9
  export declare const Dropdown: {
11
10
  (props: IDropdownProps): import("react/jsx-runtime").JSX.Element;
12
- Button: import("react").FC<import("antd/es/dropdown").DropdownButtonProps>;
11
+ Button: import('react').FC<import('antd/es/dropdown').DropdownButtonProps>;
13
12
  };
@@ -1,6 +1,6 @@
1
- import { type IGlobalNavigationLogo, type INavigationOrg, type INavigationCreateProps, type IAvatarProps } from '../../../../../../../../../src/components';
2
- import { type IGlobalNavigationItem, type ISuiteSelectorOptions } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
3
- import { type INotificationCenterProps } from '../../../../../../../../../src/components/navigation/GlobalNavigation/NotificationCenter';
1
+ import { IGlobalNavigationLogo, INavigationOrg, INavigationCreateProps, IAvatarProps } from '../../../../../../../../../src/components';
2
+ import { IGlobalNavigationItem, ISuiteSelectorOptions } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
3
+ import { INotificationCenterProps } from '../../../../../../../../../src/components/navigation/GlobalNavigation/NotificationCenter';
4
4
  export interface NotificationActions {
5
5
  onClose?: () => void;
6
6
  onPreferencesClick?: () => void;
@@ -1,4 +1,4 @@
1
- import React, { type ReactNode } from 'react';
1
+ import { default as React, ReactNode } from 'react';
2
2
  export interface INavigationButtonItemProps {
3
3
  label: ReactNode;
4
4
  onClick?: () => void;
@@ -1,4 +1,4 @@
1
- import { type MenuItemGroupType, type MenuItemType } from '../../../../../../../../../src/components';
1
+ import { MenuItemGroupType, MenuItemType } from '../../../../../../../../../src/components';
2
2
  export interface INavigationCreateProps {
3
3
  createItems: Array<INavigationCreateItem | INavigationCreateGroup>;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  interface INavigationIconProps {
3
3
  className?: string;
4
4
  icon: ReactNode;
@@ -1,6 +1,6 @@
1
- import { type MouseEvent, type ReactNode } from 'react';
2
- import { type IGlobalNavigationItem } from '../../../../../../../../../src/components';
3
- import { type HrefOptions } from '../../../../../../../../../src/utils/utils';
1
+ import { MouseEvent, ReactNode } from 'react';
2
+ import { IGlobalNavigationItem } from '../../../../../../../../../src/components';
3
+ import { 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 { type IGlobalNavigationItem } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
1
+ import { IGlobalNavigationItem } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
2
2
  export interface INavigationListProps {
3
3
  items: IGlobalNavigationItem[];
4
4
  }
@@ -1,4 +1,4 @@
1
- import { type IButtonProps, type IPopoverProps } from '../../../../../../../../../src/components';
1
+ import { IButtonProps, 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 { type IGlobalNavigationLogo, type ISuiteSelectorOptions } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
1
+ import { IGlobalNavigationLogo, 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 { type ReactNode } from 'react';
2
- import { type IPopoverProps } from '../../../../../../../../../../src/components';
3
- import { type ISuiteSelectorOptions, type SuiteLink } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
1
+ import { ReactNode } from 'react';
2
+ import { IPopoverProps } from '../../../../../../../../../../src/components';
3
+ import { ISuiteSelectorOptions, SuiteLink } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
4
4
  interface ISuiteSelectorProps extends IPopoverProps {
5
5
  suiteSelectorOptions: ISuiteSelectorOptions;
6
6
  onLinkClick: (link: SuiteLink) => void;
@@ -1,4 +1,4 @@
1
- import { type ISuiteSelectorOptions } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
1
+ import { 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 {};
@@ -1,4 +1,4 @@
1
- import { type SuiteLink, type SuiteLinks } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
1
+ import { SuiteLink, SuiteLinks } from '../../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
2
2
  interface ISuiteSelectorSuiteLinkProps {
3
3
  link: SuiteLink;
4
4
  onLinkClick: (link: SuiteLink) => void;
@@ -1,4 +1,4 @@
1
- import { type IAvatarProps, type INavigationOrg } from '../../../../../../../../../../src/components';
1
+ import { IAvatarProps, INavigationOrg } from '../../../../../../../../../../src/components';
2
2
  export interface IWorkspaceSelectorProps {
3
3
  orgs: INavigationOrg[];
4
4
  avatarOptions?: IAvatarProps;
@@ -1,5 +1,5 @@
1
- import { type ChangeEvent, type RefObject } from 'react';
2
- import { type InputRef, type IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
1
+ import { ChangeEvent, RefObject } from 'react';
2
+ import { InputRef, 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 { type IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
1
+ import { IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
2
2
  type WorkspaceSelectorContentItemsProps = {
3
3
  menuItems: IWorkspaceSelectorDisplayItem[];
4
4
  };
@@ -1,2 +1,2 @@
1
- import { type INavigationOrg } from '../../../../../../../../../src/components';
1
+ import { INavigationOrg } from '../../../../../../../../../src/components';
2
2
  export declare function generateOrgs(orgs: number, accounts: number, workspaces: number): INavigationOrg[];
@@ -1,7 +1,5 @@
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';
1
+ import { MenuProps, MenuProps as AntMenuProps } from 'antd';
2
+ import { MenuInfo as RCMenuInfo } from 'rc-menu/lib/interface';
5
3
  type AntDMenuItemType = Required<MenuProps>['items'][number];
6
4
  type AntDMenuItemGroupType = Required<MenuProps>['items'][number];
7
5
  type AntDMenuDividerType = Required<MenuProps>['items'][number];
@@ -13,8 +11,8 @@ export interface IMenuInfo extends RCMenuInfo {
13
11
  export { type AntDMenuItemType as MenuItemType, type AntDMenuItemGroupType as MenuItemGroupType, type AntDMenuDividerType as MenuDividerType, type AntDSubMenuType as SubMenuType, };
14
12
  export declare const Menu: {
15
13
  (props: IMenuProps): import("react/jsx-runtime").JSX.Element;
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>;
14
+ SubMenu: import('react').FC<import('antd').SubMenuProps>;
15
+ 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, deprecatedLegacyContext?: any) => import('react').ReactNode);
16
+ ItemGroup: import('react').ForwardRefExoticComponent<Pick<import('rc-menu').MenuItemGroupProps, "className" | "style" | "title" | "children" | "eventKey" | "warnKey"> & import('react').RefAttributes<HTMLLIElement>>;
17
+ Divider: import('react').FC<import('antd/es/menu').MenuDividerProps>;
20
18
  };
@@ -1,4 +1,4 @@
1
- import { type PaginationProps as AntPaginationProps } from 'antd';
1
+ import { 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;
@@ -1,4 +1,4 @@
1
- import { type StepsProps as AntStepsProps } from 'antd';
1
+ import { StepsProps as AntStepsProps } from 'antd';
2
2
  export interface IStepsProps extends AntStepsProps {
3
3
  }
4
4
  export declare const Steps: (props: IStepsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type AffixProps as AntAffixProps } from 'antd';
1
+ import { AffixProps as AntAffixProps } from 'antd';
2
2
  export interface IAffixProps extends AntAffixProps {
3
3
  }
4
4
  export declare const Affix: (props: IAffixProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { AppProps as AntAppProps } from 'antd';
2
+ export interface IAppProps extends AntAppProps {
3
+ }
4
+ export declare const App: {
5
+ (props: IAppProps): import("react/jsx-runtime").JSX.Element;
6
+ useApp: () => import('antd/es/app/context').useAppProps;
7
+ };
@@ -0,0 +1,8 @@
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
+ };
@@ -1,4 +1,4 @@
1
- import { type CarouselProps as AntCarouselProps } from 'antd';
1
+ import { 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 type { ColorPickerProps as AntColorPickerProps } from 'antd';
1
+ import { 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 { type QRCodeProps as AntQRCodeProps } from 'antd';
1
+ import { 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,4 +1,4 @@
1
- import type { RateProps as AntRateProps } from 'antd';
1
+ import { RateProps as AntRateProps } from 'antd';
2
2
  export interface IRateProps extends AntRateProps {
3
3
  }
4
4
  export declare const Rate: (props: IRateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { WatermarkProps as AntWatermarkProps } from 'antd';
1
+ import { 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 { type IconOptions, type IconNames } from '../../../../../../../src/types/icons';
1
+ import { IconOptions, IconNames } from '../../../../../../../src/types/icons';
2
2
  export declare const Icons: Record<IconNames, IconOptions>;
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export interface INewExperienceReminderOptions {
3
3
  onClose: () => void;
4
4
  onRemindMeLater: () => void;
@@ -1,7 +1,7 @@
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';
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';
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>;
@@ -1,4 +1,4 @@
1
- import { type UserPreferenceScopeType } from './user-preference-scope-type';
1
+ import { UserPreferenceScopeType } from './user-preference-scope-type';
2
2
  export interface UserPreferenceDefinition {
3
3
  isOptedInByDefault: boolean;
4
4
  allowedScope: UserPreferenceScopeType;
@@ -1,4 +1,4 @@
1
- import { type UserPreferenceDefinition } from './user-preference-definition';
1
+ import { 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 { type UserPreferenceScope } from './user-preference-scope';
2
- import { type UserPreference } from './user-preference';
1
+ import { UserPreferenceScope } from './user-preference-scope';
2
+ import { UserPreference } from './user-preference';
3
3
  export type UserPreferences<UserPreferenceId extends PropertyKey> = {
4
4
  [K in UserPreferenceScope]?: {
5
5
  [Id in UserPreferenceId]: UserPreference;
@@ -1,4 +1,4 @@
1
- import { type UserPreference } from '../storage-models/user-preference';
1
+ import { 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 { 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';
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';
4
4
  import { UserPreferenceScopeType } from '../../../../../../../../src/services/user-preferences/models/definitions/user-preference-scope-type';
5
- import { type Sync } from 'factory.ts';
5
+ import { 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 { 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';
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';
6
6
  export declare class UserPreferencesService<TUserPreferenceId extends PropertyKey> {
7
7
  private readonly definitions;
8
8
  private readonly compositeUserPreferencesService;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import type { RequireAtLeastOne } from 'type-fest';
1
+ import { RequireAtLeastOne } from 'type-fest';
3
2
  export type IconVariant = 'light' | 'duo-tone';
4
3
  export type IconOptions = RequireAtLeastOne<{
5
4
  light?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
@@ -1,4 +1,4 @@
1
- import { type RequireOneOrNone } from 'type-fest';
1
+ import { 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 { type ReactNode } from 'react';
1
+ import { 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-docs-restructuring.1",
3
+ "version": "1.33.3-chore-dependency-upgrades.2",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -36,20 +36,21 @@
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.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",
39
+ "@storybook/addon-essentials": "8.3.6",
40
+ "@storybook/addon-interactions": "8.3.6",
41
+ "@storybook/addon-links": "8.3.6",
42
+ "@storybook/addon-onboarding": "8.3.6",
43
+ "@storybook/blocks": "8.3.6",
44
+ "@storybook/react": "8.3.6",
45
+ "@storybook/react-vite": "8.3.6",
46
+ "@storybook/test": "8.3.6",
47
+ "@storybook/test-runner": "0.19.1",
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.2.1",
51
+ "@vitejs/plugin-react": "4.3.2",
52
52
  "concurrently": "8.2.2",
53
+ "cross-env": "^7.0.3",
53
54
  "cz-conventional-changelog": "3.3.0",
54
55
  "eslint": "8.56.0",
55
56
  "eslint-config-prettier": "9.1.0",
@@ -64,33 +65,28 @@
64
65
  "jsdom": "24.1.3",
65
66
  "mdx-mermaid": "^2.0.1",
66
67
  "multer": "1.4.5-lts.1",
68
+ "postcss": "8.4.47",
69
+ "postcss-nested": "6.2.0",
67
70
  "prettier": "3.3.2",
68
71
  "remark-gfm": "^4.0.0",
69
72
  "shx": "^0.3.4",
70
- "storybook": "8.1.10",
73
+ "storybook": "8.3.6",
71
74
  "stylelint": "16.2.0",
72
75
  "stylelint-config-recommended": "14.0.0",
73
76
  "stylelint-config-standard": "36.0.0",
74
77
  "stylelint-no-indistinguishable-colors": "2.1.0",
75
78
  "type-fest": "^4.20.0",
76
79
  "typescript": "5.3.3",
77
- "vite": "5.0.13",
78
- "vite-plugin-dts": "3.7.2",
80
+ "vite": "5.4.9",
81
+ "vite-plugin-dts": "4.2.4",
79
82
  "vite-plugin-svgr": "4.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"
83
+ "vitest": "2.1.3",
84
+ "wait-on": "7.2.0"
89
85
  },
90
86
  "scripts": {
91
87
  "prepare": "husky",
92
88
  "start": "npm run storybook",
93
- "storybook": "storybook dev -p 6006",
89
+ "storybook": "cross-env VITE_CJS_TRACE=true storybook dev -p 6006",
94
90
  "test-storybook": "test-storybook",
95
91
  "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\"",
96
92
  "test-unit": "vitest",
@@ -1,9 +0,0 @@
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,13 +0,0 @@
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,13 +0,0 @@
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
- };
@@ -1,15 +0,0 @@
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
- };