@sikka/hawa 0.41.0-next → 0.41.1-next
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/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs.map +1 -1
- package/dist/alert/index.js +1 -1
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +1 -1
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +15 -15
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +15 -15
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/appMenubar/index.js.map +1 -1
- package/dist/appMenubar/index.mjs.map +1 -1
- package/dist/appTabs/index.js +2 -2
- package/dist/appTabs/index.js.map +1 -1
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTabs/index.mjs.map +1 -1
- package/dist/appTopbar/index.js +5 -5
- package/dist/appTopbar/index.js.map +1 -1
- package/dist/appTopbar/index.mjs +5 -5
- package/dist/appTopbar/index.mjs.map +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/index.js.map +1 -1
- package/dist/avatar/index.mjs +1 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/backToTop/index.js +1 -1
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +1 -1
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/badge/index.d.mts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/index.js +1 -1
- package/dist/badge/index.js.map +1 -1
- package/dist/badge/index.mjs +1 -1
- package/dist/badge/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +15 -15
- package/dist/blocks/auth/index.mjs +13 -13
- package/dist/blocks/feedback/index.js +19 -19
- package/dist/blocks/feedback/index.mjs +17 -17
- package/dist/blocks/index.js +62 -62
- package/dist/blocks/index.mjs +46 -46
- package/dist/blocks/misc/index.js +17 -19
- package/dist/blocks/misc/index.mjs +11 -11
- package/dist/blocks/pricing/index.js +23 -23
- package/dist/blocks/pricing/index.mjs +21 -21
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/card/index.js +1 -1
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +1 -1
- package/dist/card/index.mjs.map +1 -1
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +7 -7
- package/dist/carousel/index.js.map +1 -1
- package/dist/carousel/index.mjs +7 -7
- package/dist/carousel/index.mjs.map +1 -1
- package/dist/{chunk-IS73LH5Y.mjs → chunk-2GEXJLRC.mjs} +1 -1
- package/dist/{chunk-FJXDCBMQ.mjs → chunk-7R25FOBM.mjs} +15 -15
- package/dist/{chunk-4ZELUQQ7.mjs → chunk-CQYG77SY.mjs} +1 -1
- package/dist/{chunk-NSMJTT6Y.mjs → chunk-D7HDVJFT.mjs} +3 -3
- package/dist/{chunk-ZSX2KZ2D.mjs → chunk-EBZECS2Z.mjs} +4 -4
- package/dist/{chunk-FK2C6C3B.mjs → chunk-FLMCWOQQ.mjs} +1 -1
- package/dist/{chunk-JGP3PSJL.mjs → chunk-FP6763YO.mjs} +4 -4
- package/dist/{chunk-UHUOBAEP.mjs → chunk-I3AK6DXN.mjs} +3 -3
- package/dist/{chunk-F6SLF6DS.mjs → chunk-K5S7P5ZO.mjs} +4 -4
- package/dist/{chunk-55TPME67.mjs → chunk-QNLA5TSV.mjs} +2 -2
- package/dist/codeBlock/index.js +5 -5
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +5 -5
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +7 -7
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +7 -7
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.js +5 -5
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +5 -5
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.js +6 -6
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +6 -6
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/destroyableCard/index.js +1 -1
- package/dist/destroyableCard/index.js.map +1 -1
- package/dist/destroyableCard/index.mjs +1 -1
- package/dist/destroyableCard/index.mjs.map +1 -1
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +4 -4
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +7 -9
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +7 -9
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/docsSidebar/index.js +1 -1
- package/dist/docsSidebar/index.js.map +1 -1
- package/dist/docsSidebar/index.mjs +1 -1
- package/dist/docsSidebar/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.js +3 -3
- package/dist/dropdownMenu/index.js.map +1 -1
- package/dist/dropdownMenu/index.mjs +3 -3
- package/dist/dropdownMenu/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +1 -1
- package/dist/elements/index.d.ts +1 -1
- package/dist/elements/index.js +54 -54
- package/dist/elements/index.mjs +39 -39
- package/dist/fileDropzone/index.js +5 -5
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +5 -5
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/glow/index.js.map +1 -1
- package/dist/glow/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +127 -127
- package/dist/index.mjs +127 -127
- package/dist/input/index.js +3 -3
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +3 -3
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +4 -4
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.js +34 -36
- package/dist/layout/index.mjs +31 -31
- package/dist/loading/index.js.map +1 -1
- package/dist/loading/index.mjs.map +1 -1
- package/dist/navbar/index.js +12 -12
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +12 -12
- package/dist/navbar/index.mjs.map +1 -1
- package/dist/navigationMenu/index.js +5 -5
- package/dist/navigationMenu/index.js.map +1 -1
- package/dist/navigationMenu/index.mjs +5 -5
- package/dist/navigationMenu/index.mjs.map +1 -1
- package/dist/pagination/index.js.map +1 -1
- package/dist/pagination/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +3 -3
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +3 -3
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +4 -4
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +4 -4
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/progress/index.js.map +1 -1
- package/dist/progress/index.mjs.map +1 -1
- package/dist/progressCircle/index.js +1 -1
- package/dist/progressCircle/index.js.map +1 -1
- package/dist/progressCircle/index.mjs +1 -1
- package/dist/progressCircle/index.mjs.map +1 -1
- package/dist/radio/index.js +3 -3
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +3 -3
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.js +2 -2
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/scrollIndicator/index.js.map +1 -1
- package/dist/scrollIndicator/index.mjs.map +1 -1
- package/dist/select/index.js +2 -2
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +2 -2
- package/dist/select/index.mjs.map +1 -1
- package/dist/separator/index.js.map +1 -1
- package/dist/separator/index.mjs.map +1 -1
- package/dist/sheet/index.js +1 -1
- package/dist/sheet/index.js.map +1 -1
- package/dist/sheet/index.mjs +1 -1
- package/dist/sheet/index.mjs.map +1 -1
- package/dist/sidebar/index.js +5 -5
- package/dist/sidebar/index.js.map +1 -1
- package/dist/sidebar/index.mjs +5 -5
- package/dist/sidebar/index.mjs.map +1 -1
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +1 -1
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +1 -1
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/slider/index.js.map +1 -1
- package/dist/slider/index.mjs.map +1 -1
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +27 -27
- package/dist/splitButton/index.d.ts +27 -27
- package/dist/splitButton/index.js +750 -750
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +752 -752
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.js +3 -5
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +3 -5
- package/dist/stats/index.mjs.map +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/index.js.map +1 -1
- package/dist/switch/index.mjs +1 -1
- package/dist/switch/index.mjs.map +1 -1
- package/dist/tabs/index.js +2 -2
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +2 -2
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +1 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/toaster/index.js +1 -1
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +1 -1
- package/dist/toaster/index.mjs.map +1 -1
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -83,7 +83,7 @@ var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
83
83
|
"h3",
|
84
84
|
{
|
85
85
|
ref,
|
86
|
-
className: cn("hawa-text-2xl hawa-font-semibold
|
86
|
+
className: cn("hawa-text-2xl hawa-font-semibold", className),
|
87
87
|
...props
|
88
88
|
}
|
89
89
|
));
|
@@ -514,7 +514,7 @@ var DropdownMenuContent = React5.forwardRef(({ className, sideOffset = 4, ...pro
|
|
514
514
|
ref,
|
515
515
|
sideOffset,
|
516
516
|
className: cn(
|
517
|
-
"hawa-z-50
|
517
|
+
"hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-p-1 hawa-text-popover-foreground hawa-shadow-md data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0 data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
518
518
|
className
|
519
519
|
),
|
520
520
|
...props
|
@@ -535,7 +535,7 @@ var DropdownMenuItem = React5.forwardRef(({ className, inset, badged, slug, Link
|
|
535
535
|
),
|
536
536
|
...props
|
537
537
|
},
|
538
|
-
/* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2
|
538
|
+
/* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, props.children),
|
539
539
|
props.end && props.end,
|
540
540
|
!props.end && props.shortcut && /* @__PURE__ */ React5.createElement(DropdownMenuShortcut, null, props.shortcut),
|
541
541
|
!props.end && badged && /* @__PURE__ */ React5.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
|
@@ -826,7 +826,7 @@ var DropdownMenu = ({
|
|
826
826
|
badged: item.badged,
|
827
827
|
className: cn(
|
828
828
|
sizeStyles2[size],
|
829
|
-
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent
|
829
|
+
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
|
830
830
|
item.presist && "focus:hawa-bg-transparent",
|
831
831
|
classNames == null ? void 0 : classNames.item
|
832
832
|
)
|
@@ -1617,7 +1617,7 @@ var NavigationMenuRoot = React12.forwardRef(({ className, children, viewportClas
|
|
1617
1617
|
{
|
1618
1618
|
ref,
|
1619
1619
|
className: cn(
|
1620
|
-
"hawa-relative hawa-z-10 hawa-flex
|
1620
|
+
"hawa-relative hawa-z-10 hawa-flex hawa-flex-1 hawa-items-center hawa-justify-center",
|
1621
1621
|
// "hawa-max-w-max",
|
1622
1622
|
className
|
1623
1623
|
),
|
@@ -1669,7 +1669,7 @@ var NavigationMenuContent = React12.forwardRef(({ className, ...props }, ref) =>
|
|
1669
1669
|
{
|
1670
1670
|
ref,
|
1671
1671
|
className: cn(
|
1672
|
-
"hawa-absolute
|
1672
|
+
"hawa-absolute hawa-left-0 hawa-top-0 hawa-w-full hawa-rounded",
|
1673
1673
|
// "md:hawa-absolute md:hawa-w-auto hawa-left-0 hawa-top-0 ",
|
1674
1674
|
// animation
|
1675
1675
|
"data-[motion^=from-]:hawa-animate-in data-[motion^=to-]:hawa-animate-out data-[motion^=from-]:hawa-fade-in data-[motion^=to-]:hawa-fade-out data-[motion=from-end]:hawa-slide-in-from-right-52 data-[motion=from-start]:hawa-slide-in-from-left-52 data-[motion=to-end]:hawa-slide-out-to-right-52 data-[motion=to-start]:hawa-slide-out-to-left-52",
|
@@ -1678,7 +1678,7 @@ var NavigationMenuContent = React12.forwardRef(({ className, ...props }, ref) =>
|
|
1678
1678
|
...props
|
1679
1679
|
}
|
1680
1680
|
));
|
1681
|
-
var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React12.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-max-w-md hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-4 hawa-rounded-inner hawa-p-4 hawa-py-2 hawa-transition-all
|
1681
|
+
var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React12.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-max-w-md hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-4 hawa-rounded-inner hawa-p-4 hawa-py-2 hawa-transition-all hover:hawa-bg-muted" }, icon && icon, /* @__PURE__ */ React12.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React12.createElement("h1", { className: "hawa-text-xl hawa-font-bold" }, title), /* @__PURE__ */ React12.createElement("p", { className: "hawa-text-sm" }, subtitle))));
|
1682
1682
|
var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
|
1683
1683
|
"div",
|
1684
1684
|
{
|
@@ -1690,7 +1690,7 @@ var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) =
|
|
1690
1690
|
NavigationMenuPrimitive.Viewport,
|
1691
1691
|
{
|
1692
1692
|
className: cn(
|
1693
|
-
"hawa-origin-top-center hawa-relative hawa-mt-1.5
|
1693
|
+
"hawa-origin-top-center hawa-relative hawa-mt-1.5 hawa-w-full hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-text-popover-foreground hawa-shadow-lg data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-zoom-out-95 data-[state=open]:hawa-zoom-in-90",
|
1694
1694
|
// hawa-h-[var(--radix-navigation-menu-viewport-height)]
|
1695
1695
|
// "md:hawa-w-[var(--radix-navigation-menu-viewport-width)]",
|
1696
1696
|
className
|
@@ -1948,7 +1948,7 @@ var DialogContent = React14.forwardRef(
|
|
1948
1948
|
{
|
1949
1949
|
className: cn(
|
1950
1950
|
"hawa-absolute hawa-top-4 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
|
1951
|
-
props.dir === "rtl" ? "
|
1951
|
+
props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4",
|
1952
1952
|
classNames == null ? void 0 : classNames.closeButton
|
1953
1953
|
),
|
1954
1954
|
id: ids == null ? void 0 : ids.closeButton
|
@@ -2039,8 +2039,8 @@ var DialogCarouselContent = React14.forwardRef(
|
|
2039
2039
|
DialogPrimitive.Close,
|
2040
2040
|
{
|
2041
2041
|
className: cn(
|
2042
|
-
"hawa-end-0 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground
|
2043
|
-
props.dir === "rtl" ? "
|
2042
|
+
"hawa-end-0 hawa-rounded hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-accent data-[state=open]:hawa-text-muted-foreground",
|
2043
|
+
props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4"
|
2044
2044
|
)
|
2045
2045
|
},
|
2046
2046
|
/* @__PURE__ */ React14.createElement(
|
@@ -2189,7 +2189,7 @@ var DialogStep = ({
|
|
2189
2189
|
{
|
2190
2190
|
id,
|
2191
2191
|
ref: stepRef,
|
2192
|
-
className: cn("hawa-w-full
|
2192
|
+
className: cn("hawa-w-full hawa-px-1", className)
|
2193
2193
|
},
|
2194
2194
|
children
|
2195
2195
|
);
|
@@ -2468,7 +2468,7 @@ var Alert = ({
|
|
2468
2468
|
"data-dismiss-target": "#alert-default",
|
2469
2469
|
"aria-label": "Close",
|
2470
2470
|
className: cn(
|
2471
|
-
"hawa-absolute
|
2471
|
+
"hawa-absolute hawa-top-2 hawa-inline-flex hawa-h-9 hawa-w-9 hawa-items-center hawa-justify-center hawa-rounded-inner hawa-p-1.5 hawa-transition-all hover:hawa-text-gray-900",
|
2472
2472
|
closeButtonStyle[severity],
|
2473
2473
|
direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
|
2474
2474
|
),
|
@@ -2571,7 +2571,7 @@ var Avatar = ({
|
|
2571
2571
|
"div",
|
2572
2572
|
{
|
2573
2573
|
className: cn(
|
2574
|
-
"hawa-relative
|
2574
|
+
"hawa-relative hawa-bg-card hawa-p-0",
|
2575
2575
|
sizeStyles2[size],
|
2576
2576
|
radiusStyles[radius],
|
2577
2577
|
className
|
@@ -2834,7 +2834,7 @@ var Input = forwardRef13(
|
|
2834
2834
|
)
|
2835
2835
|
},
|
2836
2836
|
props.label && /* @__PURE__ */ React22.createElement(Label2, { ...labelProps }, props.label),
|
2837
|
-
/* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center
|
2837
|
+
/* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center" }, props.outsidePrefix && /* @__PURE__ */ React22.createElement(
|
2838
2838
|
"span",
|
2839
2839
|
{
|
2840
2840
|
className: cn(
|
@@ -2900,7 +2900,7 @@ var Input = forwardRef13(
|
|
2900
2900
|
...inputProps,
|
2901
2901
|
className: cn(
|
2902
2902
|
defaultInputStyle,
|
2903
|
-
"
|
2903
|
+
"focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 dark:hawa-text-white",
|
2904
2904
|
{
|
2905
2905
|
"hawa-pe-9": props.endIcon,
|
2906
2906
|
"hawa-ps-9": props.startIcon,
|
@@ -2914,7 +2914,7 @@ var Input = forwardRef13(
|
|
2914
2914
|
"div",
|
2915
2915
|
{
|
2916
2916
|
className: cn(
|
2917
|
-
"hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start
|
2917
|
+
"hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start hawa-text-xs hawa-text-helper-color hawa-drop-shadow-md hawa-transition-all",
|
2918
2918
|
props.helperText ? "hawa-border hawa-p-1" : "hawa-border-none hawa-p-0"
|
2919
2919
|
)
|
2920
2920
|
},
|
@@ -3591,7 +3591,7 @@ var BackToTop = ({ ...props }) => {
|
|
3591
3591
|
"svg",
|
3592
3592
|
{
|
3593
3593
|
className: cn(
|
3594
|
-
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all
|
3594
|
+
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all disabled:hawa-bg-gray-200"
|
3595
3595
|
),
|
3596
3596
|
"aria-label": "Arrow Icon",
|
3597
3597
|
viewBox: "0 0 20 20",
|
@@ -3885,11 +3885,11 @@ var Radio = forwardRef16(
|
|
3885
3885
|
{
|
3886
3886
|
htmlFor: opt.value.toString(),
|
3887
3887
|
className: cn(
|
3888
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all
|
3888
|
+
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-foreground/10 hawa-bg-background hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-foreground/10 dark:hawa-bg-foreground/5 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
3889
3889
|
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-foreground/10 hover:hawa-text-gray-600 dark:hover:hawa-bg-foreground/20 dark:hover:hawa-text-gray-300"
|
3890
3890
|
)
|
3891
3891
|
},
|
3892
|
-
/* @__PURE__ */ React27.createElement("div", { className: "hawa-block
|
3892
|
+
/* @__PURE__ */ React27.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ React27.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ React27.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
3893
3893
|
)))
|
3894
3894
|
);
|
3895
3895
|
default:
|
@@ -3927,7 +3927,7 @@ var Radio = forwardRef16(
|
|
3927
3927
|
{
|
3928
3928
|
htmlFor: opt.value.toString(),
|
3929
3929
|
className: cn(
|
3930
|
-
"hawa-text-sm hawa-font-medium
|
3930
|
+
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
3931
3931
|
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
3932
3932
|
)
|
3933
3933
|
},
|
@@ -4113,7 +4113,7 @@ var AppCommand = ({
|
|
4113
4113
|
DialogContent,
|
4114
4114
|
{
|
4115
4115
|
hideCloseButton: true,
|
4116
|
-
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l
|
4116
|
+
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l"
|
4117
4117
|
},
|
4118
4118
|
/* @__PURE__ */ React28.createElement(FullCommand, { ...commandProps, onActionClick })
|
4119
4119
|
));
|
@@ -4167,7 +4167,7 @@ var Combobox = React29.forwardRef(
|
|
4167
4167
|
ref: containerRef
|
4168
4168
|
},
|
4169
4169
|
props.label && /* @__PURE__ */ React29.createElement(Label2, { ...labelProps }, props.label),
|
4170
|
-
/* @__PURE__ */ React29.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React29.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React29.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React29.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2
|
4170
|
+
/* @__PURE__ */ React29.createElement(PopoverPrimitive2.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React29.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React29.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React29.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React29.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2" }, /* @__PURE__ */ React29.createElement(
|
4171
4171
|
"div",
|
4172
4172
|
{
|
4173
4173
|
className: cn(
|
@@ -4182,8 +4182,8 @@ var Combobox = React29.forwardRef(
|
|
4182
4182
|
type: "button",
|
4183
4183
|
"aria-expanded": open,
|
4184
4184
|
className: cn(
|
4185
|
-
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal
|
4186
|
-
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3
|
4185
|
+
"hawa-inline-flex hawa-h-10 hawa-w-full hawa-select-none hawa-items-center hawa-justify-between hawa-rounded-md hawa-border hawa-py-2 hawa-text-sm hawa-font-normal 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",
|
4186
|
+
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3"
|
4187
4187
|
)
|
4188
4188
|
},
|
4189
4189
|
selectedItem ? renderSelected ? renderSelected(selectedItem) : getProperty(selectedItem, labelKey) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || ". . .",
|
@@ -4323,7 +4323,7 @@ var Textarea = React30.forwardRef(
|
|
4323
4323
|
{
|
4324
4324
|
...textareaProps,
|
4325
4325
|
className: cn(
|
4326
|
-
"hawa-flex hawa-min-h-[40px] hawa-h-[40px]
|
4326
|
+
"hawa-flex hawa-min-h-[40px] hawa-h-[40px] hawa-w-full hawa-rounded-md hawa-border hawa-border-input hawa-bg-background hawa-px-3 hawa-py-2 hawa-text-sm hawa-ring-offset-background placeholder:hawa-text-gray-400 placeholder:hawa-text-muted-foreground focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0 disabled:hawa-cursor-not-allowed disabled:hawa-opacity-50",
|
4327
4327
|
classNames == null ? void 0 : classNames.textarea
|
4328
4328
|
),
|
4329
4329
|
ref
|
@@ -4509,8 +4509,8 @@ var FileDropzone = ({
|
|
4509
4509
|
"div",
|
4510
4510
|
{
|
4511
4511
|
className: clsx2(
|
4512
|
-
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed
|
4513
|
-
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50
|
4512
|
+
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed hawa-p-6 hawa-transition-all",
|
4513
|
+
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50"
|
4514
4514
|
)
|
4515
4515
|
},
|
4516
4516
|
/* @__PURE__ */ React31.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ React31.createElement("p", { ...getInputProps() }), /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4 hawa-text-center" }, /* @__PURE__ */ React31.createElement(
|
@@ -4536,8 +4536,8 @@ var FileDropzone = ({
|
|
4536
4536
|
/* @__PURE__ */ React31.createElement("path", { d: "M3 11l0 .01" }),
|
4537
4537
|
/* @__PURE__ */ React31.createElement("path", { d: "M3 15l0 .01" })
|
4538
4538
|
), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ React31.createElement("div", { className: "hawa-select-none hawa-pt-2 hawa-text-center hawa-text-xs" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ React31.createElement("div", { className: "hawa-select-none hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs" }, texts.maxFileSize, " ", max)),
|
4539
|
-
acceptedFiles.length > 0 && /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg
|
4540
|
-
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ React31.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center
|
4539
|
+
acceptedFiles.length > 0 && /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2" }, /* @__PURE__ */ React31.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
|
4540
|
+
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ React31.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center hawa-gap-2 hawa-rounded-lg hawa-p-2" }, thumbs) : null,
|
4541
4541
|
/* @__PURE__ */ React31.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
|
4542
4542
|
), disclaimer && /* @__PURE__ */ React31.createElement("div", { className: "hawa-mt-2 hawa-text-sm hawa-text-muted-foreground/50" }, (_c = texts.disclaimer) != null ? _c : "By uploading a file you agree to our", " ", /* @__PURE__ */ React31.createElement(
|
4543
4543
|
"a",
|
@@ -5232,7 +5232,7 @@ var ScrollArea = React41.forwardRef(({ className, children, orientation = "verti
|
|
5232
5232
|
"div",
|
5233
5233
|
{
|
5234
5234
|
className: cn(
|
5235
|
-
"hawa-pointer-events-none hawa-absolute hawa-bg-background
|
5235
|
+
"hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-h-full hawa-w-[50px] hawa-z-10 hawa-start-0 hawa-mask-fade-right",
|
5236
5236
|
showLeftFade ? "hawa-block" : "hawa-hidden"
|
5237
5237
|
)
|
5238
5238
|
}
|
@@ -5241,7 +5241,7 @@ var ScrollArea = React41.forwardRef(({ className, children, orientation = "verti
|
|
5241
5241
|
"div",
|
5242
5242
|
{
|
5243
5243
|
className: cn(
|
5244
|
-
"hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-mask-fade-left hawa-end-0 hawa-h-full hawa-w-[50px] hawa-z-10
|
5244
|
+
"hawa-pointer-events-none hawa-absolute hawa-bg-background hawa-mask-fade-left hawa-end-0 hawa-h-full hawa-w-[50px] hawa-z-10",
|
5245
5245
|
showRightFade ? "hawa-block" : "hawa-hidden"
|
5246
5246
|
)
|
5247
5247
|
}
|
@@ -5506,9 +5506,9 @@ var Select = ({
|
|
5506
5506
|
"div",
|
5507
5507
|
{
|
5508
5508
|
className: cn(
|
5509
|
-
"dark:dark-shadow
|
5509
|
+
"dark:dark-shadow hawa-absolute hawa-z-10 -hawa-mx-1 hawa-mt-1 hawa-flex hawa-flex-col hawa-justify-start hawa-rounded hawa-border hawa-bg-background hawa-shadow-md",
|
5510
5510
|
props.phoneCode ? "hawa-p-1.5" : "hawa-w-full hawa-p-1.5",
|
5511
|
-
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95
|
5511
|
+
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95"
|
5512
5512
|
),
|
5513
5513
|
ref: innerRef,
|
5514
5514
|
...innerProps
|
@@ -5690,7 +5690,7 @@ var Switch = React44.forwardRef(
|
|
5690
5690
|
{
|
5691
5691
|
className: cn(
|
5692
5692
|
thumbSize[size],
|
5693
|
-
"hawa-block hawa-rounded
|
5693
|
+
"hawa-block hawa-rounded hawa-transition-transform hawa-duration-100 hawa-will-change-transform",
|
5694
5694
|
"data-[state=checked]:hawa-bg-primary-foreground",
|
5695
5695
|
"hawa-bg-white dark:hawa-bg-background",
|
5696
5696
|
thumbRoundednessStyles[roundedness],
|
@@ -5851,7 +5851,7 @@ var Badge = ({
|
|
5851
5851
|
left: badgePosition == null ? void 0 : badgePosition.left
|
5852
5852
|
},
|
5853
5853
|
className: cn(
|
5854
|
-
"hawa-origin-center hawa-rounded-full
|
5854
|
+
"hawa-origin-center hawa-rounded-full hawa-bg-red-500",
|
5855
5855
|
sizeStyles2[size].classes,
|
5856
5856
|
"hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-text-[9px] hawa-text-white"
|
5857
5857
|
)
|
@@ -7615,7 +7615,7 @@ var PhoneInput = ({
|
|
7615
7615
|
value: countryCode == null ? void 0 : countryCode.label,
|
7616
7616
|
defaultValue: props.preferredCountry
|
7617
7617
|
}
|
7618
|
-
), /* @__PURE__ */ React49.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full
|
7618
|
+
), /* @__PURE__ */ React49.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ React49.createElement(
|
7619
7619
|
"input",
|
7620
7620
|
{
|
7621
7621
|
type: "tel",
|
@@ -7625,7 +7625,7 @@ var PhoneInput = ({
|
|
7625
7625
|
onChange: handleInputChange,
|
7626
7626
|
placeholder: props.placeholder,
|
7627
7627
|
className: cn(
|
7628
|
-
"placeholder:hawa-text-muted-foreground hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent
|
7628
|
+
"placeholder:hawa-text-muted-foreground hawa-block hawa-h-[40px] hawa-w-full hawa-rounded hawa-rounded-l-none hawa-border hawa-border-l-0 hawa-border-l-transparent hawa-bg-background hawa-p-2 hawa-text-sm hawa-transition-all"
|
7629
7629
|
),
|
7630
7630
|
...inputProps
|
7631
7631
|
}
|
@@ -7930,7 +7930,7 @@ var ProgressCircle = React53.forwardRef((props, ref) => {
|
|
7930
7930
|
strokeLinecap: "round",
|
7931
7931
|
className: cn(
|
7932
7932
|
"hawa-transition-colors hawa-ease-linear",
|
7933
|
-
"
|
7933
|
+
"hawa-stroke-primary/20"
|
7934
7934
|
)
|
7935
7935
|
}
|
7936
7936
|
),
|
@@ -8445,7 +8445,7 @@ var SimpleTable = ({
|
|
8445
8445
|
"div",
|
8446
8446
|
{
|
8447
8447
|
className: cn(
|
8448
|
-
"hawa-flex
|
8448
|
+
"hawa-flex hawa-w-full hawa-flex-col hawa-gap-4",
|
8449
8449
|
classNames
|
8450
8450
|
)
|
8451
8451
|
},
|
@@ -8632,7 +8632,7 @@ var CodeBlock = ({
|
|
8632
8632
|
"div",
|
8633
8633
|
{
|
8634
8634
|
className: cn(
|
8635
|
-
"hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t
|
8635
|
+
"hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-1 hawa-bg-primary/15 hawa-pb-0 hawa-font-mono hawa-text-foreground",
|
8636
8636
|
tabs && fileName && "hawa-rounded-t-none",
|
8637
8637
|
classNames == null ? void 0 : classNames.tabs
|
8638
8638
|
)
|
@@ -8642,7 +8642,7 @@ var CodeBlock = ({
|
|
8642
8642
|
{
|
8643
8643
|
key: i,
|
8644
8644
|
className: cn(
|
8645
|
-
selectedTab === i ? "
|
8645
|
+
selectedTab === i ? "hawa-border-b-2 hawa-border-primary" : "hawa-bg-transparent",
|
8646
8646
|
classNames == null ? void 0 : classNames.tab
|
8647
8647
|
)
|
8648
8648
|
},
|
@@ -8651,7 +8651,7 @@ var CodeBlock = ({
|
|
8651
8651
|
{
|
8652
8652
|
onClick: () => setSelectedTab(i),
|
8653
8653
|
className: cn(
|
8654
|
-
"hawa-mb-0.5 hawa-w-full hawa-max-w-[52px] hawa-cursor-pointer hawa-rounded-inner hawa-p-2 hawa-py-0.5 hawa-text-center hawa-text-[0.7rem]
|
8654
|
+
"hawa-mb-0.5 hawa-w-full hawa-max-w-[52px] hawa-cursor-pointer hawa-rounded-inner hawa-p-2 hawa-py-0.5 hawa-text-center hawa-text-[0.7rem] hawa-transition-all hover:hawa-bg-muted-foreground/20"
|
8655
8655
|
)
|
8656
8656
|
},
|
8657
8657
|
tab.title
|
@@ -8672,7 +8672,7 @@ var CodeBlock = ({
|
|
8672
8672
|
"div",
|
8673
8673
|
{
|
8674
8674
|
className: cn(
|
8675
|
-
"hawa-flex hawa-absolute
|
8675
|
+
"hawa-flex hawa-absolute hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-z-50 hawa-right-3 hawa-top-3"
|
8676
8676
|
)
|
8677
8677
|
},
|
8678
8678
|
/* @__PURE__ */ React63.createElement(
|
@@ -8707,7 +8707,7 @@ var CodeBlock = ({
|
|
8707
8707
|
{
|
8708
8708
|
className: cn(
|
8709
8709
|
// !hawa-pe-12
|
8710
|
-
"hawa-min-h-[37.75px]
|
8710
|
+
"hawa-min-h-[37.75px] hawa-w-full hawa-p-4 hawa-font-mono hawa-text-foreground",
|
8711
8711
|
classNames == null ? void 0 : classNames.code,
|
8712
8712
|
wrapText && "hawa-text-wrap"
|
8713
8713
|
)
|
@@ -8762,11 +8762,11 @@ var Carousel = ({
|
|
8762
8762
|
const length = React64.Children.count(items);
|
8763
8763
|
const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
|
8764
8764
|
const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
|
8765
|
-
return /* @__PURE__ */ React64.createElement("div", { className: "
|
8765
|
+
return /* @__PURE__ */ React64.createElement("div", { className: "hawa-relative hawa-h-full" }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ React64.createElement(
|
8766
8766
|
"div",
|
8767
8767
|
{
|
8768
8768
|
key: i,
|
8769
|
-
className: "hawa-flex hawa-h-full hawa-min-w-0
|
8769
|
+
className: "hawa-flex hawa-h-full hawa-min-w-0 hawa-flex-[0_0_100%] hawa-items-center hawa-justify-center"
|
8770
8770
|
},
|
8771
8771
|
item
|
8772
8772
|
))))), /* @__PURE__ */ React64.createElement(
|
@@ -8817,13 +8817,13 @@ var Dots = ({
|
|
8817
8817
|
);
|
8818
8818
|
};
|
8819
8819
|
var CarouselControls = (props) => {
|
8820
|
-
return /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2
|
8820
|
+
return /* @__PURE__ */ React64.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2" }, /* @__PURE__ */ React64.createElement(
|
8821
8821
|
"button",
|
8822
8822
|
{
|
8823
8823
|
onClick: () => props.canScrollPrev && props.onPrev(),
|
8824
8824
|
disabled: !props.canScrollPrev,
|
8825
8825
|
className: cn(
|
8826
|
-
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white
|
8826
|
+
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white",
|
8827
8827
|
!props.canScrollPrev && "hawa-bg-primary/50",
|
8828
8828
|
props.canScrollPrev && "hawa-bg-primary"
|
8829
8829
|
)
|
@@ -8835,7 +8835,7 @@ var CarouselControls = (props) => {
|
|
8835
8835
|
stroke: "currentColor",
|
8836
8836
|
fill: "currentColor",
|
8837
8837
|
viewBox: "0 0 16 16",
|
8838
|
-
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200
|
8838
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200"
|
8839
8839
|
},
|
8840
8840
|
/* @__PURE__ */ React64.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
|
8841
8841
|
)
|
@@ -8845,7 +8845,7 @@ var CarouselControls = (props) => {
|
|
8845
8845
|
onClick: () => props.canScrollNext && props.onNext(),
|
8846
8846
|
disabled: !props.canScrollNext,
|
8847
8847
|
className: cn(
|
8848
|
-
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white
|
8848
|
+
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white",
|
8849
8849
|
!props.canScrollNext && "hawa-bg-primary/50",
|
8850
8850
|
props.canScrollNext && "hawa-bg-primary"
|
8851
8851
|
)
|
@@ -8857,7 +8857,7 @@ var CarouselControls = (props) => {
|
|
8857
8857
|
stroke: "currentColor",
|
8858
8858
|
fill: "currentColor",
|
8859
8859
|
viewBox: "0 0 16 16",
|
8860
|
-
className: "hawa-h-2 hawa-w-2
|
8860
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200"
|
8861
8861
|
},
|
8862
8862
|
/* @__PURE__ */ React64.createElement("path", { d: "M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z" })
|
8863
8863
|
)
|
@@ -9039,7 +9039,7 @@ function Toaster(props) {
|
|
9039
9039
|
)
|
9040
9040
|
},
|
9041
9041
|
/* @__PURE__ */ React67.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React67.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React67.createElement(ToastDescription, { size }, description)),
|
9042
|
-
action && /* @__PURE__ */ React67.createElement("div", { className: "hawa-flex
|
9042
|
+
action && /* @__PURE__ */ React67.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
|
9043
9043
|
)
|
9044
9044
|
));
|
9045
9045
|
}), /* @__PURE__ */ React67.createElement(
|
@@ -9203,7 +9203,7 @@ var InterfaceSettings = ({
|
|
9203
9203
|
viewBox: "0 0 24 24",
|
9204
9204
|
fill: "none",
|
9205
9205
|
stroke: "currentColor",
|
9206
|
-
className: "hawa-h-[1.2rem] hawa-w-[1.2rem]
|
9206
|
+
className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
|
9207
9207
|
},
|
9208
9208
|
/* @__PURE__ */ React69.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
|
9209
9209
|
)
|
@@ -9247,7 +9247,7 @@ var Stats = ({
|
|
9247
9247
|
"div",
|
9248
9248
|
{
|
9249
9249
|
className: cn(
|
9250
|
-
"hawa-my-0 hawa-text-start
|
9250
|
+
"hawa-my-0 hawa-text-start hawa-text-xs hawa-transition-all",
|
9251
9251
|
helperTextColorStyles[helperTextColor],
|
9252
9252
|
helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
|
9253
9253
|
)
|
@@ -9355,7 +9355,7 @@ var SidebarItem = ({
|
|
9355
9355
|
AccordionItem2,
|
9356
9356
|
{
|
9357
9357
|
value: item.value,
|
9358
|
-
className: "hawa-overflow-x-clip
|
9358
|
+
className: "hawa-overflow-x-clip",
|
9359
9359
|
dir: direction
|
9360
9360
|
},
|
9361
9361
|
/* @__PURE__ */ React72.createElement(
|
@@ -9363,7 +9363,7 @@ var SidebarItem = ({
|
|
9363
9363
|
{
|
9364
9364
|
className: cn(
|
9365
9365
|
"hawa-w-full hawa-overflow-x-clip",
|
9366
|
-
props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary
|
9366
|
+
props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
|
9367
9367
|
item.subitems && item.subitems.some(
|
9368
9368
|
(subitem) => props.selectedItem === subitem.value
|
9369
9369
|
) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
|
@@ -9382,7 +9382,7 @@ var SidebarItem = ({
|
|
9382
9382
|
"span",
|
9383
9383
|
{
|
9384
9384
|
className: cn(
|
9385
|
-
"hawa-transition-all
|
9385
|
+
"hawa-transition-all",
|
9386
9386
|
isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
|
9387
9387
|
)
|
9388
9388
|
},
|
@@ -9417,7 +9417,7 @@ var SidebarItem = ({
|
|
9417
9417
|
}
|
9418
9418
|
},
|
9419
9419
|
className: cn(
|
9420
|
-
"hawa-flex hawa-h-full hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-2 hawa-overflow-x-clip
|
9420
|
+
"hawa-flex hawa-h-full hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-2 hawa-overflow-x-clip hawa-whitespace-nowrap hawa-rounded hawa-p-2 hawa-transition-all",
|
9421
9421
|
// bg-foreground/10
|
9422
9422
|
getSelectedStyle(subitem.value)
|
9423
9423
|
)
|
@@ -9449,7 +9449,7 @@ var SidebarItem = ({
|
|
9449
9449
|
className: cn(
|
9450
9450
|
triggerStyles,
|
9451
9451
|
getSelectedStyle(item.value),
|
9452
|
-
"hawa-overflow-x-clip
|
9452
|
+
"hawa-overflow-x-clip"
|
9453
9453
|
)
|
9454
9454
|
},
|
9455
9455
|
/* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React72.createElement(
|
@@ -9492,13 +9492,13 @@ var Navbar = ({
|
|
9492
9492
|
}) => {
|
9493
9493
|
var _a, _b;
|
9494
9494
|
const [isOpen, setIsOpen] = useState36(false);
|
9495
|
-
return /* @__PURE__ */ React74.createElement("nav", { className: "
|
9495
|
+
return /* @__PURE__ */ React74.createElement("nav", { className: "hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ React74.createElement(
|
9496
9496
|
Collapsible,
|
9497
9497
|
{
|
9498
|
-
className: "hawa-relative hawa-m-2 hawa-rounded
|
9498
|
+
className: "hawa-relative hawa-m-2 hawa-rounded hawa-p-2",
|
9499
9499
|
style: { backgroundColor: backgroundColor || "#1f2937" }
|
9500
9500
|
},
|
9501
|
-
/* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3
|
9501
|
+
/* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3" }, /* @__PURE__ */ React74.createElement("div", { className: "hawa-flex hawa-items-center" }, /* @__PURE__ */ React74.createElement(
|
9502
9502
|
"div",
|
9503
9503
|
{
|
9504
9504
|
className: "hawa-p-1.5 hawa-text-xl hawa-font-bold hawa-text-white",
|
@@ -9509,7 +9509,7 @@ var Navbar = ({
|
|
9509
9509
|
}
|
9510
9510
|
},
|
9511
9511
|
logo
|
9512
|
-
)), /* @__PURE__ */ React74.createElement("div", { className: "hawa-hidden md:hawa-flex
|
9512
|
+
)), /* @__PURE__ */ React74.createElement("div", { className: "hawa-hidden md:hawa-flex" }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ React74.createElement(
|
9513
9513
|
"div",
|
9514
9514
|
{
|
9515
9515
|
key: i,
|
@@ -9521,7 +9521,7 @@ var Navbar = ({
|
|
9521
9521
|
CollapsibleTrigger2,
|
9522
9522
|
{
|
9523
9523
|
onClick: () => setIsOpen(!isOpen),
|
9524
|
-
className: "hawa-h-full hawa-text-white selection:hawa-p-0
|
9524
|
+
className: "hawa-h-full hawa-text-white selection:hawa-p-0",
|
9525
9525
|
"aria-label": "Toggle menu"
|
9526
9526
|
},
|
9527
9527
|
/* @__PURE__ */ React74.createElement(
|
@@ -9573,7 +9573,7 @@ var Navbar = ({
|
|
9573
9573
|
"data-[state=closed]:hawa-opacity-0",
|
9574
9574
|
"data-[state=open]:hawa-animate-in",
|
9575
9575
|
"data-[state=open]:hawa-fade-in-90",
|
9576
|
-
"hawa-absolute hawa-left-0 hawa-top-[60px] hawa-flex hawa-flex-col
|
9576
|
+
"hawa-absolute hawa-left-0 hawa-top-[60px] hawa-flex hawa-flex-col hawa-rounded hawa-border hawa-bg-gray-200 hawa-p-1 hawa-transition-all"
|
9577
9577
|
// "hawa-transition-all hawa-bg-gray-400 hawa-fixed hawa-left-0 hawa-top-[72px] hawa-w-full hawa-flex hawa-flex-col"
|
9578
9578
|
),
|
9579
9579
|
style: {
|
@@ -9723,7 +9723,7 @@ var AppLayout = ({
|
|
9723
9723
|
"div",
|
9724
9724
|
{
|
9725
9725
|
onClick: () => setOpenSideMenu(true),
|
9726
|
-
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2
|
9726
|
+
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all"
|
9727
9727
|
},
|
9728
9728
|
/* @__PURE__ */ React75.createElement(MenuIcon, null)
|
9729
9729
|
),
|
@@ -9746,7 +9746,7 @@ var AppLayout = ({
|
|
9746
9746
|
"div",
|
9747
9747
|
{
|
9748
9748
|
onClick: onAvatarClick,
|
9749
|
-
className: "hawa-relative hawa-h-8 hawa-w-8
|
9749
|
+
className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600"
|
9750
9750
|
},
|
9751
9751
|
props.avatarImage ? /* @__PURE__ */ React75.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React75.createElement(
|
9752
9752
|
"svg",
|
@@ -9806,7 +9806,7 @@ var AppLayout = ({
|
|
9806
9806
|
onClick: props.onLogoClick,
|
9807
9807
|
dir: direction,
|
9808
9808
|
className: cn(
|
9809
|
-
"hawa-fixed hawa-z-50
|
9809
|
+
"hawa-fixed hawa-z-50 hawa-mb-2 hawa-flex hawa-h-14 hawa-w-full hawa-flex-row hawa-items-center hawa-justify-center hawa-transition-all",
|
9810
9810
|
props.onLogoClick && "hawa-cursor-pointer",
|
9811
9811
|
classNames == null ? void 0 : classNames.logoContainer
|
9812
9812
|
),
|
@@ -9868,7 +9868,7 @@ var AppLayout = ({
|
|
9868
9868
|
"div",
|
9869
9869
|
{
|
9870
9870
|
className: cn(
|
9871
|
-
"hawa-fixed hawa-bottom-0 hawa-flex hawa-h-14
|
9871
|
+
"hawa-fixed hawa-bottom-0 hawa-flex hawa-h-14 hawa-items-center hawa-justify-center hawa-gap-2 hawa-overflow-clip hawa-transition-all",
|
9872
9872
|
direction === "rtl" ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
9873
9873
|
),
|
9874
9874
|
style: {
|
@@ -9902,7 +9902,7 @@ var AppLayout = ({
|
|
9902
9902
|
"svg",
|
9903
9903
|
{
|
9904
9904
|
className: cn(
|
9905
|
-
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-text-primary hawa-transition-all
|
9905
|
+
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-text-primary hawa-transition-all disabled:hawa-bg-gray-200",
|
9906
9906
|
keepDrawerOpen ? isRTL ? "hawa--rotate-90" : "hawa-rotate-90" : isRTL ? "hawa-rotate-90" : "hawa--rotate-90"
|
9907
9907
|
),
|
9908
9908
|
fill: "currentColor",
|
@@ -9926,11 +9926,11 @@ var AppLayout = ({
|
|
9926
9926
|
open: size < 600 && openSideMenu,
|
9927
9927
|
onOpenChange: setOpenSideMenu
|
9928
9928
|
},
|
9929
|
-
/* @__PURE__ */ React75.createElement(Dialog3.Portal, { container }, /* @__PURE__ */ React75.createElement(Dialog3.Overlay, { className: "hawa-fixed hawa-inset-0 hawa-bg-foreground/20 hawa-backdrop-blur-[2px] data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out hawa-z-10
|
9929
|
+
/* @__PURE__ */ React75.createElement(Dialog3.Portal, { container }, /* @__PURE__ */ React75.createElement(Dialog3.Overlay, { className: "hawa-fixed hawa-inset-0 hawa-bg-foreground/20 hawa-backdrop-blur-[2px] data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out hawa-z-10 data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0" }))
|
9930
9930
|
), /* @__PURE__ */ React75.createElement(
|
9931
9931
|
"div",
|
9932
9932
|
{
|
9933
|
-
className: "hawa-fixed hawa-overflow-y-auto
|
9933
|
+
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all hawa-z-0",
|
9934
9934
|
style: isRTL ? {
|
9935
9935
|
left: "0px",
|
9936
9936
|
top: props.topBar ? "56px" : "0px",
|
@@ -9975,7 +9975,7 @@ var AppTopbar = ({ ...props }) => {
|
|
9975
9975
|
/* @__PURE__ */ React76.createElement(
|
9976
9976
|
"div",
|
9977
9977
|
{
|
9978
|
-
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer
|
9978
|
+
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
9979
9979
|
},
|
9980
9980
|
/* @__PURE__ */ React76.createElement(
|
9981
9981
|
"svg",
|
@@ -10029,7 +10029,7 @@ var AppTopbar = ({ ...props }) => {
|
|
10029
10029
|
direction: isRTL ? "rtl" : "ltr",
|
10030
10030
|
items: props.profileMenuItems || [],
|
10031
10031
|
onItemSelect: (e) => console.log("selecting item ", e),
|
10032
|
-
trigger: /* @__PURE__ */ React76.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8
|
10032
|
+
trigger: /* @__PURE__ */ React76.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8 hawa-cursor-pointer hawa-overflow-clip hawa-rounded hawa-ring-1 hawa-ring-primary/30 dark:hawa-bg-gray-600" }, props.avatarImage ? /* @__PURE__ */ React76.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ React76.createElement(
|
10033
10033
|
"svg",
|
10034
10034
|
{
|
10035
10035
|
"aria-label": "Avatar Icon",
|
@@ -10267,7 +10267,7 @@ var AppTabs = ({ tabs, className }) => {
|
|
10267
10267
|
className
|
10268
10268
|
)
|
10269
10269
|
},
|
10270
|
-
/* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center
|
10270
|
+
/* @__PURE__ */ React78.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
|
10271
10271
|
const selected = index === selectedIndex;
|
10272
10272
|
return /* @__PURE__ */ React78.createElement(
|
10273
10273
|
"a",
|
@@ -10286,7 +10286,7 @@ var AppTabs = ({ tabs, className }) => {
|
|
10286
10286
|
setSelectedIndex(index);
|
10287
10287
|
},
|
10288
10288
|
className: cn(
|
10289
|
-
"hawa-z-10 hawa-flex hawa-items-center hawa-translate-y-[1.1px] hawa-select-none hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-4 hawa-py-2 hawa-text-sm hawa-transition-all
|
10289
|
+
"hawa-z-10 hawa-flex hawa-items-center hawa-translate-y-[1.1px] hawa-select-none hawa-flex-row hawa-gap-2 hawa-rounded-t hawa-p-4 hawa-py-2 hawa-text-sm hawa-transition-all",
|
10290
10290
|
"hawa-border",
|
10291
10291
|
// Always have a border but make it transparent
|
10292
10292
|
selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
|
@@ -10355,7 +10355,7 @@ var DocsSidebar = ({
|
|
10355
10355
|
{
|
10356
10356
|
key: index,
|
10357
10357
|
className: cn(
|
10358
|
-
"hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3
|
10358
|
+
"hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
|
10359
10359
|
(propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
|
10360
10360
|
),
|
10361
10361
|
onClick: (event) => handlePageClick(page, event)
|
@@ -10458,7 +10458,7 @@ var DocsLayout = ({
|
|
10458
10458
|
"img",
|
10459
10459
|
{
|
10460
10460
|
className: cn(
|
10461
|
-
"hawa-h-8
|
10461
|
+
"hawa-h-8 hawa-opacity-0 hawa-transition-all",
|
10462
10462
|
!openSideMenu ? "hawa-invisible hawa-opacity-0" : "hawa-visible hawa-opacity-100"
|
10463
10463
|
),
|
10464
10464
|
src: props.logoLink
|
@@ -10474,7 +10474,7 @@ var DocsLayout = ({
|
|
10474
10474
|
/* @__PURE__ */ React80.createElement(Sheet, null, /* @__PURE__ */ React80.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React80.createElement(
|
10475
10475
|
"div",
|
10476
10476
|
{
|
10477
|
-
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer
|
10477
|
+
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
10478
10478
|
},
|
10479
10479
|
/* @__PURE__ */ React80.createElement(
|
10480
10480
|
"svg",
|
@@ -10521,9 +10521,9 @@ var DocsLayout = ({
|
|
10521
10521
|
"div",
|
10522
10522
|
{
|
10523
10523
|
className: cn(
|
10524
|
-
"hawa-fixed hawa-z-40 hawa-flex hawa-flex-col
|
10524
|
+
"hawa-fixed hawa-z-40 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-bg-primary-foreground hawa-transition-all",
|
10525
10525
|
isRTL ? "hawa-right-0 hawa-top-0 hawa-h-full" : "hawa-left-0 hawa-top-0 hawa-h-full",
|
10526
|
-
"hawa-fixed
|
10526
|
+
"hawa-fixed hawa-overflow-x-clip hawa-p-0 hawa-py-2 hawa-transition-all",
|
10527
10527
|
"hawa-top-14",
|
10528
10528
|
openSideMenu ? "hawa-overflow-auto" : "hawa-overflow-hidden"
|
10529
10529
|
),
|
@@ -10551,7 +10551,7 @@ var DocsLayout = ({
|
|
10551
10551
|
), /* @__PURE__ */ React80.createElement(
|
10552
10552
|
"div",
|
10553
10553
|
{
|
10554
|
-
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all
|
10554
|
+
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all",
|
10555
10555
|
style: isRTL ? {
|
10556
10556
|
height: "calc(100% - 56px)",
|
10557
10557
|
width: `calc(100% - ${drawerSizeCondition}px)`,
|
@@ -10807,7 +10807,7 @@ var LoginForm = ({
|
|
10807
10807
|
"div",
|
10808
10808
|
{
|
10809
10809
|
onClick: props.onForgotPassword,
|
10810
|
-
className: "hawa-mb-3
|
10810
|
+
className: "hawa-mb-3 hawa-mt-2 hawa-w-fit hawa-cursor-pointer hawa-select-none hawa-text-xs dark:hawa-text-gray-300"
|
10811
10811
|
},
|
10812
10812
|
(texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
|
10813
10813
|
)));
|
@@ -11358,7 +11358,7 @@ var RegisterForm = ({
|
|
11358
11358
|
/* @__PURE__ */ React83.createElement(
|
11359
11359
|
Button,
|
11360
11360
|
{
|
11361
|
-
className: "
|
11361
|
+
className: "hawa-w-full",
|
11362
11362
|
type: "submit",
|
11363
11363
|
isLoading: props.isLoading,
|
11364
11364
|
disabled: props.isLoading
|
@@ -11366,7 +11366,7 @@ var RegisterForm = ({
|
|
11366
11366
|
(texts == null ? void 0 : texts.registerText) || "Register"
|
11367
11367
|
),
|
11368
11368
|
props.additionalButtons
|
11369
|
-
)), props.onRouteToLogin && /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center
|
11369
|
+
)), props.onRouteToLogin && /* @__PURE__ */ React83.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center hawa-text-sm hawa-font-normal dark:hawa-text-white" }, /* @__PURE__ */ React83.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ React83.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))),
|
11370
11370
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ React83.createElement(
|
11371
11371
|
CardFooter,
|
11372
11372
|
{
|
@@ -11439,7 +11439,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
11439
11439
|
// blocks/auth/CheckEmail.tsx
|
11440
11440
|
import React85 from "react";
|
11441
11441
|
var CheckEmail = ({ texts, handleResend }) => {
|
11442
|
-
return /* @__PURE__ */ React85.createElement(Card, null, /* @__PURE__ */ React85.createElement(CardContent, { headless: true }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 hawa-flex-col hawa-items-center hawa-justify-center hawa-rounded-3xl hawa-bg-primary hawa-text-6xl hawa-font-bold
|
11442
|
+
return /* @__PURE__ */ React85.createElement(Card, null, /* @__PURE__ */ React85.createElement(CardContent, { headless: true }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React85.createElement("div", { className: "hawa-flex hawa-h-16 hawa-w-16 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__ */ React85.createElement(
|
11443
11443
|
"svg",
|
11444
11444
|
{
|
11445
11445
|
stroke: "currentColor",
|
@@ -11454,7 +11454,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
11454
11454
|
},
|
11455
11455
|
/* @__PURE__ */ React85.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
|
11456
11456
|
/* @__PURE__ */ React85.createElement("polyline", { points: "22,6 12,13 2,6" })
|
11457
|
-
)), /* @__PURE__ */ React85.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React85.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React85.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center
|
11457
|
+
)), /* @__PURE__ */ React85.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ React85.createElement("div", { className: "hawa-text-sm" }, (texts == null ? void 0 : texts.pleaseVerify) || "Thank you for signing up! To complete your registration, we've sent a verification email to the address you provided. Please check your inbox and follow the instructions in the email to activate your account."))), /* @__PURE__ */ React85.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ React85.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
11458
11458
|
};
|
11459
11459
|
|
11460
11460
|
// blocks/auth/NewPassword.tsx
|
@@ -11722,7 +11722,7 @@ var CodeConfirmation = ({
|
|
11722
11722
|
}
|
11723
11723
|
}
|
11724
11724
|
),
|
11725
|
-
showResendTimer ? /* @__PURE__ */ React88.createElement("div", { className: "
|
11725
|
+
showResendTimer ? /* @__PURE__ */ React88.createElement("div", { className: "hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, (_e = props.texts) == null ? void 0 : _e.resendCodeTimer, " ", /* @__PURE__ */ React88.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ React88.createElement("div", { className: "hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ React88.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ React88.createElement(
|
11726
11726
|
"span",
|
11727
11727
|
{
|
11728
11728
|
className: "clickable-link",
|
@@ -11933,7 +11933,7 @@ var FeedbackRating = ({
|
|
11933
11933
|
{
|
11934
11934
|
ref: popUpRef,
|
11935
11935
|
className: cn(
|
11936
|
-
props.banner ? "hawa-fixed hawa-bottom-0 hawa-left-0 hawa-w-full hawa-px-0 md:hawa-px-4" : "hawa-fixed hawa-bottom-4
|
11936
|
+
props.banner ? "hawa-fixed hawa-bottom-0 hawa-left-0 hawa-w-full hawa-px-0 md:hawa-px-4" : "hawa-fixed hawa-bottom-4",
|
11937
11937
|
boxPosition[position]
|
11938
11938
|
)
|
11939
11939
|
},
|
@@ -11941,7 +11941,7 @@ var FeedbackRating = ({
|
|
11941
11941
|
"div",
|
11942
11942
|
{
|
11943
11943
|
className: cn(
|
11944
|
-
"hawa-relative hawa-flex hawa-w-full
|
11944
|
+
"hawa-relative hawa-flex hawa-w-full hawa-flex-col hawa-gap-2 hawa-rounded hawa-border hawa-bg-background hawa-p-4 hawa-shadow-md hawa-transition-all",
|
11945
11945
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
11946
11946
|
props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
|
11947
11947
|
)
|
@@ -11997,13 +11997,13 @@ var FeedbackRating = ({
|
|
11997
11997
|
}, 5300);
|
11998
11998
|
},
|
11999
11999
|
className: cn(
|
12000
|
-
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border
|
12000
|
+
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border hawa-p-4 hawa-text-center hawa-transition-all",
|
12001
12001
|
clickedOption === op ? "hawa-bg-gray-500 hawa-text-white" : "hawa-border hawa-bg-background hover:hawa-bg-gray-300 dark:hover:hawa-bg-gray-700"
|
12002
12002
|
)
|
12003
12003
|
},
|
12004
12004
|
op
|
12005
12005
|
))),
|
12006
|
-
props.texts && /* @__PURE__ */ React90.createElement("div", { className: "
|
12006
|
+
props.texts && /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ React90.createElement("span", null, props.texts.least), /* @__PURE__ */ React90.createElement("span", null, props.texts.most)),
|
12007
12007
|
answered && /* @__PURE__ */ React90.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-rounded hawa-bg-black hawa-bg-opacity-80 hawa-p-4 hawa-text-center hawa-transition-all" }, /* @__PURE__ */ React90.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ React90.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React90.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
|
12008
12008
|
)
|
12009
12009
|
);
|
@@ -12044,11 +12044,11 @@ var FeedbackEmoji = (props) => {
|
|
12044
12044
|
"div",
|
12045
12045
|
{
|
12046
12046
|
className: cn(
|
12047
|
-
"hawa-flex
|
12048
|
-
selectedEmoji ? "hawa-h-[189px]
|
12047
|
+
"hawa-flex hawa-flex-col hawa-rounded hawa-border hawa-p-2 hawa-transition-all",
|
12048
|
+
selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px]"
|
12049
12049
|
)
|
12050
12050
|
},
|
12051
|
-
/* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-row
|
12051
|
+
/* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5" }, emojis.map((emoji, i) => /* @__PURE__ */ React91.createElement(
|
12052
12052
|
Button,
|
12053
12053
|
{
|
12054
12054
|
key: i,
|
@@ -12062,7 +12062,7 @@ var FeedbackEmoji = (props) => {
|
|
12062
12062
|
variant: "ghost",
|
12063
12063
|
size: "smallIcon",
|
12064
12064
|
className: cn(
|
12065
|
-
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10
|
12065
|
+
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10" : "hawa-text-[#666666]"
|
12066
12066
|
)
|
12067
12067
|
},
|
12068
12068
|
emoji.icon
|
@@ -12071,11 +12071,11 @@ var FeedbackEmoji = (props) => {
|
|
12071
12071
|
"div",
|
12072
12072
|
{
|
12073
12073
|
className: cn(
|
12074
|
-
"hawa-flex hawa-flex-col hawa-overflow-clip
|
12075
|
-
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0
|
12074
|
+
"hawa-flex hawa-flex-col hawa-overflow-clip hawa-transition-all hawa-duration-500 hawa-ease-in-out",
|
12075
|
+
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0"
|
12076
12076
|
)
|
12077
12077
|
},
|
12078
|
-
props.showSuccess ? /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2
|
12078
|
+
props.showSuccess ? /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ React91.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ React91.createElement(
|
12079
12079
|
"svg",
|
12080
12080
|
{
|
12081
12081
|
stroke: "currentColor",
|
@@ -12089,7 +12089,7 @@ var FeedbackEmoji = (props) => {
|
|
12089
12089
|
)), /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ React91.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ React91.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ React91.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ React91.createElement(
|
12090
12090
|
Popover,
|
12091
12091
|
{
|
12092
|
-
className: "hawa-select-none hawa-p-1 hawa-text-xs
|
12092
|
+
className: "hawa-select-none hawa-p-1 hawa-text-xs",
|
12093
12093
|
open: helperText,
|
12094
12094
|
trigger: /* @__PURE__ */ React91.createElement(
|
12095
12095
|
Textarea,
|
@@ -12231,7 +12231,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
12231
12231
|
ScrollArea,
|
12232
12232
|
{
|
12233
12233
|
className: cn(
|
12234
|
-
"hawa-rounded
|
12234
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
12235
12235
|
props.scrollAreaClassName
|
12236
12236
|
)
|
12237
12237
|
},
|
@@ -12243,7 +12243,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
12243
12243
|
// blocks/misc/EmptyState.tsx
|
12244
12244
|
import React94 from "react";
|
12245
12245
|
var EmptyState = ({ texts, onActionClick }) => {
|
12246
|
-
return /* @__PURE__ */ React94.createElement(Card, null, /* @__PURE__ */ React94.createElement(CardContent, { headless: true }, /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center
|
12246
|
+
return /* @__PURE__ */ React94.createElement(Card, null, /* @__PURE__ */ React94.createElement(CardContent, { headless: true }, /* @__PURE__ */ React94.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React94.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__ */ React94.createElement(
|
12247
12247
|
"svg",
|
12248
12248
|
{
|
12249
12249
|
stroke: "currentColor",
|
@@ -12272,7 +12272,7 @@ var Testimonial = () => {
|
|
12272
12272
|
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",
|
12273
12273
|
fill: "#FFFFFF"
|
12274
12274
|
}
|
12275
|
-
)), /* @__PURE__ */ React95.createElement("span", { className: "border border-l
|
12275
|
+
)), /* @__PURE__ */ React95.createElement("span", { className: "border border-l" }), " ", /* @__PURE__ */ React95.createElement("div", null, /* @__PURE__ */ React95.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ React95.createElement("div", null, " Chief Information Security Officer")))));
|
12276
12276
|
};
|
12277
12277
|
|
12278
12278
|
// blocks/misc/LeadGenerator.tsx
|
@@ -12327,7 +12327,7 @@ var Announcement = ({
|
|
12327
12327
|
headless: true,
|
12328
12328
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
12329
12329
|
},
|
12330
|
-
/* @__PURE__ */ React97.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center
|
12330
|
+
/* @__PURE__ */ React97.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ React97.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ React97.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
12331
12331
|
/* @__PURE__ */ React97.createElement(
|
12332
12332
|
Button,
|
12333
12333
|
{
|
@@ -12342,13 +12342,13 @@ var Announcement = ({
|
|
12342
12342
|
// blocks/misc/NotFound.tsx
|
12343
12343
|
import React98 from "react";
|
12344
12344
|
var NotFound = ({ texts }) => {
|
12345
|
-
return /* @__PURE__ */ React98.createElement(Card, null, /* @__PURE__ */ React98.createElement(CardContent, { headless: true }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold
|
12345
|
+
return /* @__PURE__ */ React98.createElement(Card, null, /* @__PURE__ */ React98.createElement(CardContent, { headless: true }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ React98.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold" }, "404"), /* @__PURE__ */ React98.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__ */ React98.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ React98.createElement(React98.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ React98.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ React98.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
12346
12346
|
};
|
12347
12347
|
|
12348
12348
|
// blocks/misc/NoPermission.tsx
|
12349
12349
|
import React99 from "react";
|
12350
12350
|
var NoPermission = ({ texts }) => {
|
12351
|
-
return /* @__PURE__ */ React99.createElement(Card, null, /* @__PURE__ */ React99.createElement(CardContent, { headless: true }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React99.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
|
12351
|
+
return /* @__PURE__ */ React99.createElement(Card, null, /* @__PURE__ */ React99.createElement(CardContent, { headless: true }, /* @__PURE__ */ React99.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ React99.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__ */ React99.createElement(
|
12352
12352
|
"svg",
|
12353
12353
|
{
|
12354
12354
|
stroke: "currentColor",
|
@@ -12599,7 +12599,7 @@ var ActionCard = (props) => {
|
|
12599
12599
|
onMouseEnter: () => setHovered(true),
|
12600
12600
|
onMouseLeave: () => setHovered(false)
|
12601
12601
|
},
|
12602
|
-
props.blank ? /* @__PURE__ */ React101.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center
|
12602
|
+
props.blank ? /* @__PURE__ */ React101.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React101.createElement(
|
12603
12603
|
"svg",
|
12604
12604
|
{
|
12605
12605
|
className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
|
@@ -12664,7 +12664,7 @@ var AdCard = ({
|
|
12664
12664
|
className: cn(cardStyles[orientation], props.className),
|
12665
12665
|
onClick: props.handleClick
|
12666
12666
|
},
|
12667
|
-
/* @__PURE__ */ React102.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full
|
12667
|
+
/* @__PURE__ */ React102.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ React102.createElement(
|
12668
12668
|
"img",
|
12669
12669
|
{
|
12670
12670
|
src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
|
@@ -12709,9 +12709,9 @@ var PricingCard = ({
|
|
12709
12709
|
}) => {
|
12710
12710
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
12711
12711
|
let cardSizes = {
|
12712
|
-
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
12713
|
-
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
12714
|
-
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
12712
|
+
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
12713
|
+
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
12714
|
+
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background"
|
12715
12715
|
};
|
12716
12716
|
return /* @__PURE__ */ React103.createElement(React103.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ React103.createElement(
|
12717
12717
|
Skeleton,
|
@@ -12724,21 +12724,21 @@ var PricingCard = ({
|
|
12724
12724
|
{
|
12725
12725
|
dir: direction,
|
12726
12726
|
className: cn(
|
12727
|
-
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70
|
12727
|
+
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70" : "hawa-border",
|
12728
12728
|
cardSizes[size],
|
12729
|
-
"hawa-relative hawa-flex
|
12729
|
+
"hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-gap-4 hawa-p-4",
|
12730
12730
|
recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
|
12731
12731
|
)
|
12732
12732
|
},
|
12733
12733
|
recommended && /* @__PURE__ */ React103.createElement(
|
12734
12734
|
"div",
|
12735
12735
|
{
|
12736
|
-
className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2
|
12736
|
+
className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2 hawa-text-center hawa-text-primary-foreground",
|
12737
12737
|
style: { width: "calc(100% + 2px)" }
|
12738
12738
|
},
|
12739
12739
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
12740
12740
|
),
|
12741
|
-
/* @__PURE__ */ React103.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React103.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React103.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React103.createElement("h5", { className: "hawa-text-sm
|
12741
|
+
/* @__PURE__ */ React103.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ React103.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ React103.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ React103.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ React103.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ React103.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ React103.createElement("div", { className: "hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ React103.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0" }) : /* @__PURE__ */ React103.createElement(React103.Fragment, null, props.noPrice ? /* @__PURE__ */ React103.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ React103.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ React103.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ React103.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ React103.createElement("span", { className: "hawa-ml-1 hawa-whitespace-nowrap hawa-text-xl hawa-font-normal hawa-text-primary/70" }, "/ ", (_g = props.texts) == null ? void 0 : _g.cycleText)))), endButton && /* @__PURE__ */ React103.createElement(Separator2, null), /* @__PURE__ */ React103.createElement(
|
12742
12742
|
"div",
|
12743
12743
|
{
|
12744
12744
|
className: cn(
|
@@ -12774,7 +12774,7 @@ var PricingCard = ({
|
|
12774
12774
|
clipRule: "evenodd"
|
12775
12775
|
}
|
12776
12776
|
)
|
12777
|
-
) : /* @__PURE__ */ React103.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React103.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70
|
12777
|
+
) : /* @__PURE__ */ React103.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ React103.createElement("span", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap hawa-text-start hawa-font-normal hawa-leading-tight hawa-text-primary/70" }, feature.text, " ", feature.soon && feature.included && /* @__PURE__ */ React103.createElement(
|
12778
12778
|
Chip,
|
12779
12779
|
{
|
12780
12780
|
label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
|
@@ -12868,7 +12868,7 @@ var ItemCard = ({
|
|
12868
12868
|
{
|
12869
12869
|
className: cn(
|
12870
12870
|
defaultStyle,
|
12871
|
-
props.onCardClick && "
|
12871
|
+
props.onCardClick && "hawa-cursor-pointer hover:hawa-shadow-lg",
|
12872
12872
|
orientationStyles[orientation],
|
12873
12873
|
props.className
|
12874
12874
|
),
|
@@ -12888,7 +12888,7 @@ var ItemCard = ({
|
|
12888
12888
|
clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
|
12889
12889
|
)
|
12890
12890
|
}
|
12891
|
-
), clickableImage && /* @__PURE__ */ React104.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React104.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100
|
12891
|
+
), clickableImage && /* @__PURE__ */ React104.createElement(StopPropagationWrapper, null, /* @__PURE__ */ React104.createElement("div", { className: "hawa-absolute hawa-left-0 hawa-top-0 hawa-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-center hawa-opacity-0 hawa-transition-all group-hover:hawa-opacity-100" }, /* @__PURE__ */ React104.createElement(
|
12892
12892
|
Button,
|
12893
12893
|
{
|
12894
12894
|
variant: "secondary",
|
@@ -12922,7 +12922,7 @@ var ItemCard = ({
|
|
12922
12922
|
)
|
12923
12923
|
)
|
12924
12924
|
}
|
12925
|
-
))), /* @__PURE__ */ React104.createElement("div", { className: "
|
12925
|
+
))), /* @__PURE__ */ React104.createElement("div", { className: "hawa-mx-2" }, header && /* @__PURE__ */ React104.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight" }, header), content && /* @__PURE__ */ React104.createElement("span", { className: "hawa-w-full hawa-font-normal" }, content)), actions || counts ? /* @__PURE__ */ React104.createElement(
|
12926
12926
|
"div",
|
12927
12927
|
{
|
12928
12928
|
className: cn(
|
@@ -13071,7 +13071,7 @@ var ComparingPlans = (props) => {
|
|
13071
13071
|
key: i,
|
13072
13072
|
className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
|
13073
13073
|
},
|
13074
|
-
/* @__PURE__ */ React107.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React107.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React107.createElement("span", { className: "hawa-text-md hawa-font-bold
|
13074
|
+
/* @__PURE__ */ React107.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React107.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React107.createElement("span", { className: "hawa-text-md hawa-font-bold" }, plan.texts.title), /* @__PURE__ */ React107.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground" }, plan.texts.subtitle)), /* @__PURE__ */ React107.createElement("div", { className: "hawa-flex hawa-items-baseline" }, /* @__PURE__ */ React107.createElement(React107.Fragment, null, /* @__PURE__ */ React107.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React107.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React107.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal" }, "/ ", plan.texts.cycleText)))
|
13075
13075
|
))
|
13076
13076
|
), /* @__PURE__ */ React107.createElement(
|
13077
13077
|
ScrollArea,
|
@@ -13086,7 +13086,7 @@ var ComparingPlans = (props) => {
|
|
13086
13086
|
{
|
13087
13087
|
key: featureIndex,
|
13088
13088
|
className: cn(
|
13089
|
-
"hawa-border-foreground-muted
|
13089
|
+
"hawa-border-foreground-muted hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5 hawa-text-sm hawa-text-gray-700 dark:text-white",
|
13090
13090
|
featureIndex === 0 ? "" : "hawa-border-t"
|
13091
13091
|
)
|
13092
13092
|
},
|
@@ -13150,7 +13150,7 @@ var ComparingPlans = (props) => {
|
|
13150
13150
|
})
|
13151
13151
|
);
|
13152
13152
|
})
|
13153
|
-
), props.showButtons && /* @__PURE__ */ React107.createElement("div", { className: "hawa-grid
|
13153
|
+
), props.showButtons && /* @__PURE__ */ React107.createElement("div", { className: "hawa-grid hawa-grid-cols-[1fr_repeat(3,_minmax(0,_1fr))] hawa-gap-x-16 hawa-px-4 hawa-py-5" }, /* @__PURE__ */ React107.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
13154
13154
|
var _a;
|
13155
13155
|
return /* @__PURE__ */ React107.createElement(
|
13156
13156
|
"div",
|
@@ -13190,7 +13190,7 @@ var HorizontalPricing = (props) => {
|
|
13190
13190
|
{ title: "business", price: "$99", cycle: "/mo" },
|
13191
13191
|
{ title: "enterprise", price: "$149", cycle: "/mo" }
|
13192
13192
|
];
|
13193
|
-
return /* @__PURE__ */ React108.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React108.createElement("div", { className: "hawa-max-w-2xl
|
13193
|
+
return /* @__PURE__ */ React108.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ React108.createElement("div", { className: "hawa-max-w-2xl" }, /* @__PURE__ */ React108.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ React108.createElement(
|
13194
13194
|
Radio,
|
13195
13195
|
{
|
13196
13196
|
name: "currency",
|
@@ -13227,8 +13227,8 @@ var HorizontalPricing = (props) => {
|
|
13227
13227
|
"div",
|
13228
13228
|
{
|
13229
13229
|
className: cn(
|
13230
|
-
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20
|
13231
|
-
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between
|
13230
|
+
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
|
13231
|
+
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between hawa-rounded-xl hawa-border hawa-bg-background hawa-px-5 hawa-py-4 hawa-shadow dark:hawa-text-white peer-checked:[&_.active]:hawa-block peer-checked:[&_.default]:hawa-hidden"
|
13232
13232
|
)
|
13233
13233
|
},
|
13234
13234
|
/* @__PURE__ */ React108.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ React108.createElement(CheckIcons, null), /* @__PURE__ */ React108.createElement(
|
@@ -13275,7 +13275,7 @@ var CheckIcons = () => /* @__PURE__ */ React108.createElement(React108.Fragment,
|
|
13275
13275
|
}
|
13276
13276
|
)
|
13277
13277
|
));
|
13278
|
-
var CardText = (props) => /* @__PURE__ */ React108.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start
|
13278
|
+
var CardText = (props) => /* @__PURE__ */ React108.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start" }, /* @__PURE__ */ React108.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ React108.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
|
13279
13279
|
var CardPrice = (props) => /* @__PURE__ */ React108.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ React108.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
|
13280
13280
|
|
13281
13281
|
// blocks/Usage.tsx
|