@mparticle/aquarium 1.21.1 → 1.22.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/index.d.ts CHANGED
@@ -79,6 +79,7 @@ import { GlobalConfigProps } from 'antd/es/notification/interface';
79
79
  import { Grid } from 'antd';
80
80
  import { GroupConsumerProps } from 'rc-image/lib/PreviewGroup';
81
81
  import { GroupProps } from 'antd/es/avatar';
82
+ import { IActionProps } from '../../../../../../../../../src/components/data-entry/QueryItem/Action';
82
83
  import { IAvatarProps as IAvatarProps_2 } from '../../../../../../../../../src/components';
83
84
  import { IBaseGlobalNavigationItem } from './navigation/GlobalNavigation/GlobalNavigationItems';
84
85
  import { ColProps as IColProps } from 'antd';
@@ -105,7 +106,9 @@ import { Input as Input_2 } from 'antd';
105
106
  import { InputNumberProps } from 'antd';
106
107
  import { InputProps } from 'antd';
107
108
  import { InputRef } from 'antd';
109
+ import { IQueryItemQualifierProps } from '../../../../../../../../../src/components/data-entry/QueryItem/Qualifier';
108
110
  import { RowProps as IRowProps } from 'antd';
111
+ import { ITextProps } from '../../../../../../../../../src/components/data-entry/QueryItem/Text';
109
112
  import { IWorkspaceSelectorDisplayItem } from './navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorItems';
110
113
  import { IWorkspaceSelectorItem } from './navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorItems';
111
114
  import { JSX as JSX_2 } from 'react/jsx-runtime';
@@ -149,7 +152,6 @@ import { PopconfirmProps } from 'antd';
149
152
  import { PopoverProps } from 'antd';
150
153
  import { ProgressProps } from 'antd';
151
154
  import { QRCodeProps } from 'antd';
152
- import { QueryItem } from './data-entry/QueryItem/QueryItem';
153
155
  import { RadioButtonProps } from 'antd/es/radio/radioButton';
154
156
  import { RadioGroupProps } from 'antd';
155
157
  import { RadioProps } from 'antd';
@@ -348,6 +350,8 @@ export declare const DatePicker: {
348
350
  };
349
351
  };
350
352
 
353
+ export { DefaultOptionType }
354
+
351
355
  export declare const Descriptions: {
352
356
  (props: IDescriptionsProps): JSX_2.Element;
353
357
  Item: FC<DescriptionsItemProps>;
@@ -448,8 +452,25 @@ export declare interface ICardProps extends CardProps {
448
452
  export declare interface ICarouselProps extends CarouselProps {
449
453
  }
450
454
 
455
+ declare interface ICascaderOption {
456
+ value: string;
457
+ label: string;
458
+ children?: ICascaderOption[];
459
+ disabled?: boolean;
460
+ }
461
+
451
462
  export declare type ICascaderProps<DataNodeType extends BaseOptionType = any> = CascaderProps<DataNodeType>;
452
463
 
464
+ declare interface ICascaderProps_2 {
465
+ options: ICascaderOption[];
466
+ icon?: keyof Pick<typeof Icons, 'empty' | 'event' | 'userAttribute' | 'eventAttribute'>;
467
+ errorMessage?: string;
468
+ placeholder?: string;
469
+ onChange?: (values: Array<number | string>, selectedOptions: any) => Promise<void>;
470
+ loadData?: (value: string) => void;
471
+ value?: Array<number | string>;
472
+ }
473
+
453
474
  export declare interface ICheckboxProps extends CheckboxProps {
454
475
  }
455
476
 
@@ -697,7 +718,15 @@ export declare interface ITagProps extends TagProps {
697
718
  children: React.ReactNode;
698
719
  }
699
720
 
700
- declare interface ITextProps extends TextProps {
721
+ export declare interface ITextInputProps {
722
+ value?: string;
723
+ disabled?: boolean;
724
+ errorMessage?: string;
725
+ placeholder?: string;
726
+ onChange?: (value: string) => void;
727
+ }
728
+
729
+ declare interface ITextProps_2 extends TextProps {
701
730
  size?: TypographySize;
702
731
  }
703
732
 
@@ -832,7 +861,18 @@ export declare const Progress: (props: IProgressProps) => JSX_2.Element;
832
861
 
833
862
  export declare const QRCode: (props: IQRCodeProps) => JSX_2.Element;
834
863
 
835
- export { QueryItem }
864
+ export declare const QueryItem: {
865
+ (): JSX_2.Element;
866
+ Action: (props: IActionProps) => JSX_2.Element;
867
+ Qualifier: (props: IQueryItemQualifierProps) => JSX_2.Element;
868
+ ValueSelector: {
869
+ (): JSX_2.Element;
870
+ TextInput: (props: ITextInputProps) => JSX_2.Element;
871
+ NumberInput: (props: INumberInputProps) => JSX_2.Element;
872
+ Cascader: (props: ICascaderProps_2) => JSX_2.Element;
873
+ };
874
+ Text: ({ disabled, text }: ITextProps) => JSX_2.Element;
875
+ };
836
876
 
837
877
  export declare const Radio: {
838
878
  (props: IRadioProps): JSX_2.Element;
@@ -959,7 +999,7 @@ export declare const TreeSelect: {
959
999
 
960
1000
  export declare const Typography: {
961
1001
  (props: ITypographyProps): JSX_2.Element;
962
- Text: ({ size, ...props }: ITextProps) => JSX_2.Element;
1002
+ Text: ({ size, ...props }: ITextProps_2) => JSX_2.Element;
963
1003
  Title: (props: ITitleProps) => JSX_2.Element;
964
1004
  Link: (props: ILinkProps) => JSX_2.Element;
965
1005
  Paragraph: (props: IParagraphProps) => JSX_2.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.21.1",
3
+ "version": "1.22.0",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [