@mparticle/aquarium 1.62.0-aquarium-2-blurple.2 → 1.62.0-aquarium-2-upgrade.2

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.
Files changed (138) hide show
  1. package/dist/aquarium.js +3702 -5489
  2. package/dist/aquarium.umd.cjs +1 -75
  3. package/dist/index.d.ts +1 -0
  4. package/dist/src/components/UXPatterns/MoreActionsButton/MoreActionsButton.d.ts +2 -2
  5. package/dist/src/components/UXPatterns/PermissionsRestrictions/UnauthorizedTooltip.d.ts +2 -2
  6. package/dist/src/components/UXPatterns/StatisticsCard/StatisticsCard.d.ts +11 -0
  7. package/dist/src/components/data-display/Avatar/Avatar.d.ts +4 -7
  8. package/dist/src/components/data-display/Badge/Badge.d.ts +3 -5
  9. package/dist/src/components/data-display/Card/Card.d.ts +3 -5
  10. package/dist/src/components/data-display/Collapse/Collapse.d.ts +3 -5
  11. package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +3 -5
  12. package/dist/src/components/data-display/Empty/Empty.d.ts +3 -4
  13. package/dist/src/components/data-display/Image/Image.d.ts +3 -5
  14. package/dist/src/components/data-display/List/List.d.ts +3 -5
  15. package/dist/src/components/data-display/Popover/Popover.d.ts +2 -3
  16. package/dist/src/components/data-display/Segmented/Segmented.d.ts +2 -4
  17. package/dist/src/components/data-display/Table/Table.d.ts +13 -15
  18. package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -5
  19. package/dist/src/components/data-display/Tag/Tag.d.ts +4 -6
  20. package/dist/src/components/data-display/Tooltip/IconWithTooltip.d.ts +10 -0
  21. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -3
  22. package/dist/src/components/data-display/Tour/Tour.d.ts +2 -3
  23. package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +2 -3
  24. package/dist/src/components/data-entry/Cascader/Cascader.d.ts +5 -6
  25. package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +6 -10
  26. package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +55 -54
  27. package/dist/src/components/data-entry/Form/Form.d.ts +15 -15
  28. package/dist/src/components/data-entry/Input/Input.d.ts +2 -4
  29. package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +2 -3
  30. package/dist/src/components/data-entry/QueryItem/Action.d.ts +2 -3
  31. package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +5 -6
  32. package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +2 -3
  33. package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +2 -3
  34. package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +11 -12
  35. package/dist/src/components/data-entry/QueryItem/Text.d.ts +1 -2
  36. package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +1 -2
  37. package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +6 -7
  38. package/dist/src/components/data-entry/Radio/Radio.d.ts +5 -6
  39. package/dist/src/components/data-entry/Radio/RadioButton.d.ts +2 -3
  40. package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +2 -3
  41. package/dist/src/components/data-entry/Select/Select.d.ts +4 -5
  42. package/dist/src/components/data-entry/Switch/Switch.d.ts +2 -3
  43. package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +4 -6
  44. package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +3 -5
  45. package/dist/src/components/data-entry/Upload/Upload.d.ts +4 -6
  46. package/dist/src/components/feedback/Alert/Alert.d.ts +5 -6
  47. package/dist/src/components/feedback/Drawer/Drawer.d.ts +2 -3
  48. package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +2 -4
  49. package/dist/src/components/feedback/Message/Message.d.ts +5 -9
  50. package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +3 -4
  51. package/dist/src/components/feedback/Modal/ErrorModal/ErrorModal.d.ts +2 -2
  52. package/dist/src/components/feedback/Modal/Modal.d.ts +5 -6
  53. package/dist/src/components/feedback/Notification/Notification.d.ts +5 -9
  54. package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +2 -3
  55. package/dist/src/components/feedback/Progress/Progress.d.ts +2 -3
  56. package/dist/src/components/feedback/Result/Result.d.ts +2 -4
  57. package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +7 -8
  58. package/dist/src/components/feedback/Spin/Spin.d.ts +3 -6
  59. package/dist/src/components/general/Button/Button.d.ts +9 -7
  60. package/dist/src/components/general/FloatButton/FloatButton.d.ts +5 -7
  61. package/dist/src/components/general/Icon/ErrorStateIcon/ErrorStateIcon.d.ts +1 -1
  62. package/dist/src/components/general/Icon/Icon.d.ts +2 -2
  63. package/dist/src/components/general/Icon/SuccessStateIcon/SuccessStateIcon.d.ts +1 -1
  64. package/dist/src/components/general/Icon/WarningStateIcon/WarningStateIcon.d.ts +1 -1
  65. package/dist/src/components/general/Typography/Typography.d.ts +11 -12
  66. package/dist/src/components/general/Typography/colors.d.ts +1 -1
  67. package/dist/src/components/icons/index.d.ts +140 -140
  68. package/dist/src/components/index.d.ts +2 -0
  69. package/dist/src/components/layout/Center/Center.d.ts +2 -3
  70. package/dist/src/components/layout/Divider/Divider.d.ts +2 -3
  71. package/dist/src/components/layout/Flex/Flex.d.ts +2 -3
  72. package/dist/src/components/layout/Grid/Grid.d.ts +1 -5
  73. package/dist/src/components/layout/Layout/Layout.d.ts +3 -5
  74. package/dist/src/components/layout/Space/Space.d.ts +3 -5
  75. package/dist/src/components/layout/Splitter/Splitter.d.ts +5 -6
  76. package/dist/src/components/navigation/Anchor/Anchor.d.ts +2 -4
  77. package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -4
  78. package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +3 -5
  79. package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +4 -5
  80. package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +1 -2
  81. package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +1 -1
  82. package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +2 -3
  83. package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +2 -3
  84. package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +4 -5
  85. package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +2 -3
  86. package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +2 -3
  87. package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +1 -2
  88. package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +2 -3
  89. package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +2 -3
  90. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +4 -5
  91. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +2 -3
  92. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +2 -3
  93. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +1 -2
  94. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +2 -3
  95. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +4 -5
  96. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +2 -3
  97. package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +1 -1
  98. package/dist/src/components/navigation/Menu/Menu.d.ts +7 -10
  99. package/dist/src/components/navigation/Pagination/Pagination.d.ts +2 -3
  100. package/dist/src/components/navigation/Steps/Steps.d.ts +2 -3
  101. package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +2 -3
  102. package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +5 -7
  103. package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +2 -3
  104. package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +2 -3
  105. package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +2 -3
  106. package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +2 -3
  107. package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +2 -4
  108. package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +3 -6
  109. package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +2 -4
  110. package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +4 -6
  111. package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +7 -13
  112. package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +2 -3
  113. package/dist/src/components/other/ConfigProvider/ConfigProvider.d.ts +4 -6
  114. package/dist/src/constants/ChartConfig.d.ts +1 -1
  115. package/dist/src/constants/Icons.d.ts +1 -1
  116. package/dist/src/hooks/NewExperienceReminder/useNewExperienceReminder.d.ts +1 -1
  117. package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +3 -3
  118. package/dist/src/services/user-preferences/models/definitions/user-preference-definition.d.ts +1 -1
  119. package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts +1 -1
  120. package/dist/src/services/user-preferences/models/definitions/user-preference-per-scope.d.ts +1 -1
  121. package/dist/src/services/user-preferences/user-preferences-service.d.ts +3 -3
  122. package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +4 -4
  123. package/dist/src/shared/services/AuthorizationsService.d.ts +1 -1
  124. package/dist/src/shared/services/NavigationItemsService.d.ts +1 -1
  125. package/dist/src/shared/services/RoutesAuthorizationsService.d.ts +1 -1
  126. package/dist/src/shared/services/routeAuthorizations/anaytics-authorizations.d.ts +2 -2
  127. package/dist/src/shared/services/routeAuthorizations/base-routes-authorizations.d.ts +2 -2
  128. package/dist/src/shared/services/routeAuthorizations/customer-360-authorizations.d.ts +2 -2
  129. package/dist/src/shared/services/routeAuthorizations/oversight-authorizations.d.ts +2 -2
  130. package/dist/src/types/icons.d.ts +1 -2
  131. package/dist/src/utils/Cookies.d.ts +1 -1
  132. package/dist/src/utils/ExampleStory.d.ts +1 -3
  133. package/dist/src/utils/GetGlobalToken.d.ts +0 -1
  134. package/dist/src/utils/debounce.d.ts +1 -1
  135. package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +1 -2
  136. package/dist/src/utils/utils.d.ts +2 -2
  137. package/package.json +59 -67
  138. package/dist/style.css +0 -1
