@xylabs/sdk-react 2.11.2 → 2.11.5
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/WithChildren.d.ts +1 -1
- package/dist/cjs5/WithChildren.d.ts +1 -1
- package/dist/cjs5/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/cjs5/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/cjs5/index.js.map +1 -1
- package/dist/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/components/FlexBox/BusyBox.js +1 -2
- package/dist/components/FlexBox/BusyBox.js.map +1 -1
- package/dist/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/esm2015/WithChildren.d.ts +1 -1
- package/dist/esm2015/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/esm2015/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/esm2015/index.js.map +1 -1
- package/dist/esm2017/WithChildren.d.ts +1 -1
- package/dist/esm2017/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/esm2017/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/esm2017/index.js.map +1 -1
- package/dist/esm5/WithChildren.d.ts +1 -1
- package/dist/esm5/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/esm5/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/esm5/index.js.map +1 -1
- package/dist/node/WithChildren.d.ts +1 -1
- package/dist/node/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/node/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/node/index.js.map +1 -1
- package/dist/node-esm/WithChildren.d.ts +1 -1
- package/dist/node-esm/components/FlexBox/BusyBox.d.ts +3 -5
- package/dist/node-esm/components/Pixel/PixelDebugger.stories.d.ts +2 -2
- package/dist/node-esm/index.js.map +1 -1
- package/package.json +7 -27
- package/src/WithChildren.ts +3 -1
- package/src/components/FlexBox/BusyBox.tsx +2 -6
package/package.json
CHANGED
|
@@ -17,9 +17,8 @@
|
|
|
17
17
|
"@mui/material": "^5.6.0",
|
|
18
18
|
"@mui/styles": "^5.6.0",
|
|
19
19
|
"@xylabs/pixel": "^1.3.7",
|
|
20
|
-
"@xylabs/sdk-js": "^2.4.
|
|
20
|
+
"@xylabs/sdk-js": "^2.4.5",
|
|
21
21
|
"axios": "^0.26.1",
|
|
22
|
-
"bn.js": "^5.2.0",
|
|
23
22
|
"lodash": "^4.17.21",
|
|
24
23
|
"md5": "^2.3.0",
|
|
25
24
|
"numeral": "^2.0.6",
|
|
@@ -31,46 +30,27 @@
|
|
|
31
30
|
"description": "Common React library for all XY Labs projects that use React",
|
|
32
31
|
"devDependencies": {
|
|
33
32
|
"@babel/core": "^7.17.9",
|
|
34
|
-
"@rollup/plugin-image": "^2.1.1",
|
|
35
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
36
|
-
"@rollup/plugin-replace": "^4.0.0",
|
|
37
|
-
"@rollup/plugin-strip": "^2.1.0",
|
|
38
|
-
"@rollup/plugin-typescript": "^8.3.1",
|
|
39
|
-
"@storybook/addon-actions": "^6.4.20",
|
|
40
|
-
"@storybook/addon-docs": "^6.4.20",
|
|
41
|
-
"@storybook/addon-essentials": "^6.4.20",
|
|
42
|
-
"@storybook/addon-links": "^6.4.20",
|
|
43
|
-
"@storybook/components": "^6.4.20",
|
|
44
|
-
"@storybook/core-events": "^6.4.20",
|
|
45
33
|
"@storybook/react": "^6.4.20",
|
|
46
|
-
"@types/bn.js": "^5.1.0",
|
|
47
34
|
"@types/lodash": "^4.14.181",
|
|
48
35
|
"@types/md5": "^2.3.2",
|
|
49
36
|
"@types/node": "^17.0.23",
|
|
50
37
|
"@types/numeral": "^2.0.2",
|
|
38
|
+
"@types/react": "^18.0.0",
|
|
51
39
|
"@types/react-dom": "^18.0.0",
|
|
52
40
|
"@types/react-helmet": "^6.1.5",
|
|
53
|
-
"@xylabs/eslint-config-react": "^2.1.
|
|
41
|
+
"@xylabs/eslint-config-react": "^2.1.4",
|
|
54
42
|
"@xylabs/rollup-config": "^1.1.15",
|
|
55
|
-
"@xylabs/ts-scripts": "^1.0.
|
|
43
|
+
"@xylabs/ts-scripts": "^1.0.53",
|
|
56
44
|
"@xylabs/tsconfig": "^1.0.12",
|
|
57
|
-
"babel-loader": "^8.2.4",
|
|
58
45
|
"copyfiles": "^2.4.1",
|
|
46
|
+
"depcheck": "^1.4.3",
|
|
59
47
|
"eslint": "^8.12.0",
|
|
60
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
61
|
-
"eslint-plugin-react": "^7.29.4",
|
|
62
|
-
"eslint-plugin-react-hooks": "^4.4.0",
|
|
63
|
-
"prettier": "^2.6.2",
|
|
64
48
|
"react": "^18.0.0",
|
|
65
49
|
"react-dom": "^18.0.0",
|
|
66
50
|
"rimraf": "^3.0.2",
|
|
67
|
-
"rollbar": "^2.24.1",
|
|
68
51
|
"rollup": "^2.70.1",
|
|
69
|
-
"rollup-plugin-svg": "^2.0.0",
|
|
70
52
|
"ts-node": "^10.7.0",
|
|
71
|
-
"
|
|
72
|
-
"typescript": "^4.6.3",
|
|
73
|
-
"webpack": "^5.72.0"
|
|
53
|
+
"typescript": "^4.6.3"
|
|
74
54
|
},
|
|
75
55
|
"peerDependencies": {
|
|
76
56
|
"react": "^17",
|
|
@@ -118,6 +98,6 @@
|
|
|
118
98
|
},
|
|
119
99
|
"sideEffects": false,
|
|
120
100
|
"types": "dist/index.d.ts",
|
|
121
|
-
"version": "2.11.
|
|
101
|
+
"version": "2.11.5",
|
|
122
102
|
"packageManager": "yarn@3.1.1"
|
|
123
103
|
}
|
package/src/WithChildren.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { Box, BoxProps, Paper, useTheme } from '@mui/material'
|
|
2
|
-
import React from 'react'
|
|
3
2
|
|
|
4
3
|
import { BusyProps } from '../../BusyProps'
|
|
5
4
|
import { BusyCircularProgress } from '../BusyCircularProgress'
|
|
6
5
|
import { BusyLinearProgress } from '../BusyLinearProgress'
|
|
7
6
|
|
|
8
|
-
interface BusyBoxProps extends BusyProps, BoxProps {
|
|
7
|
+
export interface BusyBoxProps extends BusyProps, BoxProps {
|
|
9
8
|
paper?: boolean
|
|
10
9
|
background?: boolean
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
const BusyBox: React.FC<BusyBoxProps> = ({
|
|
12
|
+
export const BusyBox: React.FC<BusyBoxProps> = ({
|
|
14
13
|
background,
|
|
15
14
|
children,
|
|
16
15
|
component,
|
|
@@ -51,6 +50,3 @@ const BusyBox: React.FC<BusyBoxProps> = ({
|
|
|
51
50
|
</Box>
|
|
52
51
|
)
|
|
53
52
|
}
|
|
54
|
-
|
|
55
|
-
export { BusyBox }
|
|
56
|
-
export type { BusyBoxProps }
|