@sikka/hawa 0.0.45 → 0.0.46

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "description": "UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -9,52 +9,174 @@ export const HawaItemCard = (props) => {
9
9
  props.onCardClick();
10
10
  };
11
11
  return (
12
- <Container
13
- onClick={handleParentClick}
14
- maxWidth="xs"
15
- variant="card-container"
16
- dataValue="parent"
17
- // variant={props.selectedPlan ? "selected-plan-card" : "plan-card"}
18
- style={{ direction: isArabic ? "rtl" : "ltr" }}
12
+ <div
13
+ // href="#"
14
+ class="block pt-6 max-w-sm bg-white rounded-lg border border-gray-200 shadow-md dark:bg-gray-800 dark:border-gray-700 "
19
15
  >
20
- {props.header && (
21
- <Container style={{ zIndex: 20 }} variant="card-header">
22
- {props.headerActions && (
23
- <div
24
- style={{
25
- margin: 0,
26
- marginRight: -20,
27
- marginLeft: -20,
28
- marginBottom: -20,
29
- // backgroundColor: "red",
30
- display: "flex",
31
- paddingTop: 5,
32
- paddingLeft: 5,
33
- paddingRight: 5,
34
- justifyContent: "flex-end"
35
- }}
16
+ <div class="flex justify-end pr-6">
17
+ <button
18
+ id="dropdownButton"
19
+ data-dropdown-toggle="dropdown"
20
+ class="inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm"
21
+ type="button"
22
+ >
23
+ <span class="sr-only">Open dropdown</span>
24
+ <svg
25
+ class="w-6 h-6"
26
+ aria-hidden="true"
27
+ fill="currentColor"
28
+ viewBox="0 0 20 20"
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ >
31
+ <path d="M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"></path>
32
+ </svg>
33
+ </button>
34
+ <div
35
+ id="dropdown"
36
+ class="hidden z-10 w-44 text-base list-none bg-white rounded divide-y divide-gray-100 shadow dark:bg-gray-700"
37
+ >
38
+ <ul class="py-1" aria-labelledby="dropdownButton">
39
+ <li>
40
+ <a
41
+ href="#"
42
+ class="block py-2 px-4 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
43
+ >
44
+ Edit
45
+ </a>
46
+ </li>
47
+ <li>
48
+ <a
49
+ href="#"
50
+ class="block py-2 px-4 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
51
+ >
52
+ Export Data
53
+ </a>
54
+ </li>
55
+ <li>
56
+ <a
57
+ href="#"
58
+ class="block py-2 px-4 text-sm text-red-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
59
+ >
60
+ Delete
61
+ </a>
62
+ </li>
63
+ </ul>
64
+ </div>
65
+ </div>
66
+ <div class="px-6">
67
+ <h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">
68
+ Noteworthy technology acquisitions 2021
69
+ </h5>
70
+ <p class="font-normal text-gray-700 dark:text-gray-400">
71
+ Here are the biggest enterprise technology acquisitions of 2021 so
72
+ far, in reverse chronological order.
73
+ </p>
74
+ </div>
75
+ <div className="p-3 mt-6 rounded-b-lg flex justify-end">
76
+ <div class="inline-flex rounded-md shadow-sm" role="group">
77
+ <button
78
+ type="button"
79
+ class="inline-flex items-center py-2 px-4 text-sm font-medium text-gray-900 bg-white rounded-l-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white"
80
+ >
81
+ <svg
82
+ aria-hidden="true"
83
+ class="mr-0 w-4 h-4 fill-current"
84
+ fill="currentColor"
85
+ viewBox="0 0 20 20"
86
+ xmlns="http://www.w3.org/2000/svg"
36
87
  >
37
- {props.headerActions}
38
- </div>
39
- )}
40
- {props.header}
41
- </Container>
42
- )}
43
- {props.content && (
44
- <Container style={{ zIndex: 20 }} variant="card-content">
45
- {props.content}
46
- </Container>
47
- )}
88
+ <path
89
+ fill-rule="evenodd"
90
+ d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z"
91
+ clip-rule="evenodd"
92
+ ></path>
93
+ </svg>
94
+ {/* Profile */}
95
+ </button>
96
+ <button
97
+ type="button"
98
+ class="inline-flex items-center py-2 px-4 text-sm font-medium text-gray-900 bg-white border-t border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white"
99
+ >
100
+ <svg
101
+ aria-hidden="true"
102
+ class="mr-0 w-4 h-4 fill-current"
103
+ fill="currentColor"
104
+ viewBox="0 0 20 20"
105
+ xmlns="http://www.w3.org/2000/svg"
106
+ >
107
+ <path d="M5 4a1 1 0 00-2 0v7.268a2 2 0 000 3.464V16a1 1 0 102 0v-1.268a2 2 0 000-3.464V4zM11 4a1 1 0 10-2 0v1.268a2 2 0 000 3.464V16a1 1 0 102 0V8.732a2 2 0 000-3.464V4zM16 3a1 1 0 011 1v7.268a2 2 0 010 3.464V16a1 1 0 11-2 0v-1.268a2 2 0 010-3.464V4a1 1 0 011-1z"></path>
108
+ </svg>
109
+ {/* Settings */}
110
+ </button>
111
+ <button
112
+ type="button"
113
+ class="inline-flex items-center py-2 px-4 text-sm font-medium text-gray-900 bg-white rounded-r-md border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white"
114
+ >
115
+ <svg
116
+ aria-hidden="true"
117
+ class="mr-0 w-4 h-4 fill-current"
118
+ fill="currentColor"
119
+ viewBox="0 0 20 20"
120
+ xmlns="http://www.w3.org/2000/svg"
121
+ >
122
+ <path
123
+ fill-rule="evenodd"
124
+ d="M2 9.5A3.5 3.5 0 005.5 13H9v2.586l-1.293-1.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 15.586V13h2.5a4.5 4.5 0 10-.616-8.958 4.002 4.002 0 10-7.753 1.977A3.5 3.5 0 002 9.5zm9 3.5H9V8a1 1 0 012 0v5z"
125
+ clip-rule="evenodd"
126
+ ></path>
127
+ </svg>
128
+ {/* Downloads */}
129
+ </button>
130
+ </div>
131
+ </div>
132
+ </div>
133
+
134
+ // <Container
135
+ // onClick={handleParentClick}
136
+ // maxWidth="xs"
137
+ // variant="card-container"
138
+ // dataValue="parent"
139
+ // // variant={props.selectedPlan ? "selected-plan-card" : "plan-card"}
140
+ // style={{ direction: isArabic ? "rtl" : "ltr" }}
141
+ // >
142
+ // {props.header && (
143
+ // <Container style={{ zIndex: 20 }} variant="card-header">
144
+ // {props.headerActions && (
145
+ // <div
146
+ // style={{
147
+ // margin: 0,
148
+ // marginRight: -20,
149
+ // marginLeft: -20,
150
+ // marginBottom: -20,
151
+ // // backgroundColor: "red",
152
+ // display: "flex",
153
+ // paddingTop: 5,
154
+ // paddingLeft: 5,
155
+ // paddingRight: 5,
156
+ // justifyContent: "flex-end"
157
+ // }}
158
+ // >
159
+ // {props.headerActions}
160
+ // </div>
161
+ // )}
162
+ // {props.header}
163
+ // </Container>
164
+ // )}
165
+ // {props.content && (
166
+ // <Container style={{ zIndex: 20 }} variant="card-content">
167
+ // {props.content}
168
+ // </Container>
169
+ // )}
48
170
 
49
- {props.actions && (
50
- <Container style={{ zIndex: 20 }} variant="card-actions">
51
- {props.actions}
52
- </Container>
53
- )}
54
- </Container>
171
+ // {props.actions && (
172
+ // <Container style={{ zIndex: 20 }} variant="card-actions">
173
+ // {props.actions}
174
+ // </Container>
175
+ // )}
176
+ // </Container>
55
177
  );
