@pushwoosh/kit-helpers 4.11.3 → 4.12.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/expand.d.ts +3 -2
- package/flex.d.ts +1 -1
- package/grid.d.ts +1 -1
- package/package.json +10 -18
package/expand.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type FC, type ReactNode } from 'react';
|
|
2
2
|
type ExpandTransitionProps = {
|
|
3
3
|
className?: string;
|
|
4
4
|
timeout?: number;
|
|
5
5
|
externalClassName?: string;
|
|
6
6
|
internalClassName?: string;
|
|
7
|
+
children?: ReactNode;
|
|
7
8
|
};
|
|
8
|
-
export declare const ExpandTransition: import("styled-components").StyledComponent<
|
|
9
|
+
export declare const ExpandTransition: import("styled-components").StyledComponent<FC<ExpandTransitionProps>, any, {}, never>;
|
|
9
10
|
type CollapseProps = {
|
|
10
11
|
expanded: boolean;
|
|
11
12
|
timeout?: number;
|
package/flex.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonContainerProps } from './styled-helpers';
|
|
1
|
+
import { type CommonContainerProps } from './styled-helpers';
|
|
2
2
|
type FlexContainerProps = CommonContainerProps & {
|
|
3
3
|
$flexDirection?: 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
4
4
|
$flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
package/grid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StrNum, ItemAlignmentValue, CommonContainerProps } from './styled-helpers';
|
|
1
|
+
import { type StrNum, type ItemAlignmentValue, type CommonContainerProps } from './styled-helpers';
|
|
2
2
|
export { toCssValue } from './styled-helpers';
|
|
3
3
|
type GridContainerProps = CommonContainerProps & {
|
|
4
4
|
$gridAutoFlow?: 'row' | 'column' | 'dense' | 'row dense' | 'column dense';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pushwoosh/kit-helpers",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.0",
|
|
4
4
|
"description": "React component for build Pushwoosh products",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"build": "pushwoosh-engine lib:build && cp ai-documentation.md dist/ai-documentation.md",
|
|
12
12
|
"playground": "pushwoosh-engine lib:playground",
|
|
13
13
|
"check": "npm run check:lint && npm run check:types",
|
|
14
|
-
"check:lint": "echo \"Run check:lint\" && eslint
|
|
14
|
+
"check:lint": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src",
|
|
15
|
+
"check:lint-fix": "echo \"Run check:lint\" && NODE_ENV=production eslint ./src --fix",
|
|
15
16
|
"check:types": "echo \"Run check:types\" && pushwoosh-engine lib:check-types"
|
|
16
17
|
},
|
|
17
18
|
"pre-commit": "check",
|
|
@@ -19,30 +20,21 @@
|
|
|
19
20
|
"react-transition-group": "^4.4.5"
|
|
20
21
|
},
|
|
21
22
|
"devDependencies": {
|
|
22
|
-
"@pushwoosh/frontend-builder-engine": "^
|
|
23
|
+
"@pushwoosh/frontend-builder-engine": "^3.0.0",
|
|
23
24
|
"@pushwoosh/kit-constants": "^1.6.0",
|
|
24
|
-
"@types/react": "^
|
|
25
|
-
"@types/react-dom": "^
|
|
25
|
+
"@types/react": "^18.3.2",
|
|
26
|
+
"@types/react-dom": "^18.3.0",
|
|
26
27
|
"@types/react-transition-group": "^4.4.10",
|
|
27
28
|
"@types/styled-components": "^5.1.34",
|
|
28
|
-
"@
|
|
29
|
-
"@typescript-eslint/parser": "^7.3.1",
|
|
29
|
+
"@types/webpack-env": "^1.18.8",
|
|
30
30
|
"cross-env": "^7.0.3",
|
|
31
|
-
"eslint": "^8.31.0",
|
|
32
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
33
|
-
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
34
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
35
|
-
"eslint-plugin-import": "^2.25.2",
|
|
36
|
-
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
37
|
-
"eslint-plugin-react": "^7.26.1",
|
|
38
|
-
"eslint-plugin-react-hooks": "^4.2.0",
|
|
39
31
|
"pre-commit": "^1.2.2",
|
|
40
|
-
"react": "^
|
|
41
|
-
"react-dom": "^
|
|
32
|
+
"react": "^18.3.1",
|
|
33
|
+
"react-dom": "^18.3.1",
|
|
42
34
|
"styled-components": "^5.3.11"
|
|
43
35
|
},
|
|
44
36
|
"peerDependencies": {
|
|
45
|
-
"react": ">=
|
|
37
|
+
"react": ">=18.0.0",
|
|
46
38
|
"styled-components": ">=5.3.3"
|
|
47
39
|
},
|
|
48
40
|
"engines": {
|