@sikka/hawa 0.40.1-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 +102 -17
- package/dist/blocks/auth/index.mjs +100 -15
- package/dist/blocks/feedback/index.js +20 -21
- package/dist/blocks/feedback/index.mjs +18 -20
- package/dist/blocks/index.js +150 -66
- package/dist/blocks/index.mjs +47 -49
- 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/checkbox/index.js +2 -2
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs +2 -2
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/{chunk-27G5FKOP.mjs → chunk-2GEXJLRC.mjs} +1 -1
- package/dist/{chunk-QSEQS7DS.mjs → chunk-7R25FOBM.mjs} +17 -17
- package/dist/{chunk-AJTYKC5R.mjs → chunk-CQYG77SY.mjs} +1 -1
- package/dist/{chunk-QZIENYTE.mjs → chunk-D7HDVJFT.mjs} +3 -3
- package/dist/{chunk-DYPGZ2IP.mjs → chunk-EBZECS2Z.mjs} +4 -4
- package/dist/{chunk-CTNKKP2O.mjs → chunk-FLMCWOQQ.mjs} +62 -62
- package/dist/{chunk-GU2DOJ7Q.mjs → chunk-FP6763YO.mjs} +89 -4
- package/dist/{chunk-RT2Q3SH7.mjs → chunk-I3AK6DXN.mjs} +3 -3
- package/dist/{chunk-CTZRVSTI.mjs → chunk-K5S7P5ZO.mjs} +4 -4
- package/dist/{chunk-GN7EIDTE.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.d.mts +6 -1
- package/dist/dataTable/index.d.ts +6 -1
- package/dist/dataTable/index.js +459 -245
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +476 -262
- 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 +92 -9
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +92 -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 +12 -2
- package/dist/elements/index.d.ts +12 -2
- package/dist/elements/index.js +656 -493
- package/dist/elements/index.mjs +288 -210
- 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.css +27 -127
- package/dist/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +732 -570
- package/dist/index.mjs +822 -660
- 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 +119 -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/logos/index.d.mts +5 -0
- package/dist/logos/index.d.ts +5 -0
- package/dist/logos/index.js +85 -0
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +85 -0
- package/dist/logos/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 +5 -5
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +5 -5
- 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/table/index.js +4 -4
- package/dist/table/index.js.map +1 -1
- package/dist/table/index.mjs +4 -4
- package/dist/table/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
|
@@ -823,7 +823,7 @@ import {
|
|
823
823
|
|
824
824
|
// elements/table/Table.tsx
|
825
825
|
import * as React9 from "react";
|
826
|
-
var Table = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("div", { className: "hawa-relative hawa-w-full
|
826
|
+
var Table = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React9.createElement("div", { className: "hawa-relative hawa-w-full hawa-overflow-auto hawa-rounded hawa-border" }, /* @__PURE__ */ React9.createElement(
|
827
827
|
"table",
|
828
828
|
{
|
829
829
|
ref,
|
@@ -845,12 +845,12 @@ var TableHead = React9.forwardRef(
|
|
845
845
|
{
|
846
846
|
ref,
|
847
847
|
className: cn(
|
848
|
-
"hawa-bg-muted/60 hawa-text-start hawa-align-middle hawa-font-medium hawa-text-muted-foreground dark:hawa-bg-muted/40 [&:has([role=checkbox])]:hawa-pr-0 [&:not(:last-child)&:not(:first-child)]:hawa-border-x",
|
848
|
+
"hawa-bg-muted/60 hawa-text-nowrap hawa-text-start hawa-align-middle hawa-font-medium hawa-text-muted-foreground dark:hawa-bg-muted/40 [&:has([role=checkbox])]:hawa-pr-0 [&:not(:last-child)&:not(:first-child)]:hawa-border-x",
|
849
849
|
dir === "rtl" ? "[&:not(:last-child)]:hawa-border-l" : "[&:not(:last-child)]:hawa-border-r",
|
850
850
|
condensed ? "hawa-h-8" : "hawa-h-12",
|
851
851
|
clickable ? "hawa-px-1" : "hawa-px-4",
|
852
852
|
//First and last columns
|
853
|
-
clickable ? "
|
853
|
+
clickable ? "[&:not(:last-child)&:not(:first-child)]:hawa-p-1" : "hawa-px-4",
|
854
854
|
//Columns in between
|
855
855
|
className
|
856
856
|
),
|
@@ -900,7 +900,7 @@ var TableCell = React9.forwardRef(
|
|
900
900
|
// enablePadding ? "hawa-p-4" : "hawa-p-0",
|
901
901
|
// props.disablePadding ? "hawa-p-0" : "hawa-p-4",
|
902
902
|
// props.condensed ? "hawa-p-0 hawa-px-4" : "hawa-p-4",
|
903
|
-
"hawa-align-middle [&:has([role=checkbox])]:hawa-pr-0
|
903
|
+
"hawa-align-middle [&:has([role=checkbox])]:hawa-pr-0",
|
904
904
|
"[&:not(:last-child)&:not(:first-child)]:hawa-border-x",
|
905
905
|
// "[&:not(:last-child)]:hawa-border-r",
|
906
906
|
props.dir === "rtl" ? "[&:not(:last-child)]:hawa-border-l" : "[&:not(:last-child)]:hawa-border-r",
|
@@ -939,11 +939,12 @@ var DataTable = ({
|
|
939
939
|
paginationPosition = "bottom",
|
940
940
|
translateFn,
|
941
941
|
enableHideColumns,
|
942
|
+
enableSelection,
|
942
943
|
enableSearch,
|
943
944
|
enableGoTo,
|
944
945
|
...props
|
945
946
|
}) => {
|
946
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
947
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
947
948
|
const [sorting, setSorting] = React10.useState(
|
948
949
|
props.defaultSort ? [{ id: props.defaultSort, desc: false }] : []
|
949
950
|
);
|
@@ -957,9 +958,42 @@ var DataTable = ({
|
|
957
958
|
return savedVisibility ? JSON.parse(savedVisibility) : {};
|
958
959
|
});
|
959
960
|
const [rowSelection, setRowSelection] = React10.useState({});
|
961
|
+
let mainColumns = enableSelection ? [
|
962
|
+
{
|
963
|
+
id: "select",
|
964
|
+
maxSize: 16,
|
965
|
+
minSize: 16,
|
966
|
+
size: 16,
|
967
|
+
header: ({ table: table2 }) => /* @__PURE__ */ React10.createElement(
|
968
|
+
Checkbox,
|
969
|
+
{
|
970
|
+
dir: props.direction,
|
971
|
+
id: "select_all",
|
972
|
+
"aria-label": "Select all",
|
973
|
+
className: props.direction === "rtl" ? "hawa-ms-4" : "hawa-me-0",
|
974
|
+
checked: table2.getIsAllPageRowsSelected() || table2.getIsSomePageRowsSelected() && "indeterminate",
|
975
|
+
onCheckedChange: (value) => table2.toggleAllPageRowsSelected(!!value)
|
976
|
+
}
|
977
|
+
),
|
978
|
+
cell: ({ row }) => /* @__PURE__ */ React10.createElement(
|
979
|
+
Checkbox,
|
980
|
+
{
|
981
|
+
dir: props.direction,
|
982
|
+
id: "select_row",
|
983
|
+
className: props.direction === "rtl" ? "hawa-ms-4" : "hawa-me-4",
|
984
|
+
checked: row.getIsSelected(),
|
985
|
+
onCheckedChange: (value) => row.toggleSelected(!!value),
|
986
|
+
"aria-label": "Select row"
|
987
|
+
}
|
988
|
+
),
|
989
|
+
enableSorting: false,
|
990
|
+
enableHiding: false
|
991
|
+
},
|
992
|
+
...columns
|
993
|
+
] : columns;
|
960
994
|
const table = useReactTable({
|
961
995
|
data,
|
962
|
-
columns,
|
996
|
+
columns: mainColumns,
|
963
997
|
onExpandedChange: setExpanded,
|
964
998
|
getExpandedRowModel: getExpandedRowModel(),
|
965
999
|
onGlobalFilterChange: setGlobalFilter,
|
@@ -1051,19 +1085,21 @@ var DataTable = ({
|
|
1051
1085
|
/* @__PURE__ */ React10.createElement(
|
1052
1086
|
"svg",
|
1053
1087
|
{
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
height: "24",
|
1058
|
-
viewBox: "0 0 24 24",
|
1088
|
+
width: "15",
|
1089
|
+
height: "15",
|
1090
|
+
viewBox: "0 0 15 15",
|
1059
1091
|
fill: "none",
|
1060
|
-
|
1061
|
-
strokeWidth: "2",
|
1062
|
-
strokeLinecap: "round",
|
1063
|
-
strokeLinejoin: "round",
|
1064
|
-
className: "hawa-icon hawa-rotate-90"
|
1092
|
+
xmlns: "http://www.w3.org/2000/svg"
|
1065
1093
|
},
|
1066
|
-
/* @__PURE__ */ React10.createElement(
|
1094
|
+
/* @__PURE__ */ React10.createElement(
|
1095
|
+
"path",
|
1096
|
+
{
|
1097
|
+
d: "M5.5 3C4.67157 3 4 3.67157 4 4.5C4 5.32843 4.67157 6 5.5 6C6.32843 6 7 5.32843 7 4.5C7 3.67157 6.32843 3 5.5 3ZM3 5C3.01671 5 3.03323 4.99918 3.04952 4.99758C3.28022 6.1399 4.28967 7 5.5 7C6.71033 7 7.71978 6.1399 7.95048 4.99758C7.96677 4.99918 7.98329 5 8 5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H8C7.98329 4 7.96677 4.00082 7.95048 4.00242C7.71978 2.86009 6.71033 2 5.5 2C4.28967 2 3.28022 2.86009 3.04952 4.00242C3.03323 4.00082 3.01671 4 3 4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H3ZM11.9505 10.9976C11.7198 12.1399 10.7103 13 9.5 13C8.28967 13 7.28022 12.1399 7.04952 10.9976C7.03323 10.9992 7.01671 11 7 11H1.5C1.22386 11 1 10.7761 1 10.5C1 10.2239 1.22386 10 1.5 10H7C7.01671 10 7.03323 10.0008 7.04952 10.0024C7.28022 8.8601 8.28967 8 9.5 8C10.7103 8 11.7198 8.8601 11.9505 10.0024C11.9668 10.0008 11.9833 10 12 10H13.5C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11H12C11.9833 11 11.9668 10.9992 11.9505 10.9976ZM8 10.5C8 9.67157 8.67157 9 9.5 9C10.3284 9 11 9.67157 11 10.5C11 11.3284 10.3284 12 9.5 12C8.67157 12 8 11.3284 8 10.5Z",
|
1098
|
+
fill: "currentColor",
|
1099
|
+
"fill-rule": "evenodd",
|
1100
|
+
"clip-rule": "evenodd"
|
1101
|
+
}
|
1102
|
+
)
|
1067
1103
|
)
|
1068
1104
|
)), /* @__PURE__ */ React10.createElement(
|
1069
1105
|
DropdownMenuContent,
|
@@ -1088,7 +1124,7 @@ var DataTable = ({
|
|
1088
1124
|
"div",
|
1089
1125
|
{
|
1090
1126
|
className: cn(
|
1091
|
-
"hawa-flex hawa-w-full
|
1127
|
+
"hawa-flex hawa-w-full hawa-gap-4",
|
1092
1128
|
paginationPosition === "top" ? "hawa-flex-col-reverse" : "hawa-flex-col"
|
1093
1129
|
)
|
1094
1130
|
},
|
@@ -1098,12 +1134,14 @@ var DataTable = ({
|
|
1098
1134
|
return /* @__PURE__ */ React10.createElement(
|
1099
1135
|
TableHead,
|
1100
1136
|
{
|
1137
|
+
key: header.id,
|
1101
1138
|
dir: props.direction,
|
1102
1139
|
condensed: props.condensed,
|
1103
1140
|
clickable: Boolean(isSortable),
|
1104
|
-
key: header.id,
|
1105
1141
|
style: {
|
1106
|
-
maxWidth: header.column.columnDef.maxSize
|
1142
|
+
maxWidth: `${header.column.columnDef.maxSize}px !important`,
|
1143
|
+
minWidth: `${header.column.columnDef.minSize}px !important`,
|
1144
|
+
width: `${header.column.columnDef.size}px !important`
|
1107
1145
|
}
|
1108
1146
|
},
|
1109
1147
|
header.isPlaceholder ? null : flexRender(
|
@@ -1122,12 +1160,14 @@ var DataTable = ({
|
|
1122
1160
|
return /* @__PURE__ */ React10.createElement(
|
1123
1161
|
TableCell,
|
1124
1162
|
{
|
1163
|
+
key: cell.id,
|
1164
|
+
dir: props.direction,
|
1125
1165
|
style: {
|
1126
|
-
maxWidth: cell.column.columnDef.maxSize
|
1166
|
+
maxWidth: `${cell.column.columnDef.maxSize}px !important`,
|
1167
|
+
minWidth: `${cell.column.columnDef.minSize}px !important`,
|
1168
|
+
width: `${cell.column.columnDef.size}px !important`
|
1127
1169
|
},
|
1128
|
-
|
1129
|
-
padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding,
|
1130
|
-
key: cell.id
|
1170
|
+
padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding
|
1131
1171
|
},
|
1132
1172
|
flexRender(
|
1133
1173
|
cell.column.columnDef.cell,
|
@@ -1143,169 +1183,207 @@ var DataTable = ({
|
|
1143
1183
|
},
|
1144
1184
|
(_f = props.texts) == null ? void 0 : _f.noData
|
1145
1185
|
))))),
|
1146
|
-
/* @__PURE__ */ React10.createElement(
|
1186
|
+
/* @__PURE__ */ React10.createElement(
|
1147
1187
|
"div",
|
1148
1188
|
{
|
1149
|
-
className: "text-muted-foreground text-sm",
|
1150
|
-
dir: props.direction
|
1151
|
-
},
|
1152
|
-
/* @__PURE__ */ React10.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
|
1153
|
-
" ",
|
1154
|
-
/* @__PURE__ */ React10.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
|
1155
|
-
), /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 " }, enableGoTo && /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-text-sm" }, (_h = props.texts) == null ? void 0 : _h.goTo), /* @__PURE__ */ React10.createElement(
|
1156
|
-
"input",
|
1157
|
-
{
|
1158
|
-
max: table.getPageCount(),
|
1159
|
-
min: 0,
|
1160
|
-
type: "number",
|
1161
|
-
defaultValue: table.getState().pagination.pageIndex + 1,
|
1162
|
-
onChange: (e) => {
|
1163
|
-
let page = Number(e.target.value) - 1;
|
1164
|
-
const max = table.getPageCount();
|
1165
|
-
if (!isNaN(page) && Number(page) > max) {
|
1166
|
-
page = max - 1;
|
1167
|
-
}
|
1168
|
-
table.setPageIndex(page);
|
1169
|
-
},
|
1170
|
-
className: "hawa-w-16 hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-text-sm placeholder:hawa-text-muted-foreground"
|
1171
|
-
}
|
1172
|
-
)), /* @__PURE__ */ React10.createElement(
|
1173
|
-
DropdownMenu,
|
1174
|
-
{
|
1175
|
-
size: "sm",
|
1176
|
-
width: "sm",
|
1177
|
-
direction: props.direction,
|
1178
|
-
items: itemsPerPageOptions || [
|
1179
|
-
{ label: `10 / ${pageText}`, value: 10 },
|
1180
|
-
{ label: `20 / ${pageText}`, value: 20 },
|
1181
|
-
{ label: `30 / ${pageText}`, value: 30 },
|
1182
|
-
{ label: `40 / ${pageText}`, value: 40 },
|
1183
|
-
{ label: `50 / ${pageText}`, value: 50 }
|
1184
|
-
],
|
1185
|
-
trigger: /* @__PURE__ */ React10.createElement(
|
1186
|
-
Button,
|
1187
|
-
{
|
1188
|
-
variant: "outline",
|
1189
|
-
size: "icon",
|
1190
|
-
className: "hawa-h-fit hawa-w-fit hawa-p-0 hawa-px-2 hawa-py-1 "
|
1191
|
-
},
|
1192
|
-
`${table.getState().pagination.pageSize} / ${(_i = props.texts) == null ? void 0 : _i.page}`
|
1193
|
-
),
|
1194
|
-
onItemSelect: (e) => table.setPageSize(Number(e))
|
1195
|
-
}
|
1196
|
-
), table.getPageCount() > 1 && /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm " }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React10.createElement("div", null, (_j = props.texts) == null ? void 0 : _j.page), /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React10.createElement("span", null, (_k = props.texts) == null ? void 0 : _k.of), /* @__PURE__ */ React10.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React10.createElement(
|
1197
|
-
Button,
|
1198
|
-
{
|
1199
|
-
"aria-label": "Next Table Page",
|
1200
|
-
variant: "outline",
|
1201
|
-
size: "smallIcon",
|
1202
|
-
onClick: () => table.setPageIndex(0),
|
1203
|
-
disabled: !table.getCanPreviousPage(),
|
1204
1189
|
className: cn(
|
1205
|
-
|
1190
|
+
"hawa-flex hawa-justify-between hawa-gap-4 tablet:hawa-gap-0",
|
1191
|
+
props.showSelectionCount ? "hawa-flex-col tablet:hawa-flex-row" : "hawa-flex-col mobile:hawa-flex-row"
|
1206
1192
|
)
|
1207
1193
|
},
|
1208
|
-
/* @__PURE__ */ React10.createElement(
|
1209
|
-
|
1194
|
+
!props.showCount && /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }),
|
1195
|
+
props.showCount || table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount ? /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-h-auto hawa-gap-4" }, /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-h-auto hawa-items-center hawa-justify-between" }, props.showCount && /* @__PURE__ */ React10.createElement(
|
1196
|
+
"div",
|
1210
1197
|
{
|
1211
|
-
|
1212
|
-
|
1213
|
-
height: "20",
|
1214
|
-
viewBox: "0 0 24 24",
|
1215
|
-
fill: "none",
|
1216
|
-
stroke: "currentColor",
|
1217
|
-
strokeWidth: "2",
|
1218
|
-
strokeLinecap: "round",
|
1219
|
-
strokeLinejoin: "round"
|
1198
|
+
className: "hawa-text-muted-foreground hawa-text-sm",
|
1199
|
+
dir: props.direction
|
1220
1200
|
},
|
1221
|
-
/* @__PURE__ */ React10.createElement("
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1201
|
+
/* @__PURE__ */ React10.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
|
1202
|
+
" ",
|
1203
|
+
/* @__PURE__ */ React10.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
|
1204
|
+
), props.showCount && table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount && /* @__PURE__ */ React10.createElement("div", { className: "hawa-w-[0.5px] hawa-mx-2 hawa-bg-red-500 hawa-h-full" }), table.getFilteredSelectedRowModel().rows.length > 0 && props.showSelectionCount && /* @__PURE__ */ React10.createElement(
|
1205
|
+
"div",
|
1206
|
+
{
|
1207
|
+
className: "hawa-text-muted-foreground hawa-text-sm",
|
1208
|
+
dir: props.direction
|
1209
|
+
},
|
1210
|
+
table.getFilteredSelectedRowModel().rows.length,
|
1211
|
+
" ",
|
1212
|
+
(_h = props.texts) == null ? void 0 : _h.of,
|
1213
|
+
" ",
|
1214
|
+
table.getFilteredRowModel().rows.length,
|
1215
|
+
" ",
|
1216
|
+
(_i = props.texts) == null ? void 0 : _i.selectedRows
|
1217
|
+
)), table.getFilteredSelectedRowModel().rows.length > 0 && /* @__PURE__ */ React10.createElement("div", { className: "" }, /* @__PURE__ */ React10.createElement(
|
1218
|
+
DropdownMenu,
|
1219
|
+
{
|
1220
|
+
size: "sm",
|
1221
|
+
width: "sm",
|
1222
|
+
direction: props.direction,
|
1223
|
+
items: (props.bulkActions || []).map((action) => ({
|
1224
|
+
...action,
|
1225
|
+
action: () => action.action(
|
1226
|
+
table.getFilteredSelectedRowModel().rows
|
1227
|
+
)
|
1228
|
+
})),
|
1229
|
+
trigger: /* @__PURE__ */ React10.createElement(Button, { size: "xs" }, ((_j = props.texts) == null ? void 0 : _j.bulkAction) || "Bulk Action")
|
1230
|
+
}
|
1231
|
+
))) : null,
|
1232
|
+
/* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-row hawa-items-center hawa-gap-2 hawa-bg--500 tablet:hawa-w-fit hawa-justify-between" }, enableGoTo && /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-text-sm" }, (_k = props.texts) == null ? void 0 : _k.goTo), /* @__PURE__ */ React10.createElement(
|
1233
|
+
"input",
|
1234
|
+
{
|
1235
|
+
max: table.getPageCount(),
|
1236
|
+
min: 0,
|
1237
|
+
type: "number",
|
1238
|
+
defaultValue: table.getState().pagination.pageIndex + 1,
|
1239
|
+
onChange: (e) => {
|
1240
|
+
let page = Number(e.target.value) - 1;
|
1241
|
+
const max = table.getPageCount();
|
1242
|
+
if (!isNaN(page) && Number(page) > max) {
|
1243
|
+
page = max - 1;
|
1244
|
+
}
|
1245
|
+
table.setPageIndex(page);
|
1246
|
+
},
|
1247
|
+
className: "hawa-w-16 hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-text-sm placeholder:hawa-text-muted-foreground"
|
1248
|
+
}
|
1249
|
+
)), /* @__PURE__ */ React10.createElement(
|
1250
|
+
DropdownMenu,
|
1251
|
+
{
|
1252
|
+
size: "sm",
|
1253
|
+
width: "sm",
|
1254
|
+
direction: props.direction,
|
1255
|
+
items: itemsPerPageOptions || [
|
1256
|
+
{ label: `10 / ${pageText}`, value: 10 },
|
1257
|
+
{ label: `20 / ${pageText}`, value: 20 },
|
1258
|
+
{ label: `30 / ${pageText}`, value: 30 },
|
1259
|
+
{ label: `40 / ${pageText}`, value: 40 },
|
1260
|
+
{ label: `50 / ${pageText}`, value: 50 }
|
1261
|
+
],
|
1262
|
+
trigger: /* @__PURE__ */ React10.createElement(
|
1263
|
+
Button,
|
1264
|
+
{
|
1265
|
+
variant: "outline",
|
1266
|
+
size: "icon",
|
1267
|
+
className: "hawa-h-fit hawa-w-fit hawa-p-0 hawa-px-2 hawa-py-1 hawa-whitespace-nowrap"
|
1268
|
+
},
|
1269
|
+
`${table.getState().pagination.pageSize} / ${(_l = props.texts) == null ? void 0 : _l.page}`
|
1270
|
+
),
|
1271
|
+
onItemSelect: (e) => table.setPageSize(Number(e))
|
1272
|
+
}
|
1273
|
+
), table.getPageCount() > 1 && /* @__PURE__ */ React10.createElement("div", { className: "hawa-bg--500 hawa-flex hawa-flex-row hawa-gap-2" }, /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-bg--500 hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm" }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React10.createElement("div", null, (_m = props.texts) == null ? void 0 : _m.page), /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React10.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React10.createElement("span", null, (_n = props.texts) == null ? void 0 : _n.of), /* @__PURE__ */ React10.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-items-center hawa-bg--500" }, /* @__PURE__ */ React10.createElement(
|
1274
|
+
Button,
|
1275
|
+
{
|
1276
|
+
"aria-label": "Next Table Page",
|
1277
|
+
variant: "outline",
|
1278
|
+
size: "smallIcon",
|
1279
|
+
onClick: () => table.setPageIndex(0),
|
1280
|
+
disabled: !table.getCanPreviousPage(),
|
1281
|
+
className: cn(
|
1282
|
+
props.direction === "rtl" && "hawa-rotate-180"
|
1283
|
+
)
|
1284
|
+
},
|
1285
|
+
/* @__PURE__ */ React10.createElement(
|
1286
|
+
"svg",
|
1287
|
+
{
|
1288
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1289
|
+
width: "20",
|
1290
|
+
height: "20",
|
1291
|
+
viewBox: "0 0 24 24",
|
1292
|
+
fill: "none",
|
1293
|
+
stroke: "currentColor",
|
1294
|
+
strokeWidth: "2",
|
1295
|
+
strokeLinecap: "round",
|
1296
|
+
strokeLinejoin: "round"
|
1297
|
+
},
|
1298
|
+
/* @__PURE__ */ React10.createElement("path", { d: "m11 17-5-5 5-5" }),
|
1299
|
+
/* @__PURE__ */ React10.createElement("path", { d: "m18 17-5-5 5-5" })
|
1234
1300
|
)
|
1235
|
-
|
1236
|
-
|
1237
|
-
"svg",
|
1301
|
+
), /* @__PURE__ */ React10.createElement(
|
1302
|
+
Button,
|
1238
1303
|
{
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
strokeLinecap: "round",
|
1248
|
-
strokeLinejoin: "round"
|
1304
|
+
"aria-label": "Previous Table Page",
|
1305
|
+
variant: "outline",
|
1306
|
+
size: "smallIcon",
|
1307
|
+
onClick: () => table.previousPage(),
|
1308
|
+
disabled: !table.getCanPreviousPage(),
|
1309
|
+
className: cn(
|
1310
|
+
props.direction === "rtl" && "hawa-rotate-180"
|
1311
|
+
)
|
1249
1312
|
},
|
1250
|
-
/* @__PURE__ */ React10.createElement(
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1313
|
+
/* @__PURE__ */ React10.createElement(
|
1314
|
+
"svg",
|
1315
|
+
{
|
1316
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1317
|
+
width: "20",
|
1318
|
+
height: "20",
|
1319
|
+
"aria-label": "Single Chevron Icon",
|
1320
|
+
viewBox: "0 0 24 24",
|
1321
|
+
fill: "none",
|
1322
|
+
stroke: "currentColor",
|
1323
|
+
strokeWidth: "2",
|
1324
|
+
strokeLinecap: "round",
|
1325
|
+
strokeLinejoin: "round"
|
1326
|
+
},
|
1327
|
+
/* @__PURE__ */ React10.createElement("path", { d: "m15 18-6-6 6-6" })
|
1262
1328
|
)
|
1263
|
-
|
1264
|
-
|
1265
|
-
"svg",
|
1329
|
+
), /* @__PURE__ */ React10.createElement(
|
1330
|
+
Button,
|
1266
1331
|
{
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
strokeLinecap: "round",
|
1276
|
-
strokeLinejoin: "round"
|
1332
|
+
"aria-label": "Next Table Page",
|
1333
|
+
variant: "outline",
|
1334
|
+
size: "smallIcon",
|
1335
|
+
onClick: () => table.nextPage(),
|
1336
|
+
disabled: !table.getCanNextPage(),
|
1337
|
+
className: cn(
|
1338
|
+
props.direction === "ltr" && "hawa-rotate-180"
|
1339
|
+
)
|
1277
1340
|
},
|
1278
|
-
/* @__PURE__ */ React10.createElement(
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1341
|
+
/* @__PURE__ */ React10.createElement(
|
1342
|
+
"svg",
|
1343
|
+
{
|
1344
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1345
|
+
width: "20",
|
1346
|
+
height: "20",
|
1347
|
+
"aria-label": "Single Chevron Icon",
|
1348
|
+
viewBox: "0 0 24 24",
|
1349
|
+
fill: "none",
|
1350
|
+
stroke: "currentColor",
|
1351
|
+
strokeWidth: "2",
|
1352
|
+
strokeLinecap: "round",
|
1353
|
+
strokeLinejoin: "round"
|
1354
|
+
},
|
1355
|
+
/* @__PURE__ */ React10.createElement("path", { d: "m15 18-6-6 6-6" })
|
1290
1356
|
)
|
1291
|
-
|
1292
|
-
|
1293
|
-
"svg",
|
1357
|
+
), /* @__PURE__ */ React10.createElement(
|
1358
|
+
Button,
|
1294
1359
|
{
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
strokeLinejoin: "round"
|
1360
|
+
"aria-label": "Next Table Page",
|
1361
|
+
variant: "outline",
|
1362
|
+
size: "smallIcon",
|
1363
|
+
onClick: () => table.setPageIndex(table.getPageCount() - 1),
|
1364
|
+
disabled: !table.getCanNextPage(),
|
1365
|
+
className: cn(
|
1366
|
+
props.direction === "ltr" && "hawa-rotate-180"
|
1367
|
+
)
|
1304
1368
|
},
|
1305
|
-
/* @__PURE__ */ React10.createElement(
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1369
|
+
/* @__PURE__ */ React10.createElement(
|
1370
|
+
"svg",
|
1371
|
+
{
|
1372
|
+
xmlns: "http://www.w3.org/2000/svg",
|
1373
|
+
width: "20",
|
1374
|
+
height: "20",
|
1375
|
+
viewBox: "0 0 24 24",
|
1376
|
+
fill: "none",
|
1377
|
+
stroke: "currentColor",
|
1378
|
+
strokeWidth: "2",
|
1379
|
+
strokeLinecap: "round",
|
1380
|
+
strokeLinejoin: "round"
|
1381
|
+
},
|
1382
|
+
/* @__PURE__ */ React10.createElement("path", { d: "m11 17-5-5 5-5" }),
|
1383
|
+
/* @__PURE__ */ React10.createElement("path", { d: "m18 17-5-5 5-5" })
|
1384
|
+
)
|
1385
|
+
))))
|
1386
|
+
)
|
1309
1387
|
));
|
1310
1388
|
};
|
1311
1389
|
|
@@ -1395,7 +1473,7 @@ var BackToTop = ({ ...props }) => {
|
|
1395
1473
|
"svg",
|
1396
1474
|
{
|
1397
1475
|
className: cn(
|
1398
|
-
"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"
|
1399
1477
|
),
|
1400
1478
|
"aria-label": "Arrow Icon",
|
1401
1479
|
viewBox: "0 0 20 20",
|
@@ -1579,7 +1657,7 @@ var AppCommand = ({
|
|
1579
1657
|
DialogContent,
|
1580
1658
|
{
|
1581
1659
|
hideCloseButton: true,
|
1582
|
-
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l
|
1660
|
+
className: "hawa-overflow-hidden !hawa-p-0 hawa-shadow-l"
|
1583
1661
|
},
|
1584
1662
|
/* @__PURE__ */ React12.createElement(FullCommand, { ...commandProps, onActionClick })
|
1585
1663
|
));
|
@@ -1633,7 +1711,7 @@ var Combobox = React13.forwardRef(
|
|
1633
1711
|
ref: containerRef
|
1634
1712
|
},
|
1635
1713
|
props.label && /* @__PURE__ */ React13.createElement(Label, { ...labelProps }, props.label),
|
1636
|
-
/* @__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(
|
1637
1715
|
"div",
|
1638
1716
|
{
|
1639
1717
|
className: cn(
|
@@ -1648,8 +1726,8 @@ var Combobox = React13.forwardRef(
|
|
1648
1726
|
type: "button",
|
1649
1727
|
"aria-expanded": open,
|
1650
1728
|
className: cn(
|
1651
|
-
"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
|
1652
|
-
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"
|
1653
1731
|
)
|
1654
1732
|
},
|
1655
1733
|
selectedItem ? renderSelected ? renderSelected(selectedItem) : getProperty(selectedItem, labelKey) : ((_a = props.texts) == null ? void 0 : _a.placeholder) || ". . .",
|
@@ -1926,8 +2004,8 @@ var FileDropzone = ({
|
|
1926
2004
|
"div",
|
1927
2005
|
{
|
1928
2006
|
className: clsx(
|
1929
|
-
"hawa-flex hawa-flex-col hawa-justify-center hawa-rounded hawa-border hawa-border-dashed
|
1930
|
-
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"
|
1931
2009
|
)
|
1932
2010
|
},
|
1933
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(
|
@@ -1953,8 +2031,8 @@ var FileDropzone = ({
|
|
1953
2031
|
/* @__PURE__ */ React14.createElement("path", { d: "M3 11l0 .01" }),
|
1954
2032
|
/* @__PURE__ */ React14.createElement("path", { d: "M3 15l0 .01" })
|
1955
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)),
|
1956
|
-
acceptedFiles.length > 0 && /* @__PURE__ */ React14.createElement("div", { className: "hawa-flex hawa-justify-center hawa-rounded-lg
|
1957
|
-
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,
|
1958
2036
|
/* @__PURE__ */ React14.createElement("div", { className: "px-4" }, ((_b = (_a = fileRejections[0]) == null ? void 0 : _a.errors[0]) == null ? void 0 : _b.code) && errs)
|
1959
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(
|
1960
2038
|
"a",
|
@@ -2070,7 +2148,7 @@ var Switch = React16.forwardRef(
|
|
2070
2148
|
{
|
2071
2149
|
className: cn(
|
2072
2150
|
thumbSize[size],
|
2073
|
-
"hawa-block hawa-rounded
|
2151
|
+
"hawa-block hawa-rounded hawa-transition-transform hawa-duration-100 hawa-will-change-transform",
|
2074
2152
|
"data-[state=checked]:hawa-bg-primary-foreground",
|
2075
2153
|
"hawa-bg-white dark:hawa-bg-background",
|
2076
2154
|
thumbRoundednessStyles[roundedness],
|
@@ -2208,7 +2286,7 @@ var Badge = ({
|
|
2208
2286
|
left: badgePosition == null ? void 0 : badgePosition.left
|
2209
2287
|
},
|
2210
2288
|
className: cn(
|
2211
|
-
"hawa-origin-center hawa-rounded-full
|
2289
|
+
"hawa-origin-center hawa-rounded-full hawa-bg-red-500",
|
2212
2290
|
sizeStyles2[size].classes,
|
2213
2291
|
"hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-text-[9px] hawa-text-white"
|
2214
2292
|
)
|
@@ -2384,7 +2462,7 @@ var ProgressCircle = React21.forwardRef((props, ref) => {
|
|
2384
2462
|
strokeLinecap: "round",
|
2385
2463
|
className: cn(
|
2386
2464
|
"hawa-transition-colors hawa-ease-linear",
|
2387
|
-
"
|
2465
|
+
"hawa-stroke-primary/20"
|
2388
2466
|
)
|
2389
2467
|
}
|
2390
2468
|
),
|
@@ -2701,7 +2779,7 @@ var SimpleTable = ({
|
|
2701
2779
|
"div",
|
2702
2780
|
{
|
2703
2781
|
className: cn(
|
2704
|
-
"hawa-flex
|
2782
|
+
"hawa-flex hawa-w-full hawa-flex-col hawa-gap-4",
|
2705
2783
|
classNames
|
2706
2784
|
)
|
2707
2785
|
},
|
@@ -2870,7 +2948,7 @@ var CodeBlock = ({
|
|
2870
2948
|
"div",
|
2871
2949
|
{
|
2872
2950
|
className: cn(
|
2873
|
-
"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",
|
2874
2952
|
tabs && fileName && "hawa-rounded-t-none",
|
2875
2953
|
classNames == null ? void 0 : classNames.tabs
|
2876
2954
|
)
|
@@ -2880,7 +2958,7 @@ var CodeBlock = ({
|
|
2880
2958
|
{
|
2881
2959
|
key: i,
|
2882
2960
|
className: cn(
|
2883
|
-
selectedTab === i ? "
|
2961
|
+
selectedTab === i ? "hawa-border-b-2 hawa-border-primary" : "hawa-bg-transparent",
|
2884
2962
|
classNames == null ? void 0 : classNames.tab
|
2885
2963
|
)
|
2886
2964
|
},
|
@@ -2889,7 +2967,7 @@ var CodeBlock = ({
|
|
2889
2967
|
{
|
2890
2968
|
onClick: () => setSelectedTab(i),
|
2891
2969
|
className: cn(
|
2892
|
-
"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"
|
2893
2971
|
)
|
2894
2972
|
},
|
2895
2973
|
tab.title
|
@@ -2910,7 +2988,7 @@ var CodeBlock = ({
|
|
2910
2988
|
"div",
|
2911
2989
|
{
|
2912
2990
|
className: cn(
|
2913
|
-
"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"
|
2914
2992
|
)
|
2915
2993
|
},
|
2916
2994
|
/* @__PURE__ */ React27.createElement(
|
@@ -2945,7 +3023,7 @@ var CodeBlock = ({
|
|
2945
3023
|
{
|
2946
3024
|
className: cn(
|
2947
3025
|
// !hawa-pe-12
|
2948
|
-
"hawa-min-h-[37.75px]
|
3026
|
+
"hawa-min-h-[37.75px] hawa-w-full hawa-p-4 hawa-font-mono hawa-text-foreground",
|
2949
3027
|
classNames == null ? void 0 : classNames.code,
|
2950
3028
|
wrapText && "hawa-text-wrap"
|
2951
3029
|
)
|
@@ -3000,11 +3078,11 @@ var Carousel = ({
|
|
3000
3078
|
const length = React28.Children.count(items);
|
3001
3079
|
const canScrollNext = !!(emblaApi == null ? void 0 : emblaApi.canScrollNext());
|
3002
3080
|
const canScrollPrev = !!(emblaApi == null ? void 0 : emblaApi.canScrollPrev());
|
3003
|
-
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(
|
3004
3082
|
"div",
|
3005
3083
|
{
|
3006
3084
|
key: i,
|
3007
|
-
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"
|
3008
3086
|
},
|
3009
3087
|
item
|
3010
3088
|
))))), /* @__PURE__ */ React28.createElement(
|
@@ -3055,13 +3133,13 @@ var Dots = ({
|
|
3055
3133
|
);
|
3056
3134
|
};
|
3057
3135
|
var CarouselControls = (props) => {
|
3058
|
-
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(
|
3059
3137
|
"button",
|
3060
3138
|
{
|
3061
3139
|
onClick: () => props.canScrollPrev && props.onPrev(),
|
3062
3140
|
disabled: !props.canScrollPrev,
|
3063
3141
|
className: cn(
|
3064
|
-
"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",
|
3065
3143
|
!props.canScrollPrev && "hawa-bg-primary/50",
|
3066
3144
|
props.canScrollPrev && "hawa-bg-primary"
|
3067
3145
|
)
|
@@ -3073,7 +3151,7 @@ var CarouselControls = (props) => {
|
|
3073
3151
|
stroke: "currentColor",
|
3074
3152
|
fill: "currentColor",
|
3075
3153
|
viewBox: "0 0 16 16",
|
3076
|
-
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"
|
3077
3155
|
},
|
3078
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" })
|
3079
3157
|
)
|
@@ -3083,7 +3161,7 @@ var CarouselControls = (props) => {
|
|
3083
3161
|
onClick: () => props.canScrollNext && props.onNext(),
|
3084
3162
|
disabled: !props.canScrollNext,
|
3085
3163
|
className: cn(
|
3086
|
-
"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",
|
3087
3165
|
!props.canScrollNext && "hawa-bg-primary/50",
|
3088
3166
|
props.canScrollNext && "hawa-bg-primary"
|
3089
3167
|
)
|
@@ -3095,7 +3173,7 @@ var CarouselControls = (props) => {
|
|
3095
3173
|
stroke: "currentColor",
|
3096
3174
|
fill: "currentColor",
|
3097
3175
|
viewBox: "0 0 16 16",
|
3098
|
-
className: "hawa-h-2 hawa-w-2
|
3176
|
+
className: "hawa-h-2 hawa-w-2 hawa-shrink-0 hawa-transition-transform hawa-duration-200"
|
3099
3177
|
},
|
3100
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" })
|
3101
3179
|
)
|
@@ -3277,7 +3355,7 @@ function Toaster(props) {
|
|
3277
3355
|
)
|
3278
3356
|
},
|
3279
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)),
|
3280
|
-
action && /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex
|
3358
|
+
action && /* @__PURE__ */ React31.createElement("div", { className: "hawa-flex hawa-flex-col hawa-justify-center" }, action)
|
3281
3359
|
)
|
3282
3360
|
));
|
3283
3361
|
}), /* @__PURE__ */ React31.createElement(
|
@@ -3441,7 +3519,7 @@ var InterfaceSettings = ({
|
|
3441
3519
|
viewBox: "0 0 24 24",
|
3442
3520
|
fill: "none",
|
3443
3521
|
stroke: "currentColor",
|
3444
|
-
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"
|
3445
3523
|
},
|
3446
3524
|
/* @__PURE__ */ React33.createElement("path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z" })
|
3447
3525
|
)
|