@rovula/ui 0.1.27 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/cjs/bundle.css +513 -67
  2. package/dist/cjs/bundle.js +589 -589
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/Avatar/Avatar.d.ts +1 -1
  5. package/dist/cjs/types/components/Avatar/Avatar.stories.d.ts +1 -1
  6. package/dist/cjs/types/components/Avatar/Avatar.styles.d.ts +1 -0
  7. package/dist/cjs/types/components/DataTable/DataTable.d.ts +195 -4
  8. package/dist/cjs/types/components/DataTable/DataTable.editing.d.ts +20 -0
  9. package/dist/cjs/types/components/DataTable/DataTable.editing.types.d.ts +145 -0
  10. package/dist/cjs/types/components/DataTable/DataTable.stories.d.ts +268 -6
  11. package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +22 -0
  12. package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +4 -0
  13. package/dist/cjs/types/components/ScrollArea/ScrollArea.d.ts +3 -3
  14. package/dist/cjs/types/components/ScrollArea/ScrollArea.stories.d.ts +4 -0
  15. package/dist/cjs/types/components/Table/Table.d.ts +33 -3
  16. package/dist/cjs/types/components/Table/Table.stories.d.ts +86 -4
  17. package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +8 -0
  18. package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +1 -0
  19. package/dist/components/Avatar/Avatar.js +2 -1
  20. package/dist/components/Avatar/Avatar.styles.js +3 -0
  21. package/dist/components/Avatar/AvatarBase.js +1 -1
  22. package/dist/components/DataTable/DataTable.editing.js +385 -0
  23. package/dist/components/DataTable/DataTable.editing.types.js +1 -0
  24. package/dist/components/DataTable/DataTable.js +983 -50
  25. package/dist/components/DataTable/DataTable.stories.js +1077 -25
  26. package/dist/components/Dropdown/Dropdown.js +8 -6
  27. package/dist/components/ScrollArea/ScrollArea.js +2 -2
  28. package/dist/components/ScrollArea/ScrollArea.stories.js +68 -2
  29. package/dist/components/Table/Table.js +103 -13
  30. package/dist/components/Table/Table.stories.js +226 -9
  31. package/dist/components/TextInput/TextInput.js +6 -4
  32. package/dist/components/TextInput/TextInput.stories.js +8 -0
  33. package/dist/components/TextInput/TextInput.styles.js +7 -1
  34. package/dist/esm/bundle.css +513 -67
  35. package/dist/esm/bundle.js +1545 -1545
  36. package/dist/esm/bundle.js.map +1 -1
  37. package/dist/esm/types/components/Avatar/Avatar.d.ts +1 -1
  38. package/dist/esm/types/components/Avatar/Avatar.stories.d.ts +1 -1
  39. package/dist/esm/types/components/Avatar/Avatar.styles.d.ts +1 -0
  40. package/dist/esm/types/components/DataTable/DataTable.d.ts +195 -4
  41. package/dist/esm/types/components/DataTable/DataTable.editing.d.ts +20 -0
  42. package/dist/esm/types/components/DataTable/DataTable.editing.types.d.ts +145 -0
  43. package/dist/esm/types/components/DataTable/DataTable.stories.d.ts +268 -6
  44. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +22 -0
  45. package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +4 -0
  46. package/dist/esm/types/components/ScrollArea/ScrollArea.d.ts +3 -3
  47. package/dist/esm/types/components/ScrollArea/ScrollArea.stories.d.ts +4 -0
  48. package/dist/esm/types/components/Table/Table.d.ts +33 -3
  49. package/dist/esm/types/components/Table/Table.stories.d.ts +86 -4
  50. package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +8 -0
  51. package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +1 -0
  52. package/dist/index.d.ts +493 -122
  53. package/dist/src/theme/global.css +762 -96
  54. package/package.json +14 -2
  55. package/src/components/Avatar/Avatar.styles.ts +4 -1
  56. package/src/components/Avatar/Avatar.tsx +3 -2
  57. package/src/components/Avatar/AvatarBase.tsx +3 -3
  58. package/src/components/DataTable/DataTable.editing.tsx +861 -0
  59. package/src/components/DataTable/DataTable.editing.types.ts +192 -0
  60. package/src/components/DataTable/DataTable.stories.tsx +2169 -31
  61. package/src/components/DataTable/DataTable.test.tsx +696 -0
  62. package/src/components/DataTable/DataTable.tsx +2260 -94
  63. package/src/components/Dropdown/Dropdown.tsx +22 -6
  64. package/src/components/ScrollArea/ScrollArea.stories.tsx +146 -3
  65. package/src/components/ScrollArea/ScrollArea.tsx +6 -6
  66. package/src/components/Table/Table.stories.tsx +789 -44
  67. package/src/components/Table/Table.tsx +294 -28
  68. package/src/components/TextInput/TextInput.stories.tsx +80 -0
  69. package/src/components/TextInput/TextInput.styles.ts +7 -1
  70. package/src/components/TextInput/TextInput.tsx +21 -14
  71. package/src/test/setup.ts +50 -0
  72. package/src/theme/global.css +81 -42
  73. package/src/theme/presets/colors.js +12 -0
  74. package/src/theme/themes/variable.css +27 -28
  75. package/src/theme/tokens/baseline.css +2 -1
  76. package/src/theme/tokens/components/scrollbar.css +9 -4
  77. package/src/theme/tokens/components/table.css +63 -0
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import * as React$1 from 'react';
2
2
  import React__default, { ReactElement, ReactNode, FC, ComponentPropsWithoutRef, CSSProperties, HTMLAttributes, FormHTMLAttributes, ComponentType } from 'react';
3
3
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
4
4
  import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
@@ -7,7 +7,9 @@ import { VariantProps } from 'class-variance-authority';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
8
  import { DayPicker, Modifiers } from 'react-day-picker';
9
9
  import * as PopoverPrimitive from '@radix-ui/react-popover';
