@sikka/hawa 0.25.0-next → 0.25.2-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 (85) hide show
  1. package/dist/blocks/auth/index.js +2 -1
  2. package/dist/blocks/auth/index.mjs +2 -1
  3. package/dist/blocks/index.js +2 -1
  4. package/dist/blocks/index.mjs +2 -2
  5. package/dist/carousel/index.d.mts +5 -5
  6. package/dist/carousel/index.d.ts +5 -5
  7. package/dist/carousel/index.js +11 -10
  8. package/dist/carousel/index.mjs +11 -10
  9. package/dist/chunk-KNHT2UBG.mjs +150 -0
  10. package/dist/{chunk-XE3FLWLT.mjs → chunk-MJMQDUCC.mjs} +1 -0
  11. package/dist/commonTypes-2IGtJ5cq.d.mts +3 -0
  12. package/dist/commonTypes-2IGtJ5cq.d.ts +3 -0
  13. package/dist/commonTypes-2k6FnHw5.d.mts +4 -0
  14. package/dist/commonTypes-2k6FnHw5.d.ts +4 -0
  15. package/dist/commonTypes-3k5cNB1s.d.mts +4 -0
  16. package/dist/commonTypes-3k5cNB1s.d.ts +4 -0
  17. package/dist/{commonTypes-3J1E3b61.d.mts → commonTypes-f_LVO3Sm.d.mts} +1 -2
  18. package/dist/{commonTypes-3J1E3b61.d.ts → commonTypes-f_LVO3Sm.d.ts} +1 -2
  19. package/dist/elements/index.d.mts +5 -5
  20. package/dist/elements/index.d.ts +5 -5
  21. package/dist/elements/index.js +12 -10
  22. package/dist/elements/index.mjs +12 -11
  23. package/dist/glow/index.d.mts +16 -0
  24. package/dist/glow/index.d.ts +16 -0
  25. package/dist/glow/index.js +155 -0
  26. package/dist/glow/index.mjs +117 -0
  27. package/dist/index.css +212 -206
  28. package/dist/index.d.mts +5 -5
  29. package/dist/index.d.ts +5 -5
  30. package/dist/index.js +13 -11
  31. package/dist/index.mjs +13 -11
  32. package/dist/input/index.d.mts +9 -2
  33. package/dist/input/index.d.ts +9 -2
  34. package/dist/input/index.mjs +1 -1
  35. package/dist/interfaceSettings/index.mjs +1 -1
  36. package/dist/label/index.d.mts +2 -1
  37. package/dist/label/index.d.ts +2 -1
  38. package/dist/label/index.mjs +98 -2
  39. package/dist/navigationMenu/index.d.mts +1 -2
  40. package/dist/navigationMenu/index.d.ts +1 -2
  41. package/dist/pagination/index.d.mts +1 -1
  42. package/dist/pagination/index.d.ts +1 -1
  43. package/dist/passwordInput/index.mjs +148 -27
  44. package/dist/phoneInput/index.d.mts +1 -1
  45. package/dist/phoneInput/index.d.ts +1 -1
  46. package/dist/phoneInput/index.mjs +140 -19
  47. package/dist/pinInput/index.js +1 -0
  48. package/dist/pinInput/index.mjs +1 -0
  49. package/dist/popover/index.d.mts +1 -2
  50. package/dist/popover/index.d.ts +1 -2
  51. package/dist/radio/index.d.mts +4 -1
  52. package/dist/radio/index.d.ts +4 -1
  53. package/dist/scrollArea/index.d.mts +1 -1
  54. package/dist/scrollArea/index.d.ts +1 -1
  55. package/dist/separator/index.d.mts +1 -1
  56. package/dist/separator/index.d.ts +1 -1
  57. package/dist/simpleTable/index.d.mts +1 -2
  58. package/dist/simpleTable/index.d.ts +1 -2
  59. package/dist/simpleTable/index.mjs +45 -21
  60. package/dist/skeleton/index.mjs +29 -3
  61. package/dist/sortButton/index.mjs +260 -9
  62. package/dist/splitButton/index.d.mts +3 -4
  63. package/dist/splitButton/index.d.ts +3 -4
  64. package/dist/splitButton/index.mjs +259 -10
  65. package/dist/switch/index.d.mts +1 -2
  66. package/dist/switch/index.d.ts +1 -2
  67. package/dist/tabs/index.d.mts +1 -1
  68. package/dist/tabs/index.d.ts +1 -1
  69. package/dist/textarea/index.d.mts +1 -1
  70. package/dist/textarea/index.d.ts +1 -1
  71. package/dist/toast/index.d.mts +1 -1
  72. package/dist/toast/index.d.ts +1 -1
  73. package/dist/toast/index.mjs +9 -139
  74. package/dist/toaster/index.d.mts +2 -2
  75. package/dist/toaster/index.d.ts +2 -2
  76. package/dist/toaster/index.mjs +17 -146
  77. package/dist/tooltip/index.d.mts +2 -2
  78. package/dist/tooltip/index.d.ts +2 -2
  79. package/package.json +12 -12
  80. package/dist/chunk-53XBVEMK.mjs +0 -131
  81. package/dist/chunk-DGWAHQRX.mjs +0 -259
  82. package/dist/chunk-ND4BWUKH.mjs +0 -34
  83. package/dist/commonTypes-LrR8QrYP.d.mts +0 -5
  84. package/dist/commonTypes-LrR8QrYP.d.ts +0 -5
  85. package/dist/{chunk-ABS2VEET.mjs → chunk-WRZFWCOQ.mjs} +3 -3
