@sikka/hawa 0.15.18-next → 0.16.0-next

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -741,8 +741,8 @@ input[type="number"]::-webkit-inner-spin-button,
741
741
  .hawa-end-0 {
742
742
  inset-inline-end: 0px;
743
743
  }
744
- .hawa-end-2 {
745
- inset-inline-end: 0.5rem;
744
+ .hawa-end-3 {
745
+ inset-inline-end: 0.75rem;
746
746
  }
747
747
  .hawa-left-0 {
748
748
  left: 0px;
@@ -753,9 +753,6 @@ input[type="number"]::-webkit-inner-spin-button,
753
753
  .hawa-left-2\.5 {
754
754
  left: 0.625rem;
755
755
  }
756
- .hawa-left-3 {
757
- left: 0.75rem;
758
- }
759
756
  .hawa-left-4 {
760
757
  left: 1rem;
761
758
  }
@@ -777,6 +774,9 @@ input[type="number"]::-webkit-inner-spin-button,
777
774
  .hawa-start-0 {
778
775
  inset-inline-start: 0px;
779
776
  }
777
+ .hawa-start-3 {
778
+ inset-inline-start: 0.75rem;
779
+ }
780
780
  .hawa-top-0 {
781
781
  top: 0px;
782
782
  }
@@ -801,9 +801,6 @@ input[type="number"]::-webkit-inner-spin-button,
801
801
  .hawa-top-\[22px\] {
802
802
  top: 22px;
803
803
  }
804
- .hawa-top-\[41px\] {
805
- top: 41px;
806
- }
807
804
  .hawa-top-\[50\%\] {
808
805
  top: 50%;
809
806
  }
@@ -2322,12 +2319,12 @@ input[type="number"]::-webkit-inner-spin-button,
2322
2319
  .hawa-pb-4 {
2323
2320
  padding-bottom: 1rem;
2324
2321
  }
2322
+ .hawa-pe-9 {
2323
+ padding-inline-end: 2.25rem;
2324
+ }
2325
2325
  .hawa-pl-0 {
2326
2326
  padding-left: 0px;
2327
2327
  }
2328
- .hawa-pl-10 {
2329
- padding-left: 2.5rem;
2330
- }
2331
2328
  .hawa-pl-2 {
2332
2329
  padding-left: 0.5rem;
2333
2330
  }
@@ -2349,6 +2346,9 @@ input[type="number"]::-webkit-inner-spin-button,
2349
2346
  .hawa-pr-8 {
2350
2347
  padding-right: 2rem;
2351
2348
  }
2349
+ .hawa-ps-9 {
2350
+ padding-inline-start: 2.25rem;
2351
+ }
2352
2352
  .hawa-pt-0 {
2353
2353
  padding-top: 0px;
2354
2354
  }
package/dist/index.d.mts CHANGED
@@ -289,6 +289,8 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
289
289
  /** Boolean to enable/disable editing the input field and using it as a text field */
290
290
  preview?: boolean;
291
291
  iconInside?: React__default.ReactNode;
292
+ endIcon?: React__default.ReactNode;
293
+ startIcon?: React__default.ReactNode;
292
294
  };
293
295
  declare const Input: FC<TextFieldTypes>;
294
296
 
@@ -386,6 +388,10 @@ declare const SplitButton: React$1.FC<SplitButtonProps>;
386
388
 
387
389
  declare const Dialog: React$1.FC<SheetPrimitive.DialogProps>;
388
390
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
391
+ declare const DialogPortal: {
392
+ ({ ...props }: SheetPrimitive.DialogPortalProps): React$1.JSX.Element;
393
+ displayName: string | undefined;
394
+ };
389
395
  declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
390
396
  persist?: boolean | undefined;
391
397
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -399,6 +405,25 @@ declare const DialogFooter: {
399
405
  ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
400
406
  displayName: string;
401
407
  };
408
+ interface DialogStepsProps {
409
+ activeStep: string;
410
+ children: React$1.ReactNode;
411
+ stepsApi?: any;
412
+ stepsRef?: any;
413
+ }
414
+ declare const DialogSteps: React$1.FC<DialogStepsProps>;
415
+ interface DialogStepProps {
416
+ id: string;
417
+ children: React$1.ReactNode;
418
+ className?: string;
419
+ stepRef?: any;
420
+ }
421
+ declare const DialogStep: React$1.FC<DialogStepProps>;
422
+ interface DialogBodyProps {
423
+ children: React$1.ReactNode;
424
+ className?: string;
425
+ }
426
+ declare const DialogBody: React$1.FC<DialogBodyProps>;
402
427
 
403
428
  interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
404
429
  clickable?: boolean;
@@ -1752,4 +1777,4 @@ declare function useTabs(initialTab?: string): {
1752
1777
  handleTabChange: (index: any) => void;
1753
1778
  };
1754
1779
 
1755
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
1780
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -289,6 +289,8 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
289
289
  /** Boolean to enable/disable editing the input field and using it as a text field */
290
290
  preview?: boolean;
291
291
  iconInside?: React__default.ReactNode;
292
+ endIcon?: React__default.ReactNode;
293
+ startIcon?: React__default.ReactNode;
292
294
  };