10
- import { ColumnDef, SortingState } from '@tanstack/react-table';
10
+ import { RowData, Row, ColumnDef, SortingState, PaginationState, RowSelectionState, Cell, ExpandedState, Header } from '@tanstack/react-table';
11
+ export { Cell, ColumnDef, ExpandedState, Header, PaginationState, Row, RowData, RowSelectionState, SortingState, Table as TanstackTable } from '@tanstack/react-table';
12
+ import { Options as Options$2 } from '@/components/Dropdown/Dropdown';
11
13
  import * as DialogPrimitive from '@radix-ui/react-dialog';
12
14
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
13
15
  import * as SliderPrimitive from '@radix-ui/react-slider';
@@ -416,6 +418,17 @@ type DropdownProps = {
416
418
  selectedOption: Options$1 | null | undefined;
417
419
  onClick: (option: Options$1) => void;
418
420
  }) => ReactNode;
421
+ /**
422
+ * When `true`, keep focus on the input after selecting an option so the
423
+ * menu stays open (useful for inline row-editing where the user may Tab
424
+ * to the next field instead of closing the dropdown).
425
+ */
426
+ keepOpenAfterSelect?: boolean;
427
+ /**
428
+ * Render the options list via a React portal so it escapes containers
429
+ * with `overflow: hidden/auto` (e.g. DataTable scroll wrappers).
430
+ */
431
+ portal?: boolean;
419
432
  } & Omit<InputProps, "value" | "onSelect">;
420
433
  declare const Dropdown: React__default.ForwardRefExoticComponent<{
421
434
  id?: string;
@@ -446,16 +459,27 @@ declare const Dropdown: React__default.ForwardRefExoticComponent<{
446
459
  selectedOption: Options$1 | null | undefined;
447
460
  onClick: (option: Options$1) => void;
448
461
  }) => ReactNode;
462
+ /**
463
+ * When `true`, keep focus on the input after selecting an option so the
464
+ * menu stays open (useful for inline row-editing where the user may Tab
465
+ * to the next field instead of closing the dropdown).
466
+ */
467
+ keepOpenAfterSelect?: boolean;
468
+ /**
469
+ * Render the options list via a React portal so it escapes containers
470
+ * with `overflow: hidden/auto` (e.g. DataTable scroll wrappers).
471
+ */
472
+ portal?: boolean;
449
473
  } & Omit<InputProps, "onSelect" | "value"> & React__default.RefAttributes<HTMLInputElement>>;
450
474
 
451
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
475
+ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
452
476
 