@@ -3956,7 +3956,7 @@ var ResetPasswordForm = (props) => {
3956
3956
  const { handleSubmit, control, formState } = (0, import_react_hook_form4.useForm)({
3957
3957
  resolver: (0, import_zod4.zodResolver)(formSchema)
3958
3958
  });
3959
- return /* @__PURE__ */ import_react19.default.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ import_react19.default.createElement(import_react19.default.Fragment, null, !props.headless && /* @__PURE__ */ import_react19.default.createElement(CardHeader, null, /* @__PURE__ */ import_react19.default.createElement(CardTitle, null, " ", ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ import_react19.default.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ import_react19.default.createElement(
3959
+ return /* @__PURE__ */ import_react19.default.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ import_react19.default.createElement(import_react19.default.Fragment, null, !props.headless && /* @__PURE__ */ import_react19.default.createElement(CardHeader, null, /* @__PURE__ */ import_react19.default.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ import_react19.default.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ import_react19.default.createElement(
3960
3960
  "form",
3961
3961
  {
3962
3962
  noValidate: true,
@@ -4063,6 +4063,7 @@ var PinInput = ({
4063
4063
  type: "text",
4064
4064
  maxLength: 1,
4065
4065
  value,
4066
+ inputMode: "numeric",
4066
4067
  id: `input-${index}`,
4067
4068
  pattern: "[0-9]*",
4068
4069
  className: cn(
@@ -3149,7 +3149,7 @@ var ResetPasswordForm = (props) => {
3149
3149
  const { handleSubmit, control, formState } = useForm4({
3150
3150
  resolver: zodResolver4(formSchema)
3151
3151
  });
3152
- return /* @__PURE__ */ React11.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, !props.headless && /* @__PURE__ */ React11.createElement(CardHeader, null, /* @__PURE__ */ React11.createElement(CardTitle, null, " ", ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React11.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React11.createElement(
3152
+ return /* @__PURE__ */ React11.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React11.createElement(React11.Fragment, null, !props.headless && /* @__PURE__ */ React11.createElement(CardHeader, null, /* @__PURE__ */ React11.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React11.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React11.createElement(
3153
3153
  "form",
3154
3154
  {
3155
3155
  noValidate: true,
@@ -3256,6 +3256,7 @@ var PinInput = ({
3256
3256
  type: "text",
3257
3257
  maxLength: 1,
3258
3258
  value,
3259
+ inputMode: "numeric",
3259
3260
  id: `input-${index}`,
3260
3261
  pattern: "[0-9]*",
3261
3262
  className: cn(
@@ -4113,7 +4113,7 @@ var ResetPasswordForm = (props) => {
4113
4113
  const { handleSubmit, control, formState } = (0, import_react_hook_form4.useForm)({
4114
4114
  resolver: (0, import_zod4.zodResolver)(formSchema)
4115
4115
  });
4116
- return /* @__PURE__ */ import_react19.default.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ import_react19.default.createElement(import_react19.default.Fragment, null, !props.headless && /* @__PURE__ */ import_react19.default.createElement(CardHeader, null, /* @__PURE__ */ import_react19.default.createElement(CardTitle, null, " ", ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ import_react19.default.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ import_react19.default.createElement(
4116
+ return /* @__PURE__ */ import_react19.default.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ import_react19.default.createElement(import_react19.default.Fragment, null, !props.headless && /* @__PURE__ */ import_react19.default.createElement(CardHeader, null, /* @__PURE__ */ import_react19.default.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ import_react19.default.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ import_react19.default.createElement(
4117
4117
  "form",
4118
4118
  {
4119
4119
  noValidate: true,
@@ -4220,6 +4220,7 @@ var PinInput = ({
4220
4220
  type: "text",
4221
4221
  maxLength: 1,
4222
4222
  value,
4223
+ inputMode: "numeric",
4223
4224
  id: `input-${index}`,
4224
4225
  pattern: "[0-9]*",
4225
4226
  className: cn(
@@ -25,7 +25,7 @@ import {
25
25
  UncheckMark,
26
26
  VeryBadEmoji,
27
27
  VeryGoodEmoji
28
- } from "../chunk-XE3FLWLT.mjs";
28
+ } from "../chunk-MJMQDUCC.mjs";
29
29
  import {
30
30
  Button,
31
31
  Card,
@@ -922,7 +922,7 @@ var ResetPasswordForm = (props) => {
922
922
  const { handleSubmit, control, formState } = useForm4({
923
923
  resolver: zodResolver4(formSchema)
924
924
  });
925
- return /* @__PURE__ */ React7.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React7.createElement(React7.Fragment, null, !props.headless && /* @__PURE__ */ React7.createElement(CardHeader, null, /* @__PURE__ */ React7.createElement(CardTitle, null, " ", ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React7.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React7.createElement(
925
+ return /* @__PURE__ */ React7.createElement(Card, { dir: props.direction }, !props.sent ? /* @__PURE__ */ React7.createElement(React7.Fragment, null, !props.headless && /* @__PURE__ */ React7.createElement(CardHeader, null, /* @__PURE__ */ React7.createElement(CardTitle, null, ((_g = props.texts) == null ? void 0 : _g.headTitle) || "Reset Password"), /* @__PURE__ */ React7.createElement(CardDescription, null, ((_h = props.texts) == null ? void 0 : _h.headDescription) || "Enter your email to reset your account password")), /* @__PURE__ */ React7.createElement(
926
926
  "form",
927
927
  {
928
928
  noValidate: true,
@@ -1,13 +1,13 @@
1
- import React__default, { PropsWithChildren } from 'react';
1
+ import React__default from 'react';
2
2
  import { EmblaOptionsType } from 'embla-carousel-react';
3
3
 
4
- interface CarouselProps {
4
+ type CarouselProps = {
5
5
  items: React__default.ReactNode[];
6
6
  showArrows?: boolean;
7
7
  autoplay?: boolean;
8
8
  autoplayInterval?: number;
9
- }
10
- type Props = CarouselProps & EmblaOptionsType;
11
- declare const Carousel: (props: PropsWithChildren<Props>) => React__default.JSX.Element;
9
+ options?: EmblaOptionsType;
10
+ };
11
+ declare const Carousel: React__default.FC<CarouselProps>;
12
12
 
13
13
  export { Carousel };
@@ -1,13 +1,13 @@
1
- import React__default, { PropsWithChildren } from 'react';
1
+ import React__default from 'react';
2
2
  import { EmblaOptionsType } from 'embla-carousel-react';
3
3
 
4
- interface CarouselProps {
4
+ type CarouselProps = {
5
5
  items: React__default.ReactNode[];
6
6
  showArrows?: boolean;
7
7
  autoplay?: boolean;
8
8
  autoplayInterval?: number;
9
- }
10
- type Props = CarouselProps & EmblaOptionsType;
11
- declare const Carousel: (props: PropsWithChildren<Props>) => React__default.JSX.Element;
9
+ options?: EmblaOptionsType;
10
+ };
11
+ declare const Carousel: React__default.FC<CarouselProps>;
12
12
 
13
13
  export { Carousel };
@@ -46,17 +46,18 @@ function cn(...inputs) {
46
46
  }
47
47
 
48
48
  // components/elements/carousel/Carousel.tsx
49
- var Carousel = (props) => {
50
- const {
51
- children,
52
- items,
53
- showArrows,
54
- autoplay,
55
- autoplayInterval = 3e3,
56
- ...options
57
- } = props;
49
+ var Carousel = ({
50
+ items,
51
+ showArrows,
52
+ options,
53
+ autoplay,
54
+ autoplayInterval = 3e3,
55
+ ...props
56
+ }) => {
57
+ const { loop } = options;
58
58
  const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)({
59
- loop: autoplay ? true : options.loop || false
59
+ ...options,
60
+ loop: autoplay ? true : loop || false
60
61
  });
61
62
  const [selectedIndex, setSelectedIndex] = (0, import_react.useState)(0);
62
63
  (0, import_react.useEffect)(() => {
@@ -5,17 +5,18 @@ import {
5
5
  // components/elements/carousel/Carousel.tsx
6
6
  import React, { useEffect, useState } from "react";
7
7
  import useEmblaCarousel from "embla-carousel-react";
8
- var Carousel = (props) => {
9
- const {
10
- children,
11
- items,
12
- showArrows,
13
- autoplay,
14
- autoplayInterval = 3e3,
15
- ...options
16
- } = props;
8
+ var Carousel = ({
9
+ items,
10
+ showArrows,
11
+ options,
12
+ autoplay,
13
+ autoplayInterval = 3e3,
14
+ ...props
15
+ }) => {
16
+ const { loop } = options;
17
17
  const [emblaRef, emblaApi] = useEmblaCarousel({
18
- loop: autoplay ? true : options.loop || false
18
+ ...options,
19
+ loop: autoplay ? true : loop || false
19
20
  });
20
21
  const [selectedIndex, setSelectedIndex] = useState(0);
21
22
  useEffect(() => {
@@ -0,0 +1,150 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-TE3BKEXL.mjs";
4
+
5
+ // components/elements/toast/Toast.tsx
6
+ import * as React from "react";
7
+ import * as ToastPrimitives from "@radix-ui/react-toast";
8
+ import { cva } from "class-variance-authority";
9
+ var toastVariants = cva(
10
+ "hawa-group hawa-z-[900] hawa-pointer-events-auto hawa-relative hawa-flex hawa-w-full hawa-items-center hawa-justify-between hawa-overflow-hidden hawa-rounded-md hawa-border hawa-shadow-lg hawa-transition-all data-[swipe=cancel]:hawa-translate-x-0 data-[swipe=end]:hawa-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:hawa-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:hawa-transition-none data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[swipe=end]:hawa-animate-out data-[state=closed]:hawa-fade-out-80 data-[state=open]:hawa-slide-in-from-top-full data-[state=open]:sm:hawa-slide-in-from-bottom-full",
11
+ {
12
+ variants: {
13
+ variant: {
14
+ default: "hawa-border hawa-bg-background hawa-text-foreground",
15
+ destructive: "hawa-destructive hawa-group hawa-border-destructive hawa-bg-destructive hawa-text-destructive-foreground"
16
+ },
17
+ severity: {
18
+ info: "hawa-info hawa-group hawa-text-info-foreground hawa-bg-info",
19
+ warning: "hawa-warning hawa-group hawa-text-warning-foreground hawa-bg-warning",
20
+ error: "hawa-error hawa-group hawa-border-error hawa-bg-error hawa-text-white",
21
+ success: "hawa-success hawa-group hawa-text-success-foreground hawa-bg-success",
22
+ none: ""
23
+ }
24
+ },
25
+ defaultVariants: { variant: "default" }
26
+ }
27
+ );
28
+ var sizeStyles = {
29
+ default: "hawa-text-sm",
30
+ // Update this based on the desired padding for rtl
31
+ sm: "hawa-text-xs"
32
+ };
33
+ var ToastProvider = ToastPrimitives.Provider;
34
+ var ToastViewport = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
35
+ ToastPrimitives.Viewport,
36
+ {
37
+ ref,
38
+ className: cn(
39
+ "hawa-fixed hawa-top-0 hawa-z-[100] hawa-flex hawa-max-h-screen hawa-w-full hawa-flex-col-reverse hawa-p-4 sm:hawa-bottom-0 sm:hawa-right-0 sm:hawa-top-auto sm:hawa-flex-col md:hawa-max-w-[420px]",
40
+ className
41
+ ),
42
+ ...props
43
+ }
44
+ ));
45
+ ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
46
+ var Toast = React.forwardRef(({ className, variant, severity = "none", direction, ...props }, ref) => {
47
+ return /* @__PURE__ */ React.createElement(
48
+ ToastPrimitives.Root,
49
+ {
50
+ ref,
51
+ className: cn(
52
+ toastVariants({ variant, severity }),
53
+ className,
54
+ direction === "rtl" ? "data-[state=closed]:hawa-slide-out-to-left-full" : "data-[state=closed]:hawa-slide-out-to-right-full"
55
+ ),
56
+ dir: direction,
57
+ ...props
58
+ }
59
+ );
60
+ });
61
+ Toast.displayName = ToastPrimitives.Root.displayName;
62
+ var ToastAction = React.forwardRef(({ className, ...props }, ref) => {
63
+ return /* @__PURE__ */ React.createElement(
64
+ ToastPrimitives.Action,
65
+ {
66
+ ref,
67
+ className: cn(
68
+ "hawa-inline-flex hawa-h-8 hawa-shrink-0 hawa-items-center hawa-justify-center hawa-rounded-md hawa-border hawa-bg-transparent hawa-px-3 hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors hover:hawa-bg-secondary hover:hawa-text-secondary-foreground focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
69
+ "group-[.info]:hawa-border-muted/40 group-[.info]:hover:hawa-border-info/30 group-[.info]:hover:hawa-bg-info group-[.info]:hover:hawa-text-info-foreground group-[.info]:focus:hawa-ring-info",
70
+ "group-[.error]:hawa-border-muted/40 group-[.error]:hover:hawa-border-error/30 group-[.error]:hover:hawa-bg-error group-[.error]:hover:hawa-text-error-foreground group-[.error]:focus:hawa-ring-error",
71
+ "group-[.success]:hawa-border-muted/40 group-[.success]:hover:hawa-border-success/30 group-[.success]:hover:hawa-bg-success group-[.success]:hover:hawa-text-success-foreground group-[.success]:focus:hawa-ring-success",
72
+ "group-[.warning]:hawa-border-muted/40 group-[.warning]:hover:hawa-border-warning/30 group-[.warning]:hover:hawa-bg-warning group-[.warning]:hover:hawa-text-warning-foreground group-[.warning]:focus:hawa-ring-warning",
73
+ "hawa-whitespace-nowrap",
74
+ className
75
+ ),
76
+ ...props
77
+ }
78
+ );
79
+ });
80
+ ToastAction.displayName = ToastPrimitives.Action.displayName;
81
+ var ToastClose = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
82
+ ToastPrimitives.Close,
83
+ {
84
+ ref,
85
+ className: cn(
86
+ // "hawa-absolute hawa-start-2 hawa-top-2",
87
+ // "group-hover:hawa-opacity-100",
88
+ "hawa-opacity-100",
89
+ "hawa-rounded-md hawa-p-1 hawa-text-foreground/50 hawa-transition-opacity hover:hawa-text-foreground focus:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 group-[.destructive]:hawa-text-red-300 group-[.destructive]:hover:hawa-text-red-50 group-[.destructive]:focus:hawa-ring-red-400 group-[.destructive]:focus:hawa-ring-offset-red-600",
90
+ className
91
+ ),
92
+ "toast-close": "",
93
+ ...props
94
+ },
95
+ /* @__PURE__ */ React.createElement(
96
+ "svg",
97
+ {
98
+ "aria-label": "Close Icon",
99
+ "aria-hidden": "true",
100
+ className: "hawa-icon",
101
+ fill: "currentColor",
102
+ viewBox: "0 0 20 20"
103
+ },
104
+ /* @__PURE__ */ React.createElement(
105
+ "path",
106
+ {
107
+ fillRule: "evenodd",
108
+ 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",
109
+ clipRule: "evenodd"
110
+ }
111
+ )
112
+ )
113
+ ));
114
+ ToastClose.displayName = ToastPrimitives.Close.displayName;
115
+ var ToastTitle = React.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React.createElement(
116
+ ToastPrimitives.Title,
117
+ {
118
+ ref,
119
+ className: cn(
120
+ "hawa-select-text hawa-text-sm hawa-font-semibold",
121
+ sizeStyles[size],
122
+ className
123
+ ),
124
+ ...props
125
+ }
126
+ ));
127
+ ToastTitle.displayName = ToastPrimitives.Title.displayName;
128
+ var ToastDescription = React.forwardRef(({ className, size = "default", ...props }, ref) => /* @__PURE__ */ React.createElement(
129
+ ToastPrimitives.Description,
130
+ {
131
+ ref,
132
+ className: cn(
133
+ "hawa-select-text hawa-opacity-90",
134
+ sizeStyles[size],
135
+ className
136
+ ),
137
+ ...props
138
+ }
139
+ ));
140
+ ToastDescription.displayName = ToastPrimitives.Description.displayName;
141
+
142
+ export {
143
+ ToastProvider,
144
+ ToastViewport,
145
+ Toast,
146
+ ToastAction,
147
+ ToastClose,
148
+ ToastTitle,
149
+ ToastDescription
150
+ };
@@ -2429,6 +2429,7 @@ var PinInput = ({
2429
2429
  type: "text",
2430
2430
  maxLength: 1,
2431
2431
  value,
2432
+ inputMode: "numeric",
2432
2433
  id: `input-${index}`,
2433
2434
  pattern: "[0-9]*",
2434
2435
  className: cn(
@@ -0,0 +1,3 @@
1
+ type PositionType = "top" | "bottom" | "right" | "left";
2
+
3
+ export type { PositionType as P };
@@ -0,0 +1,3 @@
1
+ type PositionType = "top" | "bottom" | "right" | "left";
2
+
3
+ export type { PositionType as P };
@@ -0,0 +1,4 @@
1
+ type DirectionType = "rtl" | "ltr";
2
+ type RadiusType = "full" | "inherit" | "none";
3
+
4
+ export type { DirectionType as D, RadiusType as R };
@@ -0,0 +1,4 @@
1
+ type DirectionType = "rtl" | "ltr";
2
+ type RadiusType = "full" | "inherit" | "none";
3
+
4
+ export type { DirectionType as D, RadiusType as R };
@@ -0,0 +1,4 @@
1
+ type DirectionType = "rtl" | "ltr";
2
+ type OrientationType = "vertical" | "horizontal";
3
+
4
+ export type { DirectionType as D, OrientationType as O };
@@ -0,0 +1,4 @@
1
+ type DirectionType = "rtl" | "ltr";
2
+ type OrientationType = "vertical" | "horizontal";
3
+
4
+ export type { DirectionType as D, OrientationType as O };
@@ -1,6 +1,5 @@
1
- type DirectionType = "rtl" | "ltr";
2
1
  type PositionType = "top" | "bottom" | "right" | "left";
3
2
  type OrientationType = "vertical" | "horizontal";
4
3
  type RadiusType = "full" | "inherit" | "none";
5
4
 
6
- export type { DirectionType as D, OrientationType as O, PositionType as P, RadiusType as R };
5
+ export type { OrientationType as O, PositionType as P, RadiusType as R };
@@ -1,6 +1,5 @@
1
- type DirectionType = "rtl" | "ltr";
2
1
  type PositionType = "top" | "bottom" | "right" | "left";
3
2
  type OrientationType = "vertical" | "horizontal";
4
3
  type RadiusType = "full" | "inherit" | "none";
5
4
 
6
- export type { DirectionType as D, OrientationType as O, PositionType as P, RadiusType as R };
5
+ export type { OrientationType as O, PositionType as P, RadiusType as R };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { FC, RefObject, ReactNode, ChangeEvent, FormEvent, InputHTMLAttributes, PropsWithChildren } from 'react';
2
+ import React__default, { FC, RefObject, ReactNode, ChangeEvent, FormEvent, InputHTMLAttributes } from 'react';
3
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
4
  import { P as PositionType, D as DirectionType, S as SeverityType, R as RadiusType, O as OrientationType } from '../commonTypes-CKtkuNFH.mjs';
5
5
  export { D as DropdownMenu, f as DropdownMenuCheckboxItem, d as DropdownMenuContent, k as DropdownMenuGroup, e as DropdownMenuItem, h as DropdownMenuLabel, l as DropdownMenuPortal, b as DropdownMenuRadio, p as DropdownMenuRadioGroup, g as DropdownMenuRadioItem, a as DropdownMenuRoot, i as DropdownMenuSeparator, j as DropdownMenuShortcut, m as DropdownMenuSub, n as DropdownMenuSubContent, o as DropdownMenuSubTrigger, c as DropdownMenuTrigger, M as MenuItemType, S as SubItem } from '../DropdownMenu-vm2kRAhL.mjs';
@@ -726,14 +726,14 @@ type CodeBlockTypes = {
726
726
  };
727
727
  declare const CodeBlock: FC<CodeBlockTypes>;
728
728
 
729
- interface CarouselProps {
729
+ type CarouselProps = {
730
730
  items: React__default.ReactNode[];
731
731
  showArrows?: boolean;
732
732
  autoplay?: boolean;
733
733
  autoplayInterval?: number;
734
- }
735
- type Props = CarouselProps & EmblaOptionsType;
736
- declare const Carousel: (props: PropsWithChildren<Props>) => React__default.JSX.Element;
734
+ options?: EmblaOptionsType;
735
+ };
736
+ declare const Carousel: React__default.FC<CarouselProps>;
737
737
 
738
738
  type IconCountTypes = {
739
739
  /** The icon of the counter */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import React__default, { FC, RefObject, ReactNode, ChangeEvent, FormEvent, InputHTMLAttributes, PropsWithChildren } from 'react';
2
+ import React__default, { FC, RefObject, ReactNode, ChangeEvent, FormEvent, InputHTMLAttributes } from 'react';
3
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
4
  import { P as PositionType, D as DirectionType, S as SeverityType, R as RadiusType, O as OrientationType } from '../commonTypes-CKtkuNFH.js';
5
5
  export { D as DropdownMenu, f as DropdownMenuCheckboxItem, d as DropdownMenuContent, k as DropdownMenuGroup, e as DropdownMenuItem, h as DropdownMenuLabel, l as DropdownMenuPortal, b as DropdownMenuRadio, p as DropdownMenuRadioGroup, g as DropdownMenuRadioItem, a as DropdownMenuRoot, i as DropdownMenuSeparator, j as DropdownMenuShortcut, m as DropdownMenuSub, n as DropdownMenuSubContent, o as DropdownMenuSubTrigger, c as DropdownMenuTrigger, M as MenuItemType, S as SubItem } from '../DropdownMenu-jh4puuXw.js';
@@ -726,14 +726,14 @@ type CodeBlockTypes = {
726
726
  };
727
727
  declare const CodeBlock: FC<CodeBlockTypes>;
728
728
 
729
- interface CarouselProps {
729
+ type CarouselProps = {
730
730
  items: React__default.ReactNode[];
731
731
  showArrows?: boolean;
732
732
  autoplay?: boolean;
733
733
  autoplayInterval?: number;
734
- }
735
- type Props = CarouselProps & EmblaOptionsType;
736
- declare const Carousel: (props: PropsWithChildren<Props>) => React__default.JSX.Element;
734
+ options?: EmblaOptionsType;
735
+ };
736
+ declare const Carousel: React__default.FC<CarouselProps>;
737
737
 
738
738
  type IconCountTypes = {
739
739
  /** The icon of the counter */
@@ -6128,6 +6128,7 @@ var PinInput = ({
6128
6128
  type: "text",
6129
6129
  maxLength: 1,
6130
6130
  value,
6131
+ inputMode: "numeric",
6131
6132
  id: `input-${index}`,
6132
6133
  pattern: "[0-9]*",
6133
6134
  className: cn(
@@ -7031,17 +7032,18 @@ var CodeBlock = ({
7031
7032
  // components/elements/carousel/Carousel.tsx
7032
7033
  var import_react31 = __toESM(require("react"));
7033
7034
  var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
7034
- var Carousel = (props) => {
7035
- const {
7036
- children,
7037
- items,
7038
- showArrows,
7039
- autoplay,
7040
- autoplayInterval = 3e3,
7041
- ...options
7042
- } = props;
7035
+ var Carousel = ({
7036
+ items,
7037
+ showArrows,
7038
+ options,
7039
+ autoplay,
7040
+ autoplayInterval = 3e3,
7041
+ ...props
7042
+ }) => {
7043
+ const { loop } = options;
7043
7044
  const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)({
7044
- loop: autoplay ? true : options.loop || false
7045
+ ...options,
7046
+ loop: autoplay ? true : loop || false
7045
7047
  });
7046
7048
  const [selectedIndex, setSelectedIndex] = (0, import_react31.useState)(0);
7047
7049
  (0, import_react31.useEffect)(() => {
@@ -28,7 +28,7 @@ import {
28
28
  TabsTrigger,
29
29
  Textarea,
30
30
  UncheckMark
31
- } from "../chunk-XE3FLWLT.mjs";
31
+ } from "../chunk-MJMQDUCC.mjs";
32
32
  import {
33
33
  Sheet,
34
34
  SheetClose,
@@ -2756,17 +2756,18 @@ var CodeBlock = ({
2756
2756
  // components/elements/carousel/Carousel.tsx
2757
2757
  import React28, { useEffect as useEffect10, useState as useState12 } from "react";
2758
2758
  import useEmblaCarousel from "embla-carousel-react";
2759
- var Carousel = (props) => {
2760
- const {
2761
- children,
2762
- items,
2763
- showArrows,
2764
- autoplay,
2765
- autoplayInterval = 3e3,
2766
- ...options
2767
- } = props;
2759
+ var Carousel = ({
2760
+ items,
2761
+ showArrows,
2762
+ options,
2763
+ autoplay,
2764
+ autoplayInterval = 3e3,
2765
+ ...props
2766
+ }) => {
2767
+ const { loop } = options;
2768
2768
  const [emblaRef, emblaApi] = useEmblaCarousel({
2769
- loop: autoplay ? true : options.loop || false
2769
+ ...options,
2770
+ loop: autoplay ? true : loop || false
2770
2771
  });
2771
2772
  const [selectedIndex, setSelectedIndex] = useState12(0);
2772
2773
  useEffect10(() => {
@@ -0,0 +1,16 @@
1
+ import React__default from 'react';
2
+
3
+ declare const GlowCapture: ({ className, size, ...rest }: {
4
+ [x: string]: any;
5
+ className?: string | undefined;
6
+ size?: number | undefined;
7
+ }) => React__default.JSX.Element;
8
+ declare const Glow: ({ className, style, color, debug, ...rest }: {
9
+ [x: string]: any;
10
+ className?: string | undefined;
11
+ style?: {} | undefined;
12
+ color?: string | undefined;
13
+ debug?: boolean | undefined;
14
+ }) => React__default.JSX.Element;
15
+
16
+ export { Glow, GlowCapture };
@@ -0,0 +1,16 @@
1
+ import React__default from 'react';
2
+
3
+ declare const GlowCapture: ({ className, size, ...rest }: {
4
+ [x: string]: any;
5
+ className?: string | undefined;
6
+ size?: number | undefined;
7
+ }) => React__default.JSX.Element;
8
+ declare const Glow: ({ className, style, color, debug, ...rest }: {
9
+ [x: string]: any;
10
+ className?: string | undefined;
11
+ style?: {} | undefined;
12
+ color?: string | undefined;
13
+ debug?: boolean | undefined;
14
+ }) => React__default.JSX.Element;
15
+
16
+ export { Glow, GlowCapture };