@sikka/hawa 0.37.2-next → 0.38.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.
Files changed (139) hide show
  1. package/dist/{Radio-y9uhxitu.d.ts → Radio-lgoClQrv.d.ts} +2 -2
  2. package/dist/{Radio-BCD7k628.d.mts → Radio-uQ7DtzcI.d.mts} +2 -2
  3. package/dist/alert/index.js.map +1 -1
  4. package/dist/alert/index.mjs.map +1 -1
  5. package/dist/appLayout/index.js.map +1 -1
  6. package/dist/appLayout/index.mjs.map +1 -1
  7. package/dist/backToTop/index.js.map +1 -1
  8. package/dist/backToTop/index.mjs.map +1 -1
  9. package/dist/blocks/auth/index.d.mts +1 -0
  10. package/dist/blocks/auth/index.d.ts +1 -0
  11. package/dist/blocks/auth/index.js +207 -123
  12. package/dist/blocks/auth/index.mjs +204 -101
  13. package/dist/blocks/feedback/index.js +4 -40
  14. package/dist/blocks/feedback/index.mjs +5 -5
  15. package/dist/blocks/index.d.mts +2 -1
  16. package/dist/blocks/index.d.ts +2 -1
  17. package/dist/blocks/index.js +457 -400
  18. package/dist/blocks/index.mjs +10 -8
  19. package/dist/blocks/misc/index.js +5 -32
  20. package/dist/blocks/misc/index.mjs +5 -5
  21. package/dist/blocks/pricing/index.js +4 -22
  22. package/dist/blocks/pricing/index.mjs +4 -4
  23. package/dist/button/index.js.map +1 -1
  24. package/dist/button/index.mjs.map +1 -1
  25. package/dist/calendar/index.js.map +1 -1
  26. package/dist/calendar/index.mjs.map +1 -1
  27. package/dist/checkbox/index.d.mts +1 -1
  28. package/dist/checkbox/index.d.ts +1 -1
  29. package/dist/checkbox/index.js.map +1 -1
  30. package/dist/checkbox/index.mjs.map +1 -1
  31. package/dist/{chunk-BPHQFAWM.mjs → chunk-4EZL2A64.mjs} +3 -11
  32. package/dist/{chunk-DS3AACQJ.mjs → chunk-E6C3LDHD.mjs} +1 -1
  33. package/dist/{chunk-ODOCZAWC.mjs → chunk-E77TUADR.mjs} +1 -1
  34. package/dist/{chunk-QXH7ZDMN.mjs → chunk-IA5FLRFL.mjs} +3 -11
  35. package/dist/{chunk-ZTUWU652.mjs → chunk-JJMRBD3S.mjs} +3 -3
  36. package/dist/{chunk-RNFJAEEU.mjs → chunk-LDJD5ITW.mjs} +1 -0
  37. package/dist/{chunk-QYWOI3DO.mjs → chunk-MHSSZ6XE.mjs} +204 -144
  38. package/dist/{chunk-BTDR3VAG.mjs → chunk-Q3HJI7ZE.mjs} +4 -21
  39. package/dist/{chunk-MDHDHEPZ.mjs → chunk-TMUQCNLO.mjs} +3 -11
  40. package/dist/{chunk-PXGL7ZXQ.mjs → chunk-V4SUYEVH.mjs} +1 -0
  41. package/dist/codeBlock/index.js.map +1 -1
  42. package/dist/codeBlock/index.mjs.map +1 -1
  43. package/dist/colorPicker/index.d.mts +1 -1
  44. package/dist/colorPicker/index.d.ts +1 -1
  45. package/dist/colorPicker/index.js +35 -31
  46. package/dist/colorPicker/index.js.map +1 -1
  47. package/dist/colorPicker/index.mjs +33 -29
  48. package/dist/colorPicker/index.mjs.map +1 -1
  49. package/dist/combobox/index.d.mts +1 -1
  50. package/dist/combobox/index.d.ts +1 -1
  51. package/dist/combobox/index.js +52 -48
  52. package/dist/combobox/index.js.map +1 -1
  53. package/dist/combobox/index.mjs +52 -48
  54. package/dist/combobox/index.mjs.map +1 -1
  55. package/dist/dataTable/index.js +1 -10
  56. package/dist/dataTable/index.js.map +1 -1
  57. package/dist/dataTable/index.mjs +1 -10
  58. package/dist/dataTable/index.mjs.map +1 -1
  59. package/dist/datePicker/index.js.map +1 -1
  60. package/dist/datePicker/index.mjs.map +1 -1
  61. package/dist/docsLayout/index.js.map +1 -1
  62. package/dist/docsLayout/index.mjs.map +1 -1
  63. package/dist/elements/index.d.mts +42 -21
  64. package/dist/elements/index.d.ts +42 -21
  65. package/dist/elements/index.js +335 -290
  66. package/dist/elements/index.mjs +14 -23
  67. package/dist/fileDropzone/index.js.map +1 -1
  68. package/dist/fileDropzone/index.mjs.map +1 -1
  69. package/dist/index.css +29 -3
  70. package/dist/index.d.mts +44 -22
  71. package/dist/index.d.ts +44 -22
  72. package/dist/index.js +764 -717
  73. package/dist/index.mjs +287 -244
  74. package/dist/input/index.d.mts +1 -1
  75. package/dist/input/index.d.ts +1 -1
  76. package/dist/input/index.js +46 -42
  77. package/dist/input/index.js.map +1 -1
  78. package/dist/input/index.mjs +45 -41
  79. package/dist/input/index.mjs.map +1 -1
  80. package/dist/interfaceSettings/index.js +64 -69
  81. package/dist/interfaceSettings/index.js.map +1 -1
  82. package/dist/interfaceSettings/index.mjs +57 -62
  83. package/dist/interfaceSettings/index.mjs.map +1 -1
  84. package/dist/layout/index.d.mts +1 -1
  85. package/dist/layout/index.d.ts +1 -1
  86. package/dist/layout/index.mjs +2 -2
  87. package/dist/passwordInput/index.js +70 -66
  88. package/dist/passwordInput/index.js.map +1 -1
  89. package/dist/passwordInput/index.mjs +59 -55
  90. package/dist/passwordInput/index.mjs.map +1 -1
  91. package/dist/phoneInput/index.js +50 -55
  92. package/dist/phoneInput/index.js.map +1 -1
  93. package/dist/phoneInput/index.mjs +47 -52
  94. package/dist/phoneInput/index.mjs.map +1 -1
  95. package/dist/pinInput/index.d.mts +37 -16
  96. package/dist/pinInput/index.d.ts +37 -16
  97. package/dist/pinInput/index.js +208 -78
  98. package/dist/pinInput/index.js.map +1 -1
  99. package/dist/pinInput/index.mjs +203 -77
  100. package/dist/pinInput/index.mjs.map +1 -1
  101. package/dist/radio/index.d.mts +1 -1
  102. package/dist/radio/index.d.ts +1 -1
  103. package/dist/radio/index.js +55 -60
  104. package/dist/radio/index.js.map +1 -1
  105. package/dist/radio/index.mjs +50 -55
  106. package/dist/radio/index.mjs.map +1 -1
  107. package/dist/scrollArea/index.js +2 -2
  108. package/dist/scrollArea/index.js.map +1 -1
  109. package/dist/scrollArea/index.mjs +2 -2
  110. package/dist/scrollArea/index.mjs.map +1 -1
  111. package/dist/select/index.d.mts +1 -1
  112. package/dist/select/index.d.ts +1 -1
  113. package/dist/select/index.js +43 -39
  114. package/dist/select/index.js.map +1 -1
  115. package/dist/select/index.mjs +43 -39
  116. package/dist/select/index.mjs.map +1 -1
  117. package/dist/signature/index.d.mts +1 -1
  118. package/dist/signature/index.d.ts +1 -1
  119. package/dist/signature/index.js.map +1 -1
  120. package/dist/signature/index.mjs.map +1 -1
  121. package/dist/sortButton/index.js.map +1 -1
  122. package/dist/sortButton/index.mjs.map +1 -1
  123. package/dist/splitButton/index.js.map +1 -1
  124. package/dist/splitButton/index.mjs.map +1 -1
  125. package/dist/stats/index.d.mts +1 -1
  126. package/dist/stats/index.d.ts +1 -1
  127. package/dist/stats/index.js.map +1 -1
  128. package/dist/stats/index.mjs.map +1 -1
  129. package/dist/tabs/index.js +2 -2
  130. package/dist/tabs/index.js.map +1 -1
  131. package/dist/tabs/index.mjs +2 -2
  132. package/dist/tabs/index.mjs.map +1 -1
  133. package/dist/textarea/index.d.mts +1 -1
  134. package/dist/textarea/index.d.ts +1 -1
  135. package/dist/textarea/index.js +34 -30
  136. package/dist/textarea/index.js.map +1 -1
  137. package/dist/textarea/index.mjs +34 -30
  138. package/dist/textarea/index.mjs.map +1 -1
  139. package/package.json +2 -1
