@cloudtower/eagle 0.27.2 → 0.27.3

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.
@@ -0,0 +1,9 @@
1
+ import { Meta } from "@storybook/react";
2
+ import React from "react";
3
+ import { CronPlanProps } from "../../spec";
4
+ declare const story: Meta<React.FC<CronPlanProps>>;
5
+ export default story;
6
+ export declare const Basic: {
7
+ (): JSX.Element;
8
+ args: {};
9
+ };
@@ -0,0 +1,18 @@
1
+ import { i18n as Ii18n } from "i18next";
2
+ import moment from "moment";
3
+ import React from "react";
4
+ import { CronPlanProps } from "../../spec";
5
+ export declare const stringifyPlan: (mode: CronMode, daily: DailyState, weekly: WeeklyState, monthly: MonthlyState, i18n: Ii18n) => string | undefined;
6
+ type CronMode = "day" | "week" | "month";
7
+ type DailyState = {
8
+ step: number;
9
+ time: moment.Moment;
10
+ };
11
+ type WeeklyState = {
12
+ step: number;
13
+ days: number[];
14
+ time: moment.Moment;
15
+ };
16
+ type MonthlyState = WeeklyState;
17
+ declare const CronPlan: React.FC<CronPlanProps>;
18
+ export default CronPlan;
@@ -0,0 +1,7 @@
1
+ import { Meta } from "@storybook/react";
2
+ import React from "react";
3
+ import { NamesTooltipType } from "../../spec";
4
+ type NamesTooltipComponentType = React.FC<NamesTooltipType>;
5
+ declare const story: Meta<NamesTooltipComponentType>;
6
+ export default story;
7
+ export declare const Basic: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { NamesTooltipType } from "../../spec";
3
+ declare const NamesTooltip: React.FC<NamesTooltipType>;
4
+ export default NamesTooltip;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Meta } from "@storybook/react";
3
+ import { SwitchWithTextProps } from "../../spec";
4
+ declare const story: Meta<SwitchWithTextProps>;
5
+ export default story;
6
+ export declare const Basic: {
7
+ (): JSX.Element;
8
+ args: {};
9
+ };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SwitchWithTextProps } from "../../spec";
3
+ declare const SwitchWithText: React.FC<SwitchWithTextProps>;
4
+ export default SwitchWithText;
@@ -0,0 +1 @@
1
+ export { stringifyPlan } from "./CronPlan";