@sikka/hawa 0.41.0-next → 0.41.2-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 +55 -55
- package/dist/elements/index.mjs +40 -40
- 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 +128 -128
- package/dist/index.mjs +128 -128
- 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/toast/index.js +1 -1
- package/dist/toast/index.js.map +1 -1
- package/dist/toast/index.mjs +1 -1
- package/dist/toast/index.mjs.map +1 -1
- package/dist/toaster/index.js +2 -2
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +2 -2
- 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.js
CHANGED
@@ -334,7 +334,7 @@ var CardTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
334
334
|
"h3",
|
335
335
|
{
|
336
336
|
ref,
|
337
|
-
className: cn("hawa-text-2xl hawa-font-semibold
|
337
|
+
className: cn("hawa-text-2xl hawa-font-semibold", className),
|
338
338
|
...props
|
339
339
|
}
|
340
340
|
));
|
@@ -765,7 +765,7 @@ var DropdownMenuContent = React5.forwardRef(({ className, sideOffset = 4, ...pro
|
|
765
765
|
ref,
|
766
766
|
sideOffset,
|
767
767
|
className: cn(
|
768
|
-
"hawa-z-50
|
768
|
+
"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",
|
769
769
|
className
|
770
770
|
),
|
771
771
|
...props
|
@@ -786,7 +786,7 @@ var DropdownMenuItem = React5.forwardRef(({ className, inset, badged, slug, Link
|
|
786
786
|
),
|
787
787
|
...props
|
788
788
|
},
|
789
|
-
/* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2
|
789
|
+
/* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, props.children),
|
790
790
|
props.end && props.end,
|
791
791
|
!props.end && props.shortcut && /* @__PURE__ */ React5.createElement(DropdownMenuShortcut, null, props.shortcut),
|
792
792
|
!props.end && badged && /* @__PURE__ */ React5.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
|
@@ -1077,7 +1077,7 @@ var DropdownMenu = ({
|
|
1077
1077
|
badged: item.badged,
|
1078
1078
|
className: cn(
|
1079
1079
|
sizeStyles2[size],
|
1080
|
-
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent
|
1080
|
+
!item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent" : "focus:hawa-bg-accent",
|
1081
1081
|
item.presist && "focus:hawa-bg-transparent",
|
1082
1082
|
classNames == null ? void 0 : classNames.item
|
1083
1083
|
)
|
@@ -1868,7 +1868,7 @@ var NavigationMenuRoot = React12.forwardRef(({ className, children, viewportClas
|
|
1868
1868
|
{
|
1869
1869
|
ref,
|
1870
1870
|
className: cn(
|
1871
|
-
"hawa-relative hawa-z-10 hawa-flex
|
1871
|
+
"hawa-relative hawa-z-10 hawa-flex hawa-flex-1 hawa-items-center hawa-justify-center",
|
1872
1872
|
// "hawa-max-w-max",
|
1873
1873
|
className
|
1874
1874
|
),
|
@@ -1920,7 +1920,7 @@ var NavigationMenuContent = React12.forwardRef(({ className, ...props }, ref) =>
|
|
1920
1920
|
{
|
1921
1921
|
ref,
|
1922
1922
|
className: cn(
|
1923
|
-
"hawa-absolute
|
1923
|
+
"hawa-absolute hawa-left-0 hawa-top-0 hawa-w-full hawa-rounded",
|
1924
1924
|
// "md:hawa-absolute md:hawa-w-auto hawa-left-0 hawa-top-0 ",
|
1925
1925
|
// animation
|
1926
1926
|
"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",
|
@@ -1929,7 +1929,7 @@ var NavigationMenuContent = React12.forwardRef(({ className, ...props }, ref) =>
|
|
1929
1929
|
...props
|
1930
1930
|
}
|
1931
1931
|
));
|
1932
|
-
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
|
1932
|
+
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))));
|
1933
1933
|
var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
|
1934
1934
|
"div",
|
1935
1935
|
{
|
@@ -1941,7 +1941,7 @@ var NavigationMenuViewport = React12.forwardRef(({ className, ...props }, ref) =
|
|
1941
1941
|
NavigationMenuPrimitive.Viewport,
|
1942
1942
|
{
|
1943
1943
|
className: cn(
|
1944
|
-
"hawa-origin-top-center hawa-relative hawa-mt-1.5
|
1944
|
+
"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",
|
1945
1945
|
// hawa-h-[var(--radix-navigation-menu-viewport-height)]
|
1946
1946
|
// "md:hawa-w-[var(--radix-navigation-menu-viewport-width)]",
|
1947
1947
|
className
|
@@ -2199,7 +2199,7 @@ var DialogContent = React14.forwardRef(
|
|
2199
2199
|
{
|
2200
2200
|
className: cn(
|
2201
2201
|
"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",
|
2202
|
-
props.dir === "rtl" ? "
|
2202
|
+
props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4",
|
2203
2203
|
classNames == null ? void 0 : classNames.closeButton
|
2204
2204
|
),
|
2205
2205
|
id: ids == null ? void 0 : ids.closeButton
|
@@ -2290,8 +2290,8 @@ var DialogCarouselContent = React14.forwardRef(
|
|
2290
2290
|
DialogPrimitive.Close,
|
2291
2291
|
{
|
2292
2292
|
className: cn(
|
2293
|
-
"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
|
2294
|
-
props.dir === "rtl" ? "
|
2293
|
+
"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",
|
2294
|
+
props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4"
|
2295
2295
|
)
|
2296
2296
|
},
|
2297
2297
|
/* @__PURE__ */ React14.createElement(
|
@@ -2440,7 +2440,7 @@ var DialogStep = ({
|
|
2440
2440
|
{
|
2441
2441
|
id,
|
2442
2442
|
ref: stepRef,
|
2443
|
-
className: cn("hawa-w-full
|
2443
|
+
className: cn("hawa-w-full hawa-px-1", className)
|
2444
2444
|
},
|
2445
2445
|
children
|
2446
2446
|
);
|
@@ -2719,7 +2719,7 @@ var Alert = ({
|
|
2719
2719
|
"data-dismiss-target": "#alert-default",
|
2720
2720
|
"aria-label": "Close",
|
2721
2721
|
className: cn(
|
2722
|
-
"hawa-absolute
|
2722
|
+
"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",
|
2723
2723
|
closeButtonStyle[severity],
|
2724
2724
|
direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
|
2725
2725
|
),
|
@@ -2822,7 +2822,7 @@ var Avatar = ({
|
|
2822
2822
|
"div",
|
2823
2823
|
{
|
2824
2824
|
className: cn(
|
2825
|
-
"hawa-relative
|
2825
|
+
"hawa-relative hawa-bg-card hawa-p-0",
|
2826
2826
|
sizeStyles2[size],
|
2827
2827
|
radiusStyles[radius],
|
2828
2828
|
className
|
@@ -3077,7 +3077,7 @@ var Input = (0, import_react11.forwardRef)(
|
|
3077
3077
|
)
|
3078
3078
|
},
|
3079
3079
|
props.label && /* @__PURE__ */ import_react11.default.createElement(Label2, { ...labelProps }, props.label),
|
3080
|
-
/* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center
|
3080
|
+
/* @__PURE__ */ import_react11.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center" }, props.outsidePrefix && /* @__PURE__ */ import_react11.default.createElement(
|
3081
3081
|
"span",
|
3082
3082
|
{
|
3083
3083
|
className: cn(
|
@@ -3143,7 +3143,7 @@ var Input = (0, import_react11.forwardRef)(
|
|
3143
3143
|
...inputProps,
|
3144
3144
|
className: cn(
|
3145
3145
|
defaultInputStyle,
|
3146
|
-
"
|
3146
|
+
"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",
|
3147
3147
|
{
|
3148
3148
|
"hawa-pe-9": props.endIcon,
|
3149
3149
|
"hawa-ps-9": props.startIcon,
|
@@ -3157,7 +3157,7 @@ var Input = (0, import_react11.forwardRef)(
|
|
3157
3157
|
"div",
|
3158
3158
|
{
|
3159
3159
|
className: cn(
|
3160
|
-
"hawa-absolute hawa-end-0 hawa-top-[47px] hawa-z-20 hawa-translate-y-1/2 hawa-rounded hawa-bg-background hawa-text-start
|
3160
|
+
"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",
|
3161
3161
|
props.helperText ? "hawa-border hawa-p-1" : "hawa-border-none hawa-p-0"
|
3162
3162
|
)
|
3163
3163
|
},
|
@@ -3834,7 +3834,7 @@ var BackToTop = ({ ...props }) => {
|
|
3834
3834
|
"svg",
|
3835
3835
|
{
|
3836
3836
|
className: cn(
|
3837
|
-
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all
|
3837
|
+
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all disabled:hawa-bg-gray-200"
|
3838
3838
|
),
|
3839
3839
|
"aria-label": "Arrow Icon",
|
3840
3840
|
viewBox: "0 0 20 20",
|
@@ -4128,11 +4128,11 @@ var Radio = (0, import_react13.forwardRef)(
|
|
4128
4128
|
{
|
4129
4129
|
htmlFor: opt.value.toString(),
|
4130
4130
|
className: cn(
|
4131
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-transition-all
|
4131
|
+
"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",
|
4132
4132
|
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"
|
4133
4133
|
)
|
4134
4134
|
},
|
4135
|
-
/* @__PURE__ */ import_react13.default.createElement("div", { className: "hawa-block
|
4135
|
+
/* @__PURE__ */ import_react13.default.createElement("div", { className: "hawa-block hawa-h-full hawa-w-full" }, /* @__PURE__ */ import_react13.default.createElement("div", { className: "hawa-w-full hawa-text-lg hawa-font-semibold" }, opt.label), /* @__PURE__ */ import_react13.default.createElement("div", { className: "hawa-w-full" }, opt.sublabel))
|
4136
4136
|
)))
|
4137
4137
|
);
|
4138
4138
|
default:
|
@@ -4170,7 +4170,7 @@ var Radio = (0, import_react13.forwardRef)(
|
|
4170
4170
|
{
|
4171
4171
|
htmlFor: opt.value.toString(),
|
4172
4172
|
className: cn(
|
4173
|
-
"hawa-text-sm hawa-font-medium
|
4173
|
+
"hawa-text-sm hawa-font-medium dark:hawa-text-white",
|
4174
4174
|
opt.disabled ? "hawa-text-gray-400" : "hawa-cursor-pointer hawa-text-gray-900"
|
4175
4175
|
)
|
4176
4176
|
},
|
@@ -4356,7 +4356,7 @@ var AppCommand = ({
|
|
4356
4356
|
DialogContent,
|
4357
4357
|
{
|
4358
4358
|
hideCloseButton: true,
|
4359
|
-
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l
|
4359
|
+
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l"
|
4360
4360
|
},
|
4361
4361
|
/* @__PURE__ */ React28.createElement(FullCommand, { ...commandProps, onActionClick })
|
4362
4362
|
));
|
@@ -4410,7 +4410,7 @@ var Combobox = React29.forwardRef(
|
|
4410
4410
|
ref: containerRef
|
4411
4411
|
},
|
4412
4412
|
props.label && /* @__PURE__ */ React29.createElement(Label2, { ...labelProps }, props.label),
|
4413
|
-
/* @__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
|
4413
|
+
/* @__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(
|
4414
4414
|
"div",
|
4415
4415
|
{
|
4416
4416
|
className: cn(
|
@@ -4425,8 +4425,8 @@ var Combobox = React29.forwardRef(
|
|
4425
4425
|
type: "button",
|
4426
4426
|
"aria-expanded": open,
|
4427
4427
|
className: cn(
|
4428
|
-
"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
|
4429
|
-
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3
|
4428
|
+
"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",
|
4429
|
+
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3"
|
4430
4430
|
)
|
4431
4431
|
},
|
4432
4432
|
selectedItem ? renderSelected ? renderSelected(selectedItem) : getProperty(selectedItem, labelKey) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || ". . .",
|
@@ -4566,7 +4566,7 @@ var Textarea = React30.forwardRef(
|
|
4566
4566
|
{
|
4567
4567
|
...textareaProps,
|
4568
4568
|
className: cn(
|
4569
|
-
"hawa-flex hawa-min-h-[40px] hawa-h-[40px]
|
4569
|
+
"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",
|
4570
4570
|
classNames == null ? void 0 : classNames.textarea
|
4571
4571
|
),
|
4572
4572
|
ref
|
@@ -4752,8 +4752,8 @@ var FileDropzone = ({
|
|
4752
4752
|
"div",
|
4753
4753
|
{
|
4754
4754
|
className: (0, import_clsx2.default)(
|
4755
|
-
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed
|
4756
|
-
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50
|
4755
|
+
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed hawa-p-6 hawa-transition-all",
|
4756
|
+
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50"
|
4757
4757
|
)
|
4758
4758
|
},
|
4759
4759
|
/* @__PURE__ */ import_react14.default.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ import_react14.default.createElement("p", { ...getInputProps() }), /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4 hawa-text-center" }, /* @__PURE__ */ import_react14.default.createElement(
|
@@ -4779,8 +4779,8 @@ var FileDropzone = ({
|
|
4779
4779
|
/* @__PURE__ */ import_react14.default.createElement("path", { d: "M3 11l0 .01" }),
|
4780
4780
|
/* @__PURE__ */ import_react14.default.createElement("path", { d: "M3 15l0 .01" })
|
4781
4781
|
), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-select-none hawa-pt-2 hawa-text-center hawa-text-xs" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-select-none hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs" }, texts.maxFileSize, " ", max)),
|
4782
|
-
acceptedFiles.length > 0 && /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg
|
4783
|
-
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react14.default.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center
|
4782
|
+
acceptedFiles.length > 0 && /* @__PURE__ */ import_react14.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2" }, /* @__PURE__ */ import_react14.default.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
|
4783
|
+
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react14.default.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,
|
4784
4784
|
/* @__PURE__ */ import_react14.default.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
|
4785
4785
|
), disclaimer && /* @__PURE__ */ import_react14.default.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__ */ import_react14.default.createElement(
|
4786
4786
|
"a",
|
@@ -5475,7 +5475,7 @@ var ScrollArea = React41.forwardRef(({ className, children, orientation = "verti
|
|
5475
5475
|
"div",
|
5476
5476
|
{
|
5477
5477
|
className: cn(
|
5478
|
-
"hawa-pointer-events-none hawa-absolute hawa-bg-background
|
5478
|
+
"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",
|
5479
5479
|
showLeftFade ? "hawa-block" : "hawa-hidden"
|
5480
5480
|
)
|
5481
5481
|
}
|
@@ -5484,7 +5484,7 @@ var ScrollArea = React41.forwardRef(({ className, children, orientation = "verti
|
|
5484
5484
|
"div",
|
5485
5485
|
{
|
5486
5486
|
className: cn(
|
5487
|
-
"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
|
5487
|
+
"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",
|
5488
5488
|
showRightFade ? "hawa-block" : "hawa-hidden"
|
5489
5489
|
)
|
5490
5490
|
}
|
@@ -5749,9 +5749,9 @@ var Select = ({
|
|
5749
5749
|
"div",
|
5750
5750
|
{
|
5751
5751
|
className: cn(
|
5752
|
-
"dark:dark-shadow
|
5752
|
+
"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",
|
5753
5753
|
props.phoneCode ? "hawa-p-1.5" : "hawa-w-full hawa-p-1.5",
|
5754
|
-
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95
|
5754
|
+
menuOpen && "hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95"
|
5755
5755
|
),
|
5756
5756
|
ref: innerRef,
|
5757
5757
|
...innerProps
|
@@ -5933,7 +5933,7 @@ var Switch = React44.forwardRef(
|
|
5933
5933
|
{
|
5934
5934
|
className: cn(
|
5935
5935
|
thumbSize[size],
|
5936
|
-
"hawa-block hawa-rounded
|
5936
|
+
"hawa-block hawa-rounded hawa-transition-transform hawa-duration-100 hawa-will-change-transform",
|
5937
5937
|
"data-[state=checked]:hawa-bg-primary-foreground",
|
5938
5938
|
"hawa-bg-white dark:hawa-bg-background",
|
5939
5939
|
thumbRoundednessStyles[roundedness],
|
@@ -6094,7 +6094,7 @@ var Badge = ({
|
|
6094
6094
|
left: badgePosition == null ? void 0 : badgePosition.left
|
6095
6095
|
},
|
6096
6096
|
className: cn(
|
6097
|
-
"hawa-origin-center hawa-rounded-full
|
6097
|
+
"hawa-origin-center hawa-rounded-full hawa-bg-red-500",
|
6098
6098
|
sizeStyles2[size].classes,
|
6099
6099
|
"hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-text-[9px] hawa-text-white"
|
6100
6100
|
)
|
@@ -7858,7 +7858,7 @@ var PhoneInput = ({
|
|
7858
7858
|
value: countryCode == null ? void 0 : countryCode.label,
|
7859
7859
|
defaultValue: props.preferredCountry
|
7860
7860
|
}
|
7861
|
-
), /* @__PURE__ */ import_react39.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full
|
7861
|
+
), /* @__PURE__ */ import_react39.default.createElement("div", { className: "hawa-relative hawa-flex hawa-h-fit hawa-w-full hawa-flex-col hawa-justify-center hawa-gap-0" }, /* @__PURE__ */ import_react39.default.createElement(
|
7862
7862
|
"input",
|
7863
7863
|
{
|
7864
7864
|
type: "tel",
|
@@ -7868,7 +7868,7 @@ var PhoneInput = ({
|
|
7868
7868
|
onChange: handleInputChange,
|
7869
7869
|
placeholder: props.placeholder,
|
7870
7870
|
className: cn(
|
7871
|
-
"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
|
7871
|
+
"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"
|
7872
7872
|
),
|
7873
7873
|
...inputProps
|
7874
7874
|
}
|
@@ -8170,7 +8170,7 @@ var ProgressCircle = import_react44.default.forwardRef((props, ref) => {
|
|
8170
8170
|
strokeLinecap: "round",
|
8171
8171
|
className: cn(
|
8172
8172
|
"hawa-transition-colors hawa-ease-linear",
|
8173
|
-
"
|
8173
|
+
"hawa-stroke-primary/20"
|
8174
8174
|
)
|
8175
8175
|
}
|
8176
8176
|
),
|
@@ -8681,7 +8681,7 @@ var SimpleTable = ({
|
|
8681
8681
|
"div",
|
8682
8682
|
{
|
8683
8683
|
className: cn(
|
8684
|
-
"hawa-flex
|
8684
|
+
"hawa-flex hawa-w-full hawa-flex-col hawa-gap-4",
|
8685
8685
|
classNames
|
8686
8686
|
)
|
8687
8687
|
},
|
@@ -8868,7 +8868,7 @@ var CodeBlock = ({
|
|
8868
8868
|
"div",
|
8869
8869
|
{
|
8870
8870
|
className: cn(
|
8871
|
-
"hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t
|
8871
|
+
"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",
|
8872
8872
|
tabs && fileName && "hawa-rounded-t-none",
|
8873
8873
|
classNames == null ? void 0 : classNames.tabs
|
8874
8874
|
)
|
@@ -8878,7 +8878,7 @@ var CodeBlock = ({
|
|
8878
8878
|
{
|
8879
8879
|
key: i,
|
8880
8880
|
className: cn(
|
8881
|
-
selectedTab === i ? "
|
8881
|
+
selectedTab === i ? "hawa-border-b-2 hawa-border-primary" : "hawa-bg-transparent",
|
8882
8882
|
classNames == null ? void 0 : classNames.tab
|
8883
8883
|
)
|
8884
8884
|
},
|
@@ -8887,7 +8887,7 @@ var CodeBlock = ({
|
|
8887
8887
|
{
|
8888
8888
|
onClick: () => setSelectedTab(i),
|
8889
8889
|
className: cn(
|
8890
|
-
"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]
|
8890
|
+
"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"
|
8891
8891
|
)
|
8892
8892
|
},
|
8893
8893
|
tab.title
|
@@ -8908,7 +8908,7 @@ var CodeBlock = ({
|
|
8908
8908
|
"div",
|
8909
8909
|
{
|
8910
8910
|
className: cn(
|
8911
|
-
"hawa-flex hawa-absolute
|
8911
|
+
"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"
|
8912
8912
|
)
|
8913
8913
|
},
|
8914
8914
|
/* @__PURE__ */ import_react51.default.createElement(
|
@@ -8943,7 +8943,7 @@ var CodeBlock = ({
|
|
8943
8943
|
{
|
8944
8944
|
className: cn(
|
8945
8945
|
// !hawa-pe-12
|
8946
|
-
"hawa-min-h-[37.75px]
|
8946
|
+
"hawa-min-h-[37.75px] hawa-w-full hawa-p-4 hawa-font-mono hawa-text-foreground",
|
8947
8947
|
classNames == null ? void 0 : classNames.code,
|
8948
8948
|
wrapText && "hawa-text-wrap"
|
8949
8949
|
)
|
@@ -8998,11 +8998,11 @@ var Carousel = ({
|
|
8998
8998
|
const length = import_react52.default.Children.count(items);
|
8999
8999
|
const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
|
9000
9000
|
const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
|
9001
|
-
return /* @__PURE__ */ import_react52.default.createElement("div", { className: "
|
9001
|
+
return /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-relative hawa-h-full" }, /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ import_react52.default.createElement(
|
9002
9002
|
"div",
|
9003
9003
|
{
|
9004
9004
|
key: i,
|
9005
|
-
className: "hawa-flex hawa-h-full hawa-min-w-0
|
9005
|
+
className: "hawa-flex hawa-h-full hawa-min-w-0 hawa-flex-[0_0_100%] hawa-items-center hawa-justify-center"
|
9006
9006
|
},
|
9007
9007
|
item
|
9008
9008
|
))))), /* @__PURE__ */ import_react52.default.createElement(
|
@@ -9053,13 +9053,13 @@ var Dots = ({
|
|
9053
9053
|
);
|
9054
9054
|
};
|
9055
9055
|
var CarouselControls = (props) => {
|
9056
|
-
return /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2
|
9056
|
+
return /* @__PURE__ */ import_react52.default.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2" }, /* @__PURE__ */ import_react52.default.createElement(
|
9057
9057
|
"button",
|
9058
9058
|
{
|
9059
9059
|
onClick: () => props.canScrollPrev && props.onPrev(),
|
9060
9060
|
disabled: !props.canScrollPrev,
|
9061
9061
|
className: cn(
|
9062
|
-
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white
|
9062
|
+
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white",
|
9063
9063
|
!props.canScrollPrev && "hawa-bg-primary/50",
|
9064
9064
|
props.canScrollPrev && "hawa-bg-primary"
|
9065
9065
|
)
|
@@ -9071,7 +9071,7 @@ var CarouselControls = (props) => {
|
|
9071
9071
|
stroke: "currentColor",
|
9072
9072
|
fill: "currentColor",
|
9073
9073
|
viewBox: "0 0 16 16",
|
9074
|
-
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200
|
9074
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200"
|
9075
9075
|
},
|
9076
9076
|
/* @__PURE__ */ import_react52.default.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" })
|
9077
9077
|
)
|
@@ -9081,7 +9081,7 @@ var CarouselControls = (props) => {
|
|
9081
9081
|
onClick: () => props.canScrollNext && props.onNext(),
|
9082
9082
|
disabled: !props.canScrollNext,
|
9083
9083
|
className: cn(
|
9084
|
-
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white
|
9084
|
+
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white",
|
9085
9085
|
!props.canScrollNext && "hawa-bg-primary/50",
|
9086
9086
|
props.canScrollNext && "hawa-bg-primary"
|
9087
9087
|
)
|
@@ -9093,7 +9093,7 @@ var CarouselControls = (props) => {
|
|
9093
9093
|
stroke: "currentColor",
|
9094
9094
|
fill: "currentColor",
|
9095
9095
|
viewBox: "0 0 16 16",
|
9096
|
-
className: "hawa-h-2 hawa-w-2
|
9096
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200"
|
9097
9097
|
},
|
9098
9098
|
/* @__PURE__ */ import_react52.default.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" })
|
9099
9099
|
)
|
@@ -9190,7 +9190,7 @@ var ToastClose = React66.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
9190
9190
|
// "hawa-absolute hawa-start-2 hawa-top-2",
|
9191
9191
|
// "group-hover:hawa-opacity-100",
|
9192
9192
|
"hawa-opacity-100",
|
9193
|
-
"hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2
|
9193
|
+
"hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
|
9194
9194
|
className
|
9195
9195
|
),
|
9196
9196
|
"toast-close": "",
|
@@ -9275,7 +9275,7 @@ function Toaster(props) {
|
|
9275
9275
|
)
|
9276
9276
|
},
|
9277
9277
|
/* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ import_react54.default.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ import_react54.default.createElement(ToastDescription, { size }, description)),
|
9278
|
-
action && /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-flex
|
9278
|
+
action && /* @__PURE__ */ import_react54.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
|
9279
9279
|
)
|
9280
9280
|
));
|
9281
9281
|
}), /* @__PURE__ */ import_react54.default.createElement(
|
@@ -9439,7 +9439,7 @@ var InterfaceSettings = ({
|
|
9439
9439
|
viewBox: "0 0 24 24",
|
9440
9440
|
fill: "none",
|
9441
9441
|
stroke: "currentColor",
|
9442
|
-
className: "hawa-h-[1.2rem] hawa-w-[1.2rem]
|
9442
|
+
className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
|
9443
9443
|
},
|
9444
9444
|
/* @__PURE__ */ import_react56.default.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
|
9445
9445
|
)
|
@@ -9483,7 +9483,7 @@ var Stats = ({
|
|
9483
9483
|
"div",
|
9484
9484
|
{
|
9485
9485
|
className: cn(
|
9486
|
-
"hawa-my-0 hawa-text-start
|
9486
|
+
"hawa-my-0 hawa-text-start hawa-text-xs hawa-transition-all",
|
9487
9487
|
helperTextColorStyles[helperTextColor],
|
9488
9488
|
helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
|
9489
9489
|
)
|
@@ -9591,7 +9591,7 @@ var SidebarItem = ({
|
|
9591
9591
|
AccordionItem2,
|
9592
9592
|
{
|
9593
9593
|
value: item.value,
|
9594
|
-
className: "hawa-overflow-x-clip
|
9594
|
+
className: "hawa-overflow-x-clip",
|
9595
9595
|
dir: direction
|
9596
9596
|
},
|
9597
9597
|
/* @__PURE__ */ React72.createElement(
|
@@ -9599,7 +9599,7 @@ var SidebarItem = ({
|
|
9599
9599
|
{
|
9600
9600
|
className: cn(
|
9601
9601
|
"hawa-w-full hawa-overflow-x-clip",
|
9602
|
-
props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary
|
9602
|
+
props.selectedItem === item.value ? "hawa-cursor-default hawa-bg-primary hawa-text-primary-foreground" : "hawa-h-10 hover:hawa-bg-primary/10",
|
9603
9603
|
item.subitems && item.subitems.some(
|
9604
9604
|
(subitem) => props.selectedItem === subitem.value
|
9605
9605
|
) ? "hawa-bg-primary/80 hawa-text-primary-foreground hover:hawa-bg-primary/80" : ""
|
@@ -9618,7 +9618,7 @@ var SidebarItem = ({
|
|
9618
9618
|
"span",
|
9619
9619
|
{
|
9620
9620
|
className: cn(
|
9621
|
-
"hawa-transition-all
|
9621
|
+
"hawa-transition-all",
|
9622
9622
|
isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
|
9623
9623
|
)
|
9624
9624
|
},
|
@@ -9653,7 +9653,7 @@ var SidebarItem = ({
|
|
9653
9653
|
}
|
9654
9654
|
},
|
9655
9655
|
className: cn(
|
9656
|
-
"hawa-flex hawa-h-full hawa-cursor-pointer hawa-flex-row hawa-items-center hawa-gap-2 hawa-overflow-x-clip
|
9656
|
+
"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",
|
9657
9657
|
// bg-foreground/10
|
9658
9658
|
getSelectedStyle(subitem.value)
|
9659
9659
|
)
|
@@ -9685,7 +9685,7 @@ var SidebarItem = ({
|
|
9685
9685
|
className: cn(
|
9686
9686
|
triggerStyles,
|
9687
9687
|
getSelectedStyle(item.value),
|
9688
|
-
"hawa-overflow-x-clip
|
9688
|
+
"hawa-overflow-x-clip"
|
9689
9689
|
)
|
9690
9690
|
},
|
9691
9691
|
/* @__PURE__ */ React72.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, item.icon && item.icon, /* @__PURE__ */ React72.createElement(
|
@@ -9728,13 +9728,13 @@ var Navbar = ({
|
|
9728
9728
|
}) => {
|
9729
9729
|
var _a, _b;
|
9730
9730
|
const [isOpen, setIsOpen] = (0, import_react60.useState)(false);
|
9731
|
-
return /* @__PURE__ */ import_react60.default.createElement("nav", { className: "
|
9731
|
+
return /* @__PURE__ */ import_react60.default.createElement("nav", { className: "hawa-sticky hawa-top-2 hawa-transition-all" }, /* @__PURE__ */ import_react60.default.createElement(
|
9732
9732
|
Collapsible,
|
9733
9733
|
{
|
9734
|
-
className: "hawa-relative hawa-m-2 hawa-rounded
|
9734
|
+
className: "hawa-relative hawa-m-2 hawa-rounded hawa-p-2",
|
9735
9735
|
style: { backgroundColor: backgroundColor || "#1f2937" }
|
9736
9736
|
},
|
9737
|
-
/* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3
|
9737
|
+
/* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between hawa-px-3" }, /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-flex hawa-items-center" }, /* @__PURE__ */ import_react60.default.createElement(
|
9738
9738
|
"div",
|
9739
9739
|
{
|
9740
9740
|
className: "hawa-p-1.5 hawa-text-xl hawa-font-bold hawa-text-white",
|
@@ -9745,7 +9745,7 @@ var Navbar = ({
|
|
9745
9745
|
}
|
9746
9746
|
},
|
9747
9747
|
logo
|
9748
|
-
)), /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-hidden md:hawa-flex
|
9748
|
+
)), /* @__PURE__ */ import_react60.default.createElement("div", { className: "hawa-hidden md:hawa-flex" }, (_a = props.menuItems) == null ? void 0 : _a.map((item, i) => /* @__PURE__ */ import_react60.default.createElement(
|
9749
9749
|
"div",
|
9750
9750
|
{
|
9751
9751
|
key: i,
|
@@ -9757,7 +9757,7 @@ var Navbar = ({
|
|
9757
9757
|
CollapsibleTrigger2,
|
9758
9758
|
{
|
9759
9759
|
onClick: () => setIsOpen(!isOpen),
|
9760
|
-
className: "hawa-h-full hawa-text-white selection:hawa-p-0
|
9760
|
+
className: "hawa-h-full hawa-text-white selection:hawa-p-0",
|
9761
9761
|
"aria-label": "Toggle menu"
|
9762
9762
|
},
|
9763
9763
|
/* @__PURE__ */ import_react60.default.createElement(
|
@@ -9809,7 +9809,7 @@ var Navbar = ({
|
|
9809
9809
|
"data-[state=closed]:hawa-opacity-0",
|
9810
9810
|
"data-[state=open]:hawa-animate-in",
|
9811
9811
|
"data-[state=open]:hawa-fade-in-90",
|
9812
|
-
"hawa-absolute hawa-left-0 hawa-top-[60px] hawa-flex hawa-flex-col
|
9812
|
+
"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"
|
9813
9813
|
// "hawa-transition-all hawa-bg-gray-400 hawa-fixed hawa-left-0 hawa-top-[72px] hawa-w-full hawa-flex hawa-flex-col"
|
9814
9814
|
),
|
9815
9815
|
style: {
|
@@ -9959,7 +9959,7 @@ var AppLayout = ({
|
|
9959
9959
|
"div",
|
9960
9960
|
{
|
9961
9961
|
onClick: () => setOpenSideMenu(true),
|
9962
|
-
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2
|
9962
|
+
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all"
|
9963
9963
|
},
|
9964
9964
|
/* @__PURE__ */ import_react61.default.createElement(MenuIcon, null)
|
9965
9965
|
),
|
@@ -9982,7 +9982,7 @@ var AppLayout = ({
|
|
9982
9982
|
"div",
|
9983
9983
|
{
|
9984
9984
|
onClick: onAvatarClick,
|
9985
|
-
className: "hawa-relative hawa-h-8 hawa-w-8
|
9985
|
+
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"
|
9986
9986
|
},
|
9987
9987
|
props.avatarImage ? /* @__PURE__ */ import_react61.default.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ import_react61.default.createElement(
|
9988
9988
|
"svg",
|
@@ -10042,7 +10042,7 @@ var AppLayout = ({
|
|
10042
10042
|
onClick: props.onLogoClick,
|
10043
10043
|
dir: direction,
|
10044
10044
|
className: cn(
|
10045
|
-
"hawa-fixed hawa-z-50
|
10045
|
+
"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",
|
10046
10046
|
props.onLogoClick && "hawa-cursor-pointer",
|
10047
10047
|
classNames == null ? void 0 : classNames.logoContainer
|
10048
10048
|
),
|
@@ -10104,7 +10104,7 @@ var AppLayout = ({
|
|
10104
10104
|
"div",
|
10105
10105
|
{
|
10106
10106
|
className: cn(
|
10107
|
-
"hawa-fixed hawa-bottom-0 hawa-flex hawa-h-14
|
10107
|
+
"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",
|
10108
10108
|
direction === "rtl" ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
10109
10109
|
),
|
10110
10110
|
style: {
|
@@ -10138,7 +10138,7 @@ var AppLayout = ({
|
|
10138
10138
|
"svg",
|
10139
10139
|
{
|
10140
10140
|
className: cn(
|
10141
|
-
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-text-primary hawa-transition-all
|
10141
|
+
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-text-primary hawa-transition-all disabled:hawa-bg-gray-200",
|
10142
10142
|
keepDrawerOpen ? isRTL ? "hawa--rotate-90" : "hawa-rotate-90" : isRTL ? "hawa-rotate-90" : "hawa--rotate-90"
|
10143
10143
|
),
|
10144
10144
|
fill: "currentColor",
|
@@ -10162,11 +10162,11 @@ var AppLayout = ({
|
|
10162
10162
|
open: size < 600 && openSideMenu,
|
10163
10163
|
onOpenChange: setOpenSideMenu
|
10164
10164
|
},
|
10165
|
-
/* @__PURE__ */ import_react61.default.createElement(Dialog3.Portal, { container }, /* @__PURE__ */ import_react61.default.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
|
10165
|
+
/* @__PURE__ */ import_react61.default.createElement(Dialog3.Portal, { container }, /* @__PURE__ */ import_react61.default.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" }))
|
10166
10166
|
), /* @__PURE__ */ import_react61.default.createElement(
|
10167
10167
|
"div",
|
10168
10168
|
{
|
10169
|
-
className: "hawa-fixed hawa-overflow-y-auto
|
10169
|
+
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all hawa-z-0",
|
10170
10170
|
style: isRTL ? {
|
10171
10171
|
left: "0px",
|
10172
10172
|
top: props.topBar ? "56px" : "0px",
|
@@ -10211,7 +10211,7 @@ var AppTopbar = ({ ...props }) => {
|
|
10211
10211
|
/* @__PURE__ */ import_react62.default.createElement(
|
10212
10212
|
"div",
|
10213
10213
|
{
|
10214
|
-
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer
|
10214
|
+
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
10215
10215
|
},
|
10216
10216
|
/* @__PURE__ */ import_react62.default.createElement(
|
10217
10217
|
"svg",
|
@@ -10265,7 +10265,7 @@ var AppTopbar = ({ ...props }) => {
|
|
10265
10265
|
direction: isRTL ? "rtl" : "ltr",
|
10266
10266
|
items: props.profileMenuItems || [],
|
10267
10267
|
onItemSelect: (e) => console.log("selecting item ", e),
|
10268
|
-
trigger: /* @__PURE__ */ import_react62.default.createElement("div", { className: "hawa-relative hawa-h-8 hawa-w-8
|
10268
|
+
trigger: /* @__PURE__ */ import_react62.default.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__ */ import_react62.default.createElement("img", { src: props.avatarImage, alt: "User Avatar" }) : /* @__PURE__ */ import_react62.default.createElement(
|
10269
10269
|
"svg",
|
10270
10270
|
{
|
10271
10271
|
"aria-label": "Avatar Icon",
|
@@ -10503,7 +10503,7 @@ var AppTabs = ({ tabs, className }) => {
|
|
10503
10503
|
className
|
10504
10504
|
)
|
10505
10505
|
},
|
10506
|
-
/* @__PURE__ */ import_react63.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center
|
10506
|
+
/* @__PURE__ */ import_react63.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center" }, tabs.map((tab, index) => {
|
10507
10507
|
const selected = index === selectedIndex;
|
10508
10508
|
return /* @__PURE__ */ import_react63.default.createElement(
|
10509
10509
|
"a",
|
@@ -10522,7 +10522,7 @@ var AppTabs = ({ tabs, className }) => {
|
|
10522
10522
|
setSelectedIndex(index);
|
10523
10523
|
},
|
10524
10524
|
className: cn(
|
10525
|
-
"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
|
10525
|
+
"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",
|
10526
10526
|
"hawa-border",
|
10527
10527
|
// Always have a border but make it transparent
|
10528
10528
|
selected ? "hawa-border hawa-border-b-transparent hawa-bg-background" : "hawa-cursor-pointer hawa-border-transparent hover:hawa-bg-card-foreground/5"
|
@@ -10591,7 +10591,7 @@ var DocsSidebar = ({
|
|
10591
10591
|
{
|
10592
10592
|
key: index,
|
10593
10593
|
className: cn(
|
10594
|
-
"hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3
|
10594
|
+
"hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
|
10595
10595
|
(propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
|
10596
10596
|
),
|
10597
10597
|
onClick: (event) => handlePageClick(page, event)
|
@@ -10694,7 +10694,7 @@ var DocsLayout = ({
|
|
10694
10694
|
"img",
|
10695
10695
|
{
|
10696
10696
|
className: cn(
|
10697
|
-
"hawa-h-8
|
10697
|
+
"hawa-h-8 hawa-opacity-0 hawa-transition-all",
|
10698
10698
|
!openSideMenu ? "hawa-invisible hawa-opacity-0" : "hawa-visible hawa-opacity-100"
|
10699
10699
|
),
|
10700
10700
|
src: props.logoLink
|
@@ -10710,7 +10710,7 @@ var DocsLayout = ({
|
|
10710
10710
|
/* @__PURE__ */ import_react65.default.createElement(Sheet, null, /* @__PURE__ */ import_react65.default.createElement(SheetTrigger, null, " ", /* @__PURE__ */ import_react65.default.createElement(
|
10711
10711
|
"div",
|
10712
10712
|
{
|
10713
|
-
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer
|
10713
|
+
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
10714
10714
|
},
|
10715
10715
|
/* @__PURE__ */ import_react65.default.createElement(
|
10716
10716
|
"svg",
|
@@ -10757,9 +10757,9 @@ var DocsLayout = ({
|
|
10757
10757
|
"div",
|
10758
10758
|
{
|
10759
10759
|
className: cn(
|
10760
|
-
"hawa-fixed hawa-z-40 hawa-flex hawa-flex-col
|
10760
|
+
"hawa-fixed hawa-z-40 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-bg-primary-foreground hawa-transition-all",
|
10761
10761
|
isRTL ? "hawa-right-0 hawa-top-0 hawa-h-full" : "hawa-left-0 hawa-top-0 hawa-h-full",
|
10762
|
-
"hawa-fixed
|
10762
|
+
"hawa-fixed hawa-overflow-x-clip hawa-p-0 hawa-py-2 hawa-transition-all",
|
10763
10763
|
"hawa-top-14",
|
10764
10764
|
openSideMenu ? "hawa-overflow-auto" : "hawa-overflow-hidden"
|
10765
10765
|
),
|
@@ -10787,7 +10787,7 @@ var DocsLayout = ({
|
|
10787
10787
|
), /* @__PURE__ */ import_react65.default.createElement(
|
10788
10788
|
"div",
|
10789
10789
|
{
|
10790
|
-
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all
|
10790
|
+
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all",
|
10791
10791
|
style: isRTL ? {
|
10792
10792
|
height: "calc(100% - 56px)",
|
10793
10793
|
width: `calc(100% - ${drawerSizeCondition}px)`,
|
@@ -11038,7 +11038,7 @@ var LoginForm = ({
|
|
11038
11038
|
"div",
|
11039
11039
|
{
|
11040
11040
|
onClick: props.onForgotPassword,
|
11041
|
-
className: "hawa-mb-3
|
11041
|
+
className: "hawa-mb-3 hawa-mt-2 hawa-w-fit hawa-cursor-pointer hawa-select-none hawa-text-xs dark:hawa-text-gray-300"
|
11042
11042
|
},
|
11043
11043
|
(texts == null ? void 0 : texts.forgotPassword) || "Forgot Password?"
|
11044
11044
|
)));
|
@@ -11589,7 +11589,7 @@ var RegisterForm = ({
|
|
11589
11589
|
/* @__PURE__ */ import_react69.default.createElement(
|
11590
11590
|
Button,
|
11591
11591
|
{
|
11592
|
-
className: "
|
11592
|
+
className: "hawa-w-full",
|
11593
11593
|
type: "submit",
|
11594
11594
|
isLoading: props.isLoading,
|
11595
11595
|
disabled: props.isLoading
|
@@ -11597,7 +11597,7 @@ var RegisterForm = ({
|
|
11597
11597
|
(texts == null ? void 0 : texts.registerText) || "Register"
|
11598
11598
|
),
|
11599
11599
|
props.additionalButtons
|
11600
|
-
)), props.onRouteToLogin && /* @__PURE__ */ import_react69.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-1 hawa-p-3 hawa-text-center
|
11600
|
+
)), props.onRouteToLogin && /* @__PURE__ */ import_react69.default.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__ */ import_react69.default.createElement("span", null, (texts == null ? void 0 : texts.existingUserText) || "Already have an account?"), /* @__PURE__ */ import_react69.default.createElement("span", { onClick: props.onRouteToLogin, className: "clickable-link" }, (texts == null ? void 0 : texts.loginText) || "Login")))),
|
11601
11601
|
props.viaGithub || props.viaGoogle || props.viaTwitter ? /* @__PURE__ */ import_react69.default.createElement(
|
11602
11602
|
CardFooter,
|
11603
11603
|
{
|
@@ -11670,7 +11670,7 @@ var AppLanding = ({ texts, ...props }) => {
|
|
11670
11670
|
// blocks/auth/CheckEmail.tsx
|
11671
11671
|
var import_react71 = __toESM(require("react"));
|
11672
11672
|
var CheckEmail = ({ texts, handleResend }) => {
|
11673
|
-
return /* @__PURE__ */ import_react71.default.createElement(Card, null, /* @__PURE__ */ import_react71.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react71.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react71.default.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
|
11673
|
+
return /* @__PURE__ */ import_react71.default.createElement(Card, null, /* @__PURE__ */ import_react71.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react71.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react71.default.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__ */ import_react71.default.createElement(
|
11674
11674
|
"svg",
|
11675
11675
|
{
|
11676
11676
|
stroke: "currentColor",
|
@@ -11685,7 +11685,7 @@ var CheckEmail = ({ texts, handleResend }) => {
|
|
11685
11685
|
},
|
11686
11686
|
/* @__PURE__ */ import_react71.default.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" }),
|
11687
11687
|
/* @__PURE__ */ import_react71.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
11688
|
-
)), /* @__PURE__ */ import_react71.default.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ import_react71.default.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__ */ import_react71.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center
|
11688
|
+
)), /* @__PURE__ */ import_react71.default.createElement("div", { className: "hawa-m-2 hawa-text-xl hawa-font-bold" }, (texts == null ? void 0 : texts.checkEmail) || "Check your Email"), /* @__PURE__ */ import_react71.default.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__ */ import_react71.default.createElement(CardFooter, { className: "hawa-flex hawa-flex-col hawa-justify-center" }, /* @__PURE__ */ import_react71.default.createElement("span", { className: "clickable-link hawa-text-sm", onClick: handleResend }, (texts == null ? void 0 : texts.resendEmail) || "Resend Email")));
|
11689
11689
|
};
|
11690
11690
|
|
11691
11691
|
// blocks/auth/NewPassword.tsx
|
@@ -11953,7 +11953,7 @@ var CodeConfirmation = ({
|
|
11953
11953
|
}
|
11954
11954
|
}
|
11955
11955
|
),
|
11956
|
-
showResendTimer ? /* @__PURE__ */ import_react74.default.createElement("div", { className: "
|
11956
|
+
showResendTimer ? /* @__PURE__ */ import_react74.default.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__ */ import_react74.default.createElement("strong", null, remainingTime), " ", (_f = props.texts) == null ? void 0 : _f.seconds) : /* @__PURE__ */ import_react74.default.createElement("div", { className: "hawa-py-2 hawa-text-center hawa-text-xs hawa-text-muted-foreground" }, /* @__PURE__ */ import_react74.default.createElement("span", null, (_h = (_g = props.texts) == null ? void 0 : _g.didntGetCode) != null ? _h : "Didn't get the code?"), " ", /* @__PURE__ */ import_react74.default.createElement(
|
11957
11957
|
"span",
|
11958
11958
|
{
|
11959
11959
|
className: "clickable-link",
|
@@ -12164,7 +12164,7 @@ var FeedbackRating = ({
|
|
12164
12164
|
{
|
12165
12165
|
ref: popUpRef,
|
12166
12166
|
className: cn(
|
12167
|
-
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
|
12167
|
+
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",
|
12168
12168
|
boxPosition[position]
|
12169
12169
|
)
|
12170
12170
|
},
|
@@ -12172,7 +12172,7 @@ var FeedbackRating = ({
|
|
12172
12172
|
"div",
|
12173
12173
|
{
|
12174
12174
|
className: cn(
|
12175
|
-
"hawa-relative hawa-flex hawa-w-full
|
12175
|
+
"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",
|
12176
12176
|
closed ? "hawa-opacity-0" : "hawa-opacity-100",
|
12177
12177
|
props.banner && "hawa-rounded-none hawa-px-4 md:hawa-rounded-t md:hawa-px-64"
|
12178
12178
|
)
|
@@ -12228,13 +12228,13 @@ var FeedbackRating = ({
|
|
12228
12228
|
}, 5300);
|
12229
12229
|
},
|
12230
12230
|
className: cn(
|
12231
|
-
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border
|
12231
|
+
"hawa-w-full hawa-cursor-pointer hawa-rounded hawa-border hawa-p-4 hawa-text-center hawa-transition-all",
|
12232
12232
|
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"
|
12233
12233
|
)
|
12234
12234
|
},
|
12235
12235
|
op
|
12236
12236
|
))),
|
12237
|
-
props.texts && /* @__PURE__ */ import_react76.default.createElement("div", { className: "
|
12237
|
+
props.texts && /* @__PURE__ */ import_react76.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between hawa-text-xs" }, /* @__PURE__ */ import_react76.default.createElement("span", null, props.texts.least), /* @__PURE__ */ import_react76.default.createElement("span", null, props.texts.most)),
|
12238
12238
|
answered && /* @__PURE__ */ import_react76.default.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__ */ import_react76.default.createElement("span", { className: "hawa-font-bold hawa-text-white" }, "Thank you for your answer. This box will disappear in", " " + closingTimer, " seconds"), /* @__PURE__ */ import_react76.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ import_react76.default.createElement(Button, { variant: "secondary", onClick: () => slowClose() }, "Close")))
|
12239
12239
|
)
|
12240
12240
|
);
|
@@ -12275,11 +12275,11 @@ var FeedbackEmoji = (props) => {
|
|
12275
12275
|
"div",
|
12276
12276
|
{
|
12277
12277
|
className: cn(
|
12278
|
-
"hawa-flex
|
12279
|
-
selectedEmoji ? "hawa-h-[189px]
|
12278
|
+
"hawa-flex hawa-flex-col hawa-rounded hawa-border hawa-p-2 hawa-transition-all",
|
12279
|
+
selectedEmoji ? "hawa-h-[189px] hawa-min-w-fit" : "hawa-h-[44px]"
|
12280
12280
|
)
|
12281
12281
|
},
|
12282
|
-
/* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-flex-row
|
12282
|
+
/* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-center hawa-gap-0.5" }, emojis.map((emoji, i) => /* @__PURE__ */ import_react77.default.createElement(
|
12283
12283
|
Button,
|
12284
12284
|
{
|
12285
12285
|
key: i,
|
@@ -12293,7 +12293,7 @@ var FeedbackEmoji = (props) => {
|
|
12293
12293
|
variant: "ghost",
|
12294
12294
|
size: "smallIcon",
|
12295
12295
|
className: cn(
|
12296
|
-
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10
|
12296
|
+
selectedEmoji === emoji.value ? "hawa-bg-primary/10 hover:hawa-bg-primary/10" : "hawa-text-[#666666]"
|
12297
12297
|
)
|
12298
12298
|
},
|
12299
12299
|
emoji.icon
|
@@ -12302,11 +12302,11 @@ var FeedbackEmoji = (props) => {
|
|
12302
12302
|
"div",
|
12303
12303
|
{
|
12304
12304
|
className: cn(
|
12305
|
-
"hawa-flex hawa-flex-col hawa-overflow-clip
|
12306
|
-
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0
|
12305
|
+
"hawa-flex hawa-flex-col hawa-overflow-clip hawa-transition-all hawa-duration-500 hawa-ease-in-out",
|
12306
|
+
selectedEmoji ? "hawa-visible hawa-opacity-100" : "hawa-invisible hawa-opacity-0"
|
12307
12307
|
)
|
12308
12308
|
},
|
12309
|
-
props.showSuccess ? /* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2
|
12309
|
+
props.showSuccess ? /* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4" }, /* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-rounded hawa-bg-primary hawa-p-2 hawa-text-primary-foreground" }, /* @__PURE__ */ import_react77.default.createElement(
|
12310
12310
|
"svg",
|
12311
12311
|
{
|
12312
12312
|
stroke: "currentColor",
|
@@ -12320,7 +12320,7 @@ var FeedbackEmoji = (props) => {
|
|
12320
12320
|
)), /* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-text-center hawa-text-sm" }, /* @__PURE__ */ import_react77.default.createElement("span", null, "Your feedback has been received!"), /* @__PURE__ */ import_react77.default.createElement("span", null, "Thank you for your help"))) : /* @__PURE__ */ import_react77.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-1 hawa-p-1" }, /* @__PURE__ */ import_react77.default.createElement(
|
12321
12321
|
Popover,
|
12322
12322
|
{
|
12323
|
-
className: "hawa-select-none hawa-p-1 hawa-text-xs
|
12323
|
+
className: "hawa-select-none hawa-p-1 hawa-text-xs",
|
12324
12324
|
open: helperText,
|
12325
12325
|
trigger: /* @__PURE__ */ import_react77.default.createElement(
|
12326
12326
|
Textarea,
|
@@ -12462,7 +12462,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
12462
12462
|
ScrollArea,
|
12463
12463
|
{
|
12464
12464
|
className: cn(
|
12465
|
-
"hawa-rounded
|
12465
|
+
"hawa-rounded hawa-border hawa-bg-muted hawa-p-4",
|
12466
12466
|
props.scrollAreaClassName
|
12467
12467
|
)
|
12468
12468
|
},
|
@@ -12474,7 +12474,7 @@ var LegalTexts = ({ tabs, ...props }) => {
|
|
12474
12474
|
// blocks/misc/EmptyState.tsx
|
12475
12475
|
var import_react80 = __toESM(require("react"));
|
12476
12476
|
var EmptyState = ({ texts, onActionClick }) => {
|
12477
|
-
return /* @__PURE__ */ import_react80.default.createElement(Card, null, /* @__PURE__ */ import_react80.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react80.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center
|
12477
|
+
return /* @__PURE__ */ import_react80.default.createElement(Card, null, /* @__PURE__ */ import_react80.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react80.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react80.default.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__ */ import_react80.default.createElement(
|
12478
12478
|
"svg",
|
12479
12479
|
{
|
12480
12480
|
stroke: "currentColor",
|
@@ -12503,7 +12503,7 @@ var Testimonial = () => {
|
|
12503
12503
|
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",
|
12504
12504
|
fill: "#FFFFFF"
|
12505
12505
|
}
|
12506
|
-
)), /* @__PURE__ */ import_react81.default.createElement("span", { className: "border border-l
|
12506
|
+
)), /* @__PURE__ */ import_react81.default.createElement("span", { className: "border border-l" }), " ", /* @__PURE__ */ import_react81.default.createElement("div", null, /* @__PURE__ */ import_react81.default.createElement("strong", null, "Brent Lassi"), /* @__PURE__ */ import_react81.default.createElement("div", null, " Chief Information Security Officer")))));
|
12507
12507
|
};
|
12508
12508
|
|
12509
12509
|
// blocks/misc/LeadGenerator.tsx
|
@@ -12558,7 +12558,7 @@ var Announcement = ({
|
|
12558
12558
|
headless: true,
|
12559
12559
|
className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-between"
|
12560
12560
|
},
|
12561
|
-
/* @__PURE__ */ import_react83.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center
|
12561
|
+
/* @__PURE__ */ import_react83.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-justify-center" }, /* @__PURE__ */ import_react83.default.createElement("span", { className: "hawa-text-lg hawa-font-bold" }, props.title), /* @__PURE__ */ import_react83.default.createElement("span", { className: "hawa-text-sm" }, props.subtitle)),
|
12562
12562
|
/* @__PURE__ */ import_react83.default.createElement(
|
12563
12563
|
Button,
|
12564
12564
|
{
|
@@ -12573,13 +12573,13 @@ var Announcement = ({
|
|
12573
12573
|
// blocks/misc/NotFound.tsx
|
12574
12574
|
var import_react84 = __toESM(require("react"));
|
12575
12575
|
var NotFound = ({ texts }) => {
|
12576
|
-
return /* @__PURE__ */ import_react84.default.createElement(Card, null, /* @__PURE__ */ import_react84.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react84.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ import_react84.default.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold
|
12576
|
+
return /* @__PURE__ */ import_react84.default.createElement(Card, null, /* @__PURE__ */ import_react84.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react84.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center dark:hawa-text-white" }, /* @__PURE__ */ import_react84.default.createElement("div", { className: "hawa-text-center hawa-text-6xl hawa-font-bold" }, "404"), /* @__PURE__ */ import_react84.default.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__ */ import_react84.default.createElement("div", { className: "hawa-mb-4 hawa-text-center" }, (texts == null ? void 0 : texts.ifLost) || /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "If you're lost please contact us ", /* @__PURE__ */ import_react84.default.createElement("span", { className: "clickable-link" }, "help@sikka.io"))), /* @__PURE__ */ import_react84.default.createElement(Button, { className: "hawa-w-full" }, (texts == null ? void 0 : texts.home) || "Home"))));
|
12577
12577
|
};
|
12578
12578
|
|
12579
12579
|
// blocks/misc/NoPermission.tsx
|
12580
12580
|
var import_react85 = __toESM(require("react"));
|
12581
12581
|
var NoPermission = ({ texts }) => {
|
12582
|
-
return /* @__PURE__ */ import_react85.default.createElement(Card, null, /* @__PURE__ */ import_react85.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react85.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react85.default.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
|
12582
|
+
return /* @__PURE__ */ import_react85.default.createElement(Card, null, /* @__PURE__ */ import_react85.default.createElement(CardContent, { headless: true }, /* @__PURE__ */ import_react85.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-text-center" }, /* @__PURE__ */ import_react85.default.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__ */ import_react85.default.createElement(
|
12583
12583
|
"svg",
|
12584
12584
|
{
|
12585
12585
|
stroke: "currentColor",
|
@@ -12830,7 +12830,7 @@ var ActionCard = (props) => {
|
|
12830
12830
|
onMouseEnter: () => setHovered(true),
|
12831
12831
|
onMouseLeave: () => setHovered(false)
|
12832
12832
|
},
|
12833
|
-
props.blank ? /* @__PURE__ */ import_react87.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center
|
12833
|
+
props.blank ? /* @__PURE__ */ import_react87.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-items-center hawa-justify-center" }, /* @__PURE__ */ import_react87.default.createElement(
|
12834
12834
|
"svg",
|
12835
12835
|
{
|
12836
12836
|
className: "hawa-h-10 hawa-w-10 hawa-text-foreground",
|
@@ -12895,7 +12895,7 @@ var AdCard = ({
|
|
12895
12895
|
className: cn(cardStyles[orientation], props.className),
|
12896
12896
|
onClick: props.handleClick
|
12897
12897
|
},
|
12898
|
-
/* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full
|
12898
|
+
/* @__PURE__ */ import_react88.default.createElement("div", { className: "hawa-flex hawa-aspect-square hawa-w-full hawa-max-w-fit hawa-items-start" }, /* @__PURE__ */ import_react88.default.createElement(
|
12899
12899
|
"img",
|
12900
12900
|
{
|
12901
12901
|
src: props.imageURL ? props.imageURL : "https://via.placeholder.com/50",
|
@@ -12940,9 +12940,9 @@ var PricingCard = ({
|
|
12940
12940
|
}) => {
|
12941
12941
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
12942
12942
|
let cardSizes = {
|
12943
|
-
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
12944
|
-
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
12945
|
-
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background
|
12943
|
+
small: "hawa-w-full hawa-max-w-sm hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
12944
|
+
medium: "hawa-w-full hawa-rounded hawa-min-w-fit hawa-border dark:hawa-border-gray-700 hawa-bg-background",
|
12945
|
+
large: "hawa-w-full hawa-max-w-lg hawa-rounded hawa-border dark:hawa-border-gray-700 hawa-bg-background"
|
12946
12946
|
};
|
12947
12947
|
return /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, props.isLoadingCard ? /* @__PURE__ */ import_react89.default.createElement(
|
12948
12948
|
Skeleton,
|
@@ -12955,21 +12955,21 @@ var PricingCard = ({
|
|
12955
12955
|
{
|
12956
12956
|
dir: direction,
|
12957
12957
|
className: cn(
|
12958
|
-
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70
|
12958
|
+
currentPlan ? "hawa-border-2 hawa-border-primary dark:hawa-border-primary/70" : "hawa-border",
|
12959
12959
|
cardSizes[size],
|
12960
|
-
"hawa-relative hawa-flex
|
12960
|
+
"hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-gap-4 hawa-p-4",
|
12961
12961
|
recommended ? "hawa-rounded hawa-rounded-t-none" : "hawa-rounded"
|
12962
12962
|
)
|
12963
12963
|
},
|
12964
12964
|
recommended && /* @__PURE__ */ import_react89.default.createElement(
|
12965
12965
|
"div",
|
12966
12966
|
{
|
12967
|
-
className: "hawa-absolute -hawa-left-[1px] hawa-top-0 -hawa-translate-y-full hawa-rounded-t hawa-border hawa-bg-primary hawa-p-2
|
12967
|
+
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",
|
12968
12968
|
style: { width: "calc(100% + 2px)" }
|
12969
12969
|
},
|
12970
12970
|
((_a = props.texts) == null ? void 0 : _a.recommended) || "RECOMMENDED"
|
12971
12971
|
),
|
12972
|
-
/* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react89.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react89.default.createElement("h5", { className: "hawa-text-sm
|
12972
|
+
/* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-flex hawa-h-full hawa-flex-col hawa-gap-4" }, /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-text-md hawa-relative hawa-flex hawa-flex-col hawa-justify-between hawa-font-bold hawa-text-primary/70" }, /* @__PURE__ */ import_react89.default.createElement("span", null, (_b = props.texts) == null ? void 0 : _b.title), /* @__PURE__ */ import_react89.default.createElement("h5", { className: "hawa-text-sm hawa-font-normal hawa-text-primary/70" }, (_c = props.texts) == null ? void 0 : _c.subtitle), props.discount && /* @__PURE__ */ import_react89.default.createElement("span", { className: "hawa-absolute hawa-end-0" }, /* @__PURE__ */ import_react89.default.createElement(Chip, { label: props.discount, size: "large", color: "hyper" }))), /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-flex hawa-items-baseline hawa-text-primary" }, props.isLoadingPrice ? /* @__PURE__ */ import_react89.default.createElement(Skeleton, { className: "hawa-h-[48px] hawa-w-full hawa-max-w-[200px] hawa-p-0" }) : /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, props.noPrice ? /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, ((_d = props.texts) == null ? void 0 : _d.priceless) || "Contact Us") : /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, /* @__PURE__ */ import_react89.default.createElement(import_react89.default.Fragment, null, /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-end hawa-gap-2" }, props.oldPrice && props.oldPrice > 0 && /* @__PURE__ */ import_react89.default.createElement("span", { className: "hawa-line-through hawa-opacity-70" }, props.oldPrice + " " + ((_e = props.texts) == null ? void 0 : _e.currencyText)), /* @__PURE__ */ import_react89.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, props.price)), /* @__PURE__ */ import_react89.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, (_f = props.texts) == null ? void 0 : _f.currencyText)), /* @__PURE__ */ import_react89.default.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__ */ import_react89.default.createElement(Separator2, null), /* @__PURE__ */ import_react89.default.createElement(
|
12973
12973
|
"div",
|
12974
12974
|
{
|
12975
12975
|
className: cn(
|
@@ -13005,7 +13005,7 @@ var PricingCard = ({
|
|
13005
13005
|
clipRule: "evenodd"
|
13006
13006
|
}
|
13007
13007
|
)
|
13008
|
-
) : /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react89.default.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
|
13008
|
+
) : /* @__PURE__ */ import_react89.default.createElement("div", { className: "hawa-m-2 hawa-mx-2.5 hawa-h-4 hawa-w-4 hawa-rounded-full hawa-bg-primary/10" }), /* @__PURE__ */ import_react89.default.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__ */ import_react89.default.createElement(
|
13009
13009
|
Chip,
|
13010
13010
|
{
|
13011
13011
|
label: ((_a2 = props.texts) == null ? void 0 : _a2.soon) || "",
|
@@ -13099,7 +13099,7 @@ var ItemCard = ({
|
|
13099
13099
|
{
|
13100
13100
|
className: cn(
|
13101
13101
|
defaultStyle,
|
13102
|
-
props.onCardClick && "
|
13102
|
+
props.onCardClick && "hawa-cursor-pointer hover:hawa-shadow-lg",
|
13103
13103
|
orientationStyles[orientation],
|
13104
13104
|
props.className
|
13105
13105
|
),
|
@@ -13119,7 +13119,7 @@ var ItemCard = ({
|
|
13119
13119
|
clickableImage ? "hawa-overflow-clip hawa-transition-all group-hover:hawa-blur-lg" : ""
|
13120
13120
|
)
|
13121
13121
|
}
|
13122
|
-
), clickableImage && /* @__PURE__ */ import_react90.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react90.default.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
|
13122
|
+
), clickableImage && /* @__PURE__ */ import_react90.default.createElement(StopPropagationWrapper, null, /* @__PURE__ */ import_react90.default.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__ */ import_react90.default.createElement(
|
13123
13123
|
Button,
|
13124
13124
|
{
|
13125
13125
|
variant: "secondary",
|
@@ -13153,7 +13153,7 @@ var ItemCard = ({
|
|
13153
13153
|
)
|
13154
13154
|
)
|
13155
13155
|
}
|
13156
|
-
))), /* @__PURE__ */ import_react90.default.createElement("div", { className: "
|
13156
|
+
))), /* @__PURE__ */ import_react90.default.createElement("div", { className: "hawa-mx-2" }, header && /* @__PURE__ */ import_react90.default.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight" }, header), content && /* @__PURE__ */ import_react90.default.createElement("span", { className: "hawa-w-full hawa-font-normal" }, content)), actions || counts ? /* @__PURE__ */ import_react90.default.createElement(
|
13157
13157
|
"div",
|
13158
13158
|
{
|
13159
13159
|
className: cn(
|
@@ -13302,7 +13302,7 @@ var ComparingPlans = (props) => {
|
|
13302
13302
|
key: i,
|
13303
13303
|
className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2"
|
13304
13304
|
},
|
13305
|
-
/* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react93.default.createElement("span", { className: "hawa-text-md hawa-font-bold
|
13305
|
+
/* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react93.default.createElement("span", { className: "hawa-text-md hawa-font-bold" }, plan.texts.title), /* @__PURE__ */ import_react93.default.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground" }, plan.texts.subtitle)), /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-items-baseline" }, /* @__PURE__ */ import_react93.default.createElement(import_react93.default.Fragment, null, /* @__PURE__ */ import_react93.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ import_react93.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ import_react93.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal" }, "/ ", plan.texts.cycleText)))
|
13306
13306
|
))
|
13307
13307
|
), /* @__PURE__ */ import_react93.default.createElement(
|
13308
13308
|
ScrollArea,
|
@@ -13317,7 +13317,7 @@ var ComparingPlans = (props) => {
|
|
13317
13317
|
{
|
13318
13318
|
key: featureIndex,
|
13319
13319
|
className: cn(
|
13320
|
-
"hawa-border-foreground-muted
|
13320
|
+
"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",
|
13321
13321
|
featureIndex === 0 ? "" : "hawa-border-t"
|
13322
13322
|
)
|
13323
13323
|
},
|
@@ -13381,7 +13381,7 @@ var ComparingPlans = (props) => {
|
|
13381
13381
|
})
|
13382
13382
|
);
|
13383
13383
|
})
|
13384
|
-
), props.showButtons && /* @__PURE__ */ import_react93.default.createElement("div", { className: "hawa-grid
|
13384
|
+
), props.showButtons && /* @__PURE__ */ import_react93.default.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__ */ import_react93.default.createElement("div", { className: "hawa-flex hawa-items-center" }), props.plans.map((plan, i) => {
|
13385
13385
|
var _a;
|
13386
13386
|
return /* @__PURE__ */ import_react93.default.createElement(
|
13387
13387
|
"div",
|
@@ -13421,7 +13421,7 @@ var HorizontalPricing = (props) => {
|
|
13421
13421
|
{ title: "business", price: "$99", cycle: "/mo" },
|
13422
13422
|
{ title: "enterprise", price: "$149", cycle: "/mo" }
|
13423
13423
|
];
|
13424
|
-
return /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-max-w-2xl
|
13424
|
+
return /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-z-10 hawa-w-full hawa-max-w-screen-sm" }, /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-max-w-2xl" }, /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-flex hawa-flex-row hawa-justify-between" }, /* @__PURE__ */ import_react94.default.createElement(
|
13425
13425
|
Radio,
|
13426
13426
|
{
|
13427
13427
|
name: "currency",
|
@@ -13458,8 +13458,8 @@ var HorizontalPricing = (props) => {
|
|
13458
13458
|
"div",
|
13459
13459
|
{
|
13460
13460
|
className: cn(
|
13461
|
-
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20
|
13462
|
-
"hawa-peer hawa-flex hawa-cursor-pointer hawa-items-center hawa-justify-between
|
13461
|
+
selectedCard === d.title ? "peer-checked:hawa-border-primary peer-checked:hawa-ring-4 peer-checked:hawa-ring-primary/20" : "",
|
13462
|
+
"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"
|
13463
13463
|
)
|
13464
13464
|
},
|
13465
13465
|
/* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-peer hawa-flex hawa-items-center hawa-gap-4" }, /* @__PURE__ */ import_react94.default.createElement(CheckIcons, null), /* @__PURE__ */ import_react94.default.createElement(
|
@@ -13506,7 +13506,7 @@ var CheckIcons = () => /* @__PURE__ */ import_react94.default.createElement(impo
|
|
13506
13506
|
}
|
13507
13507
|
)
|
13508
13508
|
));
|
13509
|
-
var CardText = (props) => /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start
|
13509
|
+
var CardText = (props) => /* @__PURE__ */ import_react94.default.createElement("div", { className: "hawa-peer hawa-flex hawa-flex-col hawa-items-start" }, /* @__PURE__ */ import_react94.default.createElement("h2", { className: "hawa-font-medium hawa-text-primary/90 sm:hawa-text-xl" }, props.title), /* @__PURE__ */ import_react94.default.createElement("p", { className: "hawa-text-sm hawa-text-primary/60" }, props.subtitle, " "));
|
13510
13510
|
var CardPrice = (props) => /* @__PURE__ */ import_react94.default.createElement("h2", { className: "hawa-peer hawa-text-xl hawa-font-semibold hawa-text-primary sm:hawa-text-2xl" }, props.amount, /* @__PURE__ */ import_react94.default.createElement("span", { className: "hawa-text-base hawa-font-medium hawa-text-neutral-400" }, props.cycle));
|
13511
13511
|
|
13512
13512
|
// blocks/Usage.tsx
|