@@ -11,8 +11,8 @@ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
11
11
  import * as SheetPrimitive from '@radix-ui/react-dialog';
12
12
  import { DialogProps } from '@radix-ui/react-dialog';
13
13
  import { VariantProps } from 'class-variance-authority';
14
- import { L as LabelProps } from '../Radio-y9uhxitu.js';
15
- export { b as Label, d as PhoneInput, P as PhoneInputProps, a as Radio, R as RadioOptionsTypes, c as Select, S as SelectOptionProps } from '../Radio-y9uhxitu.js';
14
+ import { L as LabelProps } from '../Radio-lgoClQrv.js';
15
+ export { b as Label, d as PhoneInput, P as PhoneInputProps, a as Radio, R as RadioOptionsTypes, c as Select, S as SelectOptionProps } from '../Radio-lgoClQrv.js';
16
16
  import { RowData, ColumnDef } from '@tanstack/react-table';
17
17
  export { ColumnDef } from '@tanstack/react-table';
18
18
  import { Command as Command$1 } from 'cmdk';
@@ -21,6 +21,8 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
21
21
  import * as SwitchPrimitives from '@radix-ui/react-switch';
22
22
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
23
23
  import * as ProgressPrimitive from '@radix-ui/react-progress';
24
+ import * as input_otp from 'input-otp';
25
+ import { OTPInputProps } from 'input-otp';
24
26
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
25
27
  import * as SliderPrimitive from '@radix-ui/react-slider';
26
28
  import { HighlightProps } from 'prism-react-renderer';
@@ -452,7 +454,7 @@ type ComboboxTypes<T> = {
452
454
  searchPlaceholder?: string;
453
455
  };
454
456
  isLoading?: boolean;
455
- helperText?: string;
457
+ helperText?: any;
456
458
  popoverClassName?: string;
457
459
  /** This the same value as the one with the key valueKey */
458
460
  defaultValue?: string;
@@ -473,7 +475,7 @@ type ComboboxTypes<T> = {
473
475
  declare const Combobox: React.ForwardRefExoticComponent<ComboboxTypes<any> & React.RefAttributes<HTMLDivElement>>;
474
476
 
475
477
  interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
476
- helperText?: string;
478
+ helperText?: any;
477
479
  isLoading?: boolean;
478
480
  /** The label of the input field */
479
481
  label?: any;
@@ -646,7 +648,7 @@ type CheckBoxTypes = {
646
648
  id: string;
647
649
  label?: React.ReactNode;
648
650
  sublabel?: React.ReactNode;
649
- helperText?: string;
651
+ helperText?: any;
650
652
  size?: "xs" | "sm" | "default" | "md" | "lg" | "xl";
651
653
  radius?: RadiusType;
652
654
  };
@@ -690,22 +692,41 @@ type BadgeTypes = {
690
692
  declare const Badge: FC<BadgeTypes>;
691
693
  declare const BadgedComponent: ({ children, className, hideBadge, position, size, text }: any) => React__default.JSX.Element;
692
694
 
693
- type PinInputTypes = {
694
- /** Label text to display for the Pin Input */
695
- label?: string;
696
- /** Icon element to be displayed next to the Pin Input */
697
- icon?: JSX.Element;
698
- /** Number of digits in the Pin Input */
699
- digits: number;
700
- /** Width of the Pin Input - either 'normal' or 'full' */
701
- width?: "normal" | "full";
702
- /** Function to get the value of pins */
703
- getPins?: (pins: string[]) => void;
704
- /** The small red text under the input field to show validation or a hint. */
695
+ declare const PinInputRoot: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
696
+ value?: string | undefined;
697
+ onChange?: ((newValue: string) => unknown) | undefined;
698
+ maxLength: number;
699
+ textAlign?: "right" | "left" | "center" | undefined;
700
+ onComplete?: ((...args: any[]) => unknown) | undefined;
701
+ pushPasswordManagerStrategy?: "none" | "increase-width" | undefined;
702
+ containerClassName?: string | undefined;
703
+ noScriptCSSFallback?: string | null | undefined;
704
+ } & {
705
+ render: (props: input_otp.RenderProps) => React.ReactNode;
706
+ children?: undefined;
707
+ } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
708
+ value?: string | undefined;
709
+ onChange?: ((newValue: string) => unknown) | undefined;
710
+ maxLength: number;
711
+ textAlign?: "right" | "left" | "center" | undefined;
712
+ onComplete?: ((...args: any[]) => unknown) | undefined;
713
+ pushPasswordManagerStrategy?: "none" | "increase-width" | undefined;
714
+ containerClassName?: string | undefined;
715
+ noScriptCSSFallback?: string | null | undefined;
716
+ } & {
717
+ render?: undefined;
718
+ children: React.ReactNode;
719
+ } & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;
720
+ declare const PinInputGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
721
+ declare const PinInputSlot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
722
+ index: number;
723
+ } & React.RefAttributes<HTMLDivElement>>;
724
+ declare const PinInputSeperator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
725
+ type PinInputProps = Omit<OTPInputProps, "render"> & {
726
+ separatorPosition?: number;
705
727
  helperText?: any;
706
- inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
707
728
  };
