@6thbridge/hexa 0.0.89 → 0.0.91

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.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React$1 from 'react';
3
2
  import React__default, { DetailedHTMLProps, ButtonHTMLAttributes, ReactNode } from 'react';
4
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
@@ -38,7 +37,7 @@ type TooltipPropsType = {
38
37
  arrowClassName?: string;
39
38
  };
40
39
  declare const Tooltip: {
41
- ({ trigger, children, contentClassName, triggerClassName, asChild, side, sideOffset, align, alignOffset, delayDuration, hasArrow, arrowClassName, ...props }: TooltipPropsType & React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
40
+ ({ trigger, children, contentClassName, triggerClassName, asChild, side, sideOffset, align, alignOffset, delayDuration, hasArrow, arrowClassName, ...props }: TooltipPropsType & React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>): React$1.JSX.Element;
42
41
  displayName: string;
43
42
  };
44
43
 
@@ -52,7 +51,7 @@ type Colours = "primary" | "secondary";
52
51
  declare const Loader: ({ size, colour, }: {
53
52
  size?: number;
54
53
  colour?: Colours;
55
- }) => react_jsx_runtime.JSX.Element;
54
+ }) => React$1.JSX.Element;
56
55
 
57
56
  declare const buttonVariants: (props?: ({
58
57
  variant?: "primary" | "danger" | "neutral" | "outlined" | "danger-outlined" | "light-outlined" | "dark-text" | "light" | null | undefined;
@@ -69,12 +68,12 @@ interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonE
69
68
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
70
69
 
71
70
  declare const inputVariants: (props?: ({
72
- status?: "loading" | "default" | "error" | "neutral" | "prefilled" | null | undefined;
71
+ status?: "default" | "error" | "neutral" | "loading" | "prefilled" | null | undefined;
73
72
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
74
73
  interface BaseInnerInputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
75
74
  }
76
75
  declare const inputContainerVariants: (props?: ({
77
- status?: "loading" | "default" | "error" | "neutral" | "prefilled" | null | undefined;
76
+ status?: "default" | "error" | "neutral" | "loading" | "prefilled" | null | undefined;
78
77
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
79
78
  interface InputProps extends BaseInnerInputProps, VariantProps<typeof inputContainerVariants> {
80
79
  isLoading?: boolean;
@@ -99,7 +98,7 @@ type PasswordInputProps = InputProps & {
99
98
  disableValidation?: boolean;
100
99
  };
101
100
  declare const PasswordInput: {
102
- ({ onValidate, onChange, disableValidation, ...props }: PasswordInputProps): react_jsx_runtime.JSX.Element;
101
+ ({ onValidate, onChange, disableValidation, ...props }: PasswordInputProps): React$1.JSX.Element;
103
102
  displayName: string;
104
103
  };
105
104
 
@@ -111,7 +110,7 @@ interface TextareaProps extends DetailedHTMLProps<React$1.TextareaHTMLAttributes
111
110
  description?: React$1.ReactNode;
112
111
  }
113
112
  declare const Textarea: {
114
- ({ className, status, disabled, error, isLoading, showAsterisk, label, description, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
113
+ ({ className, status, disabled, error, isLoading, showAsterisk, label, description, ...props }: TextareaProps): React$1.JSX.Element;
115
114
  displayName: string;
116
115
  };
117
116
 
@@ -142,7 +141,7 @@ interface CountryProps {
142
141
  description?: React.ReactNode;
143
142
  error?: string;
144
143
  }
145
- declare const Country: ({ hideSearch, showAsterisk, label, description, error, ...props }: CountryProps) => react_jsx_runtime.JSX.Element;
144
+ declare const Country: ({ hideSearch, showAsterisk, label, description, error, ...props }: CountryProps) => React$1.JSX.Element;
146
145
 
147
146
  type SelectPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
148
147
  interface SelectProps {
@@ -166,7 +165,7 @@ interface SelectProps {
166
165
  error?: string;
167
166
  id?: string;
168
167
  }
169
- declare const Select: ({ showAsterisk, label, description, error, hideSearch, status, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
168
+ declare const Select: ({ showAsterisk, label, description, error, hideSearch, status, ...props }: SelectProps) => React$1.JSX.Element;
170
169
 
171
170
  type PhoneInputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & Omit<RPNInput.Props<typeof RPNInput.default>, "onChange"> & {
172
171
  onChange?: (value: RPNInput.Value) => void;
@@ -190,7 +189,7 @@ type FlagComponentProps = RPNInput.FlagProps & {
190
189
  className?: string;
191
190
  };
192
191
  declare const FlagComponent: {
193
- ({ country, countryName, className, }: FlagComponentProps): react_jsx_runtime.JSX.Element;
192
+ ({ country, countryName, className, }: FlagComponentProps): React$1.JSX.Element;
194
193
  displayName: string;
195
194
  };
196
195
 
@@ -212,20 +211,21 @@ type DialogPropsType = {
212
211
  onInteractOutside?: (e: Event) => void;
213
212
  onPointerDownOutside?: (e: Event) => void;
214
213
  onEscapeKeyDown?: (e: KeyboardEvent) => void;
214
+ closeOnOutsideClick?: boolean;
215
215
  };
216
216
  declare const Dialog: {
217
- ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, onCloseAutoFocus, onEscapeKeyDown, onInteractOutside, onPointerDownOutside, ...props }: React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & DialogPropsType): react_jsx_runtime.JSX.Element;
217
+ ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, onCloseAutoFocus, onEscapeKeyDown, onInteractOutside, onPointerDownOutside, closeOnOutsideClick, ...props }: React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & DialogPropsType): React$1.JSX.Element;
218
218
  displayName: string | undefined;
219
219
  };
220
220
 
221
221
  declare const otpInputVariants: (props?: ({
222
- status?: "loading" | "default" | "error" | null | undefined;
222
+ status?: "default" | "error" | "loading" | null | undefined;
223
223
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
224
224
  type DefailtInputProps = Omit<OTPInputProps$1, "renderInput">;
225
225
  type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> & {
226
226
  inputMode?: React.HTMLAttributes<HTMLInputElement>["inputMode"];
227
227
  };
228
- declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, inputMode, inputType, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
228
+ declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, inputMode, inputType, ...props }: OTPInputProps) => React$1.JSX.Element;
229
229
 
230
230
  declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
231
231
  declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -248,7 +248,7 @@ type PopoverPropsType = {
248
248
  id?: string;
249
249
  };
250
250
  declare const Popover: {
251
- ({ trigger, children, open, onOpenChange, contentClassName, asChild, align, side, alignOffset, triggerClassName, sideOffset, onOpenAutoFocus, onCloseAutoFocus, portal, id, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> & PopoverPropsType): react_jsx_runtime.JSX.Element;
251
+ ({ trigger, children, open, onOpenChange, contentClassName, asChild, align, side, alignOffset, triggerClassName, sideOffset, onOpenAutoFocus, onCloseAutoFocus, portal, id, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> & PopoverPropsType): React$1.JSX.Element;
252
252
  displayName: string | undefined;
253
253
  };
254
254
 
@@ -265,7 +265,7 @@ interface BannerProps extends BannerTypes {
265
265
  open: boolean;
266
266
  onClose?: () => void;
267
267
  }
268
- declare const Banner: ({ type, title, description, open, showCloseButton, bottomNode, sideNode, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
268
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomNode, sideNode, onClose, showIcon, }: BannerProps) => React$1.JSX.Element | null;
269
269
 
270
270
  interface CopyableLabelProps {
271
271
  text: string;
@@ -285,7 +285,7 @@ type DebouncedInputProps = {
285
285
  debounce?: number;
286
286
  addon?: React__default.ReactNode;
287
287
  } & Omit<BaseInnerInputProps, "onChange" | "size">;
288
- declare const DebouncedInput: ({ value: initialValue, onChange, debounce, addon, ...props }: DebouncedInputProps) => react_jsx_runtime.JSX.Element;
288
+ declare const DebouncedInput: ({ value: initialValue, onChange, debounce, addon, ...props }: DebouncedInputProps) => React__default.JSX.Element;
289
289
 
290
290
  type Props = {
291
291
  environment: "staging" | "sandbox" | "production";
@@ -298,13 +298,13 @@ type Props = {
298
298
  removeFromStorage: () => void;
299
299
  syncLocalStorageToState: () => void;
300
300
  };
301
- declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
301
+ declare const DevBanner: (props: Props) => React$1.JSX.Element | null;
302
302
 
303
303
  type DrawerRootType = React$1.ComponentProps<typeof Drawer$1.Root> & {
304
304
  id?: string;
305
305
  };
306
306
  declare const DrawerRoot: {
307
- ({ shouldScaleBackground, ...props }: DrawerRootType): react_jsx_runtime.JSX.Element;
307
+ ({ shouldScaleBackground, ...props }: DrawerRootType): React$1.JSX.Element;
308
308
  displayName: string;
309
309
  };
310
310
  declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -326,7 +326,7 @@ type DrawerPropsType = {
326
326
  onCloseAutoFocus?: (e: Event) => void;
327
327
  modal?: boolean;
328
328
  };
329
- declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
329
+ declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
330
330
 
331
331
  type LocaleOption = {
332
332
  key: string;
@@ -336,7 +336,7 @@ declare const LocaleSelector: ({ locale, onChange, locales, }: {
336
336
  locale?: string;
337
337
  onChange?: (locale: string) => void;
338
338
  locales?: LocaleOption[];
339
- }) => react_jsx_runtime.JSX.Element;
339
+ }) => React$1.JSX.Element;
340
340
 
341
341
  type BusinessType = {
342
342
  clientId?: string;
@@ -399,14 +399,14 @@ interface IAppConfig {
399
399
  }
400
400
  type CollapseType = "icons" | "hidden";
401
401
 
402
- declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => react_jsx_runtime.JSX.Element;
402
+ declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => React$1.JSX.Element;
403
403
 
404
404
  type Variant = "success" | "failed" | "pending" | "abandoned";
405
405
  declare const Status: ({ status, variant, className, }: {
406
406
  status: string;
407
407
  variant: Variant;
408
408
  className?: string;
409
- }) => react_jsx_runtime.JSX.Element;
409
+ }) => React$1.JSX.Element;
410
410
 
411
411
  type RowAction = {
412
412
  icon: React__default.ReactNode;
@@ -471,7 +471,7 @@ type PaginationProps = {
471
471
  * @param {function} onPageChange - Callback function to handle page change.
472
472
  * @param {number | undefined} itemsPerPage - The number of items per page.
473
473
  */
474
- declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => react_jsx_runtime.JSX.Element;
474
+ declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => React$1.JSX.Element;
475
475
 
476
476
  type TableSearchProps = {
477
477
  enabled: boolean;
@@ -521,7 +521,7 @@ type TableProps<T extends RowData> = {
521
521
  };
522
522
  emptyDataMessage?: ReactNode;
523
523
  };
524
- declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => react_jsx_runtime.JSX.Element;
524
+ declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => React$1.JSX.Element;
525
525
 
526
526
  type PageDataToolbarProps = {
527
527
  onRefetch?: () => void;
@@ -536,7 +536,7 @@ type PageDataToolbarProps = {
536
536
  filterListOptions?: FilterListItem[];
537
537
  id?: string;
538
538
  };
539
- declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => react_jsx_runtime.JSX.Element;
539
+ declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => React$1.JSX.Element;
540
540
 
541
541
  type ResourcePermission = {
542
542
  resource: string;
@@ -555,7 +555,7 @@ declare const PermissionsContext: React$1.Context<ResourcePermissions | undefine
555
555
  declare const PermissionsProvider: ({ permissions, children, }: {
556
556
  permissions: ResourcePermissions;
557
557
  children: ReactNode;
558
- }) => react_jsx_runtime.JSX.Element;
558
+ }) => React$1.JSX.Element;
559
559
 
560
560
  declare const usePermissions: () => ResourcePermissions | undefined;
561
561
  declare const useHasPermission: (permission: {
@@ -569,7 +569,7 @@ declare const useHasPermission: (permission: {
569
569
  }) => boolean;
570
570
  };
571
571
 
572
- declare const HasResourcePermission: ({ permission, children, }: ResourcePermissionProps) => react_jsx_runtime.JSX.Element;
572
+ declare const HasResourcePermission: ({ permission, children, }: ResourcePermissionProps) => React$1.JSX.Element;
573
573
 
574
574
  type CalendarInputProps = {
575
575
  label?: string;
@@ -585,7 +585,7 @@ type CalendarInputProps = {
585
585
  showTime?: boolean;
586
586
  id?: string;
587
587
  };
588
- declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, maxDate, closeOnSelect, modal, minDate, showTime, id, }: CalendarInputProps) => react_jsx_runtime.JSX.Element;
588
+ declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, maxDate, closeOnSelect, modal, minDate, showTime, id, }: CalendarInputProps) => React$1.JSX.Element;
589
589
 
590
590
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
591
591
  className?: string;
@@ -600,7 +600,7 @@ type FilterPopoverProps = FilterContentProps & {
600
600
  id?: string;
601
601
  onChange?: (values: Record<string, any>) => void;
602
602
  };
603
- declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, id, }: FilterPopoverProps) => react_jsx_runtime.JSX.Element | null;
603
+ declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, id, }: FilterPopoverProps) => React$1.JSX.Element | null;
604
604
 
605
605
  interface FilterSliceType {
606
606
  filters: Record<string, any> | null;
@@ -629,7 +629,7 @@ interface TextOverflowProps extends React__default.HTMLAttributes<HTMLElement> {
629
629
  * - className: string (optional) - Additional CSS classes for the container.
630
630
  * - ...rest: Other HTML attributes passed to the container.
631
631
  */
632
- declare const TextOverflow: ({ children, mode, className, as: Component, ...rest }: TextOverflowProps) => react_jsx_runtime.JSX.Element;
632
+ declare const TextOverflow: ({ children, mode, className, as: Component, ...rest }: TextOverflowProps) => React__default.JSX.Element;
633
633
 
634
634
  declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
635
635
  viewPortClassName?: string;
@@ -666,21 +666,21 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
666
666
  className?: string;
667
667
  onDelete?: (el: MultiSelectDataType) => void;
668
668
  }
669
- declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element>;
670
- declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
669
+ declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => React$1.JSX.Element>;
670
+ declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => React$1.JSX.Element;
671
671
 
672
672
  type Tab = {
673
673
  key: string;
674
674
  title: React.ReactNode;
675
675
  count?: number | boolean;
676
- content: JSX.Element | React.ReactNode;
676
+ content: React.ReactNode;
677
677
  };
678
678
  type TabsProps = {
679
679
  tabs: Tab[];
680
680
  defaultValue?: string;
681
681
  onChange?: (value?: string) => void;
682
682
  };
683
- declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
683
+ declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): React$1.JSX.Element;
684
684
 
685
685
  declare const featureBannerVariants: (props?: ({
686
686
  variant?: "success" | "pending" | "default" | "danger" | null | undefined;
@@ -711,7 +711,7 @@ type FeatureBannerProps = {
711
711
  classNames?: FeatureBannerClassNames;
712
712
  } & VariantProps<typeof featureBannerVariants>;
713
713
 
714
- declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, align, classNames, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
714
+ declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, align, classNames, }: FeatureBannerProps) => React$1.JSX.Element | null;
715
715
 
716
716
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
717
717
 
@@ -796,7 +796,7 @@ type RichTextEditorProps = {
796
796
  * <a href="https://example.com">A link</a>
797
797
  * ```
798
798
  */
799
- declare const RichTextEditor: ({ label, helpText, error, value, onChange, optional, isRequired, extensions, editorClassName, wrapperClassName, controls, extraMenuNodes, placeholder, }: RichTextEditorProps) => react_jsx_runtime.JSX.Element | null;
799
+ declare const RichTextEditor: ({ label, helpText, error, value, onChange, optional, isRequired, extensions, editorClassName, wrapperClassName, controls, extraMenuNodes, placeholder, }: RichTextEditorProps) => React$1.JSX.Element | null;
800
800
 
801
801
  declare const CurrencySymbolMap: Record<string, string>;
802
802
  interface FormatCurrencyOptions {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as React$1 from 'react';
3
2
  import React__default, { DetailedHTMLProps, ButtonHTMLAttributes, ReactNode } from 'react';
4
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
@@ -38,7 +37,7 @@ type TooltipPropsType = {
38
37
  arrowClassName?: string;
39
38
  };
40
39
  declare const Tooltip: {
41
- ({ trigger, children, contentClassName, triggerClassName, asChild, side, sideOffset, align, alignOffset, delayDuration, hasArrow, arrowClassName, ...props }: TooltipPropsType & React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
40
+ ({ trigger, children, contentClassName, triggerClassName, asChild, side, sideOffset, align, alignOffset, delayDuration, hasArrow, arrowClassName, ...props }: TooltipPropsType & React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Root>): React$1.JSX.Element;
42
41
  displayName: string;
43
42
  };
44
43
 
@@ -52,7 +51,7 @@ type Colours = "primary" | "secondary";
52
51
  declare const Loader: ({ size, colour, }: {
53
52
  size?: number;
54
53
  colour?: Colours;
55
- }) => react_jsx_runtime.JSX.Element;
54
+ }) => React$1.JSX.Element;
56
55
 
57
56
  declare const buttonVariants: (props?: ({
58
57
  variant?: "primary" | "danger" | "neutral" | "outlined" | "danger-outlined" | "light-outlined" | "dark-text" | "light" | null | undefined;
@@ -69,12 +68,12 @@ interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonE
69
68
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
70
69
 
71
70
  declare const inputVariants: (props?: ({
72
- status?: "loading" | "default" | "error" | "neutral" | "prefilled" | null | undefined;
71
+ status?: "default" | "error" | "neutral" | "loading" | "prefilled" | null | undefined;
73
72
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
74
73
  interface BaseInnerInputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
75
74
  }
76
75
  declare const inputContainerVariants: (props?: ({
77
- status?: "loading" | "default" | "error" | "neutral" | "prefilled" | null | undefined;
76
+ status?: "default" | "error" | "neutral" | "loading" | "prefilled" | null | undefined;
78
77
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
79
78
  interface InputProps extends BaseInnerInputProps, VariantProps<typeof inputContainerVariants> {
80
79
  isLoading?: boolean;
@@ -99,7 +98,7 @@ type PasswordInputProps = InputProps & {
99
98
  disableValidation?: boolean;
100
99
  };
101
100
  declare const PasswordInput: {
102
- ({ onValidate, onChange, disableValidation, ...props }: PasswordInputProps): react_jsx_runtime.JSX.Element;
101
+ ({ onValidate, onChange, disableValidation, ...props }: PasswordInputProps): React$1.JSX.Element;
103
102
  displayName: string;
104
103
  };
105
104
 
@@ -111,7 +110,7 @@ interface TextareaProps extends DetailedHTMLProps<React$1.TextareaHTMLAttributes
111
110
  description?: React$1.ReactNode;
112
111
  }
113
112
  declare const Textarea: {
114
- ({ className, status, disabled, error, isLoading, showAsterisk, label, description, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
113
+ ({ className, status, disabled, error, isLoading, showAsterisk, label, description, ...props }: TextareaProps): React$1.JSX.Element;
115
114
  displayName: string;
116
115
  };
117
116
 
@@ -142,7 +141,7 @@ interface CountryProps {
142
141
  description?: React.ReactNode;
143
142
  error?: string;
144
143
  }
145
- declare const Country: ({ hideSearch, showAsterisk, label, description, error, ...props }: CountryProps) => react_jsx_runtime.JSX.Element;
144
+ declare const Country: ({ hideSearch, showAsterisk, label, description, error, ...props }: CountryProps) => React$1.JSX.Element;
146
145
 
147
146
  type SelectPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
148
147
  interface SelectProps {
@@ -166,7 +165,7 @@ interface SelectProps {
166
165
  error?: string;
167
166
  id?: string;
168
167
  }
169
- declare const Select: ({ showAsterisk, label, description, error, hideSearch, status, ...props }: SelectProps) => react_jsx_runtime.JSX.Element;
168
+ declare const Select: ({ showAsterisk, label, description, error, hideSearch, status, ...props }: SelectProps) => React$1.JSX.Element;
170
169
 
171
170
  type PhoneInputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & Omit<RPNInput.Props<typeof RPNInput.default>, "onChange"> & {
172
171
  onChange?: (value: RPNInput.Value) => void;
@@ -190,7 +189,7 @@ type FlagComponentProps = RPNInput.FlagProps & {
190
189
  className?: string;
191
190
  };
192
191
  declare const FlagComponent: {
193
- ({ country, countryName, className, }: FlagComponentProps): react_jsx_runtime.JSX.Element;
192
+ ({ country, countryName, className, }: FlagComponentProps): React$1.JSX.Element;
194
193
  displayName: string;
195
194
  };
196
195
 
@@ -212,20 +211,21 @@ type DialogPropsType = {
212
211
  onInteractOutside?: (e: Event) => void;
213
212
  onPointerDownOutside?: (e: Event) => void;
214
213
  onEscapeKeyDown?: (e: KeyboardEvent) => void;
214
+ closeOnOutsideClick?: boolean;
215
215
  };
216
216
  declare const Dialog: {
217
- ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, onCloseAutoFocus, onEscapeKeyDown, onInteractOutside, onPointerDownOutside, ...props }: React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & DialogPropsType): react_jsx_runtime.JSX.Element;
217
+ ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, onCloseAutoFocus, onEscapeKeyDown, onInteractOutside, onPointerDownOutside, closeOnOutsideClick, ...props }: React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> & DialogPropsType): React$1.JSX.Element;
218
218
  displayName: string | undefined;
219
219
  };
220
220
 
221
221
  declare const otpInputVariants: (props?: ({
222
- status?: "loading" | "default" | "error" | null | undefined;
222
+ status?: "default" | "error" | "loading" | null | undefined;
223
223
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
224
224
  type DefailtInputProps = Omit<OTPInputProps$1, "renderInput">;
225
225
  type OTPInputProps = DefailtInputProps & VariantProps<typeof otpInputVariants> & {
226
226
  inputMode?: React.HTMLAttributes<HTMLInputElement>["inputMode"];
227
227
  };
228
- declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, inputMode, inputType, ...props }: OTPInputProps) => react_jsx_runtime.JSX.Element;
228
+ declare const OTPInput: ({ numInputs, inputStyle, containerStyle, placeholder, status, inputMode, inputType, ...props }: OTPInputProps) => React$1.JSX.Element;
229
229
 
230
230
  declare const PopoverRoot: React$1.FC<PopoverPrimitive.PopoverProps>;
231
231
  declare const PopoverTrigger: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
@@ -248,7 +248,7 @@ type PopoverPropsType = {
248
248
  id?: string;
249
249
  };
250
250
  declare const Popover: {
251
- ({ trigger, children, open, onOpenChange, contentClassName, asChild, align, side, alignOffset, triggerClassName, sideOffset, onOpenAutoFocus, onCloseAutoFocus, portal, id, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> & PopoverPropsType): react_jsx_runtime.JSX.Element;
251
+ ({ trigger, children, open, onOpenChange, contentClassName, asChild, align, side, alignOffset, triggerClassName, sideOffset, onOpenAutoFocus, onCloseAutoFocus, portal, id, ...props }: React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Root> & PopoverPropsType): React$1.JSX.Element;
252
252
  displayName: string | undefined;
253
253
  };
254
254
 
@@ -265,7 +265,7 @@ interface BannerProps extends BannerTypes {
265
265
  open: boolean;
266
266
  onClose?: () => void;
267
267
  }
268
- declare const Banner: ({ type, title, description, open, showCloseButton, bottomNode, sideNode, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
268
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomNode, sideNode, onClose, showIcon, }: BannerProps) => React$1.JSX.Element | null;
269
269
 
270
270
  interface CopyableLabelProps {
271
271
  text: string;
@@ -285,7 +285,7 @@ type DebouncedInputProps = {
285
285
  debounce?: number;
286
286
  addon?: React__default.ReactNode;
287
287
  } & Omit<BaseInnerInputProps, "onChange" | "size">;
288
- declare const DebouncedInput: ({ value: initialValue, onChange, debounce, addon, ...props }: DebouncedInputProps) => react_jsx_runtime.JSX.Element;
288
+ declare const DebouncedInput: ({ value: initialValue, onChange, debounce, addon, ...props }: DebouncedInputProps) => React__default.JSX.Element;
289
289
 
290
290
  type Props = {
291
291
  environment: "staging" | "sandbox" | "production";
@@ -298,13 +298,13 @@ type Props = {
298
298
  removeFromStorage: () => void;
299
299
  syncLocalStorageToState: () => void;
300
300
  };
301
- declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
301
+ declare const DevBanner: (props: Props) => React$1.JSX.Element | null;
302
302
 
303
303
  type DrawerRootType = React$1.ComponentProps<typeof Drawer$1.Root> & {
304
304
  id?: string;
305
305
  };
306
306
  declare const DrawerRoot: {
307
- ({ shouldScaleBackground, ...props }: DrawerRootType): react_jsx_runtime.JSX.Element;
307
+ ({ shouldScaleBackground, ...props }: DrawerRootType): React$1.JSX.Element;
308
308
  displayName: string;
309
309
  };
310
310
  declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
@@ -326,7 +326,7 @@ type DrawerPropsType = {
326
326
  onCloseAutoFocus?: (e: Event) => void;
327
327
  modal?: boolean;
328
328
  };
329
- declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
329
+ declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
330
330
 
331
331
  type LocaleOption = {
332
332
  key: string;
@@ -336,7 +336,7 @@ declare const LocaleSelector: ({ locale, onChange, locales, }: {
336
336
  locale?: string;
337
337
  onChange?: (locale: string) => void;
338
338
  locales?: LocaleOption[];
339
- }) => react_jsx_runtime.JSX.Element;
339
+ }) => React$1.JSX.Element;
340
340
 
341
341
  type BusinessType = {
342
342
  clientId?: string;
@@ -399,14 +399,14 @@ interface IAppConfig {
399
399
  }
400
400
  type CollapseType = "icons" | "hidden";
401
401
 
402
- declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => react_jsx_runtime.JSX.Element;
402
+ declare const Sidebar: ({ isSidebarCollapsed, onToggleSideBar, isMobile, links, businessProps, currentPath, onNavigate, appConfig, collapseType: propCollapseType, onLogoutClick, openSidebarIcon, closedSidebarIcon, nodeAfterSideBarLogo, }: SidebarProps) => React$1.JSX.Element;
403
403
 
404
404
  type Variant = "success" | "failed" | "pending" | "abandoned";
405
405
  declare const Status: ({ status, variant, className, }: {
406
406
  status: string;
407
407
  variant: Variant;
408
408
  className?: string;
409
- }) => react_jsx_runtime.JSX.Element;
409
+ }) => React$1.JSX.Element;
410
410
 
411
411
  type RowAction = {
412
412
  icon: React__default.ReactNode;
@@ -471,7 +471,7 @@ type PaginationProps = {
471
471
  * @param {function} onPageChange - Callback function to handle page change.
472
472
  * @param {number | undefined} itemsPerPage - The number of items per page.
473
473
  */
474
- declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => react_jsx_runtime.JSX.Element;
474
+ declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, totalItems, id, }: PaginationProps) => React$1.JSX.Element;
475
475
 
476
476
  type TableSearchProps = {
477
477
  enabled: boolean;
@@ -521,7 +521,7 @@ type TableProps<T extends RowData> = {
521
521
  };
522
522
  emptyDataMessage?: ReactNode;
523
523
  };
524
- declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => react_jsx_runtime.JSX.Element;
524
+ declare const Table: <T extends RowData>({ table, isMobile, onRowClick, id, onRefetch, isRefetching, FilterMenu, ExtraNode, onExport, search, download, isLoading, pagination, filterListOptions, setAppliedFilters, onFilterChange, tableBulkActions, emptyDataMessage, }: TableProps<T>) => React$1.JSX.Element;
525
525
 
526
526
  type PageDataToolbarProps = {
527
527
  onRefetch?: () => void;
@@ -536,7 +536,7 @@ type PageDataToolbarProps = {
536
536
  filterListOptions?: FilterListItem[];
537
537
  id?: string;
538
538
  };
539
- declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => react_jsx_runtime.JSX.Element;
539
+ declare const PageDataToolbar: ({ onRefetch, search, FilterMenu, ExtraNode, onExport, download, isRefetching, filterListOptions, setAppliedFilters, onFilterChange, id, }: PageDataToolbarProps) => React$1.JSX.Element;
540
540
 
541
541
  type ResourcePermission = {
542
542
  resource: string;
@@ -555,7 +555,7 @@ declare const PermissionsContext: React$1.Context<ResourcePermissions | undefine
555
555
  declare const PermissionsProvider: ({ permissions, children, }: {
556
556
  permissions: ResourcePermissions;
557
557
  children: ReactNode;
558
- }) => react_jsx_runtime.JSX.Element;
558
+ }) => React$1.JSX.Element;
559
559
 
560
560
  declare const usePermissions: () => ResourcePermissions | undefined;
561
561
  declare const useHasPermission: (permission: {
@@ -569,7 +569,7 @@ declare const useHasPermission: (permission: {
569
569
  }) => boolean;
570
570
  };
571
571
 
572
- declare const HasResourcePermission: ({ permission, children, }: ResourcePermissionProps) => react_jsx_runtime.JSX.Element;
572
+ declare const HasResourcePermission: ({ permission, children, }: ResourcePermissionProps) => React$1.JSX.Element;
573
573
 
574
574
  type CalendarInputProps = {
575
575
  label?: string;
@@ -585,7 +585,7 @@ type CalendarInputProps = {
585
585
  showTime?: boolean;
586
586
  id?: string;
587
587
  };
588
- declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, maxDate, closeOnSelect, modal, minDate, showTime, id, }: CalendarInputProps) => react_jsx_runtime.JSX.Element;
588
+ declare const CalendarInput: ({ label, optional, onChange, error, helpText, value, maxDate, closeOnSelect, modal, minDate, showTime, id, }: CalendarInputProps) => React$1.JSX.Element;
589
589
 
590
590
  declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
591
591
  className?: string;
@@ -600,7 +600,7 @@ type FilterPopoverProps = FilterContentProps & {
600
600
  id?: string;
601
601
  onChange?: (values: Record<string, any>) => void;
602
602
  };
603
- declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, id, }: FilterPopoverProps) => react_jsx_runtime.JSX.Element | null;
603
+ declare const FilterPopover: ({ filters, setAppliedFilters, isOpen, onChange, id, }: FilterPopoverProps) => React$1.JSX.Element | null;
604
604
 
605
605
  interface FilterSliceType {
606
606
  filters: Record<string, any> | null;
@@ -629,7 +629,7 @@ interface TextOverflowProps extends React__default.HTMLAttributes<HTMLElement> {
629
629
  * - className: string (optional) - Additional CSS classes for the container.
630
630
  * - ...rest: Other HTML attributes passed to the container.
631
631
  */
632
- declare const TextOverflow: ({ children, mode, className, as: Component, ...rest }: TextOverflowProps) => react_jsx_runtime.JSX.Element;
632
+ declare const TextOverflow: ({ children, mode, className, as: Component, ...rest }: TextOverflowProps) => React__default.JSX.Element;
633
633
 
634
634
  declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
635
635
  viewPortClassName?: string;
@@ -666,21 +666,21 @@ interface MultiSelectTriggerProps extends VariantProps<typeof inputContainerVari
666
666
  className?: string;
667
667
  onDelete?: (el: MultiSelectDataType) => void;
668
668
  }
669
- declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => react_jsx_runtime.JSX.Element>;
670
- declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
669
+ declare const MultiSelectTrigger: React$1.MemoExoticComponent<({ disabled, className, values, placeholder, status, onDelete, }: MultiSelectTriggerProps) => React$1.JSX.Element>;
670
+ declare const MultiSelect: ({ options, children, onChange, optionComponent, values: dataValues, hideSearch, modal, placeholder, isLoading, showSelectedValues, error, label, showAsterisk, }: MultiSelectProps) => React$1.JSX.Element;
671
671
 
672
672
  type Tab = {
673
673
  key: string;
674
674
  title: React.ReactNode;
675
675
  count?: number | boolean;
676
- content: JSX.Element | React.ReactNode;
676
+ content: React.ReactNode;
677
677
  };
678
678
  type TabsProps = {
679
679
  tabs: Tab[];
680
680
  defaultValue?: string;
681
681
  onChange?: (value?: string) => void;
682
682
  };
683
- declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): react_jsx_runtime.JSX.Element;
683
+ declare function Tabs({ tabs, defaultValue, onChange }: TabsProps): React$1.JSX.Element;
684
684
 
685
685
  declare const featureBannerVariants: (props?: ({
686
686
  variant?: "success" | "pending" | "default" | "danger" | null | undefined;
@@ -711,7 +711,7 @@ type FeatureBannerProps = {
711
711
  classNames?: FeatureBannerClassNames;
712
712
  } & VariantProps<typeof featureBannerVariants>;
713
713
 
714
- declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, align, classNames, }: FeatureBannerProps) => react_jsx_runtime.JSX.Element | null;
714
+ declare const FeatureBanner: ({ title, message, variant, icon, action, dismissible, onDismiss, isOpen, align, classNames, }: FeatureBannerProps) => React$1.JSX.Element | null;
715
715
 
716
716
  type EditorControl = "bold" | "italic" | "underline" | "strike" | "heading1" | "bulletList" | "orderedList" | "blockquote" | "textStyle" | "link";
717
717
 
@@ -796,7 +796,7 @@ type RichTextEditorProps = {
796
796
  * <a href="https://example.com">A link</a>
797
797
  * ```
798
798
  */
799
- declare const RichTextEditor: ({ label, helpText, error, value, onChange, optional, isRequired, extensions, editorClassName, wrapperClassName, controls, extraMenuNodes, placeholder, }: RichTextEditorProps) => react_jsx_runtime.JSX.Element | null;
799
+ declare const RichTextEditor: ({ label, helpText, error, value, onChange, optional, isRequired, extensions, editorClassName, wrapperClassName, controls, extraMenuNodes, placeholder, }: RichTextEditorProps) => React$1.JSX.Element | null;
800
800
 
801
801
  declare const CurrencySymbolMap: Record<string, string>;
802
802
  interface FormatCurrencyOptions {