@sikka/hawa 0.0.62 → 0.0.64
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/es/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +3 -3
- package/src/layout/HawaBottomAppBar.js +73 -73
- package/src/layout/index.js +1 -1
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.d86b3f87.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/vendors~main.e7c4fe25.iframe.bundle.js +3 -0
- package/storybook-static/{vendors~main.694c95d8.iframe.bundle.js.LICENSE.txt → vendors~main.e7c4fe25.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/vendors~main.e7c4fe25.iframe.bundle.js.map +1 -0
- package/src/layout/HawaPageControls.js +0 -61
- package/storybook-static/main.9aa3551c.iframe.bundle.js +0 -1
- package/storybook-static/vendors~main.694c95d8.iframe.bundle.js +0 -76
- package/storybook-static/vendors~main.694c95d8.iframe.bundle.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sikka/hawa",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
4
4
|
"description": "UI Kit",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.es.js",
|
|
@@ -73,7 +73,8 @@
|
|
|
73
73
|
"react-phone-input-2": "^2.15.1",
|
|
74
74
|
"react-select": "^5.3.2",
|
|
75
75
|
"react-transition-group": "^4.4.2",
|
|
76
|
-
"tinycolor2": "^1.4.2"
|
|
76
|
+
"tinycolor2": "^1.4.2",
|
|
77
|
+
"flowbite": "^1.5.3"
|
|
77
78
|
},
|
|
78
79
|
"resolutions": {
|
|
79
80
|
"@storybook/react/webpack": "^5",
|
|
@@ -83,7 +84,6 @@
|
|
|
83
84
|
"@storybook/manager-webpack4/webpack": "^5"
|
|
84
85
|
},
|
|
85
86
|
"dependencies": {
|
|
86
|
-
"flowbite": "^1.5.3",
|
|
87
87
|
"react-dropzone": "^12.0.4",
|
|
88
88
|
"react-icons": "^4.6.0"
|
|
89
89
|
}
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import { AppBar, Paper, Box, IconButton, Typography } from "@mui/material";
|
|
1
|
+
// import { AppBar, Paper, Box, IconButton, Typography } from "@mui/material";
|
|
2
2
|
|
|
3
|
-
export function HawaBottomAppBar({ args }) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
3
|
+
// export function HawaBottomAppBar({ args }) {
|
|
4
|
+
// return (
|
|
5
|
+
// <AppBar
|
|
6
|
+
// position="fixed"
|
|
7
|
+
// sx={args.sx}
|
|
8
|
+
// style={{
|
|
9
|
+
// bottom: 0,
|
|
10
|
+
// top: "auto",
|
|
11
|
+
// padding: 10,
|
|
12
|
+
// flexDirection: "row",
|
|
13
|
+
// alignItems: "center",
|
|
14
|
+
// justifyContent: "space-evenly"
|
|
15
|
+
// }}
|
|
16
|
+
// color={args.color}
|
|
17
|
+
// >
|
|
18
|
+
// <BottomAppBar appBarContent={args.appBarContent} />
|
|
19
|
+
// </AppBar>
|
|
20
|
+
// );
|
|
21
|
+
// }
|
|
22
22
|
|
|
23
|
-
export function BottomAppBar(props) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
23
|
+
// export function BottomAppBar(props) {
|
|
24
|
+
// return (
|
|
25
|
+
// <Paper
|
|
26
|
+
// elevation={3}
|
|
27
|
+
// style={{
|
|
28
|
+
// width: "100%",
|
|
29
|
+
// display: "flex",
|
|
30
|
+
// flexDirection: "row",
|
|
31
|
+
// justifyContent: "space-evenly",
|
|
32
|
+
// borderRadius: 10,
|
|
33
|
+
// alignContent: "center",
|
|
34
|
+
// padding: 10
|
|
35
|
+
// }}
|
|
36
|
+
// variant="outlined"
|
|
37
|
+
// >
|
|
38
|
+
// {props.appBarContent.map(({ label, icon, action }) => (
|
|
39
|
+
// <SubAppBarContent label={label} icon={icon} action={action} />
|
|
40
|
+
// ))}
|
|
41
|
+
// </Paper>
|
|
42
|
+
// );
|
|
43
|
+
// }
|
|
44
44
|
|
|
45
|
-
function SubAppBarContent(props) {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
45
|
+
// function SubAppBarContent(props) {
|
|
46
|
+
// return (
|
|
47
|
+
// <Box
|
|
48
|
+
// display="flex"
|
|
49
|
+
// flexDirection="row"
|
|
50
|
+
// justifyContent="center"
|
|
51
|
+
// alignItems="center"
|
|
52
|
+
// sx={{
|
|
53
|
+
// "&:hover": {
|
|
54
|
+
// cursor: "pointer",
|
|
55
|
+
// color: "blue"
|
|
56
|
+
// }
|
|
57
|
+
// }}
|
|
58
|
+
// onClick={props.action}
|
|
59
|
+
// >
|
|
60
|
+
// <IconButton
|
|
61
|
+
// sx={{
|
|
62
|
+
// ml: 1,
|
|
63
|
+
// "&.MuiButtonBase-root:hover": {
|
|
64
|
+
// color: "blue",
|
|
65
|
+
// bgcolor: "transparent"
|
|
66
|
+
// }
|
|
67
|
+
// }}
|
|
68
|
+
// >
|
|
69
|
+
// {props.icon}
|
|
70
|
+
// </IconButton>
|
|
71
|
+
// <Typography sx={{ display: { xs: "none", sm: "none", md: "block" } }}>
|
|
72
|
+
// {props.label}
|
|
73
|
+
// </Typography>
|
|
74
|
+
// </Box>
|
|
75
|
+
// );
|
|
76
|
+
// }
|
package/src/layout/index.js
CHANGED
|
@@ -361,4 +361,4 @@
|
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
|
|
364
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.6b765954.iframe.bundle.js"></script><script src="vendors~main.
|
|
364
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.6b765954.iframe.bundle.js"></script><script src="vendors~main.e7c4fe25.iframe.bundle.js"></script><script src="main.d86b3f87.iframe.bundle.js"></script></body></html>
|