453
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
477
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ({
454
478
  size?: "sm" | "md" | "lg" | null | undefined;
455
479
  disabled?: boolean | null | undefined;
456
480
  error?: boolean | null | undefined;
457
481
  isFloatable?: boolean | null | undefined;
458
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
482
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
459
483
 
460
484
  declare const Input: React__default.ForwardRefExoticComponent<{
461
485
  size?: "sm" | "md" | "lg";
@@ -522,15 +546,15 @@ declare const ActionButton: React__default.ForwardRefExoticComponent<{
522
546
  type BaseAvatarProps = {
523
547
  imageUrl?: string;
524
548
  text?: string;
525
- fallback?: React.ReactNode;
526
- icon?: React.ReactNode;
527
- children?: React.ReactNode;
549
+ fallback?: React$1.ReactNode;
550
+ icon?: React$1.ReactNode;
551
+ children?: React$1.ReactNode;
528
552
  size?: "xxs" | "xs" | "sm" | "md" | "lg";
529
553
  rounded?: "full" | "normal" | "none";
530
554
  className?: string;
531
555
  imageClassName?: string;
532
556
  fallbackClassName?: string;
533
- style?: React.CSSProperties;
557
+ style?: React$1.CSSProperties;
534
558
  };
535
559
  type AvatarTextProps = {
536
560
  text: string;
@@ -538,15 +562,15 @@ type AvatarTextProps = {
538
562
  } & BaseAvatarProps;
539
563
  type AvatarImageProps = {
540
564
  imageUrl: string;
541
- fallback: React.ReactNode;
565
+ fallback: React$1.ReactNode;
542
566
  type: "image";
543
567
  } & BaseAvatarProps;
544
568
  type AvatarIconProps = {
545
- icon: string;
569
+ icon: React$1.ReactNode;
546
570
  type: "icon";
547
571
  } & BaseAvatarProps;
548
572
  type AvatarProps = AvatarTextProps | AvatarImageProps | AvatarIconProps;
549
- declare const Avatar: React.FC<AvatarProps>;
573
+ declare const Avatar: React$1.FC<AvatarProps>;
550
574
 
551
575
  type AvatarGroupProps = {
552
576
  maxDisplay?: number;
@@ -572,8 +596,8 @@ type BadgeProps = {
572
596
  /** Optional percentage value shown below the label */
573
597
  percent?: number;
574
598
  className?: string;
575
- } & React.HTMLAttributes<HTMLSpanElement>;
576
- declare const Badge: React.ForwardRefExoticComponent<{
599
+ } & React$1.HTMLAttributes<HTMLSpanElement>;
600
+ declare const Badge: React$1.ForwardRefExoticComponent<{
577
601
  /** Badge text label */
578
602
  label: string;
579
603
  /** Color variant */
@@ -586,16 +610,16 @@ declare const Badge: React.ForwardRefExoticComponent<{
586
610
  /** Optional percentage value shown below the label */
587
611
  percent?: number;
588
612
  className?: string;
589
- } & React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
613
+ } & React$1.HTMLAttributes<HTMLSpanElement> & React$1.RefAttributes<HTMLSpanElement>>;
590
614
  type SeverityLevel = "highest" | "high" | "medium" | "low" | "lowest";
591
615
  type SeverityBadgeProps = {
592
616
  severity: SeverityLevel;
593
617
  className?: string;
594
- } & React.HTMLAttributes<HTMLSpanElement>;
595
- declare const SeverityBadge: React.ForwardRefExoticComponent<{
618
+ } & React$1.HTMLAttributes<HTMLSpanElement>;
619
+ declare const SeverityBadge: React$1.ForwardRefExoticComponent<{
596
620
  severity: SeverityLevel;
597
621
  className?: string;
598
- } & React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
622
+ } & React$1.HTMLAttributes<HTMLSpanElement> & React$1.RefAttributes<HTMLSpanElement>>;
599
623
 
600
624
  declare const CollapsibleButton: React__default.ForwardRefExoticComponent<{
601
625
  children: React__default.ReactNode;
@@ -619,15 +643,15 @@ interface CollapsibleProps {
619
643
  }
620
644
  declare const Collapsible: CollapsibleComponent;
621
645
 
622
- type CalendarProps = React.ComponentProps<typeof DayPicker>;
646
+ type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
623
647
  declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
624
648
  declare namespace Calendar {
625
649
  var displayName: string;
626
650
  }
627
651
 
628
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
629
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
630
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
652
+ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
653
+ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
654
+ declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
631
655
 
632
656
  type DatePickerProps = {
633
657
  date: Date | undefined;
@@ -713,70 +737,417 @@ type IconProps = {
713
737
  } & React__default.SVGProps<SVGSVGElement>;
714
738
  declare const Icon: React__default.FC<IconProps>;
715
739
 
716
- declare const Table: React.ForwardRefExoticComponent<{
740
+ declare const Table: React$1.ForwardRefExoticComponent<{
717
741
  rootClassName?: string;
718
- rootRef?: React.LegacyRef<HTMLDivElement>;
719
- } & React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
720
- declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
721
- declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
722
- declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
723
- declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
724
- declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
725
- declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
726
- declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
742
+ rootRef?: React$1.LegacyRef<HTMLDivElement>;
743
+ /**
744
+ * Wraps the table in a rounded frame (`rounded-md` + `border-table-c-border`).
745
+ * Uses an outer `overflow-hidden` shell and an inner scroll area so corners clip
746
+ * cleanly (same pattern as scrollable bordered tables elsewhere in the system).
747
+ * For pagination in the same frame, wrap `Table` + `TablePagination` in your own
748
+ * bordered div instead of relying on this prop alone.
749
+ */
750
+ bordered?: boolean;
751
+ /**
752
+ * When false, render only `<table>` (no inner `overflow-auto` wrapper).
753
+ * Use when a parent already provides the scrollport — e.g. `DataTable` — so
754
+ * `sticky` header rows stick to the correct ancestor.
755
+ * Ignored when `bordered` is true (bordered tables always use the inner scroll shell).
756
+ */
757
+ scrollableWrapper?: boolean;
758
+ } & React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
759
+ declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
760
+ declare const TableBody: React$1.ForwardRefExoticComponent<{
761
+ striped?: boolean;
762
+ } & React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
763
+ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
764
+ declare const TableRow: React$1.ForwardRefExoticComponent<{
765
+ divided?: boolean;
766
+ colDivided?: boolean;
767
+ } & React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
768
+ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
769
+ declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
770
+ declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
771
+ interface TablePaginationProps {
772
+ pageIndex: number;
773
+ pageSize: number;
774
+ totalCount: number;
775
+ pageSizeOptions?: number[];
776
+ onPageChange: (pageIndex: number) => void;
777
+ onPageSizeChange: (pageSize: number) => void;
778
+ className?: string;
779
+ }
780
+ declare const TablePagination: React$1.ForwardRefExoticComponent<TablePaginationProps & React$1.RefAttributes<HTMLDivElement>>;
781
+
782
+ type EditDisplayMode = "cell" | "row";
783
+ type EditTrigger = "click" | "doubleClick";
784
+ type EditableColumnDef<TData extends RowData = RowData, TValue = unknown> = ColumnDef<TData, TValue> & {
785
+ /**
786
+ * Enable inline editing for this column.
787
+ * - `true` — always editable
788
+ * - `(row) => boolean` — conditionally editable (e.g. dependent fields)
789
+ */
790
+ enableEditing?: boolean | ((row: Row<TData>) => boolean);
791
+ /**
792
+ * Which built-in editor to render.
793
+ * - `"text"` — `TextInput` (default when `enableEditing` is truthy)
794
+ * - `"select"` — `Dropdown`
795
+ * - `"number"` — `NumberInput`
796
+ * - `"checkbox"` — `Checkbox`
797
+ * - `"custom"` — user-provided renderer via `editCustomCell`
798
+ */
799
+ editVariant?: "text" | "select" | "number" | "checkbox" | "custom";
800
+ /** Props forwarded to the `TextInput` editor (variant `"text"`). */
801
+ editTextProps?: {
802
+ placeholder?: string;
803
+ };
804
+ /** Props forwarded to the `Dropdown` editor (variant `"select"`). */
805
+ editSelectProps?: {
806
+ options: Options$2[] | ((row: Row<TData>) => Options$2[]);
807
+ placeholder?: string;
808
+ };
809
+ /** Props forwarded to the `NumberInput` editor (variant `"number"`). */
810
+ editNumberProps?: {
811
+ placeholder?: string;
812
+ min?: number;
813
+ max?: number;
814
+ step?: number;
815
+ precision?: number;
816
+ allowDecimal?: boolean;
817
+ allowNegative?: boolean;
818
+ };
819
+ /** Props forwarded to the `Checkbox` editor (variant `"checkbox"`). */
820
+ editCheckboxProps?: {
821
+ label?: string;
822
+ };
823
+ /**
824
+ * Render function for a fully custom edit cell (variant `"custom"`).
825
+ *
826
+ * Receives the current row and a `commit` callback. Call `commit(rawValue)`
827
+ * to persist the change — the engine will run `onCommit` / `buildPatch`
828
+ * as usual.
829
+ *
830
+ * ```tsx
831
+ * editCustomCell: (row, { commit, errorMessage }) => (
832
+ * <MyColorPicker
833
+ * value={row.original.color}
834
+ * onChange={(c) => commit(c)}
835
+ * error={errorMessage}
836
+ * />
837
+ * )
838
+ * ```
839
+ */
840
+ editCustomCell?: (row: Row<TData>, ctx: {
841
+ /** Persist the edited value — runs `onCommit` / `buildPatch` as usual. */
842
+ commit: (rawValue: string) => void;
843
+ /** Exit edit mode without committing (same as pressing Escape). */
844
+ blur: () => void;
845
+ columnId: string;
846
+ autoFocus: boolean;
847
+ errorMessage?: string;
848
+ onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void;
849
+ }) => React.ReactNode;
850
+ /**
851
+ * Return an error message for the current cell value to display inline
852
+ * validation feedback. Return `undefined` or empty string when valid.
853
+ */
854
+ editError?: (row: Row<TData>) => string | undefined;
855
+ /**
856
+ * Build a custom `Partial<TData>` patch from the raw committed value.
857
+ * When omitted the engine defaults to `{ [columnId]: rawValue }`.
858
+ *
859
+ * Use this for dependent-field resets, value transforms, etc.
860
+ *
861
+ * ```ts
862
+ * onCommit: (_row, value) => ({
863
+ * dataCategory: value,
864
+ * dataType: "", format: "", source: "",
865
+ * })
866
+ * ```
867
+ */
868
+ onCommit?: (row: Row<TData>, value: string) => Partial<TData>;
869
+ /**
870
+ * When `true`, a cell whose `enableEditing` returns `false` renders a
871
+ * **disabled** TextInput / Dropdown (matching `editVariant`) instead of
872
+ * falling back to `displayCell` or plain text.
873
+ */
874
+ editShowDisabledField?: boolean;
875
+ /**
876
+ * Custom preview renderer shown when the cell is **not** in edit mode.
877
+ * Defaults to the plain string value of `row.original[key]`.
878
+ */
879
+ displayCell?: (row: Row<TData>) => React.ReactNode;
880
+ };
881
+ interface DataTableEditingProps<TData extends RowData = RowData> {
882
+ /** Master switch — set `true` to enable editing features. */
883
+ enableEditing?: boolean;
884
+ /** How editing is activated visually. @default "cell" */
885
+ editDisplayMode?: EditDisplayMode;
886
+ /** Gesture that enters edit mode. @default "click" */
887
+ editTrigger?: EditTrigger;
888
+ /**
889
+ * Called every time a cell commits a new value. The `patch` object is
890
+ * built from the column's `commitResets` / `mapCommitValue` or defaults
891
+ * to `{ [columnId]: rawValue }`.
892
+ */
893
+ onCellCommit?: (rowId: string, columnId: string, patch: Partial<TData>) => void;
894
+ /**
895
+ * Rows that return `true` render their editable columns in edit mode
896
+ * **permanently** (e.g. an "add" footer row).
897
+ */
898
+ alwaysEditing?: (row: Row<TData>) => boolean;
899
+ /**
900
+ * When `true` (the default when `enableEditing` is set), Tab / Shift+Tab
901
+ * inside an editing cell moves focus to the next / previous editable
902
+ * column in the same row.
903
+ */
904
+ enableCellTabTraversal?: boolean;
905
+ /**
906
+ * Explicit ordered list of column ids for Tab traversal. When omitted
907
+ * the engine auto-detects editable columns in definition order.
908
+ */
909
+ editableColumnIds?: string[];
910
+ }
727
911
 
728
- interface DataTableProps<TData, TValue> {
729
- columns: ColumnDef<TData, TValue>[];
912
+ declare module "@tanstack/react-table" {
913
+ interface ColumnMeta<TData extends RowData, TValue> {
914
+ exactWidth?: number | string;
915
+ align?: "left" | "center" | "right";
916
+ cellClassName?: string;
917
+ headerCellClassName?: string;
918
+ colSpan?: number | ((row: Row<TData>) => number);
919
+ }
920
+ }
921
+
922
+ type DataTablePaginationMode = "server" | "client" | "infinite";
923
+ interface DataTableProps<TData, TValue> extends DataTableEditingProps<TData> {
924
+ columns: (ColumnDef<TData, TValue> | EditableColumnDef<TData, TValue>)[];
730
925
  data: TData[];
731
926
  manualSorting?: boolean;
732
927
  onSorting?: (sorting: SortingState) => void;
928
+ /**
929
+ * "client" – DataTable manages page state internally with TanStack
930
+ * "server" – caller controls page state; pass pageIndex/pageSize/totalCount
931
+ * "infinite" – no pagination bar; fetchMoreData enables infinite scroll
932
+ */
933
+ paginationMode?: DataTablePaginationMode;
934
+ /** Required for "server" mode */
935
+ totalCount?: number;
936
+ pageIndex?: number;
937
+ pageSize?: number;
938
+ onPaginationChange?: (state: PaginationState) => void;
939
+ pageSizeOptions?: number[];
940
+ /** Called when user scrolls near bottom (infinite mode). */
733
941
  fetchMoreData?: () => void;
942
+ /**
943
+ * Threshold in pixels from the bottom of the scroll container at which
944
+ * `fetchMoreData` is triggered. Defaults to 10px.
945
+ */
946
+ fetchMoreOffset?: number;
947
+ /**
948
+ * When `paginationMode` is `"infinite"`, shows a built-in footer row (spinner +
949
+ * label) and suppresses additional `fetchMoreData` calls until this is false again.
950
+ */
951
+ fetchingMore?: boolean;
952
+ /** Accessible label next to the spinner (default: "Loading more…"). */
953
+ fetchingMoreLabel?: string;
954
+ /**
955
+ * When there are no rows yet, shows a built-in loading state instead of the
956
+ * empty placeholder. Also suppresses `fetchMoreData` while true (infinite mode).
957
+ */
958
+ loading?: boolean;
959
+ /** Label for the initial-loading state (default: "Loading…"). */
960
+ loadingLabel?: string;
961
+ /**
962
+ * When true, DataTable will only render a vertical window of rows based on
963
+ * the scroll position of its internal scroll container. This is a basic
964
+ * fixed-row-height virtualizer intended for large but finite lists.
965
+ *
966
+ * Notes / limitations:
967
+ * - Only vertical row virtualization is supported.
968
+ * - Assumes approximately fixed row height; pass `virtualRowEstimate` to tune.
969
+ * - Works with selection, row actions, and basic infinite scroll, but more
970
+ * complex combinations (tree rows, reorder, etc.) may have visual quirks.
971
+ */
972
+ virtualized?: boolean;
973
+ /**
974
+ * Estimated height in pixels for a single table row when `virtualized` is
975
+ * true. Used to compute how many rows fit in the viewport and the spacer
976
+ * heights above/below the rendered window.
977
+ * @default 40
978
+ */
979
+ virtualRowEstimate?: number;
980
+ /**
981
+ * Optional row id(s) to highlight visually. Highlighting is purely cosmetic
982
+ * and does not affect selection state.
983
+ */
984
+ highlightRowId?: string | string[];
985
+ /**
986
+ * When true and `highlightRowId` is set, moving the mouse pointer out of the
987
+ * scroll area will automatically scroll the first highlighted row back into
988
+ * view (centered).
989
+ */
990
+ scrollToHighlightOnMouseLeave?: boolean;
991
+ selectable?: boolean;
992
+ onRowSelectionChange?: (rows: RowSelectionState) => void;
993
+ /** Render actions into the last fixed-width column. Receives the TanStack Row. */
994
+ rowActions?: (row: Row<TData>) => React__default.ReactNode;
995
+ /**
996
+ * Enable drag-to-reorder rows. A grip handle column is prepended automatically.
997
+ * Requires each data item to have a unique `id` field (string | number)
998
+ * or supply `getRowId` to derive one.
999
+ */
1000
+ reorderable?: boolean;
1001
+ /** Return a unique string id for each row. Defaults to `(row) => row.id`. */
1002
+ getRowId?: (row: TData) => string;
1003
+ /** Called after the user drops a row into a new position. Receives the reordered data array. */
1004
+ onRowReorder?: (data: TData[]) => void;
1005
+ /**
1006
+ * When `reorderable`, rows that return `true` are not draggable and are
1007
+ * omitted from the sortable context (e.g. a pinned footer "add" row).
1008
+ * Those rows are also kept **after** all sortable rows whenever column sort
1009
+ * is applied (order among locked rows follows original `data` order).
1010
+ */
1011
+ isRowReorderLocked?: (row: Row<TData>) => boolean;
1012
+ /** Fired when a body row is clicked. */
1013
+ onRowClick?: (row: Row<TData>, event: React__default.MouseEvent) => void;
1014
+ /** Fired when an individual body cell is clicked. */
1015
+ onCellClick?: (cell: Cell<TData, unknown>, row: Row<TData>, event: React__default.MouseEvent) => void;
1016
+ /** Return child rows to enable tree expansion */
1017
+ getSubRows?: (row: TData) => TData[] | undefined;
1018
+ /** Initial expanded state — `true` = all expanded, `{}` = all collapsed (uncontrolled) */
1019
+ defaultExpanded?: ExpandedState | boolean;
1020
+ /** Controlled expanded state — omit to let DataTable manage internally */
1021
+ expanded?: ExpandedState;
1022
+ onExpandedChange?: (expanded: ExpandedState) => void;
1023
+ /**
1024
+ * Rounded frame + `border-table-c-border` around the scroll area and pagination
1025
+ * (same token as primitive `Table` `bordered`). Set `false` when embedding in
1026
+ * another bordered surface.
1027
+ */
1028
+ bordered?: boolean;
1029
+ /**
1030
+ * `"panel"` sets `data-surface="panel"` for table token overrides (modal /
1031
+ * drawer). `"default"` leaves surface to ancestors.
1032
+ */
1033
+ surface?: "default" | "panel";
1034
+ /** Alternate row background colours (RowA / RowB) */
1035
+ striped?: boolean;
1036
+ /** Add vertical column dividers */
1037
+ divided?: boolean;
1038
+ /** Return a className string to apply to a specific body row. */
1039
+ rowClassName?: (row: Row<TData>, index: number) => string | undefined;
1040
+ /** Return a className string to apply to a specific body cell. */
1041
+ cellClassName?: (cell: Cell<TData, unknown>, row: Row<TData>) => string | undefined;
1042
+ /** Return a className string to apply to a specific column header cell (`<th>`). */
1043
+ headerCellClassName?: (header: Header<TData, unknown>) => string | undefined;
1044
+ /** Additional className for the header section (`<thead>`). */
1045
+ headerClassName?: string;
1046
+ /** Additional className for the header row (`<tr>` inside `<thead>`). */
1047
+ headerRowClassName?: string;
1048
+ /**
1049
+ * Controls when the sort indicator button is visible on sortable columns.
1050
+ * - `"hover"` – shown only when hovering the column header (default)
1051
+ * - `"always"` – always visible
1052
+ */
1053
+ sortIndicatorVisibility?: "always" | "hover";
1054
+ /**
1055
+ * CSS `table-layout` mode.
1056
+ * - `"auto"` – browser sizes columns based on content (default)
1057
+ * - `"fixed"` – non-`exactWidth` columns use their `size` as pixel widths;
1058
+ * the **last** visible non-exact column absorbs leftover width so the table
1059
+ * stays full-width. `meta.exactWidth` (px) columns stay locked.
1060
+ * - `"equal"` – all visible columns without `meta.exactWidth` share the
1061
+ * remaining table width equally via
1062
+ * `calc((100% - <sum of exactWidth>px) / <flex column count>)`.
1063
+ * Columns with `meta.exactWidth` are still locked to their exact value.
1064
+ * With `resizable`, drag-to-resize is disabled for `equal` so widths stay
1065
+ * equal; `fixed`/`auto` keep column resize handles.
1066
+ */
1067
+ tableLayout?: "auto" | "fixed" | "equal";
1068
+ /**
1069
+ * Show a column menu (⋮) on each hideable column header: first a dropdown
1070
+ * (“Hide … column”, “Manage columns”), then the full manage panel from the
1071
+ * second action. Pass `true` or `ColumnManagementOptions` to tune features.
1072
+ */
1073
+ columnManagement?: boolean | ColumnManagementOptions;
1074
+ /** Allow user to drag-resize column widths */
1075
+ resizable?: boolean;
1076
+ /**
1077
+ * Global minimum column width in pixels when `resizable` is true.
1078
+ * Individual columns can override with `minSize` in their column def.
1079
+ * @default 60
1080
+ */
1081
+ columnMinSize?: number;
1082
+ /**
1083
+ * Global maximum column width in pixels when `resizable` is true.
1084
+ * Individual columns can override with `maxSize` in their column def.
1085
+ * @default Number.MAX_SAFE_INTEGER (no limit)
1086
+ */
1087
+ columnMaxSize?: number;
1088
+ className?: string;
1089
+ /**
1090
+ * Sets `data-testid` on the root container and derives sub-ids for the
1091
+ * table (`{testId}-table`), header (`{testId}-thead`), body (`{testId}-tbody`),
1092
+ * rows (`{testId}-row-{rowId}`), and cells (`{testId}-cell-{rowId}-{colId}`).
1093
+ */
1094
+ testId?: string;
1095
+ }
1096
+ interface ColumnManagementOptions {
1097
+ /** Show drag-handle to reorder columns. @default true */
1098
+ reorder?: boolean;
1099
+ /** Show per-column visibility Switch. @default true */
1100
+ visibility?: boolean;
1101
+ /** Show "Hide all" button. @default true */
1102
+ hideAll?: boolean;
1103
+ /** Show "Show all" button. @default true */
1104
+ showAll?: boolean;
734
1105
  }
735
- declare function DataTable<TData, TValue>({ data, columns, manualSorting, onSorting, fetchMoreData, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
1106
+ declare function DataTable<TData, TValue>({ data, columns, manualSorting, onSorting, paginationMode, totalCount, pageIndex: controlledPageIndex, pageSize: controlledPageSize, onPaginationChange, pageSizeOptions, fetchMoreData, fetchMoreOffset, fetchingMore, fetchingMoreLabel, loading, loadingLabel, highlightRowId, scrollToHighlightOnMouseLeave, selectable, onRowSelectionChange, rowActions, reorderable, getRowId: getRowIdProp, onRowReorder, isRowReorderLocked, onRowClick, onCellClick, getSubRows, defaultExpanded, expanded: controlledExpanded, onExpandedChange, bordered, surface, striped, divided, rowClassName, cellClassName, headerCellClassName, headerClassName, headerRowClassName, sortIndicatorVisibility, tableLayout, columnManagement: columnManagementProp, resizable, columnMinSize, columnMaxSize, virtualized, virtualRowEstimate, className, enableEditing, editDisplayMode, editTrigger, onCellCommit, alwaysEditing, enableCellTabTraversal, editableColumnIds: editableColumnIdsProp, testId, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
736
1107
 
737
- declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
738
- declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
739
- declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
740
- declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
741
- declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
742
- declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1108
+ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
1109
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1110
+ declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
1111
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
1112
+ declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1113
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
743
1114
  showCloseButton?: boolean;
744
1115
  closeButtonClassName?: string;
745
- } & React.RefAttributes<HTMLDivElement>>;
1116
+ } & React$1.RefAttributes<HTMLDivElement>>;
746
1117
  declare const DialogHeader: {
747
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1118
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
748
1119
  displayName: string;
749
1120
  };
750
1121
  declare const DialogBody: {
751
- ({ className, scrollable, ...props }: React.HTMLAttributes<HTMLDivElement> & {
1122
+ ({ className, scrollable, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
752
1123
  scrollable?: boolean;
753
1124
  }): react_jsx_runtime.JSX.Element;
754
1125
  displayName: string;
755
1126
  };
756
1127
  declare const DialogFooter: {
757
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1128
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
758
1129
  displayName: string;
759
1130
  };
760
- declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
761
- declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
1131
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
1132
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
762
1133
 
763
- declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
764
- declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
765
- declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
766
- declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
767
- declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1134
+ declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
1135
+ declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1136
+ declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
1137
+ declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1138
+ declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
768
1139
  declare const AlertDialogHeader: {
769
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1140
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
770
1141
  displayName: string;
771
1142
  };
772
1143
  declare const AlertDialogFooter: {
773
- ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
1144
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
774
1145
  displayName: string;
775
1146
  };
776
- declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
777
- declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
778
- declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
779
- declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1147
+ declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
1148
+ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
1149
+ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1150
+ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
780
1151
 
781
1152
  type SearchProps = {
782
1153
  id?: string;
@@ -885,55 +1256,55 @@ declare const InputFilter: React__default.ForwardRefExoticComponent<{
885
1256
  }) => ReactNode;
886
1257
  } & Omit<InputProps, "onSelect" | "value"> & React__default.RefAttributes<HTMLInputElement>>;
887
1258
 
888
- interface CustomSliderProps extends React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
1259
+ interface CustomSliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> {
889
1260
  trackClassName?: string;
890
1261
  rangeClassName?: string;
891
1262
  thumbClassName?: string;
892
- trackStyle?: React.CSSProperties;
893
- thumbStyle?: React.CSSProperties;
894
- rangeStyle?: React.CSSProperties;
1263
+ trackStyle?: React$1.CSSProperties;
1264
+ thumbStyle?: React$1.CSSProperties;
1265
+ rangeStyle?: React$1.CSSProperties;
895
1266
  }
896
- declare const Slider: React.ForwardRefExoticComponent<CustomSliderProps & React.RefAttributes<HTMLSpanElement>>;
897
- type SliderProps = React.ComponentProps<typeof Slider>;
1267
+ declare const Slider: React$1.ForwardRefExoticComponent<CustomSliderProps & React$1.RefAttributes<HTMLSpanElement>>;
1268
+ type SliderProps = React$1.ComponentProps<typeof Slider>;
898
1269
 
899
- declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
1270
+ declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
900
1271
  forceHover?: boolean;
901
- } & React.RefAttributes<HTMLButtonElement>>;
1272
+ } & React$1.RefAttributes<HTMLButtonElement>>;
902
1273
 
903
- declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
904
- declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
905
- declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
906
- declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
907
- declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
908
- declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
909
- declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1274
+ declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
1275
+ declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1276
+ declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1277
+ declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
1278
+ declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
1279
+ declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
1280
+ declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
910
1281
  inset?: boolean;
911
- } & React.RefAttributes<HTMLDivElement>>;
912
- declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
913
- declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
914
- declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1282
+ } & React$1.RefAttributes<HTMLDivElement>>;
1283
+ declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1284
+ declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1285
+ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
915
1286
  inset?: boolean;
916
1287
  selected?: boolean;
917
- icon?: React.ReactNode;
918
- } & React.RefAttributes<HTMLDivElement>>;
919
- declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
920
- declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
921
- icon?: React.ReactNode;
922
- } & React.RefAttributes<HTMLDivElement>>;
923
- declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
1288
+ icon?: React$1.ReactNode;
1289
+ } & React$1.RefAttributes<HTMLDivElement>>;
1290
+ declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1291
+ declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1292
+ icon?: React$1.ReactNode;
1293
+ } & React$1.RefAttributes<HTMLDivElement>>;
1294
+ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
924
1295
  inset?: boolean;
925
- } & React.RefAttributes<HTMLDivElement>>;
926
- declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1296
+ } & React$1.RefAttributes<HTMLDivElement>>;
1297
+ declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
927
1298
  declare const DropdownMenuShortcut: {
928
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
1299
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
929
1300
  displayName: string;
930
1301
  };
931
1302
 
932
- declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
933
- declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
934
- declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
935
- declare const TooltipArrow: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>>;
936
- declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1303
+ declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
1304
+ declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
1305
+ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1306
+ declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
1307
+ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
937
1308
 
938
1309
  interface TooltipProps {
939
1310
  children: ReactNode;
@@ -947,20 +1318,20 @@ interface TooltipProps {
947
1318
  }
948
1319
  declare function TooltipSimple({ children, content, open, defaultOpen, onOpenChange, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
949
1320
 
950
- declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
951
- declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & VariantProps<(props?: ({
1321
+ declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
1322
+ declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & VariantProps<(props?: ({
952
1323
  position?: "top-center" | "top-left" | "top-right" | "bottom-center" | "bottom-left" | "bottom-right" | null | undefined;
953
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLOListElement>>;
954
- declare const Toast$1: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
1324
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLOListElement>>;
1325
+ declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
955
1326
  variant?: "default" | "success" | "info" | "warning" | "error" | null | undefined;
956
1327
  showBorder?: boolean | null | undefined;
957
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
958
- declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
959
- declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
960
- declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
961
- declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
962
- type ToastProps = React.ComponentPropsWithoutRef<typeof Toast$1>;
963
- type ToastActionElement = React.ReactElement<typeof ToastAction>;
1328
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
1329
+ declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1330
+ declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1331
+ declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1332
+ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1333
+ type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
1334
+ type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
964
1335
 
965
1336
  type ToasterProps = {
966
1337
  viewportClassName?: string;
@@ -974,13 +1345,13 @@ declare function Toaster({ viewportClassName, titleClassName, descriptionClassNa
974
1345
 
975
1346
  type ToasterToast = ToastProps & {
976
1347
  id: string;
977
- title?: React.ReactNode;
978
- description?: React.ReactNode;
1348
+ title?: React$1.ReactNode;
1349
+ description?: React$1.ReactNode;
979
1350
  action?: ToastActionElement;
980
1351
  contentMode?: "vertical" | "horizontal";
981
1352
  onClose?: () => void;
982
1353
  iconProps?: IconProps;
983
- renderIcon?: () => React.ReactElement;
1354
+ renderIcon?: () => React$1.ReactElement;
984
1355
  };
985
1356
  type ToasterPosition = "top-center" | "top-left" | "top-right" | "bottom-center" | "bottom-left" | "bottom-right" | undefined;
986
1357
  declare const actionTypes: {
@@ -1142,12 +1513,12 @@ type FocusedScrollViewProps = {
1142
1513
  declare const FocusedScrollView: React__default.FC<FocusedScrollViewProps>;
1143
1514
 
1144
1515
  type ScrollbarSize = "m" | "s" | "xs";
1145
- interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement> {
1516
+ interface ScrollAreaProps extends React$1.HTMLAttributes<HTMLDivElement> {
1146
1517
  /**
1147
1518
  * Scrollbar thickness.
1148
- * - `m` — 12 px (shows track border)
1149
- * - `s` — 6 px (default, shows no track border)
1150
- * - `xs` — 2 px (shows no track border)
1519
+ * - `m` — 12 px (default, shows track border + 2px thumb inset)
1520
+ * - `s` — 6 px (shows track border + 2px thumb inset)
1521
+ * - `xs` — 2 px (no track border, no thumb inset)
1151
1522
  */
1152
1523
  scrollbarSize?: ScrollbarSize;
1153
1524
  /**
@@ -1177,10 +1548,10 @@ interface ScrollAreaProps extends React.HTMLAttributes<HTMLDivElement> {
1177
1548
  * <ScrollArea className="max-h-[160px]">...section B items...</ScrollArea>
1178
1549
  * ```
1179
1550
  */
1180
- declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
1551
+ declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>>;
1181
1552
 
1182
- declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1183
- declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1553
+ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1554
+ declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1184
1555
 
1185
1556
  type FormChildren<TFieldValues extends FieldValues> = ReactNode | ((methods: UseFormReturn<TFieldValues>) => ReactNode);
1186
1557
  type FormController<TFieldValues extends FieldValues> = {
@@ -1301,14 +1672,14 @@ type ConfirmDialogProps = {
1301
1672
  onOpenChange?: (open: boolean) => void;
1302
1673
  title: string;
1303
1674
  description?: string;
1304
- children?: React.ReactNode;
1675
+ children?: React$1.ReactNode;
1305
1676
  confirmLabel?: string;
1306
1677
  cancelLabel?: string;
1307
1678
  onConfirm?: () => void;
1308
1679
  onCancel?: () => void;
1309
1680
  /** Fires whenever the dialog closes, regardless of how (cancel button, overlay, Escape). */
1310
1681
  onClose?: () => void;
1311
- trigger?: React.ReactNode;
1682
+ trigger?: React$1.ReactNode;
1312
1683
  /**
1313
1684
  * When provided, the user must type this exact text before the confirm button is enabled.
1314
1685
  * e.g. typeToConfirm="confirm" or typeToConfirm="delete"
@@ -1324,13 +1695,13 @@ type ConfirmDialogProps = {
1324
1695
  cancelClassName?: string;
1325
1696
  confirmClassName?: string;
1326
1697
  };
1327
- declare const ConfirmDialog: React.FC<ConfirmDialogProps>;
1698
+ declare const ConfirmDialog: React$1.FC<ConfirmDialogProps>;
1328
1699
 
1329
1700
  type FormDialogAction = {
1330
1701
  label: string;
1331
1702
  onClick?: () => void;
1332
- variant?: React.ComponentProps<typeof Button$1>["variant"];
1333
- color?: React.ComponentProps<typeof Button$1>["color"];
1703
+ variant?: React$1.ComponentProps<typeof Button$1>["variant"];
1704
+ color?: React$1.ComponentProps<typeof Button$1>["color"];
1334
1705
  disabled?: boolean;
1335
1706
  isLoading?: boolean;
1336
1707
  type?: "button" | "submit" | "reset";
@@ -1341,8 +1712,8 @@ type FormDialogProps = {
1341
1712
  onOpenChange?: (open: boolean) => void;
1342
1713
  title: string;
1343
1714
  description?: string;
1344
- children?: React.ReactNode;
1345
- trigger?: React.ReactNode;
1715
+ children?: React$1.ReactNode;
1716
+ trigger?: React$1.ReactNode;
1346
1717
  /**
1347
1718
  * Primary action (right side of footer).
1348
1719
  */
@@ -1364,7 +1735,7 @@ type FormDialogProps = {
1364
1735
  formId?: string;
1365
1736
  testId?: string;
1366
1737
  };
1367
- declare const FormDialog: React.FC<FormDialogProps>;
1738
+ declare const FormDialog: React$1.FC<FormDialogProps>;
1368
1739
 
1369
1740
  type MenuOption = {
1370
1741
  value: string;
@@ -1877,4 +2248,4 @@ declare const srgbToHex: (color: string) => string;
1877
2248
  */
1878
2249
  declare function getLucideIconNames(): Promise<string[]>;
1879
2250
 
1880
- export { ActionButton, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeColor, type BadgeProps, Button, type ButtonProps, Calendar, Checkbox, Collapsible, ConfirmDialog, type ConfirmDialogProps, type ControlledFormFactoryOptions, type CustomSliderProps, DataTable, type DataTableProps, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownProps, Field, FieldMessage, type FieldMessageProps, type FieldProps, FocusedScrollView, Footer, type FooterProps, type FooterVariant, Form, type FormController, FormDialog, type FormDialogAction, type FormDialogProps, type FormProps, Icon, Input, InputFilter, type InputFilterProps, type InputProps, Label, Loading, type MaskRule, MaskedTextInput, type MaskedTextInputProps, Menu, DropdownMenuItem as MenuItem, type MenuItemType, DropdownMenuLabel as MenuLabel, type MenuOption, type MenuProps, DropdownMenuSeparator as MenuSeparator, Navbar, type NavbarProps, type NavbarVariant, NumberInput, type NumberInputProps, type OptionLike, type Options$1 as Options, OtpInput, OtpInputGroup, type OtpInputGroupProps, type OtpInputProps, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, ProgressBar, RadioGroup, RadioGroupItem, ScrollArea, type ScrollAreaProps, type ScrollbarSize, Search, type SearchProps, SeverityBadge, type SeverityBadgeProps, type SeverityLevel, Slider, type SliderProps, Switch, THEME_COLOR_KEYS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextInput, type ThemeColorKey, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipSimple, TooltipTrigger, Tree, type TreeData, TreeItem, type TreeItemProps, type TreeProps, type UseControlledFormOptions, type UseOptionBridgeOptions, ValidationHintList, type ValidationHintListProps, type ValidationHintMode, type ValidationHintRule, type ValidationHintState, cn, createControlledForm, createYupResolver, getEndDateOfDay, getLucideIconNames, getStartDateOfDay, getStartEndTimestampOfDay, getThemeColor, getThemeColors, getTimestampUTC, reducer, resloveTimestamp, srgbToHex, toast, useControlledForm, useOptionBridge, usePrevious, useToast };
2251
+ export { ActionButton, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeColor, type BadgeProps, Button, type ButtonProps, Calendar, Checkbox, Collapsible, type ColumnManagementOptions, ConfirmDialog, type ConfirmDialogProps, type ControlledFormFactoryOptions, type CustomSliderProps, DataTable, type DataTableEditingProps, type DataTablePaginationMode, type DataTableProps, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownProps, type EditDisplayMode, type EditTrigger, type EditableColumnDef, Field, FieldMessage, type FieldMessageProps, type FieldProps, FocusedScrollView, Footer, type FooterProps, type FooterVariant, Form, type FormController, FormDialog, type FormDialogAction, type FormDialogProps, type FormProps, Icon, Input, InputFilter, type InputFilterProps, type InputProps, Label, Loading, type MaskRule, MaskedTextInput, type MaskedTextInputProps, Menu, DropdownMenuItem as MenuItem, type MenuItemType, DropdownMenuLabel as MenuLabel, type MenuOption, type MenuProps, DropdownMenuSeparator as MenuSeparator, Navbar, type NavbarProps, type NavbarVariant, NumberInput, type NumberInputProps, type OptionLike, type Options$1 as Options, OtpInput, OtpInputGroup, type OtpInputGroupProps, type OtpInputProps, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, ProgressBar, RadioGroup, RadioGroupItem, ScrollArea, type ScrollAreaProps, type ScrollbarSize, Search, type SearchProps, SeverityBadge, type SeverityBadgeProps, type SeverityLevel, Slider, type SliderProps, Switch, THEME_COLOR_KEYS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TablePagination, type TablePaginationProps, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextInput, type ThemeColorKey, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipSimple, TooltipTrigger, Tree, type TreeData, TreeItem, type TreeItemProps, type TreeProps, type UseControlledFormOptions, type UseOptionBridgeOptions, ValidationHintList, type ValidationHintListProps, type ValidationHintMode, type ValidationHintRule, type ValidationHintState, cn, createControlledForm, createYupResolver, getEndDateOfDay, getLucideIconNames, getStartDateOfDay, getStartEndTimestampOfDay, getThemeColor, getThemeColors, getTimestampUTC, reducer, resloveTimestamp, srgbToHex, toast, useControlledForm, useOptionBridge, usePrevious, useToast };