@cloudtower/eagle 0.26.18 → 0.26.19
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/Card/index.d.ts +12 -3
- package/dist/components/Steps/style.d.ts +5 -0
- package/dist/components/Token/index.d.ts +10 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components.css +239 -128
- package/dist/esm/index.js +126 -64
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/spec/base.d.ts +23 -8
- package/dist/style.css +552 -441
- package/dist/umd/index.js +129 -67
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +7 -3
- package/package.json +5 -5
package/dist/spec/base.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { RowProps } from "antd/lib/row";
|
|
|
35
35
|
import { SelectProps as AntdSelectProps, SelectProps } from "antd/lib/select";
|
|
36
36
|
import { SkeletonProps as AntdSkeletonProps } from "antd/lib/skeleton";
|
|
37
37
|
import { SkeletonButtonProps } from "antd/lib/skeleton/Button";
|
|
38
|
-
import Steps
|
|
38
|
+
import Steps from "antd/lib/steps";
|
|
39
39
|
import { SwitchProps as AntdSwitchProps } from "antd/lib/switch";
|
|
40
40
|
import { ColumnsType, ColumnType, TableProps as AntdTableProps } from "antd/lib/table";
|
|
41
41
|
import { TableRowSelection } from "antd/lib/table/interface";
|
|
@@ -50,7 +50,7 @@ import { TextProps } from "antd/lib/typography/Text";
|
|
|
50
50
|
import { DraggerProps, UploadProps } from "antd/lib/upload";
|
|
51
51
|
import type { Moment } from "moment";
|
|
52
52
|
import React, { ForwardRefExoticComponent, PropsWithChildren, PropsWithoutRef, ReactNode, RefAttributes } from "react";
|
|
53
|
-
import {
|
|
53
|
+
import { CardProps } from "../components/Card";
|
|
54
54
|
import { IEmptyProps } from "../components/Empty";
|
|
55
55
|
import { MessageApi } from "../components/message";
|
|
56
56
|
import { TableFormHandle, TableFormProps } from "../components/TableForm/types";
|
|
@@ -345,10 +345,21 @@ export type RadioButtonProps = AntdRadioButtonProps & {
|
|
|
345
345
|
initialValue?: string | number;
|
|
346
346
|
onInputChange?: (val: number | string | undefined) => void;
|
|
347
347
|
};
|
|
348
|
-
export type
|
|
349
|
-
|
|
348
|
+
export type StepProps = {
|
|
349
|
+
className?: string;
|
|
350
|
+
onClick?: React.MouseEventHandler<HTMLElement>;
|
|
351
|
+
title: string;
|
|
352
|
+
style?: React.CSSProperties;
|
|
353
|
+
};
|
|
354
|
+
export type IStepsProps = {
|
|
355
|
+
className?: string;
|
|
356
|
+
current?: number;
|
|
357
|
+
direction?: "horizontal" | "vertical";
|
|
358
|
+
style?: React.CSSProperties;
|
|
359
|
+
onChange?: (current: number) => void;
|
|
360
|
+
stepsConfig: Array<StepProps>;
|
|
350
361
|
containerClassname?: string;
|
|
351
|
-
|
|
362
|
+
disabled?: boolean;
|
|
352
363
|
};
|
|
353
364
|
export interface ISimplePaginationProps {
|
|
354
365
|
className?: string;
|
|
@@ -495,7 +506,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
495
506
|
antdTreeSelect: typeof TreeSelect;
|
|
496
507
|
antdDrawer: React.FC<DrawerProps>;
|
|
497
508
|
truncate: React.FC<TruncatePropTypes>;
|
|
498
|
-
card: ForwardRefExoticComponent<PropsWithoutRef<
|
|
509
|
+
card: ForwardRefExoticComponent<PropsWithoutRef<PropsWithChildren<CardProps>> & RefAttributes<HTMLDivElement>>;
|
|
499
510
|
expandableList: {
|
|
500
511
|
ExpandableContainer: React.FC<PropsWithChildren<{}>>;
|
|
501
512
|
ExpandableItem: React.FC<PropsWithChildren<IExpandableItemProps>>;
|
|
@@ -545,9 +556,13 @@ export type SplitTagComponentType = React.FC<Omit<TagProps, "closable" | "closeI
|
|
|
545
556
|
secondaryContent: React.ReactNode;
|
|
546
557
|
}>;
|
|
547
558
|
export type TokenColor = "red" | "yellow" | "green" | "blue" | "gray";
|
|
548
|
-
export type
|
|
559
|
+
export type TokenType = Omit<TagProps, "closeIcon"> & {
|
|
549
560
|
color?: TokenColor;
|
|
550
561
|
size?: "small" | "medium" | "large";
|
|
551
562
|
checked?: boolean;
|
|
552
|
-
|
|
563
|
+
tooltipConfig?: {
|
|
564
|
+
title: string;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
export type TokenComponentType = React.ForwardRefExoticComponent<TokenType & React.RefAttributes<HTMLDivElement>>;
|
|
553
568
|
export {};
|