@sikka/hawa 0.45.1-next → 0.46.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.
Files changed (86) hide show
  1. package/dist/blocks/auth/index.js +19 -13
  2. package/dist/blocks/auth/index.mjs +17 -17
  3. package/dist/blocks/feedback/index.js +6 -0
  4. package/dist/blocks/feedback/index.mjs +5 -5
  5. package/dist/blocks/index.js +19 -13
  6. package/dist/blocks/index.mjs +2 -2
  7. package/dist/blocks/misc/index.js +6 -0
  8. package/dist/blocks/misc/index.mjs +5 -5
  9. package/dist/blocks/pricing/index.js +6 -0
  10. package/dist/blocks/pricing/index.mjs +4 -4
  11. package/dist/{chunk-6LI35F6L.mjs → chunk-6UOJKVIA.mjs} +6 -0
  12. package/dist/{chunk-D3B3MKLS.mjs → chunk-7O555VJR.mjs} +1 -1
  13. package/dist/{chunk-XC6FSDW7.mjs → chunk-CIMTNOLA.mjs} +1 -1
  14. package/dist/{chunk-FIUKVRL5.mjs → chunk-EHJXQQDP.mjs} +1 -1
  15. package/dist/{chunk-JKZQWCAQ.mjs → chunk-FTETN5UE.mjs} +1 -1
  16. package/dist/{chunk-3B7UZCET.mjs → chunk-HJVL6X7I.mjs} +6 -0
  17. package/dist/{chunk-QOVVJCFE.mjs → chunk-QUC5EXTF.mjs} +14 -14
  18. package/dist/{chunk-YABFWOF3.mjs → chunk-R37QEYSB.mjs} +1 -1
  19. package/dist/{chunk-FUYMZP4J.mjs → chunk-U72MOMEK.mjs} +1 -1
  20. package/dist/{chunk-JDCQLGWW.mjs → chunk-YXUHXKKK.mjs} +1 -1
  21. package/dist/colorPicker/index.js +6 -0
  22. package/dist/colorPicker/index.js.map +1 -1
  23. package/dist/colorPicker/index.mjs +6 -0
  24. package/dist/colorPicker/index.mjs.map +1 -1
  25. package/dist/combobox/index.js +7 -0
  26. package/dist/combobox/index.js.map +1 -1
  27. package/dist/combobox/index.mjs +7 -0
  28. package/dist/combobox/index.mjs.map +1 -1
  29. package/dist/command/index.js +1 -0
  30. package/dist/command/index.js.map +1 -1
  31. package/dist/command/index.mjs +1 -0
  32. package/dist/command/index.mjs.map +1 -1
  33. package/dist/dataTable/index.js +6 -0
  34. package/dist/dataTable/index.js.map +1 -1
  35. package/dist/dataTable/index.mjs +6 -0
  36. package/dist/dataTable/index.mjs.map +1 -1
  37. package/dist/elements/index.d.mts +2 -1
  38. package/dist/elements/index.d.ts +2 -1
  39. package/dist/elements/index.js +20 -13
  40. package/dist/elements/index.mjs +4 -3
  41. package/dist/index.css +1 -1
  42. package/dist/index.d.mts +2 -1
  43. package/dist/index.d.ts +2 -1
  44. package/dist/index.js +20 -13
  45. package/dist/index.mjs +20 -13
  46. package/dist/input/index.js +6 -0
  47. package/dist/input/index.js.map +1 -1
  48. package/dist/input/index.mjs +6 -0
  49. package/dist/input/index.mjs.map +1 -1
  50. package/dist/layout/index.js +6 -0
  51. package/dist/layout/index.mjs +2 -2
  52. package/dist/passwordInput/index.js +6 -0
  53. package/dist/passwordInput/index.js.map +1 -1
  54. package/dist/passwordInput/index.mjs +6 -0
  55. package/dist/passwordInput/index.mjs.map +1 -1
  56. package/dist/phoneInput/index.js +6 -0
  57. package/dist/phoneInput/index.js.map +1 -1
  58. package/dist/phoneInput/index.mjs +6 -0
  59. package/dist/phoneInput/index.mjs.map +1 -1
  60. package/dist/pinInput/index.js +13 -13
  61. package/dist/pinInput/index.js.map +1 -1
  62. package/dist/pinInput/index.mjs +13 -13
  63. package/dist/pinInput/index.mjs.map +1 -1
  64. package/dist/select/index.js +6 -0
  65. package/dist/select/index.js.map +1 -1
  66. package/dist/select/index.mjs +6 -0
  67. package/dist/select/index.mjs.map +1 -1
  68. package/dist/simpleTable/index.js +6 -0
  69. package/dist/simpleTable/index.js.map +1 -1
  70. package/dist/simpleTable/index.mjs +6 -0
  71. package/dist/simpleTable/index.mjs.map +1 -1
  72. package/dist/skeleton/index.d.mts +2 -1
  73. package/dist/skeleton/index.d.ts +2 -1
  74. package/dist/skeleton/index.js +6 -0
  75. package/dist/skeleton/index.js.map +1 -1
  76. package/dist/skeleton/index.mjs +6 -0
  77. package/dist/skeleton/index.mjs.map +1 -1
  78. package/dist/stats/index.js +6 -0
  79. package/dist/stats/index.js.map +1 -1
  80. package/dist/stats/index.mjs +6 -0
  81. package/dist/stats/index.mjs.map +1 -1
  82. package/dist/textarea/index.js +6 -0
  83. package/dist/textarea/index.js.map +1 -1
  84. package/dist/textarea/index.mjs +6 -0
  85. package/dist/textarea/index.mjs.map +1 -1
  86. package/package.json +6 -6
