@mparticle/aquarium 1.5.0 → 1.6.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/README.md +1 -1
- package/dist/_variables.css +498 -0
- package/dist/aquarium.mjs +227 -238
- package/dist/index.d.ts +5 -5
- package/package.json +34 -5
package/dist/index.d.ts
CHANGED
|
@@ -279,9 +279,9 @@ export declare interface ILayoutProps extends LayoutProps {
|
|
|
279
279
|
export declare interface IListProps extends ListProps {
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export declare interface ILoadingModalProps<Data> extends Omit<IModalProps_2,
|
|
283
|
-
fetchData()
|
|
284
|
-
children(initData: Data)
|
|
282
|
+
export declare interface ILoadingModalProps<Data> extends Omit<IModalProps_2, 'children'> {
|
|
283
|
+
fetchData: () => Promise<Data>;
|
|
284
|
+
children: (initData: Data) => React.ReactNode;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
declare const Image_2: (props: IImageProps) => JSX_2.Element;
|
|
@@ -347,7 +347,7 @@ export declare interface ISegmentedProps extends SegmentedProps {
|
|
|
347
347
|
export declare interface ISelectProps<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends SelectProps<ValueType, OptionType> {
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
export declare interface ISkeletonProps extends Omit<SkeletonProps,
|
|
350
|
+
export declare interface ISkeletonProps extends Omit<SkeletonProps, 'active'> {
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
export declare type ISliderProps = SliderSingleProps | SliderRangeProps;
|
|
@@ -475,7 +475,7 @@ export declare const Tabs: (props: ITabsProps) => JSX_2.Element;
|
|
|
475
475
|
|
|
476
476
|
export declare const Tag: {
|
|
477
477
|
(props: ITagProps): JSX_2.Element;
|
|
478
|
-
CheckableTag(props: CheckableTagProps)
|
|
478
|
+
CheckableTag: (props: CheckableTagProps) => JSX_2.Element;
|
|
479
479
|
};
|
|
480
480
|
|
|
481
481
|
export declare const Timeline: (props: ITimelineProps) => JSX_2.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mparticle/aquarium",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "mParticle Component Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"main": "dist/aquarium.mjs",
|
|
17
17
|
"files": [
|
|
18
18
|
"dist/aquarium.mjs",
|
|
19
|
-
"dist/index.d.ts"
|
|
19
|
+
"dist/index.d.ts",
|
|
20
|
+
"dist/_variables.css"
|
|
20
21
|
],
|
|
21
22
|
"dependencies": {
|
|
22
23
|
"@fortawesome/fontawesome-svg-core": "6.5.1",
|
|
@@ -41,14 +42,29 @@
|
|
|
41
42
|
"@storybook/test": "7.6.10",
|
|
42
43
|
"@storybook/test-runner": "0.16.0",
|
|
43
44
|
"@storybook/testing-library": "0.2.2",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "6.19.0",
|
|
44
46
|
"@vitejs/plugin-react": "4.2.1",
|
|
45
47
|
"concurrently": "8.2.2",
|
|
48
|
+
"eslint": "8.56.0",
|
|
49
|
+
"eslint-config-prettier": "9.1.0",
|
|
50
|
+
"eslint-config-standard-with-typescript": "43.0.0",
|
|
51
|
+
"eslint-plugin-import": "2.29.1",
|
|
52
|
+
"eslint-plugin-n": "16.6.2",
|
|
53
|
+
"eslint-plugin-promise": "6.1.1",
|
|
54
|
+
"eslint-plugin-react": "7.33.2",
|
|
55
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
46
56
|
"http-server": "14.1.1",
|
|
57
|
+
"husky": "8.0.3",
|
|
58
|
+
"prettier": "3.1.1",
|
|
47
59
|
"storybook": "7.6.10",
|
|
60
|
+
"stylelint": "16.2.0",
|
|
61
|
+
"stylelint-config-recommended": "14.0.0",
|
|
62
|
+
"stylelint-config-standard": "36.0.0",
|
|
63
|
+
"stylelint-no-indistinguishable-colors": "2.1.0",
|
|
64
|
+
"typescript": "5.3.3",
|
|
48
65
|
"vite": "5.0.12",
|
|
49
66
|
"vite-plugin-dts": "3.7.1",
|
|
50
|
-
"wait-on": "7.2.0"
|
|
51
|
-
"typescript": "5.3.3"
|
|
67
|
+
"wait-on": "7.2.0"
|
|
52
68
|
},
|
|
53
69
|
"optionalDependencies": {
|
|
54
70
|
"@rollup/rollup-linux-x64-gnu": "4.9.5",
|
|
@@ -56,11 +72,24 @@
|
|
|
56
72
|
"@swc/core-linux-x64-musl": "1.3.104"
|
|
57
73
|
},
|
|
58
74
|
"scripts": {
|
|
75
|
+
"prepare": "husky install",
|
|
59
76
|
"start": "npm run storybook",
|
|
60
77
|
"storybook": "storybook dev -p 6006",
|
|
61
78
|
"test-storybook": "test-storybook",
|
|
62
79
|
"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\"",
|
|
63
80
|
"build-dist": "sh ./scripts/build-dist.sh",
|
|
64
|
-
"build-storybook": "storybook build"
|
|
81
|
+
"build-storybook": "storybook build",
|
|
82
|
+
"lint": "concurrently \"eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\"\" \"stylelint \"**/*.css\"\"",
|
|
83
|
+
"lint:fix": "concurrently \"eslint --ext .ts,.tsx \"src/**/*.{ts,tsx}\" --quiet --fix\" \"stylelint \"**/*.css\" --fix\"",
|
|
84
|
+
"tokens-to-css": "npx style-dictionary build --config ./style-dictionary.json"
|
|
85
|
+
},
|
|
86
|
+
"lint-staged": {
|
|
87
|
+
"*.{ts,tsx,css}": [
|
|
88
|
+
"npm run lint:fix",
|
|
89
|
+
"prettier --write"
|
|
90
|
+
],
|
|
91
|
+
"*.{json,yml,md}": [
|
|
92
|
+
"prettier --write"
|
|
93
|
+
]
|
|
65
94
|
}
|
|
66
95
|
}
|