@sikka/hawa 0.26.27 → 0.26.29
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/tooltip/index.js +1 -0
- package/dist/tooltip/index.js.map +1 -0
- package/dist/tooltip/index.mjs +1 -0
- package/dist/tooltip/index.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/Chip-H5BnuDdx.d.ts +0 -36
- package/dist/Chip-hr2gRBJ-.d.mts +0 -36
- package/dist/DropdownMenu-EUL-D3I3.d.mts +0 -95
- package/dist/DropdownMenu-SPisqCzV.d.ts +0 -95
- package/dist/Radio-K1WGpnGA.d.ts +0 -75
- package/dist/Radio-hsrLKNxE.d.mts +0 -75
- package/dist/Toast-VBd4UvlM.d.mts +0 -26
- package/dist/Toast-pOd4uGZz.d.ts +0 -26
- package/dist/accordion/index.d.mts +0 -51
- package/dist/accordion/index.d.ts +0 -51
- package/dist/accordion/index.js +0 -271
- package/dist/accordion/index.mjs +0 -227
- package/dist/alert/index.d.mts +0 -29
- package/dist/alert/index.d.ts +0 -29
- package/dist/alert/index.js +0 -442
- package/dist/alert/index.mjs +0 -402
- package/dist/appLayout/index.d.mts +0 -126
- package/dist/appLayout/index.d.ts +0 -126
- package/dist/appLayout/index.js +0 -1326
- package/dist/appLayout/index.mjs +0 -1286
- package/dist/appMenubar/index.d.mts +0 -33
- package/dist/appMenubar/index.d.ts +0 -33
- package/dist/appMenubar/index.js +0 -281
- package/dist/appMenubar/index.mjs +0 -224
- package/dist/appStores/index.d.mts +0 -8
- package/dist/appStores/index.d.ts +0 -8
- package/dist/appStores/index.js +0 -75
- package/dist/appStores/index.mjs +0 -38
- package/dist/appTabs/index.d.mts +0 -18
- package/dist/appTabs/index.d.ts +0 -18
- package/dist/appTabs/index.js +0 -92
- package/dist/appTabs/index.mjs +0 -50
- package/dist/appTopbar/index.d.mts +0 -44
- package/dist/appTopbar/index.d.ts +0 -44
- package/dist/appTopbar/index.js +0 -483
- package/dist/appTopbar/index.mjs +0 -441
- package/dist/avatar/index.d.mts +0 -16
- package/dist/avatar/index.d.ts +0 -16
- package/dist/avatar/index.js +0 -162
- package/dist/avatar/index.mjs +0 -122
- package/dist/backToTop/index.d.mts +0 -15
- package/dist/backToTop/index.d.ts +0 -15
- package/dist/backToTop/index.js +0 -398
- package/dist/backToTop/index.mjs +0 -358
- package/dist/badge/index.d.mts +0 -13
- package/dist/badge/index.d.ts +0 -13
- package/dist/badge/index.js +0 -127
- package/dist/badge/index.mjs +0 -84
- package/dist/blocks/auth/index.d.mts +0 -202
- package/dist/blocks/auth/index.d.ts +0 -202
- package/dist/blocks/auth/index.js +0 -4197
- package/dist/blocks/auth/index.mjs +0 -3389
- package/dist/blocks/feedback/index.d.mts +0 -74
- package/dist/blocks/feedback/index.d.ts +0 -74
- package/dist/blocks/feedback/index.js +0 -1544
- package/dist/blocks/feedback/index.mjs +0 -558
- package/dist/blocks/index.d.mts +0 -480
- package/dist/blocks/index.d.ts +0 -480
- package/dist/blocks/index.js +0 -6700
- package/dist/blocks/index.mjs +0 -2550
- package/dist/blocks/misc/index.d.mts +0 -90
- package/dist/blocks/misc/index.d.ts +0 -90
- package/dist/blocks/misc/index.js +0 -1186
- package/dist/blocks/misc/index.mjs +0 -387
- package/dist/blocks/pricing/index.d.mts +0 -93
- package/dist/blocks/pricing/index.d.ts +0 -93
- package/dist/blocks/pricing/index.js +0 -1528
- package/dist/blocks/pricing/index.mjs +0 -677
- package/dist/breadcrumb/index.d.mts +0 -14
- package/dist/breadcrumb/index.d.ts +0 -14
- package/dist/breadcrumb/index.js +0 -63
- package/dist/breadcrumb/index.mjs +0 -26
- package/dist/button/index.d.mts +0 -16
- package/dist/button/index.d.ts +0 -16
- package/dist/button/index.js +0 -301
- package/dist/button/index.mjs +0 -260
- package/dist/card/index.d.mts +0 -17
- package/dist/card/index.d.ts +0 -17
- package/dist/card/index.js +0 -139
- package/dist/card/index.mjs +0 -92
- package/dist/carousel/index.d.mts +0 -15
- package/dist/carousel/index.d.ts +0 -15
- package/dist/carousel/index.js +0 -193
- package/dist/carousel/index.mjs +0 -151
- package/dist/checkbox/index.d.mts +0 -20
- package/dist/checkbox/index.d.ts +0 -20
- package/dist/checkbox/index.js +0 -184
- package/dist/checkbox/index.mjs +0 -142
- package/dist/chip/index.d.mts +0 -36
- package/dist/chip/index.d.ts +0 -36
- package/dist/chip/index.js +0 -129
- package/dist/chip/index.mjs +0 -87
- package/dist/chunk-2R7F2GL7.mjs +0 -82
- package/dist/chunk-4EGKGSGY.mjs +0 -129
- package/dist/chunk-5YXZXYLH.mjs +0 -67
- package/dist/chunk-65TG6EVD.mjs +0 -264
- package/dist/chunk-D22AALLE.mjs +0 -22
- package/dist/chunk-D36MPDGE.mjs +0 -476
- package/dist/chunk-F3DQJHTG.mjs +0 -3113
- package/dist/chunk-FQ6WVEHW.mjs +0 -151
- package/dist/chunk-GVJYACGA.mjs +0 -189
- package/dist/chunk-JNUGOUYJ.mjs +0 -154
- package/dist/chunk-KMCIHW76.mjs +0 -150
- package/dist/chunk-MQUAGP7K.mjs +0 -1098
- package/dist/chunk-NMS5LCSQ.mjs +0 -195
- package/dist/chunk-OY66MBXP.mjs +0 -163
- package/dist/chunk-R4HAAT6R.mjs +0 -131
- package/dist/chunk-SJ2Z6ZOG.mjs +0 -442
- package/dist/chunk-TGZRVRLP.mjs +0 -107
- package/dist/chunk-TWNGV3RE.mjs +0 -10
- package/dist/chunk-WUHNPHD5.mjs +0 -0
- package/dist/chunk-ZFXKCRJC.mjs +0 -11
- package/dist/chunk-ZS3FB3PO.mjs +0 -12
- package/dist/codeBlock/index.d.mts +0 -24
- package/dist/codeBlock/index.d.ts +0 -24
- package/dist/codeBlock/index.js +0 -517
- package/dist/codeBlock/index.mjs +0 -432
- package/dist/collapsible/index.d.mts +0 -8
- package/dist/collapsible/index.d.ts +0 -8
- package/dist/collapsible/index.js +0 -49
- package/dist/collapsible/index.mjs +0 -12
- package/dist/colorPicker/index.d.mts +0 -34
- package/dist/colorPicker/index.d.ts +0 -34
- package/dist/colorPicker/index.js +0 -276
- package/dist/colorPicker/index.mjs +0 -170
- package/dist/combobox/index.d.mts +0 -41
- package/dist/combobox/index.d.ts +0 -41
- package/dist/combobox/index.js +0 -749
- package/dist/combobox/index.mjs +0 -295
- package/dist/command/index.d.mts +0 -48
- package/dist/command/index.d.ts +0 -48
- package/dist/command/index.js +0 -485
- package/dist/command/index.mjs +0 -22
- package/dist/commonTypes-2IGtJ5cq.d.mts +0 -3
- package/dist/commonTypes-2IGtJ5cq.d.ts +0 -3
- package/dist/commonTypes-2k6FnHw5.d.mts +0 -4
- package/dist/commonTypes-2k6FnHw5.d.ts +0 -4
- package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
- package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
- package/dist/commonTypes-CKtkuNFH.d.mts +0 -11
- package/dist/commonTypes-CKtkuNFH.d.ts +0 -11
- package/dist/commonTypes-GhKAraJw.d.mts +0 -4
- package/dist/commonTypes-GhKAraJw.d.ts +0 -4
- package/dist/commonTypes-MxCJyrHv.d.mts +0 -8
- package/dist/commonTypes-MxCJyrHv.d.ts +0 -8
- package/dist/commonTypes-PBumfOBg.d.mts +0 -3
- package/dist/commonTypes-PBumfOBg.d.ts +0 -3
- package/dist/commonTypes-WPhcN3Vr.d.mts +0 -5
- package/dist/commonTypes-WPhcN3Vr.d.ts +0 -5
- package/dist/commonTypes-_11epZYh.d.mts +0 -4
- package/dist/commonTypes-_11epZYh.d.ts +0 -4
- package/dist/commonTypes-ko_NGEoT.d.mts +0 -3
- package/dist/commonTypes-ko_NGEoT.d.ts +0 -3
- package/dist/copyrights/index.d.mts +0 -17
- package/dist/copyrights/index.d.ts +0 -17
- package/dist/copyrights/index.js +0 -45
- package/dist/copyrights/index.mjs +0 -8
- package/dist/count/index.d.mts +0 -11
- package/dist/count/index.d.ts +0 -11
- package/dist/count/index.js +0 -45
- package/dist/count/index.mjs +0 -8
- package/dist/dataTable/index.d.mts +0 -41
- package/dist/dataTable/index.d.ts +0 -41
- package/dist/dataTable/index.js +0 -1313
- package/dist/dataTable/index.mjs +0 -1281
- package/dist/destroyableCard/index.d.mts +0 -12
- package/dist/destroyableCard/index.d.ts +0 -12
- package/dist/destroyableCard/index.js +0 -203
- package/dist/destroyableCard/index.mjs +0 -163
- package/dist/dialog/index.d.mts +0 -57
- package/dist/dialog/index.d.ts +0 -57
- package/dist/dialog/index.js +0 -368
- package/dist/dialog/index.mjs +0 -314
- package/dist/docsLayout/index.d.mts +0 -37
- package/dist/docsLayout/index.d.ts +0 -37
- package/dist/docsLayout/index.js +0 -927
- package/dist/docsLayout/index.mjs +0 -887
- package/dist/docsSidebar/index.d.mts +0 -11
- package/dist/docsSidebar/index.d.ts +0 -11
- package/dist/docsSidebar/index.js +0 -111
- package/dist/docsSidebar/index.mjs +0 -69
- package/dist/dropdownMenu/index.d.mts +0 -96
- package/dist/dropdownMenu/index.d.ts +0 -96
- package/dist/dropdownMenu/index.js +0 -420
- package/dist/dropdownMenu/index.mjs +0 -362
- package/dist/elements/index.d.mts +0 -788
- package/dist/elements/index.d.ts +0 -788
- package/dist/elements/index.js +0 -7832
- package/dist/elements/index.mjs +0 -3415
- package/dist/fileDropzone/index.d.mts +0 -37
- package/dist/fileDropzone/index.d.ts +0 -37
- package/dist/fileDropzone/index.js +0 -665
- package/dist/fileDropzone/index.mjs +0 -625
- package/dist/fileUploader/index.d.mts +0 -5
- package/dist/fileUploader/index.d.ts +0 -5
- package/dist/fileUploader/index.js +0 -62
- package/dist/fileUploader/index.mjs +0 -25
- package/dist/glow/index.d.mts +0 -16
- package/dist/glow/index.d.ts +0 -16
- package/dist/glow/index.js +0 -155
- package/dist/glow/index.mjs +0 -117
- package/dist/hooks/index.d.mts +0 -108
- package/dist/hooks/index.d.ts +0 -108
- package/dist/hooks/index.js +0 -459
- package/dist/hooks/index.mjs +0 -255
- package/dist/index.d.mts +0 -1932
- package/dist/index.d.ts +0 -1932
- package/dist/index.js +0 -12123
- package/dist/index.mjs +0 -11908
- package/dist/input/index.d.mts +0 -43
- package/dist/input/index.d.ts +0 -43
- package/dist/input/index.js +0 -293
- package/dist/input/index.mjs +0 -158
- package/dist/interfaceSettings/index.d.mts +0 -18
- package/dist/interfaceSettings/index.d.ts +0 -18
- package/dist/interfaceSettings/index.js +0 -420
- package/dist/interfaceSettings/index.mjs +0 -283
- package/dist/label/index.d.mts +0 -13
- package/dist/label/index.d.ts +0 -13
- package/dist/label/index.js +0 -142
- package/dist/label/index.mjs +0 -102
- package/dist/layout/index.d.mts +0 -256
- package/dist/layout/index.d.ts +0 -256
- package/dist/layout/index.js +0 -2627
- package/dist/layout/index.mjs +0 -1393
- package/dist/loading/index.d.mts +0 -15
- package/dist/loading/index.d.ts +0 -15
- package/dist/loading/index.js +0 -225
- package/dist/loading/index.mjs +0 -183
- package/dist/logos/index.d.mts +0 -27
- package/dist/logos/index.d.ts +0 -27
- package/dist/logos/index.js +0 -244
- package/dist/logos/index.mjs +0 -207
- package/dist/navbar/index.d.mts +0 -17
- package/dist/navbar/index.d.ts +0 -17
- package/dist/navbar/index.js +0 -166
- package/dist/navbar/index.mjs +0 -126
- package/dist/navigationMenu/index.d.mts +0 -39
- package/dist/navigationMenu/index.d.ts +0 -39
- package/dist/navigationMenu/index.js +0 -221
- package/dist/navigationMenu/index.mjs +0 -169
- package/dist/pagination/index.d.mts +0 -11
- package/dist/pagination/index.d.ts +0 -11
- package/dist/pagination/index.js +0 -160
- package/dist/pagination/index.mjs +0 -118
- package/dist/passwordInput/index.d.mts +0 -13
- package/dist/passwordInput/index.d.ts +0 -13
- package/dist/passwordInput/index.js +0 -577
- package/dist/passwordInput/index.mjs +0 -534
- package/dist/phoneInput/index.d.mts +0 -23
- package/dist/phoneInput/index.d.ts +0 -23
- package/dist/phoneInput/index.js +0 -2085
- package/dist/phoneInput/index.mjs +0 -2045
- package/dist/pinInput/index.d.mts +0 -20
- package/dist/pinInput/index.d.ts +0 -20
- package/dist/pinInput/index.js +0 -131
- package/dist/pinInput/index.mjs +0 -89
- package/dist/popover/index.d.mts +0 -23
- package/dist/popover/index.d.ts +0 -23
- package/dist/popover/index.js +0 -112
- package/dist/popover/index.mjs +0 -68
- package/dist/progress/index.d.mts +0 -6
- package/dist/progress/index.d.ts +0 -6
- package/dist/progress/index.js +0 -71
- package/dist/progress/index.mjs +0 -29
- package/dist/progressCircle/index.d.mts +0 -16
- package/dist/progressCircle/index.d.ts +0 -16
- package/dist/progressCircle/index.js +0 -159
- package/dist/progressCircle/index.mjs +0 -117
- package/dist/radio/index.d.mts +0 -39
- package/dist/radio/index.d.ts +0 -39
- package/dist/radio/index.js +0 -331
- package/dist/radio/index.mjs +0 -291
- package/dist/scrollArea/index.d.mts +0 -10
- package/dist/scrollArea/index.d.ts +0 -10
- package/dist/scrollArea/index.js +0 -90
- package/dist/scrollArea/index.mjs +0 -47
- package/dist/scrollIndicator/index.d.mts +0 -9
- package/dist/scrollIndicator/index.d.ts +0 -9
- package/dist/scrollIndicator/index.js +0 -80
- package/dist/scrollIndicator/index.mjs +0 -43
- package/dist/select/index.d.mts +0 -50
- package/dist/select/index.d.ts +0 -50
- package/dist/select/index.js +0 -325
- package/dist/select/index.mjs +0 -285
- package/dist/separator/index.d.mts +0 -10
- package/dist/separator/index.d.ts +0 -10
- package/dist/separator/index.js +0 -66
- package/dist/separator/index.mjs +0 -24
- package/dist/sheet/index.d.mts +0 -30
- package/dist/sheet/index.d.ts +0 -30
- package/dist/sheet/index.js +0 -201
- package/dist/sheet/index.mjs +0 -150
- package/dist/sidebar/index.d.mts +0 -48
- package/dist/sidebar/index.d.ts +0 -48
- package/dist/sidebar/index.js +0 -341
- package/dist/sidebar/index.mjs +0 -298
- package/dist/signature/index.d.mts +0 -27
- package/dist/signature/index.d.ts +0 -27
- package/dist/signature/index.js +0 -261
- package/dist/signature/index.mjs +0 -219
- package/dist/simpleTable/index.d.mts +0 -30
- package/dist/simpleTable/index.d.ts +0 -30
- package/dist/simpleTable/index.js +0 -253
- package/dist/simpleTable/index.mjs +0 -217
- package/dist/skeleton/index.d.mts +0 -10
- package/dist/skeleton/index.d.ts +0 -10
- package/dist/skeleton/index.js +0 -75
- package/dist/skeleton/index.mjs +0 -33
- package/dist/slider/index.d.mts +0 -6
- package/dist/slider/index.d.ts +0 -6
- package/dist/slider/index.js +0 -66
- package/dist/slider/index.mjs +0 -24
- package/dist/sortButton/index.d.mts +0 -10
- package/dist/sortButton/index.d.ts +0 -10
- package/dist/sortButton/index.js +0 -336
- package/dist/sortButton/index.mjs +0 -42
- package/dist/splitButton/index.d.mts +0 -52
- package/dist/splitButton/index.d.ts +0 -52
- package/dist/splitButton/index.js +0 -692
- package/dist/splitButton/index.mjs +0 -400
- package/dist/stats/index.d.mts +0 -19
- package/dist/stats/index.d.ts +0 -19
- package/dist/stats/index.js +0 -191
- package/dist/stats/index.mjs +0 -154
- package/dist/stopPropagationWrapper/index.d.mts +0 -5
- package/dist/stopPropagationWrapper/index.d.ts +0 -5
- package/dist/stopPropagationWrapper/index.js +0 -48
- package/dist/stopPropagationWrapper/index.mjs +0 -11
- package/dist/switch/index.d.mts +0 -12
- package/dist/switch/index.d.ts +0 -12
- package/dist/switch/index.js +0 -125
- package/dist/switch/index.mjs +0 -83
- package/dist/table/index.d.mts +0 -21
- package/dist/table/index.d.ts +0 -21
- package/dist/table/index.js +0 -172
- package/dist/table/index.mjs +0 -123
- package/dist/tabs/index.d.mts +0 -33
- package/dist/tabs/index.d.ts +0 -33
- package/dist/tabs/index.js +0 -200
- package/dist/tabs/index.mjs +0 -157
- package/dist/textTypes-559CaoOV.d.mts +0 -88
- package/dist/textTypes-559CaoOV.d.ts +0 -88
- package/dist/textarea/index.d.mts +0 -27
- package/dist/textarea/index.d.ts +0 -27
- package/dist/textarea/index.js +0 -229
- package/dist/textarea/index.mjs +0 -189
- package/dist/toast/index.d.mts +0 -26
- package/dist/toast/index.d.ts +0 -26
- package/dist/toast/index.js +0 -197
- package/dist/toast/index.mjs +0 -19
- package/dist/toaster/index.d.mts +0 -9
- package/dist/toaster/index.d.ts +0 -9
- package/dist/toaster/index.js +0 -350
- package/dist/toaster/index.mjs +0 -181
- package/dist/types/index.d.mts +0 -115
- package/dist/types/index.d.ts +0 -115
- package/dist/types/index.js +0 -18
- package/dist/types/index.mjs +0 -0
@@ -1,387 +0,0 @@
|
|
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
|
-
};
|
@@ -1,93 +0,0 @@
|
|
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 };
|
@@ -1,93 +0,0 @@
|
|
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 };
|