@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.
@@ -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;
@@ -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 {};