@gouvfr-lasuite/ui-kit 0.21.0 → 0.23.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.ts CHANGED
@@ -8,7 +8,7 @@ import { Dispatch } from 'react';
8
8
  import { getThemesFromGlobals } from '@gouvfr-lasuite/cunningham-tokens';
9
9
  import { HTMLAttributes } from 'react';
10
10
  import { JSX } from 'react/jsx-runtime';
11
- import { Key as Key_2 } from 'react-stately';
11
+ import { Key } from 'react-stately';
12
12
  import { LabelHTMLAttributes } from 'react';
13
13
  import { MemoExoticComponent } from 'react';
14
14
  import { ModalSize } from '@gouvfr-lasuite/cunningham-react';
@@ -69,8 +69,6 @@ export declare type AddShareUserListProps<UserType> = {
69
69
  onSelectRole: (role: string) => void;
70
70
  };
71
71
 
72
- export declare const All: (props: IconSvgProps) => JSX.Element;
73
-
74
72
  export declare const anctGlobals: {
75
73
  font: {
76
74
  sizes: {
@@ -470,40 +468,6 @@ export declare const anctGlobals: {
470
468
  };
471
469
  };
472
470
 
473
- export declare const Archive: (props: IconSvgProps) => JSX.Element;
474
-
475
- export declare const ArrowCornerDownRight: (props: IconSvgProps) => JSX.Element;
476
-
477
- export declare const ArrowDown: (props: IconSvgProps) => JSX.Element;
478
-
479
- export declare const ArrowDownCircle: (props: IconSvgProps) => JSX.Element;
480
-
481
- export declare const ArrowDownCircleFilled: (props: IconSvgProps) => JSX.Element;
482
-
483
- export declare const ArrowDownLeft: (props: IconSvgProps) => JSX.Element;
484
-
485
- export declare const ArrowDownRight: (props: IconSvgProps) => JSX.Element;
486
-
487
- export declare const ArrowLeft: (props: IconSvgProps) => JSX.Element;
488
-
489
- export declare const ArrowRight: (props: IconSvgProps) => JSX.Element;
490
-
491
- export declare const ArrowSquarepath: (props: IconSvgProps) => JSX.Element;
492
-
493
- export declare const ArrowUp: (props: IconSvgProps) => JSX.Element;
494
-
495
- export declare const ArrowUpCircle: (props: IconSvgProps) => JSX.Element;
496
-
497
- export declare const ArrowUpCircleFilled: (props: IconSvgProps) => JSX.Element;
498
-
499
- export declare const ArrowUpDown: (props: IconSvgProps) => JSX.Element;
500
-
501
- export declare const ArrowUpDownCircle: (props: IconSvgProps) => JSX.Element;
502
-
503
- export declare const ArrowUpLeft: (props: IconSvgProps) => JSX.Element;
504
-
505
- export declare const ArrowUpRight: (props: IconSvgProps) => JSX.Element;
506
-
507
471
  export declare const AudioPlayer: default_2.FC<AudioPlayerProps>;
508
472
 
509
473
  declare interface AudioPlayerProps {
@@ -561,92 +525,8 @@ export declare type BaseTreeViewData<T> = {
561
525
  nodeType?: Exclude<TreeViewNodeTypeEnum, TreeViewNodeTypeEnum.TITLE | TreeViewNodeTypeEnum.SEPARATOR | TreeViewNodeTypeEnum.VIEW_MORE | TreeViewNodeTypeEnum.SIMPLE_NODE>;
562
526
  } & T));
563
527
 
564
- export declare const Bento: (props: IconSvgProps) => JSX.Element;
565
-
566
- export declare const Blur: (props: IconSvgProps) => JSX.Element;
567
-
568
- export declare const Bold: (props: IconSvgProps) => JSX.Element;
569
-
570
- export declare const Bolt: (props: IconSvgProps) => JSX.Element;
571
-
572
- export declare const Book: (props: IconSvgProps) => JSX.Element;
573
-
574
- export declare const Book2: (props: IconSvgProps) => JSX.Element;
575
-
576
- export declare const BookFilled: (props: IconSvgProps) => JSX.Element;
577
-
578
- export declare const BookmarkFilled: (props: IconSvgProps) => JSX.Element;
579
-
580
- export declare const Bubble: (props: IconSvgProps) => JSX.Element;
581
-
582
- export declare const BubbleDashed: (props: IconSvgProps) => JSX.Element;
583
-
584
- export declare const BubbleEdit: (props: IconSvgProps) => JSX.Element;
585
-
586
- export declare const BubbleLock: (props: IconSvgProps) => JSX.Element;
587
-
588
- export declare const BubbleText: (props: IconSvgProps) => JSX.Element;
589
-
590
- export declare const BubbleTextNotif: (props: IconSvgProps) => JSX.Element;
591
-
592
- export declare const Bug: (props: IconSvgProps) => JSX.Element;
593
-
594
- export declare const Building: (props: IconSvgProps) => JSX.Element;
595
-
596
- export declare const BulletedList: (props: IconSvgProps) => JSX.Element;
597
-
598
- export declare const Burger: (props: IconSvgProps) => JSX.Element;
599
-
600
528
  export declare const CALC_EXTENSIONS: string[];
601
529
 
602
- export declare const Calendar: (props: IconSvgProps) => JSX.Element;
603
-
604
- export declare const Calendar2: (props: IconSvgProps) => JSX.Element;
605
-
606
- export declare const CalendarClock: (props: IconSvgProps) => JSX.Element;
607
-
608
- export declare const Callout: (props: IconSvgProps) => JSX.Element;
609
-
610
- export declare const CamOffAlert: (props: IconSvgProps) => JSX.Element;
611
-
612
- export declare const CarFilled: (props: IconSvgProps) => JSX.Element;
613
-
614
- export declare const Change: (props: IconSvgProps) => JSX.Element;
615
-
616
- export declare const ChartFilled: (props: IconSvgProps) => JSX.Element;
617
-
618
- export declare const Checkmark: (props: IconSvgProps) => JSX.Element;
619
-
620
- export declare const Checkmark2: (props: IconSvgProps) => JSX.Element;
621
-
622
- export declare const CheckmarkFilled: (props: IconSvgProps) => JSX.Element;
623
-
624
- export declare const CheckmarkShield: (props: IconSvgProps) => JSX.Element;
625
-
626
- export declare const ChevronDoubleUp: (props: IconSvgProps) => JSX.Element;
627
-
628
- export declare const ChevronDown: (props: IconSvgProps) => JSX.Element;
629
-
630
- export declare const ChevronLeft: (props: IconSvgProps) => JSX.Element;
631
-
632
- export declare const ChevronRight: (props: IconSvgProps) => JSX.Element;
633
-
634
- export declare const ChevronUp: (props: IconSvgProps) => JSX.Element;
635
-
636
- export declare const Clock: (props: IconSvgProps) => JSX.Element;
637
-
638
- export declare const ClockArrowCirclepath: (props: IconSvgProps) => JSX.Element;
639
-
640
- export declare const CloudArrow: (props: IconSvgProps) => JSX.Element;
641
-
642
- export declare const Code: (props: IconSvgProps) => JSX.Element;
643
-
644
- export declare const Color: (props: IconSvgProps) => JSX.Element;
645
-
646
- export declare const Columns2: (props: IconSvgProps) => JSX.Element;
647
-
648
- export declare const Columns3: (props: IconSvgProps) => JSX.Element;
649
-
650
530
  export declare const containerSizeMap: Record<IconSize, number>;
651
531
 
652
532
  export declare const ContextMenu: <T>({ children, options, context, disabled, asChild, onFocus, onBlur, }: ContextMenuProps<T>) => JSX.Element;
@@ -692,16 +572,6 @@ export declare type ContextMenuProps<T = unknown> = {
692
572
 
693
573
  export declare const ContextMenuProvider: ({ children }: PropsWithChildren) => JSX.Element;
694
574
 
695
- export declare const Controls: (props: IconSvgProps) => JSX.Element;
696
-
697
- export declare const Copy: (props: IconSvgProps) => JSX.Element;
698
-
699
- export declare const CsvExport: (props: IconSvgProps) => JSX.Element;
700
-
701
- export declare const CsvImport: (props: IconSvgProps) => JSX.Element;
702
-
703
- export declare const Cube: (props: IconSvgProps) => JSX.Element;
704
-
705
575
  export declare const cunninghamConfig: {
706
576
  themes: {
707
577
  default: any;
@@ -711,8 +581,6 @@ export declare const cunninghamConfig: {
711
581
 
712
582
  export declare const CunninghamProvider: (props: Parameters<typeof CunninghamProvider_2>[0]) => JSX.Element;
713
583
 
714
- export declare const Curlybraces: (props: IconSvgProps) => JSX.Element;
715
-
716
584
  export declare const CustomTabs: ({ tabs, defaultSelectedTab, fullWidth, }: TabsProps) => JSX.Element | null;
717
585
 
718
586
  /**
@@ -720,34 +588,8 @@ export declare const CustomTabs: ({ tabs, defaultSelectedTab, fullWidth, }: Tabs
720
588
  */
721
589
  export declare type CustomTranslations = Partial<Record<TranslationKey, string>>;
722
590
 
723
- export declare const Datagouv: (props: IconSvgProps) => JSX.Element;
724
-
725
591
  export declare const DEFAULT_PDF_WORKER_SRC = "/pdf.worker.mjs";
726
592
 
727
- export declare const Divergence: (props: IconSvgProps) => JSX.Element;
728
-
729
- export declare const Divider: (props: IconSvgProps) => JSX.Element;
730
-
731
- export declare const Doc: (props: IconSvgProps) => JSX.Element;
732
-
733
- export declare const DocAll: (props: IconSvgProps) => JSX.Element;
734
-
735
- export declare const DocLink: (props: IconSvgProps) => JSX.Element;
736
-
737
- export declare const DocMoveIn: (props: IconSvgProps) => JSX.Element;
738
-
739
- export declare const DocMoveOut: (props: IconSvgProps) => JSX.Element;
740
-
741
- export declare const DocPlus: (props: IconSvgProps) => JSX.Element;
742
-
743
- export declare const DocSlash: (props: IconSvgProps) => JSX.Element;
744
-
745
- export declare const Download: (props: IconSvgProps) => JSX.Element;
746
-
747
- export declare const Drive: (props: IconSvgProps) => JSX.Element;
748
-
749
- export declare const DriveAlert: (props: IconSvgProps) => JSX.Element;
750
-
751
593
  export declare const DropdownMenu: ({ options, isOpen, onOpenChange, children, selectedValues, onSelectValue, topMessage, shouldCloseOnInteractOutside, variant, }: PropsWithChildren<DropdownMenuProps>) => JSX.Element;
752
594
 
753
595
  /**
@@ -1182,8 +1024,6 @@ declare type DurationBarProps = {
1182
1024
  handleSeek: (e: React.ChangeEvent<HTMLInputElement>) => void;
1183
1025
  };
1184
1026
 
1185
- export declare const Edit: (props: IconSvgProps) => JSX.Element;
1186
-
1187
1027
  export declare const ErrorPreview: ({ file, onDownload }: ErrorPreviewProps) => JSX.Element;
1188
1028
 
1189
1029
  declare interface ErrorPreviewProps {
@@ -1191,22 +1031,12 @@ declare interface ErrorPreviewProps {
1191
1031
  onDownload?: (file: FilePreviewType) => void;
1192
1032
  }
1193
1033
 
1194
- export declare const EuroFilled: (props: IconSvgProps) => JSX.Element;
1195
-
1196
1034
  /**
1197
1035
  * Utility type that combines TranslationKeys with proper constraint checking.
1198
1036
  * Use this as the main export for generating translation key types.
1199
1037
  */
1200
1038
  declare type ExtractTranslationKeys<T extends TranslationObject> = TranslationKeys<T>;
1201
1039
 
1202
- export declare const Face: (props: IconSvgProps) => JSX.Element;
1203
-
1204
- export declare const FaceRemove: (props: IconSvgProps) => JSX.Element;
1205
-
1206
- export declare const FastBackward: (props: IconSvgProps) => JSX.Element;
1207
-
1208
- export declare const FastForward: (props: IconSvgProps) => JSX.Element;
1209
-
1210
1040
  export declare const FeedbackForm: ({ categories, defaultCategory, showEmailReply, onSend, onCancel, isOpen, onOpenChange, labels: labelsOverride, emailPrivacyUrl, maxFileSize, acceptedFileTypes, isSending, className, placement, shouldFlip, triggerRef: externalTriggerRef, children, }: FeedbackFormProps) => JSX.Element;
1211
1041
 
1212
1042
  export declare type FeedbackFormData = {
@@ -1256,15 +1086,6 @@ export declare type FeedbackFormProps = {
1256
1086
  children?: ReactNode;
1257
1087
  };
1258
1088
 
1259
- declare const File_2: (props: IconSvgProps) => JSX.Element;
1260
- export { File_2 as File }
1261
-
1262
- export declare const FileCheck: (props: IconSvgProps) => JSX.Element;
1263
-
1264
- export declare const FileError: (props: IconSvgProps) => JSX.Element;
1265
-
1266
- export declare const FileFilled: (props: IconSvgProps) => JSX.Element;
1267
-
1268
1089
  /**
1269
1090
  * Used by the FilePreview component to display the file icon.
1270
1091
  * Mirrors the variant in drive that operates on a FilePreviewType
@@ -1283,9 +1104,7 @@ declare type FileIconProps = {
1283
1104
  type?: "mini" | "normal";
1284
1105
  };
1285
1106
 
1286
- export declare const FileImport: (props: IconSvgProps) => JSX.Element;
1287
-
1288
- export declare const FilePreview: ({ isOpen, onClose, title, files, initialIndexFile, openedFileId, sidebarContent, headerRightContent, onChangeFile, onFileOpen, handleDownloadFile, hideCloseButton, pdfWorkerSrc, onOpenInEditor, }: FilePreviewProps) => JSX.Element | null;
1107
+ export declare const FilePreview: ({ isOpen, onClose, title, files, initialIndexFile, openedFileId, sidebarContent, customHeaderActions, headerActionsMenuOptions, onChangeFile, onFileOpen, handleDownloadFile, hideCloseButton, pdfWorkerSrc, onOpenInEditor, }: FilePreviewProps) => JSX.Element | null;
1289
1108
 
1290
1109
  declare interface FilePreviewProps {
1291
1110
  isOpen: boolean;
@@ -1294,7 +1113,8 @@ declare interface FilePreviewProps {
1294
1113
  files?: FilePreviewType[];
1295
1114
  initialIndexFile?: number;
1296
1115
  openedFileId?: string;
1297
- headerRightContent?: default_2.ReactNode;
1116
+ customHeaderActions?: (headerActions: default_2.ReactNode) => default_2.ReactNode;
1117
+ headerActionsMenuOptions?: (file: FilePreviewType) => MenuItemAction[];
1298
1118
  sidebarContent?: default_2.ReactNode;
1299
1119
  onChangeFile?: (file?: FilePreviewType) => void;
1300
1120
  onFileOpen?: (file: FilePreviewType) => void;
@@ -1315,12 +1135,8 @@ export declare type FilePreviewType = {
1315
1135
  isSuspicious?: boolean;
1316
1136
  };
1317
1137
 
1318
- export declare const FileShare: (props: IconSvgProps) => JSX.Element;
1319
-
1320
1138
  export declare const Filter: (props: FilterProps) => JSX.Element;
1321
1139
 
1322
- export declare const FilterNotification: (props: IconSvgProps) => JSX.Element;
1323
-
1324
1140
  export declare type FilterOption = Option_2 & {
1325
1141
  showSeparator?: boolean;
1326
1142
  isChecked?: boolean;
@@ -1331,48 +1147,14 @@ export declare type FilterProps = {
1331
1147
  options: FilterOption[];
1332
1148
  } & SelectProps;
1333
1149
 
1334
- export declare const Folder: (props: IconSvgProps) => JSX.Element;
1335
-
1336
- export declare const FolderDrive: (props: IconSvgProps) => JSX.Element;
1337
-
1338
- export declare const FolderDriveZip: (props: IconSvgProps) => JSX.Element;
1339
-
1340
- export declare const FolderFilled: (props: IconSvgProps) => JSX.Element;
1341
-
1342
- export declare const FolderPerso: (props: IconSvgProps) => JSX.Element;
1343
-
1344
- export declare const FolderPlus: (props: IconSvgProps) => JSX.Element;
1345
-
1346
- export declare const FolderPublic: (props: IconSvgProps) => JSX.Element;
1347
-
1348
- export declare const FolderShared: (props: IconSvgProps) => JSX.Element;
1349
-
1350
- export declare const FolderStar: (props: IconSvgProps) => JSX.Element;
1351
-
1352
- export declare const FoodBred: (props: IconSvgProps) => JSX.Element;
1353
-
1354
- export declare const FoodBrezel: (props: IconSvgProps) => JSX.Element;
1355
-
1356
- export declare const FoodCroissant: (props: IconSvgProps) => JSX.Element;
1357
-
1358
- export declare const FoodGingerbread: (props: IconSvgProps) => JSX.Element;
1359
-
1360
- export declare const FoodPancake: (props: IconSvgProps) => JSX.Element;
1361
-
1362
- export declare const FoodPizza: (props: IconSvgProps) => JSX.Element;
1363
-
1364
- export declare const FoodSpaghetti: (props: IconSvgProps) => JSX.Element;
1365
-
1366
- export declare const FoodWaffle: (props: IconSvgProps) => JSX.Element;
1367
-
1368
1150
  export declare const Footer: ({ externalLinks, legalLinks, license, logo, }: FooterProps) => JSX.Element;
1369
1151
 
1370
1152
  export declare type FooterProps = {
1371
- externalLinks?: readonly Link_2[];
1372
- legalLinks?: readonly Link_2[];
1153
+ externalLinks?: readonly Link[];
1154
+ legalLinks?: readonly Link[];
1373
1155
  license?: {
1374
1156
  label: string;
1375
- link: Link_2;
1157
+ link: Link;
1376
1158
  };
1377
1159
  logo?: {
1378
1160
  src: string;
@@ -1382,18 +1164,6 @@ export declare type FooterProps = {
1382
1164
  };
1383
1165
  };
1384
1166
 
1385
- export declare const FormatText: (props: IconSvgProps) => JSX.Element;
1386
-
1387
- export declare const Gauge: (props: IconSvgProps) => JSX.Element;
1388
-
1389
- export declare const GearFilled: (props: IconSvgProps) => JSX.Element;
1390
-
1391
- export declare const GearRounded: (props: IconSvgProps) => JSX.Element;
1392
-
1393
- export declare const GearRoundedFilled: (props: IconSvgProps) => JSX.Element;
1394
-
1395
- export declare const GearRoundedNotif: (props: IconSvgProps) => JSX.Element;
1396
-
1397
1167
  export declare const getContainerSize: (iconSize: IconSize) => number;
1398
1168
 
1399
1169
  export declare const getExtensionFromName: (str: string) => string | null;
@@ -1420,20 +1190,6 @@ export declare const getUserColor: (name: string) => string;
1420
1190
  */
1421
1191
  export declare const getUserInitials: (name: string) => string;
1422
1192
 
1423
- export declare const Github: (props: IconSvgProps) => JSX.Element;
1424
-
1425
- export declare const Globe: (props: IconSvgProps) => JSX.Element;
1426
-
1427
- export declare const Globe2: (props: IconSvgProps) => JSX.Element;
1428
-
1429
- export declare const GlobeLock: (props: IconSvgProps) => JSX.Element;
1430
-
1431
- export declare const Grip: (props: IconSvgProps) => JSX.Element;
1432
-
1433
- export declare const HandsClap: (props: IconSvgProps) => JSX.Element;
1434
-
1435
- export declare const HandTap: (props: IconSvgProps) => JSX.Element;
1436
-
1437
1193
  export declare const Header: ({ leftIcon, rightIcon, languages, onTogglePanel, isPanelOpen, }: HeaderProps) => JSX.Element;
1438
1194
 
1439
1195
  export declare const headerHeight = 52;
@@ -1446,14 +1202,6 @@ export declare type HeaderProps = {
1446
1202
  isPanelOpen?: boolean;
1447
1203
  };
1448
1204
 
1449
- export declare const Heading1: (props: IconSvgProps) => JSX.Element;
1450
-
1451
- export declare const Heading2: (props: IconSvgProps) => JSX.Element;
1452
-
1453
- export declare const Heading3: (props: IconSvgProps) => JSX.Element;
1454
-
1455
- export declare const Headset: (props: IconSvgProps) => JSX.Element;
1456
-
1457
1205
  export declare const HelpMenu: ({ documentationUrl, onOnboarding, onContactUs, feedbackForm, release, }: HelpMenuProps) => JSX.Element | null;
1458
1206
 
1459
1207
  export declare type HelpMenuFeedbackConfig = {
@@ -1491,66 +1239,14 @@ export declare const Hero: ({ logo, mainButton, banner, title, subtitle, }: {
1491
1239
  subtitle: string;
1492
1240
  }) => JSX.Element;
1493
1241
 
1494
- export declare const Hide: (props: IconSvgProps) => JSX.Element;
1495
-
1496
- declare const Highlight_2: (props: IconSvgProps) => JSX.Element;
1497
- export { Highlight_2 as Highlight }
1498
-
1499
- declare const History_2: (props: IconSvgProps) => JSX.Element;
1500
- export { History_2 as History }
1501
-
1502
1242
  export declare const HomeGutter: ({ children }: {
1503
1243
  children: React.ReactNode;
1504
1244
  }) => JSX.Element;
1505
1245
 
1506
1246
  export declare const HorizontalSeparator: (props: Props_3) => JSX.Element;
1507
1247
 
1508
- export declare const House: (props: IconSvgProps) => JSX.Element;
1509
-
1510
1248
  export declare const Icon: default_2.FC<IconProps>;
1511
1249
 
1512
- export declare const Icon10CircleFilled: (props: IconSvgProps) => JSX.Element;
1513
-
1514
- export declare const Icon11CircleFilled: (props: IconSvgProps) => JSX.Element;
1515
-
1516
- export declare const Icon12CircleFilled: (props: IconSvgProps) => JSX.Element;
1517
-
1518
- export declare const Icon13CircleFilled: (props: IconSvgProps) => JSX.Element;
1519
-
1520
- export declare const Icon14CircleFilled: (props: IconSvgProps) => JSX.Element;
1521
-
1522
- export declare const Icon15CircleFilled: (props: IconSvgProps) => JSX.Element;
1523
-
1524
- export declare const Icon16CircleFilled: (props: IconSvgProps) => JSX.Element;
1525
-
1526
- export declare const Icon17CircleFilled: (props: IconSvgProps) => JSX.Element;
1527
-
1528
- export declare const Icon18CircleFilled: (props: IconSvgProps) => JSX.Element;
1529
-
1530
- export declare const Icon19CircleFilled: (props: IconSvgProps) => JSX.Element;
1531
-
1532
- export declare const Icon1CircleFilled: (props: IconSvgProps) => JSX.Element;
1533
-
1534
- export declare const Icon20CircleFilled: (props: IconSvgProps) => JSX.Element;
1535
-
1536
- export declare const Icon2CircleFilled: (props: IconSvgProps) => JSX.Element;
1537
-
1538
- export declare const Icon3CircleFilled: (props: IconSvgProps) => JSX.Element;
1539
-
1540
- export declare const Icon4CircleFilled: (props: IconSvgProps) => JSX.Element;
1541
-
1542
- export declare const Icon5CircleFilled: (props: IconSvgProps) => JSX.Element;
1543
-
1544
- export declare const Icon6CircleFilled: (props: IconSvgProps) => JSX.Element;
1545
-
1546
- export declare const Icon7CircleFilled: (props: IconSvgProps) => JSX.Element;
1547
-
1548
- export declare const Icon8CircleFilled: (props: IconSvgProps) => JSX.Element;
1549
-
1550
- export declare const Icon9CircleFilled: (props: IconSvgProps) => JSX.Element;
1551
-
1552
- export declare const IconLeftPanel: (props: IconSvgProps) => JSX.Element;
1553
-
1554
1250
  export declare type IconProps = {
1555
1251
  /**
1556
1252
  * The name of the Material Icon to display
@@ -1578,8 +1274,6 @@ export declare type IconProps = {
1578
1274
  [key: string]: unknown;
1579
1275
  };
1580
1276
 
1581
- export declare const IconRightPanel: (props: IconSvgProps) => JSX.Element;
1582
-
1583
1277
  export declare const ICONS: {
1584
1278
  mini: {
1585
1279
  calc: string;
@@ -1630,8 +1324,6 @@ export declare enum IconType {
1630
1324
  FILLED = "filled"
1631
1325
  }
1632
1326
 
1633
- export declare const Identity: (props: IconSvgProps) => JSX.Element;
1634
-
1635
1327
  export declare const ImageViewer: default_2.FC<ImageViewerProps>;
1636
1328
 
1637
1329
  declare interface ImageViewerProps {
@@ -1644,10 +1336,6 @@ declare interface ImageViewerProps {
1644
1336
  zoomStep?: number;
1645
1337
  }
1646
1338
 
1647
- export declare const Info: (props: IconSvgProps) => JSX.Element;
1648
-
1649
- export declare const Info2: (props: IconSvgProps) => JSX.Element;
1650
-
1651
1339
  export declare type InvitationData<UserType, T> = T & {
1652
1340
  id: string;
1653
1341
  role: string;
@@ -1667,18 +1355,6 @@ export declare const isTitle: <T>(node?: TreeViewDataType<T>) => boolean;
1667
1355
 
1668
1356
  export declare const isViewMore: <T>(node?: TreeViewDataType<T>) => boolean;
1669
1357
 
1670
- export declare const Italic: (props: IconSvgProps) => JSX.Element;
1671
-
1672
- export declare const JusticeFilled: (props: IconSvgProps) => JSX.Element;
1673
-
1674
- export declare const Key: (props: IconSvgProps) => JSX.Element;
1675
-
1676
- export declare const Key2: (props: IconSvgProps) => JSX.Element;
1677
-
1678
- export declare const KeyboardHide: (props: IconSvgProps) => JSX.Element;
1679
-
1680
- export declare const KeyFilled: (props: IconSvgProps) => JSX.Element;
1681
-
1682
1358
  export declare const KNOWN_EXTENSIONS: Set<string>;
1683
1359
 
1684
1360
  export declare const Label: ({ children, text, ...props }: LabelHTMLAttributes<HTMLLabelElement> & {
@@ -1740,10 +1416,6 @@ export declare type LanguagesOption = DropdownMenuOption & {
1740
1416
  shortLabel?: string;
1741
1417
  };
1742
1418
 
1743
- export declare const LasuiteFilled: (props: IconSvgProps) => JSX.Element;
1744
-
1745
- export declare const Leaf: (props: IconSvgProps) => JSX.Element;
1746
-
1747
1419
  export declare const LeftPanel: ({ children, isOpen, hasHeader, footer, }: PropsWithChildren<LeftPanelProps>) => JSX.Element;
1748
1420
 
1749
1421
  export declare type LeftPanelProps = {
@@ -1754,9 +1426,7 @@ export declare type LeftPanelProps = {
1754
1426
 
1755
1427
  export declare const LeftSidebarIcon: (props: IconSvgProps) => JSX.Element;
1756
1428
 
1757
- export declare const Link: (props: IconSvgProps) => JSX.Element;
1758
-
1759
- declare type Link_2 = {
1429
+ declare type Link = {
1760
1430
  label: string;
1761
1431
  href: string;
1762
1432
  };
@@ -2249,15 +1919,6 @@ export declare const locales: {
2249
1919
  "nl-NL": any;
2250
1920
  };
2251
1921
 
2252
- declare const Lock_2: (props: IconSvgProps) => JSX.Element;
2253
- export { Lock_2 as Lock }
2254
-
2255
- export declare const Logout: (props: IconSvgProps) => JSX.Element;
2256
-
2257
- export declare const Mail: (props: IconSvgProps) => JSX.Element;
2258
-
2259
- export declare const MailCheckFilled: (props: IconSvgProps) => JSX.Element;
2260
-
2261
1922
  export declare const MainLayout: ({ icon, children, hideLeftPanelOnDesktop, leftPanelContent, leftPanelFooter, rightPanelContent, rightHeaderContent, languages, enableResize, rightPanelIsOpen, ...props }: PropsWithChildren<MainLayoutProps>) => JSX.Element;
2262
1923
 
2263
1924
  export declare type MainLayoutProps = {
@@ -2275,10 +1936,6 @@ export declare type MainLayoutProps = {
2275
1936
  setIsLeftPanelOpen?: (isLeftPanelOpen: boolean) => void;
2276
1937
  };
2277
1938
 
2278
- export declare const Maximize: (props: IconSvgProps) => JSX.Element;
2279
-
2280
- export declare const MegaphoneFilled: (props: IconSvgProps) => JSX.Element;
2281
-
2282
1939
  /**
2283
1940
  * Union type for all menu items
2284
1941
  */
@@ -2308,8 +1965,6 @@ export declare type MenuItemSeparator = {
2308
1965
  type: "separator";
2309
1966
  };
2310
1967
 
2311
- export declare const MicOffAlert: (props: IconSvgProps) => JSX.Element;
2312
-
2313
1968
  export declare const MIME_MAP: {
2314
1969
  calc: string[];
2315
1970
  pdf: string[];
@@ -2336,16 +1991,8 @@ export declare enum MimeCategory {
2336
1991
  GRIST = "grist"
2337
1992
  }
2338
1993
 
2339
- export declare const Minus: (props: IconSvgProps) => JSX.Element;
2340
-
2341
1994
  export { ModalSize }
2342
1995
 
2343
- export declare const MoreCircle: (props: IconSvgProps) => JSX.Element;
2344
-
2345
- export declare const MusicFilled: (props: IconSvgProps) => JSX.Element;
2346
-
2347
- export declare const Mute: (props: IconSvgProps) => JSX.Element;
2348
-
2349
1996
  export { NodeRendererProps }
2350
1997
 
2351
1998
  export declare const NotSupportedPreview: ({ file, onDownload, title, }: NotSupportedPreviewProps) => JSX.Element;
@@ -2356,8 +2003,6 @@ declare interface NotSupportedPreviewProps {
2356
2003
  title?: string;
2357
2004
  }
2358
2005
 
2359
- export declare const NumberedList: (props: IconSvgProps) => JSX.Element;
2360
-
2361
2006
  export declare const OnboardingModal: ({ isOpen, size, appName, mainTitle, steps, initialStep, footerLink, hideContent, onSkip, onComplete, onClose, labels, }: OnboardingModalProps) => JSX.Element | null;
2362
2007
 
2363
2008
  export declare interface OnboardingModalProps {
@@ -2443,46 +2088,8 @@ export declare type PaginatedChildrenResult<T> = {
2443
2088
  pagination?: BaseTreeViewData<T>["pagination"];
2444
2089
  };
2445
2090
 
2446
- export declare const PaletteFilled: (props: IconSvgProps) => JSX.Element;
2447
-
2448
- export declare const Pause: (props: IconSvgProps) => JSX.Element;
2449
-
2450
- export declare const Perso: (props: IconSvgProps) => JSX.Element;
2451
-
2452
- export declare const PersoFilled: (props: IconSvgProps) => JSX.Element;
2453
-
2454
- export declare const Phone: (props: IconSvgProps) => JSX.Element;
2455
-
2456
- export declare const PhoneArrowUpRight: (props: IconSvgProps) => JSX.Element;
2457
-
2458
- export declare const PhoneArrowUpRightFilled: (props: IconSvgProps) => JSX.Element;
2459
-
2460
- export declare const PhoneFilled: (props: IconSvgProps) => JSX.Element;
2461
-
2462
- export declare const Picture: (props: IconSvgProps) => JSX.Element;
2463
-
2464
- export declare const PictureFilled: (props: IconSvgProps) => JSX.Element;
2465
-
2466
- export declare const PictureRemove: (props: IconSvgProps) => JSX.Element;
2467
-
2468
- export declare const Pin: (props: IconSvgProps) => JSX.Element;
2469
-
2470
- export declare const PinFilled: (props: IconSvgProps) => JSX.Element;
2471
-
2472
- export declare const Play: (props: IconSvgProps) => JSX.Element;
2473
-
2474
- export declare const Play2: (props: IconSvgProps) => JSX.Element;
2475
-
2476
2091
  export declare const PlayerPreviewControls: ({ togglePlay, isPlaying, rewind10Seconds, forward10Seconds, volume, isMuted, toggleMute, handleVolumeChange, toggleFullscreen, isFullscreen, showFullscreenBtn, }: PreviewControlsProps) => JSX.Element;
2477
2092
 
2478
- export declare const Plus: (props: IconSvgProps) => JSX.Element;
2479
-
2480
- export declare const PlusDashed: (props: IconSvgProps) => JSX.Element;
2481
-
2482
- export declare const PlusDashedEdit: (props: IconSvgProps) => JSX.Element;
2483
-
2484
- export declare const Present: (props: IconSvgProps) => JSX.Element;
2485
-
2486
2093
  export declare type PreviewControlsProps = {
2487
2094
  togglePlay: () => void;
2488
2095
  isPlaying: boolean;
@@ -2543,14 +2150,6 @@ declare type Props_3 = Omit<AbstractSeparatorProps, "direction">;
2543
2150
 
2544
2151
  declare type Props_4 = Omit<AbstractSeparatorProps, "direction">;
2545
2152
 
2546
- export declare const Public: (props: IconSvgProps) => JSX.Element;
2547
-
2548
- export declare const Puzzle: (props: IconSvgProps) => JSX.Element;
2549
-
2550
- export declare const PuzzleFilled: (props: IconSvgProps) => JSX.Element;
2551
-
2552
- export declare const QuestionMark: (props: IconSvgProps) => JSX.Element;
2553
-
2554
2153
  export declare const QuickSearch: ({ onFilter, inputContent, inputValue, loading, showInput, label, placeholder, children, }: QuickSearchProps) => JSX.Element;
2555
2154
 
2556
2155
  export declare type QuickSearchAction = {
@@ -2599,10 +2198,6 @@ export declare type QuickSearchProps = {
2599
2198
  children?: ReactNode;
2600
2199
  };
2601
2200
 
2602
- export declare const Quote: (props: IconSvgProps) => JSX.Element;
2603
-
2604
- export declare const RectangleRotate: (props: IconSvgProps) => JSX.Element;
2605
-
2606
2201
  export declare const ReleaseNoteModal: ({ steps, ...props }: ReleaseNoteModalProps) => JSX.Element;
2607
2202
 
2608
2203
  export declare interface ReleaseNoteModalProps extends Omit<OnboardingModalProps, "hideContent" | "steps"> {
@@ -2626,20 +2221,12 @@ export declare interface ReleaseNoteStep {
2626
2221
  */
2627
2222
  export declare const removeFileExtension: (filename: string) => string;
2628
2223
 
2629
- export declare const Reply: (props: IconSvgProps) => JSX.Element;
2630
-
2631
2224
  declare type ResponsiveStates = {
2632
2225
  isMobile: boolean;
2633
2226
  isTablet: boolean;
2634
2227
  isDesktop: boolean;
2635
2228
  };
2636
2229
 
2637
- export declare const Retry: (props: IconSvgProps) => JSX.Element;
2638
-
2639
- export declare const RoleUp: (props: IconSvgProps) => JSX.Element;
2640
-
2641
- export declare const Sd: (props: IconSvgProps) => JSX.Element;
2642
-
2643
2230
  export declare const SearchFilter: <T extends SearchFilterItem = SearchFilterItem>(props: SearchFilterProps<T>) => JSX.Element;
2644
2231
 
2645
2232
  export declare type SearchFilterItem = {
@@ -2669,8 +2256,6 @@ declare type SearchUserItemProps<UserType> = {
2669
2256
  user: UserData<UserType>;
2670
2257
  };
2671
2258
 
2672
- export declare const Server: (props: IconSvgProps) => JSX.Element;
2673
-
2674
2259
  export declare type Service = {
2675
2260
  name: string;
2676
2261
  url: string;
@@ -2684,8 +2269,6 @@ declare type ServicesResponse = {
2684
2269
  error?: unknown;
2685
2270
  };
2686
2271
 
2687
- export declare const Shared: (props: IconSvgProps) => JSX.Element;
2688
-
2689
2272
  export declare const ShareInvitationItem: <UserType, InvitationType>({ invitation, roles, updateRole, deleteInvitation, canUpdate, roleTopMessage, }: ShareInvitationItemProps<UserType, InvitationType>) => JSX.Element;
2690
2273
 
2691
2274
  export declare type ShareInvitationItemProps<UserType, InvitationType> = {
@@ -2784,24 +2367,12 @@ export declare type ShareSelectedUserItemProps<UserType> = {
2784
2367
  onRemoveUser: (user: UserData<UserType>) => void;
2785
2368
  };
2786
2369
 
2787
- export declare const ShieldLockFilled: (props: IconSvgProps) => JSX.Element;
2788
-
2789
- export declare const Sparkles2: (props: IconSvgProps) => JSX.Element;
2790
-
2791
2370
  export declare const Spinner: ({ size }: SpinnerProps) => JSX.Element;
2792
2371
 
2793
2372
  declare type SpinnerProps = {
2794
2373
  size?: "sm" | "md" | "lg" | "xl";
2795
2374
  };
2796
2375
 
2797
- export declare const StackTemplate: (props: IconSvgProps) => JSX.Element;
2798
-
2799
- export declare const Star: (props: IconSvgProps) => JSX.Element;
2800
-
2801
- export declare const StarFilled: (props: IconSvgProps) => JSX.Element;
2802
-
2803
- export declare const StarSlash: (props: IconSvgProps) => JSX.Element;
2804
-
2805
2376
  export declare const StorageGauge: ({ used, total, unit, compact, precision, className, ...props }: StorageGaugeProps) => JSX.Element;
2806
2377
 
2807
2378
  declare type StorageGaugeProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
@@ -2817,10 +2388,6 @@ declare type StorageGaugeProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "
2817
2388
  precision?: number;
2818
2389
  };
2819
2390
 
2820
- export declare const Strikethrough: (props: IconSvgProps) => JSX.Element;
2821
-
2822
- export declare const Sun: (props: IconSvgProps) => JSX.Element;
2823
-
2824
2391
  export declare const SuspiciousPreview: ({ handleDownload, }: SuspiciousPreviewProps) => JSX.Element;
2825
2392
 
2826
2393
  declare interface SuspiciousPreviewProps {
@@ -2834,34 +2401,12 @@ export declare type TabData = {
2834
2401
  content: React.ReactNode;
2835
2402
  };
2836
2403
 
2837
- export declare const Table: (props: IconSvgProps) => JSX.Element;
2838
-
2839
2404
  export declare type TabsProps = {
2840
2405
  tabs: TabData[];
2841
2406
  defaultSelectedTab?: string;
2842
2407
  fullWidth?: boolean;
2843
2408
  };
2844
2409
 
2845
- export declare const TerminalFilled: (props: IconSvgProps) => JSX.Element;
2846
-
2847
- export declare const ThumbDown: (props: IconSvgProps) => JSX.Element;
2848
-
2849
- export declare const ThumbDownFilled: (props: IconSvgProps) => JSX.Element;
2850
-
2851
- export declare const ThumbUp: (props: IconSvgProps) => JSX.Element;
2852
-
2853
- export declare const ThumbUpFilled: (props: IconSvgProps) => JSX.Element;
2854
-
2855
- export declare const TodoList: (props: IconSvgProps) => JSX.Element;
2856
-
2857
- export declare const ToggleHeading1: (props: IconSvgProps) => JSX.Element;
2858
-
2859
- export declare const ToggleHeading2: (props: IconSvgProps) => JSX.Element;
2860
-
2861
- export declare const ToggleHeading3: (props: IconSvgProps) => JSX.Element;
2862
-
2863
- export declare const ToggleList: (props: IconSvgProps) => JSX.Element;
2864
-
2865
2410
  /**
2866
2411
  * All available translation keys extracted from the English translation file.
2867
2412
  * This type represents all possible keys that can be used with the translation system.
@@ -2914,8 +2459,6 @@ declare type TranslationValue = string | {
2914
2459
  [key: string]: TranslationValue;
2915
2460
  };
2916
2461
 
2917
- export declare const Trash: (props: IconSvgProps) => JSX.Element;
2918
-
2919
2462
  export { TreeApi }
2920
2463
 
2921
2464
  export declare const TreeContext: Context<TreeContextType<any> | null>;
@@ -3009,24 +2552,6 @@ export declare type TreeViewProps<T> = {
3009
2552
 
3010
2553
  export declare const TreeViewSeparator: ({ top, left }: CursorProps) => JSX.Element;
3011
2554
 
3012
- export declare const Type: (props: IconSvgProps) => JSX.Element;
3013
-
3014
- export declare const Underline: (props: IconSvgProps) => JSX.Element;
3015
-
3016
- export declare const Undo: (props: IconSvgProps) => JSX.Element;
3017
-
3018
- export declare const UndoCircle: (props: IconSvgProps) => JSX.Element;
3019
-
3020
- export declare const UndoCircleFilled: (props: IconSvgProps) => JSX.Element;
3021
-
3022
- export declare const Unhide: (props: IconSvgProps) => JSX.Element;
3023
-
3024
- export declare const Unpin: (props: IconSvgProps) => JSX.Element;
3025
-
3026
- export declare const UnpinFilled: (props: IconSvgProps) => JSX.Element;
3027
-
3028
- export declare const Upload: (props: IconSvgProps) => JSX.Element;
3029
-
3030
2555
  /**
3031
2556
  * useArrowRoving
3032
2557
  *
@@ -3138,13 +2663,13 @@ export declare const useTree: <T>(initialItems: TreeViewDataType<T>[], refreshCa
3138
2663
  prependToNode: (nodeId: string, newNode: TreeViewDataType<T>) => void;
3139
2664
  moveNode: (nodeId: string, newParentId: string | null, newIndex: number) => void;
3140
2665
  appendToNode: (nodeId: string, newNode: TreeViewDataType<T>) => void;
3141
- move: (key: Key_2, toParentKey: Key_2 | null, index: number) => void;
2666
+ move: (key: Key, toParentKey: Key | null, index: number) => void;
3142
2667
  resetTree: (newItems?: TreeViewDataType<T>[]) => void;
3143
2668
  handleLoadChildren: (nodeId: string) => Promise<never[] | undefined>;
3144
2669
  selectNodeById: (nodeId: string) => void;
3145
2670
  getParent: (nodeId: string) => TreeViewDataType<T> | null;
3146
2671
  getNode: (nodeId: string) => TreeViewDataType<T> | undefined;
3147
- getParentId: (nodeId: string) => Key_2 | null;
2672
+ getParentId: (nodeId: string) => Key | null;
3148
2673
  getAncestors: (nodeId: string) => TreeViewDataType<T>[];
3149
2674
  };
3150
2675
 
@@ -3170,8 +2695,6 @@ declare interface VideoPlayerProps {
3170
2695
  onTimeUpdate?: (currentTime: number) => void;
3171
2696
  }
3172
2697
 
3173
- export declare const Volume2: (props: IconSvgProps) => JSX.Element;
3174
-
3175
2698
  export declare const VolumeBar: ({ volume, isMuted, toggleMute, handleVolumeChange, }: VolumeBarProps) => JSX.Element;
3176
2699
 
3177
2700
  export declare type VolumeBarProps = {
@@ -3181,16 +2704,6 @@ export declare type VolumeBarProps = {
3181
2704
  handleVolumeChange: (newVolume: number) => void;
3182
2705
  };
3183
2706
 
3184
- export declare const VolumeX: (props: IconSvgProps) => JSX.Element;
3185
-
3186
- export declare const WandAndStars: (props: IconSvgProps) => JSX.Element;
3187
-
3188
- export declare const Warning: (props: IconSvgProps) => JSX.Element;
3189
-
3190
- export declare const WarningFilled: (props: IconSvgProps) => JSX.Element;
3191
-
3192
- export declare const Weight: (props: IconSvgProps) => JSX.Element;
3193
-
3194
2707
  export declare const whiteLabelGlobals: {
3195
2708
  font: {
3196
2709
  families: {
@@ -3605,12 +3118,6 @@ declare interface WopiOpenInEditorProps {
3605
3118
  onOpenInEditor: (file: FilePreviewType) => void;
3606
3119
  }
3607
3120
 
3608
- export declare const XMark: (props: IconSvgProps) => JSX.Element;
3609
-
3610
- export declare const Zoom: (props: IconSvgProps) => JSX.Element;
3611
-
3612
- export declare const Zoom1: (props: IconSvgProps) => JSX.Element;
3613
-
3614
3121
  export declare const ZoomControls: ({ zoomOut, zoomIn, resetView, }: ZoomControlsProps) => JSX.Element;
3615
3122
 
3616
3123
  declare interface ZoomControlsProps {
@@ -3619,8 +3126,4 @@ declare interface ZoomControlsProps {
3619
3126
  resetView: () => void;
3620
3127
  }
3621
3128
 
3622
- export declare const ZoomMinus: (props: IconSvgProps) => JSX.Element;
3623
-
3624
- export declare const ZoomPlus: (props: IconSvgProps) => JSX.Element;
3625
-
3626
3129
  export { }