@cloudtower/eagle 0.20.1 → 0.21.4
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/Space/Space.stories.d.ts +5 -0
- package/dist/components/Space/index.d.ts +1 -0
- package/dist/components/TimeZoneSelect/TimeZoneSelect.stories.d.ts +18 -0
- package/dist/components/TimeZoneSelect/index.d.ts +4 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/esm/index.js +147 -7
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/spec/base.d.ts +3 -1
- package/dist/spec/type.d.ts +17 -0
- package/dist/stories/fill.stories.d.ts +5 -0
- package/dist/stories/outline.stories.d.ts +5 -0
- package/dist/style.css +1051 -1032
- package/dist/umd/index.js +151 -8
- package/dist/umd/stats1.html +1 -1
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type { DateRange, GraphType, IconProps, IDataPoint } from "./components";
|
|
|
3
3
|
export { antdKit, KitStoreProvider, tableStyleCover, tickFormatter, useKitDispatch, useKitSelector, } from "./components";
|
|
4
4
|
export type { Kit, KitSelectProps, SorterOrder } from "./spec";
|
|
5
5
|
export { kitContext } from "./spec";
|
|
6
|
+
export * from "./spec/type";
|
|
6
7
|
export type { KitRootState } from "./store";
|
|
7
8
|
export { closeModal, popModal, pushModal } from "./store";
|
|
8
9
|
export type { SelectProps } from "./utils";
|
package/dist/spec/base.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ import { TooltipProps as AntdTooltipProps } from "antd/lib/tooltip";
|
|
|
29
29
|
import React, { ReactNode } from "react";
|
|
30
30
|
import { SerializableObject } from "../utils/tower";
|
|
31
31
|
import { FieldRenderProps } from "./react-final-form";
|
|
32
|
-
import { Architecture } from "./type";
|
|
32
|
+
import { Architecture, ISpaceProps, ITimeZoneSelectProps } from "./type";
|
|
33
33
|
declare type BadgeTypeProps = "warning" | "error" | "info";
|
|
34
34
|
declare type Primitive = "Int" | "Float" | "DateTime" | "Enum" | "String" | "Boolean";
|
|
35
35
|
export declare type Child = {
|
|
@@ -362,6 +362,8 @@ export interface Kit<V = any, T extends HTMLElement = HTMLElement> {
|
|
|
362
362
|
listItem: React.FC<ListItemProps>;
|
|
363
363
|
autoComplete: React.ForwardRefExoticComponent<AutoCompleteProps>;
|
|
364
364
|
simplePagination: React.FC<ISimplePaginationProps>;
|
|
365
|
+
space: React.FC<ISpaceProps>;
|
|
366
|
+
timeZoneSelect: React.FC<ITimeZoneSelectProps>;
|
|
365
367
|
}
|
|
366
368
|
export declare const kitContext: React.Context<Kit<any, HTMLElement>>;
|
|
367
369
|
export declare type ArchComponentType = React.FC<{
|
package/dist/spec/type.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare type Maybe<T> = T | null | undefined;
|
|
2
3
|
export declare type Scalars = {
|
|
3
4
|
ID: string;
|
|
@@ -33,3 +34,19 @@ export interface AdditionOptions {
|
|
|
33
34
|
controls?: boolean;
|
|
34
35
|
suffix?: string;
|
|
35
36
|
}
|
|
37
|
+
export declare type SizeType = "small" | "middle" | "large";
|
|
38
|
+
export interface ISpaceProps {
|
|
39
|
+
prefixCls?: string;
|
|
40
|
+
className?: string;
|
|
41
|
+
style?: React.CSSProperties;
|
|
42
|
+
size?: SizeType | number;
|
|
43
|
+
direction?: "horizontal" | "vertical";
|
|
44
|
+
align?: "start" | "end" | "center" | "baseline";
|
|
45
|
+
}
|
|
46
|
+
export interface ITimeZoneSelectProps {
|
|
47
|
+
value: string | undefined;
|
|
48
|
+
onChange: (value: string) => void;
|
|
49
|
+
defaultUseBrowserTime?: boolean;
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
className?: string;
|
|
52
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<(props: any) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Simple: ComponentStory<(props: any) => JSX.Element>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
|
+
declare const _default: ComponentMeta<(props: any) => JSX.Element>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Simple: ComponentStory<(props: any) => JSX.Element>;
|