@sikka/hawa 0.38.2-next → 0.38.4-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 (47) hide show
  1. package/dist/{DropdownMenu-ChxqadLu.d.ts → DropdownMenu-Cxlm5lZl.d.ts} +6 -2
  2. package/dist/{DropdownMenu-BYiPSEYy.d.mts → DropdownMenu-Dly5lsqz.d.mts} +6 -2
  3. package/dist/appLayout/index.js +6 -3
  4. package/dist/appLayout/index.js.map +1 -1
  5. package/dist/appLayout/index.mjs +6 -3
  6. package/dist/appLayout/index.mjs.map +1 -1
  7. package/dist/appTopbar/index.js +6 -3
  8. package/dist/appTopbar/index.js.map +1 -1
  9. package/dist/appTopbar/index.mjs +6 -3
  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 +6 -3
  14. package/dist/blocks/index.mjs +2 -2
  15. package/dist/blocks/pricing/index.js +1 -1
  16. package/dist/blocks/pricing/index.mjs +1 -1
  17. package/dist/{chunk-V7O5MQZQ.mjs → chunk-GVPIM5KC.mjs} +7 -5
  18. package/dist/{chunk-F23GAE2P.mjs → chunk-GZVEFVSJ.mjs} +1 -1
  19. package/dist/{chunk-UDJFVH2I.mjs → chunk-RZJPAN5T.mjs} +1 -1
  20. package/dist/dataTable/index.js +6 -3
  21. package/dist/dataTable/index.js.map +1 -1
  22. package/dist/dataTable/index.mjs +6 -3
  23. package/dist/dataTable/index.mjs.map +1 -1
  24. package/dist/dropdownMenu/index.d.mts +7 -2
  25. package/dist/dropdownMenu/index.d.ts +7 -2
  26. package/dist/dropdownMenu/index.js +7 -5
  27. package/dist/dropdownMenu/index.js.map +1 -1
  28. package/dist/dropdownMenu/index.mjs +7 -5
  29. package/dist/dropdownMenu/index.mjs.map +1 -1
  30. package/dist/elements/index.d.mts +2 -1
  31. package/dist/elements/index.d.ts +2 -1
  32. package/dist/elements/index.js +7 -5
  33. package/dist/elements/index.mjs +5 -5
  34. package/dist/index.css +2201 -1759
  35. package/dist/index.d.mts +7 -2
  36. package/dist/index.d.ts +7 -2
  37. package/dist/index.js +7 -5
  38. package/dist/index.mjs +7 -5
  39. package/dist/layout/index.d.mts +1 -1
  40. package/dist/layout/index.d.ts +1 -1
  41. package/dist/layout/index.js +6 -3
  42. package/dist/layout/index.mjs +2 -2
  43. package/dist/splitButton/index.js +6 -3
  44. package/dist/splitButton/index.js.map +1 -1
  45. package/dist/splitButton/index.mjs +6 -3
  46. package/dist/splitButton/index.mjs.map +1 -1
  47. package/package.json +1 -1
@@ -1043,7 +1043,6 @@ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1043
1043
  var DropdownMenuRoot = DropdownMenuPrimitive.Root;
1044
1044
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1045
1045
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1046
- var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1047
1046
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1048
1047
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1049
1048
  var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React10.createElement(
@@ -1106,7 +1105,7 @@ var DropdownMenuContent = React10.forwardRef(({ className, sideOffset = 4, ...pr
1106
1105
  }
1107
1106
  )));
