@mparticle/aquarium 1.4.2 → 1.5.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 +3596 -134
- package/dist/index.d.ts +14 -1
- package/package.json +8 -7
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import { CardProps } from 'antd';
|
|
|
13
13
|
import { CarouselProps } from 'antd';
|
|
14
14
|
import { CascaderPanelProps } from 'antd/es/cascader/Panel';
|
|
15
15
|
import { CascaderProps } from 'antd';
|
|
16
|
+
import { CheckableTagProps as CheckableTagProps_2 } from 'antd/lib/tag';
|
|
16
17
|
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
17
18
|
import { CheckboxProps } from 'antd';
|
|
18
19
|
import { CheckboxRef } from 'rc-checkbox';
|
|
@@ -38,6 +39,7 @@ import { ForwardRefExoticComponent } from 'react';
|
|
|
38
39
|
import { Grid } from 'antd';
|
|
39
40
|
import { GroupProps } from 'antd/es/input';
|
|
40
41
|
import { ColProps as IColProps } from 'antd';
|
|
42
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
41
43
|
import { ImageProps } from 'antd';
|
|
42
44
|
import { IModalProps as IModalProps_2 } from '../../../../../../../../../src/components/feedback/Modal/Modal';
|
|
43
45
|
import { InputNumberProps } from 'antd';
|
|
@@ -134,6 +136,8 @@ export declare const Cascader: {
|
|
|
134
136
|
SHOW_CHILD: "SHOW_CHILD";
|
|
135
137
|
};
|
|
136
138
|
|
|
139
|
+
declare type CheckableTagProps = CheckableTagProps_2 & ITagProps;
|
|
140
|
+
|
|
137
141
|
export declare const Checkbox: {
|
|
138
142
|
(props: ICheckboxProps): JSX_2.Element;
|
|
139
143
|
Group: <T extends CheckboxValueType = CheckboxValueType>(props: CheckboxGroupProps<T> & RefAttributes<HTMLDivElement>) => ReactElement<any, string | JSXElementConstructor<any>>;
|
|
@@ -223,6 +227,8 @@ export declare interface IColorPickerProps extends ColorPickerProps {
|
|
|
223
227
|
|
|
224
228
|
export { IColProps }
|
|
225
229
|
|
|
230
|
+
export declare const Icon: (props: IIconProps) => JSX_2.Element;
|
|
231
|
+
|
|
226
232
|
export declare interface IConfigProviderProps extends ConfigProviderProps {
|
|
227
233
|
}
|
|
228
234
|
|
|
@@ -254,6 +260,10 @@ export declare interface IFormProps extends FormProps {
|
|
|
254
260
|
children: React.ReactNode;
|
|
255
261
|
}
|
|
256
262
|
|
|
263
|
+
export declare interface IIconProps {
|
|
264
|
+
icon: IconProp;
|
|
265
|
+
}
|
|
266
|
+
|
|
257
267
|
export declare interface IImageProps extends ImageProps {
|
|
258
268
|
}
|
|
259
269
|
|
|
@@ -463,7 +473,10 @@ export declare const Table: (props: ITableProps) => JSX_2.Element;
|
|
|
463
473
|
|
|
464
474
|
export declare const Tabs: (props: ITabsProps) => JSX_2.Element;
|
|
465
475
|
|
|
466
|
-
export declare const Tag:
|
|
476
|
+
export declare const Tag: {
|
|
477
|
+
(props: ITagProps): JSX_2.Element;
|
|
478
|
+
CheckableTag(props: CheckableTagProps): JSX_2.Element;
|
|
479
|
+
};
|
|
467
480
|
|
|
468
481
|
export declare const Timeline: (props: ITimelineProps) => JSX_2.Element;
|
|
469
482
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -21,13 +21,12 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@fortawesome/fontawesome-svg-core": "6.5.1",
|
|
23
23
|
"@fortawesome/free-solid-svg-icons": "6.5.1",
|
|
24
|
-
"@fortawesome/react-fontawesome": "0.2.0"
|
|
25
|
-
"typescript": "5.3.3"
|
|
24
|
+
"@fortawesome/react-fontawesome": "0.2.0"
|
|
26
25
|
},
|
|
27
26
|
"peerDependencies": {
|
|
28
|
-
"antd": "5.13.2",
|
|
29
|
-
"react": "
|
|
30
|
-
"react-dom": "
|
|
27
|
+
"antd": "<=5.13.2",
|
|
28
|
+
"react": "<=17.0.2",
|
|
29
|
+
"react-dom": "<=17.0.2"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@storybook/addon-essentials": "7.6.10",
|
|
@@ -48,7 +47,8 @@
|
|
|
48
47
|
"storybook": "7.6.10",
|
|
49
48
|
"vite": "5.0.12",
|
|
50
49
|
"vite-plugin-dts": "3.7.1",
|
|
51
|
-
"wait-on": "7.2.0"
|
|
50
|
+
"wait-on": "7.2.0",
|
|
51
|
+
"typescript": "5.3.3"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
54
|
"@rollup/rollup-linux-x64-gnu": "4.9.5",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"@swc/core-linux-x64-musl": "1.3.104"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
|
+
"start": "npm run storybook",
|
|
59
60
|
"storybook": "storybook dev -p 6006",
|
|
60
61
|
"test-storybook": "test-storybook",
|
|
61
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\"",
|