@sikka/hawa 0.0.55 → 0.0.56
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 +1 -1
- package/src/elements/HawaLogoButton.js +62 -8
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.f7b63ca5.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/{vendors~main.8cb76571.iframe.bundle.js → vendors~main.2f76ed42.iframe.bundle.js} +3 -3
- package/storybook-static/{vendors~main.8cb76571.iframe.bundle.js.LICENSE.txt → vendors~main.2f76ed42.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/vendors~main.2f76ed42.iframe.bundle.js.map +1 -0
- package/storybook-static/main.4a18d932.iframe.bundle.js +0 -1
- package/storybook-static/vendors~main.8cb76571.iframe.bundle.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import GitHubIcon from "@mui/icons-material/GitHub";
|
|
3
|
-
import TwitterIcon from "@mui/icons-material/Twitter";
|
|
4
|
-
import WalletIcon from "@mui/icons-material/AccountBalanceWallet";
|
|
5
2
|
import PropTypes from "prop-types";
|
|
6
3
|
|
|
7
4
|
export const HawaLogoButton = (props) => {
|
|
@@ -18,10 +15,48 @@ export const HawaLogoButton = (props) => {
|
|
|
18
15
|
);
|
|
19
16
|
break;
|
|
20
17
|
case "github":
|
|
21
|
-
logoElement =
|
|
18
|
+
logoElement = (
|
|
19
|
+
<svg
|
|
20
|
+
width="32px"
|
|
21
|
+
height="32px"
|
|
22
|
+
viewBox="0 0 32 32"
|
|
23
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
24
|
+
className="w-7 h-7"
|
|
25
|
+
>
|
|
26
|
+
<path d="M16 0.396c-8.839 0-16 7.167-16 16 0 7.073 4.584 13.068 10.937 15.183 0.803 0.151 1.093-0.344 1.093-0.772 0-0.38-0.009-1.385-0.015-2.719-4.453 0.964-5.391-2.151-5.391-2.151-0.729-1.844-1.781-2.339-1.781-2.339-1.448-0.989 0.115-0.968 0.115-0.968 1.604 0.109 2.448 1.645 2.448 1.645 1.427 2.448 3.744 1.74 4.661 1.328 0.14-1.031 0.557-1.74 1.011-2.135-3.552-0.401-7.287-1.776-7.287-7.907 0-1.751 0.62-3.177 1.645-4.297-0.177-0.401-0.719-2.031 0.141-4.235 0 0 1.339-0.427 4.4 1.641 1.281-0.355 2.641-0.532 4-0.541 1.36 0.009 2.719 0.187 4 0.541 3.043-2.068 4.381-1.641 4.381-1.641 0.859 2.204 0.317 3.833 0.161 4.235 1.015 1.12 1.635 2.547 1.635 4.297 0 6.145-3.74 7.5-7.296 7.891 0.556 0.479 1.077 1.464 1.077 2.959 0 2.14-0.020 3.864-0.020 4.385 0 0.416 0.28 0.916 1.104 0.755 6.4-2.093 10.979-8.093 10.979-15.156 0-8.833-7.161-16-16-16z" />
|
|
27
|
+
</svg>
|
|
28
|
+
);
|
|
22
29
|
break;
|
|
23
30
|
case "twitter":
|
|
24
|
-
logoElement =
|
|
31
|
+
logoElement = (
|
|
32
|
+
<svg
|
|
33
|
+
version="1.1"
|
|
34
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
35
|
+
// xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
36
|
+
x="0px"
|
|
37
|
+
y="0px"
|
|
38
|
+
className="w-5 h-5"
|
|
39
|
+
viewBox="0 0 512.002 512.002"
|
|
40
|
+
// style="enable-background:new 0 0 512.002 512.002;"
|
|
41
|
+
// xml:space="preserve"
|
|
42
|
+
>
|
|
43
|
+
<path
|
|
44
|
+
// style="fill:#73A1FB;"
|
|
45
|
+
d="M500.398,94.784c-8.043,3.567-16.313,6.578-24.763,9.023c10.004-11.314,17.631-24.626,22.287-39.193
|
|
46
|
+
c1.044-3.265-0.038-6.839-2.722-8.975c-2.681-2.137-6.405-2.393-9.356-0.644c-17.945,10.643-37.305,18.292-57.605,22.764
|
|
47
|
+
c-20.449-19.981-48.222-31.353-76.934-31.353c-60.606,0-109.913,49.306-109.913,109.91c0,4.773,0.302,9.52,0.9,14.201
|
|
48
|
+
c-75.206-6.603-145.124-43.568-193.136-102.463c-1.711-2.099-4.347-3.231-7.046-3.014c-2.7,0.211-5.127,1.734-6.491,4.075
|
|
49
|
+
c-9.738,16.709-14.886,35.82-14.886,55.265c0,26.484,9.455,51.611,26.158,71.246c-5.079-1.759-10.007-3.957-14.711-6.568
|
|
50
|
+
c-2.525-1.406-5.607-1.384-8.116,0.054c-2.51,1.439-4.084,4.084-4.151,6.976c-0.012,0.487-0.012,0.974-0.012,1.468
|
|
51
|
+
c0,39.531,21.276,75.122,53.805,94.52c-2.795-0.279-5.587-0.684-8.362-1.214c-2.861-0.547-5.802,0.456-7.731,2.638
|
|
52
|
+
c-1.932,2.18-2.572,5.219-1.681,7.994c12.04,37.591,43.039,65.24,80.514,73.67c-31.082,19.468-66.626,29.665-103.939,29.665
|
|
53
|
+
c-7.786,0-15.616-0.457-23.279-1.364c-3.807-0.453-7.447,1.795-8.744,5.416c-1.297,3.622,0.078,7.66,3.316,9.736
|
|
54
|
+
c47.935,30.735,103.361,46.98,160.284,46.98c111.903,0,181.907-52.769,220.926-97.037c48.657-55.199,76.562-128.261,76.562-200.451
|
|
55
|
+
c0-3.016-0.046-6.061-0.139-9.097c19.197-14.463,35.724-31.967,49.173-52.085c2.043-3.055,1.822-7.094-0.545-9.906
|
|
56
|
+
C507.7,94.204,503.76,93.294,500.398,94.784z"
|
|
57
|
+
/>
|
|
58
|
+
</svg>
|
|
59
|
+
);
|
|
25
60
|
break;
|
|
26
61
|
case "mada":
|
|
27
62
|
logoElement = (
|
|
@@ -78,7 +113,26 @@ export const HawaLogoButton = (props) => {
|
|
|
78
113
|
);
|
|
79
114
|
break;
|
|
80
115
|
case "wallet":
|
|
81
|
-
logoElement =
|
|
116
|
+
logoElement = (
|
|
117
|
+
<svg
|
|
118
|
+
version="1.1"
|
|
119
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
120
|
+
viewBox="0 0 223 223"
|
|
121
|
+
className="h-6 w-6"
|
|
122
|
+
>
|
|
123
|
+
<g>
|
|
124
|
+
<path
|
|
125
|
+
d="M223,94.5c0-6.075-4.925-11-11-11h-63c-6.075,0-11,4.925-11,11v33c0,6.075,4.925,11,11,11h63c6.075,0,11-4.925,11-11V94.5z
|
|
126
|
+
M169.515,123.967c-7.082,0-12.823-5.741-12.823-12.823c0-7.082,5.741-12.823,12.823-12.823c7.082,0,12.823,5.741,12.823,12.823
|
|
127
|
+
C182.338,118.225,176.597,123.967,169.515,123.967z"
|
|
128
|
+
/>
|
|
129
|
+
<path
|
|
130
|
+
d="M123.509,68.5H205v-33c0-8.271-6.395-15-14.667-15h-175C7.062,20.5,0,27.229,0,35.5v152c0,8.271,7.062,15,15.333,15h175
|
|
131
|
+
c8.271,0,14.667-6.729,14.667-15v-34h-81.342L123.509,68.5z"
|
|
132
|
+
/>
|
|
133
|
+
</g>
|
|
134
|
+
</svg>
|
|
135
|
+
);
|
|
82
136
|
break;
|
|
83
137
|
|
|
84
138
|
default:
|
|
@@ -91,11 +145,11 @@ export const HawaLogoButton = (props) => {
|
|
|
91
145
|
// variant="withLogo"
|
|
92
146
|
className="bg-white rounded-xl my-2 h-11 flex max-w-sm w-full flex-row justify-center align-middle"
|
|
93
147
|
>
|
|
94
|
-
<div className="h-full
|
|
148
|
+
<div className="h-full flex flex-row justify-end items-center">
|
|
95
149
|
{logoElement}
|
|
96
150
|
</div>
|
|
97
151
|
<div style={{ width: 10 }} />
|
|
98
|
-
<div className="h-full
|
|
152
|
+
<div className="h-full flex flex-col justify-center items-start">
|
|
99
153
|
{props.buttonText}
|
|
100
154
|
</div>
|
|
101
155
|
</button>
|
|
@@ -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.e7e3ab5b.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.e7e3ab5b.iframe.bundle.js"></script><script src="vendors~main.2f76ed42.iframe.bundle.js"></script><script src="main.f7b63ca5.iframe.bundle.js"></script></body></html>
|