@mparticle/aquarium 1.33.2-fix-design-tokens-fix.2 → 1.33.3-chore-dependency-upgrades.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 +4744 -5277
- package/dist/aquarium.umd.cjs +40 -40
- package/dist/index.d.ts +1 -0
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +2 -3
- package/dist/src/components/data-display/Badge/Badge.d.ts +2 -3
- package/dist/src/components/data-display/Card/Card.d.ts +3 -4
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +2 -3
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +2 -3
- package/dist/src/components/data-display/Empty/Empty.d.ts +3 -4
- package/dist/src/components/data-display/Image/Image.d.ts +2 -3
- 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 +1 -2
- package/dist/src/components/data-display/Statistic/Statistic.d.ts +3 -5
- package/dist/src/components/data-display/Table/Table.d.ts +7 -7
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -3
- package/dist/src/components/data-display/Tag/Tag.d.ts +2 -3
- package/dist/src/components/data-display/Timeline/Timeline.d.ts +2 -3
- 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-display/Tree/Tree.d.ts +6 -8
- 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 +2 -3
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +22 -23
- package/dist/src/components/data-entry/Form/Form.d.ts +9 -9
- package/dist/src/components/data-entry/Input/Input.d.ts +2 -4
- 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/Slider/Slider.d.ts +1 -2
- package/dist/src/components/data-entry/Switch/Switch.d.ts +1 -1
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +2 -3
- package/dist/src/components/data-entry/Transfer/Transfer.d.ts +4 -5
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +2 -3
- package/dist/src/components/data-entry/Upload/Upload.d.ts +3 -4
- 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 +1 -2
- package/dist/src/components/feedback/Message/Message.d.ts +10 -12
- package/dist/src/components/feedback/Modal/Modal.d.ts +8 -8
- package/dist/src/components/feedback/Notification/Notification.d.ts +4 -6
- 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 +4 -5
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +6 -7
- package/dist/src/components/feedback/Spin/Spin.d.ts +2 -3
- package/dist/src/components/general/Button/Button.d.ts +3 -4
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +3 -4
- 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 +6 -6
- 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 +1 -5
- package/dist/src/components/layout/Layout/Layout.d.ts +5 -6
- package/dist/src/components/layout/Space/Space.d.ts +2 -3
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +2 -3
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -3
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +2 -3
- 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 +6 -8
- 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/Affix/Affix.d.ts +1 -1
- package/dist/src/components/other/App/App.d.ts +2 -2
- package/dist/src/components/unused/Calendar/Calendar.d.ts +8 -0
- package/dist/src/components/{data-display → unused}/Carousel/Carousel.d.ts +1 -1
- package/dist/src/components/{data-entry → unused}/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/src/components/{data-display → unused}/QRCode/QRCode.d.ts +1 -1
- package/dist/src/components/{data-entry → unused}/Rate/Rate.d.ts +1 -1
- package/dist/src/components/{feedback → unused}/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 +1 -2
- package/dist/src/utils/Cookies.d.ts +1 -1
- package/dist/src/utils/utils.d.ts +1 -1
- package/package.json +20 -24
- package/dist/src/components/data-display/Calendar/Calendar.d.ts +0 -9
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
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(
|
|
11
|
+
Button: import('react').FC<import('antd/es/dropdown').DropdownButtonProps>;
|
|
13
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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 {
|
|
1
|
+
import { MenuItemGroupType, MenuItemType } from '../../../../../../../../../src/components';
|
|
2
2
|
export interface INavigationCreateProps {
|
|
3
3
|
createItems: Array<INavigationCreateItem | INavigationCreateGroup>;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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;
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {};
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SuiteLink, 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 {
|
|
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 {
|
|
2
|
-
import {
|
|
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 {
|
|
1
|
+
import { IWorkspaceSelectorDisplayItem } from '../../../../../../../../../../src/components';
|
|
2
2
|
type WorkspaceSelectorContentItemsProps = {
|
|
3
3
|
menuItems: IWorkspaceSelectorDisplayItem[];
|
|
4
4
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { INavigationOrg } from '../../../../../../../../../src/components';
|
|
2
2
|
export declare function generateOrgs(orgs: number, accounts: number, workspaces: number): INavigationOrg[];
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
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(
|
|
17
|
-
Item: Omit<import(
|
|
18
|
-
ItemGroup: import(
|
|
19
|
-
Divider: import(
|
|
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 {
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AppProps as AntAppProps } from 'antd';
|
|
2
2
|
export interface IAppProps extends AntAppProps {
|
|
3
3
|
}
|
|
4
4
|
export declare const App: {
|
|
5
5
|
(props: IAppProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
useApp: () => import(
|
|
6
|
+
useApp: () => import('antd/es/app/context').useAppProps;
|
|
7
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
1
|
+
import { IconOptions, IconNames } from '../../../../../../../src/types/icons';
|
|
2
2
|
export declare const Icons: Record<IconNames, IconOptions>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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>;
|
package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
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;
|
package/dist/src/services/user-preferences/models/user-preferences/composite-user-preferences.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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
|
-
|
|
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 {
|
|
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 {
|
|
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
|
+
"version": "1.33.3-chore-dependency-upgrades.1",
|
|
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.
|
|
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.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
|
|
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.
|
|
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.
|
|
78
|
-
"vite-plugin-dts": "
|
|
80
|
+
"vite": "5.4.9",
|
|
81
|
+
"vite-plugin-dts": "4.2.4",
|
|
79
82
|
"vite-plugin-svgr": "4.2.0",
|
|
80
|
-
"vitest": "1.3
|
|
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
|
-
};
|