laif-ds 0.1.5 → 0.1.7

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 (135) hide show
  1. package/dist/_virtual/_cloneBuffer.js +5 -0
  2. package/dist/_virtual/dayjs.min.js +8 -0
  3. package/dist/_virtual/dayjs.min2.js +5 -0
  4. package/dist/_virtual/debounce.js +8 -0
  5. package/dist/_virtual/index5.js +5 -2
  6. package/dist/_virtual/index6.js +5 -0
  7. package/dist/_virtual/index7.js +5 -0
  8. package/dist/_virtual/localizedFormat.js +8 -0
  9. package/dist/_virtual/localizedFormat2.js +5 -0
  10. package/dist/_virtual/omit.js +8 -0
  11. package/dist/components/ui/data-table.js +122 -0
  12. package/dist/components/ui/gantt/assets/icons/MinusSquareOutlined.js +36 -0
  13. package/dist/components/ui/gantt/assets/icons/PlusSquareOutlined.js +45 -0
  14. package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +115 -0
  15. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +158 -0
  16. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +36 -0
  17. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +26 -0
  18. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRowContext.js +14 -0
  19. package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +75 -0
  20. package/dist/components/ui/gantt/components/Chart/Chart.js +66 -0
  21. package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +88 -0
  22. package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +72 -0
  23. package/dist/components/ui/gantt/components/Controls/Controls.js +82 -0
  24. package/dist/components/ui/gantt/components/Gantt/Gantt.js +58 -0
  25. package/dist/components/ui/gantt/components/Gantt/GanttContext.js +35 -0
  26. package/dist/components/ui/gantt/constants/DimensionsSettings.js +89 -0
  27. package/dist/components/ui/gantt/constants/DragStepOptions.js +43 -0
  28. package/dist/components/ui/gantt/constants/GanttConsts.js +17 -0
  29. package/dist/components/ui/gantt/constants/colors.json.js +106 -0
  30. package/dist/components/ui/gantt/enums/DataRepeatTimes.js +5 -0
  31. package/dist/components/ui/gantt/enums/DragStepSizes.js +5 -0
  32. package/dist/components/ui/gantt/enums/DragTypes.js +5 -0
  33. package/dist/components/ui/gantt/enums/GanttDimensions.js +5 -0
  34. package/dist/components/ui/gantt/enums/GanttUnitOfTimes.js +5 -0
  35. package/dist/components/ui/gantt/hooks/useForwardRef.js +11 -0
  36. package/dist/components/ui/gantt/hooks/useGanttCalculate.js +30 -0
  37. package/dist/components/ui/gantt/utils/getInitialScrollOffset.js +11 -0
  38. package/dist/components/ui/gantt/utils/getScaleDates.js +14 -0
  39. package/dist/components/ui/gantt/utils/getScaleItems.js +33 -0
  40. package/dist/components/ui/gantt/utils/getWholeWidth.js +7 -0
  41. package/dist/components/ui/gantt/utils/transformData.js +36 -0
  42. package/dist/components/ui/toaster.js +26 -0
  43. package/dist/dist/_virtual/jsx-runtime.js +6 -0
  44. package/dist/dist/_virtual/jsx-runtime2.js +5 -0
  45. package/dist/dist/_virtual/react-jsx-runtime.development.js +5 -0
  46. package/dist/dist/_virtual/react-jsx-runtime.production.js +5 -0
  47. package/dist/dist/components/ui/checkbox.js +32 -0
  48. package/dist/dist/components/ui/scroll-area.js +61 -0
  49. package/dist/dist/components/ui/table.js +87 -0
  50. package/dist/dist/lib/utils.js +9 -0
  51. package/dist/dist/node_modules/@radix-ui/number/dist/index.js +7 -0
  52. package/dist/dist/node_modules/@radix-ui/primitive/dist/index.js +10 -0
  53. package/dist/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +136 -0
  54. package/dist/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
  55. package/dist/dist/node_modules/@radix-ui/react-context/dist/index.js +56 -0
  56. package/dist/dist/node_modules/@radix-ui/react-direction/dist/index.js +10 -0
  57. package/dist/dist/node_modules/@radix-ui/react-presence/dist/index.js +72 -0
  58. package/dist/dist/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
  59. package/dist/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +534 -0
  60. package/dist/dist/node_modules/@radix-ui/react-slot/dist/index.js +50 -0
  61. package/dist/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +14 -0
  62. package/dist/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +33 -0
  63. package/dist/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  64. package/dist/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +9 -0
  65. package/dist/dist/node_modules/@radix-ui/react-use-size/dist/index.js +28 -0
  66. package/dist/dist/node_modules/clsx/dist/clsx.js +18 -0
  67. package/dist/dist/node_modules/lucide-react/dist/esm/Icon.js +41 -0
  68. package/dist/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +28 -0
  69. package/dist/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +21 -0
  70. package/dist/dist/node_modules/lucide-react/dist/esm/icons/check.js +13 -0
  71. package/dist/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +20 -0
  72. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.development.js +248 -0
  73. package/dist/dist/node_modules/react/cjs/react-jsx-runtime.production.js +36 -0
  74. package/dist/dist/node_modules/react/jsx-runtime.js +11 -0
  75. package/dist/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +2732 -0
  76. package/dist/index.d.ts +191 -1
  77. package/dist/index.js +303 -295
  78. package/dist/laif-ds.css +1 -0
  79. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +8 -0
  80. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +13 -0
  81. package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +8 -0
  82. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +9 -0
  83. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +57 -0
  84. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +2150 -0
  85. package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.js +27 -0
  86. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +184 -0
  87. package/dist/node_modules/@tanstack/react-table/build/lib/index.js +103 -0
  88. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1896 -0
  89. package/dist/node_modules/classnames/index.js +43 -0
  90. package/dist/node_modules/dayjs/dayjs.min.js +283 -0
  91. package/dist/node_modules/dayjs/plugin/localizedFormat.js +30 -0
  92. package/dist/node_modules/lodash/_arrayEach.js +15 -0
  93. package/dist/node_modules/lodash/_assignValue.js +17 -0
  94. package/dist/node_modules/lodash/_baseAssign.js +16 -0
  95. package/dist/node_modules/lodash/_baseAssignIn.js +16 -0
  96. package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
  97. package/dist/node_modules/lodash/_baseClone.js +71 -0
  98. package/dist/node_modules/lodash/_baseCreate.js +24 -0
  99. package/dist/node_modules/lodash/_baseIsMap.js +16 -0
  100. package/dist/node_modules/lodash/_baseIsSet.js +16 -0
  101. package/dist/node_modules/lodash/_baseKeysIn.js +22 -0
  102. package/dist/node_modules/lodash/_baseUnset.js +18 -0
  103. package/dist/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  104. package/dist/node_modules/lodash/_cloneBuffer.js +20 -0
  105. package/dist/node_modules/lodash/_cloneDataView.js +16 -0
  106. package/dist/node_modules/lodash/_cloneRegExp.js +15 -0
  107. package/dist/node_modules/lodash/_cloneSymbol.js +15 -0
  108. package/dist/node_modules/lodash/_cloneTypedArray.js +16 -0
  109. package/dist/node_modules/lodash/_copyArray.js +16 -0
  110. package/dist/node_modules/lodash/_copyObject.js +22 -0
  111. package/dist/node_modules/lodash/_copySymbols.js +16 -0
  112. package/dist/node_modules/lodash/_copySymbolsIn.js +16 -0
  113. package/dist/node_modules/lodash/_customOmitClone.js +15 -0
  114. package/dist/node_modules/lodash/_flatRest.js +17 -0
  115. package/dist/node_modules/lodash/_getAllKeysIn.js +17 -0
  116. package/dist/node_modules/lodash/_getPrototype.js +12 -0
  117. package/dist/node_modules/lodash/_getSymbolsIn.js +19 -0
  118. package/dist/node_modules/lodash/_initCloneArray.js +15 -0
  119. package/dist/node_modules/lodash/_initCloneByTag.js +49 -0
  120. package/dist/node_modules/lodash/_initCloneObject.js +17 -0
  121. package/dist/node_modules/lodash/_nativeKeysIn.js +17 -0
  122. package/dist/node_modules/lodash/_parent.js +16 -0
  123. package/dist/node_modules/lodash/flatten.js +16 -0
  124. package/dist/node_modules/lodash/isMap.js +14 -0
  125. package/dist/node_modules/lodash/isPlainObject.js +23 -0
  126. package/dist/node_modules/lodash/isSet.js +14 -0
  127. package/dist/node_modules/lodash/keysIn.js +17 -0
  128. package/dist/node_modules/lodash/last.js +14 -0
  129. package/dist/node_modules/lodash/omit.js +30 -0
  130. package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +28 -0
  131. package/dist/node_modules/react-window/dist/index.esm.js +375 -0
  132. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  133. package/dist/styles.css +1 -1
  134. package/package.json +16 -7
  135. package/dist/components/ui/sonner.js +0 -23
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
5
5
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
6
6
  import { ClassProp } from 'class-variance-authority/types';
7
7
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
8
+ import { ColumnDef } from '@tanstack/react-table';
8
9
  import { Command as Command_2 } from 'cmdk';
9
10
  import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
10
11
  import { ControllerProps } from 'react-hook-form';
@@ -25,12 +26,14 @@ import * as LabelPrimitive from '@radix-ui/react-label';
25
26
  import * as LucideIcons from 'lucide-react';
26
27
  import * as MenubarPrimitive from '@radix-ui/react-menubar';
27
28
  import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
29
+ import { OnChangeFn } from '@tanstack/react-table';
28
30
  import { OTPInput } from 'input-otp';
29
31
  import * as PopoverPrimitive from '@radix-ui/react-popover';
30
32
  import * as ProgressPrimitive from '@radix-ui/react-progress';
31
33
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
32
34
  import * as React_2 from 'react';
33
35
  import { ReactElement } from 'react';
36
+ import { ReactNode } from 'react';
34
37
  import * as RechartsPrimitive from 'recharts';
35
38
  import { RefAttributes } from 'react';
36
39
  import { RefObject } from 'react';
@@ -41,7 +44,7 @@ import * as SeparatorPrimitive from '@radix-ui/react-separator';
41
44
  import { Slot } from '@radix-ui/react-slot';
42
45
  import * as SwitchPrimitive from '@radix-ui/react-switch';
43
46
  import * as TabsPrimitive from '@radix-ui/react-tabs';
44
- import { ToasterProps } from 'sonner';
47
+ import { Toaster as Toaster_2 } from 'sonner';
45
48
  import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
46
49
  import * as TogglePrimitive from '@radix-ui/react-toggle';
47
50
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
@@ -200,6 +203,8 @@ export declare const badgeVariants: (props?: ({
200
203
  variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
201
204
  } & ClassProp) | undefined) => string;
202
205
 
206
+ declare type BarItemDataType = RepeatDataType | NoRepeatDataType;
207
+
203
208
  export declare function Button({ className, variant, size, asChild, iconLeft, iconRight, ...props }: ButtonProps): JSX.Element;
204
209
 
205
210
  export declare interface ButtonProps extends React_2.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
@@ -256,6 +261,8 @@ declare type CarouselProps = {
256
261
  setApi?: (api: CarouselApi) => void;
257
262
  };
258
263
 
264
+ declare const Chart: default_3.FC<ChartProps>;
265
+
259
266
  export declare type ChartConfig = {
260
267
  [k in string]: {
261
268
  label?: React_2.ReactNode;
@@ -281,6 +288,13 @@ export declare function ChartLegendContent({ className, hideIcon, payload, verti
281
288
  nameKey?: string;
282
289
  }): JSX.Element | null;
283
290
 
291
+ declare interface ChartProps {
292
+ data: GanttDataType[];
293
+ className?: string;
294
+ onBarDoubleClick?: OnBarDoubleClickType;
295
+ onBarChange?: OnBarChangeType;
296
+ }
297
+
284
298
  export declare const ChartStyle: ({ id, config }: {
285
299
  id: string;
286
300
  config: ChartConfig;
@@ -435,6 +449,12 @@ export declare function ContextMenuSubTrigger({ className, inset, children, ...p
435
449
 
436
450
  export declare function ContextMenuTrigger({ ...props }: React_2.ComponentProps<typeof ContextMenuPrimitive.Trigger>): JSX.Element;
437
451
 
452
+ declare const Controls: default_3.FC<ControlsProps>;
453
+
454
+ declare interface ControlsProps {
455
+ className?: string;
456
+ }
457
+
438
458
  export declare function CopyButton({ content, copyMessage }: CopyButtonProps): JSX.Element;
439
459
 
440
460
  declare type CopyButtonProps = {
@@ -442,6 +462,29 @@ declare type CopyButtonProps = {
442
462
  copyMessage?: string;
443
463
  };
444
464
 
465
+ declare enum DataRepeatTypes {
466
+ DAY = "DAY",
467
+ WEEK = "WEEK",
468
+ MONTH = "MONTH"
469
+ }
470
+
471
+ export declare function DataTable<TData, TValue>({ columns, data, loading, loadingComponent, emptyComponent, className, rowSelection, onRowSelectionChange, checkable, onCheckedRowsChange, notFoundMessage, loadingMessage }: DataTableProps<TData, TValue>): JSX.Element;
472
+
473
+ declare interface DataTableProps<TData, TValue> {
474
+ columns: ColumnDef<TData, TValue>[];
475
+ data: TData[];
476
+ loading?: boolean;
477
+ loadingComponent?: ReactNode;
478
+ emptyComponent?: ReactNode;
479
+ className?: string;
480
+ rowSelection?: Record<string, boolean>;
481
+ onRowSelectionChange?: OnChangeFn<Record<string, boolean>>;
482
+ checkable?: boolean;
483
+ onCheckedRowsChange?: (checkedRows: TData[]) => void;
484
+ notFoundMessage?: string;
485
+ loadingMessage?: string;
486
+ }
487
+
445
488
  export declare function DatePicker({ value, onChange, placeholder, dateFormat, className, buttonVariant, disabled, size, }: DatePickerProps): JSX.Element;
446
489
 
447
490
  declare interface DatePickerProps {
@@ -504,6 +547,64 @@ export declare function FormLabel({ className, ...props }: React_2.ComponentProp
504
547
 
505
548
  export declare function FormMessage({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element | null;
506
549
 
550
+ export declare const Gantt: default_3.FC<GanttProps> & {
551
+ Chart: typeof Chart;
552
+ Controls: typeof Controls;
553
+ };
554
+
555
+ export declare const GanttConsts: {
556
+ ROW_HEIGHT: number;
557
+ HEADER_HEIGHT: number;
558
+ TREE_WIDTH: number;
559
+ LEAF_TITLE_PADDING_LEFT: number;
560
+ LEAF_CHILDREN_PADDING_LEFT: number;
561
+ SCALE_STEP_DEFAULT_WIDTH: number;
562
+ SECONDS_IN_HOUR: number;
563
+ SECONDS_IN_DAY: number;
564
+ HOURS_IN_DAY: number;
565
+ MIN_SCROLL_OFFSET: number;
566
+ SCALE_STEP_RATIO: number;
567
+ };
568
+
569
+ declare type GanttDataType<T = Record<string, unknown>> = RawGanttDataType<T> & {
570
+ [P in keyof T]: T[P];
571
+ };
572
+
573
+ export declare enum GanttDimensions {
574
+ HOUR = "hour",
575
+ TWO_HOURS = "twoHours",
576
+ THREE_HOURS = "threeHours",
577
+ FOUR_HOURS = "fourHours",
578
+ SIX_HOURS = "sixHours",
579
+ EIGHT_HOURS = "eightHours",
580
+ TWELVE_HOURS = "twelveHours",
581
+ DAY = "day"
582
+ }
583
+
584
+ declare type GanttItemDataType<T = Record<string, unknown>> = TransformedDataType<GanttDataType<T>> & {
585
+ /**
586
+ * Tree level of gantt item
587
+ */
588
+ level: number;
589
+ /**
590
+ * Parents keys of gantt item
591
+ */
592
+ parentsKeys: string[];
593
+ /**
594
+ * Color of gantt item
595
+ */
596
+ color: string;
597
+ /**
598
+ * Is gantt item expanded?
599
+ */
600
+ expanded?: boolean;
601
+ } & T;
602
+
603
+ declare type GanttProps = {
604
+ children: ReactNode | ReactNode[];
605
+ draggable?: boolean;
606
+ };
607
+
507
608
  export declare function HoverCard({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Root>): JSX.Element;
508
609
 
509
610
  export declare function HoverCardContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Content>): JSX.Element;
@@ -757,6 +858,28 @@ export declare function NavigationMenuTrigger({ className, children, ...props }:
757
858
 
758
859
  export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): JSX.Element;
759
860
 
861
+ declare type NoRepeatDataType = {
862
+ /**
863
+ * Start date and time of unrepeatable bar item
864
+ */
865
+ startDate: string;
866
+ /**
867
+ * End date and time of unrepeatable bar item
868
+ */
869
+ endDate: string;
870
+ fromTime?: never;
871
+ toTime?: never;
872
+ fromDate?: never;
873
+ toDate?: never;
874
+ repeatType?: never;
875
+ weekdays?: never;
876
+ monthdays?: never;
877
+ };
878
+
879
+ declare type OnBarChangeType<T extends Record<string, unknown> = any> = (barData: GanttItemDataType<T>, data: (GanttItemDataType<T> & T)[]) => any;
880
+
881
+ declare type OnBarDoubleClickType<T extends Record<string, unknown> = any> = (barData: GanttItemDataType<T>) => any;
882
+
760
883
  declare interface Option_2 {
761
884
  value: string;
762
885
  label: string;
@@ -813,11 +936,72 @@ export declare function RadioGroup({ className, ...props }: React_2.ComponentPro
813
936
 
814
937
  export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroupPrimitive.Item>): JSX.Element;
815
938
 
939
+ declare type RawGanttDataType<T = Record<string, unknown>> = {
940
+ /**
941
+ * Title of gantt item
942
+ */
943
+ title: string;
944
+ /**
945
+ * Unique gantt item key
946
+ */
947
+ key: string;
948
+ /**
949
+ * Color of gantt item
950
+ */
951
+ color?: string;
952
+ /**
953
+ * Data to render gantt item on the chart
954
+ */
955
+ data?: BarItemDataType;
956
+ /**
957
+ * Nested gantt items
958
+ */
959
+ children?: GanttDataType<T>[];
960
+ /**
961
+ * Custom component to render on the left side of the title
962
+ * Può essere un ReactNode o una funzione che riceve i dati della barra e restituisce un ReactNode
963
+ */
964
+ leftRender?: React.ReactNode | ((barData: RawGanttDataType) => React.ReactNode);
965
+ };
966
+
816
967
  declare interface ReasoningPart {
817
968
  type: "reasoning";
818
969
  reasoning: string;
819
970
  }
820
971
 
972
+ declare type RepeatDataType = {
973
+ /**
974
+ * Type of repeatable gantt item
975
+ */
976
+ repeatType: DataRepeatTypes;
977
+ /**
978
+ * Repeatable gantt item start time in seconds (0-86400)
979
+ */
980
+ fromTime: number;
981
+ /**
982
+ * Repeatable gantt item end time in seconds (0-86400)
983
+ */
984
+ toTime: number;
985
+ /**
986
+ * Start date of repeatable gantt items
987
+ */
988
+ fromDate?: string;
989
+ /**
990
+ * End date of Repeatable gantt items
991
+ */
992
+ toDate?: string;
993
+ /**
994
+ * Numbers of weekdays for repeating (0-6)
995
+ */
996
+ weekdays?: number[];
997
+ /**
998
+ * Numbers of monthdays for repeating (0-31)
999
+ */
1000
+ monthdays?: number[];
1001
+ startDate?: never;
1002
+ endDate?: never;
1003
+ };
1004
+
821
1005
  export declare function ResizableHandle({ withHandle, className, ...props }: React_2.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
822
1006
  withHandle?: boolean;
823
1007
  }): JSX.Element;
@@ -1014,6 +1198,8 @@ declare const THEMES: {
1014
1198
 
1015
1199
  export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
1016
1200
 
1201
+ declare type ToasterProps = React.ComponentProps<typeof Toaster_2>;
1202
+
1017
1203
  export declare function Toggle({ className, variant, size, ...props }: React_2.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
1018
1204
 
1019
1205
  export declare function ToggleGroup({ className, variant, size, children, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
@@ -1056,6 +1242,10 @@ export declare function TooltipProvider({ delayDuration, ...props }: React_2.Com
1056
1242
 
1057
1243
  export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): JSX.Element;
1058
1244
 
1245
+ declare type TransformedDataType<T> = {
1246
+ [P in keyof T as Exclude<P, 'children'>]: T[P];
1247
+ };
1248
+
1059
1249
  export declare function TypingIndicator(): JSX.Element;
1060
1250
 
1061
1251
  export declare const Typo: React_2.FC<TypoProps>;