@cloudtower/eagle 0.27.25 → 0.27.28
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 +2053 -2019
- package/dist/core/SegmentControl/SegmentControl.stories.d.ts +39 -0
- package/dist/core/SegmentControl/index.d.ts +4 -0
- package/dist/esm/index.js +208 -173
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +2 -1
- package/dist/spec/type.d.ts +4 -0
- package/dist/style.css +2863 -2829
- package/dist/umd/index.js +210 -174
- package/dist/umd/stats1.html +1 -1
- package/dist/variables.scss +3 -0
- package/package.json +5 -6
package/dist/spec/base.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ import { IDonutChartProps } from "../coreX/DonutChart";
|
|
|
65
65
|
import { IUnitWithChartProps } from "../coreX/UnitWithChart";
|
|
66
66
|
import { SerializableObject } from "../utils/tower";
|
|
67
67
|
import { FieldRenderProps } from "./react-final-form";
|
|
68
|
-
import { Architecture, DropdownTransitionProps, HistoryType, IAccordionCardProps, IBatchOperation, IBreadcrumbProps, ICircleProgressProps, ICountingProps, IDetailCardProps, IDropdownMenuProps, ISpaceProps, ITimeProps, ITimeZoneSelectProps, PropsFrom } from "./type";
|
|
68
|
+
import { Architecture, DropdownTransitionProps, HistoryType, IAccordionCardProps, IBatchOperation, IBreadcrumbProps, ICircleProgressProps, ICountingProps, IDetailCardProps, IDropdownMenuProps, ISegmentedControlProps, ISpaceProps, ITimeProps, ITimeZoneSelectProps, PropsFrom } from "./type";
|
|
69
69
|
export type AntdTableComponentType = <RecordType extends object = any>(props: AntdTableProps<RecordType>) => JSX.Element;
|
|
70
70
|
export type AntdTreeSelectComponentType<T> = TreeSelect<T>;
|
|
71
71
|
interface EmptyType extends React.FC<EmptyProps> {
|
|
@@ -551,6 +551,7 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
551
551
|
DropdownMenu: React.FC<IDropdownMenuProps>;
|
|
552
552
|
BatchOperation: React.FC<IBatchOperation>;
|
|
553
553
|
DateRangePicker: React.FC<DateRangePickerProps>;
|
|
554
|
+
SegmentedControl: React.FC<ISegmentedControlProps>;
|
|
554
555
|
}
|
|
555
556
|
export type ArchComponentType = React.FC<{
|
|
556
557
|
architecture?: Architecture;
|
package/dist/spec/type.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SegmentedProps as AntdSegmentedProps } from "antd5";
|
|
2
3
|
import type { History, Location as HistoryLocation } from "history";
|
|
3
4
|
import { CSSTransitionProps } from "react-transition-group/CSSTransition";
|
|
4
5
|
export declare enum Architecture {
|
|
@@ -141,4 +142,7 @@ export type PastTime = {
|
|
|
141
142
|
value: number;
|
|
142
143
|
disabled?: boolean;
|
|
143
144
|
};
|
|
145
|
+
export interface ISegmentedControlProps extends Omit<AntdSegmentedProps, "ref"> {
|
|
146
|
+
size?: "small" | "middle";
|
|
147
|
+
}
|
|
144
148
|
export {};
|