56
178
  };
57
179
  HawaItemCard.propTypes = {
58
180
  lang: PropTypes.string,
59
- onCardClick: PropTypes.func,
181
+ onCardClick: PropTypes.func
60
182
  };
@@ -1,47 +1,44 @@
1
- import React, { useEffect, useState } from "react";
2
- import Snackbar from "@mui/material/Snackbar";
3
- import AlertTitle from "@mui/material/AlertTitle";
4
- import Alert from "@mui/material/Alert";
5
- import { IconButton } from "@mui/material";
6
- import CloseIcon from "@mui/icons-material/Close";
1
+ import React from "react";
2
+ import "flowbite";
7
3
 
8
4
  export const HawaSnackbar = (props) => {
9
- const [position, setPosition] = useState({ vertical: "", horizontal: "" });
10
-
11
- useEffect(() => {
12
- if (props.position) {
13
- const p = props.position.split("-");
14
- setPosition({ vertical: p[0], horizontal: p[1] });
15
- }
16
- }, [props.position]);
17
-
5
+ let severities = {
6
+ info: "bottom-4 fixed flex items-center p-4 w-full max-w-xs text-blue-700 bg-blue-100 rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",
7
+ warning:
8
+ "bottom-4 fixed flex items-center p-4 w-full max-w-xs text-yellow-700 bg-yellow-100 rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",
9
+ error:
10
+ "bottom-4 fixed flex items-center p-4 w-full max-w-xs text-red-700 bg-red-100 rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",
11
+ success:
12
+ "bottom-4 fixed flex items-center p-4 w-full max-w-xs text-green-700 bg-green-100 rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",
13
+ none: "bottom-4 fixed flex items-center p-4 w-full max-w-xs text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800"
14
+ };
18
15
  return (
19
- <Snackbar
20
- open={props.open}
21
- autoHideDuration={props.autoHide ? props.duration : null}
22
- onClose={props.handleClose}
23
- anchorOrigin={position}
24
- action={
25
- <>
26
- <IconButton
27
- aria-label="close"
28
- style={{ color: "black" }}
29
- sx={{ p: 0.5 }}
30
- onClick={props.handleClose}
31
- >
32
- <CloseIcon />
33
- </IconButton>
34
- </>
35
- }
36
- >
37
- <Alert
38
- icon={false}
39
- severity={props.severity}
40
- onClose={props.isClosable ? props.handleClose : null}
16
+ <div id="toast-default" role="alert" className={severities[props.severity]}>
17
+ <div>
18
+ <div class="ml-3 text-sm font-bold">{props.title}</div>
19
+ <div class="ml-3 text-sm font-normal">{props.text}</div>
20
+ </div>
21
+ <button
22
+ type="button"
23
+ class="ml-auto -mx-1.5 -my-1.5 text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"
24
+ data-dismiss-target="#toast-default"
25
+ aria-label="Close"
41
26
  >
42
- {props.title && <AlertTitle>{props.title}</AlertTitle>}
43
- {props.text}
44
- </Alert>
45
- </Snackbar>
27
+ <span class="sr-only">Close</span>
28
+ <svg
29
+ aria-hidden="true"
30
+ class="w-5 h-5"
31
+ fill="currentColor"
32
+ viewBox="0 0 20 20"
33
+ xmlns="http://www.w3.org/2000/svg"
34
+ >
35
+ <path
36
+ fill-rule="evenodd"
37
+ d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
38
+ clip-rule="evenodd"
39
+ ></path>
40
+ </svg>
41
+ </button>
42
+ </div>
46
43
  );
47
44
  };
