@sikka/hawa 0.38.4-next → 0.38.6-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.
Files changed (58) hide show
  1. package/dist/{DropdownMenu-Dly5lsqz.d.mts → DropdownMenu-B3cTLPDi.d.mts} +1 -0
  2. package/dist/{DropdownMenu-Cxlm5lZl.d.ts → DropdownMenu-BO1TNMm5.d.ts} +1 -0
  3. package/dist/appLayout/index.js +7 -1
  4. package/dist/appLayout/index.js.map +1 -1
  5. package/dist/appLayout/index.mjs +7 -1
  6. package/dist/appLayout/index.mjs.map +1 -1
  7. package/dist/appTopbar/index.js +7 -1
  8. package/dist/appTopbar/index.js.map +1 -1
  9. package/dist/appTopbar/index.mjs +7 -1
  10. package/dist/appTopbar/index.mjs.map +1 -1
  11. package/dist/blocks/index.d.mts +1 -1
  12. package/dist/blocks/index.d.ts +1 -1
  13. package/dist/blocks/index.js +7 -1
  14. package/dist/blocks/index.mjs +2 -2
  15. package/dist/{chunk-RZJPAN5T.mjs → chunk-HDOYDKDV.mjs} +1 -1
  16. package/dist/{chunk-GZVEFVSJ.mjs → chunk-SL4ONYNR.mjs} +1 -1
  17. package/dist/{chunk-GVPIM5KC.mjs → chunk-VE7EQ6VH.mjs} +7 -1
  18. package/dist/combobox/index.js +41 -38
  19. package/dist/combobox/index.js.map +1 -1
  20. package/dist/combobox/index.mjs +41 -38
  21. package/dist/combobox/index.mjs.map +1 -1
  22. package/dist/command/index.js +41 -38
  23. package/dist/command/index.js.map +1 -1
  24. package/dist/command/index.mjs +41 -38
  25. package/dist/command/index.mjs.map +1 -1
  26. package/dist/dataTable/index.js +7 -1
  27. package/dist/dataTable/index.js.map +1 -1
  28. package/dist/dataTable/index.mjs +7 -1
  29. package/dist/dataTable/index.mjs.map +1 -1
  30. package/dist/dialog/index.d.mts +5 -0
  31. package/dist/dialog/index.d.ts +5 -0
  32. package/dist/dialog/index.js +41 -38
  33. package/dist/dialog/index.js.map +1 -1
  34. package/dist/dialog/index.mjs +41 -38
  35. package/dist/dialog/index.mjs.map +1 -1
  36. package/dist/dropdownMenu/index.d.mts +1 -0
  37. package/dist/dropdownMenu/index.d.ts +1 -0
  38. package/dist/dropdownMenu/index.js +7 -1
  39. package/dist/dropdownMenu/index.js.map +1 -1
  40. package/dist/dropdownMenu/index.mjs +7 -1
  41. package/dist/dropdownMenu/index.mjs.map +1 -1
  42. package/dist/elements/index.d.mts +6 -1
  43. package/dist/elements/index.d.ts +6 -1
  44. package/dist/elements/index.js +48 -39
  45. package/dist/elements/index.mjs +44 -41
  46. package/dist/index.d.mts +6 -0
  47. package/dist/index.d.ts +6 -0
  48. package/dist/index.js +48 -39
  49. package/dist/index.mjs +48 -39
  50. package/dist/layout/index.d.mts +1 -1
  51. package/dist/layout/index.d.ts +1 -1
  52. package/dist/layout/index.js +7 -1
  53. package/dist/layout/index.mjs +2 -2
  54. package/dist/splitButton/index.js +7 -1
  55. package/dist/splitButton/index.js.map +1 -1
  56. package/dist/splitButton/index.mjs +7 -1
  57. package/dist/splitButton/index.mjs.map +1 -1
  58. package/package.json +1 -1
@@ -26,7 +26,7 @@ import {
26
26
  TabsList,
27
27
  TabsTrigger,
28
28
  Textarea
29
- } from "../chunk-RZJPAN5T.mjs";
29
+ } from "../chunk-HDOYDKDV.mjs";
30
30
  import {
31
31
  useClipboard
32
32
  } from "../chunk-ZBUBNKF6.mjs";
