@cloudtower/eagle 0.27.1 → 0.27.2
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/Fields/FieldsString/FieldsString.stories.d.ts +1 -1
- package/dist/components/I18nNameTag/index.d.ts +2 -8
- package/dist/components/Tag/Tag.stories.d.ts +2 -2
- package/dist/components/Tag/style.d.ts +1 -0
- package/dist/components.css +1247 -1208
- package/dist/core/StepProgress/StepProgress.stories.d.ts +8 -0
- package/dist/core/StepProgress/index.d.ts +3 -0
- package/dist/esm/index.js +620 -594
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +19 -8
- package/dist/spec/type.d.ts +5 -0
- package/dist/style.css +686 -647
- package/dist/umd/index.js +617 -591
- package/dist/umd/stats1.html +1 -1
- package/dist/utils/icon.d.ts +2 -1
- package/dist/variables.scss +2 -0
- package/package.json +5 -6
- package/dist/components/images/index.d.ts +0 -15
package/dist/spec/base.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ import { TruncatePropTypes } from "../components/Truncate";
|
|
|
58
58
|
import type { CloseButtonProps } from "../core/AccordionCard";
|
|
59
59
|
import { SerializableObject } from "../utils/tower";
|
|
60
60
|
import { FieldRenderProps } from "./react-final-form";
|
|
61
|
-
import { Architecture, DropdownTransitionProps, IAccordionCardProps, IBreadcrumbProps, ICountingProps, IDetailCardProps, ISpaceProps, ITimeProps, ITimeZoneSelectProps } from "./type";
|
|
61
|
+
import { Architecture, DropdownTransitionProps, IAccordionCardProps, IBreadcrumbProps, ICircleProgressProps, ICountingProps, IDetailCardProps, ISpaceProps, ITimeProps, ITimeZoneSelectProps } from "./type";
|
|
62
62
|
export type AntdTableComponentType = <RecordType extends object = any>(props: AntdTableProps<RecordType>) => JSX.Element;
|
|
63
63
|
export type AntdTreeSelectComponentType<T> = TreeSelect<T>;
|
|
64
64
|
interface EmptyType extends React.FC<EmptyProps> {
|
|
@@ -487,7 +487,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
487
487
|
tableForm: React.ForwardRefExoticComponent<TableFormProps & React.RefAttributes<TableFormHandle>>;
|
|
488
488
|
token: TokenComponentType;
|
|
489
489
|
overflowTooltip: React.FC<OverflowTooltipProps>;
|
|
490
|
-
I18nNameTag: React.FC<
|
|
490
|
+
I18nNameTag: React.FC<I18nNameTagType>;
|
|
491
491
|
uploadDragger: React.ComponentType<DraggerProps>;
|
|
492
492
|
calendar: React.FC<CalendarProps<Moment>>;
|
|
493
493
|
timePicker: React.FC<TimePickerProps>;
|
|
@@ -525,6 +525,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
525
525
|
TruncatedTextWithTooltip: React.FC<TruncateTextWithTooltipType>;
|
|
526
526
|
Counting: React.FC<ICountingProps>;
|
|
527
527
|
Breadcrumb: React.FC<IBreadcrumbProps>;
|
|
528
|
+
CircleProgress: React.FC<ICircleProgressProps>;
|
|
528
529
|
}
|
|
529
530
|
export type ArchComponentType = React.FC<{
|
|
530
531
|
architecture?: Architecture;
|
|
@@ -555,12 +556,23 @@ export type EnumProps<V = any, T extends HTMLElement = HTMLElement> = {
|
|
|
555
556
|
} & BaseEnumProps;
|
|
556
557
|
export type TableFormPropsType = React.ForwardRefExoticComponent<TableFormProps & React.RefAttributes<TableFormHandle>>;
|
|
557
558
|
export type TagColor = "red" | "yellow" | "green" | "blue" | "purple" | "gray" | "red-ontint" | "green-ontint" | "error" | "warning" | "processing" | "default" | "success";
|
|
559
|
+
export type SplitTagComponentType = React.FC<Omit<TagProps, "closable" | "closeIcon" | "onClose" | "visible"> & {
|
|
560
|
+
color?: "red" | "yellow" | "green" | "blue" | "purple" | "gray";
|
|
561
|
+
size?: "small" | "medium";
|
|
562
|
+
primaryContent: React.ReactNode;
|
|
563
|
+
secondaryContent: React.ReactNode;
|
|
564
|
+
}>;
|
|
565
|
+
export interface NameTagType extends Omit<React.HTMLAttributes<HTMLSpanElement>, "color"> {
|
|
566
|
+
className?: string;
|
|
567
|
+
style?: React.CSSProperties;
|
|
568
|
+
}
|
|
558
569
|
export type TagComponentType = React.FC<Omit<TagProps, "closable" | "closeIcon" | "onClose"> & {
|
|
559
570
|
color?: TagColor;
|
|
560
571
|
size?: "small" | "medium";
|
|
561
572
|
hoverable?: boolean;
|
|
562
573
|
}> & {
|
|
563
574
|
SplitTag: SplitTagComponentType;
|
|
575
|
+
NameTag: React.FC<NameTagType>;
|
|
564
576
|
};
|
|
565
577
|
export type StatusCapsuleColor = "red" | "yellow" | "green" | "blue" | "gray" | "success" | "danger" | "warning";
|
|
566
578
|
export type StatusCapsuleComponentType = React.FC<Omit<TagProps, "closable" | "closeIcon" | "onClose" | "icon" | "size"> & {
|
|
@@ -570,12 +582,6 @@ export type StatusCapsuleComponentType = React.FC<Omit<TagProps, "closable" | "c
|
|
|
570
582
|
offWhiteMode?: boolean;
|
|
571
583
|
number?: number;
|
|
572
584
|
}>;
|
|
573
|
-
export type SplitTagComponentType = React.FC<Omit<TagProps, "closable" | "closeIcon" | "onClose" | "visible"> & {
|
|
574
|
-
color?: "red" | "yellow" | "green" | "blue" | "purple" | "gray";
|
|
575
|
-
size?: "small" | "medium";
|
|
576
|
-
primaryContent: React.ReactNode;
|
|
577
|
-
secondaryContent: React.ReactNode;
|
|
578
|
-
}>;
|
|
579
585
|
export type TokenColor = "red" | "yellow" | "green" | "blue" | "gray" | "purple";
|
|
580
586
|
export type TokenType = Omit<TagProps, "closeIcon"> & {
|
|
581
587
|
color?: TokenColor;
|
|
@@ -597,4 +603,9 @@ export type TruncateTextWithTooltipType = {
|
|
|
597
603
|
text: string;
|
|
598
604
|
textWrapperCls?: string;
|
|
599
605
|
} & Omit<TooltipProps, "title">;
|
|
606
|
+
export type I18nNameTagType = {
|
|
607
|
+
name: string;
|
|
608
|
+
i18nKey: string;
|
|
609
|
+
[key: string]: unknown;
|
|
610
|
+
};
|
|
600
611
|
export {};
|