@sikka/hawa 0.0.153 → 0.0.154
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/styles.css +7 -8
- package/es/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/layout/HawaAppLayout.tsx +3 -3
- package/src/styles.css +7 -8
- package/src/tailwind.css +7 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/{main.d0705e30.iframe.bundle.js → main.edab0a1a.iframe.bundle.js} +1 -1
- package/storybook-static/project.json +1 -1
- package/tailwind.config.js +1 -0
package/package.json
CHANGED
|
@@ -65,11 +65,11 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = (
|
|
|
65
65
|
//less than 600
|
|
66
66
|
//as nothing and expands as button is clicked
|
|
67
67
|
return (
|
|
68
|
-
<div className="fixed left-0 h-full
|
|
68
|
+
<div className="fixed left-0 h-full">
|
|
69
69
|
{props.topBar && (
|
|
70
70
|
<div
|
|
71
71
|
className={clsx(
|
|
72
|
-
"fixed top-0 z-40 flex h-14 flex-row items-center justify-between bg-
|
|
72
|
+
"fixed top-0 z-40 flex h-14 flex-row items-center justify-between bg-layoutPrimary-default",
|
|
73
73
|
// size > 600 ? "w-[calc(100%-3rem)] translate-x-[3rem]" : "w-full",
|
|
74
74
|
"w-full",
|
|
75
75
|
"p-2"
|
|
@@ -130,7 +130,7 @@ export const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes> = (
|
|
|
130
130
|
}
|
|
131
131
|
ref={ref}
|
|
132
132
|
className={clsx(
|
|
133
|
-
"fixed top-0 left-0 z-50 flex h-full flex-col justify-between overflow-x-clip bg-
|
|
133
|
+
"fixed top-0 left-0 z-50 flex h-full flex-col justify-between overflow-x-clip bg-layoutPrimary-default transition-all hover:overflow-auto",
|
|
134
134
|
size > 600 ? "w-14 hover:w-40" : "w-0",
|
|
135
135
|
openSideMenu ? "w-40" : "w-14"
|
|
136
136
|
)}
|
package/src/styles.css
CHANGED
|
@@ -374,6 +374,13 @@ video {
|
|
|
374
374
|
[hidden] {
|
|
375
375
|
display: none;
|
|
376
376
|
}
|
|
377
|
+
:root {
|
|
378
|
+
--layout-primary: #d2cdfa;
|
|
379
|
+
--layout-secondary: #d2cdfa;
|
|
380
|
+
--button-primary: #4c37eb;
|
|
381
|
+
--button-primary-darker: #cf1736;
|
|
382
|
+
--button-secondary: #d2cdfa;
|
|
383
|
+
}
|
|
377
384
|
input[type="number"]::-webkit-inner-spin-button,
|
|
378
385
|
input[type="number"]::-webkit-outer-spin-button {
|
|
379
386
|
-webkit-appearance: none;
|
|
@@ -1367,14 +1374,6 @@ video {
|
|
|
1367
1374
|
--tw-bg-opacity: 1;
|
|
1368
1375
|
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
|
|
1369
1376
|
}
|
|
1370
|
-
.bg-green-400 {
|
|
1371
|
-
--tw-bg-opacity: 1;
|
|
1372
|
-
background-color: rgb(74 222 128 / var(--tw-bg-opacity));
|
|
1373
|
-
}
|
|
1374
|
-
.bg-secondary-default {
|
|
1375
|
-
--tw-bg-opacity: 1;
|
|
1376
|
-
background-color: rgb(163 208 57 / var(--tw-bg-opacity));
|
|
1377
|
-
}
|
|
1378
1377
|
.bg-green-500 {
|
|
1379
1378
|
--tw-bg-opacity: 1;
|
|
1380
1379
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity));
|
package/src/tailwind.css
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
@import "tailwindcss/utilities";
|
|
4
4
|
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;700&display=swap");
|
|
5
5
|
@layer base {
|
|
6
|
+
:root {
|
|
7
|
+
--layout-primary: #d2cdfa;
|
|
8
|
+
--layout-secondary: #d2cdfa;
|
|
9
|
+
--button-primary: #4c37eb;
|
|
10
|
+
--button-primary-darker: #cf1736;
|
|
11
|
+
--button-secondary: #d2cdfa;
|
|
12
|
+
}
|
|
6
13
|
input[type="number"]::-webkit-inner-spin-button,
|
|
7
14
|
input[type="number"]::-webkit-outer-spin-button {
|
|
8
15
|
-webkit-appearance: none;
|
|
@@ -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.4a2964ac.iframe.bundle.js"></script><script src="870.c002064e.iframe.bundle.js"></script><script src="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.4a2964ac.iframe.bundle.js"></script><script src="870.c002064e.iframe.bundle.js"></script><script src="main.edab0a1a.iframe.bundle.js"></script></body></html>
|