@@ -1,6 +1,21 @@
1
1
  import React from "react";
2
- import Switch from "@mui/material/Switch";
3
2
 
4
3
  export const HawaSwitch = (props) => {
5
- return <Switch {...props} />;
4
+ return (
5
+ <label
6
+ for="default-toggle"
7
+ class="inline-flex relative items-center cursor-pointer"
8
+ >
9
+ <input
10
+ type="checkbox"
11
+ value=""
12
+ id="default-toggle"
13
+ class="sr-only peer"
14
+ />
15
+ <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div>
16
+ <span class="ml-3 text-sm font-medium text-gray-900 dark:text-gray-300">
17
+ {props.text}
18
+ </span>
19
+ </label>
20
+ );
6
21
  };
@@ -1,32 +1,25 @@
1
1
  import React from "react";
2
- import Input from "@mui/material/Input";
3
- import InputLabel from "@mui/material/InputLabel";
4
- import Typography from "@mui/material/Typography";
5
2
 
6
3
  export const HawaTextField = (props) => {
7
4
  return (
8
- <div style={props.inForm && { width: "100%" }}>
9
- <div style={{ width: props.fullWidth ? "100%" : "fit-content" }}>
10
- <div
11
- style={{
12
- display: "flex",
13
- flexDirection: "row",
14
- justifyContent: "space-between",
15
- alignItems: "center"
16
- }}
17
- >
18
- {props.label && <InputLabel>{props.label}</InputLabel>}
19
- {props.helperText && (
20
- <Typography
21
- style={{ marginBottom: !props.label && 10 }}
22
- variant="validation"
23
- >
24
- {props.helperText}
25
- </Typography>
26
- )}
27
- </div>
28
- <Input disableUnderline {...props} />
29
- </div>
5
+ <div>
6
+ <label
7
+ for="first_name"
8
+ class="block mb-2 text-sm font-medium text-gray-900 dark:text-gray-300"
9
+ >
10
+ {props.label}
11
+ </label>
12
+ <input
13
+ {...props}
14
+ class="mb-2 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
15
+ />
16
+
17
+ {props.helperText && (
18
+ <p class="mt-2 text-sm text-red-600 dark:text-red-500">
19
+ {/* <span class="font-medium">Oh, snapp!</span> */}
20
+ {props.helperText}
21
+ </p>
22
+ )}
30
23
  </div>
31
24
  );
32
25
  };