293
295
  declare const Input: FC<TextFieldTypes>;
294
296
 
@@ -386,6 +388,10 @@ declare const SplitButton: React$1.FC<SplitButtonProps>;
386
388
 
387
389
  declare const Dialog: React$1.FC<SheetPrimitive.DialogProps>;
388
390
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
391
+ declare const DialogPortal: {
392
+ ({ ...props }: SheetPrimitive.DialogPortalProps): React$1.JSX.Element;
393
+ displayName: string | undefined;
394
+ };
389
395
  declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
390
396
  persist?: boolean | undefined;
391
397
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -399,6 +405,25 @@ declare const DialogFooter: {
399
405
  ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
400
406
  displayName: string;
401
407
  };
408
+ interface DialogStepsProps {
409
+ activeStep: string;
410
+ children: React$1.ReactNode;
411
+ stepsApi?: any;
412
+ stepsRef?: any;
413
+ }
414
+ declare const DialogSteps: React$1.FC<DialogStepsProps>;
415
+ interface DialogStepProps {
416
+ id: string;
417
+ children: React$1.ReactNode;
418
+ className?: string;
419
+ stepRef?: any;
420
+ }
421
+ declare const DialogStep: React$1.FC<DialogStepProps>;
422
+ interface DialogBodyProps {
423
+ children: React$1.ReactNode;
424
+ className?: string;
425
+ }
426
+ declare const DialogBody: React$1.FC<DialogBodyProps>;
402
427
 
403
428
  interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
404
429
  clickable?: boolean;
@@ -1752,4 +1777,4 @@ declare function useTabs(initialTab?: string): {
1752
1777
  handleTabChange: (index: any) => void;
1753
1778
  };
1754
1779
 
