@mparticle/aquarium 1.24.0 → 1.25.0-icons-variant.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/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { AvatarProps as AvatarProps_2 } from 'antd/es/skeleton/Avatar';
10
10
  import { BackTopProps } from 'antd/es/float-button/interface';
11
11
  import { BadgeProps } from 'antd';
12
12
  import { BaseOptionType } from 'antd/es/select';
13
- import { BasicDataNode } from 'rc-tree';
13
+ import { BasicDataNode } from 'antd/es/tree';
14
14
  import { BreadcrumbItemProps } from 'antd';
15
15
  import { BreadcrumbProps } from 'antd';
16
16
  import { ButtonGroupProps } from 'antd/es/button';
@@ -39,6 +39,7 @@ import { ConfigOptions } from 'antd/es/message/interface';
39
39
  import { ConfigProvider } from './other/ConfigProvider/ConfigProvider';
40
40
  import { CountdownProps } from 'antd';
41
41
  import { CSSProperties } from 'react';
42
+ import { DataNode } from 'antd/es/tree';
42
43
  import { DatePickerProps } from 'antd';
43
44
  import { Dayjs } from 'dayjs';
44
45
  import { default as default_10 } from 'antd/es/modal/useModal';
@@ -69,6 +70,7 @@ import { FlexProps } from 'antd';
69
70
  import { FloatButtonGroupProps } from 'antd';
70
71
  import { FloatButtonProps } from 'antd';
71
72
  import { FloatButtonRef } from 'antd';
73
+ import { FormInstance } from 'antd';
72
74
  import { FormItemProps } from 'antd';
73
75
  import { FormListProps } from 'antd/es/form';
74
76
  import { FormProps } from 'antd';
@@ -84,7 +86,9 @@ import { IAvatarProps as IAvatarProps_2 } from '../../../../../../../../../src/c
84
86
  import { IBaseGlobalNavigationItem } from './navigation/GlobalNavigation/GlobalNavigationItems';
85
87
  import { ColProps as IColProps } from 'antd';
86
88
  import { IConfigProviderProps } from './other/ConfigProvider/ConfigProvider';
89
+ import type { IconNames } from '../../../../../../../../../src/types/icons';
87
90
  import { Icons } from '../../../../../../../../../src/constants/Icons';
91
+ import type { IconVariant } from '../../../../../../../../../src/types/icons';
88
92
  import { IFlexProps as IFlexProps_2 } from '../../../../../../../../../src/components/layout/Flex/Flex';
89
93
  import { IGlobalNavigationItem } from './navigation/GlobalNavigation/GlobalNavigationItems';
90
94
  import { IGlobalNavigationItem as IGlobalNavigationItem_2 } from '../../../../../../../../../src/components/navigation/GlobalNavigation/GlobalNavigationItems';
@@ -157,6 +161,7 @@ import { RadioGroupProps } from 'antd';
157
161
  import { RadioProps } from 'antd';
158
162
  import { RangePickerProps } from 'rc-picker';
159
163
  import { RateProps } from 'antd';
164
+ import { default as React_2 } from 'react';
160
165
  import { ReactElement } from 'react';
161
166
  import { ReactNode } from 'react';
162
167
  import { RefAttributes } from 'react';
@@ -383,11 +388,11 @@ export declare const FloatButton: {
383
388
  };
384
389
 
385
390
  export declare const Form: {
386
- (props: IFormProps): JSX_2.Element;
391
+ <Values = any>(props: IFormProps<Values>): JSX_2.Element;
387
392
  useForm: typeof useForm;
388
393
  useWatch: typeof default_2;
389
394
  useFormInstance: typeof default_3;
390
- Item: (<Values = any>(props: FormItemProps<Values>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
395
+ Item: (<Values_1 = any>(props: FormItemProps<Values_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
391
396
  useStatus: () => {
392
397
  status?: "" | "success" | "warning" | "error" | "validating" | undefined;
393
398
  errors: ReactNode[];
@@ -399,6 +404,8 @@ export declare const Form: {
399
404
  ErrorList: FC<ErrorListProps>;
400
405
  };
401
406
 
407
+ export { FormInstance }
408
+
402
409
  export declare const GlobalNavigation: {
403
410
  ({ showSuiteLogo, ...props }: IGlobalNavigationProps): JSX_2.Element;
404
411
  useNewExperienceReminder: (options: INewExperienceReminderOptions_2) => NewExperienceReminderHook_2;
@@ -472,7 +479,7 @@ export declare interface IColorPickerProps extends ColorPickerProps {
472
479
 
473
480
  export { IColProps }
474
481
 
475
- export declare const Icon: (props: IIconProps) => JSX_2.Element;
482
+ export declare const Icon: React_2.FC<IIconProps>;
476
483
 
477
484
  declare type IconColor = 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info' | 'white' | 'black' | 'text' | 'strong' | 'brand';
478
485
 
@@ -504,7 +511,7 @@ export declare interface IFlexProps extends FlexProps {
504
511
  export declare interface IFloatButtonProps extends FloatButtonProps {
505
512
  }
506
513
 
507
- export declare interface IFormProps extends FormProps {
514
+ export declare interface IFormProps<Values = any> extends FormProps<Values> {
508
515
  children: ReactNode;
509
516
  }
510
517
 
@@ -533,9 +540,10 @@ export declare interface IGlobalNavigationProps {
533
540
  }
534
541
 
535
542
  export declare interface IIconProps {
536
- name: keyof typeof Icons;
543
+ name: IconNames;
537
544
  color?: IconColor;
538
545
  size?: IconSize;
546
+ variant?: IconVariant;
539
547
  }
540
548
 
541
549
  export declare interface IImageProps extends ImageProps {
@@ -752,7 +760,7 @@ export declare interface ITransferProps extends TransferProps {
752
760
  export declare interface ITreeData extends TreeDataNode {
753
761
  }
754
762
 
755
- export declare interface ITreeProps extends TreeProps {
763
+ export declare interface ITreeProps<T extends BasicDataNode = DataNode> extends TreeProps<T> {
756
764
  }
757
765
 
758
766
  export declare interface ITreeSelectProps extends TreeSelectProps {
@@ -982,8 +990,8 @@ export declare const Transfer: {
982
990
  };
983
991
 
984
992
  export declare const Tree: {
985
- (props: ITreeProps): JSX_2.Element;
986
- DirectoryTree: (<T extends BasicDataNode | TreeDataNode = TreeDataNode>(props: DirectoryTreeProps<T> & {
993
+ <T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): JSX_2.Element;
994
+ DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props: DirectoryTreeProps<T_1> & {
987
995
  children?: ReactNode;
988
996
  } & RefAttributes<default_6<TreeDataNode>>) => ReactElement<any, string | JSXElementConstructor<any>>) & Pick<FC<{}>, "displayName">;
989
997
  TreeNode: FC<TreeNodeProps_2<TreeDataNode>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.24.0",
3
+ "version": "1.25.0-icons-variant.1",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [