@mparticle/aquarium 1.3.6 → 1.4.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.mjs +528 -43285
- package/dist/index.d.ts +486 -1
- package/package.json +7 -6
- package/dist/components/data-display/Avatar/Avatar.d.ts +0 -4
- package/dist/components/data-display/Badge/Badge.d.ts +0 -4
- package/dist/components/data-display/Calendar/Calendar.d.ts +0 -4
- package/dist/components/data-display/Card/Card.d.ts +0 -4
- package/dist/components/data-display/Carousel/Carousel.d.ts +0 -4
- package/dist/components/data-display/Collapse/Collapse.d.ts +0 -4
- package/dist/components/data-display/Descriptions/Descriptions.d.ts +0 -4
- package/dist/components/data-display/Empty/Empty.d.ts +0 -9
- package/dist/components/data-display/Image/Image.d.ts +0 -4
- package/dist/components/data-display/List/List.d.ts +0 -7
- package/dist/components/data-display/Popover/Popover.d.ts +0 -4
- package/dist/components/data-display/QRCode/QRCode.d.ts +0 -4
- package/dist/components/data-display/Segmented/Segmented.d.ts +0 -6
- package/dist/components/data-display/Statistic/Statistic.d.ts +0 -4
- package/dist/components/data-display/Table/Table.d.ts +0 -4
- package/dist/components/data-display/Tabs/Tabs.d.ts +0 -4
- package/dist/components/data-display/Tag/Tag.d.ts +0 -4
- package/dist/components/data-display/Timeline/Timeline.d.ts +0 -4
- package/dist/components/data-display/Tooltip/Tooltip.d.ts +0 -4
- package/dist/components/data-display/Tour/Tour.d.ts +0 -4
- package/dist/components/data-display/Tree/Tree.d.ts +0 -4
- package/dist/components/data-entry/AutoComplete/AutoComplete.d.ts +0 -4
- package/dist/components/data-entry/Cascader/Cascader.d.ts +0 -10
- package/dist/components/data-entry/Checkbox/Checkbox.d.ts +0 -8
- package/dist/components/data-entry/ColorPicker/ColorPicker.d.ts +0 -4
- package/dist/components/data-entry/DatePicker/DatePicker.d.ts +0 -7
- package/dist/components/data-entry/Form/Form.d.ts +0 -6
- package/dist/components/data-entry/Input/Input.d.ts +0 -11
- package/dist/components/data-entry/InputNumber/InputNumber.d.ts +0 -4
- package/dist/components/data-entry/Mentions/Mentions.d.ts +0 -4
- package/dist/components/data-entry/Radio/Radio.d.ts +0 -9
- package/dist/components/data-entry/Rate/Rate.d.ts +0 -4
- package/dist/components/data-entry/Select/Select.d.ts +0 -5
- package/dist/components/data-entry/Slider/Slider.d.ts +0 -4
- package/dist/components/data-entry/Switch/Switch.d.ts +0 -4
- package/dist/components/data-entry/TimePicker/TimePicker.d.ts +0 -4
- package/dist/components/data-entry/Transfer/Transfer.d.ts +0 -4
- package/dist/components/data-entry/TreeSelect/TreeSelect.d.ts +0 -4
- package/dist/components/data-entry/Upload/Upload.d.ts +0 -4
- package/dist/components/feedback/Alert/Alert.d.ts +0 -7
- package/dist/components/feedback/Drawer/Drawer.d.ts +0 -4
- package/dist/components/feedback/LoadingModal/LoadingModal.d.ts +0 -7
- package/dist/components/feedback/Message/Message.d.ts +0 -6
- package/dist/components/feedback/Modal/Modal.d.ts +0 -4
- package/dist/components/feedback/Notification/Notification.d.ts +0 -6
- package/dist/components/feedback/Popconfirm/Popconfirm.d.ts +0 -4
- package/dist/components/feedback/Progress/Progress.d.ts +0 -4
- package/dist/components/feedback/Result/Result.d.ts +0 -4
- package/dist/components/feedback/Skeleton/Skeleton.d.ts +0 -4
- package/dist/components/feedback/Spin/Spin.d.ts +0 -4
- package/dist/components/feedback/Watermark/Watermark.d.ts +0 -4
- package/dist/components/general/Button/Button.d.ts +0 -4
- package/dist/components/general/FloatButton/FloatButton.d.ts +0 -4
- package/dist/components/general/Icon/Icon.d.ts +0 -5
- package/dist/components/index.d.ts +0 -67
- package/dist/components/layout/Divider/Divider.d.ts +0 -4
- package/dist/components/layout/Flex/Flex.d.ts +0 -4
- package/dist/components/layout/Grid/Grid.d.ts +0 -2
- package/dist/components/layout/Layout/Layout.d.ts +0 -11
- package/dist/components/layout/Space/Space.d.ts +0 -4
- package/dist/components/navigation/Anchor/Anchor.d.ts +0 -4
- package/dist/components/navigation/Breadcrumb/Breadcrumb.d.ts +0 -4
- package/dist/components/navigation/Dropdown/Dropdown.d.ts +0 -8
- package/dist/components/navigation/Menu/Menu.d.ts +0 -7
- package/dist/components/navigation/Pagination/Pagination.d.ts +0 -4
- package/dist/components/navigation/Steps/Steps.d.ts +0 -4
- package/dist/components/other/Affix/Affix.d.ts +0 -4
- package/dist/components/other/App/App.d.ts +0 -4
- package/dist/components/other/ConfigProvider/ConfigProvider.d.ts +0 -4
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,486 @@
|
|
|
1
|
-
|
|
1
|
+
import { AffixProps } from 'antd';
|
|
2
|
+
import { AlertProps } from 'antd';
|
|
3
|
+
import { AnchorProps } from 'antd';
|
|
4
|
+
import { AppProps } from 'antd';
|
|
5
|
+
import { AutoCompleteProps } from 'antd';
|
|
6
|
+
import { AvatarProps } from 'antd';
|
|
7
|
+
import { BadgeProps } from 'antd';
|
|
8
|
+
import { BaseOptionType } from 'antd/es/select';
|
|
9
|
+
import { BreadcrumbProps } from 'antd';
|
|
10
|
+
import { ButtonProps } from 'antd';
|
|
11
|
+
import { CalendarProps } from 'antd';
|
|
12
|
+
import { CardProps } from 'antd';
|
|
13
|
+
import { CarouselProps } from 'antd';
|
|
14
|
+
import { CascaderPanelProps } from 'antd/es/cascader/Panel';
|
|
15
|
+
import { CascaderProps } from 'antd';
|
|
16
|
+
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
17
|
+
import { CheckboxProps } from 'antd';
|
|
18
|
+
import { CheckboxRef } from 'rc-checkbox';
|
|
19
|
+
import { CheckboxValueType } from 'antd/es/checkbox/Group';
|
|
20
|
+
import { Col } from 'antd';
|
|
21
|
+
import { CollapseProps } from 'antd';
|
|
22
|
+
import { ColorPickerProps } from 'antd';
|
|
23
|
+
import { ConfigProviderProps } from 'antd/es/config-provider';
|
|
24
|
+
import { Dayjs } from 'dayjs';
|
|
25
|
+
import { default as default_2 } from 'antd/es/alert/ErrorBoundary';
|
|
26
|
+
import { DefaultOptionType } from 'antd/es/select';
|
|
27
|
+
import { DescriptionsProps } from 'antd';
|
|
28
|
+
import { DividerProps } from 'antd';
|
|
29
|
+
import { DrawerProps } from 'antd';
|
|
30
|
+
import { DropdownButtonProps } from 'antd/es/dropdown';
|
|
31
|
+
import { DropdownProps } from 'antd';
|
|
32
|
+
import { EmptyProps } from 'antd';
|
|
33
|
+
import { FC } from 'react';
|
|
34
|
+
import { FlexProps } from 'antd';
|
|
35
|
+
import { FloatButtonProps } from 'antd';
|
|
36
|
+
import { FormProps } from 'antd';
|
|
37
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
38
|
+
import { Grid } from 'antd';
|
|
39
|
+
import { GroupProps } from 'antd/es/input';
|
|
40
|
+
import { ColProps as IColProps } from 'antd';
|
|
41
|
+
import { ImageProps } from 'antd';
|
|
42
|
+
import { IModalProps as IModalProps_2 } from '../../../../../../../../../src/components/feedback/Modal/Modal';
|
|
43
|
+
import { InputNumberProps } from 'antd';
|
|
44
|
+
import { InputProps } from 'antd';
|
|
45
|
+
import { InputRef } from 'antd';
|
|
46
|
+
import { RowProps as IRowProps } from 'antd';
|
|
47
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
48
|
+
import { JSXElementConstructor } from 'react';
|
|
49
|
+
import { LayoutProps } from 'antd';
|
|
50
|
+
import { ListItemTypeProps } from 'antd/es/list/Item';
|
|
51
|
+
import { ListProps } from 'antd';
|
|
52
|
+
import { MemoExoticComponent } from 'react';
|
|
53
|
+
import { MentionProps } from 'antd';
|
|
54
|
+
import { MenuProps } from 'antd';
|
|
55
|
+
import { MessageArgsProps } from 'antd';
|
|
56
|
+
import { ModalProps } from 'antd';
|
|
57
|
+
import { NotificationArgsProps } from 'antd';
|
|
58
|
+
import { PaginationProps } from 'antd';
|
|
59
|
+
import { PasswordProps } from 'antd/es/input';
|
|
60
|
+
import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
|
|
61
|
+
import { PopconfirmProps } from 'antd';
|
|
62
|
+
import { PopoverProps } from 'antd';
|
|
63
|
+
import { ProgressProps } from 'antd';
|
|
64
|
+
import { QRCodeProps } from 'antd';
|
|
65
|
+
import { RadioButtonProps } from 'antd/es/radio/radioButton';
|
|
66
|
+
import { RadioGroupProps } from 'antd';
|
|
67
|
+
import { RadioProps } from 'antd';
|
|
68
|
+
import { RateProps } from 'antd';
|
|
69
|
+
import { ReactElement } from 'react';
|
|
70
|
+
import { ReactNode } from 'react';
|
|
71
|
+
import { RefAttributes } from 'react';
|
|
72
|
+
import { ResultProps } from 'antd';
|
|
73
|
+
import { Row } from 'antd';
|
|
74
|
+
import { SearchProps } from 'antd/es/input';
|
|
75
|
+
import { SegmentedProps } from 'antd';
|
|
76
|
+
import { SelectProps } from 'antd';
|
|
77
|
+
import { SiderProps } from 'antd';
|
|
78
|
+
import { SkeletonProps } from 'antd';
|
|
79
|
+
import { SliderRangeProps } from 'antd/es/slider';
|
|
80
|
+
import { SliderSingleProps } from 'antd/es/slider';
|
|
81
|
+
import { SpaceProps } from 'antd';
|
|
82
|
+
import { SpinProps } from 'antd';
|
|
83
|
+
import { StatisticProps } from 'antd';
|
|
84
|
+
import { StepsProps } from 'antd';
|
|
85
|
+
import { SwitchProps } from 'antd';
|
|
86
|
+
import { TableProps } from 'antd';
|
|
87
|
+
import { TabsProps } from 'antd';
|
|
88
|
+
import { TagProps } from 'antd';
|
|
89
|
+
import { TextAreaProps } from 'antd/es/input';
|
|
90
|
+
import { TextAreaRef } from 'antd/es/input/TextArea';
|
|
91
|
+
import { TimelineProps } from 'antd';
|
|
92
|
+
import { TimePickerProps } from 'antd';
|
|
93
|
+
import { TooltipPropsWithTitle } from 'antd/es/tooltip';
|
|
94
|
+
import { TourProps } from 'antd';
|
|
95
|
+
import { TransferProps } from 'antd';
|
|
96
|
+
import { TreeProps } from 'antd';
|
|
97
|
+
import { TreeSelectProps } from 'antd';
|
|
98
|
+
import { UploadProps } from 'antd';
|
|
99
|
+
import { WatermarkProps } from 'antd';
|
|
100
|
+
|
|
101
|
+
export declare const Affix: (props: IAffixProps) => JSX_2.Element;
|
|
102
|
+
|
|
103
|
+
export declare const Alert: {
|
|
104
|
+
(props: IAlertProps): JSX_2.Element;
|
|
105
|
+
ErrorBoundary: typeof default_2;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export declare const Anchor: (props: IAnchorProps) => JSX_2.Element;
|
|
109
|
+
|
|
110
|
+
declare type AntDatePickerProps = PickerDateProps<Dayjs>;
|
|
111
|
+
|
|
112
|
+
export declare const App: (props: IAppProps) => JSX_2.Element;
|
|
113
|
+
|
|
114
|
+
export declare const AutoComplete: (props: IAutoCompleteProps) => JSX_2.Element;
|
|
115
|
+
|
|
116
|
+
export declare const Avatar: (props: IAvatarProps) => JSX_2.Element;
|
|
117
|
+
|
|
118
|
+
export declare const Badge: (props: IBadgeProps) => JSX_2.Element;
|
|
119
|
+
|
|
120
|
+
export declare const Breadcrumb: (props: IBreadcrumbProps) => JSX_2.Element;
|
|
121
|
+
|
|
122
|
+
export declare const Button: (props: IButtonProps) => JSX_2.Element;
|
|
123
|
+
|
|
124
|
+
export declare const Calendar: (props: ICalendarProps) => JSX_2.Element;
|
|
125
|
+
|
|
126
|
+
export declare const Card: (props: ICardProps) => JSX_2.Element;
|
|
127
|
+
|
|
128
|
+
export declare const Carousel: (props: ICarouselProps) => JSX_2.Element;
|
|
129
|
+
|
|
130
|
+
export declare const Cascader: {
|
|
131
|
+
(props: ICascaderProps): JSX_2.Element;
|
|
132
|
+
Panel: FC<CascaderPanelProps>;
|
|
133
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
134
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export declare const Checkbox: {
|
|
138
|
+
(props: ICheckboxProps): JSX_2.Element;
|
|
139
|
+
Group: <T extends CheckboxValueType = CheckboxValueType>(props: CheckboxGroupProps<T> & RefAttributes<HTMLDivElement>) => ReactElement<any, string | JSXElementConstructor<any>>;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export { Col }
|
|
143
|
+
|
|
144
|
+
export declare const Collapse: (props: ICollapseProps) => JSX_2.Element;
|
|
145
|
+
|
|
146
|
+
export declare const ColorPicker: (props: IColorPickerProps) => JSX_2.Element;
|
|
147
|
+
|
|
148
|
+
export declare const ConfigProvider: (props: IConfigProviderProps) => JSX_2.Element;
|
|
149
|
+
|
|
150
|
+
export declare const DatePicker: (props: IDatePickerProps) => JSX_2.Element;
|
|
151
|
+
|
|
152
|
+
export declare const Descriptions: (props: IDescriptionsProps) => JSX_2.Element;
|
|
153
|
+
|
|
154
|
+
export declare const Divider: (props: IDividerProps) => JSX_2.Element;
|
|
155
|
+
|
|
156
|
+
export declare const Drawer: (props: IDrawerProps) => JSX_2.Element;
|
|
157
|
+
|
|
158
|
+
export declare const Dropdown: {
|
|
159
|
+
(props: IDropdownProps): JSX_2.Element;
|
|
160
|
+
Button: FC<DropdownButtonProps>;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export declare const Empty: {
|
|
164
|
+
(props: IEmptyProps): JSX_2.Element;
|
|
165
|
+
PRESENTED_IMAGE_DEFAULT: ReactNode;
|
|
166
|
+
PRESENTED_IMAGE_SIMPLE: ReactNode;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export declare const Flex: (props: IFlexProps) => JSX_2.Element;
|
|
170
|
+
|
|
171
|
+
export declare const FloatButton: (props: IFloatButtonProps) => JSX_2.Element;
|
|
172
|
+
|
|
173
|
+
export declare const Form: (props: IFormProps) => JSX_2.Element;
|
|
174
|
+
|
|
175
|
+
export { Grid }
|
|
176
|
+
|
|
177
|
+
export declare interface IAffixProps extends AffixProps {
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export declare interface IAlertProps extends AlertProps {
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export declare interface IAnchorProps extends AnchorProps {
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export declare interface IAppProps extends AppProps {
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export declare interface IAutoCompleteProps extends AutoCompleteProps {
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export declare interface IAvatarProps extends AvatarProps {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export declare interface IBadgeProps extends BadgeProps {
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export declare interface IBreadcrumbProps extends BreadcrumbProps {
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export declare interface IButtonProps extends ButtonProps {
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export declare interface ICalendarProps extends CalendarProps {
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export declare interface ICardProps extends CardProps {
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export declare interface ICarouselProps extends CarouselProps {
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export declare type ICascaderProps<DataNodeType extends BaseOptionType = any> = CascaderProps<DataNodeType>;
|
|
214
|
+
|
|
215
|
+
export declare interface ICheckboxProps extends CheckboxProps {
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export declare interface ICollapseProps extends CollapseProps {
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export declare interface IColorPickerProps extends ColorPickerProps {
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export { IColProps }
|
|
225
|
+
|
|
226
|
+
export declare interface IConfigProviderProps extends ConfigProviderProps {
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export declare interface IDatePickerProps extends AntDatePickerProps {
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export declare interface IDescriptionsProps extends DescriptionsProps {
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export declare interface IDividerProps extends DividerProps {
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export declare interface IDrawerProps extends DrawerProps {
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export declare interface IDropdownProps extends DropdownProps {
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export declare interface IEmptyProps extends EmptyProps {
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export declare interface IFlexProps extends FlexProps {
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export declare interface IFloatButtonProps extends FloatButtonProps {
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export declare interface IFormProps extends FormProps {
|
|
254
|
+
children: React.ReactNode;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export declare interface IImageProps extends ImageProps {
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export declare interface IInputNumberProps extends InputNumberProps {
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export declare interface IInputProps extends InputProps {
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export declare interface ILayoutProps extends LayoutProps {
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export declare interface IListProps extends ListProps {
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export declare interface ILoadingModalProps<Data> extends Omit<IModalProps_2, "children"> {
|
|
273
|
+
fetchData(): Promise<Data>;
|
|
274
|
+
children(initData: Data): React.ReactNode;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
declare const Image_2: (props: IImageProps) => JSX_2.Element;
|
|
278
|
+
export { Image_2 as Image }
|
|
279
|
+
|
|
280
|
+
export declare interface IMentionsProps extends MentionProps {
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export declare interface IMenuProps extends MenuProps {
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export declare interface IMessageProps extends MessageArgsProps {
|
|
287
|
+
children: React.ReactNode;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export declare interface IModalProps extends ModalProps {
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export declare interface INotificationProps extends NotificationArgsProps {
|
|
294
|
+
children: React.ReactNode;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export declare const Input: {
|
|
298
|
+
(props: IInputProps): JSX_2.Element;
|
|
299
|
+
Group: FC<GroupProps>;
|
|
300
|
+
Password: ForwardRefExoticComponent<PasswordProps & RefAttributes<InputRef>>;
|
|
301
|
+
Search: ForwardRefExoticComponent<SearchProps & RefAttributes<InputRef>>;
|
|
302
|
+
TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<TextAreaRef>>;
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
export declare const InputNumber: (props: IInputNumberProps) => JSX_2.Element;
|
|
306
|
+
|
|
307
|
+
export declare interface IPaginationProps extends PaginationProps {
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export declare interface IPopconfirmProps extends PopconfirmProps {
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export declare interface IPopoverProps extends PopoverProps {
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export declare interface IProgressProps extends ProgressProps {
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export declare interface IQRCodeProps extends QRCodeProps {
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export declare interface IRadioProps extends RadioProps {
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export declare interface IRateProps extends RateProps {
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export declare interface IResultProps extends ResultProps {
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export { IRowProps }
|
|
332
|
+
|
|
333
|
+
export declare interface ISegmentedProps extends SegmentedProps {
|
|
334
|
+
ref?: React.RefObject<HTMLDivElement>;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export declare interface ISelectProps<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends SelectProps<ValueType, OptionType> {
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export declare interface ISkeletonProps extends Omit<SkeletonProps, "active"> {
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export declare type ISliderProps = SliderSingleProps | SliderRangeProps;
|
|
344
|
+
|
|
345
|
+
export declare interface ISpaceProps extends SpaceProps {
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export declare interface ISpinProps extends SpinProps {
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export declare interface IStatisticProps extends StatisticProps {
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export declare interface IStepsProps extends StepsProps {
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export declare interface ISwitchProps extends SwitchProps {
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export declare interface ITableProps extends TableProps {
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export declare interface ITabsProps extends TabsProps {
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export declare interface ITagProps extends TagProps {
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export declare interface ITimelineProps extends TimelineProps {
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export declare interface ITimePickerProps extends TimePickerProps {
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export declare interface ITooltipProps extends TooltipPropsWithTitle {
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export declare interface ITourProps extends TourProps {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export declare interface ITransferProps extends TransferProps {
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export declare interface ITreeProps extends TreeProps {
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export declare interface ITreeSelectProps extends TreeSelectProps {
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export declare interface IUploadProps extends UploadProps {
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export declare interface IWatermarkProps extends WatermarkProps {
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export declare const Layout: {
|
|
397
|
+
(props: ILayoutProps): JSX_2.Element;
|
|
398
|
+
Sider: ForwardRefExoticComponent<SiderProps & RefAttributes<HTMLDivElement>>;
|
|
399
|
+
Footer: ForwardRefExoticComponent<LayoutProps & RefAttributes<HTMLElement>>;
|
|
400
|
+
Content: ForwardRefExoticComponent<LayoutProps & RefAttributes<HTMLElement>>;
|
|
401
|
+
Header: ForwardRefExoticComponent<LayoutProps & RefAttributes<HTMLElement>>;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
export declare const List: {
|
|
405
|
+
(props: IListProps): JSX_2.Element;
|
|
406
|
+
Item: ListItemTypeProps;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
export declare function LoadingModal<Data>(props: ILoadingModalProps<Data>): JSX_2.Element;
|
|
410
|
+
|
|
411
|
+
export declare const Mentions: (props: IMentionsProps) => JSX_2.Element;
|
|
412
|
+
|
|
413
|
+
export declare const Menu: (props: IMenuProps) => JSX_2.Element;
|
|
414
|
+
|
|
415
|
+
export declare const Message: (props: IMessageProps) => JSX_2.Element;
|
|
416
|
+
|
|
417
|
+
export declare const Modal: (props: IModalProps) => JSX_2.Element;
|
|
418
|
+
|
|
419
|
+
declare const Notification_2: (props: INotificationProps) => JSX_2.Element;
|
|
420
|
+
export { Notification_2 as Notification }
|
|
421
|
+
|
|
422
|
+
export declare const Pagination: (props: IPaginationProps) => JSX_2.Element;
|
|
423
|
+
|
|
424
|
+
export declare const Popconfirm: (props: IPopconfirmProps) => JSX_2.Element;
|
|
425
|
+
|
|
426
|
+
export declare const Popover: (props: IPopoverProps) => JSX_2.Element;
|
|
427
|
+
|
|
428
|
+
export declare const Progress: (props: IProgressProps) => JSX_2.Element;
|
|
429
|
+
|
|
430
|
+
export declare const QRCode: (props: IQRCodeProps) => JSX_2.Element;
|
|
431
|
+
|
|
432
|
+
export declare const Radio: {
|
|
433
|
+
(props: IRadioProps): JSX_2.Element;
|
|
434
|
+
Group: MemoExoticComponent<ForwardRefExoticComponent<RadioGroupProps & RefAttributes<HTMLDivElement>>>;
|
|
435
|
+
Button: ForwardRefExoticComponent<RadioButtonProps & RefAttributes<CheckboxRef>>;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
export declare const Rate: (props: IRateProps) => JSX_2.Element;
|
|
439
|
+
|
|
440
|
+
export declare const Result: (props: IResultProps) => JSX_2.Element;
|
|
441
|
+
|
|
442
|
+
export { Row }
|
|
443
|
+
|
|
444
|
+
export declare const Segmented: (props: ISegmentedProps) => JSX_2.Element;
|
|
445
|
+
|
|
446
|
+
export declare const Select: (props: ISelectProps) => JSX_2.Element;
|
|
447
|
+
|
|
448
|
+
export declare const Skeleton: (props: ISkeletonProps) => JSX_2.Element;
|
|
449
|
+
|
|
450
|
+
export declare const Slider: (props: ISliderProps) => JSX_2.Element;
|
|
451
|
+
|
|
452
|
+
export declare const Space: (props: ISpaceProps) => JSX_2.Element;
|
|
453
|
+
|
|
454
|
+
export declare const Spin: (props: ISpinProps) => JSX_2.Element;
|
|
455
|
+
|
|
456
|
+
export declare const Statistic: (props: IStatisticProps) => JSX_2.Element;
|
|
457
|
+
|
|
458
|
+
export declare const Steps: (props: IStepsProps) => JSX_2.Element;
|
|
459
|
+
|
|
460
|
+
export declare const Switch: (props: ISwitchProps) => JSX_2.Element;
|
|
461
|
+
|
|
462
|
+
export declare const Table: (props: ITableProps) => JSX_2.Element;
|
|
463
|
+
|
|
464
|
+
export declare const Tabs: (props: ITabsProps) => JSX_2.Element;
|
|
465
|
+
|
|
466
|
+
export declare const Tag: (props: ITagProps) => JSX_2.Element;
|
|
467
|
+
|
|
468
|
+
export declare const Timeline: (props: ITimelineProps) => JSX_2.Element;
|
|
469
|
+
|
|
470
|
+
export declare const TimePicker: (props: ITimePickerProps) => JSX_2.Element;
|
|
471
|
+
|
|
472
|
+
export declare const Tooltip: (props: ITooltipProps) => JSX_2.Element;
|
|
473
|
+
|
|
474
|
+
export declare const Tour: (props: ITourProps) => JSX_2.Element;
|
|
475
|
+
|
|
476
|
+
export declare const Transfer: (props: ITransferProps) => JSX_2.Element;
|
|
477
|
+
|
|
478
|
+
export declare const Tree: (props: ITreeProps) => JSX_2.Element;
|
|
479
|
+
|
|
480
|
+
export declare const TreeSelect: (props: ITreeSelectProps) => JSX_2.Element;
|
|
481
|
+
|
|
482
|
+
export declare const Upload: (props: IUploadProps) => JSX_2.Element;
|
|
483
|
+
|
|
484
|
+
export declare const Watermark: (props: IWatermarkProps) => JSX_2.Element;
|
|
485
|
+
|
|
486
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -23,11 +23,12 @@
|
|
|
23
23
|
"@fortawesome/fontawesome-svg-core": "6.5.1",
|
|
24
24
|
"@fortawesome/free-solid-svg-icons": "6.5.1",
|
|
25
25
|
"@fortawesome/react-fontawesome": "0.2.0",
|
|
26
|
+
"typescript": "5.3.3"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
26
29
|
"antd": "5.13.2",
|
|
27
30
|
"react": "18.2.0",
|
|
28
|
-
"react-dom": "18.2.0"
|
|
29
|
-
"typescript": "5.3.3",
|
|
30
|
-
"storybook": "7.6.10"
|
|
31
|
+
"react-dom": "18.2.0"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@storybook/addon-essentials": "7.6.10",
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
"@vitejs/plugin-react": "4.2.1",
|
|
46
47
|
"concurrently": "8.2.2",
|
|
47
48
|
"http-server": "14.1.1",
|
|
49
|
+
"storybook": "7.6.10",
|
|
48
50
|
"vite": "5.0.12",
|
|
49
51
|
"vite-plugin-dts": "3.7.1",
|
|
50
52
|
"wait-on": "7.2.0"
|
|
@@ -59,7 +61,6 @@
|
|
|
59
61
|
"test-storybook": "test-storybook",
|
|
60
62
|
"test-storybook:ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npm run build-storybook --quiet && NODE_NO_WARNINGS=1 npx http-server storybook-static --port 6006 --silent\" \"wait-on tcp:127.0.0.1:6006 && npm run test-storybook\"",
|
|
61
63
|
"build-dist": "sh ./scripts/build-dist.sh",
|
|
62
|
-
"build-storybook": "storybook build"
|
|
63
|
-
"tokens-to-css": "npx style-dictionary build --config ./style-dictionary.json"
|
|
64
|
+
"build-storybook": "storybook build"
|
|
64
65
|
}
|
|
65
66
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { EmptyProps as AntEmptyProps } from "antd";
|
|
3
|
-
export interface IEmptyProps extends AntEmptyProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const Empty: {
|
|
6
|
-
(props: IEmptyProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
PRESENTED_IMAGE_DEFAULT: import("react").ReactNode;
|
|
8
|
-
PRESENTED_IMAGE_SIMPLE: import("react").ReactNode;
|
|
9
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ListProps as AntListProps } from "antd";
|
|
2
|
-
export interface IListProps<T> extends AntListProps<T> {
|
|
3
|
-
}
|
|
4
|
-
export declare const List: {
|
|
5
|
-
<T extends unknown>(props: IListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
Item: import("antd/es/list/Item").ListItemTypeProps;
|
|
7
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SegmentedProps as AntSegmentedProps } from "antd";
|
|
3
|
-
export interface ISegmentedProps extends AntSegmentedProps {
|
|
4
|
-
ref?: React.RefObject<HTMLDivElement>;
|
|
5
|
-
}
|
|
6
|
-
export declare const Segmented: (props: ISegmentedProps) => import("react/jsx-runtime").JSX.Element;
|