1755
- export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
1780
+ export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
package/dist/index.js CHANGED
@@ -493,6 +493,9 @@ __export(components_exports, {
493
493
  Dialog: function() {
494
494
  return Dialog;
495
495
  },
496
+ DialogBody: function() {
497
+ return DialogBody;
498
+ },
496
499
  DialogContent: function() {
497
500
  return DialogContent;
498
501
  },
@@ -505,6 +508,15 @@ __export(components_exports, {
505
508
  DialogHeader: function() {
506
509
  return DialogHeader;
507
510
  },
511
+ DialogPortal: function() {
512
+ return DialogPortal;
513
+ },
514
+ DialogStep: function() {
515
+ return DialogStep;
516
+ },
517
+ DialogSteps: function() {
518
+ return DialogSteps;
519
+ },
508
520
  DialogTitle: function() {
509
521
  return DialogTitle;
510
522
  },
@@ -4071,11 +4083,12 @@ var Input = function(_param) {
4071
4083
  className: cn("hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800", preview ? "hawa-opacity-100" : "hawa-opacity-0")
4072
4084
  }), /* @__PURE__ */ import_react15.default.createElement(import_react15.default.Fragment, null, /* @__PURE__ */ import_react15.default.createElement("div", {
4073
4085
  className: cn("hawa-relative")
4074
- }, props.icon && /* @__PURE__ */ import_react15.default.createElement("div", {
4075
- className: "hawa-absolute hawa-left-3 hawa-top-1/2 hawa--translate-y-1/2"
4076
- }, props.icon), /* @__PURE__ */ import_react15.default.createElement("input", {
4086
+ }, props.startIcon && /* @__PURE__ */ import_react15.default.createElement("div", {
4087
+ className: "hawa-absolute hawa-start-3 hawa-top-1/2 hawa--translate-y-1/2"
4088
+ }, props.startIcon), props.endIcon && /* @__PURE__ */ import_react15.default.createElement("div", {
4089
+ className: "hawa-absolute hawa-end-3 hawa-top-1/2 hawa--translate-y-1/2"
4090
+ }, props.endIcon), /* @__PURE__ */ import_react15.default.createElement("input", {
4077
4091
  required: true,
4078
- className: cn(defaultInputStyle, " dark:hawa-text-white", props.icon && "hawa-pl-10", "focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0", preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0", (_props_inputProps = props.inputProps) === null || _props_inputProps === void 0 ? void 0 : _props_inputProps.className),
4079
4092
  dir: props.dir,
4080
4093
  type: props.type,
4081
4094
  value: props.value,
@@ -4086,10 +4099,9 @@ var Input = function(_param) {
4086
4099
  disabled: preview,
4087
4100
  style: {
4088
4101
  height: 40
4089
- }
4090
- })), props.iconInside && /* @__PURE__ */ import_react15.default.createElement("div", {
4091
- className: "hawa-absolute hawa-end-2 hawa-top-[41px] hawa-mx-1 hawa--translate-y-1/2"
4092
- }, props.iconInside), !forceHideHelperText && /* @__PURE__ */ import_react15.default.createElement("p", {
4102
+ },
4103
+ className: cn(defaultInputStyle, " dark:hawa-text-white focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0", props.endIcon && "hawa-pe-9", props.startIcon && "hawa-ps-9", preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0", (_props_inputProps = props.inputProps) === null || _props_inputProps === void 0 ? void 0 : _props_inputProps.className)
4104
+ })), !forceHideHelperText && /* @__PURE__ */ import_react15.default.createElement("p", {
4093
4105
  className: cn("hawa-my-0 hawa-text-xs hawa-text-helper-color hawa-transition-all hawa-text-start", props.helperText ? "hawa-opacity-100 hawa-h-4" : "hawa-opacity-0 hawa-h-0")
4094
4106
  }, props.helperText))));
4095
4107
  };
@@ -4108,7 +4120,6 @@ var DialogPortal = function(_param) /* @__PURE__ */ {
4108
4120
  var props = _extends({}, _object_destructuring_empty(_param));
4109
4121
  return React25.createElement(DialogPrimitive.Portal, _object_spread({}, props));
4110
4122
  };
4111
- DialogPortal.displayName = DialogPrimitive.Portal.displayName;
4112
4123
  var DialogOverlay = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4113
4124
  var className = _param.className, props = _object_without_properties(_param, [
4114
4125
  "className"
@@ -4118,7 +4129,6 @@ var DialogOverlay = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4118
4129
  className: cn("hawa-fixed hawa-inset-0 hawa-z-50 hawa-bg-background/80 hawa-backdrop-blur-sm 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", className)
4119
4130
  }, props));
4120
4131
  });
4121
- DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
4122
4132
  var DialogContent = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4123
4133
  var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
4124
4134
  "className",
@@ -4131,7 +4141,7 @@ var DialogContent = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4131
4141
  }
4132
4142
  },
4133
4143
  ref: ref,
4134
- className: cn("hawa-fixed hawa-left-[50%] hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-full 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-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%] sm:hawa-rounded md:hawa-w-full", className)
4144
+ className: cn("hawa-fixed hawa-left-[50%] hawa-transition-all hawa-top-[50%] hawa-z-50 hawa-grid hawa-w-full 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-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%] sm:hawa-rounded md:hawa-w-full", className)
4135
4145
  }, props), children, /* @__PURE__ */ React25.createElement(DialogPrimitive.Close, {
4136
4146
  className: cn("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", props.dir === "rtl" ? " hawa-left-4" : " hawa-right-4")
4137
4147
  }, /* @__PURE__ */ React25.createElement("svg", {
@@ -4148,7 +4158,6 @@ var DialogContent = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4148
4158
  className: "hawa-sr-only"
4149
4159
  }, "Close"))));
4150
4160
  });
4151
- DialogContent.displayName = DialogPrimitive.Content.displayName;
4152
4161
  var DialogHeader = function(_param) /* @__PURE__ */ {
4153
4162
  var className = _param.className, props = _object_without_properties(_param, [
4154
4163
  "className"
@@ -4157,7 +4166,6 @@ var DialogHeader = function(_param) /* @__PURE__ */ {
4157
4166
  className: cn("hawa-flex hawa-flex-col hawa-space-y-1.5 hawa-text-center sm:hawa-text-left", className)
4158
4167
  }, props));
4159
4168
  };
4160
- DialogHeader.displayName = "DialogHeader";
4161
4169
  var DialogTitle = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4162
4170
  var className = _param.className, props = _object_without_properties(_param, [
4163
4171
  "className"
@@ -4167,7 +4175,6 @@ var DialogTitle = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4167
4175
  className: cn("hawa-text-start hawa-text-lg hawa-font-semibold hawa-leading-none hawa-tracking-tight", className)
4168
4176
  }, props));
4169
4177
  });
4170
- DialogTitle.displayName = DialogPrimitive.Title.displayName;
4171
4178
  var DialogDescription = React25.forwardRef(function(_param, ref) /* @__PURE__ */ {
4172
4179
  var className = _param.className, props = _object_without_properties(_param, [
4173
4180
  "className"
@@ -4177,7 +4184,6 @@ var DialogDescription = React25.forwardRef(function(_param, ref) /* @__PURE__ */
4177
4184
  className: cn("hawa-text-start hawa-text-sm hawa-text-muted-foreground", className)
4178
4185
  }, props));
4179
4186
  });
4180
- DialogDescription.displayName = DialogPrimitive.Description.displayName;
4181
4187
  var DialogFooter = function(_param) /* @__PURE__ */ {
4182
4188
  var className = _param.className, props = _object_without_properties(_param, [
4183
4189
  "className"
@@ -4186,7 +4192,66 @@ var DialogFooter = function(_param) /* @__PURE__ */ {
4186
4192
  className: cn("hawa-flex hawa-flex-col-reverse sm:hawa-flex-row sm:hawa-justify-end sm:hawa-gap-2", className)
4187
4193
  }, props));
4188
4194
  };
