@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.
- package/dist/components.css +1669 -1669
- package/dist/coreX/SidebarSubtitle/SidebarSubtitle.stories.d.ts +5 -0
- package/dist/coreX/SidebarSubtitle/__test__/index.test.d.ts +1 -0
- package/dist/coreX/SidebarSubtitle/index.d.ts +3 -0
- package/dist/coreX/SortableList/SortableList.stories.d.ts +6 -0
- package/dist/coreX/SortableList/index.d.ts +3 -0
- package/dist/esm/index.js +497 -464
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +12 -0
- package/dist/style.css +2107 -2107
- package/dist/umd/index.js +500 -467
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
package/dist/spec/base.d.ts
CHANGED
|
@@ -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 {};
|