@@ -98,8 +98,9 @@ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
98
98
  animation?: "none" | "pulse" | "shimmer";
99
99
  content?: any;
100
100
  fade?: "top" | "bottom" | "left" | "right";
101
+ as?: "div" | "input";
101
102
  }
102
- declare function Skeleton({ className, content, animation, fade, ...props }: SkeletonProps): React__default.JSX.Element;
103
+ declare function Skeleton({ className, content, animation, fade, as, ...props }: SkeletonProps): React__default.JSX.Element;
103
104
 
104
105
  type AccordionItemProps = {
105
106
  trigger: React.ReactNode;
@@ -98,8 +98,9 @@ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
98
98
  animation?: "none" | "pulse" | "shimmer";
99
99
  content?: any;
100
100
  fade?: "top" | "bottom" | "left" | "right";
101
+ as?: "div" | "input";
101
102
  }
102
- declare function Skeleton({ className, content, animation, fade, ...props }: SkeletonProps): React__default.JSX.Element;
103
+ declare function Skeleton({ className, content, animation, fade, as, ...props }: SkeletonProps): React__default.JSX.Element;
103
104
 
104
105
  type AccordionItemProps = {
105
106
  trigger: React.ReactNode;
@@ -600,6 +600,7 @@ function Skeleton({
600
600
  content,
601
601
  animation = "pulse",
602
602
  fade,
603
+ as = "div",
603
604
  ...props
604
605
  }) {
605
606
  const animationStyles = {
@@ -613,6 +614,10 @@ function Skeleton({
613
614
  right: "hawa-mask-fade-right",
614
615
  left: "hawa-mask-fade-left "
615
616
  };
617
+ const styledAs = {
618
+ div: "",
619
+ input: "!h-[38px] !w-full"
620
+ };
616
621
  return /* @__PURE__ */ import_react3.default.createElement(
617
622
  "div",
618
623
  {
@@ -620,6 +625,7 @@ function Skeleton({
620
625
  animationStyles[animation],
621
626
  content && "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
622
627
  fade && fadeStyle[fade],
628
+ styledAs[as],
623
629
  className
624
630
  ),
625
631
  ...props
@@ -4282,6 +4288,7 @@ var CommandItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
4282
4288
  {
4283
4289
  ref,
4284
4290
  className: cn(
4291
+ !props.disabled && "hawa-cursor-pointer",
4285
4292
  "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled='true']:hawa-pointer-events-none data-[disabled='true']:hawa-opacity-50",
4286
4293
  className
4287
4294
  ),
@@ -7430,19 +7437,19 @@ var PhoneInput = ({
7430
7437
  var React50 = __toESM(require("react"));
7431
7438
  var import_input_otp = require("input-otp");
7432
7439
 
7433
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7440
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7434
7441
  var import_react41 = require("react");
7435
7442
 
7436
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7443
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7437
7444
  var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
7438
7445
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
7439
7446
  return Boolean(className) && array.indexOf(className) === index;
7440
7447
  }).join(" ");
7441
7448
 
7442
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7449
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7443
7450
  var import_react40 = require("react");
7444
7451
 
7445
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7452
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7446
7453
  var defaultAttributes = {
7447
7454
  xmlns: "http://www.w3.org/2000/svg",
7448
7455
  width: 24,
@@ -7455,7 +7462,7 @@ var defaultAttributes = {
7455
7462
  strokeLinejoin: "round"
7456
7463
  };
7457
7464
 
7458
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7465
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7459
7466
  var Icon = (0, import_react40.forwardRef)(
7460
7467
  ({
7461
7468
  color = "currentColor",
@@ -7487,7 +7494,7 @@ var Icon = (0, import_react40.forwardRef)(
7487
7494
  }
7488
7495
  );
7489
7496
 
7490
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7497
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7491
7498
  var createLucideIcon = (iconName, iconNode) => {
7492
7499
  const Component = (0, import_react41.forwardRef)(
7493
7500
  ({ className, ...props }, ref) => (0, import_react41.createElement)(Icon, {
@@ -7501,7 +7508,7 @@ var createLucideIcon = (iconName, iconNode) => {
7501
7508
  return Component;
7502
7509
  };
7503
7510
 
7504
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
7511
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
7505
7512
  var Dot = createLucideIcon("Dot", [
7506
7513
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
7507
7514
  ]);
@@ -9054,7 +9061,7 @@ var PhoneMockup = ({
9054
9061
 
9055
9062
  lucide-react/dist/esm/shared/src/utils.js:
9056
9063
  (**
9057
- * @license lucide-react v0.424.0 - ISC
9064
+ * @license lucide-react v0.427.0 - ISC
9058
9065
  *
9059
9066
  * This source code is licensed under the ISC license.
9060
9067
  * See the LICENSE file in the root directory of this source tree.
@@ -9062,7 +9069,7 @@ lucide-react/dist/esm/shared/src/utils.js:
9062
9069
 
9063
9070
  lucide-react/dist/esm/defaultAttributes.js:
9064
9071
  (**
9065
- * @license lucide-react v0.424.0 - ISC
9072
+ * @license lucide-react v0.427.0 - ISC
9066
9073
  *
9067
9074
  * This source code is licensed under the ISC license.
9068
9075
  * See the LICENSE file in the root directory of this source tree.
@@ -9070,7 +9077,7 @@ lucide-react/dist/esm/defaultAttributes.js:
9070
9077
 
9071
9078
  lucide-react/dist/esm/Icon.js:
9072
9079
  (**
9073
- * @license lucide-react v0.424.0 - ISC
9080
+ * @license lucide-react v0.427.0 - ISC
9074
9081
  *
9075
9082
  * This source code is licensed under the ISC license.
9076
9083
  * See the LICENSE file in the root directory of this source tree.
@@ -9078,7 +9085,7 @@ lucide-react/dist/esm/Icon.js:
9078
9085
 
9079
9086
  lucide-react/dist/esm/createLucideIcon.js:
9080
9087
  (**
9081
- * @license lucide-react v0.424.0 - ISC
9088
+ * @license lucide-react v0.427.0 - ISC
9082
9089
  *
9083
9090
  * This source code is licensed under the ISC license.
9084
9091
  * See the LICENSE file in the root directory of this source tree.
@@ -9086,7 +9093,7 @@ lucide-react/dist/esm/createLucideIcon.js:
9086
9093
 
9087
9094
  lucide-react/dist/esm/icons/dot.js:
9088
9095
  (**
9089
- * @license lucide-react v0.424.0 - ISC
9096
+ * @license lucide-react v0.427.0 - ISC
9090
9097
  *
9091
9098
  * This source code is licensed under the ISC license.
9092
9099
  * See the LICENSE file in the root directory of this source tree.
@@ -9094,7 +9101,7 @@ lucide-react/dist/esm/icons/dot.js:
9094
9101
 
9095
9102
  lucide-react/dist/esm/lucide-react.js:
9096
9103
  (**
9097
- * @license lucide-react v0.424.0 - ISC
9104
+ * @license lucide-react v0.427.0 - ISC
9098
9105
  *
9099
9106
  * This source code is licensed under the ISC license.
9100
9107
  * See the LICENSE file in the root directory of this source tree.
@@ -26,7 +26,7 @@ import {
26
26
  TabsList,
27
27
  TabsTrigger,
28
28
  Textarea
29
- } from "../chunk-QOVVJCFE.mjs";
29
+ } from "../chunk-QUC5EXTF.mjs";
30
30
  import {
31
31
  useClipboard
32
32
  } from "../chunk-WL7C2A5D.mjs";
@@ -41,7 +41,7 @@ import {
41
41
  SheetPortal,
42
42
  SheetTitle,
43
43
  SheetTrigger
44
- } from "../chunk-XC6FSDW7.mjs";
44
+ } from "../chunk-CIMTNOLA.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-3B7UZCET.mjs";
84
+ } from "../chunk-HJVL6X7I.mjs";
85
85
  import {
86
86
  __require
87
87
  } from "../chunk-2LUXOXAL.mjs";
@@ -1626,6 +1626,7 @@ var CommandItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
1626
1626
  {
1627
1627
  ref,
1628
1628
  className: cn(
1629
+ !props.disabled && "hawa-cursor-pointer",
1629
1630
  "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled='true']:hawa-pointer-events-none data-[disabled='true']:hawa-opacity-50",
1630
1631
  className
1631
1632
  ),
package/dist/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.4.8 | MIT License | https://tailwindcss.com
2
+ ! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com
3
3
  *//*
4
4
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
5
5
  2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
package/dist/index.d.mts CHANGED
@@ -102,8 +102,9 @@ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
102
102
  animation?: "none" | "pulse" | "shimmer";
103
103
  content?: any;
104
104
  fade?: "top" | "bottom" | "left" | "right";
105
+ as?: "div" | "input";
105
106
  }
106
- declare function Skeleton({ className, content, animation, fade, ...props }: SkeletonProps): React__default.JSX.Element;
107
+ declare function Skeleton({ className, content, animation, fade, as, ...props }: SkeletonProps): React__default.JSX.Element;
107
108
 
108
109
  declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
109
110
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
package/dist/index.d.ts CHANGED
@@ -102,8 +102,9 @@ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
102
102
  animation?: "none" | "pulse" | "shimmer";
103
103
  content?: any;
104
104
  fade?: "top" | "bottom" | "left" | "right";
105
+ as?: "div" | "input";
105
106
  }
106
- declare function Skeleton({ className, content, animation, fade, ...props }: SkeletonProps): React__default.JSX.Element;
107
+ declare function Skeleton({ className, content, animation, fade, as, ...props }: SkeletonProps): React__default.JSX.Element;
107
108
 
108
109
  declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
109
110
  declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
package/dist/index.js CHANGED
@@ -675,6 +675,7 @@ function Skeleton({
675
675
  content,
676
676
  animation = "pulse",
677
677
  fade,
678
+ as = "div",
678
679
  ...props
679
680
  }) {
680
681
  const animationStyles = {
@@ -688,6 +689,10 @@ function Skeleton({
688
689
  right: "hawa-mask-fade-right",
689
690
  left: "hawa-mask-fade-left "
690
691
  };
692
+ const styledAs = {
693
+ div: "",
694
+ input: "!h-[38px] !w-full"
695
+ };
691
696
  return /* @__PURE__ */ import_react3.default.createElement(
692
697
  "div",
693
698
  {
@@ -695,6 +700,7 @@ function Skeleton({
695
700
  animationStyles[animation],
696
701
  content && "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
697
702
  fade && fadeStyle[fade],
703
+ styledAs[as],
698
704
  className
699
705
  ),
700
706
  ...props
@@ -4357,6 +4363,7 @@ var CommandItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
4357
4363
  {
4358
4364
  ref,
4359
4365
  className: cn(
4366
+ !props.disabled && "hawa-cursor-pointer",
4360
4367
  "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled='true']:hawa-pointer-events-none data-[disabled='true']:hawa-opacity-50",
4361
4368
  className
4362
4369
  ),
@@ -7957,19 +7964,19 @@ var PhoneInput = ({
7957
7964
  var React50 = __toESM(require("react"));
7958
7965
  var import_input_otp = require("input-otp");
7959
7966
 
7960
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7967
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7961
7968
  var import_react41 = require("react");
7962
7969
 
7963
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7970
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7964
7971
  var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
7965
7972
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
7966
7973
  return Boolean(className) && array.indexOf(className) === index;
7967
7974
  }).join(" ");
7968
7975
 
7969
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7976
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7970
7977
  var import_react40 = require("react");
7971
7978
 
7972
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7979
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7973
7980
  var defaultAttributes = {
7974
7981
  xmlns: "http://www.w3.org/2000/svg",
7975
7982
  width: 24,
@@ -7982,7 +7989,7 @@ var defaultAttributes = {
7982
7989
  strokeLinejoin: "round"
7983
7990
  };
7984
7991
 
7985
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7992
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7986
7993
  var Icon = (0, import_react40.forwardRef)(
7987
7994
  ({
7988
7995
  color = "currentColor",
@@ -8014,7 +8021,7 @@ var Icon = (0, import_react40.forwardRef)(
8014
8021
  }
8015
8022
  );
8016
8023
 
8017
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
8024
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
8018
8025
  var createLucideIcon = (iconName, iconNode) => {
8019
8026
  const Component = (0, import_react41.forwardRef)(
8020
8027
  ({ className, ...props }, ref) => (0, import_react41.createElement)(Icon, {
@@ -8028,7 +8035,7 @@ var createLucideIcon = (iconName, iconNode) => {
8028
8035
  return Component;
8029
8036
  };
8030
8037
 
8031
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
8038
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
8032
8039
  var Dot = createLucideIcon("Dot", [
8033
8040
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
8034
8041
  ]);
@@ -13895,7 +13902,7 @@ var Usage = (props) => {
13895
13902
 
13896
13903
  lucide-react/dist/esm/shared/src/utils.js:
13897
13904
  (**
13898
- * @license lucide-react v0.424.0 - ISC
13905
+ * @license lucide-react v0.427.0 - ISC
13899
13906
  *
13900
13907
  * This source code is licensed under the ISC license.
13901
13908
  * See the LICENSE file in the root directory of this source tree.
@@ -13903,7 +13910,7 @@ lucide-react/dist/esm/shared/src/utils.js:
13903
13910
 
13904
13911
  lucide-react/dist/esm/defaultAttributes.js:
13905
13912
  (**
13906
- * @license lucide-react v0.424.0 - ISC
13913
+ * @license lucide-react v0.427.0 - ISC
13907
13914
  *
13908
13915
  * This source code is licensed under the ISC license.
13909
13916
  * See the LICENSE file in the root directory of this source tree.
@@ -13911,7 +13918,7 @@ lucide-react/dist/esm/defaultAttributes.js:
13911
13918
 
13912
13919
  lucide-react/dist/esm/Icon.js:
13913
13920
  (**
13914
- * @license lucide-react v0.424.0 - ISC
13921
+ * @license lucide-react v0.427.0 - ISC
13915
13922
  *
13916
13923
  * This source code is licensed under the ISC license.
13917
13924
  * See the LICENSE file in the root directory of this source tree.
@@ -13919,7 +13926,7 @@ lucide-react/dist/esm/Icon.js:
13919
13926
 
13920
13927
  lucide-react/dist/esm/createLucideIcon.js:
13921
13928
  (**
13922
- * @license lucide-react v0.424.0 - ISC
13929
+ * @license lucide-react v0.427.0 - ISC
13923
13930
  *
13924
13931
  * This source code is licensed under the ISC license.
13925
13932
  * See the LICENSE file in the root directory of this source tree.
@@ -13927,7 +13934,7 @@ lucide-react/dist/esm/createLucideIcon.js:
13927
13934
 
13928
13935
  lucide-react/dist/esm/icons/dot.js:
13929
13936
  (**
13930
- * @license lucide-react v0.424.0 - ISC
13937
+ * @license lucide-react v0.427.0 - ISC
13931
13938
  *
13932
13939
  * This source code is licensed under the ISC license.
13933
13940
  * See the LICENSE file in the root directory of this source tree.
@@ -13935,7 +13942,7 @@ lucide-react/dist/esm/icons/dot.js:
13935
13942
 
13936
13943
  lucide-react/dist/esm/lucide-react.js:
13937
13944
  (**
13938
- * @license lucide-react v0.424.0 - ISC
13945
+ * @license lucide-react v0.427.0 - ISC
13939
13946
  *
13940
13947
  * This source code is licensed under the ISC license.
13941
13948
  * See the LICENSE file in the root directory of this source tree.
package/dist/index.mjs CHANGED
@@ -423,6 +423,7 @@ function Skeleton({
423
423
  content,
424
424
  animation = "pulse",
425
425
  fade,
426
+ as = "div",
426
427
  ...props
427
428
  }) {
428
429
  const animationStyles = {
@@ -436,6 +437,10 @@ function Skeleton({
436
437
  right: "hawa-mask-fade-right",
437
438
  left: "hawa-mask-fade-left "
438
439
  };
440
+ const styledAs = {
441
+ div: "",
442
+ input: "!h-[38px] !w-full"
443
+ };
439
444
  return /* @__PURE__ */ React4.createElement(
440
445
  "div",
441
446
  {
@@ -443,6 +448,7 @@ function Skeleton({
443
448
  animationStyles[animation],
444
449
  content && "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
445
450
  fade && fadeStyle[fade],
451
+ styledAs[as],
446
452
  className
447
453
  ),
448
454
  ...props
@@ -4113,6 +4119,7 @@ var CommandItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
4113
4119
  {
4114
4120
  ref,
4115
4121
  className: cn(
4122
+ !props.disabled && "hawa-cursor-pointer",
4116
4123
  "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled='true']:hawa-pointer-events-none data-[disabled='true']:hawa-opacity-50",
4117
4124
  className
4118
4125
  ),
@@ -7713,19 +7720,19 @@ var PhoneInput = ({
7713
7720
  import * as React50 from "react";
7714
7721
  import { OTPInput, OTPInputContext } from "input-otp";
7715
7722
 
7716
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7723
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7717
7724
  import { forwardRef as forwardRef25, createElement as createElement24 } from "react";
7718
7725
 
7719
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7726
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
7720
7727
  var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
7721
7728
  var mergeClasses = (...classes) => classes.filter((className, index, array) => {
7722
7729
  return Boolean(className) && array.indexOf(className) === index;
7723
7730
  }).join(" ");
7724
7731
 
7725
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7732
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7726
7733
  import { forwardRef as forwardRef24, createElement as createElement23 } from "react";
7727
7734
 
7728
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7735
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
7729
7736
  var defaultAttributes = {
7730
7737
  xmlns: "http://www.w3.org/2000/svg",
7731
7738
  width: 24,
@@ -7738,7 +7745,7 @@ var defaultAttributes = {
7738
7745
  strokeLinejoin: "round"
7739
7746
  };
7740
7747
 
7741
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7748
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
7742
7749
  var Icon = forwardRef24(
7743
7750
  ({
7744
7751
  color = "currentColor",
@@ -7770,7 +7777,7 @@ var Icon = forwardRef24(
7770
7777
  }
7771
7778
  );
7772
7779
 
7773
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7780
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
7774
7781
  var createLucideIcon = (iconName, iconNode) => {
7775
7782
  const Component = forwardRef25(
7776
7783
  ({ className, ...props }, ref) => createElement24(Icon, {
@@ -7784,7 +7791,7 @@ var createLucideIcon = (iconName, iconNode) => {
7784
7791
  return Component;
7785
7792
  };
7786
7793
 
7787
- // ../../node_modules/.pnpm/lucide-react@0.424.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
7794
+ // ../../node_modules/.pnpm/lucide-react@0.427.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
7788
7795
  var Dot = createLucideIcon("Dot", [
7789
7796
  ["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
7790
7797
  ]);
@@ -13662,7 +13669,7 @@ export {
13662
13669
 
13663
13670
  lucide-react/dist/esm/shared/src/utils.js:
13664
13671
  (**
13665
- * @license lucide-react v0.424.0 - ISC
13672
+ * @license lucide-react v0.427.0 - ISC
13666
13673
  *
13667
13674
  * This source code is licensed under the ISC license.
13668
13675
  * See the LICENSE file in the root directory of this source tree.
@@ -13670,7 +13677,7 @@ lucide-react/dist/esm/shared/src/utils.js:
13670
13677
 
13671
13678
  lucide-react/dist/esm/defaultAttributes.js:
13672
13679
  (**
13673
- * @license lucide-react v0.424.0 - ISC
13680
+ * @license lucide-react v0.427.0 - ISC
13674
13681
  *
13675
13682
  * This source code is licensed under the ISC license.
13676
13683
  * See the LICENSE file in the root directory of this source tree.
@@ -13678,7 +13685,7 @@ lucide-react/dist/esm/defaultAttributes.js:
13678
13685
 
13679
13686
  lucide-react/dist/esm/Icon.js:
13680
13687
  (**
13681
- * @license lucide-react v0.424.0 - ISC
13688
+ * @license lucide-react v0.427.0 - ISC
13682
13689
  *
13683
13690
  * This source code is licensed under the ISC license.
13684
13691
  * See the LICENSE file in the root directory of this source tree.
@@ -13686,7 +13693,7 @@ lucide-react/dist/esm/Icon.js:
13686
13693
 
13687
13694
  lucide-react/dist/esm/createLucideIcon.js:
13688
13695
  (**
13689
- * @license lucide-react v0.424.0 - ISC
13696
+ * @license lucide-react v0.427.0 - ISC
13690
13697
  *
13691
13698
  * This source code is licensed under the ISC license.
13692
13699
  * See the LICENSE file in the root directory of this source tree.
@@ -13694,7 +13701,7 @@ lucide-react/dist/esm/createLucideIcon.js:
13694
13701
 
13695
13702
  lucide-react/dist/esm/icons/dot.js:
13696
13703
  (**
13697
- * @license lucide-react v0.424.0 - ISC
13704
+ * @license lucide-react v0.427.0 - ISC
13698
13705
  *
13699
13706
  * This source code is licensed under the ISC license.
13700
13707
  * See the LICENSE file in the root directory of this source tree.
@@ -13702,7 +13709,7 @@ lucide-react/dist/esm/icons/dot.js:
13702
13709
 
13703
13710
  lucide-react/dist/esm/lucide-react.js:
13704
13711
  (**
13705
- * @license lucide-react v0.424.0 - ISC
13712
+ * @license lucide-react v0.427.0 - ISC
13706
13713
  *
13707
13714
  * This source code is licensed under the ISC license.
13708
13715
  * See the LICENSE file in the root directory of this source tree.
@@ -183,6 +183,7 @@ function Skeleton({
183
183
  content,
184
184
  animation = "pulse",
185
185
  fade,
186
+ as = "div",
186
187
  ...props
187
188
  }) {
188
189
  const animationStyles = {
@@ -196,6 +197,10 @@ function Skeleton({
196
197
  right: "hawa-mask-fade-right",
197
198
  left: "hawa-mask-fade-left "
198
199
  };
200
+ const styledAs = {
201
+ div: "",
202
+ input: "!h-[38px] !w-full"
203
+ };
199
204
  return /* @__PURE__ */ import_react3.default.createElement(
200
205
  "div",
201
206
  {
@@ -203,6 +208,7 @@ function Skeleton({
203
208
  animationStyles[animation],
204
209
  content && "hawa-flex hawa-flex-col hawa-items-center hawa-justify-center",
205
210
  fade && fadeStyle[fade],
211
+ styledAs[as],
206
212
  className
207
213
  ),
208
214
  ...props