4195
+ var DialogSteps = function(param) {
4196
+ var stepsApi = param.stepsApi, stepsRef = param.stepsRef, activeStep = param.activeStep, children = param.children;
4197
+ var _React25_useState = _sliced_to_array(React25.useState(0), 2), selectedIndex = _React25_useState[0], setSelectedIndex = _React25_useState[1];
4198
+ var steps = React25.Children.toArray(children);
4199
+ React25.useEffect(function() {
4200
+ if (stepsApi) {
4201
+ stepsApi.reInit();
4202
+ var index = steps.findIndex(function(child) {
4203
+ return React25.isValidElement(child) && child.props.id === activeStep;
4204
+ });
4205
+ if (index !== -1) {
4206
+ stepsApi.scrollTo(index, false);
4207
+ setSelectedIndex(index);
4208
+ }
4209
+ }
4210
+ }, [
4211
+ activeStep,
4212
+ stepsApi,
4213
+ children
4214
+ ]);
4215
+ return /* @__PURE__ */ React25.createElement("div", {
4216
+ className: "hawa-overflow-hidden"
4217
+ }, /* @__PURE__ */ React25.createElement("div", {
4218
+ ref: stepsRef
4219
+ }, /* @__PURE__ */ React25.createElement("div", {
4220
+ className: "hawa-flex first-line:",
4221
+ style: {
4222
+ transition: "height 0.2s"
4223
+ }
4224
+ }, React25.Children.map(children, function(child, index) {
4225
+ return /* @__PURE__ */ React25.createElement("div", {
4226
+ className: cn(" hawa-justify-center hawa-h-fit hawa-flex hawa-items-center hawa-flex-[0_0_100%]"),
4227
+ key: index
4228
+ }, child);
4229
+ }))));
4230
+ };
4231
+ var DialogStep = function(param) {
4232
+ var id = param.id, children = param.children, className = param.className, stepRef = param.stepRef;
4233
+ return /* @__PURE__ */ React25.createElement("div", {
4234
+ id: id,
4235
+ ref: stepRef,
4236
+ className: cn("hawa-w-full hawa-px-1", className)
4237
+ }, children);
4238
+ };
4239
+ var DialogBody = function(param) {
4240
+ var children = param.children, className = param.className;
4241
+ return /* @__PURE__ */ React25.createElement("div", {
4242
+ className: cn("hawa-py-6", className)
4243
+ }, children);
4244
+ };
4245
+ DialogStep.displayName = "DialogStep";
4246
+ DialogBody.displayName = "DialogBody";
4247
+ DialogSteps.displayName = "DialogSteps";
4248
+ DialogHeader.displayName = "DialogHeader";
4189
4249
  DialogFooter.displayName = "DialogFooter";
4250
+ DialogTitle.displayName = DialogPrimitive.Title.displayName;
4251
+ DialogPortal.displayName = DialogPrimitive.Portal.displayName;
4252
+ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
4253
+ DialogContent.displayName = DialogPrimitive.Content.displayName;
4254
+ DialogDescription.displayName = DialogPrimitive.Description.displayName;
4190
4255
  // components/elements/Command.tsx