@@ -41,7 +41,7 @@ import {
41
41
  SheetPortal,
42
42
  SheetTitle,
43
43
  SheetTrigger
44
- } from "../chunk-GZVEFVSJ.mjs";
44
+ } from "../chunk-SL4ONYNR.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-GVPIM5KC.mjs";
84
+ } from "../chunk-VE7EQ6VH.mjs";
85
85
  import {
86
86
  __require
87
87
  } from "../chunk-SYGWSBJL.mjs";
@@ -392,51 +392,54 @@ var DialogOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PU
392
392
  ...props
393
393
  }
394
394
  ));
395
- var DialogContent = React6.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React6.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React6.createElement(DialogOverlay, null), /* @__PURE__ */ React6.createElement(
396
- DialogPrimitive.Content,
397
- {
398
- onPointerDownOutside: (e) => {
399
- if (persist) {
400
- e.preventDefault();
401
- }
402
- },
403
- ref,
404
- className: cn(
405
- "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-[90%] hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] hawa-rounded md:hawa-w-full",
406
- className
407
- ),
408
- ...props
409
- },
410
- children,
411
- !hideCloseButton && /* @__PURE__ */ React6.createElement(
412
- DialogPrimitive.Close,
395
+ var DialogContent = React6.forwardRef(
396
+ ({ className, classNames, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React6.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React6.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay }), /* @__PURE__ */ React6.createElement(
397
+ DialogPrimitive.Content,
413
398
  {
399
+ onPointerDownOutside: (e) => {
400
+ if (persist) {
401
+ e.preventDefault();
402
+ }
403
+ },
404
+ ref,
414
405
  className: cn(
415
- "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",
416
- props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
417
- )
406
+ "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-[90%] hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] hawa-rounded md:hawa-w-full",
407
+ className
408
+ ),
409
+ ...props
418
410
  },
419
- /* @__PURE__ */ React6.createElement(
420
- "svg",
411
+ children,
412
+ !hideCloseButton && /* @__PURE__ */ React6.createElement(
413
+ DialogPrimitive.Close,
421
414
  {
422
- "aria-label": "Close Icon",
423
- "aria-hidden": "true",
424
- className: "hawa-h-5 hawa-w-5",
425
- fill: "currentColor",
426
- viewBox: "0 0 20 20"
415
+ className: cn(
416
+ "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",
417
+ props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
418
+ classNames == null ? void 0 : classNames.closeButton
419
+ )
427
420
  },
428
421
  /* @__PURE__ */ React6.createElement(
429
- "path",
422
+ "svg",
430
423
  {
431
- fillRule: "evenodd",
432
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
433
- clipRule: "evenodd"
434
- }
435
- )
436
- ),
437
- /* @__PURE__ */ React6.createElement("span", { className: "hawa-sr-only" }, "Close")
438
- )
439
- )));
424
+ "aria-label": "Close Icon",
425
+ "aria-hidden": "true",
426
+ className: "hawa-h-5 hawa-w-5",
427
+ fill: "currentColor",
428
+ viewBox: "0 0 20 20"
429
+ },
430
+ /* @__PURE__ */ React6.createElement(
431
+ "path",
432
+ {
433
+ fillRule: "evenodd",
434
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
435
+ clipRule: "evenodd"
436
+ }
437
+ )
438
+ ),
439
+ /* @__PURE__ */ React6.createElement("span", { className: "hawa-sr-only" }, "Close")
440
+ )
441
+ ))
442
+ );
440
443
  var DialogCarouselContent = React6.forwardRef(
441
444
  ({
442
445
  className,
package/dist/index.d.mts CHANGED
@@ -174,6 +174,7 @@ interface DropdownMenuProps {
174
174
  trigger?: string;
175
175
  content?: string;
176
176
  item?: string;
177
+ separator?: string;
177
178
  };
178
179
  className?: ExtendedDropdownMenuContentProps["className"];
179
180
  triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
@@ -358,6 +359,11 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimiti
358
359
  persist?: boolean | undefined;
359
360
  hideCloseButton?: boolean | undefined;
360
361
  container?: HTMLElement | undefined;
362
+ classNames?: {
363
+ content?: string | undefined;
364
+ overlay?: string | undefined;
365
+ closeButton?: string | undefined;
366
+ } | undefined;
361
367
  } & React$1.RefAttributes<HTMLDivElement>>;
362
368
  declare const DialogCarouselContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
363
369
  hideCloseButton?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -174,6 +174,7 @@ interface DropdownMenuProps {
174
174
  trigger?: string;
175
175
  content?: string;
176
176
  item?: string;
177
+ separator?: string;
177
178
  };
178
179
  className?: ExtendedDropdownMenuContentProps["className"];
179
180
  triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
@@ -358,6 +359,11 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimiti
358
359
  persist?: boolean | undefined;
359
360
  hideCloseButton?: boolean | undefined;
360
361
  container?: HTMLElement | undefined;
362
+ classNames?: {
363
+ content?: string | undefined;
364
+ overlay?: string | undefined;
365
+ closeButton?: string | undefined;
366
+ } | undefined;
361
367
  } & React$1.RefAttributes<HTMLDivElement>>;
362
368
  declare const DialogCarouselContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
363
369
  hideCloseButton?: boolean | undefined;
package/dist/index.js CHANGED
@@ -958,7 +958,13 @@ var DropdownMenu = ({
958
958
  var _a;
959
959
  const ItemLinkComponent = item.slug ? LinkComponent : "a";
960
960
  if (item.itemType === "separator") {
961
- return /* @__PURE__ */ React5.createElement(DropdownMenuSeparator, { key: index });
961
+ return /* @__PURE__ */ React5.createElement(
962
+ DropdownMenuSeparator,
963
+ {
964
+ key: index,
965
+ className: classNames == null ? void 0 : classNames.separator
966
+ }
967
+ );
962
968
  } else if (item.itemType === "label") {
963
969
  return /* @__PURE__ */ React5.createElement(DropdownMenuLabel, { key: index }, item.label);
964
970
  } else if (item.itemType === "radio") {
@@ -1970,51 +1976,54 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
1970
1976
  ...props
1971
1977
  }
1972
1978
  ));
1973
- var DialogContent = React14.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
1974
- DialogPrimitive.Content,
1975
- {
1976
- onPointerDownOutside: (e) => {
1977
- if (persist) {
1978
- e.preventDefault();
1979
- }
1980
- },
1981
- ref,
1982
- className: cn(
1983
- "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-[90%] hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] hawa-rounded md:hawa-w-full",
1984
- className
1985
- ),
1986
- ...props
1987
- },
1988
- children,
1989
- !hideCloseButton && /* @__PURE__ */ React14.createElement(
1990
- DialogPrimitive.Close,
1979
+ var DialogContent = React14.forwardRef(
1980
+ ({ className, classNames, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay }), /* @__PURE__ */ React14.createElement(
1981
+ DialogPrimitive.Content,
1991
1982
  {
1983
+ onPointerDownOutside: (e) => {
1984
+ if (persist) {
1985
+ e.preventDefault();
1986
+ }
1987
+ },
1988
+ ref,
1992
1989
  className: cn(
1993
- "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",
1994
- props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
1995
- )
1990
+ "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-[90%] hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] hawa-rounded md:hawa-w-full",
1991
+ className
1992
+ ),
1993
+ ...props
1996
1994
  },
1997
- /* @__PURE__ */ React14.createElement(
1998
- "svg",
1995
+ children,
1996
+ !hideCloseButton && /* @__PURE__ */ React14.createElement(
1997
+ DialogPrimitive.Close,
1999
1998
  {
2000
- "aria-label": "Close Icon",
2001
- "aria-hidden": "true",
2002
- className: "hawa-h-5 hawa-w-5",
2003
- fill: "currentColor",
2004
- viewBox: "0 0 20 20"
1999
+ className: cn(
2000
+ "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",
2001
+ props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
2002
+ classNames == null ? void 0 : classNames.closeButton
2003
+ )
2005
2004
  },
2006
2005
  /* @__PURE__ */ React14.createElement(
2007
- "path",
2006
+ "svg",
2008
2007
  {
2009
- fillRule: "evenodd",
2010
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
2011
- clipRule: "evenodd"
2012
- }
2013
- )
2014
- ),
2015
- /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
2016
- )
2017
- )));
2008
+ "aria-label": "Close Icon",
2009
+ "aria-hidden": "true",
2010
+ className: "hawa-h-5 hawa-w-5",
2011
+ fill: "currentColor",
2012
+ viewBox: "0 0 20 20"
2013
+ },
2014
+ /* @__PURE__ */ React14.createElement(
2015
+ "path",
2016
+ {
2017
+ fillRule: "evenodd",
2018
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
2019
+ clipRule: "evenodd"
2020
+ }
2021
+ )
2022
+ ),
2023
+ /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
2024
+ )
2025
+ ))
2026
+ );
2018
2027
  var DialogCarouselContent = React14.forwardRef(
2019
2028
  ({
2020
2029
  className,
package/dist/index.mjs CHANGED
@@ -709,7 +709,13 @@ var DropdownMenu = ({
709
709
  var _a;
710
710
  const ItemLinkComponent = item.slug ? LinkComponent : "a";
711
711
  if (item.itemType === "separator") {
712
- return /* @__PURE__ */ React5.createElement(DropdownMenuSeparator, { key: index });
712
+ return /* @__PURE__ */ React5.createElement(
713
+ DropdownMenuSeparator,
714
+ {
715
+ key: index,
716
+ className: classNames == null ? void 0 : classNames.separator
717
+ }
718
+ );
713
719
  } else if (item.itemType === "label") {
714
720
  return /* @__PURE__ */ React5.createElement(DropdownMenuLabel, { key: index }, item.label);
715
721
  } else if (item.itemType === "radio") {
@@ -1721,51 +1727,54 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
1721
1727
  ...props
1722
1728
  }
1723
1729
  ));
1724
- var DialogContent = React14.forwardRef(({ className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, null), /* @__PURE__ */ React14.createElement(
1725
- DialogPrimitive.Content,
1726
- {
1727
- onPointerDownOutside: (e) => {
1728
- if (persist) {
1729
- e.preventDefault();
1730
- }
1731
- },
1732
- ref,
1733
- className: cn(
1734
- "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-[90%] hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] hawa-rounded md:hawa-w-full",
1735
- className
1736
- ),
1737
- ...props
1738
- },
1739
- children,
1740
- !hideCloseButton && /* @__PURE__ */ React14.createElement(
1741
- DialogPrimitive.Close,
1730
+ var DialogContent = React14.forwardRef(
1731
+ ({ className, classNames, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React14.createElement(DialogPortal, { container: props.container }, /* @__PURE__ */ React14.createElement(DialogOverlay, { className: classNames == null ? void 0 : classNames.overlay }), /* @__PURE__ */ React14.createElement(
1732
+ DialogPrimitive.Content,
1742
1733
  {
1734
+ onPointerDownOutside: (e) => {
1735
+ if (persist) {
1736
+ e.preventDefault();
1737
+ }
1738
+ },
1739
+ ref,
1743
1740
  className: cn(
1744
- "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",
1745
- props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4"
1746
- )
1741
+ "hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-[90%] hawa-max-w-lg hawa-translate-x-[-50%] hawa-translate-y-[-50%] hawa-gap-4 hawa-border hawa-bg-background hawa-p-6 hawa-shadow-lg hawa-transition-all hawa-duration-200 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-[state=closed]:hawa-slide-out-to-left-1/2 data-[state=closed]:hawa-slide-out-to-top-[48%] data-[state=open]:hawa-slide-in-from-left-1/2 data-[state=open]:hawa-slide-in-from-top-[48%] hawa-rounded md:hawa-w-full",
1742
+ className
1743
+ ),
1744
+ ...props
1747
1745
  },
1748
- /* @__PURE__ */ React14.createElement(
1749
- "svg",
1746
+ children,
1747
+ !hideCloseButton && /* @__PURE__ */ React14.createElement(
1748
+ DialogPrimitive.Close,
1750
1749
  {
1751
- "aria-label": "Close Icon",
1752
- "aria-hidden": "true",
1753
- className: "hawa-h-5 hawa-w-5",
1754
- fill: "currentColor",
1755
- viewBox: "0 0 20 20"
1750
+ className: cn(
1751
+ "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",
1752
+ props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4",
1753
+ classNames == null ? void 0 : classNames.closeButton
1754
+ )
1756
1755
  },
1757
1756
  /* @__PURE__ */ React14.createElement(
1758
- "path",
1757
+ "svg",
1759
1758
  {
1760
- fillRule: "evenodd",
1761
- d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
1762
- clipRule: "evenodd"
1763
- }
1764
- )
1765
- ),
1766
- /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
1767
- )
1768
- )));
1759
+ "aria-label": "Close Icon",
1760
+ "aria-hidden": "true",
1761
+ className: "hawa-h-5 hawa-w-5",
1762
+ fill: "currentColor",
1763
+ viewBox: "0 0 20 20"
1764
+ },
1765
+ /* @__PURE__ */ React14.createElement(
1766
+ "path",
1767
+ {
1768
+ fillRule: "evenodd",
1769
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
1770
+ clipRule: "evenodd"
1771
+ }
1772
+ )
1773
+ ),
1774
+ /* @__PURE__ */ React14.createElement("span", { className: "hawa-sr-only" }, "Close")
1775
+ )
1776
+ ))
1777
+ );
1769
1778
  var DialogCarouselContent = React14.forwardRef(
1770
1779
  ({
1771
1780
  className,
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
3
  import { D as DirectionType } from '../commonTypes-C-g8nFFC.mjs';
4
4
  import { C as ChipColors } from '../Chip-CGl24Kd9.mjs';
5
- import { M as MenuItemType } from '../DropdownMenu-Dly5lsqz.mjs';
5
+ import { M as MenuItemType } from '../DropdownMenu-B3cTLPDi.mjs';
6
6
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
7
7
  import '@radix-ui/react-dropdown-menu';
8
8
 
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import React__default, { FC } from 'react';
3
3
  import { D as DirectionType } from '../commonTypes-C-g8nFFC.js';
4
4
  import { C as ChipColors } from '../Chip-Cato49ar.js';
5
- import { M as MenuItemType } from '../DropdownMenu-Cxlm5lZl.js';
5
+ import { M as MenuItemType } from '../DropdownMenu-BO1TNMm5.js';
6
6
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
7
7
  import '@radix-ui/react-dropdown-menu';
8
8
 
@@ -1393,7 +1393,13 @@ var DropdownMenu = ({
1393
1393
  var _a;
1394
1394
  const ItemLinkComponent = item.slug ? LinkComponent : "a";
1395
1395
  if (item.itemType === "separator") {
1396
- return /* @__PURE__ */ React13.createElement(DropdownMenuSeparator, { key: index });
1396
+ return /* @__PURE__ */ React13.createElement(
1397
+ DropdownMenuSeparator,
1398
+ {
1399
+ key: index,
1400
+ className: classNames == null ? void 0 : classNames.separator
1401
+ }
1402
+ );
1397
1403
  } else if (item.itemType === "label") {
1398
1404
  return /* @__PURE__ */ React13.createElement(DropdownMenuLabel, { key: index }, item.label);
1399
1405
  } else if (item.itemType === "radio") {
@@ -3,7 +3,7 @@ import {
3
3
  Sheet,
4
4
  SheetContent,
5
5
  SheetTrigger
6
- } from "../chunk-GZVEFVSJ.mjs";
6
+ } from "../chunk-SL4ONYNR.mjs";
7
7
  import {
8
8
  Button,
9
9
  Card,
@@ -16,7 +16,7 @@ import {
16
16
  Skeleton,
17
17
  Tooltip,
18
18
  cn
19
- } from "../chunk-GVPIM5KC.mjs";
19
+ } from "../chunk-VE7EQ6VH.mjs";
20
20
  import {
21
21
  useBreakpoint,
22
22
  useClickOutside
@@ -301,7 +301,13 @@ var DropdownMenu = ({
301
301
  var _a;
302
302
  const ItemLinkComponent = item.slug ? LinkComponent : "a";
303
303
  if (item.itemType === "separator") {
304
- return /* @__PURE__ */ React.createElement(DropdownMenuSeparator, { key: index });
304
+ return /* @__PURE__ */ React.createElement(
305
+ DropdownMenuSeparator,
306
+ {
307
+ key: index,
308
+ className: classNames == null ? void 0 : classNames.separator
309
+ }
310
+ );
305
311
  } else if (item.itemType === "label") {
306
312
  return /* @__PURE__ */ React.createElement(DropdownMenuLabel, { key: index }, item.label);
307
313
  } else if (item.itemType === "radio") {