@nice2dev/ui 1.0.31 → 1.1.6

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 (87) hide show
  1. package/CHANGELOG.md +403 -0
  2. package/dist/NiceCodeEditor-BVUwp9yX.js +1134 -0
  3. package/dist/NiceCodeEditor-cIqUSk3j.cjs +260 -0
  4. package/dist/NiceColorPicker-C8NZZcXE.js +596 -0
  5. package/dist/NiceColorPicker-CKVbjicN.cjs +1 -0
  6. package/dist/NiceConfirmDialog-DmBX1Iea.js +81 -0
  7. package/dist/NiceConfirmDialog-oSxVpsCs.cjs +1 -0
  8. package/dist/NiceDataGrid-3AIf2D3t.cjs +10 -0
  9. package/dist/NiceDataGrid-CXCUAkRb.js +1736 -0
  10. package/dist/NiceDocumentViewer-B-uEPZAf.js +672 -0
  11. package/dist/NiceDocumentViewer-BE0gKBlw.cjs +180 -0
  12. package/dist/NiceForm-C6F0HvrX.cjs +1 -0
  13. package/dist/NiceForm-CCyfWgIs.js +4805 -0
  14. package/dist/NiceGantt-CSFLZD2y.js +328 -0
  15. package/dist/NiceGantt-_ysNSVYR.cjs +1 -0
  16. package/dist/NiceHtmlEditor-B8B8AcSC.js +841 -0
  17. package/dist/NiceHtmlEditor-D8RQcBNp.cjs +10 -0
  18. package/dist/NiceLoginForm-Bai7aN8V.js +708 -0
  19. package/dist/NiceLoginForm-BrvIc-wq.cjs +1 -0
  20. package/dist/NiceMention-BjeLN4Jx.cjs +430 -0
  21. package/dist/NiceMention-CWoLD0SE.js +11082 -0
  22. package/dist/NiceMention-J1lUDLhg.cjs +430 -0
  23. package/dist/NiceMention-OaCi-GNO.js +11094 -0
  24. package/dist/NiceMention.css +1 -0
  25. package/dist/NiceModal-0UxviEYE.cjs +1 -0
  26. package/dist/NiceModal-D-iOonog.js +95 -0
  27. package/dist/NiceModuleLifecyclePanel-4hzDw6it.js +6999 -0
  28. package/dist/NiceModuleLifecyclePanel-Df_1k5qW.cjs +1 -0
  29. package/dist/NiceModuleLifecyclePanel.css +1 -1
  30. package/dist/NicePagination-CPn-Q1h_.js +172 -0
  31. package/dist/NicePagination-EEQ6o1dF.cjs +1 -0
  32. package/dist/NicePivotGrid-Cmiolup9.cjs +152 -0
  33. package/dist/NicePivotGrid-DX_iUj2X.js +1167 -0
  34. package/dist/NiceSavedQueryPanel-BhjFJBvn.cjs +586 -0
  35. package/dist/NiceSavedQueryPanel-KvyXTnFx.js +5129 -0
  36. package/dist/NiceScheduler-DuxPzQQZ.js +1645 -0
  37. package/dist/NiceScheduler-nW7fMzKL.cjs +5 -0
  38. package/dist/NiceSelect-BVoqtfYN.cjs +1 -0
  39. package/dist/NiceSelect-DHowflmX.js +433 -0
  40. package/dist/NiceWindow-DdD9k4nc.cjs +1 -0
  41. package/dist/NiceWindow-xnTSHdHv.js +1623 -0
  42. package/dist/charts-B-sl1V9y.cjs +882 -0
  43. package/dist/charts-DO2z6Ziu.js +31920 -0
  44. package/dist/charts.cjs +1 -1
  45. package/dist/charts.mjs +7 -7
  46. package/dist/core-C2KhqEaU.cjs +1 -0
  47. package/dist/core-K2DIxXLn.js +795 -0
  48. package/dist/data-branching-DC6hcBQN.cjs +1 -0
  49. package/dist/data-branching-DykdTpjJ.js +6255 -0
  50. package/dist/data-branching.cjs +1 -1
  51. package/dist/data-branching.mjs +1 -1
  52. package/dist/data.cjs +1 -1
  53. package/dist/data.d.ts +29 -7
  54. package/dist/data.mjs +18 -16
  55. package/dist/devops-CU0sOVEA.cjs +17 -0
  56. package/dist/devops-CXyEwQeM.js +8165 -0
  57. package/dist/devops.cjs +1 -1
  58. package/dist/devops.mjs +1 -1
  59. package/dist/editors.cjs +1 -1
  60. package/dist/editors.d.ts +97 -9
  61. package/dist/editors.mjs +58 -54
  62. package/dist/feedback.cjs +1 -1
  63. package/dist/feedback.d.ts +1 -1
  64. package/dist/feedback.mjs +3 -3
  65. package/dist/index.cjs +5137 -1
  66. package/dist/index.css +1 -1
  67. package/dist/index.d.ts +139 -21
  68. package/dist/index.mjs +66371 -992
  69. package/dist/lazy.cjs +1 -1
  70. package/dist/lazy.mjs +24 -24
  71. package/dist/navigation.cjs +1 -1
  72. package/dist/navigation.d.ts +6 -0
  73. package/dist/navigation.mjs +4 -4
  74. package/dist/no-code-C58g8_fb.cjs +332 -0
  75. package/dist/no-code-Cj4xJ3w9.js +7425 -0
  76. package/dist/no-code.cjs +1 -1
  77. package/dist/no-code.mjs +1 -1
  78. package/dist/overlays.cjs +1 -1
  79. package/dist/overlays.d.ts +2 -0
  80. package/dist/overlays.mjs +2 -2
  81. package/dist/pickerCommons-B-wOzHFh.cjs +1 -0
  82. package/dist/pickerCommons-COiSUiP2.js +1122 -0
  83. package/dist/pickerCommons.css +1 -1
  84. package/dist/style.css +7 -7
  85. package/dist/vendor-BPVpdtPp.js +271 -0
  86. package/dist/vendor-Bo2Q64AF.cjs +1 -0
  87. package/package.json +17 -17