4191
4256
  var Command = React26.forwardRef(function(_param, ref) /* @__PURE__ */ {
4192
4257
  var className = _param.className, props = _object_without_properties(_param, [
@@ -8163,11 +8228,9 @@ var VeryBadEmoji = function() {
8163
8228
  var import_react46 = __toESM(require("react"));
8164
8229
  var EyeIcon = function(props) {
8165
8230
  return /* @__PURE__ */ import_react46.default.createElement("div", {
8166
- className: props.classNames
8231
+ className: cn("hawa-h-5 hawa-w-5", props.className)
8167
8232
  }, /* @__PURE__ */ import_react46.default.createElement("svg", {
8168
8233
  xmlns: "http://www.w3.org/2000/svg",
8169
- width: "24",
8170
- height: "24",
8171
8234
  viewBox: "0 0 24 24",
8172
8235
  fill: "none",
8173
8236
  stroke: "currentColor",
@@ -8184,11 +8247,9 @@ var EyeIcon = function(props) {
8184
8247
  };
8185
8248
  var HiddenEyeIcon = function(props) {
8186
8249
  return /* @__PURE__ */ import_react46.default.createElement("div", {
8187
- className: props.classNames
8250
+ className: cn("hawa-h-5 hawa-w-5", props.className)
8188
8251
  }, /* @__PURE__ */ import_react46.default.createElement("svg", {
8189
8252
  xmlns: "http://www.w3.org/2000/svg",
8190
- width: "24",
8191
- height: "24",
8192
8253
  viewBox: "0 0 24 24",
8193
8254
  fill: "none",
8194
8255
  stroke: "currentColor",
@@ -8351,15 +8412,15 @@ var LoginForm = function(_param) {
8351
8412
  autoComplete: "current-password",
8352
8413
  type: passwordVisible ? "text" : "password",
8353
8414
  label: (texts === null || texts === void 0 ? void 0 : (_texts_password = texts.password) === null || _texts_password === void 0 ? void 0 : _texts_password.label) || "Password",
8354
- iconInside: /* @__PURE__ */ import_react47.default.createElement("div", {
8415
+ endIcon: /* @__PURE__ */ import_react47.default.createElement("div", {
8355
8416
  className: "hawa-cursor-pointer",
8356
8417
  onClick: function() {
8357
8418
  return setPasswordVisible(!passwordVisible);
8358
8419
  }
8359
8420
  }, passwordVisible ? /* @__PURE__ */ import_react47.default.createElement(EyeIcon, {
8360
- classNames: "hawa-text-gray-500"
8421
+ className: "hawa-text-gray-500"
8361
8422
  }) : /* @__PURE__ */ import_react47.default.createElement(HiddenEyeIcon, {
8362
- classNames: "hawa-text-gray-500"
8423
+ className: "hawa-text-gray-500"
8363
8424
  })),
8364
8425
  placeholder: (texts === null || texts === void 0 ? void 0 : (_texts_password1 = texts.password) === null || _texts_password1 === void 0 ? void 0 : _texts_password1.placeholder) || "Enter your password",
8365
8426
  helperText: (_formState_errors_password = formState.errors.password) === null || _formState_errors_password === void 0 ? void 0 : _formState_errors_password.message
@@ -8395,15 +8456,15 @@ var LoginForm = function(_param) {
8395
8456
  autoComplete: "current-password",
8396
8457
  type: passwordVisible ? "text" : "password",
8397
8458
  label: texts === null || texts === void 0 ? void 0 : (_texts_password = texts.password) === null || _texts_password === void 0 ? void 0 : _texts_password.label,
8398
- iconInside: /* @__PURE__ */ import_react47.default.createElement("div", {
8459
+ endIcon: /* @__PURE__ */ import_react47.default.createElement("div", {
8399
8460
  className: "hawa-cursor-pointer",
8400
8461
  onClick: function() {
8401
8462
  return setPasswordVisible(!passwordVisible);
8402
8463
  }
8403
8464
  }, passwordVisible ? /* @__PURE__ */ import_react47.default.createElement(EyeIcon, {
8404
- classNames: "hawa-text-gray-500"
8465
+ className: "hawa-text-gray-500"
8405
8466
  }) : /* @__PURE__ */ import_react47.default.createElement(HiddenEyeIcon, {
8406
- classNames: "hawa-text-gray-500"
8467
+ className: "hawa-text-gray-500"
8407
8468
  })),
8408
8469
  placeholder: (texts === null || texts === void 0 ? void 0 : (_texts_password1 = texts.password) === null || _texts_password1 === void 0 ? void 0 : _texts_password1.placeholder) || "Enter your password",
8409
8470
  helperText: (_formState_errors_password = formState.errors.password) === null || _formState_errors_password === void 0 ? void 0 : _formState_errors_password.message
@@ -8682,15 +8743,15 @@ var RegisterForm = function(_param) {
8682
8743
  return /* @__PURE__ */ import_react48.default.createElement(Input, _object_spread({
8683
8744
  width: "full",
8684
8745
  type: passwordVisible ? "text" : "password",
8685
- iconInside: /* @__PURE__ */ import_react48.default.createElement("div", {
8746
+ endIcon: /* @__PURE__ */ import_react48.default.createElement("div", {
8686
8747
  className: "hawa-cursor-pointer",
8687
8748
  onClick: function() {
8688
8749
  return setPasswordVisible(!passwordVisible);
8689
8750
  }
8690
8751
  }, passwordVisible ? /* @__PURE__ */ import_react48.default.createElement(EyeIcon, {
8691
- classNames: "hawa-text-gray-500"
8752
+ className: "hawa-text-gray-500"
8692
8753
  }) : /* @__PURE__ */ import_react48.default.createElement(HiddenEyeIcon, {
8693
- classNames: "hawa-text-gray-500"
8754
+ className: "hawa-text-gray-500"
8694
8755
  }), " "),
8695
8756
  autoComplete: "new-password",
8696
8757
  label: texts === null || texts === void 0 ? void 0 : (_texts_password = texts.password) === null || _texts_password === void 0 ? void 0 : _texts_password.label,
@@ -10012,14 +10073,18 @@ var import_react70 = require("react");
10012
10073
  var import_react71 = require("react");
10013
10074
  // components/hooks/useCarousel.ts
10014
10075
  var import_react72 = require("react");
10015
- // components/hooks/useWindowSize.ts
10076
+ // components/hooks/useDialogSteps.ts
10016
10077
  var import_react73 = require("react");
10078
+ var import_embla_carousel_react2 = __toESM(require("embla-carousel-react"));
10079
+ var import_embla_carousel_auto_height = __toESM(require("embla-carousel-auto-height"));
10080
+ // components/hooks/useWindowSize.ts
10081
+ var import_react74 = require("react");
10017
10082
  var useWindowSize = function() {
10018
- var _ref = _sliced_to_array((0, import_react73.useState)({
10083
+ var _ref = _sliced_to_array((0, import_react74.useState)({
10019
10084
  width: void 0,
10020
10085
  height: void 0
10021
10086
  }), 2), windowSize = _ref[0], setWindowSize = _ref[1];
10022
- (0, import_react73.useEffect)(function() {
10087
+ (0, import_react74.useEffect)(function() {
10023
10088
  var handleResize = function handleResize() {
10024
10089
  setWindowSize({
10025
10090
  width: window.innerWidth,
@@ -10035,7 +10100,7 @@ var useWindowSize = function() {
10035
10100
  return windowSize;
10036
10101
  };
10037
10102
  // components/hooks/useFocusWithin.ts
10038
- var import_react74 = require("react");
10103
+ var import_react75 = require("react");
10039
10104
  function containsRelatedTarget(event) {
10040
10105
  if (_instanceof(event.currentTarget, HTMLElement) && _instanceof(event.relatedTarget, HTMLElement)) {
10041
10106
  return event.currentTarget.contains(event.relatedTarget);
@@ -10044,9 +10109,9 @@ function containsRelatedTarget(event) {
10044
10109
  }
10045
10110
  function useFocusWithin() {
10046
10111
  var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, onBlur = _ref.onBlur, onFocus = _ref.onFocus;
10047
- var ref = (0, import_react74.useRef)(null);
10048
- var _ref1 = _sliced_to_array((0, import_react74.useState)(false), 2), focused = _ref1[0], _setFocused = _ref1[1];
10049
- var focusedRef = (0, import_react74.useRef)(false);
10112
+ var ref = (0, import_react75.useRef)(null);
10113
+ var _ref1 = _sliced_to_array((0, import_react75.useState)(false), 2), focused = _ref1[0], _setFocused = _ref1[1];
10114
+ var focusedRef = (0, import_react75.useRef)(false);
10050
10115
  var setFocused = function(value) {
10051
10116
  _setFocused(value);
10052
10117
  focusedRef.current = value;
@@ -10063,7 +10128,7 @@ function useFocusWithin() {
10063
10128
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
10064
10129
  }
10065
10130
  };
10066
- (0, import_react74.useEffect)(function() {
10131
+ (0, import_react75.useEffect)(function() {
10067
10132
  if (ref.current) {
10068
10133
  ref.current.addEventListener("focusin", handleFocusIn);
10069
10134
  ref.current.addEventListener("focusout", handleFocusOut);
@@ -10084,7 +10149,7 @@ function useFocusWithin() {
10084
10149
  };
10085
10150
  }
10086
10151
  // components/hooks/useMediaQuery.ts
10087
- var import_react75 = require("react");
10152
+ var import_react76 = require("react");
10088
10153
  function attachMediaListener(query, callback) {
10089
10154
  try {
10090
10155
  query.addEventListener("change", callback);
@@ -10111,9 +10176,9 @@ function useMediaQuery(query, initialValue) {
10111
10176
  var getInitialValueInEffect = (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
10112
10177
  getInitialValueInEffect: true
10113
10178
  }).getInitialValueInEffect;
10114
- var _ref = _sliced_to_array((0, import_react75.useState)(getInitialValueInEffect ? initialValue : getInitialValue(query, initialValue)), 2), matches = _ref[0], setMatches = _ref[1];
10115
- var queryRef = (0, import_react75.useRef)();
10116
- (0, import_react75.useEffect)(function() {
10179
+ var _ref = _sliced_to_array((0, import_react76.useState)(getInitialValueInEffect ? initialValue : getInitialValue(query, initialValue)), 2), matches = _ref[0], setMatches = _ref[1];
10180
+ var queryRef = (0, import_react76.useRef)();
10181
+ (0, import_react76.useEffect)(function() {
10117
10182
  if ("matchMedia" in window) {
10118
10183
  queryRef.current = window.matchMedia(query);
10119
10184
  setMatches(queryRef.current.matches);
@@ -10128,15 +10193,15 @@ function useMediaQuery(query, initialValue) {
10128
10193
  return matches;
10129
10194
  }
10130
10195
  // components/hooks/useScrollPosition.ts
10131
- var import_react76 = require("react");
10132
- // components/hooks/useTable.ts
10133
10196
  var import_react77 = require("react");
10134
- // components/hooks/useTabs.ts
10197
+ // components/hooks/useTable.ts
10135
10198
  var import_react78 = require("react");
10199
+ // components/hooks/useTabs.ts
10200
+ var import_react79 = require("react");
10136
10201
  function useTabs() {
10137
10202
  var initialTab = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
10138
- var _ref = _sliced_to_array((0, import_react78.useState)(initialTab), 2), activeTab = _ref[0], setActiveTab = _ref[1];
10139
- (0, import_react78.useEffect)(function() {
10203
+ var _ref = _sliced_to_array((0, import_react79.useState)(initialTab), 2), activeTab = _ref[0], setActiveTab = _ref[1];
10204
+ (0, import_react79.useEffect)(function() {
10140
10205
  var handleHashChange = function() {
10141
10206
  var hash = window.location.hash.substring(1);
10142
10207
  setActiveTab(hash || initialTab);
@@ -10209,10 +10274,14 @@ function useTabs() {
10209
10274
  DataTable: DataTable,
10210
10275
  DestroyableCard: DestroyableCard,
10211
10276
  Dialog: Dialog,
10277
+ DialogBody: DialogBody,
10212
10278
  DialogContent: DialogContent,
10213
10279
  DialogDescription: DialogDescription,
10214
10280
  DialogFooter: DialogFooter,
10215
10281
  DialogHeader: DialogHeader,
10282
+ DialogPortal: DialogPortal,
10283
+ DialogStep: DialogStep,
10284
+ DialogSteps: DialogSteps,
10216
10285
  DialogTitle: DialogTitle,
10217
10286
  DialogTrigger: DialogTrigger,
10218
10287
  DocsLayout: DocsLayout,