@mparticle/aquarium 1.56.2 → 1.57.0
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 +5522 -5451
- package/dist/aquarium.umd.cjs +36 -36
- package/dist/src/components/UXPatterns/MoreActionsButton/MoreActionsButton.d.ts +18 -0
- package/dist/src/components/general/Icon/SuccessStateIcon/SuccessStateIcon.d.ts +9 -0
- package/dist/src/components/general/Icon/WarningStateIcon/WarningStateIcon.d.ts +9 -0
- package/dist/src/components/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type IDropdownProps, type IButtonProps, type IMenuProps } from '../..';
|
|
3
|
+
export type IMoreActionsButtonItem = NonNullable<IMenuProps['items']>[number];
|
|
4
|
+
export interface IMoreActionsButtonProps extends Omit<IDropdownProps, 'children' | 'menu'> {
|
|
5
|
+
/**
|
|
6
|
+
* Menu configuration for the dropdown - same as Dropdown component
|
|
7
|
+
*/
|
|
8
|
+
menuItems: IMenuProps;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the button is disabled
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Additional props to pass to the Button component
|
|
15
|
+
*/
|
|
16
|
+
buttonProps?: Omit<IButtonProps, 'type' | 'icon' | 'disabled'>;
|
|
17
|
+
}
|
|
18
|
+
export declare const MoreActionsButton: React.FC<IMoreActionsButtonProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type IconSize = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
3
|
+
export interface ISuccessStateIconProps {
|
|
4
|
+
size?: IconSize;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare const SuccessStateIcon: React.FC<ISuccessStateIconProps>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type IconSize = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
3
|
+
export interface IWarningStateIconProps {
|
|
4
|
+
size?: IconSize;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare const WarningStateIcon: React.FC<IWarningStateIconProps>;
|
|
9
|
+
export {};
|
|
@@ -2,6 +2,8 @@ export { Button, type IButtonProps } from './general/Button/Button';
|
|
|
2
2
|
export { FloatButton, type IFloatButtonProps } from './general/FloatButton/FloatButton';
|
|
3
3
|
export { Icon, type IIconProps } from './general/Icon/Icon';
|
|
4
4
|
export { ErrorStateIcon, type IErrorStateIconProps } from './general/Icon/ErrorStateIcon/ErrorStateIcon';
|
|
5
|
+
export { SuccessStateIcon, type ISuccessStateIconProps } from './general/Icon/SuccessStateIcon/SuccessStateIcon';
|
|
6
|
+
export { WarningStateIcon, type IWarningStateIconProps } from './general/Icon/WarningStateIcon/WarningStateIcon';
|
|
5
7
|
export { Rate, type IRateProps } from './not-prod-ready/Rate/Rate';
|
|
6
8
|
export { Form, type IFormProps, type FormInstance } from './data-entry/Form/Form';
|
|
7
9
|
export { TreeSelect, type ITreeSelectProps } from './data-entry/TreeSelect/TreeSelect';
|
|
@@ -89,6 +91,7 @@ export { USER_PREFERENCE_SCOPE_SEPARATOR, UserPreferenceGlobalScope, type UserPr
|
|
|
89
91
|
export { useNewExperienceReminder, type INewExperienceReminderOptions, type NewExperienceReminderHook, } from '../hooks/NewExperienceReminder/useNewExperienceReminder';
|
|
90
92
|
export { ChartConfig, ChartAxisStyle } from '../constants/ChartConfig';
|
|
91
93
|
export { ChartColors } from '../constants/ChartColors';
|
|
94
|
+
export { MoreActionsButton, type IMoreActionsButtonProps, type IMoreActionsButtonItem, } from './UXPatterns/MoreActionsButton/MoreActionsButton';
|
|
92
95
|
export { Utils } from '../shared/Utils';
|
|
93
96
|
export { RoutesAuthorizationsService } from '../shared/services/RoutesAuthorizationsService';
|
|
94
97
|
export { InitializationService } from '../shared/services/InitializationService';
|