@sikka/hawa 0.37.1-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.
- package/dist/{Radio-y9uhxitu.d.ts → Radio-lgoClQrv.d.ts} +2 -2
- package/dist/{Radio-BCD7k628.d.mts → Radio-uQ7DtzcI.d.mts} +2 -2
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.d.mts +1 -0
- package/dist/blocks/auth/index.d.ts +1 -0
- package/dist/blocks/auth/index.js +207 -123
- package/dist/blocks/auth/index.mjs +204 -101
- package/dist/blocks/feedback/index.js +4 -40
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.d.mts +2 -1
- package/dist/blocks/index.d.ts +2 -1
- package/dist/blocks/index.js +457 -400
- package/dist/blocks/index.mjs +10 -8
- package/dist/blocks/misc/index.js +5 -32
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +4 -22
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/checkbox/index.d.mts +1 -1
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/checkbox/index.js.map +1 -1
- package/dist/checkbox/index.mjs.map +1 -1
- package/dist/{chunk-BPHQFAWM.mjs → chunk-4EZL2A64.mjs} +3 -11
- package/dist/{chunk-DS3AACQJ.mjs → chunk-E6C3LDHD.mjs} +1 -1
- package/dist/{chunk-ODOCZAWC.mjs → chunk-E77TUADR.mjs} +1 -1
- package/dist/{chunk-QXH7ZDMN.mjs → chunk-IA5FLRFL.mjs} +3 -11
- package/dist/{chunk-ZTUWU652.mjs → chunk-JJMRBD3S.mjs} +3 -3
- package/dist/{chunk-RNFJAEEU.mjs → chunk-LDJD5ITW.mjs} +1 -0
- package/dist/{chunk-QYWOI3DO.mjs → chunk-MHSSZ6XE.mjs} +204 -144
- package/dist/{chunk-BTDR3VAG.mjs → chunk-Q3HJI7ZE.mjs} +4 -21
- package/dist/{chunk-MDHDHEPZ.mjs → chunk-TMUQCNLO.mjs} +3 -11
- package/dist/{chunk-PXGL7ZXQ.mjs → chunk-V4SUYEVH.mjs} +1 -0
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.d.mts +1 -1
- package/dist/colorPicker/index.d.ts +1 -1
- package/dist/colorPicker/index.js +35 -31
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +33 -29
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.d.mts +2 -2
- package/dist/combobox/index.d.ts +2 -2
- package/dist/combobox/index.js +52 -48
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +52 -48
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/command/index.d.mts +1 -1
- package/dist/command/index.d.ts +1 -1
- package/dist/command/index.js +26 -4
- package/dist/command/index.js.map +1 -1
- package/dist/command/index.mjs +26 -4
- package/dist/command/index.mjs.map +1 -1
- package/dist/dataTable/index.js +1 -10
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +1 -10
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +48 -25
- package/dist/elements/index.d.ts +48 -25
- package/dist/elements/index.js +361 -294
- package/dist/elements/index.mjs +40 -27
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/{index-e_Ob_SnB.d.ts → index-B0aJcA6d.d.mts} +6 -4
- package/dist/{index-e_Ob_SnB.d.mts → index-B0aJcA6d.d.ts} +6 -4
- package/dist/index.css +29 -3
- package/dist/index.d.mts +50 -26
- package/dist/index.d.ts +50 -26
- package/dist/index.js +790 -721
- package/dist/index.mjs +313 -248
- package/dist/input/index.d.mts +1 -1
- package/dist/input/index.d.ts +1 -1
- package/dist/input/index.js +46 -42
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +45 -41
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +64 -69
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +57 -62
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +70 -66
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +59 -55
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +50 -55
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +47 -52
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/pinInput/index.d.mts +37 -16
- package/dist/pinInput/index.d.ts +37 -16
- package/dist/pinInput/index.js +208 -78
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +203 -77
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/radio/index.d.mts +1 -1
- package/dist/radio/index.d.ts +1 -1
- package/dist/radio/index.js +55 -60
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +50 -55
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.js +2 -2
- package/dist/scrollArea/index.js.map +1 -1
- package/dist/scrollArea/index.mjs +2 -2
- package/dist/scrollArea/index.mjs.map +1 -1
- package/dist/select/index.d.mts +1 -1
- package/dist/select/index.d.ts +1 -1
- package/dist/select/index.js +43 -39
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +43 -39
- package/dist/select/index.mjs.map +1 -1
- package/dist/signature/index.d.mts +1 -1
- package/dist/signature/index.d.ts +1 -1
- package/dist/signature/index.js.map +1 -1
- package/dist/signature/index.mjs.map +1 -1
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.d.mts +1 -1
- package/dist/stats/index.d.ts +1 -1
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs.map +1 -1
- package/dist/tabs/index.js +2 -2
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs +2 -2
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/textarea/index.js +34 -30
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +34 -30
- package/dist/textarea/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/elements/index.d.ts
CHANGED
@@ -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-
|
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-
|
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';
|
@@ -419,7 +421,7 @@ type FullCommandItem = {
|
|
419
421
|
heading?: string;
|
420
422
|
items?: {
|
421
423
|
icon: React.ElementType;
|
422
|
-
|
424
|
+
label: string | React.ReactNode;
|
423
425
|
action: () => void;
|
424
426
|
shortcut?: string;
|
425
427
|
}[];
|
@@ -427,17 +429,19 @@ type FullCommandItem = {
|
|
427
429
|
type FullCommandProps = {
|
428
430
|
items: FullCommandItem[];
|
429
431
|
direction?: DirectionType;
|
432
|
+
onActionClick?: () => void;
|
430
433
|
texts?: {
|
431
434
|
searchPlaceholder?: string;
|
432
435
|
emptyText?: string;
|
433
436
|
};
|
434
437
|
};
|
435
|
-
declare const FullCommand: ({ items, direction, texts }: FullCommandProps) => React.JSX.Element;
|
438
|
+
declare const FullCommand: ({ items, direction, texts, onActionClick, }: FullCommandProps) => React.JSX.Element;
|
436
439
|
type AppCommandProps = {
|
437
|
-
commandProps: FullCommandProps
|
440
|
+
commandProps: Omit<FullCommandProps, "onActionClick">;
|
438
441
|
dialogProps: DialogProps;
|
442
|
+
onActionClick?: () => void;
|
439
443
|
};
|
440
|
-
declare const AppCommand: ({ commandProps, dialogProps }: AppCommandProps) => React.JSX.Element;
|
444
|
+
declare const AppCommand: ({ commandProps, dialogProps, onActionClick, }: AppCommandProps) => React.JSX.Element;
|
441
445
|
|
442
446
|
type ComboboxTypes<T> = {
|
443
447
|
labelKey?: keyof T | any;
|
@@ -450,7 +454,7 @@ type ComboboxTypes<T> = {
|
|
450
454
|
searchPlaceholder?: string;
|
451
455
|
};
|
452
456
|
isLoading?: boolean;
|
453
|
-
helperText?:
|
457
|
+
helperText?: any;
|
454
458
|
popoverClassName?: string;
|
455
459
|
/** This the same value as the one with the key valueKey */
|
456
460
|
defaultValue?: string;
|
@@ -471,7 +475,7 @@ type ComboboxTypes<T> = {
|
|
471
475
|
declare const Combobox: React.ForwardRefExoticComponent<ComboboxTypes<any> & React.RefAttributes<HTMLDivElement>>;
|
472
476
|
|
473
477
|
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
474
|
-
helperText?:
|
478
|
+
helperText?: any;
|
475
479
|
isLoading?: boolean;
|
476
480
|
/** The label of the input field */
|
477
481
|
label?: any;
|
@@ -644,7 +648,7 @@ type CheckBoxTypes = {
|
|
644
648
|
id: string;
|
645
649
|
label?: React.ReactNode;
|
646
650
|
sublabel?: React.ReactNode;
|
647
|
-
helperText?:
|
651
|
+
helperText?: any;
|
648
652
|
size?: "xs" | "sm" | "default" | "md" | "lg" | "xl";
|
649
653
|
radius?: RadiusType;
|
650
654
|
};
|
@@ -688,22 +692,41 @@ type BadgeTypes = {
|
|
688
692
|
declare const Badge: FC<BadgeTypes>;
|
689
693
|
declare const BadgedComponent: ({ children, className, hideBadge, position, size, text }: any) => React__default.JSX.Element;
|
690
694
|
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
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;
|
703
727
|
helperText?: any;
|
704
|
-
inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
|
705
728
|
};
|
706
|
-
declare const PinInput: FC<
|
729
|
+
declare const PinInput: React.FC<PinInputProps>;
|
707
730
|
|
708
731
|
declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
|
709
732
|
|
@@ -717,7 +740,7 @@ type ColorPickerTypes = {
|
|
717
740
|
id?: string;
|
718
741
|
isLoading?: boolean;
|
719
742
|
labelProps?: LabelProps;
|
720
|
-
helperText?:
|
743
|
+
helperText?: any;
|
721
744
|
forceHideHelperText?: boolean;
|
722
745
|
/** Boolean to enable/disable editing the input field and using it as a text field */
|
723
746
|
preview?: boolean;
|
@@ -913,4 +936,4 @@ type PhoneMockupProps = {
|
|
913
936
|
};
|
914
937
|
declare const PhoneMockup: React__default.FC<PhoneMockupProps>;
|
915
938
|
|
916
|
-
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 };
|