@@ -1,17 +1,16 @@
1
- import { ITextProps } from './Text';
2
- import { ITextInputProps, INumberInputProps, IQueryItemCascaderProps } from '../..';
3
- import { IQueryItemQualifierProps } from './Qualifier';
4
1
  import { IActionProps } from './Action';
5
- import { JSX } from 'react/jsx-runtime';
2
+ import { IQueryItemQualifierProps } from './Qualifier';
3
+ import { ITextInputProps, INumberInputProps, IQueryItemCascaderProps } from '../..';
4
+ import { ITextProps } from './Text';
6
5
  export declare const QueryItem: {
7
- (): JSX.Element;
8
- Action: (props: IActionProps) => JSX.Element;
9
- Qualifier: (props: IQueryItemQualifierProps) => JSX.Element;
6
+ (): import("react/jsx-runtime").JSX.Element;
7
+ Action: (props: IActionProps) => import("react/jsx-runtime").JSX.Element;
8
+ Qualifier: (props: IQueryItemQualifierProps) => import("react/jsx-runtime").JSX.Element;
10
9
  ValueSelector: {
11
- (): JSX.Element;
12
- TextInput: (props: ITextInputProps) => JSX.Element;
13
- NumberInput: (props: INumberInputProps) => JSX.Element;
14
- Cascader: (props: IQueryItemCascaderProps) => JSX.Element;
10
+ (): import("react/jsx-runtime").JSX.Element;
11
+ TextInput: (props: ITextInputProps) => import("react/jsx-runtime").JSX.Element;
12
+ NumberInput: (props: INumberInputProps) => import("react/jsx-runtime").JSX.Element;
13
+ Cascader: (props: IQueryItemCascaderProps) => import("react/jsx-runtime").JSX.Element;
15
14
  };
16
- Text: ({ disabled, text }: ITextProps) => JSX.Element;
15
+ Text: ({ disabled, text }: ITextProps) => import("react/jsx-runtime").JSX.Element;
17
16
  };