package/dist/index.d.ts CHANGED
@@ -141,7 +141,7 @@ import { IndexedDBAdapter } from '@nice2dev/ui-core';
141
141
  import { InputStyleVariant } from '@nice2dev/ui-core';
142
142
  import { isRecordValid } from '@nice2dev/ui-core';
143
143
  import { ITracelessPolicy } from '@nice2dev/ui-core';
144
- import { JSX as JSX_2 } from 'react';
144
+ import { JSX } from 'react';
145
145
  import { KeyboardShortcut } from '@nice2dev/ui-core';
146
146
  import { LayoutPreferences } from '@nice2dev/ui-core';
147
147
  import { LeakDetectorConfig } from '@nice2dev/ui-core';
@@ -7346,6 +7346,8 @@ export declare interface NiceActionSheetProps extends NiceBaseProps {
7346
7346
  size?: NiceSize;
7347
7347
  /** Disabled: dims the sheet + blocks every action. */
7348
7348
  disabled?: boolean;
7349
+ /** Read-only: the action items are inert (only Cancel stays active), without dimming. */
7350
+ readOnly?: boolean;
7349
7351
  /** Loading: a spinner overlay + aria-busy; actions blocked. */
7350
7352
  loading?: boolean;
7351
7353
  /** Error message shown at the top of the sheet. */
@@ -8714,6 +8716,24 @@ export declare interface NiceCalendarProps extends NiceBaseProps, TracelessStora
8714
8716
  /** Array of selected dates when multiple=true. */
8715
8717
  selectedDates?: string[];
8716
8718
  onSelectedDatesChange?: (dates: string[]) => void;
8719
+ /**
8720
+ * `'single'` (default) selects one day via `value`/`onChange`. `'range'`
8721
+ * selects a start/end pair in two clicks, driven by `rangeStart`/`rangeEnd`
8722
+ * and reported through `onRangeChange`.
8723
+ */
8724
+ selectionMode?: 'single' | 'range';
8725
+ /** First day of the selected range (ISO), when `selectionMode='range'`. */
8726
+ rangeStart?: string;
8727
+ /** Last day of the selected range (ISO), when `selectionMode='range'`. */
8728
+ rangeEnd?: string;
8729
+ /**
8730
+ * Fires on every range edit. The first click opens a new range (`end` empty),
8731
+ * the second closes it — clicking before the start swaps the two.
8732
+ */
8733
+ onRangeChange?: (range: {
8734
+ start: string;
8735
+ end: string;
8736
+ }) => void;
8717
8737
  /** Custom render for day cells. Return ReactNode to replace default number. */
8718
8738
  renderDay?: (date: string, day: number) => default_2.ReactNode;
8719
8739
  /** Show keyboard hints. */
@@ -11353,14 +11373,30 @@ export declare const NiceDateRangeBox: default_2.FC<NiceDateRangeBoxProps>;
11353
11373
 
11354
11374
  /** Props for the {@link NiceDateRangeBox} component — a pair of date pickers for selecting a date range. */
11355
11375
  export declare interface NiceDateRangeBoxProps extends NiceFormFieldProps {
11356
- /** Start date (ISO string). */
11357
- startDate: string;
11358
- /** End date (ISO string). */
11359
- endDate: string;
11360
- /** Called when the start date changes. */
11361
- onStartChange: (date: string) => void;
11362
- /** Called when the end date changes. */
11363
- onEndChange: (date: string) => void;
11376
+ /**
11377
+ * Start date (ISO string) — **controlled**. Omit it (and pass
11378
+ * `defaultStartDate`, or nothing at all) to let the control keep its own copy.
11379
+ */
11380
+ startDate?: string;
11381
+ /**
11382
+ * End date (ISO string) — **controlled**. Omit it (and pass `defaultEndDate`,
11383
+ * or nothing at all) to let the control keep its own copy.
11384
+ */
11385
+ endDate?: string;
11386
+ /**
11387
+ * Initial start date for the **uncontrolled** mode. Ignored when `startDate`
11388
+ * is supplied.
11389
+ */
11390
+ defaultStartDate?: string;
11391
+ /**
11392
+ * Initial end date for the **uncontrolled** mode. Ignored when `endDate` is
11393
+ * supplied.
11394
+ */
11395
+ defaultEndDate?: string;
11396
+ /** Called when the start date changes — in both controlled and uncontrolled mode. */
11397
+ onStartChange?: (date: string) => void;
11398
+ /** Called when the end date changes — in both controlled and uncontrolled mode. */
11399
+ onEndChange?: (date: string) => void;
11364
11400
  /** Earliest selectable date. */
11365
11401
  min?: string;
11366
11402
  /** Latest selectable date. */
@@ -11375,6 +11411,12 @@ export declare interface NiceDateRangeBoxProps extends NiceFormFieldProps {
11375
11411
  startLabel?: string;
11376
11412
  /** Label shown above (or before) the end picker. */
11377
11413
  endLabel?: string;
11414
+ /**
11415
+ * Collapse the pair into ONE field with ONE popup: the field shows
11416
+ * `start – end` and the popup holds a single calendar on which the span is
11417
+ * painted in two clicks. Default `false` (two fields, two popups).
11418
+ */
11419
+ singleField?: boolean;
11378
11420
  /** Layout direction for the two pickers (default `horizontal`). */
11379
11421
  layout?: 'horizontal' | 'vertical';
11380
11422
  /** Custom separator rendered between pickers in horizontal layout (default `–`). Pass `''` to hide. */
@@ -11388,13 +11430,42 @@ export declare interface NiceDateRangeBoxProps extends NiceFormFieldProps {
11388
11430
  * date, datetime (`'datetime-local'`), month, week or time, not just date.
11389
11431
  */
11390
11432
  dateFormatPreset?: NiceDateFormatPreset;
11433
+ /**
11434
+ * BCP 47 locale forwarded to BOTH inner pickers, controlling the displayed
11435
+ * date mask (e.g. `'pl-PL'` → `dd.MM.yyyy`, `'en-US'` → `MM/dd/yyyy`). When
11436
+ * omitted the pickers fall back to the app locale (`<html lang>`) then the
11437
+ * browser locale. The emitted value stays ISO regardless of display locale.
11438
+ */
11439
+ locale?: string;
11391
11440
  /**
11392
11441
  * @deprecated Use `dateFormatPreset`. Native input type forwarded to both
11393
11442
  * inner pickers.
11394
11443
  */
11395
11444
  type?: 'date' | 'datetime-local' | 'time' | 'month' | 'week';
11445
+ /**
11446
+ * How the end date is constrained relative to the start (default
11447
+ * `'greater-or-equal'` — the end can equal the start).
11448
+ */
11449
+ endCondition?: NiceDateRangeEndCondition;
11450
+ /**
11451
+ * How the start date is constrained relative to today (default
11452
+ * `'today-or-greater'` — the start can't be in the past).
11453
+ */
11454
+ startCondition?: NiceDateRangeStartCondition;
11455
+ /**
11456
+ * Time selector for datetime ranges, forwarded to both inner pickers:
11457
+ * `'spinners'` (default) or `'clock'` (analog clock face). Only relevant when
11458
+ * `dateFormatPreset` carries a time part.
11459
+ */
11460
+ timeSelectorType?: 'spinners' | 'clock';
11396
11461
  }
11397
11462
 
11463
+ /** How the end date is constrained relative to the start date. Extensible. */
11464
+ declare type NiceDateRangeEndCondition = 'greater-or-equal' | 'greater' | 'none';
11465
+
11466
+ /** How the start date is constrained relative to today. Extensible. */
11467
+ declare type NiceDateRangeStartCondition = 'today-or-greater' | 'greater-than-today' | 'none';
11468
+
11398
11469
  /** Built-in countdown format presets (merged in from NiceTimePicker).
11399
11470
  * NOTE: deliberately NOT named `NiceCountdownFormat` — that name is already a
11400
11471
  * public export of the unrelated `NiceCountdown` display component. */
@@ -11460,6 +11531,13 @@ export declare interface NiceDateTimePickerProps extends NiceFormFieldProps {
11460
11531
  * masked field always edits 24-hour digits and the emitted value stays ISO 24h.
11461
11532
  */
11462
11533
  hourFormat?: '12' | '24';
11534
+ /**
11535
+ * Datetime/time: how the time-of-day is picked inside the popup. `'spinners'`
11536
+ * (default) are the scroll wheels; `'clock'` is an analog clock face with
11537
+ * hour/minute hands and an AM/PM toggle. A small in-popup toggle also lets the
11538
+ * user switch between the two at runtime. The emitted value stays ISO 24h.
11539
+ */
11540
+ timeSelectorType?: 'spinners' | 'clock';
11463
11541
  /**
11464
11542
  * Datetime/time/date: show a "Now" button that fills the current date/time.
11465
11543
  * Default: `false`.
@@ -11664,7 +11742,7 @@ export declare interface NiceDeviceTileQuickControls {
11664
11742
  gain?: boolean;
11665
11743
  }
11666
11744
 
11667
- export declare function NiceDiagramDesigner({ initialSchema, onChange, onExport, className, style, tutorial, }: NiceDiagramDesignerProps): JSX.Element;
11745
+ export declare function NiceDiagramDesigner({ initialSchema, onChange, onExport, className, style, tutorial, }: NiceDiagramDesignerProps): default_2.JSX.Element;
11668
11746
 
11669
11747
  export declare interface NiceDiagramDesignerProps {
11670
11748
  /** Initial diagram schema. Accepts the canonical {@link DiagramSchema} or a looser input where nodes only need `id/x/y/label` and edges may use `from`/`to` aliases. */
@@ -12199,6 +12277,16 @@ export declare interface NiceDropDownBoxProps extends NiceFormFieldProps {
12199
12277
  onOpenChange?: (open: boolean) => void;
12200
12278
  /** Width of the dropdown panel. */
12201
12279
  dropdownWidth?: number | string;
12280
+ /**
12281
+ * Show a search box at the top of the panel (default `true`). Because the panel
12282
+ * holds arbitrary `children`, filtering is the caller's job — the search box only
12283
+ * renders when an `onSearch` handler is provided.
12284
+ */
12285
+ searchable?: boolean;
12286
+ /** Called with the query as the user types in the panel search box. */
12287
+ onSearch?: (query: string) => void;
12288
+ /** Placeholder for the panel search box. */
12289
+ searchPlaceholder?: string;
12202
12290
  }
12203
12291
 
12204
12292
  export declare const NiceDropDownButton: default_2.FC<NiceDropDownButtonProps>;
@@ -12419,7 +12507,7 @@ export declare class NiceErrorBoundary extends Component<NiceErrorBoundaryProps,
12419
12507
  static getDerivedStateFromError(error: Error): NiceErrorBoundaryState;
12420
12508
  componentDidCatch(error: Error, errorInfo: default_2.ErrorInfo): void;
12421
12509
  handleReset: () => void;
12422
- render(): string | number | boolean | Iterable<default_2.ReactNode> | default_2.JSX.Element | null | undefined;
12510
+ render(): string | number | bigint | boolean | Iterable<default_2.ReactNode> | Promise<string | number | bigint | boolean | default_2.ReactPortal | default_2.ReactElement<unknown, string | default_2.JSXElementConstructor<any>> | Iterable<default_2.ReactNode> | null | undefined> | default_2.JSX.Element | null | undefined;
12423
12511
  }
12424
12512
 
12425
12513
  /** Props for the {@link NiceErrorBoundary} component. */
@@ -13663,6 +13751,8 @@ export declare interface NiceGradientPickerProps extends NiceBaseProps {
13663
13751
  loading?: boolean;
13664
13752
  /** Error ring; a string value also renders the message. */
13665
13753
  error?: string | boolean;
13754
+ /** Where the error message sits: below (default) or inline to the right. */
13755
+ errorPlacement?: 'bottom' | 'right';
13666
13756
  /** Fixed width of the popup. Defaults to 340px. */
13667
13757
  width?: string | number;
13668
13758
  }
@@ -13691,7 +13781,7 @@ export declare interface NiceGradientValue {
13691
13781
 
13692
13782
  export { NiceGraphQLConfig }
13693
13783
 
13694
- export declare type NiceHarmonyMode = 'monochromatic' | 'complementary' | 'split-complementary' | 'analogous' | 'triadic' | 'tetradic' | 'square' | 'shade-chain' | 'custom';
13784
+ export declare type NiceHarmonyMode = 'monochromatic' | 'complementary' | 'split-complementary' | 'analogous' | 'analogous-complementary' | 'triadic' | 'tetradic' | 'square' | 'shade-chain' | 'custom';
13695
13785
 
13696
13786
  /**
13697
13787
  * Semantic heading with decoupled visual scale. Renders the correct
@@ -14402,6 +14492,12 @@ export declare interface NiceKanbanBoardProps extends NiceBaseProps, TracelessSt
14402
14492
  size?: NiceSize;
14403
14493
  /** Allow columns to be collapsed */
14404
14494
  collapsible?: boolean;
14495
+ /**
14496
+ * Direction a collapsed column shrinks to (default `vertical`):
14497
+ * `vertical` → a slim vertical rail with a rotated chevron + count,
14498
+ * `horizontal` → a short horizontal bar keeping the header on one line.
14499
+ */
14500
+ collapseDirection?: 'vertical' | 'horizontal';
14405
14501
  /** Layout mode — `scroll` (default, horizontal scroll when overflowing) or `responsive` (columns wrap to fit container width). */
14406
14502
  layoutMode?: NiceKanbanLayoutMode;
14407
14503
  /** View mode (default, compact, detailed) */
@@ -16141,7 +16237,7 @@ export declare const NiceModuleGrid: <T extends Record<string, any>>(props: Nice
16141
16237
  ref?: ForwardedRef<HTMLDivElement>;
16142
16238
  }) => ReturnType<typeof NiceModuleGridInner>;
16143
16239
 
16144
- declare function NiceModuleGridInner<T extends Record<string, any>>(props: NiceModuleGridProps<T>, ref: ForwardedRef<HTMLDivElement>): JSX_2.Element;
16240
+ declare function NiceModuleGridInner<T extends Record<string, any>>(props: NiceModuleGridProps<T>, ref: ForwardedRef<HTMLDivElement>): JSX.Element;
16145
16241
 
16146
16242
  /**
16147
16243
  * Props for NiceModuleGrid — enterprise data grid for OmniVerk modules.
@@ -17740,6 +17836,8 @@ export declare interface NicePivotField {
17740
17836
  field: string;
17741
17837
  /** Display caption. */
17742
17838
  caption: string;
17839
+ /** Data type shown beside the caption in the field chooser (e.g. `'text'`, `'integer'`, `'float'`, `'date'`). */
17840
+ dataType?: string;
17743
17841
  /** Pivot area this field belongs to. */
17744
17842
  area?: 'row' | 'column' | 'data' | 'filter';
17745
17843
  /** Aggregation function applied in the data area. */
@@ -17758,9 +17856,14 @@ export declare interface NicePivotGridFieldChooserProps extends NiceBaseProps {
17758
17856
  fields: NicePivotField[];
17759
17857
  /** Called when the user rearranges fields. */
17760
17858
  onChange: (fields: NicePivotField[]) => void;
17859
+ /**
17860
+ * Show a per-field area `NiceSelect` as an explicit (accessible) alternative to
17861
+ * drag-and-drop. Off by default — assignment is drag-and-drop first.
17862
+ */
17863
+ showAreaSelect?: boolean;
17761
17864
  }
17762
17865
 
17763
- /** Props for the {@link NicePivotGrid} component — a cross-tab / pivot table with drag-and-drop field chooser, CSV export, and drill-through. */
17866
+ /** Props for the {@link NicePivotGrid} component — a cross-tab / pivot table with drag-and-drop field chooser, CSV/XLSX export, and drill-through. */
17764
17867
  export declare interface NicePivotGridProps extends NiceBaseProps {
17765
17868
  /** Raw data records. */
17766
17869
  data: Record<string, any>[];
@@ -17774,9 +17877,11 @@ export declare interface NicePivotGridProps extends NiceBaseProps {
17774
17877
  loading?: boolean;
17775
17878
  /** Text shown when data is empty. */
17776
17879
  emptyText?: string;
17777
- /** Enable CSV export. */
17880
+ /** Heading rendered at the left of the toolbar; the action buttons sit at its right. */
17881
+ headerText?: string;
17882
+ /** Enable data export (download menu offering CSV and XLSX). */
17778
17883
  exportCsv?: boolean;
17779
- /** Filename for CSV export. */
17884
+ /** Filename for exports (extension is appended). */
17780
17885
  exportFilename?: string;
17781
17886
  /** Callback when user clicks a cell to drill-through to underlying records. */
17782
17887
  onDrillThrough?: (rowValue: string, colValue: string, records: Record<string, any>[]) => void;
@@ -17941,7 +18046,7 @@ export declare const NicePresenceCursors: default_2.ForwardRefExoticComponent<Ni
17941
18046
 
17942
18047
  export declare interface NicePresenceCursorsProps extends NiceBaseProps {
17943
18048
  /** Container ref for cursor positioning */
17944
- containerRef?: default_2.RefObject<HTMLElement>;
18049
+ containerRef?: default_2.RefObject<HTMLElement | null>;
17945
18050
  /** Show user name label */
17946
18051
  showLabel?: boolean;
17947
18052
  /** Label fade delay (ms) */
@@ -21197,6 +21302,12 @@ export declare interface NiceTabsProps extends NiceBaseProps {
21197
21302
  iconOnly?: boolean;
21198
21303
  /** Center the tab strip. `'auto'` (default) centers only when `iconOnly`. */
21199
21304
  centered?: boolean | 'auto';
21305
+ /**
21306
+ * Where a tab's `badge`/count sits relative to the icon+label:
21307
+ * `'right'` (default) — inline after the label; `'bottom'` — stacked under the
21308
+ * icon as a heavily-rounded pill rectangle (not a circle).
21309
+ */
21310
+ countLocation?: 'right' | 'bottom';
21200
21311
  }
21201
21312
 
21202
21313
  export declare const NiceTag: default_2.FC<NiceTagProps>;
@@ -21926,7 +22037,7 @@ export declare interface NiceTooltipProps {
21926
22037
  /** Tooltip follows cursor position */
21927
22038
  followCursor?: boolean;
21928
22039
  /** Trigger element that the tooltip wraps. */
21929
- children: default_2.ReactElement;
22040
+ children: default_2.ReactElement<any>;
21930
22041
  }
21931
22042
 
21932
22043
  /** Concrete side a tooltip can be placed on (after `'auto'` is resolved). */
@@ -22356,7 +22467,7 @@ export declare interface NiceTreeGridProps<T extends NiceTreeGridNode = NiceTree
22356
22467
  onRowClick?: (row: T) => void;
22357
22468
  }
22358
22469
 
22359
- export declare function NiceTreeList<T extends NiceTreeListNode>({ columns, data, keyField, parentKeyField, expandedKeys: controlledExpanded, onExpandedChange, selectedKeys, onSelectionChange, selectable, loading, emptyText, className, style, accessMode, id, }: NiceTreeListProps<T>): default_2.JSX.Element | null;
22470
+ export declare function NiceTreeList<T extends NiceTreeListNode>({ columns, data, keyField, parentKeyField, expandedKeys: controlledExpanded, onExpandedChange, selectedKeys, onSelectionChange, selectable, sortable, loading, emptyText, className, style, accessMode, id, }: NiceTreeListProps<T>): default_2.JSX.Element | null;
22360
22471
 
22361
22472
  /** A tree-list node for the {@link NiceTreeList} component. */
22362
22473
  export declare interface NiceTreeListNode {
@@ -22388,8 +22499,10 @@ export declare interface NiceTreeListProps<T extends NiceTreeListNode = NiceTree
22388
22499
  selectedKeys?: string[];
22389
22500
  /** Called when selection changes. */
22390
22501
  onSelectionChange?: (keys: string[]) => void;
22391
- /** Enable row selection. */
22502
+ /** Enable row selection. Checking a parent row cascades to all its descendants. */
22392
22503
  selectable?: boolean;
22504
+ /** Enable column sorting (opt-in per column via `NiceDataGridColumn.sortable`). */
22505
+ sortable?: boolean;
22393
22506
  /** Show a loading skeleton. */
22394
22507
  loading?: boolean;
22395
22508
  /** Text shown when data is empty. */
@@ -22515,6 +22628,11 @@ export declare const NiceTreeView: default_2.FC<NiceTreeViewProps>;
22515
22628
  export declare interface NiceTreeViewProps extends NiceBaseProps {
22516
22629
  /** Root nodes. */
22517
22630
  nodes: NiceTreeNode[];
22631
+ /**
22632
+ * Optional header rendered above the (optional) search box and the tree —
22633
+ * a title bar, toolbar or count. Pass any node; omit for no header.
22634
+ */
22635
+ header?: default_2.ReactNode;
22518
22636
  /** Currently selected node keys. */
22519
22637
  selectedKeys?: string[];
22520
22638
  /** Currently expanded node keys. */
@@ -28145,7 +28263,7 @@ export { useIsTouchDevice }
28145
28263
  /**
28146
28264
  * Hook for intersection observer based lazy loading
28147
28265
  */
28148
- export declare function useLazyOnVisible(threshold?: number, rootMargin?: string): [default_2.RefObject<HTMLDivElement>, boolean];
28266
+ export declare function useLazyOnVisible(threshold?: number, rootMargin?: string): [default_2.RefObject<HTMLDivElement | null>, boolean];
28149
28267
 
28150
28268
  export { useLiveAnnouncement }
28151
28269