@sikka/hawa 0.42.5-next → 0.42.7-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/{Chip-Cato49ar.d.ts → Chip-Cw1twk4G.d.ts} +6 -6
- package/dist/{Chip-CGl24Kd9.d.mts → Chip-KG1_ZmCL.d.mts} +6 -6
- package/dist/{DropdownMenu-DgV8PvW3.d.ts → DropdownMenu-CDnFCzfc.d.ts} +5 -5
- package/dist/{DropdownMenu-dvd9brmT.d.mts → DropdownMenu-mK9EvfKp.d.mts} +5 -5
- package/dist/{Toast-fy9tBz19.d.ts → Toast-BaXp3G7y.d.ts} +1 -1
- package/dist/{Toast-BcFD9aeQ.d.mts → Toast-CKWr23kg.d.mts} +1 -1
- package/dist/accordion/index.d.mts +3 -3
- package/dist/accordion/index.d.ts +3 -3
- 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/appMenubar/index.d.mts +8 -11
- package/dist/appMenubar/index.d.ts +8 -11
- package/dist/appMenubar/index.js.map +1 -1
- package/dist/appMenubar/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 +4 -2
- package/dist/blocks/auth/index.d.ts +4 -2
- package/dist/blocks/auth/index.js +37 -29
- package/dist/blocks/auth/index.mjs +37 -29
- package/dist/blocks/index.d.mts +5 -3
- package/dist/blocks/index.d.ts +5 -3
- package/dist/blocks/index.js +37 -29
- package/dist/blocks/index.mjs +15 -12
- 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/card/index.d.mts +3 -3
- package/dist/card/index.d.ts +3 -3
- package/dist/checkbox/index.d.mts +2 -2
- package/dist/checkbox/index.d.ts +2 -2
- package/dist/chip/index.d.mts +6 -6
- package/dist/chip/index.d.ts +6 -6
- package/dist/{chunk-DBOKFWWD.mjs → chunk-3DT2KQXP.mjs} +12 -7
- package/dist/{chunk-G7JRS64F.mjs → chunk-RIZBMJNK.mjs} +15 -15
- package/dist/{chunk-OXZBK6KQ.mjs → chunk-UZD7PSQG.mjs} +1 -1
- package/dist/{chunk-MA7CACEB.mjs → chunk-WL7C2A5D.mjs} +1 -6
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.js.map +1 -1
- 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/dialog/index.d.mts +17 -16
- package/dist/dialog/index.d.ts +17 -16
- package/dist/docsLayout/index.js +12 -7
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +12 -7
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.d.mts +5 -5
- package/dist/dropdownMenu/index.d.ts +5 -5
- package/dist/elements/index.d.mts +77 -76
- package/dist/elements/index.d.ts +77 -76
- package/dist/elements/index.js +25 -20
- package/dist/elements/index.mjs +4 -4
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -6
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.d.mts +96 -96
- package/dist/index.d.ts +96 -96
- package/dist/index.js +38 -35
- package/dist/index.mjs +38 -35
- package/dist/input/index.d.mts +16 -16
- package/dist/input/index.d.ts +16 -16
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/label/index.js.map +1 -1
- package/dist/label/index.mjs.map +1 -1
- package/dist/layout/index.d.mts +10 -13
- package/dist/layout/index.d.ts +10 -13
- package/dist/layout/index.js +12 -7
- package/dist/layout/index.mjs +2 -2
- package/dist/logos/index.js +12 -7
- package/dist/logos/index.js.map +1 -1
- package/dist/logos/index.mjs +12 -7
- package/dist/logos/index.mjs.map +1 -1
- package/dist/navigationMenu/index.d.mts +1 -1
- package/dist/navigationMenu/index.d.ts +1 -1
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/pinInput/index.d.mts +16 -16
- package/dist/pinInput/index.d.ts +16 -16
- package/dist/pinInput/index.js +13 -13
- package/dist/pinInput/index.js.map +1 -1
- package/dist/pinInput/index.mjs +13 -13
- package/dist/pinInput/index.mjs.map +1 -1
- package/dist/popover/index.d.mts +1 -1
- package/dist/popover/index.d.ts +1 -1
- package/dist/progress/index.d.mts +2 -2
- package/dist/progress/index.d.ts +2 -2
- package/dist/progress/index.js.map +1 -1
- package/dist/progress/index.mjs.map +1 -1
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs.map +1 -1
- package/dist/scrollArea/index.d.mts +1 -1
- package/dist/scrollArea/index.d.ts +1 -1
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs.map +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/tabs/index.d.mts +9 -9
- package/dist/tabs/index.d.ts +9 -9
- package/dist/tabs/index.js.map +1 -1
- package/dist/tabs/index.mjs.map +1 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/tooltip/index.d.mts +1 -1
- package/dist/tooltip/index.d.ts +1 -1
- package/dist/tooltip/index.js.map +1 -1
- package/dist/tooltip/index.mjs.map +1 -1
- package/package.json +28 -28
package/dist/index.d.ts
CHANGED
@@ -39,11 +39,11 @@ declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttribut
|
|
39
39
|
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
40
40
|
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
41
41
|
declare const CardContent: React$1.ForwardRefExoticComponent<{
|
42
|
-
headless?: boolean
|
43
|
-
noPadding?: boolean
|
42
|
+
headless?: boolean;
|
43
|
+
noPadding?: boolean;
|
44
44
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
45
45
|
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
46
|
-
noPadding?: boolean
|
46
|
+
noPadding?: boolean;
|
47
47
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
48
48
|
|
49
49
|
type LoadingTypes = {
|
@@ -93,7 +93,7 @@ type TooltipTypes = {
|
|
93
93
|
disabled?: boolean;
|
94
94
|
triggerProps?: TooltipPrimitive.TooltipTriggerProps;
|
95
95
|
contentProps?: TooltipPrimitive.TooltipContentProps;
|
96
|
-
providerProps?: TooltipPrimitive.
|
96
|
+
providerProps?: TooltipPrimitive.TooltipProps;
|
97
97
|
};
|
98
98
|
declare const Tooltip: React__default.FunctionComponent<TooltipTypes>;
|
99
99
|
|
@@ -111,22 +111,22 @@ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuP
|
|
111
111
|
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
112
112
|
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
113
113
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
114
|
-
inset?: boolean
|
114
|
+
inset?: boolean;
|
115
115
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
116
116
|
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
117
117
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
118
118
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
119
|
-
inset?: boolean
|
119
|
+
inset?: boolean;
|
120
120
|
end?: any;
|
121
121
|
shortcut?: React$1.ReactNode;
|
122
|
-
badged?: boolean
|
123
|
-
slug?: string
|
122
|
+
badged?: boolean;
|
123
|
+
slug?: string;
|
124
124
|
LinkComponent?: any;
|
125
125
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
126
126
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
127
127
|
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
128
128
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
129
|
-
inset?: boolean
|
129
|
+
inset?: boolean;
|
130
130
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
131
131
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
132
132
|
declare const DropdownMenuShortcut: {
|
@@ -229,16 +229,16 @@ declare const Chip: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
229
229
|
/** The text inside the chip */
|
230
230
|
label: string;
|
231
231
|
/** The small icon before the chip label */
|
232
|
-
icon?: JSX.Element
|
232
|
+
icon?: JSX.Element;
|
233
233
|
/** The color of the chip, must be a tailwind color */
|
234
|
-
color?: ChipColors
|
234
|
+
color?: ChipColors;
|
235
235
|
/** The size of the chip */
|
236
|
-
size?: "small" | "normal" | "large"
|
236
|
+
size?: "small" | "normal" | "large";
|
237
237
|
/** Enable/Disable the dot before the label of the chip */
|
238
|
-
dot?: boolean
|
238
|
+
dot?: boolean;
|
239
239
|
/** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
|
240
|
-
dotStatus?: "
|
241
|
-
radius?: RadiusType
|
240
|
+
dotStatus?: "available" | "unavailable" | "none";
|
241
|
+
radius?: RadiusType;
|
242
242
|
} & React__default.RefAttributes<HTMLSpanElement>>;
|
243
243
|
|
244
244
|
type AccordionItemProps = {
|
@@ -262,14 +262,14 @@ declare const Accordion: React$1.ForwardRefExoticComponent<AccordionProps & Reac
|
|
262
262
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
263
263
|
|
264
264
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
265
|
-
unstyled?: boolean
|
266
|
-
hideArrow?: boolean
|
265
|
+
unstyled?: boolean;
|
266
|
+
hideArrow?: boolean;
|
267
267
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
268
268
|
|
269
269
|
declare const AccordionRoot: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
270
270
|
|
271
271
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
272
|
-
unstyled?: boolean
|
272
|
+
unstyled?: boolean;
|
273
273
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
274
274
|
|
275
275
|
type IconProps = React__default.HTMLAttributes<SVGElement>;
|
@@ -329,7 +329,7 @@ type NavigationMenuTypes = {
|
|
329
329
|
direction?: DirectionType;
|
330
330
|
};
|
331
331
|
declare const NavigationMenuRoot: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
332
|
-
viewportClassNames?: string
|
332
|
+
viewportClassNames?: string;
|
333
333
|
} & React$1.RefAttributes<HTMLElement>>;
|
334
334
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
335
335
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
@@ -371,27 +371,28 @@ declare const DialogPortal: {
|
|
371
371
|
({ ...props }: SheetPrimitive.DialogPortalProps): React$1.JSX.Element;
|
372
372
|
displayName: string | undefined;
|
373
373
|
};
|
374
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
374
375
|
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
375
|
-
persist?: boolean
|
376
|
-
hideCloseButton?: boolean
|
377
|
-
container?: HTMLElement
|
378
|
-
overlayProps?:
|
376
|
+
persist?: boolean;
|
377
|
+
hideCloseButton?: boolean;
|
378
|
+
container?: HTMLElement;
|
379
|
+
overlayProps?: React$1.ComponentPropsWithoutRef<typeof DialogOverlay>;
|
379
380
|
classNames?: {
|
380
|
-
content?: string
|
381
|
-
overlay?: string
|
382
|
-
closeButton?: string
|
383
|
-
}
|
381
|
+
content?: string;
|
382
|
+
overlay?: string;
|
383
|
+
closeButton?: string;
|
384
|
+
};
|
384
385
|
ids?: {
|
385
|
-
overlay?: string
|
386
|
-
closeButton?: string
|
387
|
-
closeIcon?: string
|
388
|
-
}
|
386
|
+
overlay?: string;
|
387
|
+
closeButton?: string;
|
388
|
+
closeIcon?: string;
|
389
|
+
};
|
389
390
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
390
391
|
declare const DialogCarouselContent: React$1.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
391
|
-
hideCloseButton?: boolean
|
392
|
-
hidePrevButton?: boolean
|
393
|
-
persist?: boolean
|
394
|
-
onPrev?: (
|
392
|
+
hideCloseButton?: boolean;
|
393
|
+
hidePrevButton?: boolean;
|
394
|
+
persist?: boolean;
|
395
|
+
onPrev?: () => void;
|
395
396
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
396
397
|
declare const DialogHeader: {
|
397
398
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
@@ -755,21 +756,21 @@ declare const SortButton: React__default.FC<SortButtonProps>;
|
|
755
756
|
|
756
757
|
type TabsVariants = "default" | "underlined" | "underlined_tabs";
|
757
758
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
758
|
-
variant?: TabsVariants
|
759
|
-
scrollable?: boolean
|
759
|
+
variant?: TabsVariants;
|
760
|
+
scrollable?: boolean;
|
760
761
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
761
762
|
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
762
763
|
classNames?: {
|
763
|
-
scrollArea?: string
|
764
|
-
}
|
764
|
+
scrollArea?: string;
|
765
|
+
};
|
765
766
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
766
767
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
767
|
-
chipProps?: ChipTypes
|
768
|
-
className?: string
|
769
|
-
showPopover?: boolean
|
768
|
+
chipProps?: ChipTypes;
|
769
|
+
className?: string;
|
770
|
+
showPopover?: boolean;
|
770
771
|
popoverContent?: React$1.ReactNode;
|
771
|
-
withPopover?: boolean
|
772
|
-
onPopoverClick?: (
|
772
|
+
withPopover?: boolean;
|
773
|
+
onPopoverClick?: () => void;
|
773
774
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
774
775
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
775
776
|
|
@@ -808,42 +809,42 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
808
809
|
loadingErrorMesssage?: string;
|
809
810
|
};
|
810
811
|
declare const Input: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
|
811
|
-
isLoading?: boolean
|
812
|
-
isLoadingError?: boolean
|
813
|
-
containerClassName?: string
|
814
|
-
margin?: "none" | "normal" | "large"
|
815
|
-
width?: "small" | "normal" | "full" | "auto"
|
812
|
+
isLoading?: boolean;
|
813
|
+
isLoadingError?: boolean;
|
814
|
+
containerClassName?: string;
|
815
|
+
margin?: "none" | "normal" | "large";
|
816
|
+
width?: "small" | "normal" | "full" | "auto";
|
816
817
|
/** The label of the input field */
|
817
818
|
label?: any;
|
818
|
-
labelProps?: LabelProps
|
819
|
-
hideSeparator?: boolean
|
819
|
+
labelProps?: LabelProps;
|
820
|
+
hideSeparator?: boolean;
|
820
821
|
/** The small red text under the input field to show validation. */
|
821
822
|
helperText?: any;
|
822
823
|
prefixText?: any;
|
823
|
-
forceHideHelperText?: boolean
|
824
|
-
inputProps?: React__default.InputHTMLAttributes<HTMLInputElement
|
824
|
+
forceHideHelperText?: boolean;
|
825
|
+
inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
|
825
826
|
/** The icon inside the input field */
|
826
827
|
icon?: any;
|
827
828
|
/** Boolean to enable/disable editing the input field and using it as a text field */
|
828
|
-
preview?: boolean
|
829
|
+
preview?: boolean;
|
829
830
|
iconInside?: React__default.ReactNode;
|
830
831
|
endIcon?: React__default.ReactNode;
|
831
832
|
endIconProps?: {
|
832
|
-
className?: string
|
833
|
-
}
|
833
|
+
className?: string;
|
834
|
+
};
|
834
835
|
startIcon?: React__default.ReactNode;
|
835
836
|
placeholder?: React__default.ReactNode;
|
836
837
|
/** Show the count of characters left in the input field. Works along with maxLength prop. */
|
837
|
-
showCount?: boolean
|
838
|
-
countPosition?: "top" | "bottom" | "center"
|
839
|
-
popup?: boolean
|
838
|
+
showCount?: boolean;
|
839
|
+
countPosition?: "top" | "bottom" | "center";
|
840
|
+
popup?: boolean;
|
840
841
|
popupContent?: React__default.ReactNode;
|
841
842
|
outsidePrefix?: any;
|
842
|
-
loadingErrorMesssage?: string
|
843
|
+
loadingErrorMesssage?: string;
|
843
844
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
844
845
|
|
845
846
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
846
|
-
container?: HTMLElement | null
|
847
|
+
container?: HTMLElement | null;
|
847
848
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
848
849
|
interface PopoverProps {
|
849
850
|
side?: PositionType;
|
@@ -920,13 +921,13 @@ type CheckBoxTypes = {
|
|
920
921
|
type CheckboxProps = CheckBoxTypes & React$1.ComponentProps<typeof CheckboxElement>;
|
921
922
|
declare const Checkbox: React$1.FC<CheckboxProps>;
|
922
923
|
declare const CheckboxElement: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
923
|
-
size?: "
|
924
|
-
radius?: RadiusType
|
924
|
+
size?: "xs" | "sm" | "default" | "md" | "lg" | "xl";
|
925
|
+
radius?: RadiusType;
|
925
926
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
926
927
|
|
927
928
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
928
|
-
label?: string
|
929
|
-
labelProps?: LabelProps
|
929
|
+
label?: string;
|
930
|
+
labelProps?: LabelProps;
|
930
931
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
931
932
|
|
932
933
|
type BreadcrumbItemProps = {
|
@@ -974,28 +975,28 @@ type PhoneInputProps = {
|
|
974
975
|
declare const PhoneInput: FC<PhoneInputProps>;
|
975
976
|
|
976
977
|
declare const PinInputRoot: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
|
977
|
-
value?: string
|
978
|
-
onChange?: (
|
978
|
+
value?: string;
|
979
|
+
onChange?: (newValue: string) => unknown;
|
979
980
|
maxLength: number;
|
980
|
-
textAlign?: "
|
981
|
-
onComplete?: (
|
982
|
-
pushPasswordManagerStrategy?: "
|
983
|
-
containerClassName?: string
|
984
|
-
noScriptCSSFallback?: string | null
|
981
|
+
textAlign?: "left" | "center" | "right";
|
982
|
+
onComplete?: (...args: any[]) => unknown;
|
983
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
984
|
+
containerClassName?: string;
|
985
|
+
noScriptCSSFallback?: string | null;
|
985
986
|
} & {
|
986
987
|
render: (props: input_otp.RenderProps) => React$1.ReactNode;
|
987
|
-
children?:
|
988
|
+
children?: never;
|
988
989
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "containerClassName" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "noScriptCSSFallback"> & {
|
989
|
-
value?: string
|
990
|
-
onChange?: (
|
990
|
+
value?: string;
|
991
|
+
onChange?: (newValue: string) => unknown;
|
991
992
|
maxLength: number;
|
992
|
-
textAlign?: "
|
993
|
-
onComplete?: (
|
994
|
-
pushPasswordManagerStrategy?: "
|
995
|
-
containerClassName?: string
|
996
|
-
noScriptCSSFallback?: string | null
|
993
|
+
textAlign?: "left" | "center" | "right";
|
994
|
+
onComplete?: (...args: any[]) => unknown;
|
995
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
996
|
+
containerClassName?: string;
|
997
|
+
noScriptCSSFallback?: string | null;
|
997
998
|
} & {
|
998
|
-
render?:
|
999
|
+
render?: never;
|
999
1000
|
children: React$1.ReactNode;
|
1000
1001
|
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
1001
1002
|
declare const PinInputGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
@@ -1012,7 +1013,7 @@ declare const PinInput: React$1.FC<PinInputProps>;
|
|
1012
1013
|
declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
|
1013
1014
|
|
1014
1015
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
1015
|
-
orientation?: OrientationType
|
1016
|
+
orientation?: OrientationType;
|
1016
1017
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
1017
1018
|
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1018
1019
|
|
@@ -1184,7 +1185,7 @@ declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.To
|
|
1184
1185
|
variant?: "default" | "destructive" | null | undefined;
|
1185
1186
|
severity?: "none" | "info" | "warning" | "error" | "success" | null | undefined;
|
1186
1187
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
1187
|
-
direction?: DirectionType
|
1188
|
+
direction?: DirectionType;
|
1188
1189
|
} & React$1.RefAttributes<HTMLLIElement>>;
|
1189
1190
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
1190
1191
|
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
@@ -1414,28 +1415,25 @@ type AppTopbarType = {
|
|
1414
1415
|
};
|
1415
1416
|
declare const AppTopbar: React__default.FC<AppTopbarType>;
|
1416
1417
|
|
1417
|
-
declare const MenubarMenu:
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
declare const
|
1422
|
-
declare const MenubarPortal: React$1.FC<MenubarPrimitive.MenubarPortalProps>;
|
1423
|
-
declare const MenubarSub: React$1.FC<MenubarPrimitive.MenubarSubProps>;
|
1424
|
-
declare const MenubarRadioGroup: React$1.ForwardRefExoticComponent<MenubarPrimitive.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
1418
|
+
declare const MenubarMenu: React$1.FC<React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Menu>>;
|
1419
|
+
declare const MenubarGroup: React$1.FC<React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Group>>;
|
1420
|
+
declare const MenubarPortal: React$1.FC<React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Portal>>;
|
1421
|
+
declare const MenubarSub: React$1.FC<React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.Sub>>;
|
1422
|
+
declare const MenubarRadioGroup: React$1.FC<React$1.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioGroup>>;
|
1425
1423
|
declare const Menubar: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1426
1424
|
declare const MenubarTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
1427
1425
|
declare const MenubarSubTrigger: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
1428
|
-
inset?: boolean
|
1426
|
+
inset?: boolean;
|
1429
1427
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
1430
1428
|
declare const MenubarSubContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1431
1429
|
declare const MenubarContent: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1432
1430
|
declare const MenubarItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
1433
|
-
inset?: boolean
|
1431
|
+
inset?: boolean;
|
1434
1432
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
1435
1433
|
declare const MenubarCheckboxItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1436
1434
|
declare const MenubarRadioItem: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1437
1435
|
declare const MenubarLabel: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
1438
|
-
inset?: boolean
|
1436
|
+
inset?: boolean;
|
1439
1437
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
1440
1438
|
declare const MenubarSeparator: React$1.ForwardRefExoticComponent<Omit<MenubarPrimitive.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
1441
1439
|
declare const MenubarShortcut: {
|
@@ -1692,8 +1690,8 @@ type LoginFormTypes = {
|
|
1692
1690
|
onTwitterLogin?: () => void;
|
1693
1691
|
/** Additional buttons to add under the login button */
|
1694
1692
|
additionalButtons?: any;
|
1695
|
-
/** The
|
1696
|
-
|
1693
|
+
/** The minimum length of the password input field */
|
1694
|
+
minPasswordLength?: number;
|
1697
1695
|
/** If true, the form is displayed without a card container styling.*/
|
1698
1696
|
cardless?: boolean;
|
1699
1697
|
/** Props to pass to the PhoneInput component */
|
@@ -1767,6 +1765,8 @@ type RegisterFormTypes = {
|
|
1767
1765
|
form?: string;
|
1768
1766
|
card?: string;
|
1769
1767
|
};
|
1768
|
+
/** The minimum length of the password input field */
|
1769
|
+
minPasswordLength?: number;
|
1770
1770
|
/** If true, the form is displayed without a card container styling.*/
|
1771
1771
|
cardless?: boolean;
|
1772
1772
|
};
|
package/dist/index.js
CHANGED
@@ -1515,16 +1515,21 @@ var Logos = {
|
|
1515
1515
|
sikka: (props) => /* @__PURE__ */ import_react6.default.createElement(
|
1516
1516
|
"svg",
|
1517
1517
|
{
|
1518
|
+
"aria-label": "Sikka Logo",
|
1518
1519
|
xmlns: "http://www.w3.org/2000/svg",
|
1519
|
-
|
1520
|
-
|
1521
|
-
viewBox: "0 0
|
1522
|
-
fill: "currentColor",
|
1520
|
+
width: "512",
|
1521
|
+
height: "512",
|
1522
|
+
viewBox: "0 0 512 512",
|
1523
1523
|
...props
|
1524
1524
|
},
|
1525
|
-
/* @__PURE__ */ import_react6.default.createElement(
|
1526
|
-
|
1527
|
-
|
1525
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
1526
|
+
"path",
|
1527
|
+
{
|
1528
|
+
d: "M242.26,91.23c-6.29,0-11.42,5.1-11.42,11.32v134.95L117.43,98.59c-4.58-5.66-6.86-7.36-13.15-7.36h-41.51c-3.98,0-4.18,3.41-4.18,7.36,0,1.7.58,3.96,1.73,5.1l124.37,152.31-124.37,152.31c-1.15,1.15-1.73,3.41-1.73,5.1,0,3.96.19,7.36,4.18,7.36h41.51c6.29,0,8.57-1.7,13.15-7.36l113.41-138.91v134.95c0,6.21,5.13,11.32,11.42,11.32h27.48c6.29,0,11.42-5.1,11.42-11.32v-134.95l113.41,138.91c4.58,5.66,6.86,7.36,13.15,7.36h41.51c3.98,0,4.18-3.41,4.18-7.36,0-1.7-.58-3.96-1.73-5.1l-124.37-152.31,124.37-152.31c1.15-1.15,1.73-3.41,1.73-5.1,0-3.96-.19-7.36-4.18-7.36h-41.51c-6.29,0-8.57,1.7-13.15,7.36l-113.41,138.91V102.54c0-6.21-5.13-11.32-11.42-11.32h-27.48Z",
|
1529
|
+
fill: "currentColor",
|
1530
|
+
"stroke-width": "0"
|
1531
|
+
}
|
1532
|
+
)
|
1528
1533
|
),
|
1529
1534
|
mail: (props) => /* @__PURE__ */ import_react6.default.createElement(
|
1530
1535
|
"svg",
|
@@ -4996,12 +5001,7 @@ var import_embla_carousel_react = __toESM(require("embla-carousel-react"));
|
|
4996
5001
|
var useDialogCarousel = (options) => {
|
4997
5002
|
const [emblaRef, emblaApi] = (0, import_embla_carousel_react.default)(
|
4998
5003
|
{ loop: false, watchDrag: false, startIndex: 0, ...options },
|
4999
|
-
[
|
5000
|
-
(0, import_embla_carousel_auto_height.default)({
|
5001
|
-
// destroyHeight: "fit", //TODO: see what replaced this
|
5002
|
-
active: true
|
5003
|
-
})
|
5004
|
-
]
|
5004
|
+
[(0, import_embla_carousel_auto_height.default)({ active: true })]
|
5005
5005
|
);
|
5006
5006
|
const [canScrollPrev, setCanScrollPrev] = (0, import_react20.useState)(false);
|
5007
5007
|
const checkCanScrollPrev = () => {
|
@@ -7918,19 +7918,19 @@ var PhoneInput = ({
|
|
7918
7918
|
var React50 = __toESM(require("react"));
|
7919
7919
|
var import_input_otp = require("input-otp");
|
7920
7920
|
|
7921
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7921
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7922
7922
|
var import_react41 = require("react");
|
7923
7923
|
|
7924
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7924
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
7925
7925
|
var toKebabCase = (string9) => string9.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
7926
7926
|
var mergeClasses = (...classes) => classes.filter((className, index, array) => {
|
7927
7927
|
return Boolean(className) && array.indexOf(className) === index;
|
7928
7928
|
}).join(" ");
|
7929
7929
|
|
7930
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7930
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7931
7931
|
var import_react40 = require("react");
|
7932
7932
|
|
7933
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7933
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
7934
7934
|
var defaultAttributes = {
|
7935
7935
|
xmlns: "http://www.w3.org/2000/svg",
|
7936
7936
|
width: 24,
|
@@ -7943,7 +7943,7 @@ var defaultAttributes = {
|
|
7943
7943
|
strokeLinejoin: "round"
|
7944
7944
|
};
|
7945
7945
|
|
7946
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7946
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js
|
7947
7947
|
var Icon = (0, import_react40.forwardRef)(
|
7948
7948
|
({
|
7949
7949
|
color = "currentColor",
|
@@ -7975,7 +7975,7 @@ var Icon = (0, import_react40.forwardRef)(
|
|
7975
7975
|
}
|
7976
7976
|
);
|
7977
7977
|
|
7978
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7978
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
7979
7979
|
var createLucideIcon = (iconName, iconNode) => {
|
7980
7980
|
const Component = (0, import_react41.forwardRef)(
|
7981
7981
|
({ className, ...props }, ref) => (0, import_react41.createElement)(Icon, {
|
@@ -7989,7 +7989,7 @@ var createLucideIcon = (iconName, iconNode) => {
|
|
7989
7989
|
return Component;
|
7990
7990
|
};
|
7991
7991
|
|
7992
|
-
// ../../node_modules/.pnpm/lucide-react@0.
|
7992
|
+
// ../../node_modules/.pnpm/lucide-react@0.403.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/dot.js
|
7993
7993
|
var Dot = createLucideIcon("Dot", [
|
7994
7994
|
["circle", { cx: "12.1", cy: "12.1", r: "1", key: "18d7e5" }]
|
7995
7995
|
]);
|
@@ -10943,7 +10943,7 @@ var import_libphonenumber_js = require("libphonenumber-js");
|
|
10943
10943
|
var z = __toESM(require("zod"));
|
10944
10944
|
var LoginForm = ({
|
10945
10945
|
loginType = "email",
|
10946
|
-
|
10946
|
+
minPasswordLength = 8,
|
10947
10947
|
texts,
|
10948
10948
|
...props
|
10949
10949
|
}) => {
|
@@ -10964,7 +10964,7 @@ var LoginForm = ({
|
|
10964
10964
|
email: z.string({ required_error: ((_a = texts == null ? void 0 : texts.email) == null ? void 0 : _a.required) || "Email Required" }).min(1, { message: ((_b = texts == null ? void 0 : texts.email) == null ? void 0 : _b.required) || "Email Required" }).email({ message: ((_c = texts == null ? void 0 : texts.email) == null ? void 0 : _c.invalid) || "Email Invalid" }),
|
10965
10965
|
password: z.string({
|
10966
10966
|
required_error: ((_d = texts == null ? void 0 : texts.password) == null ? void 0 : _d.required) || "Password Required"
|
10967
|
-
}).min(1, { message: ((_e = texts == null ? void 0 : texts.password) == null ? void 0 : _e.required) || "Password Required" }).min(
|
10967
|
+
}).min(1, { message: ((_e = texts == null ? void 0 : texts.password) == null ? void 0 : _e.required) || "Password Required" }).min(minPasswordLength, {
|
10968
10968
|
message: ((_f = texts == null ? void 0 : texts.password) == null ? void 0 : _f.tooShort) || "Password too short"
|
10969
10969
|
})
|
10970
10970
|
});
|
@@ -10981,7 +10981,7 @@ var LoginForm = ({
|
|
10981
10981
|
),
|
10982
10982
|
password: z.string({
|
10983
10983
|
required_error: ((_j = texts == null ? void 0 : texts.password) == null ? void 0 : _j.required) || "Password Required"
|
10984
|
-
}).min(1, { message: ((_k = texts == null ? void 0 : texts.password) == null ? void 0 : _k.required) || "Password Required" }).min(
|
10984
|
+
}).min(1, { message: ((_k = texts == null ? void 0 : texts.password) == null ? void 0 : _k.required) || "Password Required" }).min(minPasswordLength, {
|
10985
10985
|
message: ((_l = texts == null ? void 0 : texts.password) == null ? void 0 : _l.tooShort) || "Password too short"
|
10986
10986
|
})
|
10987
10987
|
});
|
@@ -11274,11 +11274,12 @@ var z2 = __toESM(require("zod"));
|
|
11274
11274
|
var RegisterForm = ({
|
11275
11275
|
texts,
|
11276
11276
|
registerFields = ["email"],
|
11277
|
+
minPasswordLength = 8,
|
11277
11278
|
showTermsOption = false,
|
11278
11279
|
showNewsletterOption = false,
|
11279
11280
|
...props
|
11280
11281
|
}) => {
|
11281
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
11282
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
11282
11283
|
const [passwordVisible, setPasswordVisible] = (0, import_react69.useState)(false);
|
11283
11284
|
const thirdPartyAuthTexts = {
|
11284
11285
|
continueWithGoogle: texts == null ? void 0 : texts.continueWithGoogle,
|
@@ -11323,15 +11324,17 @@ var RegisterForm = ({
|
|
11323
11324
|
...fieldSchemas,
|
11324
11325
|
password: z2.string({
|
11325
11326
|
required_error: ((_a = texts == null ? void 0 : texts.password) == null ? void 0 : _a.required) || "Password is required"
|
11326
|
-
}).min(
|
11327
|
+
}).min(minPasswordLength, {
|
11327
11328
|
message: ((_b = texts == null ? void 0 : texts.password) == null ? void 0 : _b.tooShort) || "Password is too short"
|
11328
11329
|
}).refine((value) => value !== "", {
|
11329
11330
|
message: ((_c = texts == null ? void 0 : texts.password) == null ? void 0 : _c.required) || "Password is required"
|
11330
11331
|
}),
|
11331
11332
|
confirm_password: z2.string({
|
11332
11333
|
required_error: ((_d = texts == null ? void 0 : texts.confirm) == null ? void 0 : _d.required) || "Confirm password required"
|
11334
|
+
}).min(minPasswordLength, {
|
11335
|
+
message: ((_e = texts == null ? void 0 : texts.password) == null ? void 0 : _e.tooShort) || "Password is too short"
|
11333
11336
|
}).refine((value) => value !== "", {
|
11334
|
-
message: ((
|
11337
|
+
message: ((_f = texts == null ? void 0 : texts.password) == null ? void 0 : _f.required) || "Confirm password is required"
|
11335
11338
|
}),
|
11336
11339
|
refCode: z2.string().optional(),
|
11337
11340
|
reference: z2.string().optional(),
|
@@ -11340,7 +11343,7 @@ var RegisterForm = ({
|
|
11340
11343
|
}),
|
11341
11344
|
newsletter_accepted: z2.boolean().optional()
|
11342
11345
|
}).refine((data) => data.password === data.confirm_password, {
|
11343
|
-
message: ((
|
11346
|
+
message: ((_g = texts == null ? void 0 : texts.confirm) == null ? void 0 : _g.dontMatch) || "Passwords don't match",
|
11344
11347
|
path: ["confirm_password"]
|
11345
11348
|
});
|
11346
11349
|
const { handleSubmit, control, formState } = (0, import_react_hook_form2.useForm)({
|
@@ -11351,7 +11354,7 @@ var RegisterForm = ({
|
|
11351
11354
|
{
|
11352
11355
|
className: cn(
|
11353
11356
|
"hawa-flex hawa-flex-col hawa-gap-4",
|
11354
|
-
(
|
11357
|
+
(_h = props.classNames) == null ? void 0 : _h.root
|
11355
11358
|
)
|
11356
11359
|
},
|
11357
11360
|
/* @__PURE__ */ import_react69.default.createElement(
|
@@ -11359,7 +11362,7 @@ var RegisterForm = ({
|
|
11359
11362
|
{
|
11360
11363
|
dir: props.direction,
|
11361
11364
|
className: cn(
|
11362
|
-
(
|
11365
|
+
(_i = props.classNames) == null ? void 0 : _i.card,
|
11363
11366
|
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
11364
11367
|
)
|
11365
11368
|
},
|
@@ -13790,7 +13793,7 @@ var Usage = (props) => {
|
|
13790
13793
|
|
13791
13794
|
lucide-react/dist/esm/shared/src/utils.js:
|
13792
13795
|
(**
|
13793
|
-
* @license lucide-react v0.
|
13796
|
+
* @license lucide-react v0.403.0 - ISC
|
13794
13797
|
*
|
13795
13798
|
* This source code is licensed under the ISC license.
|
13796
13799
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13798,7 +13801,7 @@ lucide-react/dist/esm/shared/src/utils.js:
|
|
13798
13801
|
|
13799
13802
|
lucide-react/dist/esm/defaultAttributes.js:
|
13800
13803
|
(**
|
13801
|
-
* @license lucide-react v0.
|
13804
|
+
* @license lucide-react v0.403.0 - ISC
|
13802
13805
|
*
|
13803
13806
|
* This source code is licensed under the ISC license.
|
13804
13807
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13806,7 +13809,7 @@ lucide-react/dist/esm/defaultAttributes.js:
|
|
13806
13809
|
|
13807
13810
|
lucide-react/dist/esm/Icon.js:
|
13808
13811
|
(**
|
13809
|
-
* @license lucide-react v0.
|
13812
|
+
* @license lucide-react v0.403.0 - ISC
|
13810
13813
|
*
|
13811
13814
|
* This source code is licensed under the ISC license.
|
13812
13815
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13814,7 +13817,7 @@ lucide-react/dist/esm/Icon.js:
|
|
13814
13817
|
|
13815
13818
|
lucide-react/dist/esm/createLucideIcon.js:
|
13816
13819
|
(**
|
13817
|
-
* @license lucide-react v0.
|
13820
|
+
* @license lucide-react v0.403.0 - ISC
|
13818
13821
|
*
|
13819
13822
|
* This source code is licensed under the ISC license.
|
13820
13823
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13822,7 +13825,7 @@ lucide-react/dist/esm/createLucideIcon.js:
|
|
13822
13825
|
|
13823
13826
|
lucide-react/dist/esm/icons/dot.js:
|
13824
13827
|
(**
|
13825
|
-
* @license lucide-react v0.
|
13828
|
+
* @license lucide-react v0.403.0 - ISC
|
13826
13829
|
*
|
13827
13830
|
* This source code is licensed under the ISC license.
|
13828
13831
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -13830,7 +13833,7 @@ lucide-react/dist/esm/icons/dot.js:
|
|
13830
13833
|
|
13831
13834
|
lucide-react/dist/esm/lucide-react.js:
|
13832
13835
|
(**
|
13833
|
-
* @license lucide-react v0.
|
13836
|
+
* @license lucide-react v0.403.0 - ISC
|
13834
13837
|
*
|
13835
13838
|
* This source code is licensed under the ISC license.
|
13836
13839
|
* See the LICENSE file in the root directory of this source tree.
|