708
- declare const PinInput: FC<PinInputTypes>;
729
+ declare const PinInput: React.FC<PinInputProps>;
709
730
 
710
731
  declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
711
732
 
@@ -719,7 +740,7 @@ type ColorPickerTypes = {
719
740
  id?: string;
720
741
  isLoading?: boolean;
721
742
  labelProps?: LabelProps;
722
- helperText?: string;
743
+ helperText?: any;
723
744
  forceHideHelperText?: boolean;
724
745
  /** Boolean to enable/disable editing the input field and using it as a text field */
725
746
  preview?: boolean;
@@ -915,4 +936,4 @@ type PhoneMockupProps = {
915
936
  };
916
937
  declare const PhoneMockup: React__default.FC<PhoneMockupProps>;
917
938
 
918
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, Alert, AppCommand, AppStores, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, type BreadcrumbItemProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, Checkbox, ChipTypes, CodeBlock, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, type CommandInputProps, CommandItem, CommandList, CommandSeparator, CommandShortcut, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, FileDropzone, FileUploader, FullCommand, type FullCommandItem, Input, InterfaceSettings, LabelProps, Loading, Logos, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneMockup, PinInput, Popover, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger, Progress, ProgressCircle, ScrollArea, ScrollBar, ScrollIndicator, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, StopPropagationWrapper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextFieldTypes, Textarea, type TextareaProps, Toaster, ToasterToastProps, Tooltip, buttonVariants, navigationMenuTriggerStyle };
939
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, Alert, AppCommand, AppStores, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, type BreadcrumbItemProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, Checkbox, ChipTypes, CodeBlock, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, type CommandInputProps, CommandItem, CommandList, CommandSeparator, CommandShortcut, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, FileDropzone, FileUploader, FullCommand, type FullCommandItem, Input, InterfaceSettings, LabelProps, Loading, Logos, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneMockup, PinInput, PinInputGroup, PinInputRoot, PinInputSeperator, PinInputSlot, Popover, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger, Progress, ProgressCircle, ScrollArea, ScrollBar, ScrollIndicator, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, StopPropagationWrapper, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TextFieldTypes, Textarea, type TextareaProps, Toaster, ToasterToastProps, Tooltip, buttonVariants, navigationMenuTriggerStyle };