@@ -1,6 +1,7 @@
1
1
  export * from "./ResponsiveButton";
2
2
  export * from "./ActionButton";
3
3
  export * from "./HawaSnackbar";
4
+ export * from "./HawaSwitch";
4
5
  export * from "./HawaCheckbox";
5
6
  export * from "./HawaPanelTabs";
6
7
  export * from "./HawaChip";
@@ -1,32 +1,132 @@
1
1
  import React from "react";
2
- // import PropTypes from "prop-types";
2
+ import PropTypes from "prop-types";
3
3
  import "flowbite";
4
4
  import HawaDrawerItem from "../elements/HawaDrawerItem";
5
+
6
+ const MenuButton = () => {
7
+ return (
8
+ <button
9
+ data-drawer-target="drawer-navigation"
10
+ data-drawer-show="drawer-navigation"
11
+ aria-controls="drawer-navigation"
12
+ type="button"
13
+ class="inline-flex items-center p-2 text-sm text-gray-500 rounded-lg hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
14
+ >
15
+ <span class="sr-only">Open main menu</span>
16
+ <svg
17
+ aria-hidden="true"
18
+ class="w-6 h-6"
19
+ fill="currentColor"
20
+ viewBox="0 0 20 20"
21
+ xmlns="http://www.w3.org/2000/svg"
22
+ >
23
+ <path
24
+ fill-rule="evenodd"
25
+ d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
26
+ clip-rule="evenodd"
27
+ ></path>
28
+ </svg>
29
+ </button>
30
+ );
31
+ };
5
32
  export const HawaLayout = (props) => {
6
33
  return (
7
34
  <div>
8
- <button
9
- data-drawer-target="drawer-navigation"
10
- data-drawer-show="drawer-navigation"
11
- aria-controls="drawer-navigation"
12
- type="button"
13
- class="inline-flex items-center p-2 ml-1 text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
35
+ <div>
36
+ <nav class="border-gray-200 rounded dark:bg-gray-900">
37
+ <div class="flex p-3 flex-row-reverse items-center justify-between w-full">
38
+ <div href={props.logoLink} class="flex items-center">
39
+ <img
40
+ src="https://flowbite.com/docs/images/logo.svg"
41
+ class="h-9"
42
+ alt="Flowbite Logo"
43
+ />
44
+ </div>
45
+ <div className="flex flex-row-reverse">
46
+ <MenuButton />
47
+
48
+ <div
49
+ data-dropdown-toggle="userDropdown"
50
+ data-dropdown-placement="bottom-start"
51
+ class="overflow-hidden mr-2 relative w-10 h-10 bg-gray-100 rounded-full dark:bg-gray-600"
52
+ >
53
+ <svg
54
+ class="absolute -left-1 w-12 h-12 text-gray-400"
55
+ fill="currentColor"
56
+ viewBox="0 0 20 20"
57
+ xmlns="http://www.w3.org/2000/svg"
58
+ >
59
+ <path
60
+ fill-rule="evenodd"
61
+ d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z"
62
+ clip-rule="evenodd"
63
+ ></path>
64
+ </svg>
65
+ </div>
66
+
67
+ {/* <img
68
+ id="avatarButton"
69
+ type="button"
70
+ data-dropdown-toggle="userDropdown"
71
+ data-dropdown-placement="bottom-start"
72
+ class="w-10 h-10 rounded-full cursor-pointer"
73
+ src="/docs/images/people/profile-picture-5.jpg"
74
+ alt="User dropdown"
75
+ /> */}
76
+ </div>
77
+ </div>
78
+ </nav>
79
+ </div>
80
+ <div
81
+ id="userDropdown"
82
+ class="hidden z-10 w-44 bg-white rounded divide-y divide-gray-100 shadow dark:bg-gray-700 dark:divide-gray-600"
83
+ data-popper-reference-hidden=""
84
+ data-popper-escaped=""
85
+ data-popper-placement="bottom-start"
86
+ // style="position: absolute; inset: 0px auto auto 0px; margin: 0px; transform: translate3d(0px, 295.5px, 0px);"
14
87
  >
15
- <span class="sr-only">Open main menu</span>
16
- <svg
17
- aria-hidden="true"
18
- class="w-6 h-6"
19
- fill="currentColor"
20
- viewBox="0 0 20 20"
21
- xmlns="http://www.w3.org/2000/svg"
88
+ <div class="py-3 px-4 text-sm text-gray-900 dark:text-white">
89
+ <div>Bonnie Green</div>
90
+ <div class="font-medium truncate">name@flowbite.com</div>
91
+ </div>
92
+ <ul
93
+ class="py-1 text-sm text-gray-700 dark:text-gray-200"
94
+ aria-labelledby="avatarButton"
22
95
  >
23
- <path
24
- fill-rule="evenodd"
25
- d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
26
- clip-rule="evenodd"
27
- ></path>
28
- </svg>
29
- </button>
96
+ <li>
97
+ <a
98
+ href="#"
99
+ class="block py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
100
+ >
101
+ Dashboard
102
+ </a>
103
+ </li>
104
+ <li>
105
+ <a
106
+ href="#"
107
+ class="block py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
108
+ >
109
+ Settings
110
+ </a>
111
+ </li>
112
+ <li>
113
+ <a
114
+ href="#"
115
+ class="block py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
116
+ >
117
+ Earnings
118
+ </a>
119
+ </li>
120
+ </ul>
121
+ <div class="py-1">
122
+ <a
123
+ href="#"
124
+ class="block py-2 px-4 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white"
125
+ >
126
+ Sign out
127
+ </a>
128
+ </div>
129
+ </div>
30
130
 
31
131
  <div
32
132
  id="drawer-navigation"
@@ -59,7 +159,6 @@ export const HawaLayout = (props) => {
59
159
  clip-rule="evenodd"
60
160
  ></path>
61
161
  </svg>
62
- <span class="sr-only">Close menu</span>
63
162
  </button>
64
163
  <div class="py-4 overflow-y-auto">
65
164
  <ul class="space-y-2">
@@ -73,8 +172,6 @@ export const HawaLayout = (props) => {
73
172
  );
74
173
  };
75
174
 
76
- // ResponsiveButton.propTypes = {
77
- // buttonText: PropTypes.string,
78
- // onClick: PropTypes.func,
79
- // showText: PropTypes.bool,
80
- // };
175
+ HawaLayout.propTypes = {
176
+ logoLink: PropTypes.string
177
+ };
@@ -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.0e8a2888.iframe.bundle.js"></script><script src="vendors~main.afb35182.iframe.bundle.js"></script><script src="main.aaee24e3.iframe.bundle.js"></script></body></html>
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.0e8a2888.iframe.bundle.js"></script><script src="vendors~main.bfb520c7.iframe.bundle.js"></script><script src="main.e8029a3c.iframe.bundle.js"></script></body></html>