@sustaina/shared-ui 1.68.0 → 1.70.0

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
@@ -11,7 +11,7 @@ import { ClassValue } from 'clsx';
11
11
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
12
12
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
13
13
  import { Header, RowData as RowData$1, Column as Column$1, Table as Table$1, ColumnDef, ColumnFiltersState, OnChangeFn, FilterFnOption, SortingState, ColumnOrderState, VisibilityState, ColumnPinningState, GroupingState, GroupingOptions, ColumnResizeMode, RowSelectionState, Row, ExpandedState, Cell, HeaderGroup, HeaderContext } from '@tanstack/react-table';
14
- import { Virtualizer as Virtualizer$1 } from '@tanstack/react-virtual';
14
+ import { VirtualItem, Virtualizer as Virtualizer$1 } from '@tanstack/react-virtual';
15
15
  import * as DialogPrimitive from '@radix-ui/react-dialog';
16
16
  import { DialogContentProps as DialogContentProps$1 } from '@radix-ui/react-dialog';
17
17
  import { Resource } from 'i18next';
@@ -246,6 +246,15 @@ type ContentSlot = {
246
246
  wrapperProps?: React__default.ComponentProps<"div">;
247
247
  };
248
248
 
249
+ type ColumnVirtualizerState = {
250
+ enabled: false;
251
+ } | {
252
+ enabled: true;
253
+ virtualColumns: VirtualItem[];
254
+ virtualPaddingLeft: number;
255
+ virtualPaddingRight: number;
256
+ };
257
+
249
258
  type ColumnSeparatorProps = {
250
259
  show?: boolean;
251
260
  className?: string;
@@ -332,6 +341,10 @@ type DataTableRowExpansion<TData extends RowData$1> = {
332
341
  type DataTableVirtual = {
333
342
  enabled: boolean;
334
343
  overscan?: number;
344
+ columns?: {
345
+ enabled: boolean;
346
+ overscan?: number;
347
+ };
335
348
  };
336
349
  type Virtualizer = Virtualizer$1<HTMLDivElement, Element>;
337
350
  type DataTableColumnGrouping = {
@@ -463,13 +476,14 @@ type DataTableProps<TData extends RowData$1> = {
463
476
  statusContent?: DataTableStatusContent;
464
477
  tableRef?: React__default.RefObject<Table$1<TData> | null>;
465
478
  virtualizerRef?: React__default.RefObject<Virtualizer>;
479
+ columnVirtualizerRef?: React__default.RefObject<Virtualizer>;
466
480
  isInitialLoading?: boolean;
467
481
  debug?: boolean;
468
482
  rowIdKey?: DataTableRowIdKeyHandler<TData>;
469
483
  childrenKey?: DataTableChildrenKeyHandler<TData>;
470
484
  onRowClick?: DataTableRowClickHandler<TData>;
471
485
  };
472
- declare const DataTable: <TData extends RowData$1>({ tableRef, virtualizerRef, isInitialLoading, columns, data, filters, sorting, columnOrder, columnVisibility, columnPinning, columnGrouping, columnResizing, rowSelection, rowExpansion, virtual, scrollFetch, activeStatusContent, statusContent, rowIdKey, childrenKey, onRowClick, debug, components }: DataTableProps<TData>) => react_jsx_runtime.JSX.Element;
486
+ declare const DataTable: <TData extends RowData$1>({ tableRef, virtualizerRef, columnVirtualizerRef, isInitialLoading, columns, data, filters, sorting, columnOrder, columnVisibility, columnPinning, columnGrouping, columnResizing, rowSelection, rowExpansion, virtual, scrollFetch, activeStatusContent, statusContent, rowIdKey, childrenKey, onRowClick, debug, components }: DataTableProps<TData>) => react_jsx_runtime.JSX.Element;
473
487
 
474
488
  declare module "@tanstack/react-table" {
475
489
  interface ColumnMeta<TData extends RowData> {
@@ -480,6 +494,7 @@ declare module "@tanstack/react-table" {
480
494
  useColumnSizing?: boolean;
481
495
  columnSeparatorProps?: ColumnSeparatorProps;
482
496
  renderColumnFilter?: (props: DataTableColumnFilterProps<TData>) => ReactNode;
497
+ spanRows?: boolean;
483
498
  }
484
499
  }
485
500
 
@@ -496,6 +511,7 @@ declare function resetVisibleTableState(payload: {
496
511
 
497
512
  type SorterProps = {
498
513
  show?: boolean;
514
+ rootClassName?: string;
499
515
  };
500
516
  type HeaderCellProps<TData = any, TValue = any> = {
501
517
  label: React.ReactNode;
@@ -1094,6 +1110,24 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps$
1094
1110
 
1095
1111
  declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
1096
1112
 
1113
+ interface LocaleOption {
1114
+ locale: string;
1115
+ }
1116
+ interface LanguageSelectorProps<T extends LocaleOption = LocaleOption> {
1117
+ tenant: T[];
1118
+ selectedLocale?: string;
1119
+ onSelectLocale: (lang: T) => void;
1120
+ errorLocales?: string[];
1121
+ enableErrorHighlight?: boolean;
1122
+ sortLocales?: boolean;
1123
+ priorityLocale?: string;
1124
+ className?: string;
1125
+ visibleLocalesCount?: number;
1126
+ localeButtonWidth?: number;
1127
+ localeGap?: number;
1128
+ }
1129
+ declare function LanguageSelector<T extends LocaleOption = LocaleOption>({ tenant, selectedLocale, onSelectLocale, errorLocales, enableErrorHighlight, sortLocales, priorityLocale, className, visibleLocalesCount, localeButtonWidth, localeGap }: LanguageSelectorProps<T>): react_jsx_runtime.JSX.Element | null;
1130
+
1097
1131
  interface LoadingPageProps {
1098
1132
  /** Custom loading message */
1099
1133
  message?: string;
@@ -2287,4 +2321,15 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
2287
2321
  [K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
2288
2322
  };
2289
2323
 
2290
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionDropdown, type ActionDropdownProps, type ActionItemGroup, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, BuildingIcon, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DateRange, DateTimePicker, type DateTimePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, type DefaultMentionItem, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogClose, DialogCloseButton, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputMention, type InputMentionProps, type InputMentionSerializedState, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, type ListHeaderProps, LoadingPage, type LoadingPageProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, type MentionConfig$1 as MentionConfig, MenuIcon, type MenuItem, type MenuItemType, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default$1 as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, _default as ProgressBar, type ProgressBarProps, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, type RichTextProps, type RichTextSerializedState, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, SearchIcon, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys, TextArea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TransferUserRightsIcon, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserActiveIcon, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserInactiveIcon, UserNameIcon, UserProtectIcon, UsersIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, WorkFlowIcon, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useCarousel, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
2324
+ interface TenantLocale {
2325
+ id: string;
2326
+ tenantId: string | null;
2327
+ locale: string;
2328
+ i18nConfig: Record<string, unknown>;
2329
+ isDefault: boolean;
2330
+ enabled: boolean;
2331
+ createdAt: Date | string;
2332
+ updatedAt: Date | string;
2333
+ }
2334
+
2335
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionDropdown, type ActionDropdownProps, type ActionItemGroup, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, BuildingIcon, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnVirtualizerState, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DateRange, DateTimePicker, type DateTimePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, type DefaultMentionItem, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogClose, DialogCloseButton, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputMention, type InputMentionProps, type InputMentionSerializedState, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, LanguageSelector, type LanguageSelectorProps, type ListHeaderProps, LoadingPage, type LoadingPageProps, type LocaleOption, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, type MentionConfig$1 as MentionConfig, MenuIcon, type MenuItem, type MenuItemType, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default$1 as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, _default as ProgressBar, type ProgressBarProps, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, type RichTextProps, type RichTextSerializedState, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, SearchIcon, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys, type TenantLocale, TextArea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TransferUserRightsIcon, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserActiveIcon, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserInactiveIcon, UserNameIcon, UserProtectIcon, UsersIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, WorkFlowIcon, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useCarousel, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { ClassValue } from 'clsx';
11
11
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
12
12
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
13
13
  import { Header, RowData as RowData$1, Column as Column$1, Table as Table$1, ColumnDef, ColumnFiltersState, OnChangeFn, FilterFnOption, SortingState, ColumnOrderState, VisibilityState, ColumnPinningState, GroupingState, GroupingOptions, ColumnResizeMode, RowSelectionState, Row, ExpandedState, Cell, HeaderGroup, HeaderContext } from '@tanstack/react-table';
14
- import { Virtualizer as Virtualizer$1 } from '@tanstack/react-virtual';
14
+ import { VirtualItem, Virtualizer as Virtualizer$1 } from '@tanstack/react-virtual';
15
15
  import * as DialogPrimitive from '@radix-ui/react-dialog';
16
16
  import { DialogContentProps as DialogContentProps$1 } from '@radix-ui/react-dialog';
17
17
  import { Resource } from 'i18next';
@@ -246,6 +246,15 @@ type ContentSlot = {
246
246
  wrapperProps?: React__default.ComponentProps<"div">;
247
247
  };
248
248
 
249
+ type ColumnVirtualizerState = {
250
+ enabled: false;
251
+ } | {
252
+ enabled: true;
253
+ virtualColumns: VirtualItem[];
254
+ virtualPaddingLeft: number;
255
+ virtualPaddingRight: number;
256
+ };
257
+
249
258
  type ColumnSeparatorProps = {
250
259
  show?: boolean;
251
260
  className?: string;
@@ -332,6 +341,10 @@ type DataTableRowExpansion<TData extends RowData$1> = {
332
341
  type DataTableVirtual = {
333
342
  enabled: boolean;
334
343
  overscan?: number;
344
+ columns?: {
345
+ enabled: boolean;
346
+ overscan?: number;
347
+ };
335
348
  };
336
349
  type Virtualizer = Virtualizer$1<HTMLDivElement, Element>;
337
350
  type DataTableColumnGrouping = {
@@ -463,13 +476,14 @@ type DataTableProps<TData extends RowData$1> = {
463
476
  statusContent?: DataTableStatusContent;
464
477
  tableRef?: React__default.RefObject<Table$1<TData> | null>;
465
478
  virtualizerRef?: React__default.RefObject<Virtualizer>;
479
+ columnVirtualizerRef?: React__default.RefObject<Virtualizer>;
466
480
  isInitialLoading?: boolean;
467
481
  debug?: boolean;
468
482
  rowIdKey?: DataTableRowIdKeyHandler<TData>;
469
483
  childrenKey?: DataTableChildrenKeyHandler<TData>;
470
484
  onRowClick?: DataTableRowClickHandler<TData>;
471
485
  };
472
- declare const DataTable: <TData extends RowData$1>({ tableRef, virtualizerRef, isInitialLoading, columns, data, filters, sorting, columnOrder, columnVisibility, columnPinning, columnGrouping, columnResizing, rowSelection, rowExpansion, virtual, scrollFetch, activeStatusContent, statusContent, rowIdKey, childrenKey, onRowClick, debug, components }: DataTableProps<TData>) => react_jsx_runtime.JSX.Element;
486
+ declare const DataTable: <TData extends RowData$1>({ tableRef, virtualizerRef, columnVirtualizerRef, isInitialLoading, columns, data, filters, sorting, columnOrder, columnVisibility, columnPinning, columnGrouping, columnResizing, rowSelection, rowExpansion, virtual, scrollFetch, activeStatusContent, statusContent, rowIdKey, childrenKey, onRowClick, debug, components }: DataTableProps<TData>) => react_jsx_runtime.JSX.Element;
473
487
 
474
488
  declare module "@tanstack/react-table" {
475
489
  interface ColumnMeta<TData extends RowData> {
@@ -480,6 +494,7 @@ declare module "@tanstack/react-table" {
480
494
  useColumnSizing?: boolean;
481
495
  columnSeparatorProps?: ColumnSeparatorProps;
482
496
  renderColumnFilter?: (props: DataTableColumnFilterProps<TData>) => ReactNode;
497
+ spanRows?: boolean;
483
498
  }
484
499
  }
485
500
 
@@ -496,6 +511,7 @@ declare function resetVisibleTableState(payload: {
496
511
 
497
512
  type SorterProps = {
498
513
  show?: boolean;
514
+ rootClassName?: string;
499
515
  };
500
516
  type HeaderCellProps<TData = any, TValue = any> = {
501
517
  label: React.ReactNode;
@@ -1094,6 +1110,24 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps$
1094
1110
 
1095
1111
  declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
1096
1112
 
1113
+ interface LocaleOption {
1114
+ locale: string;
1115
+ }
1116
+ interface LanguageSelectorProps<T extends LocaleOption = LocaleOption> {
1117
+ tenant: T[];
1118
+ selectedLocale?: string;
1119
+ onSelectLocale: (lang: T) => void;
1120
+ errorLocales?: string[];
1121
+ enableErrorHighlight?: boolean;
1122
+ sortLocales?: boolean;
1123
+ priorityLocale?: string;
1124
+ className?: string;
1125
+ visibleLocalesCount?: number;
1126
+ localeButtonWidth?: number;
1127
+ localeGap?: number;
1128
+ }
1129
+ declare function LanguageSelector<T extends LocaleOption = LocaleOption>({ tenant, selectedLocale, onSelectLocale, errorLocales, enableErrorHighlight, sortLocales, priorityLocale, className, visibleLocalesCount, localeButtonWidth, localeGap }: LanguageSelectorProps<T>): react_jsx_runtime.JSX.Element | null;
1130
+
1097
1131
  interface LoadingPageProps {
1098
1132
  /** Custom loading message */
1099
1133
  message?: string;
@@ -2287,4 +2321,15 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
2287
2321
  [K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
2288
2322
  };
2289
2323
 
2290
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionDropdown, type ActionDropdownProps, type ActionItemGroup, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, BuildingIcon, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DateRange, DateTimePicker, type DateTimePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, type DefaultMentionItem, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogClose, DialogCloseButton, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputMention, type InputMentionProps, type InputMentionSerializedState, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, type ListHeaderProps, LoadingPage, type LoadingPageProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, type MentionConfig$1 as MentionConfig, MenuIcon, type MenuItem, type MenuItemType, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default$1 as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, _default as ProgressBar, type ProgressBarProps, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, type RichTextProps, type RichTextSerializedState, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, SearchIcon, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys, TextArea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TransferUserRightsIcon, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserActiveIcon, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserInactiveIcon, UserNameIcon, UserProtectIcon, UsersIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, WorkFlowIcon, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useCarousel, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
2324
+ interface TenantLocale {
2325
+ id: string;
2326
+ tenantId: string | null;
2327
+ locale: string;
2328
+ i18nConfig: Record<string, unknown>;
2329
+ isDefault: boolean;
2330
+ enabled: boolean;
2331
+ createdAt: Date | string;
2332
+ updatedAt: Date | string;
2333
+ }
2334
+
2335
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionDropdown, type ActionDropdownProps, type ActionItemGroup, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, BuildingIcon, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type ColumnVirtualizerState, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DateRange, DateTimePicker, type DateTimePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, type DefaultMentionItem, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogClose, DialogCloseButton, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputMention, type InputMentionProps, type InputMentionSerializedState, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, LanguageSelector, type LanguageSelectorProps, type ListHeaderProps, LoadingPage, type LoadingPageProps, type LocaleOption, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, type MentionConfig$1 as MentionConfig, MenuIcon, type MenuItem, type MenuItemType, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default$1 as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, _default as ProgressBar, type ProgressBarProps, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, type RichTextProps, type RichTextSerializedState, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, SearchIcon, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys, type TenantLocale, TextArea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TransferUserRightsIcon, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserActiveIcon, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserInactiveIcon, UserNameIcon, UserProtectIcon, UsersIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, WorkFlowIcon, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useCarousel, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };