@cloudtower/eagle 0.27.14 → 0.27.16

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.
@@ -52,6 +52,7 @@ import type { Dayjs } from "dayjs";
52
52
  import type { History } from "history";
53
53
  import type { Moment } from "moment";
54
54
  import React, { ForwardRefExoticComponent, PropsWithChildren, PropsWithoutRef, ReactNode, RefAttributes } from "react";
55
+ import { Draggable } from "react-beautiful-dnd";
55
56
  import { CardProps } from "../components/Card";
56
57
  import { IEmptyProps } from "../components/Empty";
57
58
  import { MessageApi } from "../components/message";
@@ -541,6 +542,8 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
541
542
  GoBackButton: React.FC<GoBackButtonType>;
542
543
  CronCalendar: React.FC<CronCalendarProps>;
543
544
  SummaryTable: SummaryTableComponentType;
545
+ SortableList: SortableListComponentType;
546
+ SidebarSubtitle: SidebarSubtitleComponentType;
544
547
  }
545
548
  export type ArchComponentType = React.FC<{
546
549
  architecture?: Architecture;
@@ -691,4 +694,13 @@ type SummaryTableContentProps<T> = {
691
694
  type SummaryTableProps<T> = SummaryTableContentProps<T> & SummaryTableCommonProps;
692
695
  export type SummaryTableContentComponentType = <T>(props: SummaryTableContentProps<T>) => JSX.Element;
693
696
  export type SummaryTableComponentType = <T = unknown>(props: SummaryTableProps<T> | SummaryTableCustomRenderProps) => JSX.Element;
697
+ export type SortableListComponentType = React.FC<{
698
+ moveItem: (from: number, to: number) => void;
699
+ }> & {
700
+ Item: typeof Draggable;
701
+ };
702
+ export type SidebarSubtitleComponentType = React.FC<{
703
+ title: string;
704
+ className?: string;
705
+ }>;
694
706
  export {};