@sikka/hawa 0.0.134 → 0.0.136
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 +18 -13
- package/es/elements/HawaSnackbar.d.ts +2 -0
- package/es/elements/index.d.ts +1 -2
- package/es/hooks/useBreakpoint.d.ts +2 -0
- package/es/index.es.js +1 -1
- package/lib/elements/HawaSnackbar.d.ts +2 -0
- package/lib/elements/index.d.ts +1 -2
- package/lib/hooks/useBreakpoint.d.ts +2 -0
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/blocks/Pricing/ComparingPlans.tsx +4 -4
- package/src/elements/DragDropImages.tsx +3 -3
- package/src/elements/HawaAccordian.tsx +5 -3
- package/src/elements/HawaDrawer.tsx +48 -8
- package/src/elements/HawaModal.tsx +2 -2
- package/src/elements/HawaPricingCard.tsx +2 -22
- package/src/elements/HawaSnackbar.tsx +76 -41
- package/src/elements/index.ts +1 -2
- package/src/hooks/useBreakpoint.ts +20 -0
- package/src/hooks/useDiscloser.ts +5 -9
- package/src/layout/HawaAppLayout.tsx +35 -25
- package/src/layout/HawaSiteLayout.tsx +16 -21
- package/src/styles.css +18 -13
- package/storybook-static/{669.d0879212.iframe.bundle.js → 103.d48f1210.iframe.bundle.js} +2 -2
- package/storybook-static/{669.d0879212.iframe.bundle.js.LICENSE.txt → 103.d48f1210.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.237a650d.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/es/elements/HawaDrawerItem.d.ts +0 -8
- package/lib/elements/HawaDrawerItem.d.ts +0 -8
- package/src/elements/HawaDrawerItem.tsx +0 -33
- package/storybook-static/main.b801e3dc.iframe.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1673135040003,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"yarn","version":"1.22.19"},"storybookVersion":"6.5.15","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.15"},"@storybook/addons":{"version":"6.5.15"},"@storybook/builder-webpack5":{"version":"6.5.15"},"@storybook/manager-webpack5":{"version":"6.5.15"},"@storybook/react":{"version":"6.5.15"},"@storybook/storybook-deployer":{"version":"2.8.16"},"@storybook/theming":{"version":"6.5.15"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.15"},"@storybook/addon-docs":{"version":"6.5.15"},"@storybook/addon-essentials":{"version":"6.5.15"},"@storybook/addon-postcss":{"options":{"cssLoaderOptions":{"importLoaders":1},"postcssLoaderOptions":{}},"version":"2.0.0"}}}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
|
|
3
|
-
type DrawerItemTypes = {
|
|
4
|
-
action: any
|
|
5
|
-
icon?: any
|
|
6
|
-
text: any
|
|
7
|
-
}
|
|
8
|
-
const HawaDrawerItem: React.FunctionComponent<DrawerItemTypes> = (props) => {
|
|
9
|
-
let withIcon =
|
|
10
|
-
"flex items-center p-2 text-base font-normal text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
|
|
11
|
-
let withoutIcon =
|
|
12
|
-
"flex items-center p-2 text-base font-normal text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700"
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<li onClick={props.action}>
|
|
16
|
-
<div className={props.icon ? withIcon : withoutIcon}>
|
|
17
|
-
{/* <svg
|
|
18
|
-
aria-hidden="true"
|
|
19
|
-
className="w-6 h-6 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white"
|
|
20
|
-
fill="currentColor"
|
|
21
|
-
viewBox="0 0 20 20"
|
|
22
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
23
|
-
>
|
|
24
|
-
<path d="M2 10a8 8 0 018-8v8h8a8 8 0 11-16 0z"></path>
|
|
25
|
-
<path d="M12 2.252A8.014 8.014 0 0117.748 8H12V2.252z"></path>
|
|
26
|
-
</svg> */}
|
|
27
|
-
<span className="ml-3">{props.text}</span>
|
|
28
|
-
</div>
|
|
29
|
-
</li>
|
|
30
|
-
)
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export default HawaDrawerItem
|