@sikka/hawa 0.26.29 → 0.26.30
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/Chip-H5BnuDdx.d.ts +36 -0
- package/dist/Chip-hr2gRBJ-.d.mts +36 -0
- package/dist/DropdownMenu-EUL-D3I3.d.mts +95 -0
- package/dist/DropdownMenu-SPisqCzV.d.ts +95 -0
- package/dist/Radio-K1WGpnGA.d.ts +75 -0
- package/dist/Radio-hsrLKNxE.d.mts +75 -0
- package/dist/Toast-VBd4UvlM.d.mts +26 -0
- package/dist/Toast-pOd4uGZz.d.ts +26 -0
- package/dist/accordion/index.d.mts +51 -0
- package/dist/accordion/index.d.ts +51 -0
- package/dist/accordion/index.js +272 -0
- package/dist/accordion/index.js.map +1 -0
- package/dist/accordion/index.mjs +228 -0
- package/dist/accordion/index.mjs.map +1 -0
- package/dist/alert/index.d.mts +29 -0
- package/dist/alert/index.d.ts +29 -0
- package/dist/alert/index.js +443 -0
- package/dist/alert/index.js.map +1 -0
- package/dist/alert/index.mjs +403 -0
- package/dist/alert/index.mjs.map +1 -0
- package/dist/appLayout/index.d.mts +126 -0
- package/dist/appLayout/index.d.ts +126 -0
- package/dist/appLayout/index.js +1326 -0
- package/dist/appLayout/index.js.map +1 -0
- package/dist/appLayout/index.mjs +1286 -0
- package/dist/appLayout/index.mjs.map +1 -0
- package/dist/appMenubar/index.d.mts +33 -0
- package/dist/appMenubar/index.d.ts +33 -0
- package/dist/appMenubar/index.js +282 -0
- package/dist/appMenubar/index.js.map +1 -0
- package/dist/appMenubar/index.mjs +225 -0
- package/dist/appMenubar/index.mjs.map +1 -0
- package/dist/appStores/index.d.mts +8 -0
- package/dist/appStores/index.d.ts +8 -0
- package/dist/appStores/index.js +76 -0
- package/dist/appStores/index.js.map +1 -0
- package/dist/appStores/index.mjs +39 -0
- package/dist/appStores/index.mjs.map +1 -0
- package/dist/appTabs/index.d.mts +18 -0
- package/dist/appTabs/index.d.ts +18 -0
- package/dist/appTabs/index.js +93 -0
- package/dist/appTabs/index.js.map +1 -0
- package/dist/appTabs/index.mjs +51 -0
- package/dist/appTabs/index.mjs.map +1 -0
- package/dist/appTopbar/index.d.mts +44 -0
- package/dist/appTopbar/index.d.ts +44 -0
- package/dist/appTopbar/index.js +484 -0
- package/dist/appTopbar/index.js.map +1 -0
- package/dist/appTopbar/index.mjs +442 -0
- package/dist/appTopbar/index.mjs.map +1 -0
- package/dist/avatar/index.d.mts +16 -0
- package/dist/avatar/index.d.ts +16 -0
- package/dist/avatar/index.js +162 -0
- package/dist/avatar/index.js.map +1 -0
- package/dist/avatar/index.mjs +122 -0
- package/dist/avatar/index.mjs.map +1 -0
- package/dist/backToTop/index.d.mts +15 -0
- package/dist/backToTop/index.d.ts +15 -0
- package/dist/backToTop/index.js +396 -0
- package/dist/backToTop/index.js.map +1 -0
- package/dist/backToTop/index.mjs +356 -0
- package/dist/backToTop/index.mjs.map +1 -0
- package/dist/badge/index.d.mts +13 -0
- package/dist/badge/index.d.ts +13 -0
- package/dist/badge/index.js +127 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/badge/index.mjs +84 -0
- package/dist/badge/index.mjs.map +1 -0
- package/dist/blocks/auth/index.d.mts +202 -0
- package/dist/blocks/auth/index.d.ts +202 -0
- package/dist/blocks/auth/index.js +4197 -0
- package/dist/blocks/auth/index.mjs +3389 -0
- package/dist/blocks/feedback/index.d.mts +74 -0
- package/dist/blocks/feedback/index.d.ts +74 -0
- package/dist/blocks/feedback/index.js +1544 -0
- package/dist/blocks/feedback/index.mjs +558 -0
- package/dist/blocks/index.d.mts +480 -0
- package/dist/blocks/index.d.ts +480 -0
- package/dist/blocks/index.js +6700 -0
- package/dist/blocks/index.mjs +2550 -0
- package/dist/blocks/misc/index.d.mts +90 -0
- package/dist/blocks/misc/index.d.ts +90 -0
- package/dist/blocks/misc/index.js +1186 -0
- package/dist/blocks/misc/index.mjs +387 -0
- package/dist/blocks/pricing/index.d.mts +93 -0
- package/dist/blocks/pricing/index.d.ts +93 -0
- package/dist/blocks/pricing/index.js +1528 -0
- package/dist/blocks/pricing/index.mjs +677 -0
- package/dist/breadcrumb/index.d.mts +14 -0
- package/dist/breadcrumb/index.d.ts +14 -0
- package/dist/breadcrumb/index.js +64 -0
- package/dist/breadcrumb/index.js.map +1 -0
- package/dist/breadcrumb/index.mjs +27 -0
- package/dist/breadcrumb/index.mjs.map +1 -0
- package/dist/button/index.d.mts +16 -0
- package/dist/button/index.d.ts +16 -0
- package/dist/button/index.js +302 -0
- package/dist/button/index.js.map +1 -0
- package/dist/button/index.mjs +261 -0
- package/dist/button/index.mjs.map +1 -0
- package/dist/card/index.d.mts +17 -0
- package/dist/card/index.d.ts +17 -0
- package/dist/card/index.js +140 -0
- package/dist/card/index.js.map +1 -0
- package/dist/card/index.mjs +93 -0
- package/dist/card/index.mjs.map +1 -0
- package/dist/carousel/index.d.mts +15 -0
- package/dist/carousel/index.d.ts +15 -0
- package/dist/carousel/index.js +194 -0
- package/dist/carousel/index.js.map +1 -0
- package/dist/carousel/index.mjs +152 -0
- package/dist/carousel/index.mjs.map +1 -0
- package/dist/checkbox/index.d.mts +20 -0
- package/dist/checkbox/index.d.ts +20 -0
- package/dist/checkbox/index.js +185 -0
- package/dist/checkbox/index.js.map +1 -0
- package/dist/checkbox/index.mjs +143 -0
- package/dist/checkbox/index.mjs.map +1 -0
- package/dist/chip/index.d.mts +36 -0
- package/dist/chip/index.d.ts +36 -0
- package/dist/chip/index.js +130 -0
- package/dist/chip/index.js.map +1 -0
- package/dist/chip/index.mjs +88 -0
- package/dist/chip/index.mjs.map +1 -0
- package/dist/chunk-3ODWQVIA.mjs +12 -0
- package/dist/chunk-3ODWQVIA.mjs.map +1 -0
- package/dist/chunk-4EGKGSGY.mjs +129 -0
- package/dist/chunk-53OZVR57.mjs +108 -0
- package/dist/chunk-53OZVR57.mjs.map +1 -0
- package/dist/chunk-5YXZXYLH.mjs +67 -0
- package/dist/chunk-CBRGWUZG.mjs +11 -0
- package/dist/chunk-CBRGWUZG.mjs.map +1 -0
- package/dist/chunk-D22AALLE.mjs +22 -0
- package/dist/chunk-D36MPDGE.mjs +476 -0
- package/dist/chunk-F3DQJHTG.mjs +3113 -0
- package/dist/chunk-FQ6WVEHW.mjs +151 -0
- package/dist/chunk-GVJYACGA.mjs +189 -0
- package/dist/chunk-HYXZRCZW.mjs +265 -0
- package/dist/chunk-HYXZRCZW.mjs.map +1 -0
- package/dist/chunk-JNUGOUYJ.mjs +154 -0
- package/dist/chunk-JX5YLRCU.mjs +443 -0
- package/dist/chunk-JX5YLRCU.mjs.map +1 -0
- package/dist/chunk-MQUAGP7K.mjs +1098 -0
- package/dist/chunk-NMS5LCSQ.mjs +195 -0
- package/dist/chunk-NV3KR5Y7.mjs +82 -0
- package/dist/chunk-NV3KR5Y7.mjs.map +1 -0
- package/dist/chunk-OQ7MNEYW.mjs +151 -0
- package/dist/chunk-OQ7MNEYW.mjs.map +1 -0
- package/dist/chunk-OY66MBXP.mjs +163 -0
- package/dist/chunk-R4HAAT6R.mjs +131 -0
- package/dist/chunk-WUHNPHD5.mjs +0 -0
- package/dist/chunk-ZFXKCRJC.mjs +11 -0
- package/dist/chunk-ZS3FB3PO.mjs +12 -0
- package/dist/codeBlock/index.d.mts +24 -0
- package/dist/codeBlock/index.d.ts +24 -0
- package/dist/codeBlock/index.js +518 -0
- package/dist/codeBlock/index.js.map +1 -0
- package/dist/codeBlock/index.mjs +433 -0
- package/dist/codeBlock/index.mjs.map +1 -0
- package/dist/collapsible/index.d.mts +8 -0
- package/dist/collapsible/index.d.ts +8 -0
- package/dist/collapsible/index.js +50 -0
- package/dist/collapsible/index.js.map +1 -0
- package/dist/collapsible/index.mjs +13 -0
- package/dist/collapsible/index.mjs.map +1 -0
- package/dist/colorPicker/index.d.mts +34 -0
- package/dist/colorPicker/index.d.ts +34 -0
- package/dist/colorPicker/index.js +276 -0
- package/dist/colorPicker/index.js.map +1 -0
- package/dist/colorPicker/index.mjs +171 -0
- package/dist/colorPicker/index.mjs.map +1 -0
- package/dist/combobox/index.d.mts +41 -0
- package/dist/combobox/index.d.ts +41 -0
- package/dist/combobox/index.js +749 -0
- package/dist/combobox/index.js.map +1 -0
- package/dist/combobox/index.mjs +295 -0
- package/dist/combobox/index.mjs.map +1 -0
- package/dist/command/index.d.mts +48 -0
- package/dist/command/index.d.ts +48 -0
- package/dist/command/index.js +486 -0
- package/dist/command/index.js.map +1 -0
- package/dist/command/index.mjs +23 -0
- package/dist/command/index.mjs.map +1 -0
- package/dist/commonTypes-2IGtJ5cq.d.mts +3 -0
- package/dist/commonTypes-2IGtJ5cq.d.ts +3 -0
- package/dist/commonTypes-2k6FnHw5.d.mts +4 -0
- package/dist/commonTypes-2k6FnHw5.d.ts +4 -0
- package/dist/commonTypes-3k5cNB1s.d.mts +4 -0
- package/dist/commonTypes-3k5cNB1s.d.ts +4 -0
- package/dist/commonTypes-CKtkuNFH.d.mts +11 -0
- package/dist/commonTypes-CKtkuNFH.d.ts +11 -0
- package/dist/commonTypes-GhKAraJw.d.mts +4 -0
- package/dist/commonTypes-GhKAraJw.d.ts +4 -0
- package/dist/commonTypes-MxCJyrHv.d.mts +8 -0
- package/dist/commonTypes-MxCJyrHv.d.ts +8 -0
- package/dist/commonTypes-PBumfOBg.d.mts +3 -0
- package/dist/commonTypes-PBumfOBg.d.ts +3 -0
- package/dist/commonTypes-WPhcN3Vr.d.mts +5 -0
- package/dist/commonTypes-WPhcN3Vr.d.ts +5 -0
- package/dist/commonTypes-_11epZYh.d.mts +4 -0
- package/dist/commonTypes-_11epZYh.d.ts +4 -0
- package/dist/commonTypes-ko_NGEoT.d.mts +3 -0
- package/dist/commonTypes-ko_NGEoT.d.ts +3 -0
- package/dist/copyrights/index.d.mts +17 -0
- package/dist/copyrights/index.d.ts +17 -0
- package/dist/copyrights/index.js +46 -0
- package/dist/copyrights/index.js.map +1 -0
- package/dist/copyrights/index.mjs +9 -0
- package/dist/copyrights/index.mjs.map +1 -0
- package/dist/count/index.d.mts +11 -0
- package/dist/count/index.d.ts +11 -0
- package/dist/count/index.js +46 -0
- package/dist/count/index.js.map +1 -0
- package/dist/count/index.mjs +9 -0
- package/dist/count/index.mjs.map +1 -0
- package/dist/dataTable/index.d.mts +41 -0
- package/dist/dataTable/index.d.ts +41 -0
- package/dist/dataTable/index.js +1305 -0
- package/dist/dataTable/index.js.map +1 -0
- package/dist/dataTable/index.mjs +1273 -0
- package/dist/dataTable/index.mjs.map +1 -0
- package/dist/destroyableCard/index.d.mts +12 -0
- package/dist/destroyableCard/index.d.ts +12 -0
- package/dist/destroyableCard/index.js +204 -0
- package/dist/destroyableCard/index.js.map +1 -0
- package/dist/destroyableCard/index.mjs +164 -0
- package/dist/destroyableCard/index.mjs.map +1 -0
- package/dist/dialog/index.d.mts +57 -0
- package/dist/dialog/index.d.ts +57 -0
- package/dist/dialog/index.js +369 -0
- package/dist/dialog/index.js.map +1 -0
- package/dist/dialog/index.mjs +315 -0
- package/dist/dialog/index.mjs.map +1 -0
- package/dist/docsLayout/index.d.mts +37 -0
- package/dist/docsLayout/index.d.ts +37 -0
- package/dist/docsLayout/index.js +928 -0
- package/dist/docsLayout/index.js.map +1 -0
- package/dist/docsLayout/index.mjs +888 -0
- package/dist/docsLayout/index.mjs.map +1 -0
- package/dist/docsSidebar/index.d.mts +11 -0
- package/dist/docsSidebar/index.d.ts +11 -0
- package/dist/docsSidebar/index.js +112 -0
- package/dist/docsSidebar/index.js.map +1 -0
- package/dist/docsSidebar/index.mjs +70 -0
- package/dist/docsSidebar/index.mjs.map +1 -0
- package/dist/dropdownMenu/index.d.mts +96 -0
- package/dist/dropdownMenu/index.d.ts +96 -0
- package/dist/dropdownMenu/index.js +421 -0
- package/dist/dropdownMenu/index.js.map +1 -0
- package/dist/dropdownMenu/index.mjs +363 -0
- package/dist/dropdownMenu/index.mjs.map +1 -0
- package/dist/elements/index.d.mts +788 -0
- package/dist/elements/index.d.ts +788 -0
- package/dist/elements/index.js +7835 -0
- package/dist/elements/index.mjs +3418 -0
- package/dist/fileDropzone/index.d.mts +37 -0
- package/dist/fileDropzone/index.d.ts +37 -0
- package/dist/fileDropzone/index.js +665 -0
- package/dist/fileDropzone/index.js.map +1 -0
- package/dist/fileDropzone/index.mjs +625 -0
- package/dist/fileDropzone/index.mjs.map +1 -0
- package/dist/fileUploader/index.d.mts +5 -0
- package/dist/fileUploader/index.d.ts +5 -0
- package/dist/fileUploader/index.js +62 -0
- package/dist/fileUploader/index.js.map +1 -0
- package/dist/fileUploader/index.mjs +25 -0
- package/dist/fileUploader/index.mjs.map +1 -0
- package/dist/glow/index.d.mts +16 -0
- package/dist/glow/index.d.ts +16 -0
- package/dist/glow/index.js +149 -0
- package/dist/glow/index.js.map +1 -0
- package/dist/glow/index.mjs +111 -0
- package/dist/glow/index.mjs.map +1 -0
- package/dist/hooks/index.d.mts +108 -0
- package/dist/hooks/index.d.ts +108 -0
- package/dist/hooks/index.js +459 -0
- package/dist/hooks/index.mjs +255 -0
- package/dist/index.d.mts +1932 -0
- package/dist/index.d.ts +1932 -0
- package/dist/index.js +12126 -0
- package/dist/index.mjs +11911 -0
- package/dist/input/index.d.mts +43 -0
- package/dist/input/index.d.ts +43 -0
- package/dist/input/index.js +293 -0
- package/dist/input/index.js.map +1 -0
- package/dist/input/index.mjs +158 -0
- package/dist/input/index.mjs.map +1 -0
- package/dist/interfaceSettings/index.d.mts +18 -0
- package/dist/interfaceSettings/index.d.ts +18 -0
- package/dist/interfaceSettings/index.js +419 -0
- package/dist/interfaceSettings/index.js.map +1 -0
- package/dist/interfaceSettings/index.mjs +282 -0
- package/dist/interfaceSettings/index.mjs.map +1 -0
- package/dist/label/index.d.mts +13 -0
- package/dist/label/index.d.ts +13 -0
- package/dist/label/index.js +143 -0
- package/dist/label/index.js.map +1 -0
- package/dist/label/index.mjs +103 -0
- package/dist/label/index.mjs.map +1 -0
- package/dist/layout/index.d.mts +256 -0
- package/dist/layout/index.d.ts +256 -0
- package/dist/layout/index.js +2627 -0
- package/dist/layout/index.mjs +1393 -0
- package/dist/loading/index.d.mts +15 -0
- package/dist/loading/index.d.ts +15 -0
- package/dist/loading/index.js +226 -0
- package/dist/loading/index.js.map +1 -0
- package/dist/loading/index.mjs +184 -0
- package/dist/loading/index.mjs.map +1 -0
- package/dist/logos/index.d.mts +27 -0
- package/dist/logos/index.d.ts +27 -0
- package/dist/logos/index.js +245 -0
- package/dist/logos/index.js.map +1 -0
- package/dist/logos/index.mjs +208 -0
- package/dist/logos/index.mjs.map +1 -0
- package/dist/navbar/index.d.mts +17 -0
- package/dist/navbar/index.d.ts +17 -0
- package/dist/navbar/index.js +166 -0
- package/dist/navbar/index.js.map +1 -0
- package/dist/navbar/index.mjs +126 -0
- package/dist/navbar/index.mjs.map +1 -0
- package/dist/navigationMenu/index.d.mts +39 -0
- package/dist/navigationMenu/index.d.ts +39 -0
- package/dist/navigationMenu/index.js +222 -0
- package/dist/navigationMenu/index.js.map +1 -0
- package/dist/navigationMenu/index.mjs +170 -0
- package/dist/navigationMenu/index.mjs.map +1 -0
- package/dist/pagination/index.d.mts +11 -0
- package/dist/pagination/index.d.ts +11 -0
- package/dist/pagination/index.js +161 -0
- package/dist/pagination/index.js.map +1 -0
- package/dist/pagination/index.mjs +119 -0
- package/dist/pagination/index.mjs.map +1 -0
- package/dist/passwordInput/index.d.mts +13 -0
- package/dist/passwordInput/index.d.ts +13 -0
- package/dist/passwordInput/index.js +577 -0
- package/dist/passwordInput/index.js.map +1 -0
- package/dist/passwordInput/index.mjs +534 -0
- package/dist/passwordInput/index.mjs.map +1 -0
- package/dist/phoneInput/index.d.mts +23 -0
- package/dist/phoneInput/index.d.ts +23 -0
- package/dist/phoneInput/index.js +2081 -0
- package/dist/phoneInput/index.js.map +1 -0
- package/dist/phoneInput/index.mjs +2041 -0
- package/dist/phoneInput/index.mjs.map +1 -0
- package/dist/pinInput/index.d.mts +20 -0
- package/dist/pinInput/index.d.ts +20 -0
- package/dist/pinInput/index.js +132 -0
- package/dist/pinInput/index.js.map +1 -0
- package/dist/pinInput/index.mjs +90 -0
- package/dist/pinInput/index.mjs.map +1 -0
- package/dist/popover/index.d.mts +23 -0
- package/dist/popover/index.d.ts +23 -0
- package/dist/popover/index.js +113 -0
- package/dist/popover/index.js.map +1 -0
- package/dist/popover/index.mjs +69 -0
- package/dist/popover/index.mjs.map +1 -0
- package/dist/progress/index.d.mts +6 -0
- package/dist/progress/index.d.ts +6 -0
- package/dist/progress/index.js +72 -0
- package/dist/progress/index.js.map +1 -0
- package/dist/progress/index.mjs +30 -0
- package/dist/progress/index.mjs.map +1 -0
- package/dist/progressCircle/index.d.mts +16 -0
- package/dist/progressCircle/index.d.ts +16 -0
- package/dist/progressCircle/index.js +160 -0
- package/dist/progressCircle/index.js.map +1 -0
- package/dist/progressCircle/index.mjs +118 -0
- package/dist/progressCircle/index.mjs.map +1 -0
- package/dist/radio/index.d.mts +39 -0
- package/dist/radio/index.d.ts +39 -0
- package/dist/radio/index.js +330 -0
- package/dist/radio/index.js.map +1 -0
- package/dist/radio/index.mjs +290 -0
- package/dist/radio/index.mjs.map +1 -0
- package/dist/scrollArea/index.d.mts +10 -0
- package/dist/scrollArea/index.d.ts +10 -0
- package/dist/scrollArea/index.js +91 -0
- package/dist/scrollArea/index.js.map +1 -0
- package/dist/scrollArea/index.mjs +48 -0
- package/dist/scrollArea/index.mjs.map +1 -0
- package/dist/scrollIndicator/index.d.mts +9 -0
- package/dist/scrollIndicator/index.d.ts +9 -0
- package/dist/scrollIndicator/index.js +80 -0
- package/dist/scrollIndicator/index.js.map +1 -0
- package/dist/scrollIndicator/index.mjs +43 -0
- package/dist/scrollIndicator/index.mjs.map +1 -0
- package/dist/select/index.d.mts +50 -0
- package/dist/select/index.d.ts +50 -0
- package/dist/select/index.js +322 -0
- package/dist/select/index.js.map +1 -0
- package/dist/select/index.mjs +282 -0
- package/dist/select/index.mjs.map +1 -0
- package/dist/separator/index.d.mts +10 -0
- package/dist/separator/index.d.ts +10 -0
- package/dist/separator/index.js +67 -0
- package/dist/separator/index.js.map +1 -0
- package/dist/separator/index.mjs +25 -0
- package/dist/separator/index.mjs.map +1 -0
- package/dist/sheet/index.d.mts +30 -0
- package/dist/sheet/index.d.ts +30 -0
- package/dist/sheet/index.js +202 -0
- package/dist/sheet/index.js.map +1 -0
- package/dist/sheet/index.mjs +151 -0
- package/dist/sheet/index.mjs.map +1 -0
- package/dist/sidebar/index.d.mts +48 -0
- package/dist/sidebar/index.d.ts +48 -0
- package/dist/sidebar/index.js +342 -0
- package/dist/sidebar/index.js.map +1 -0
- package/dist/sidebar/index.mjs +299 -0
- package/dist/sidebar/index.mjs.map +1 -0
- package/dist/signature/index.d.mts +27 -0
- package/dist/signature/index.d.ts +27 -0
- package/dist/signature/index.js +242 -0
- package/dist/signature/index.js.map +1 -0
- package/dist/signature/index.mjs +200 -0
- package/dist/signature/index.mjs.map +1 -0
- package/dist/simpleTable/index.d.mts +30 -0
- package/dist/simpleTable/index.d.ts +30 -0
- package/dist/simpleTable/index.js +250 -0
- package/dist/simpleTable/index.js.map +1 -0
- package/dist/simpleTable/index.mjs +214 -0
- package/dist/simpleTable/index.mjs.map +1 -0
- package/dist/skeleton/index.d.mts +10 -0
- package/dist/skeleton/index.d.ts +10 -0
- package/dist/skeleton/index.js +76 -0
- package/dist/skeleton/index.js.map +1 -0
- package/dist/skeleton/index.mjs +34 -0
- package/dist/skeleton/index.mjs.map +1 -0
- package/dist/slider/index.d.mts +6 -0
- package/dist/slider/index.d.ts +6 -0
- package/dist/slider/index.js +67 -0
- package/dist/slider/index.js.map +1 -0
- package/dist/slider/index.mjs +25 -0
- package/dist/slider/index.mjs.map +1 -0
- package/dist/sortButton/index.d.mts +10 -0
- package/dist/sortButton/index.d.ts +10 -0
- package/dist/sortButton/index.js +337 -0
- package/dist/sortButton/index.js.map +1 -0
- package/dist/sortButton/index.mjs +43 -0
- package/dist/sortButton/index.mjs.map +1 -0
- package/dist/splitButton/index.d.mts +52 -0
- package/dist/splitButton/index.d.ts +52 -0
- package/dist/splitButton/index.js +693 -0
- package/dist/splitButton/index.js.map +1 -0
- package/dist/splitButton/index.mjs +401 -0
- package/dist/splitButton/index.mjs.map +1 -0
- package/dist/stats/index.d.mts +19 -0
- package/dist/stats/index.d.ts +19 -0
- package/dist/stats/index.js +192 -0
- package/dist/stats/index.js.map +1 -0
- package/dist/stats/index.mjs +155 -0
- package/dist/stats/index.mjs.map +1 -0
- package/dist/stopPropagationWrapper/index.d.mts +5 -0
- package/dist/stopPropagationWrapper/index.d.ts +5 -0
- package/dist/stopPropagationWrapper/index.js +49 -0
- package/dist/stopPropagationWrapper/index.js.map +1 -0
- package/dist/stopPropagationWrapper/index.mjs +12 -0
- package/dist/stopPropagationWrapper/index.mjs.map +1 -0
- package/dist/switch/index.d.mts +12 -0
- package/dist/switch/index.d.ts +12 -0
- package/dist/switch/index.js +125 -0
- package/dist/switch/index.js.map +1 -0
- package/dist/switch/index.mjs +83 -0
- package/dist/switch/index.mjs.map +1 -0
- package/dist/table/index.d.mts +21 -0
- package/dist/table/index.d.ts +21 -0
- package/dist/table/index.js +173 -0
- package/dist/table/index.js.map +1 -0
- package/dist/table/index.mjs +124 -0
- package/dist/table/index.mjs.map +1 -0
- package/dist/tabs/index.d.mts +33 -0
- package/dist/tabs/index.d.ts +33 -0
- package/dist/tabs/index.js +201 -0
- package/dist/tabs/index.js.map +1 -0
- package/dist/tabs/index.mjs +158 -0
- package/dist/tabs/index.mjs.map +1 -0
- package/dist/textTypes-559CaoOV.d.mts +88 -0
- package/dist/textTypes-559CaoOV.d.ts +88 -0
- package/dist/textarea/index.d.mts +27 -0
- package/dist/textarea/index.d.ts +27 -0
- package/dist/textarea/index.js +230 -0
- package/dist/textarea/index.js.map +1 -0
- package/dist/textarea/index.mjs +190 -0
- package/dist/textarea/index.mjs.map +1 -0
- package/dist/toast/index.d.mts +26 -0
- package/dist/toast/index.d.ts +26 -0
- package/dist/toast/index.js +198 -0
- package/dist/toast/index.js.map +1 -0
- package/dist/toast/index.mjs +20 -0
- package/dist/toast/index.mjs.map +1 -0
- package/dist/toaster/index.d.mts +9 -0
- package/dist/toaster/index.d.ts +9 -0
- package/dist/toaster/index.js +354 -0
- package/dist/toaster/index.js.map +1 -0
- package/dist/toaster/index.mjs +185 -0
- package/dist/toaster/index.mjs.map +1 -0
- package/dist/types/index.d.mts +115 -0
- package/dist/types/index.d.ts +115 -0
- package/dist/types/index.js +18 -0
- package/dist/types/index.mjs +0 -0
- package/package.json +1 -1
@@ -0,0 +1,387 @@
|
|
1
|
+
import {
|
2
|
+
Input
|
3
|
+
} from "../../chunk-R4HAAT6R.mjs";
|
4
|
+
import {
|
5
|
+
Chip,
|
6
|
+
ScrollArea
|
7
|
+
} from "../../chunk-4EGKGSGY.mjs";
|
8
|
+
import {
|
9
|
+
Textarea
|
10
|
+
} from "../../chunk-5YXZXYLH.mjs";
|
11
|
+
import "../../chunk-WUHNPHD5.mjs";
|
12
|
+
import {
|
13
|
+
Button,
|
14
|
+
Card,
|
15
|
+
CardContent,
|
16
|
+
CardDescription,
|
17
|
+
CardFooter,
|
18
|
+
CardHeader,
|
19
|
+
CardTitle,
|
20
|
+
cn
|
21
|
+
} from "../../chunk-D36MPDGE.mjs";
|
22
|
+
|
23
|
+
// blocks/misc/LegalTexts.tsx
|
24
|
+
import React2 from "react";
|
25
|
+
|
26
|
+
// elements/tabs/Tabs.tsx
|
27
|
+
import * as React from "react";
|
28
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
29
|
+
var TabsContext = React.createContext({ orientation: "vertical" });
|
30
|
+
var Tabs = React.forwardRef(
|
31
|
+
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React.createElement(
|
32
|
+
TabsPrimitive.Root,
|
33
|
+
{
|
34
|
+
ref,
|
35
|
+
className: cn(
|
36
|
+
"hawa-flex hawa-gap-2",
|
37
|
+
orientation === "vertical" ? "hawa-flex-row" : "hawa-flex-col",
|
38
|
+
className
|
39
|
+
),
|
40
|
+
...props
|
41
|
+
},
|
42
|
+
/* @__PURE__ */ React.createElement(TabsContext.Provider, { value: { orientation } }, props.children)
|
43
|
+
)
|
44
|
+
);
|
45
|
+
Tabs.displayName = TabsPrimitive.Root.displayName;
|
46
|
+
var TabsList = React.forwardRef(({ className, ...props }, ref) => {
|
47
|
+
const { orientation } = React.useContext(TabsContext);
|
48
|
+
return /* @__PURE__ */ React.createElement(
|
49
|
+
TabsPrimitive.List,
|
50
|
+
{
|
51
|
+
ref,
|
52
|
+
className: cn(
|
53
|
+
"hawa-flex hawa-w-fit hawa-flex-wrap hawa-items-center hawa-justify-start hawa-gap-1 hawa-rounded hawa-border hawa-bg-muted hawa-p-1 hawa-text-muted-foreground dark:hawa-border-primary/10",
|
54
|
+
orientation === "vertical" ? "hawa-flex-col" : "hawa-flex-row",
|
55
|
+
className
|
56
|
+
),
|
57
|
+
...props
|
58
|
+
}
|
59
|
+
);
|
60
|
+
});
|
61
|
+
TabsList.displayName = TabsPrimitive.List.displayName;
|
62
|
+
var TabsTrigger = React.forwardRef(({ className, chipProps, ...props }, ref) => {
|
63
|
+
return /* @__PURE__ */ React.createElement(
|
64
|
+
TabsPrimitive.Trigger,
|
65
|
+
{
|
66
|
+
ref,
|
67
|
+
className: cn(
|
68
|
+
"hawa-inline-flex hawa-w-full hawa-flex-1 hawa-select-none hawa-items-center hawa-justify-center hawa-gap-2 hawa-whitespace-nowrap hawa-rounded hawa-border hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-all focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[state=active]:hawa-bg-primary data-[state=active]:hawa-text-primary-foreground data-[state=active]:hawa-shadow-sm dark:hawa-border-primary/10",
|
69
|
+
className
|
70
|
+
),
|
71
|
+
...props
|
72
|
+
},
|
73
|
+
props.children,
|
74
|
+
chipProps && /* @__PURE__ */ React.createElement(Chip, { ...chipProps })
|
75
|
+
);
|
76
|
+
});
|
77
|
+
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
78
|
+
var TabsContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
79
|
+
TabsPrimitive.Content,
|
80
|
+
{
|
81
|
+
ref,
|
82
|
+
className: cn(
|
83
|
+
"hawa-ring-offset-hawa-background hawa-w-full focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2",
|
84
|
+
className
|
85
|
+
),
|
86
|
+
...props
|
87
|
+
}
|
88
|
+
));
|
89
|
+
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
90
|
+
|
91
|
+
// blocks/misc/LegalTexts.tsx
|
92
|
+
var LegalTexts = ({ tabs, ...props }) => {
|
93
|
+
return /* @__PURE__ */ React2.createElement(
|
94
|
+
Tabs,
|
95
|
+
{
|
96
|
+
value: props.activeTab,
|
97
|
+
onValueChange: props.handleTabChange,
|
98
|
+
defaultValue: props.defaultTab || tabs[0].value,
|
99
|
+
dir: props.direction
|
100
|
+
},
|
101
|
+
/* @__PURE__ */ React2.createElement(TabsList, { className: "hawa-w-full" }, tabs.map((tab, index) => /* @__PURE__ */ React2.createElement(TabsTrigger, { key: index, value: tab.value }, tab.title))),
|
102
|
+
tabs.map((tab, index) => /* @__PURE__ */ React2.createElement(TabsContent, { key: index, value: tab.value }, /* @__PURE__ */ React2.createElement(
|
103
|
+
ScrollArea,
|
104
|
+
{
|
105
|
+
className: cn(
|
106
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
107
|
+
props.scrollAreaClassName
|
108
|
+
)
|
109
|
+
},
|
110
|
+
tab.content
|
111
|
+
)))
|
112
|
+
);
|
113
|
+
};
|
114
|
+
|
115
|
+
// blocks/misc/EmptyState.tsx
|
116
|
+
import React3 from "react";
|
117
|
+
var EmptyState = ({ texts, onActionClick }) => {
|
118
|
+
return /* @__PURE__ */ React3.createElement(Card, null, /* @__PURE__ */ React3.createElement(CardContent, { headless: true }, /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center " }, /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React3.createElement(
|
119
|
+
"svg",
|
120
|
+
{
|
121
|
+
stroke: "currentColor",
|
122
|
+
fill: "currentColor",
|
123
|
+
strokeWidth: "0",
|
124
|
+
viewBox: "0 0 512 512",
|
125
|
+
height: "0.35em",
|
126
|
+
width: "0.35em"
|
127
|
+
},
|
128
|
+
/* @__PURE__ */ React3.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
|
129
|
+
)), /* @__PURE__ */ React3.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.youreCaughtUp) || "You're all caught up"))), /* @__PURE__ */ React3.createElement(CardFooter, null, /* @__PURE__ */ React3.createElement(Button, { className: "hawa-w-full", onClick: () => onActionClick() }, (texts == null ? void 0 : texts.actionText) || "Go Home")));
|
130
|
+
};
|
131
|
+
|
132
|
+
// blocks/misc/Testimonial.tsx
|
133
|
+
import React4 from "react";
|
134
|
+
var Testimonial = () => {
|
135
|
+
return /* @__PURE__ */ React4.createElement(Card, null, /* @__PURE__ */ React4.createElement(CardContent, { headless: true }, /* @__PURE__ */ React4.createElement("div", null, /* @__PURE__ */ React4.createElement("p", { className: "mb-4 max-w-sm" }, "The team at Sikka Software is simply amazing. The tech is easy to follow, easy to work with, and infinitely flexible. The solution opportunities created by Tines are endless.")), /* @__PURE__ */ React4.createElement("div", { className: "flex flex-row gap-4" }, /* @__PURE__ */ React4.createElement("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none" }, /* @__PURE__ */ React4.createElement("rect", { width: "48", height: "48", rx: "24", fill: "#45BE8B" }), /* @__PURE__ */ React4.createElement(
|
136
|
+
"path",
|
137
|
+
{
|
138
|
+
d: "M14.1412 22.4427L17.5803 16.5199C17.7671 16.1981 18.1112 16 18.4834 16H20.8581C21.653 16 22.1565 16.8528 21.7725 17.5488L19.3042 22.0225C19.2202 22.1747 19.1762 22.3458 19.1762 22.5196C19.1762 23.0879 19.6369 23.5486 20.2052 23.5486H21.5827C22.1594 23.5486 22.627 24.0162 22.627 24.5929V31.347C22.627 31.9237 22.1594 32.3913 21.5827 32.3913H15.0443C14.4676 32.3913 14 31.9237 14 31.347V22.9671C14 22.7829 14.0487 22.602 14.1412 22.4427Z",
|
139
|
+
fill: "#FFFFFF"
|
140
|
+
}
|
141
|
+
), /* @__PURE__ */ React4.createElement(
|
142
|
+
"path",
|
143
|
+
{
|
144
|
+
d: "M25.356 22.4427L28.7951 16.5199C28.982 16.1981 29.326 16 29.6982 16H32.0729C32.8679 16 33.3713 16.8528 32.9873 17.5488L30.5191 22.0225C30.4351 22.1747 30.391 22.3458 30.391 22.5196C30.391 23.0879 30.8518 23.5486 31.4201 23.5486H32.7975C33.3743 23.5486 33.8418 24.0162 33.8418 24.5929V31.347C33.8418 31.9237 33.3743 32.3913 32.7975 32.3913H26.2592C25.6824 32.3913 25.2148 31.9237 25.2148 31.347V22.9671C25.2148 22.7829 25.2636 22.602 25.356 22.4427Z",
|
145
|
+
fill: "#FFFFFF"
|
146
|
+
}
|
147
|
+
)), /* @__PURE__ */ React4.createElement("span", { className: "border border-l " }), " ", /* @__PURE__ */ React4.createElement("div", null, /* @__PURE__ */ React4.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React4.createElement("div", null, " Chief Information Security Officer")))));
|
148
|
+
};
|
149
|
+
|
150
|
+
// blocks/misc/LeadGenerator.tsx
|
151
|
+
import React5 from "react";
|
152
|
+
import { useForm, Controller } from "react-hook-form";
|
153
|
+
var LeadGenerator = ({ texts, submitHandler }) => {
|
154
|
+
var _a;
|
155
|
+
const { handleSubmit, control, formState } = useForm();
|
156
|
+
const onSubmit = (data) => {
|
157
|
+
if (submitHandler) {
|
158
|
+
submitHandler(data.email);
|
159
|
+
} else {
|
160
|
+
console.log("handleNewsletterSub props was not provided");
|
161
|
+
}
|
162
|
+
};
|
163
|
+
return /* @__PURE__ */ React5.createElement(Card, null, /* @__PURE__ */ React5.createElement(CardHeader, null, /* @__PURE__ */ React5.createElement(CardTitle, null, texts == null ? void 0 : texts.title), /* @__PURE__ */ React5.createElement(CardDescription, null, texts == null ? void 0 : texts.subtitle)), /* @__PURE__ */ React5.createElement(CardContent, null, /* @__PURE__ */ React5.createElement(
|
164
|
+
"form",
|
165
|
+
{
|
166
|
+
noValidate: true,
|
167
|
+
className: "hawa-flex hawa-flex-row hawa-gap-2",
|
168
|
+
onSubmit: handleSubmit(onSubmit)
|
169
|
+
},
|
170
|
+
/* @__PURE__ */ React5.createElement(
|
171
|
+
Controller,
|
172
|
+
{
|
173
|
+
name: "email",
|
174
|
+
control,
|
175
|
+
rules: {
|
176
|
+
required: true,
|
177
|
+
pattern: {
|
178
|
+
value: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,
|
179
|
+
message: (texts == null ? void 0 : texts.invalidEmail) || "Invalid email address"
|
180
|
+
}
|
181
|
+
},
|
182
|
+
defaultValue: "",
|
183
|
+
render: ({ field }) => /* @__PURE__ */ React5.createElement(Input, { ...field, type: "email", placeholder: "example@sikka.io" })
|
184
|
+
}
|
185
|
+
),
|
186
|
+
/* @__PURE__ */ React5.createElement(Button, { type: "submit", disabled: !formState.isValid }, (_a = texts == null ? void 0 : texts.submit) != null ? _a : "Submit")
|
187
|
+
)));
|
188
|
+
};
|
189
|
+
|
190
|
+
// blocks/misc/Announcement.tsx
|
191
|
+
import React6 from "react";
|
192
|
+
var Announcement = ({
|
193
|
+
onActionClick,
|
194
|
+
...props
|
195
|
+
}) => {
|
196
|
+
return /* @__PURE__ */ React6.createElement(Card, null, /* @__PURE__ */ React6.createElement(
|
197
|
+
CardContent,
|
198
|
+
{
|
199
|
+
headless: true,
|
200
|
+
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
201
|
+
},
|
202
|
+
/* @__PURE__ */ React6.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center " }, /* @__PURE__ */ React6.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React6.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
203
|
+
/* @__PURE__ */ React6.createElement(
|
204
|
+
Button,
|
205
|
+
{
|
206
|
+
onClick: () => onActionClick(),
|
207
|
+
className: "hawa-whitespace-nowrap"
|
208
|
+
},
|
209
|
+
props.actionText
|
210
|
+
)
|
211
|
+
));
|
212
|
+
};
|
213
|
+
|
214
|
+
// blocks/misc/NotFound.tsx
|
215
|
+
import React7 from "react";
|
216
|
+
var NotFound = ({ texts }) => {
|
217
|
+
return /* @__PURE__ */ React7.createElement(Card, null, /* @__PURE__ */ React7.createElement(CardContent, { headless: true }, /* @__PURE__ */ React7.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React7.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold " }, "404"), /* @__PURE__ */ React7.createElement("div", { className: "hawa-m-2 hawa-text-center hawa-text-xl hawa-font-bold " }, (texts == null ? void 0 : texts.pageNotFound) || "Page Not Found"), /* @__PURE__ */ React7.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React7.createElement(React7.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React7.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React7.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
218
|
+
};
|
219
|
+
|
220
|
+
// blocks/misc/NoPermission.tsx
|
221
|
+
import React8 from "react";
|
222
|
+
var NoPermission = ({ texts }) => {
|
223
|
+
return /* @__PURE__ */ React8.createElement(Card, null, /* @__PURE__ */ React8.createElement(CardContent, { headless: true }, /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React8.createElement("div", { className: "hawa-flex hawa-h-10 hawa-w-10 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold hawa-text-primary-foreground" }, /* @__PURE__ */ React8.createElement(
|
224
|
+
"svg",
|
225
|
+
{
|
226
|
+
stroke: "currentColor",
|
227
|
+
fill: "currentColor",
|
228
|
+
strokeWidth: "0",
|
229
|
+
viewBox: "0 0 448 512",
|
230
|
+
height: "0.35em",
|
231
|
+
width: "0.35em"
|
232
|
+
},
|
233
|
+
/* @__PURE__ */ React8.createElement("path", { d: "M400 224h-24v-72C376 68.2 307.8 0 224 0S72 68.2 72 152v72H48c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm-104 0H152v-72c0-39.7 32.3-72 72-72s72 32.3 72 72v72z" })
|
234
|
+
)), /* @__PURE__ */ React8.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.title) || "You don't have permission"), /* @__PURE__ */ React8.createElement("div", null, (texts == null ? void 0 : texts.subtitle) || "If you think this is a problem please contact your administrator or our customer support"))));
|
235
|
+
};
|
236
|
+
|
237
|
+
// blocks/misc/ContactForm.tsx
|
238
|
+
import React9 from "react";
|
239
|
+
import { useForm as useForm2, Controller as Controller2 } from "react-hook-form";
|
240
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
241
|
+
import * as z from "zod";
|
242
|
+
var ContactForm = ({
|
243
|
+
cardless,
|
244
|
+
size = "default",
|
245
|
+
texts,
|
246
|
+
formId,
|
247
|
+
formAutoComplete,
|
248
|
+
onSubmit
|
249
|
+
}) => {
|
250
|
+
var _a, _b, _c;
|
251
|
+
const contactFormSchema = z.object({
|
252
|
+
name: z.string({ required_error: texts == null ? void 0 : texts.name.required }).min(1, texts == null ? void 0 : texts.name.required).default(""),
|
253
|
+
email: z.string({ required_error: (_a = texts == null ? void 0 : texts.email) == null ? void 0 : _a.required }).min(1, { message: (_b = texts == null ? void 0 : texts.email) == null ? void 0 : _b.required }).email({ message: (_c = texts == null ? void 0 : texts.email) == null ? void 0 : _c.invalid }).default(""),
|
254
|
+
message: z.string({ required_error: texts == null ? void 0 : texts.message.required }).min(10, texts == null ? void 0 : texts.message.invalid).default("")
|
255
|
+
});
|
256
|
+
const {
|
257
|
+
control,
|
258
|
+
handleSubmit,
|
259
|
+
formState: { errors },
|
260
|
+
reset
|
261
|
+
} = useForm2({
|
262
|
+
resolver: zodResolver(contactFormSchema),
|
263
|
+
defaultValues: {
|
264
|
+
name: "",
|
265
|
+
email: "",
|
266
|
+
message: ""
|
267
|
+
}
|
268
|
+
});
|
269
|
+
const handleFormSubmit = (data) => {
|
270
|
+
if (onSubmit) {
|
271
|
+
onSubmit(data);
|
272
|
+
reset();
|
273
|
+
} else {
|
274
|
+
console.log("Form is submitted but onSubmit prop is missing");
|
275
|
+
}
|
276
|
+
};
|
277
|
+
let sizeStyle = {
|
278
|
+
sm: "hawa-max-w-sm",
|
279
|
+
default: "hawa-w-full"
|
280
|
+
};
|
281
|
+
return /* @__PURE__ */ React9.createElement(
|
282
|
+
Card,
|
283
|
+
{
|
284
|
+
className: cn(
|
285
|
+
// sizeStyle[size],
|
286
|
+
"hawa-w-full",
|
287
|
+
cardless && "hawa-border-none hawa-bg-transparent hawa-shadow-none hawa-drop-shadow-none"
|
288
|
+
),
|
289
|
+
style: cardless ? { boxShadow: "none" } : void 0
|
290
|
+
},
|
291
|
+
/* @__PURE__ */ React9.createElement(CardContent, { headless: true }, /* @__PURE__ */ React9.createElement(
|
292
|
+
"form",
|
293
|
+
{
|
294
|
+
noValidate: true,
|
295
|
+
onSubmit: handleSubmit(handleFormSubmit),
|
296
|
+
className: "hawa-space-y-2",
|
297
|
+
id: formId,
|
298
|
+
autoComplete: formAutoComplete
|
299
|
+
},
|
300
|
+
/* @__PURE__ */ React9.createElement(
|
301
|
+
"div",
|
302
|
+
{
|
303
|
+
className: cn(
|
304
|
+
"hawa-flex hawa-items-start hawa-justify-start hawa-gap-2",
|
305
|
+
{
|
306
|
+
"hawa-flex-row": size === "default",
|
307
|
+
"hawa-flex-col": size === "sm"
|
308
|
+
}
|
309
|
+
)
|
310
|
+
},
|
311
|
+
/* @__PURE__ */ React9.createElement(
|
312
|
+
Controller2,
|
313
|
+
{
|
314
|
+
control,
|
315
|
+
name: "name",
|
316
|
+
render: ({ field }) => {
|
317
|
+
var _a2;
|
318
|
+
return /* @__PURE__ */ React9.createElement(
|
319
|
+
Input,
|
320
|
+
{
|
321
|
+
label: texts == null ? void 0 : texts.name.label,
|
322
|
+
id: texts == null ? void 0 : texts.name.label,
|
323
|
+
...field,
|
324
|
+
placeholder: texts == null ? void 0 : texts.name.placeholder,
|
325
|
+
helperText: (_a2 = errors.name) == null ? void 0 : _a2.message
|
326
|
+
}
|
327
|
+
);
|
328
|
+
}
|
329
|
+
}
|
330
|
+
),
|
331
|
+
/* @__PURE__ */ React9.createElement(
|
332
|
+
Controller2,
|
333
|
+
{
|
334
|
+
control,
|
335
|
+
name: "email",
|
336
|
+
render: ({ field }) => {
|
337
|
+
var _a2;
|
338
|
+
return /* @__PURE__ */ React9.createElement(
|
339
|
+
Input,
|
340
|
+
{
|
341
|
+
label: texts == null ? void 0 : texts.email.label,
|
342
|
+
id: texts == null ? void 0 : texts.email.label,
|
343
|
+
...field,
|
344
|
+
placeholder: texts == null ? void 0 : texts.email.placeholder,
|
345
|
+
helperText: (_a2 = errors.email) == null ? void 0 : _a2.message
|
346
|
+
}
|
347
|
+
);
|
348
|
+
}
|
349
|
+
}
|
350
|
+
)
|
351
|
+
),
|
352
|
+
/* @__PURE__ */ React9.createElement(
|
353
|
+
Controller2,
|
354
|
+
{
|
355
|
+
control,
|
356
|
+
name: "message",
|
357
|
+
render: ({ field }) => {
|
358
|
+
var _a2;
|
359
|
+
return /* @__PURE__ */ React9.createElement(
|
360
|
+
Textarea,
|
361
|
+
{
|
362
|
+
label: texts == null ? void 0 : texts.message.label,
|
363
|
+
id: texts == null ? void 0 : texts.message.label,
|
364
|
+
textareaProps: {
|
365
|
+
placeholder: texts == null ? void 0 : texts.message.placeholder,
|
366
|
+
...field
|
367
|
+
},
|
368
|
+
helperText: (_a2 = errors.message) == null ? void 0 : _a2.message
|
369
|
+
}
|
370
|
+
);
|
371
|
+
}
|
372
|
+
}
|
373
|
+
),
|
374
|
+
/* @__PURE__ */ React9.createElement(Button, { type: "submit", className: "hawa-w-full" }, (texts == null ? void 0 : texts.submit) || "Submit")
|
375
|
+
))
|
376
|
+
);
|
377
|
+
};
|
378
|
+
export {
|
379
|
+
Announcement,
|
380
|
+
ContactForm,
|
381
|
+
EmptyState,
|
382
|
+
LeadGenerator,
|
383
|
+
LegalTexts,
|
384
|
+
NoPermission,
|
385
|
+
NotFound,
|
386
|
+
Testimonial
|
387
|
+
};
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import { FC, InputHTMLAttributes } from 'react';
|
2
|
+
import { P as PositionType, D as DirectionType, R as RadioOptionType } from '../../commonTypes-MxCJyrHv.mjs';
|
3
|
+
import { P as PricingPlanTexts } from '../../textTypes-559CaoOV.mjs';
|
4
|
+
|
5
|
+
type PlanFeature = {
|
6
|
+
soon?: boolean;
|
7
|
+
included?: boolean;
|
8
|
+
text: string;
|
9
|
+
hint?: string;
|
10
|
+
hintSide?: PositionType;
|
11
|
+
};
|
12
|
+
type PricingCardProps = {
|
13
|
+
direction?: DirectionType;
|
14
|
+
features: PlanFeature[];
|
15
|
+
endButton?: boolean;
|
16
|
+
price: number;
|
17
|
+
oldPrice?: number;
|
18
|
+
noPrice?: boolean;
|
19
|
+
id?: string;
|
20
|
+
discount?: string;
|
21
|
+
onPlanClicked?: () => void;
|
22
|
+
currentPlan?: boolean;
|
23
|
+
recommended?: boolean;
|
24
|
+
size?: "small" | "medium" | "large";
|
25
|
+
isLoading?: boolean;
|
26
|
+
texts: PricingPlanTexts;
|
27
|
+
};
|
28
|
+
|
29
|
+
type PricingPlansTypes = {
|
30
|
+
plans: PricingCardProps[];
|
31
|
+
currencies: RadioOptionType[];
|
32
|
+
billingCycles: RadioOptionType[];
|
33
|
+
currentCycle: RadioOptionType;
|
34
|
+
currentCurrency: RadioOptionType;
|
35
|
+
onPlanClicked?: (e: any) => void;
|
36
|
+
onCycleChange?: (e: any) => void;
|
37
|
+
onCurrencyChange?: (e: any) => void;
|
38
|
+
direction?: DirectionType;
|
39
|
+
mainContainerProps?: InputHTMLAttributes<HTMLDivElement>;
|
40
|
+
cardsContainerProps?: InputHTMLAttributes<HTMLDivElement>;
|
41
|
+
};
|
42
|
+
declare const PricingPlans: FC<PricingPlansTypes>;
|
43
|
+
|
44
|
+
type ComparingPlansTypes = {
|
45
|
+
plans: {
|
46
|
+
direction?: DirectionType;
|
47
|
+
features: PlanFeature[];
|
48
|
+
price?: number;
|
49
|
+
texts?: PricingPlanTexts;
|
50
|
+
size?: "small" | "medium" | "large";
|
51
|
+
}[];
|
52
|
+
currencies: RadioOptionType[];
|
53
|
+
billingCycles: RadioOptionType[];
|
54
|
+
currentCycle: RadioOptionType;
|
55
|
+
currentCurrency: RadioOptionType;
|
56
|
+
onCycleChange?: (e: any) => void;
|
57
|
+
onCurrencyChange?: (e: any) => void;
|
58
|
+
onPlanClicked?: (e: any) => void;
|
59
|
+
direction?: DirectionType;
|
60
|
+
showButtons?: boolean;
|
61
|
+
topPosition?: number;
|
62
|
+
};
|
63
|
+
declare const ComparingPlans: FC<ComparingPlansTypes>;
|
64
|
+
|
65
|
+
type HorizontalPricingTypes = {
|
66
|
+
plans: {
|
67
|
+
currentPlan?: boolean;
|
68
|
+
direction?: DirectionType;
|
69
|
+
currency?: string;
|
70
|
+
cycleText?: string;
|
71
|
+
features?: PlanFeature[];
|
72
|
+
price?: number;
|
73
|
+
texts?: PricingPlanTexts;
|
74
|
+
size?: "small" | "medium" | "large";
|
75
|
+
}[];
|
76
|
+
currencies: {
|
77
|
+
label: string;
|
78
|
+
value: string;
|
79
|
+
}[];
|
80
|
+
billingCycles: {
|
81
|
+
label: string;
|
82
|
+
value: string;
|
83
|
+
}[];
|
84
|
+
currentCycle?: RadioOptionType;
|
85
|
+
currentCurrency?: RadioOptionType;
|
86
|
+
onPlanClicked?: (e: any) => void;
|
87
|
+
onCycleChange?: (e: any) => void;
|
88
|
+
onCurrencyChange?: (e: any) => void;
|
89
|
+
direction?: DirectionType;
|
90
|
+
};
|
91
|
+
declare const HorizontalPricing: FC<HorizontalPricingTypes>;
|
92
|
+
|
93
|
+
export { ComparingPlans, HorizontalPricing, PricingPlans };
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import { FC, InputHTMLAttributes } from 'react';
|
2
|
+
import { P as PositionType, D as DirectionType, R as RadioOptionType } from '../../commonTypes-MxCJyrHv.js';
|
3
|
+
import { P as PricingPlanTexts } from '../../textTypes-559CaoOV.js';
|
4
|
+
|
5
|
+
type PlanFeature = {
|
6
|
+
soon?: boolean;
|
7
|
+
included?: boolean;
|
8
|
+
text: string;
|
9
|
+
hint?: string;
|
10
|
+
hintSide?: PositionType;
|
11
|
+
};
|
12
|
+
type PricingCardProps = {
|
13
|
+
direction?: DirectionType;
|
14
|
+
features: PlanFeature[];
|
15
|
+
endButton?: boolean;
|
16
|
+
price: number;
|
17
|
+
oldPrice?: number;
|
18
|
+
noPrice?: boolean;
|
19
|
+
id?: string;
|
20
|
+
discount?: string;
|
21
|
+
onPlanClicked?: () => void;
|
22
|
+
currentPlan?: boolean;
|
23
|
+
recommended?: boolean;
|
24
|
+
size?: "small" | "medium" | "large";
|
25
|
+
isLoading?: boolean;
|
26
|
+
texts: PricingPlanTexts;
|
27
|
+
};
|
28
|
+
|
29
|
+
type PricingPlansTypes = {
|
30
|
+
plans: PricingCardProps[];
|
31
|
+
currencies: RadioOptionType[];
|
32
|
+
billingCycles: RadioOptionType[];
|
33
|
+
currentCycle: RadioOptionType;
|
34
|
+
currentCurrency: RadioOptionType;
|
35
|
+
onPlanClicked?: (e: any) => void;
|
36
|
+
onCycleChange?: (e: any) => void;
|
37
|
+
onCurrencyChange?: (e: any) => void;
|
38
|
+
direction?: DirectionType;
|
39
|
+
mainContainerProps?: InputHTMLAttributes<HTMLDivElement>;
|
40
|
+
cardsContainerProps?: InputHTMLAttributes<HTMLDivElement>;
|
41
|
+
};
|
42
|
+
declare const PricingPlans: FC<PricingPlansTypes>;
|
43
|
+
|
44
|
+
type ComparingPlansTypes = {
|
45
|
+
plans: {
|
46
|
+
direction?: DirectionType;
|
47
|
+
features: PlanFeature[];
|
48
|
+
price?: number;
|
49
|
+
texts?: PricingPlanTexts;
|
50
|
+
size?: "small" | "medium" | "large";
|
51
|
+
}[];
|
52
|
+
currencies: RadioOptionType[];
|
53
|
+
billingCycles: RadioOptionType[];
|
54
|
+
currentCycle: RadioOptionType;
|
55
|
+
currentCurrency: RadioOptionType;
|
56
|
+
onCycleChange?: (e: any) => void;
|
57
|
+
onCurrencyChange?: (e: any) => void;
|
58
|
+
onPlanClicked?: (e: any) => void;
|
59
|
+
direction?: DirectionType;
|
60
|
+
showButtons?: boolean;
|
61
|
+
topPosition?: number;
|
62
|
+
};
|
63
|
+
declare const ComparingPlans: FC<ComparingPlansTypes>;
|
64
|
+
|
65
|
+
type HorizontalPricingTypes = {
|
66
|
+
plans: {
|
67
|
+
currentPlan?: boolean;
|
68
|
+
direction?: DirectionType;
|
69
|
+
currency?: string;
|
70
|
+
cycleText?: string;
|
71
|
+
features?: PlanFeature[];
|
72
|
+
price?: number;
|
73
|
+
texts?: PricingPlanTexts;
|
74
|
+
size?: "small" | "medium" | "large";
|
75
|
+
}[];
|
76
|
+
currencies: {
|
77
|
+
label: string;
|
78
|
+
value: string;
|
79
|
+
}[];
|
80
|
+
billingCycles: {
|
81
|
+
label: string;
|
82
|
+
value: string;
|
83
|
+
}[];
|
84
|
+
currentCycle?: RadioOptionType;
|
85
|
+
currentCurrency?: RadioOptionType;
|
86
|
+
onPlanClicked?: (e: any) => void;
|
87
|
+
onCycleChange?: (e: any) => void;
|
88
|
+
onCurrencyChange?: (e: any) => void;
|
89
|
+
direction?: DirectionType;
|
90
|
+
};
|
91
|
+
declare const HorizontalPricing: FC<HorizontalPricingTypes>;
|
92
|
+
|
93
|
+
export { ComparingPlans, HorizontalPricing, PricingPlans };
|