1108
1107
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1109
- var DropdownMenuItem = React10.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
1108
+ var DropdownMenuItem = React10.forwardRef(({ className, inset, badged, slug, LinkComponent = "a", ...props }, ref) => {
1110
1109
  return /* @__PURE__ */ React10.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React10.createElement(
1111
1110
  DropdownMenuPrimitive.Item,
1112
1111
  {
@@ -1229,6 +1228,7 @@ var DropdownMenu = ({
1229
1228
  sideOffset,
1230
1229
  side,
1231
1230
  className,
1231
+ classNames,
1232
1232
  triggerClassname,
1233
1233
  triggerProps,
1234
1234
  align,
@@ -1266,7 +1266,7 @@ var DropdownMenu = ({
1266
1266
  DropdownMenuTrigger,
1267
1267
  {
1268
1268
  asChild: true,
1269
- className: triggerClassname,
1269
+ className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
1270
1270
  ...triggerProps
1271
1271
  },
1272
1272
  trigger
@@ -1280,6 +1280,7 @@ var DropdownMenu = ({
1280
1280
  alignOffset,
1281
1281
  className: cn(
1282
1282
  className,
1283
+ classNames == null ? void 0 : classNames.content,
1283
1284
  widthStyles[width],
1284
1285
  "hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
1285
1286
  ),
@@ -1404,7 +1405,8 @@ var DropdownMenu = ({
1404
1405
  className: cn(
1405
1406
  sizeStyles[size],
1406
1407
  !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent " : "focus:hawa-bg-accent ",
1407
- item.presist && "focus:hawa-bg-transparent"
1408
+ item.presist && "focus:hawa-bg-transparent",
1409
+ classNames == null ? void 0 : classNames.item
1408
1410
  )
1409
1411
  },
1410
1412
  item.icon && item.icon,
@@ -1649,10 +1651,10 @@ export {
1649
1651
  UncheckMark,
1650
1652
  MenuIcon,
1651
1653
  Chip,
1654
+ Portal,
1652
1655
  DropdownMenuRoot,
1653
1656
  DropdownMenuTrigger,
1654
1657
  DropdownMenuGroup,
1655
- DropdownMenuPortal,
1656
1658
  DropdownMenuSub,
1657
1659
  DropdownMenuRadioGroup,
1658
1660
  DropdownMenuSubTrigger,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  cn
4
- } from "./chunk-V7O5MQZQ.mjs";
4
+ } from "./chunk-GVPIM5KC.mjs";
5
5
 
6
6
  // elements/sheet/Sheet.tsx
7
7
  import * as React from "react";
@@ -9,7 +9,7 @@ import {
9
9
  Label,
10
10
  Skeleton,
11
11
  cn
12
- } from "./chunk-V7O5MQZQ.mjs";
12
+ } from "./chunk-GVPIM5KC.mjs";
13
13
 
14
14
  // elements/alert/Alert.tsx
15
15
  import React, { useRef, useState, useEffect } from "react";
@@ -560,7 +560,7 @@ var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...pro
560
560
  }
561
561
  )));
562
562
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
563
- var DropdownMenuItem = React6.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
563
+ var DropdownMenuItem = React6.forwardRef(({ className, inset, badged, slug, LinkComponent = "a", ...props }, ref) => {
564
564
  return /* @__PURE__ */ React6.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React6.createElement(
565
565
  DropdownMenuPrimitive.Item,
566
566
  {
@@ -683,6 +683,7 @@ var DropdownMenu = ({
683
683
  sideOffset,
684
684
  side,
685
685
  className,
686
+ classNames,
686
687
  triggerClassname,
687
688
  triggerProps,
688
689
  align,
@@ -720,7 +721,7 @@ var DropdownMenu = ({
720
721
  DropdownMenuTrigger,
721
722
  {
722
723
  asChild: true,
723
- className: triggerClassname,
724
+ className: cn(classNames == null ? void 0 : classNames.trigger, triggerClassname),
724
725
  ...triggerProps
725
726
  },
726
727
  trigger
@@ -734,6 +735,7 @@ var DropdownMenu = ({
734
735
  alignOffset,
735
736
  className: cn(
736
737
  className,
738
+ classNames == null ? void 0 : classNames.content,
737
739
  widthStyles[width],
738
740
  "hawa-flex hawa-flex-col hawa-gap-1 hawa-overflow-y-auto"
739
741
  ),
@@ -858,7 +860,8 @@ var DropdownMenu = ({
858
860
  className: cn(
859
861
  sizeStyles[size],
860
862
  !item.icon && !item.label ? "hawa-px-0 hawa-py-0 focus:hawa-bg-transparent " : "focus:hawa-bg-accent ",
861
- item.presist && "focus:hawa-bg-transparent"
863
+ item.presist && "focus:hawa-bg-transparent",
864
+ classNames == null ? void 0 : classNames.item
862
865
  )
863
866
  },
864
867
  item.icon && item.icon,