@sikka/hawa 0.41.0-next → 0.41.1-next
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/index.js.map +1 -1
- package/dist/accordion/index.mjs.map +1 -1
- package/dist/alert/index.js +1 -1
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +1 -1
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +15 -15
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +15 -15
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/appMenubar/index.js.map +1 -1
- package/dist/appMenubar/index.mjs.map +1 -1
- package/dist/appTabs/index.js +2 -2
- package/dist/appTabs/index.js.map +1 -1
- package/dist/appTabs/index.mjs +2 -2
- package/dist/appTabs/index.mjs.map +1 -1
- package/dist/appTopbar/index.js +5 -5
- package/dist/appTopbar/index.js.map +1 -1
- package/dist/appTopbar/index.mjs +5 -5
- package/dist/appTopbar/index.mjs.map +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/avatar/index.js.map +1 -1
- package/dist/avatar/index.mjs +1 -1
- package/dist/avatar/index.mjs.map +1 -1
- package/dist/backToTop/index.js +1 -1
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +1 -1
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/badge/index.d.mts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/index.js +1 -1
- package/dist/badge/index.js.map +1 -1
- package/dist/badge/index.mjs +1 -1
- package/dist/badge/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +15 -15
- package/dist/blocks/auth/index.mjs +13 -13
- package/dist/blocks/feedback/index.js +19 -19
- package/dist/blocks/feedback/index.mjs +17 -17
- package/dist/blocks/index.js +62 -62
- package/dist/blocks/index.mjs +46 -46
- package/dist/blocks/misc/index.js +17 -19
- package/dist/blocks/misc/index.mjs +11 -11
- package/dist/blocks/pricing/index.js +23 -23
- package/dist/blocks/pricing/index.mjs +21 -21
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/card/index.js +1 -1
- package/dist/card/index.js.map +1 -1
- package/dist/card/index.mjs +1 -1
- package/dist/card/index.mjs.map +1 -1
- package/dist/carousel/index.d.mts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/index.js +7 -7
- package/dist/carousel/index.js.map +1 -1
- package/dist/carousel/index.mjs +7 -7
- package/dist/carousel/index.mjs.map +1 -1
- package/dist/{chunk-IS73LH5Y.mjs → chunk-2GEXJLRC.mjs} +1 -1
- package/dist/{chunk-FJXDCBMQ.mjs → chunk-7R25FOBM.mjs} +15 -15
- package/dist/{chunk-4ZELUQQ7.mjs → chunk-CQYG77SY.mjs} +1 -1
- package/dist/{chunk-NSMJTT6Y.mjs → chunk-D7HDVJFT.mjs} +3 -3
- package/dist/{chunk-ZSX2KZ2D.mjs → chunk-EBZECS2Z.mjs} +4 -4
- package/dist/{chunk-FK2C6C3B.mjs → chunk-FLMCWOQQ.mjs} +1 -1
- package/dist/{chunk-JGP3PSJL.mjs → chunk-FP6763YO.mjs} +4 -4
- package/dist/{chunk-UHUOBAEP.mjs → chunk-I3AK6DXN.mjs} +3 -3
- package/dist/{chunk-F6SLF6DS.mjs → chunk-K5S7P5ZO.mjs} +4 -4
- package/dist/{chunk-55TPME67.mjs → chunk-QNLA5TSV.mjs} +2 -2
- package/dist/codeBlock/index.js +5 -5
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +5 -5
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +7 -7
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +7 -7
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.js +5 -5
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +5 -5
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.js +6 -6
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +6 -6
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/destroyableCard/index.js +1 -1
- package/dist/destroyableCard/index.js.map +1 -1
- package/dist/destroyableCard/index.mjs +1 -1
- package/dist/destroyableCard/index.mjs.map +1 -1
- package/dist/dialog/index.js +4 -4
- package/dist/dialog/index.js.map +1 -1
- package/dist/dialog/index.mjs +4 -4
- package/dist/dialog/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +7 -9
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +7 -9
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/docsSidebar/index.js +1 -1
- package/dist/docsSidebar/index.js.map +1 -1
- package/dist/docsSidebar/index.mjs +1 -1
- package/dist/docsSidebar/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.js +3 -3
- package/dist/dropdownMenu/index.js.map +1 -1
- package/dist/dropdownMenu/index.mjs +3 -3
- package/dist/dropdownMenu/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +1 -1
- package/dist/elements/index.d.ts +1 -1
- package/dist/elements/index.js +54 -54
- package/dist/elements/index.mjs +39 -39
- package/dist/fileDropzone/index.js +5 -5
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +5 -5
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/glow/index.js.map +1 -1
- package/dist/glow/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +127 -127
- package/dist/index.mjs +127 -127
- package/dist/input/index.js +3 -3
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +3 -3
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +4 -4
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +4 -4
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.js +34 -36
- package/dist/layout/index.mjs +31 -31
- package/dist/loading/index.js.map +1 -1
- package/dist/loading/index.mjs.map +1 -1
- package/dist/navbar/index.js +12 -12
- package/dist/navbar/index.js.map +1 -1
- package/dist/navbar/index.mjs +12 -12
- package/dist/navbar/index.mjs.map +1 -1
- package/dist/navigationMenu/index.js +5 -5
- package/dist/navigationMenu/index.js.map +1 -1
- package/dist/navigationMenu/index.mjs +5 -5
- package/dist/navigationMenu/index.mjs.map +1 -1
- package/dist/pagination/index.js.map +1 -1
- package/dist/pagination/index.mjs.map +1 -1
- package/dist/passwordInput/index.js +3 -3
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +3 -3
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +4 -4
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +4 -4
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/progress/index.js.map +1 -1
- package/dist/progress/index.mjs.map +1 -1
- package/dist/progressCircle/index.js +1 -1
- package/dist/progressCircle/index.js.map +1 -1
- package/dist/progressCircle/index.mjs +1 -1
- package/dist/progressCircle/index.mjs.map +1 -1
- package/dist/radio/index.js +3 -3
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +3 -3
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.js +2 -2
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/scrollIndicator/index.js.map +1 -1
- package/dist/scrollIndicator/index.mjs.map +1 -1
- package/dist/select/index.js +2 -2
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +2 -2
- package/dist/select/index.mjs.map +1 -1
- package/dist/separator/index.js.map +1 -1
- package/dist/separator/index.mjs.map +1 -1
- package/dist/sheet/index.js +1 -1
- package/dist/sheet/index.js.map +1 -1
- package/dist/sheet/index.mjs +1 -1
- package/dist/sheet/index.mjs.map +1 -1
- package/dist/sidebar/index.js +5 -5
- package/dist/sidebar/index.js.map +1 -1
- package/dist/sidebar/index.mjs +5 -5
- package/dist/sidebar/index.mjs.map +1 -1
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +1 -1
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +1 -1
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/slider/index.js.map +1 -1
- package/dist/slider/index.mjs.map +1 -1
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +27 -27
- package/dist/splitButton/index.d.ts +27 -27
- package/dist/splitButton/index.js +750 -750
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +752 -752
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.js +3 -5
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +3 -5
- package/dist/stats/index.mjs.map +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/switch/index.js.map +1 -1
- package/dist/switch/index.mjs +1 -1
- package/dist/switch/index.mjs.map +1 -1
- package/dist/tabs/index.js +2 -2
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +2 -2
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +1 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/toaster/index.js +1 -1
- package/dist/toaster/index.js.map +1 -1
- package/dist/toaster/index.mjs +1 -1
- package/dist/toaster/index.mjs.map +1 -1
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/elements/index.mjs
CHANGED
@@ -26,7 +26,7 @@ import {
|
|
26
26
|
TabsList,
|
27
27
|
TabsTrigger,
|
28
28
|
Textarea
|
29
|
-
} from "../chunk-
|
29
|
+
} from "../chunk-7R25FOBM.mjs";
|
30
30
|
import {
|
31
31
|
useClipboard
|
32
32
|
} from "../chunk-XCW5YNMS.mjs";
|
@@ -41,7 +41,7 @@ import {
|
|
41
41
|
SheetPortal,
|
42
42
|
SheetTitle,
|
43
43
|
SheetTrigger
|
44
|
-
} from "../chunk-
|
44
|
+
} from "../chunk-2GEXJLRC.mjs";
|
45
45
|
import {
|
46
46
|
Button,
|
47
47
|
Card,
|
@@ -81,7 +81,7 @@ import {
|
|
81
81
|
buttonVariants,
|
82
82
|
calculateLuminance,
|
83
83
|
cn
|
84
|
-
} from "../chunk-
|
84
|
+
} from "../chunk-FP6763YO.mjs";
|
85
85
|
import {
|
86
86
|
__require
|
87
87
|
} from "../chunk-SYGWSBJL.mjs";
|
@@ -234,7 +234,7 @@ var NavigationMenuRoot = React5.forwardRef(({ className, children, viewportClass
|
|
234
234
|
{
|
235
235
|
ref,
|
236
236
|
className: cn(
|
237
|
-
"hawa-relative hawa-z-10 hawa-flex
|
237
|
+
"hawa-relative hawa-z-10 hawa-flex hawa-flex-1 hawa-items-center hawa-justify-center",
|
238
238
|
// "hawa-max-w-max",
|
239
239
|
className
|
240
240
|
),
|
@@ -286,7 +286,7 @@ var NavigationMenuContent = React5.forwardRef(({ className, ...props }, ref) =>
|
|
286
286
|
{
|
287
287
|
ref,
|
288
288
|
className: cn(
|
289
|
-
"hawa-absolute
|
289
|
+
"hawa-absolute hawa-left-0 hawa-top-0 hawa-w-full hawa-rounded",
|
290
290
|
// "md:hawa-absolute md:hawa-w-auto hawa-left-0 hawa-top-0 ",
|
291
291
|
// animation
|
292
292
|
"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",
|
@@ -295,7 +295,7 @@ var NavigationMenuContent = React5.forwardRef(({ className, ...props }, ref) =>
|
|
295
295
|
...props
|
296
296
|
}
|
297
297
|
));
|
298
|
-
var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React5.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React5.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
|
298
|
+
var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React5.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React5.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__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React5.createElement("h1", { className: "hawa-text-xl hawa-font-bold" }, title), /* @__PURE__ */ React5.createElement("p", { className: "hawa-text-sm" }, subtitle))));
|
299
299
|
var NavigationMenuViewport = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React5.createElement(
|
300
300
|
"div",
|
301
301
|
{
|
@@ -307,7 +307,7 @@ var NavigationMenuViewport = React5.forwardRef(({ className, ...props }, ref) =>
|
|
307
307
|
NavigationMenuPrimitive.Viewport,
|
308
308
|
{
|
309
309
|
className: cn(
|
310
|
-
"hawa-origin-top-center hawa-relative hawa-mt-1.5
|
310
|
+
"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",
|
311
311
|
// hawa-h-[var(--radix-navigation-menu-viewport-height)]
|
312
312
|
// "md:hawa-w-[var(--radix-navigation-menu-viewport-width)]",
|
313
313
|
className
|
@@ -430,7 +430,7 @@ var DialogContent = React6.forwardRef(
|
|
430
430
|
{
|
431
431
|
className: cn(
|
432
432
|
"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",
|
433
|
-
props.dir === "rtl" ? "
|
433
|
+
props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4",
|
434
434
|
classNames == null ? void 0 : classNames.closeButton
|
435
435
|
),
|
436
436
|
id: ids == null ? void 0 : ids.closeButton
|
@@ -521,8 +521,8 @@ var DialogCarouselContent = React6.forwardRef(
|
|
521
521
|
DialogPrimitive.Close,
|
522
522
|
{
|
523
523
|
className: cn(
|
524
|
-
"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
|
525
|
-
props.dir === "rtl" ? "
|
524
|
+
"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",
|
525
|
+
props.dir === "rtl" ? "hawa-left-4" : "hawa-right-4"
|
526
526
|
)
|
527
527
|
},
|
528
528
|
/* @__PURE__ */ React6.createElement(
|
@@ -671,7 +671,7 @@ var DialogStep = ({
|
|
671
671
|
{
|
672
672
|
id,
|
673
673
|
ref: stepRef,
|
674
|
-
className: cn("hawa-w-full
|
674
|
+
className: cn("hawa-w-full hawa-px-1", className)
|
675
675
|
},
|
676
676
|
children
|
677
677
|
);
|
@@ -752,7 +752,7 @@ var Avatar = ({
|
|
752
752
|
"div",
|
753
753
|
{
|
754
754
|
className: cn(
|
755
|
-
"hawa-relative
|
755
|
+
"hawa-relative hawa-bg-card hawa-p-0",
|
756
756
|
sizeStyles2[size],
|
757
757
|
radiusStyles[radius],
|
758
758
|
className
|
@@ -1473,7 +1473,7 @@ var BackToTop = ({ ...props }) => {
|
|
1473
1473
|
"svg",
|
1474
1474
|
{
|
1475
1475
|
className: cn(
|
1476
|
-
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all
|
1476
|
+
"hawa-h-6 hawa-w-6 hawa-shrink-0 hawa-rotate-180 hawa-transition-all disabled:hawa-bg-gray-200"
|
1477
1477
|
),
|
1478
1478
|
"aria-label": "Arrow Icon",
|
1479
1479
|
viewBox: "0 0 20 20",
|
@@ -1657,7 +1657,7 @@ var AppCommand = ({
|
|
1657
1657
|
DialogContent,
|
1658
1658
|
{
|
1659
1659
|
hideCloseButton: true,
|
1660
|
-
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l
|
1660
|
+
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l"
|
1661
1661
|
},
|
1662
1662
|
/* @__PURE__ */ React12.createElement(FullCommand, { ...commandProps, onActionClick })
|
1663
1663
|
));
|
@@ -1711,7 +1711,7 @@ var Combobox = React13.forwardRef(
|
|
1711
1711
|
ref: containerRef
|
1712
1712
|
},
|
1713
1713
|
props.label && /* @__PURE__ */ React13.createElement(Label, { ...labelProps }, props.label),
|
1714
|
-
/* @__PURE__ */ React13.createElement(PopoverPrimitive.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React13.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React13.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React13.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React13.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2
|
1714
|
+
/* @__PURE__ */ React13.createElement(PopoverPrimitive.Root, { open, onOpenChange: handleOpenChange }, /* @__PURE__ */ React13.createElement(PopoverTrigger, { asChild: true }, props.isLoading ? /* @__PURE__ */ React13.createElement("div", { className: "hawa-pb-2" }, /* @__PURE__ */ React13.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" })) : /* @__PURE__ */ React13.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-start hawa-gap-2" }, /* @__PURE__ */ React13.createElement(
|
1715
1715
|
"div",
|
1716
1716
|
{
|
1717
1717
|
className: cn(
|
@@ -1726,8 +1726,8 @@ var Combobox = React13.forwardRef(
|
|
1726
1726
|
type: "button",
|
1727
1727
|
"aria-expanded": open,
|
1728
1728
|
className: cn(
|
1729
|
-
"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
|
1730
|
-
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3
|
1729
|
+
"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",
|
1730
|
+
props.preview ? "hawa-cursor-default hawa-rounded-none hawa-border-transparent hawa-px-0" : "hawa-bg-background hawa-px-3"
|
1731
1731
|
)
|
1732
1732
|
},
|
1733
1733
|
selectedItem ? renderSelected ? renderSelected(selectedItem) : getProperty(selectedItem, labelKey) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || ". . .",
|
@@ -2004,8 +2004,8 @@ var FileDropzone = ({
|
|
2004
2004
|
"div",
|
2005
2005
|
{
|
2006
2006
|
className: clsx(
|
2007
|
-
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed
|
2008
|
-
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50
|
2007
|
+
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed hawa-p-6 hawa-transition-all",
|
2008
|
+
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50"
|
2009
2009
|
)
|
2010
2010
|
},
|
2011
2011
|
/* @__PURE__ */ React14.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ React14.createElement("p", { ...getInputProps() }), /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center hawa-gap-2 hawa-pt-4 hawa-text-center" }, /* @__PURE__ */ React14.createElement(
|
@@ -2031,8 +2031,8 @@ var FileDropzone = ({
|
|
2031
2031
|
/* @__PURE__ */ React14.createElement("path", { d: "M3 11l0 .01" }),
|
2032
2032
|
/* @__PURE__ */ React14.createElement("path", { d: "M3 15l0 .01" })
|
2033
2033
|
), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ React14.createElement("div", { className: "hawa-select-none hawa-pt-2 hawa-text-center hawa-text-xs" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ React14.createElement("div", { className: "hawa-select-none hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs" }, texts.maxFileSize, " ", max)),
|
2034
|
-
acceptedFiles.length > 0 && /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg
|
2035
|
-
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ React14.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center
|
2034
|
+
acceptedFiles.length > 0 && /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2" }, /* @__PURE__ */ React14.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
|
2035
|
+
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ React14.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,
|
2036
2036
|
/* @__PURE__ */ React14.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
|
2037
2037
|
), disclaimer && /* @__PURE__ */ React14.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__ */ React14.createElement(
|
2038
2038
|
"a",
|
@@ -2148,7 +2148,7 @@ var Switch = React16.forwardRef(
|
|
2148
2148
|
{
|
2149
2149
|
className: cn(
|
2150
2150
|
thumbSize[size],
|
2151
|
-
"hawa-block hawa-rounded
|
2151
|
+
"hawa-block hawa-rounded hawa-transition-transform hawa-duration-100 hawa-will-change-transform",
|
2152
2152
|
"data-[state=checked]:hawa-bg-primary-foreground",
|
2153
2153
|
"hawa-bg-white dark:hawa-bg-background",
|
2154
2154
|
thumbRoundednessStyles[roundedness],
|
@@ -2286,7 +2286,7 @@ var Badge = ({
|
|
2286
2286
|
left: badgePosition == null ? void 0 : badgePosition.left
|
2287
2287
|
},
|
2288
2288
|
className: cn(
|
2289
|
-
"hawa-origin-center hawa-rounded-full
|
2289
|
+
"hawa-origin-center hawa-rounded-full hawa-bg-red-500",
|
2290
2290
|
sizeStyles2[size].classes,
|
2291
2291
|
"hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-text-[9px] hawa-text-white"
|
2292
2292
|
)
|
@@ -2462,7 +2462,7 @@ var ProgressCircle = React21.forwardRef((props, ref) => {
|
|
2462
2462
|
strokeLinecap: "round",
|
2463
2463
|
className: cn(
|
2464
2464
|
"hawa-transition-colors hawa-ease-linear",
|
2465
|
-
"
|
2465
|
+
"hawa-stroke-primary/20"
|
2466
2466
|
)
|
2467
2467
|
}
|
2468
2468
|
),
|
@@ -2779,7 +2779,7 @@ var SimpleTable = ({
|
|
2779
2779
|
"div",
|
2780
2780
|
{
|
2781
2781
|
className: cn(
|
2782
|
-
"hawa-flex
|
2782
|
+
"hawa-flex hawa-w-full hawa-flex-col hawa-gap-4",
|
2783
2783
|
classNames
|
2784
2784
|
)
|
2785
2785
|
},
|
@@ -2948,7 +2948,7 @@ var CodeBlock = ({
|
|
2948
2948
|
"div",
|
2949
2949
|
{
|
2950
2950
|
className: cn(
|
2951
|
-
"hawa-flex hawa-flex-row hawa-gap-2 hawa-rounded-t
|
2951
|
+
"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",
|
2952
2952
|
tabs && fileName && "hawa-rounded-t-none",
|
2953
2953
|
classNames == null ? void 0 : classNames.tabs
|
2954
2954
|
)
|
@@ -2958,7 +2958,7 @@ var CodeBlock = ({
|
|
2958
2958
|
{
|
2959
2959
|
key: i,
|
2960
2960
|
className: cn(
|
2961
|
-
selectedTab === i ? "
|
2961
|
+
selectedTab === i ? "hawa-border-b-2 hawa-border-primary" : "hawa-bg-transparent",
|
2962
2962
|
classNames == null ? void 0 : classNames.tab
|
2963
2963
|
)
|
2964
2964
|
},
|
@@ -2967,7 +2967,7 @@ var CodeBlock = ({
|
|
2967
2967
|
{
|
2968
2968
|
onClick: () => setSelectedTab(i),
|
2969
2969
|
className: cn(
|
2970
|
-
"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]
|
2970
|
+
"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"
|
2971
2971
|
)
|
2972
2972
|
},
|
2973
2973
|
tab.title
|
@@ -2988,7 +2988,7 @@ var CodeBlock = ({
|
|
2988
2988
|
"div",
|
2989
2989
|
{
|
2990
2990
|
className: cn(
|
2991
|
-
"hawa-flex hawa-absolute
|
2991
|
+
"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"
|
2992
2992
|
)
|
2993
2993
|
},
|
2994
2994
|
/* @__PURE__ */ React27.createElement(
|
@@ -3023,7 +3023,7 @@ var CodeBlock = ({
|
|
3023
3023
|
{
|
3024
3024
|
className: cn(
|
3025
3025
|
// !hawa-pe-12
|
3026
|
-
"hawa-min-h-[37.75px]
|
3026
|
+
"hawa-min-h-[37.75px] hawa-w-full hawa-p-4 hawa-font-mono hawa-text-foreground",
|
3027
3027
|
classNames == null ? void 0 : classNames.code,
|
3028
3028
|
wrapText && "hawa-text-wrap"
|
3029
3029
|
)
|
@@ -3078,11 +3078,11 @@ var Carousel = ({
|
|
3078
3078
|
const length = React28.Children.count(items);
|
3079
3079
|
const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
|
3080
3080
|
const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
|
3081
|
-
return /* @__PURE__ */ React28.createElement("div", { className: "
|
3081
|
+
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-relative hawa-h-full" }, /* @__PURE__ */ React28.createElement("div", { className: "hawa-h-full hawa-overflow-hidden" }, /* @__PURE__ */ React28.createElement("div", { className: "hawa-h-full", ref: emblaRef }, /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-h-full" }, items == null ? void 0 : items.map((item, i) => /* @__PURE__ */ React28.createElement(
|
3082
3082
|
"div",
|
3083
3083
|
{
|
3084
3084
|
key: i,
|
3085
|
-
className: "hawa-flex hawa-h-full hawa-min-w-0
|
3085
|
+
className: "hawa-flex hawa-h-full hawa-min-w-0 hawa-flex-[0_0_100%] hawa-items-center hawa-justify-center"
|
3086
3086
|
},
|
3087
3087
|
item
|
3088
3088
|
))))), /* @__PURE__ */ React28.createElement(
|
@@ -3133,13 +3133,13 @@ var Dots = ({
|
|
3133
3133
|
);
|
3134
3134
|
};
|
3135
3135
|
var CarouselControls = (props) => {
|
3136
|
-
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2
|
3136
|
+
return /* @__PURE__ */ React28.createElement("div", { className: "hawa-flex hawa-justify-end hawa-gap-2" }, /* @__PURE__ */ React28.createElement(
|
3137
3137
|
"button",
|
3138
3138
|
{
|
3139
3139
|
onClick: () => props.canScrollPrev && props.onPrev(),
|
3140
3140
|
disabled: !props.canScrollPrev,
|
3141
3141
|
className: cn(
|
3142
|
-
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white
|
3142
|
+
"hawa-absolute hawa-start-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white",
|
3143
3143
|
!props.canScrollPrev && "hawa-bg-primary/50",
|
3144
3144
|
props.canScrollPrev && "hawa-bg-primary"
|
3145
3145
|
)
|
@@ -3151,7 +3151,7 @@ var CarouselControls = (props) => {
|
|
3151
3151
|
stroke: "currentColor",
|
3152
3152
|
fill: "currentColor",
|
3153
3153
|
viewBox: "0 0 16 16",
|
3154
|
-
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200
|
3154
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-rotate-180 hawa-transition-transform hawa-duration-200"
|
3155
3155
|
},
|
3156
3156
|
/* @__PURE__ */ React28.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" })
|
3157
3157
|
)
|
@@ -3161,7 +3161,7 @@ var CarouselControls = (props) => {
|
|
3161
3161
|
onClick: () => props.canScrollNext && props.onNext(),
|
3162
3162
|
disabled: !props.canScrollNext,
|
3163
3163
|
className: cn(
|
3164
|
-
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white
|
3164
|
+
"hawa-absolute hawa-end-0 hawa-top-1/2 -hawa-translate-y-2 hawa-rounded-full hawa-p-2 hawa-text-white",
|
3165
3165
|
!props.canScrollNext && "hawa-bg-primary/50",
|
3166
3166
|
props.canScrollNext && "hawa-bg-primary"
|
3167
3167
|
)
|
@@ -3173,7 +3173,7 @@ var CarouselControls = (props) => {
|
|
3173
3173
|
stroke: "currentColor",
|
3174
3174
|
fill: "currentColor",
|
3175
3175
|
viewBox: "0 0 16 16",
|
3176
|
-
className: "hawa-h-2 hawa-w-2
|
3176
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200"
|
3177
3177
|
},
|
3178
3178
|
/* @__PURE__ */ React28.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" })
|
3179
3179
|
)
|
@@ -3355,7 +3355,7 @@ function Toaster(props) {
|
|
3355
3355
|
)
|
3356
3356
|
},
|
3357
3357
|
/* @__PURE__ */ React31.createElement("div", { className: "hawa-grid hawa-gap-1 hawa-text-start" }, title && /* @__PURE__ */ React31.createElement(ToastTitle, { size }, title), description && /* @__PURE__ */ React31.createElement(ToastDescription, { size }, description)),
|
3358
|
-
action && /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex
|
3358
|
+
action && /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
|
3359
3359
|
)
|
3360
3360
|
));
|
3361
3361
|
}), /* @__PURE__ */ React31.createElement(
|
@@ -3519,7 +3519,7 @@ var InterfaceSettings = ({
|
|
3519
3519
|
viewBox: "0 0 24 24",
|
3520
3520
|
fill: "none",
|
3521
3521
|
stroke: "currentColor",
|
3522
|
-
className: "hawa-h-[1.2rem] hawa-w-[1.2rem]
|
3522
|
+
className: "hawa-h-[1.2rem] hawa-w-[1.2rem] hawa-transition-all dark:hawa-rotate-0 dark:hawa-scale-100"
|
3523
3523
|
},
|
3524
3524
|
/* @__PURE__ */ React33.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
|
3525
3525
|
)
|
@@ -596,7 +596,7 @@ var Alert = ({
|
|
596
596
|
"data-dismiss-target": "#alert-default",
|
597
597
|
"aria-label": "Close",
|
598
598
|
className: cn(
|
599
|
-
"hawa-absolute
|
599
|
+
"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",
|
600
600
|
closeButtonStyle[severity],
|
601
601
|
direction === "rtl" ? "hawa-left-2" : "hawa-right-2"
|
602
602
|
),
|
@@ -810,8 +810,8 @@ var FileDropzone = ({
|
|
810
810
|
"div",
|
811
811
|
{
|
812
812
|
className: (0, import_clsx2.default)(
|
813
|
-
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed
|
814
|
-
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50
|
813
|
+
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed hawa-p-6 hawa-transition-all",
|
814
|
+
isDragActive ? "hawa-bg-muted" : "hawa-bg-muted/20 hover:hawa-bg-muted/50"
|
815
815
|
)
|
816
816
|
},
|
817
817
|
/* @__PURE__ */ import_react5.default.createElement("div", { ...getRootProps({}) }, /* @__PURE__ */ import_react5.default.createElement("p", { ...getInputProps() }), /* @__PURE__ */ import_react5.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_react5.default.createElement(
|
@@ -837,8 +837,8 @@ var FileDropzone = ({
|
|
837
837
|
/* @__PURE__ */ import_react5.default.createElement("path", { d: "M3 11l0 .01" }),
|
838
838
|
/* @__PURE__ */ import_react5.default.createElement("path", { d: "M3 15l0 .01" })
|
839
839
|
), typeof texts.clickHereToUpload === "function" ? texts.clickHereToUpload() : texts.clickHereToUpload), /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-select-none hawa-pt-2 hawa-text-center hawa-text-xs" }, texts.acceptedFileTypes, " ", accept.split(",")), /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-select-none hawa-pb-2 hawa-pt-1 hawa-text-center hawa-text-xs" }, texts.maxFileSize, " ", max)),
|
840
|
-
acceptedFiles.length > 0 && /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg
|
841
|
-
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react5.default.createElement("aside", { className: "hawa-flex hawa-flex-row hawa-flex-wrap hawa-justify-center
|
840
|
+
acceptedFiles.length > 0 && /* @__PURE__ */ import_react5.default.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg hawa-p-2" }, /* @__PURE__ */ import_react5.default.createElement(Button, { onClick: clearAllFiles }, "Clear All")),
|
841
|
+
acceptedFiles.length > 0 && thumbs && showPreview ? /* @__PURE__ */ import_react5.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,
|
842
842
|
/* @__PURE__ */ import_react5.default.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
|
843
843
|
), disclaimer && /* @__PURE__ */ import_react5.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_react5.default.createElement(
|
844
844
|
"a",
|