@@ -1,4 +1,3 @@
1
- import { JSX } from 'react/jsx-runtime';
2
1
  export interface ITextProps {
3
2
  disabled?: boolean;
4
3
  text: string;
@@ -7,5 +6,5 @@ export interface ITextProps {
7
6
  */
8
7
  className?: string;
9
8
  }
10
- declare const Text: ({ disabled, text }: ITextProps) => JSX.Element;
9
+ declare const Text: ({ disabled, text }: ITextProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export default Text;
@@ -1,4 +1,3 @@
1
- import { JSX } from 'react/jsx-runtime';
2
1
  export interface ITextInputProps {
3
2
  value?: string;
4
3
  disabled?: boolean;
@@ -6,5 +5,5 @@ export interface ITextInputProps {
6
5
  placeholder?: string;
7
6
  onChange?: (value: string) => void;
8
7
  }
9
- declare const TextInput: (props: ITextInputProps) => JSX.Element;
8
+ declare const TextInput: (props: ITextInputProps) => import("react/jsx-runtime").JSX.Element;
10
9
  export default TextInput;
@@ -1,11 +1,10 @@
1
- import { IQueryItemCascaderProps } from './Cascader';
2
- import { INumberInputProps } from './NumberInput';
3
1
  import { ITextInputProps } from './TextInput';
4
- import { JSX } from 'react/jsx-runtime';
2
+ import { INumberInputProps } from './NumberInput';
3
+ import { IQueryItemCascaderProps } from './Cascader';
5
4
  declare const ValueSelector: {
6
- (): JSX.Element;
7
- TextInput: (props: ITextInputProps) => JSX.Element;
8
- NumberInput: (props: INumberInputProps) => JSX.Element;
9
- Cascader: (props: IQueryItemCascaderProps) => JSX.Element;
5
+ (): import("react/jsx-runtime").JSX.Element;
6
+ TextInput: (props: ITextInputProps) => import("react/jsx-runtime").JSX.Element;
7
+ NumberInput: (props: INumberInputProps) => import("react/jsx-runtime").JSX.Element;
8
+ Cascader: (props: IQueryItemCascaderProps) => import("react/jsx-runtime").JSX.Element;
10
9
  };
11
10
  export default ValueSelector;
@@ -1,11 +1,10 @@
1
- import { IRadioButtonProps } from './RadioButton';
1
+ import { RadioProps as AntRadioProps } from 'antd';
2
2
  import { IRadioGroupProps } from './RadioGroup';
3
- import { JSX } from 'react/jsx-runtime';
4
- import { type RadioProps as AntRadioProps } from 'antd';
3
+ import { IRadioButtonProps } from './RadioButton';
5
4
  export interface IRadioProps extends AntRadioProps {
6
5
  }
7
6
  export declare const Radio: {
8
- (props: IRadioProps): JSX.Element;
9
- Group: (props: IRadioGroupProps) => JSX.Element;
10
- Button: (props: IRadioButtonProps) => JSX.Element;
7
+ (props: IRadioProps): import("react/jsx-runtime").JSX.Element;
8
+ Group: (props: IRadioGroupProps) => import("react/jsx-runtime").JSX.Element;
9
+ Button: (props: IRadioButtonProps) => import("react/jsx-runtime").JSX.Element;
11
10
  };
@@ -1,5 +1,4 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { type RadioButtonProps as AntRadioGroupProps } from "antd/es/radio/radioButton";
1
+ import { RadioButtonProps as AntRadioGroupProps } from 'antd/es/radio/radioButton';
3
2
  export interface IRadioButtonProps extends AntRadioGroupProps {
4
3
  }
5
- export declare const RadioButton: (props: IRadioButtonProps) => JSX.Element;
4
+ export declare const RadioButton: (props: IRadioButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { type RadioGroupProps as AntRadioGroupProps } from 'antd';
1
+ import { RadioGroupProps as AntRadioGroupProps } from 'antd';
3
2
  export interface IRadioGroupProps extends AntRadioGroupProps {
4
3
  }
5
- export declare const RadioGroup: (props: IRadioGroupProps) => JSX.Element;
4
+ export declare const RadioGroup: (props: IRadioGroupProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +1,13 @@
1
- import { OptionGroupFC } from '@rc-component/select/lib/OptGroup';
1
+ import { SelectProps as AntSelectProps } from 'antd';
2
+ import { BaseOptionType as AntBaseOptionType, DefaultOptionType as AntDefaultOptionType } from 'antd/es/select';
2
3
  import { OptionFC } from '@rc-component/select/lib/Option';
3
- import { JSX } from 'react/jsx-runtime';
4
- import type { SelectProps as AntSelectProps } from 'antd';
5
- import type { BaseOptionType as AntBaseOptionType, DefaultOptionType as AntDefaultOptionType } from 'antd/es/select';
4
+ import { OptionGroupFC } from '@rc-component/select/lib/OptGroup';
6
5
  export type SelectBaseOptionType = AntBaseOptionType;
7
6
  export type SelectDefaultOptionType = AntDefaultOptionType;
8
7
  export interface ISelectProps<SelectValueType = unknown, SelectOptionType extends SelectBaseOptionType | SelectDefaultOptionType = SelectDefaultOptionType> extends AntSelectProps<SelectValueType, SelectOptionType> {
9
8
  }
10
9
  export declare const Select: {
11
- <SelectValueType, SelectOptionType extends AntBaseOptionType | AntDefaultOptionType = AntDefaultOptionType>(props: ISelectProps<SelectValueType, SelectOptionType>): JSX.Element;
10
+ <SelectValueType, SelectOptionType extends SelectBaseOptionType | SelectDefaultOptionType = AntDefaultOptionType>(props: ISelectProps<SelectValueType, SelectOptionType>): import("react/jsx-runtime").JSX.Element;
12
11
  Option: OptionFC;
13
12
  OptGroup: OptionGroupFC;
14
13
  };
@@ -1,5 +1,4 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { type SwitchProps as AntSwitchProps } from 'antd';
1
+ import { SwitchProps as AntSwitchProps } from 'antd';
3
2
  export interface ISwitchProps extends AntSwitchProps {
4
3
  }
5
- export declare const Switch: (props: ISwitchProps) => JSX.Element;
4
+ export declare const Switch: (props: ISwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,9 @@
1
- import { PickerRef } from '@rc-component/picker';
1
+ import { TimePickerProps as AntTimePickerProps, TimeRangePickerProps } from 'antd';
2
2
  import { ForwardRefExoticComponent, RefAttributes } from 'react';
3
- import { JSX } from 'react/jsx-runtime';
4
- /// <reference types="react" />
5
- import { TimeRangePickerProps, type TimePickerProps as AntTimePickerProps } from 'antd';
3
+ import { PickerRef } from '@rc-component/picker';
6
4
  export interface ITimePickerProps extends AntTimePickerProps {
7
5
  }
8
6
  export declare const TimePicker: {
9
- (props: ITimePickerProps): JSX.Element;
10
- RangePicker: ForwardRefExoticComponent<TimeRangePickerProps & RefAttributes<PickerRef>>;
7
+ (props: ITimePickerProps): import("react/jsx-runtime").JSX.Element;
8
+ RangePicker: ForwardRefExoticComponent< TimeRangePickerProps & RefAttributes<PickerRef>>;
11
9
  };
@@ -1,12 +1,10 @@
1
- import { TreeNodeProps } from '@rc-component/tree-select/lib/TreeNode';
1
+ import { TreeSelectProps as AntTreeSelectProps } from 'antd';
2
2
  import { FC } from 'react';
3
- import { JSX } from 'react/jsx-runtime';
4
- /// <reference types="react" />
5
- import { type TreeSelectProps as AntTreeSelectProps } from 'antd';
3
+ import { TreeNodeProps } from '@rc-component/tree-select/lib/TreeNode';
6
4
  export interface ITreeSelectProps extends AntTreeSelectProps {
7
5
  }
8
6
  export declare const TreeSelect: {
9
- (props: ITreeSelectProps): JSX.Element;
7
+ (props: ITreeSelectProps): import("react/jsx-runtime").JSX.Element;
10
8
  TreeNode: FC<TreeNodeProps>;
11
9
  SHOW_ALL: "SHOW_ALL";
12
10
  SHOW_CHILD: "SHOW_CHILD";
@@ -1,16 +1,14 @@
1
- import { UploadRef } from 'antd/es/upload/Upload';
1
+ import { UploadProps as AntUploadProps, UploadFile as AntUploadFile } from 'antd';
2
2
  import { ForwardRefExoticComponent, RefAttributes } from 'react';
3
- import { JSX } from 'react/jsx-runtime';
4
- /// <reference types="react" />
5
- import { type UploadProps as AntUploadProps, type UploadFile as AntUploadFile } from 'antd';
3
+ import { UploadRef } from 'antd/es/upload/Upload';
6
4
  export interface IUploadFileProps extends AntUploadFile {
7
5
  }
8
6
  export interface IUploadProps extends AntUploadProps {
9
7
  }
10
8
  export declare const Upload: {
11
- (props: IUploadProps): JSX.Element;
9
+ (props: IUploadProps): import("react/jsx-runtime").JSX.Element;
12
10
  Dragger: ForwardRefExoticComponent<AntUploadProps<any> & {
13
- height?: number | undefined;
11
+ height?: number;
14
12
  } & RefAttributes<UploadRef<any>>>;
15
13
  LIST_IGNORE: string;
16
14
  };
@@ -1,13 +1,12 @@
1
- import { default as __DTS_1__ } from 'antd/es/alert/ErrorBoundary';
2
- import { JSX } from 'react/jsx-runtime';
3
- import { type AlertProps as AntAlertProps } from 'antd';
4
- import { type ReactNode } from 'react';
1
+ import { AlertProps as AntAlertProps } from 'antd';
2
+ import { ReactNode } from 'react';
3
+ import { default as __DTS_DEFAULT_0__ } from 'antd/es/alert/ErrorBoundary';
5
4
  export interface IAlertProps extends Omit<AntAlertProps, 'message'> {
6
5
  message?: ReactNode;
7
6
  expandable?: boolean;
8
7
  expandableContent?: ReactNode;
9
8
  }
10
9
  export declare const Alert: {
11
- (props: IAlertProps): JSX.Element;
12
- ErrorBoundary: typeof __DTS_1__;
10
+ (props: IAlertProps): import("react/jsx-runtime").JSX.Element;
11
+ ErrorBoundary: __DTS_DEFAULT_0__;
13
12
  };
@@ -1,5 +1,4 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { type DrawerProps as AntDrawerProps } from 'antd';
1
+ import { DrawerProps as AntDrawerProps } from 'antd';
3
2
  export interface IDrawerProps extends AntDrawerProps {
4
3
  }
5
- export declare const Drawer: (props: IDrawerProps) => JSX.Element;
4
+ export declare const Drawer: (props: IDrawerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,6 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- /// <reference types="react" />
3
- import { type IModalProps } from '../Modal/Modal';
1
+ import { IModalProps } from '../Modal/Modal';
4
2
  export interface ILoadingModalProps<Data> extends Omit<IModalProps, 'children'> {
5
3
  fetchData: () => Promise<Data>;
6
4
  children: (initData: Data) => React.ReactNode;
7
5
  }
8
- export declare function LoadingModal<Data>(props: ILoadingModalProps<Data>): JSX.Element;
6
+ export declare function LoadingModal<Data>(props: ILoadingModalProps<Data>): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +1,16 @@
1
- import { Key } from 'react';
1
+ import { message as AntMessage, MessageArgsProps as AntMessageArgsProps } from 'antd';
2
+ import { default as __DTS_DEFAULT_0__ } from 'antd/es/message/useMessage';
2
3
  import { TypeOpen, ConfigOptions, MessageType } from 'antd/es/message/interface';
3
- import { default as __DTS_1__ } from 'antd/es/message/useMessage';
4
- import { JSX } from 'react/jsx-runtime';
5
- /// <reference types="react" />
6
- import { message as AntMessage } from 'antd';
7
- import { type MessageArgsProps as AntMessageArgsProps } from 'antd';
8
4
  export interface IMessageProps extends AntMessageArgsProps {
9
5
  children: React.ReactNode;
10
6
  }
11
7
  export { AntMessage as message };
12
8
  export declare const Message: {
13
- (props: IMessageProps): JSX.Element;
14
- useMessage: typeof __DTS_1__;
9
+ (props: IMessageProps): import("react/jsx-runtime").JSX.Element;
10
+ useMessage: __DTS_DEFAULT_0__;
15
11
  info: TypeOpen;
16
12
  error: TypeOpen;
17
- destroy: (key?: Key | undefined) => void;
13
+ destroy: (key?: React.Key) => void;
18
14
  config: (config: ConfigOptions) => void;
19
15
  success: TypeOpen;
20
16
  open: (config: AntMessageArgsProps) => MessageType;
@@ -1,6 +1,5 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import React from 'react';
3
- import { type IModalProps } from '../../..';
1
+ import { default as React } from 'react';
2
+ import { IModalProps } from '../../..';
4
3
  export interface IDeleteConfirmModalProps extends IModalProps {
5
4
  open: boolean;
6
5
  title: string;
@@ -11,4 +10,4 @@ export interface IDeleteConfirmModalProps extends IModalProps {
11
10
  okButtonProps?: IModalProps['okButtonProps'];
12
11
  width?: number;
13
12
  }
14
- export declare function DeleteConfirmModal(props: IDeleteConfirmModalProps): JSX.Element;
13
+ export declare function DeleteConfirmModal(props: IDeleteConfirmModalProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { type IModalProps } from '../../..';
1
+ import { default as React } from 'react';
2
+ import { IModalProps } from '../../..';
3
3
  export interface IErrorModalProps extends Omit<IModalProps, 'footer' | 'okText' | 'okButtonProps' | 'cancelText' | 'cancelButtonProps' | 'onOk' | 'onCancel' | 'content'> {
4
4
  open: boolean;
5
5
  title?: string;
@@ -1,16 +1,15 @@
1
- import { default as __DTS_1__ } from 'antd/es/modal/useModal';
1
+ import { ModalProps as AntModalProps } from 'antd';
2
2
  import { ModalFunc, modalGlobalConfig } from 'antd/es/modal/confirm';
3
- import { JSX } from 'react/jsx-runtime';
4
- import { type ModalProps as AntModalProps } from 'antd';
3
+ import { default as __DTS_DEFAULT_0__ } from 'antd/es/modal/useModal';
5
4
  export interface IModalProps extends AntModalProps {
6
5
  }
7
6
  export declare const Modal: {
8
- (props: IModalProps): JSX.Element;
7
+ (props: IModalProps): import("react/jsx-runtime").JSX.Element;
9
8
  info: ModalFunc;
10
9
  success: ModalFunc;
11
10
  confirm: ModalFunc;
12
11
  warning: ModalFunc;
13
- config: typeof modalGlobalConfig;
12
+ config: modalGlobalConfig;
14
13
  destroyAll: () => void;
15
- useModal: typeof __DTS_1__;
14
+ useModal: __DTS_DEFAULT_0__;
16
15
  };
@@ -1,22 +1,18 @@
1
- import { Key } from 'react';
1
+ import { notification as AntNotification, NotificationArgsProps } from 'antd';
2
+ import { default as __DTS_DEFAULT_0__ } from 'antd/es/notification/useNotification';
2
3
  import { GlobalConfigProps } from 'antd/es/notification/interface';
3
- import { default as __DTS_1__ } from 'antd/es/notification/useNotification';
4
- import { JSX } from 'react/jsx-runtime';
5
- /// <reference types="react" />
6
- import { notification as AntNotification } from 'antd';
7
- import { type NotificationArgsProps } from 'antd';
8
4
  export interface INotificationProps extends NotificationArgsProps {
9
5
  children: React.ReactNode;
10
6
  }
11
7
  export { AntNotification as notification };
12
8
  export declare const Notification: {
13
- (props: INotificationProps): JSX.Element;
14
- useNotification: typeof __DTS_1__;
9
+ (props: INotificationProps): import("react/jsx-runtime").JSX.Element;
10
+ useNotification: __DTS_DEFAULT_0__;
15
11
  warning: (config: NotificationArgsProps) => void;
16
12
  open: (config: NotificationArgsProps) => void;
17
13
  info: (config: NotificationArgsProps) => void;
18
14
  config: (config: GlobalConfigProps) => void;
19
- destroy: (key?: Key | undefined) => void;
15
+ destroy: (key?: React.Key) => void;
20
16
  error: (config: NotificationArgsProps) => void;
21
17
  success: (config: NotificationArgsProps) => void;
22
18
  };
@@ -1,5 +1,4 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { type PopconfirmProps as AntPopconfirmProps } from 'antd';
1
+ import { PopconfirmProps as AntPopconfirmProps } from 'antd';
3
2
  export interface IPopconfirmProps extends AntPopconfirmProps {
4
3
  }
5
- export declare const Popconfirm: (props: IPopconfirmProps) => JSX.Element;
4
+ export declare const Popconfirm: (props: IPopconfirmProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import { type ProgressProps as AntProgressProps } from 'antd';
1
+ import { ProgressProps as AntProgressProps } from 'antd';
3
2
  export interface IProgressProps extends AntProgressProps {
4
3
  }
5
- export declare const Progress: (props: IProgressProps) => JSX.Element;
4
+ export declare const Progress: (props: IProgressProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,5 @@
1
+ import { ResultProps as AntResultProps } from 'antd';
1
2
  import { FC } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
- /// <reference types="react" />
4
- import { type ResultProps as AntResultProps } from 'antd';
5
3
  export interface IResultProps extends AntResultProps {
6
4
  }
7
5
  /**
@@ -10,7 +8,7 @@ export interface IResultProps extends AntResultProps {
10
8
  * See: Components/Data Display/Empty
11
9
  */
12
10
  export declare const Result: {
13
- (props: IResultProps): JSX.Element;
11
+ (props: IResultProps): import("react/jsx-runtime").JSX.Element;
14
12
  PRESENTED_IMAGE_403: FC<{}>;
15
13
  PRESENTED_IMAGE_404: FC<{}>;
16
14
  PRESENTED_IMAGE_500: FC<{}>;
@@ -1,16 +1,15 @@
1
- import { SkeletonInputProps } from 'antd/es/skeleton/Input';
2
- import { SkeletonImageProps } from 'antd/es/skeleton/Image';
3
- import { SkeletonNodeProps } from 'antd/es/skeleton/Node';
4
- import { SkeletonButtonProps } from 'antd/es/skeleton/Button';
1
+ import { ReactNode, FC } from 'react';
2
+ import { SkeletonProps as AntSkeletonProps } from 'antd';
5
3
  import { AvatarProps } from 'antd/es/skeleton/Avatar';
6
- import { JSX } from 'react/jsx-runtime';
7
- import { FC, type ReactNode } from 'react';
8
- import { type SkeletonProps as AntSkeletonProps } from 'antd';
4
+ import { SkeletonButtonProps } from 'antd/es/skeleton/Button';
5
+ import { SkeletonNodeProps } from 'antd/es/skeleton/Node';
6
+ import { SkeletonImageProps } from 'antd/es/skeleton/Image';
7
+ import { SkeletonInputProps } from 'antd/es/skeleton/Input';
9
8
  export interface ISkeletonProps extends Omit<AntSkeletonProps, 'active'> {
10
9
  children?: ReactNode;
11
10
  }
12
11
  export declare const Skeleton: {
13
- (props: ISkeletonProps): JSX.Element;
12
+ (props: ISkeletonProps): import("react/jsx-runtime").JSX.Element;
14
13
  Avatar: FC<AvatarProps>;
15
14
  Button: FC<SkeletonButtonProps>;
16
15
  Node: FC<SkeletonNodeProps>;
@@ -1,10 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { JSX } from 'react/jsx-runtime';
3
- /// <reference types="react" />
4
- import { type SpinProps as AntSpinProps } from 'antd';
1
+ import { SpinProps as AntSpinProps } from 'antd';
5
2
  export interface ISpinProps extends AntSpinProps {
6
3
  }
7
4
  export declare const Spin: {
8
- (props: ISpinProps): JSX.Element;
9
- setDefaultIndicator: (indicator: ReactNode) => void;
5
+ (props: ISpinProps): import("react/jsx-runtime").JSX.Element;
6
+ setDefaultIndicator: (indicator: React.ReactNode) => void;
10
7
  };
@@ -1,9 +1,7 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ import { ButtonProps as AntButtonProps } from 'antd';
1
3
  import { ButtonGroupProps } from 'antd/es/button';
2
- import { JSX } from 'react/jsx-runtime';
3
- import React from 'react';
4
- import { type ButtonProps as AntButtonProps } from 'antd';
5
- import { type ReactNode } from 'react';
6
- export interface IButtonProps extends Omit<AntButtonProps, 'variant'> {
4
+ export interface IButtonProps extends Omit<AntButtonProps, 'variant' | 'color'> {
7
5
  /**
8
6
  * @deprecated This variant is a temporary fix for new icons.
9
7
  * Use this variant only with new icons to align the icon and text centered.
@@ -11,8 +9,12 @@ export interface IButtonProps extends Omit<AntButtonProps, 'variant'> {
11
9
  */
12
10
  variant?: 'with-new-icon';
13
11
  icon?: ReactNode;
12
+ /**
13
+ * Color of the button text. Use 'inherit' to inherit from parent element.
14
+ */
15
+ color?: 'inherit' | string;
14
16
  }
15
17
  export declare const Button: {
16
- (props: IButtonProps): JSX.Element;
17
- Group: React.FC<ButtonGroupProps>;
18
+ (props: IButtonProps): import("react/jsx-runtime").JSX.Element;
19
+ Group: React.FC< ButtonGroupProps>;
18
20
  };
@@ -1,12 +1,10 @@
1
- import { BackTopProps } from 'antd/es/float-button/BackTop';
1
+ import { FloatButtonProps as AntFloatButtonProps, FloatButtonRef, FloatButtonGroupProps } from 'antd';
2
2
  import { ForwardRefExoticComponent, RefAttributes, FC } from 'react';
3
- import { JSX } from 'react/jsx-runtime';
4
- /// <reference types="react" />
5
- import { FloatButtonRef, FloatButtonGroupProps, type FloatButtonProps as AntFloatButtonProps } from 'antd';
3
+ import { BackTopProps } from 'antd/es/float-button/BackTop';
6
4
  export interface IFloatButtonProps extends AntFloatButtonProps {
7
5
  }
8
6
  export declare const FloatButton: {
9
- (props: IFloatButtonProps): JSX.Element;
10
- BackTop: ForwardRefExoticComponent<BackTopProps & RefAttributes<FloatButtonRef>>;
11
- Group: FC<Readonly<FloatButtonGroupProps>>;
7
+ (props: IFloatButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ BackTop: ForwardRefExoticComponent< BackTopProps & RefAttributes<FloatButtonRef>>;
9
+ Group: FC<Readonly< FloatButtonGroupProps>>;
12
10
  };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type IconSize = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
3
3
  export interface IErrorStateIconProps {
4
4
  size?: IconSize;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import type { IconVariant, IconNames } from '../../../types/icons';
1
+ import { default as React } from 'react';
2
+ import { IconVariant, IconNames } from '../../../types/icons';
3
3
  type IconSize = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
4
4
  export type IconColor = 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info' | 'white' | 'black' | 'text' | 'strong' | 'brand' | 'inherit';
5
5
  export interface IIconProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type IconSize = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
3
3
  export interface ISuccessStateIconProps {
4
4
  size?: IconSize;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type IconSize = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
3
3
  export interface IWarningStateIconProps {
4
4
  size?: IconSize;
@@ -1,10 +1,9 @@
1
- import { JSX } from 'react/jsx-runtime';
2
- import type { ReactNode } from 'react';
3
- import type { TextProps as AntTextProps } from 'antd/es/typography/Text';
4
- import type { TitleProps as AntTitleProps } from 'antd/es/typography/Title';
5
- import type { LinkProps as AntLinkProps } from 'antd/es/typography/Link';
6
- import type { ParagraphProps as AntParagraphProps } from 'antd/es/typography/Paragraph';
7
- import { type TypographyColor } from './colors';
1
+ import { ReactNode } from 'react';
2
+ import { TextProps as AntTextProps } from 'antd/es/typography/Text';
3
+ import { TitleProps as AntTitleProps } from 'antd/es/typography/Title';
4
+ import { LinkProps as AntLinkProps } from 'antd/es/typography/Link';
5
+ import { ParagraphProps as AntParagraphProps } from 'antd/es/typography/Paragraph';
6
+ import { TypographyColor } from './colors';
8
7
  type TypographySize = 'base' | 'sm' | 'lg' | 'xl' | number;
9
8
  interface InternalTypographyProps {
10
9
  size?: TypographySize;
@@ -12,11 +11,11 @@ interface InternalTypographyProps {
12
11
  children: ReactNode;
13
12
  }
14
13
  export declare const Typography: {
15
- (): JSX.Element;
16
- Text: (props: ITextProps) => JSX.Element;
17
- Title: (props: ITitleProps) => JSX.Element;
18
- Link: (props: ILinkProps) => JSX.Element;
19
- Paragraph: (props: IParagraphProps) => JSX.Element;
14
+ (): import("react/jsx-runtime").JSX.Element;
15
+ Text: (props: ITextProps) => import("react/jsx-runtime").JSX.Element;
16
+ Title: (props: ITitleProps) => import("react/jsx-runtime").JSX.Element;
17
+ Link: (props: ILinkProps) => import("react/jsx-runtime").JSX.Element;
18
+ Paragraph: (props: IParagraphProps) => import("react/jsx-runtime").JSX.Element;
20
19
  };
21
20
  type InternalTextProps = InternalTypographyProps & AntTextProps;
22
21
  type InternalTitleProps = InternalTypographyProps & AntTitleProps;
@@ -1,3 +1,3 @@
1
- export declare const TypographyColors: readonly ["ColorText", "ColorTextSecondary", "ColorTextTertiary", "ColorTextQuaternary", "ColorInfoText", "ColorInfoTextActive", "ColorPrimaryTextHover", "ColorPrimaryText", "ColorPrimaryTextActive", "ColorSuccessTextHover", "ColorSuccessText", "ColorSuccessTextActive", "ColorErrorTextHover", "ColorErrorText", "ColorErrorTextActive", "ColorWarningTextHover", "ColorWarningText", "ColorWarningTextActive", "ColorLink", "ColorLinkHover", "ColorLinkActive", "ColorTextPlaceholder", "ColorTextDisabled", "ColorTextHeading", "ColorTextLabel", "ColorTextDescription", "ColorTextLightSolid"];
1
+ export declare const TypographyColors: readonly ["ColorText", "ColorTextSecondary", "ColorTextTertiary", "ColorTextQuaternary", "ColorInfoText", "ColorInfoTextActive", "ColorPrimaryTextHover", "ColorPrimaryText", "ColorPrimaryTextActive", "ColorSuccessTextHover", "ColorSuccessText", "ColorSuccessTextActive", "ColorErrorTextHover", "ColorErrorText", "ColorErrorTextActive", "ColorWarningTextHover", "ColorWarningText", "ColorWarningTextActive", "ColorLink", "ColorLinkHover", "ColorLinkActive", "ColorTextPlaceholder", "ColorTextDisabled", "ColorTextHeading", "ColorTextLabel", "ColorTextDescription", "ColorTextLightSolid", "inherit"];
2
2
  export type TypographyColor = (typeof TypographyColors)[number];
3
3
  export declare function getColorFromStyles(color: TypographyColor | string): string;