@mparticle/aquarium 1.23.0 → 1.25.0-chore-add-disabled-state-queryitem-cascader.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';
@@ -383,11 +385,11 @@ export declare const FloatButton: {
383
385
  };
384
386
 
385
387
  export declare const Form: {
386
- (props: IFormProps): JSX_2.Element;
388
+ <Values = any>(props: IFormProps<Values>): JSX_2.Element;
387
389
  useForm: typeof useForm;
388
390
  useWatch: typeof default_2;
389
391
  useFormInstance: typeof default_3;
390
- Item: (<Values = any>(props: FormItemProps<Values>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
392
+ Item: (<Values_1 = any>(props: FormItemProps<Values_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
391
393
  useStatus: () => {
392
394
  status?: "" | "success" | "warning" | "error" | "validating" | undefined;
393
395
  errors: ReactNode[];
@@ -399,6 +401,8 @@ export declare const Form: {
399
401
  ErrorList: FC<ErrorListProps>;
400
402
  };
401
403
 
404
+ export { FormInstance }
405
+
402
406
  export declare const GlobalNavigation: {
403
407
  ({ showSuiteLogo, ...props }: IGlobalNavigationProps): JSX_2.Element;
404
408
  useNewExperienceReminder: (options: INewExperienceReminderOptions_2) => NewExperienceReminderHook_2;
@@ -504,7 +508,7 @@ export declare interface IFlexProps extends FlexProps {
504
508
  export declare interface IFloatButtonProps extends FloatButtonProps {
505
509
  }
506
510
 
507
- export declare interface IFormProps extends FormProps {
511
+ export declare interface IFormProps<Values = any> extends FormProps<Values> {
508
512
  children: ReactNode;
509
513
  }
510
514
 
@@ -623,7 +627,7 @@ export { InputRef }
623
627
  export declare interface INumberInputProps {
624
628
  value?: number | undefined;
625
629
  disabled?: boolean;
626
- errorMessage?: string;
630
+ errorMessage?: ReactNode;
627
631
  autoFocus: boolean;
628
632
  placeholder?: string;
629
633
  min?: number;
@@ -660,6 +664,7 @@ export declare interface IQueryItemCascaderProps {
660
664
  onChange?: (values: Array<number | string>, selectedOptions: any) => Promise<void>;
661
665
  loadData?: (value: string) => void;
662
666
  value?: Array<number | string>;
667
+ disabled?: boolean;
663
668
  }
664
669
 
665
670
  export declare type IQueryItemQualifierOption = DefaultOptionType;
@@ -752,7 +757,7 @@ export declare interface ITransferProps extends TransferProps {
752
757
  export declare interface ITreeData extends TreeDataNode {
753
758
  }
754
759
 
755
- export declare interface ITreeProps extends TreeProps {
760
+ export declare interface ITreeProps<T extends BasicDataNode = DataNode> extends TreeProps<T> {
756
761
  }
757
762
 
758
763
  export declare interface ITreeSelectProps extends TreeSelectProps {
@@ -982,8 +987,8 @@ export declare const Transfer: {
982
987
  };
983
988
 
984
989
  export declare const Tree: {
985
- (props: ITreeProps): JSX_2.Element;
986
- DirectoryTree: (<T extends BasicDataNode | TreeDataNode = TreeDataNode>(props: DirectoryTreeProps<T> & {
990
+ <T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): JSX_2.Element;
991
+ DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props: DirectoryTreeProps<T_1> & {
987
992
  children?: ReactNode;
988
993
  } & RefAttributes<default_6<TreeDataNode>>) => ReactElement<any, string | JSXElementConstructor<any>>) & Pick<FC<{}>, "displayName">;
989
994
  TreeNode: FC<TreeNodeProps_2<TreeDataNode>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.23.0",
3
+ "version": "1.25.0-chore-add-disabled-state-queryitem-cascader.1",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [