@auspices/eos 5.0.14 → 5.0.15
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/Box/Box.d.ts +4 -1
- package/dist/Button/Button.d.ts +4 -6
- package/dist/Caret/Caret.d.ts +4 -1
- package/dist/Cell/Cell.d.ts +4 -1
- package/dist/Clear/Clear.d.ts +4 -6
- package/dist/ContextMenu/ContextMenu.d.ts +4 -16
- package/dist/Divider/Divider.d.ts +4 -1
- package/dist/Field/Field.js +4 -5
- package/dist/Field/Field.js.map +1 -1
- package/dist/HTML/HTML.d.ts +4 -1
- package/dist/Input/Input.d.ts +4 -1
- package/dist/Mono/Mono.d.ts +4 -1
- package/dist/Pane/PaneHeader.d.ts +4 -1
- package/dist/Pane/PaneOption.d.ts +4 -6
- package/dist/Pill/Pill.d.ts +4 -1
- package/dist/Plus/Plus.d.ts +4 -1
- package/dist/Remove/Remove.d.ts +8 -7
- package/dist/Skeleton/Skeleton.d.ts +4 -1
- package/dist/Tag/Tag.d.ts +5 -2
- package/dist/lib/withDefaultProps.d.ts +5 -3
- package/dist/lib/withDefaultProps.js.map +1 -1
- package/package.json +1 -1
package/dist/Box/Box.d.ts
CHANGED
|
@@ -10,4 +10,7 @@ export type BoxProps = BorderProps & TypographyProps & BoxSpatialProps & Omit<Co
|
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
};
|
|
12
12
|
export declare const boxMixin: import("styled-system").styleFn;
|
|
13
|
-
export declare const Box:
|
|
13
|
+
export declare const Box: {
|
|
14
|
+
(props: any): JSX.Element;
|
|
15
|
+
displayName?: string;
|
|
16
|
+
};
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -14,9 +14,7 @@ export declare const buttonSelectedMixin: import("styled-components").RuleSet<ob
|
|
|
14
14
|
export declare const buttonDisabledMixin: import("styled-components").RuleSet<object>;
|
|
15
15
|
export declare const buttonHighlightedMixin: import("styled-components").RuleSet<ButtonProps>;
|
|
16
16
|
export declare const buttonMixin: import("styled-components").RuleSet<ButtonProps>;
|
|
17
|
-
export declare const Button:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
22
|
-
}, ButtonProps>, "ref"> & import("react").RefAttributes<any>>;
|
|
17
|
+
export declare const Button: {
|
|
18
|
+
(props: any): JSX.Element;
|
|
19
|
+
displayName?: string;
|
|
20
|
+
};
|
package/dist/Caret/Caret.d.ts
CHANGED
|
@@ -3,4 +3,7 @@ export type CaretProps = BoxProps & {
|
|
|
3
3
|
direction?: "up" | "down" | "left" | "right";
|
|
4
4
|
size?: number;
|
|
5
5
|
};
|
|
6
|
-
export declare const Caret:
|
|
6
|
+
export declare const Caret: {
|
|
7
|
+
(props: any): JSX.Element;
|
|
8
|
+
displayName?: string;
|
|
9
|
+
};
|
package/dist/Cell/Cell.d.ts
CHANGED
|
@@ -17,4 +17,7 @@ export type CellProps = BoxProps & {
|
|
|
17
17
|
};
|
|
18
18
|
export declare const cellFocusMixin: import("styled-components").RuleSet<object>;
|
|
19
19
|
export declare const cellMixin: import("styled-components").RuleSet<object>;
|
|
20
|
-
export declare const Cell:
|
|
20
|
+
export declare const Cell: {
|
|
21
|
+
(props: any): JSX.Element;
|
|
22
|
+
displayName?: string;
|
|
23
|
+
};
|
package/dist/Clear/Clear.d.ts
CHANGED
|
@@ -4,9 +4,7 @@ export type ClearProps = RemoveProps & {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const clearHoverMixin: import("styled-components").RuleSet<object>;
|
|
6
6
|
export declare const clearFocusMixin: import("styled-components").RuleSet<object>;
|
|
7
|
-
export declare const Clear:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
12
|
-
}, RemoveProps>, "ref"> & import("react").RefAttributes<any>, ClearProps>, "ref"> & import("react").RefAttributes<any>>;
|
|
7
|
+
export declare const Clear: {
|
|
8
|
+
(props: any): JSX.Element;
|
|
9
|
+
displayName?: string;
|
|
10
|
+
};
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export declare const Toggle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
8
|
-
}, import("../Pane").PaneOptionProps>, "ref"> & React.RefAttributes<any>, Omit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "bg" | "textColor" | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & React.ButtonHTMLAttributes<HTMLButtonElement> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("../Box").TextColorProps & import("../Box").TransitionProps & {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
} & {
|
|
11
|
-
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
12
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
13
|
-
}, import("../Pane").PaneOptionProps>, "ref"> & React.RefAttributes<any>>, never>, never>> & string & Omit<React.ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "bg" | "textColor" | keyof import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> | keyof import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | keyof import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & React.ButtonHTMLAttributes<HTMLButtonElement> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("../Box").TextColorProps & import("../Box").TransitionProps & {
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
} & {
|
|
16
|
-
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
17
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
18
|
-
}, import("../Pane").PaneOptionProps>, "ref"> & React.RefAttributes<any>>, keyof React.Component<any, {}, any>>;
|
|
3
|
+
export declare const Toggle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<any, never>, never>> & string & Omit<{
|
|
4
|
+
(props: any): JSX.Element;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
}, keyof React.Component<any, {}, any>>;
|
|
19
7
|
export type ContextMenuProps = BoxProps & {
|
|
20
8
|
onOpen?(): void;
|
|
21
9
|
onClose?(): void;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from "../Box";
|
|
2
2
|
export type DividerProps = BoxProps;
|
|
3
|
-
export declare const Divider:
|
|
3
|
+
export declare const Divider: {
|
|
4
|
+
(props: any): JSX.Element;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
};
|
package/dist/Field/Field.js
CHANGED
|
@@ -36,22 +36,21 @@ var styled_components_1 = __importDefault(require("styled-components"));
|
|
|
36
36
|
var Input_1 = require("../Input");
|
|
37
37
|
var Cell_1 = require("../Cell");
|
|
38
38
|
var Split_1 = require("../Split");
|
|
39
|
-
var Label = (0, styled_components_1.default)(Cell_1.Cell).attrs({ as: "label" })(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n user-select: none;\n"], ["\n user-select: none;\n"])));
|
|
40
39
|
var Field = function (_a) {
|
|
41
40
|
var label = _a.label, _b = _a.direction, direction = _b === void 0 ? "horizontal" : _b, props = __rest(_a, ["label", "direction"]);
|
|
42
41
|
if ("input" in props) {
|
|
43
42
|
var input = props.input, rest_1 = __rest(props, ["input"]);
|
|
44
43
|
return (react_1.default.createElement(Split_1.Split, __assign({ direction: direction }, rest_1),
|
|
45
|
-
react_1.default.createElement(
|
|
44
|
+
react_1.default.createElement(Cell_1.Cell, { as: "label", style: { userSelect: "none" } }, label),
|
|
46
45
|
react_1.default.createElement(FieldInput, __assign({ width: "100%" }, input))));
|
|
47
46
|
}
|
|
48
47
|
var children = props.children, rest = __rest(props, ["children"]);
|
|
49
48
|
return (react_1.default.createElement(Split_1.Split, __assign({ direction: direction }, rest),
|
|
50
|
-
react_1.default.createElement(
|
|
49
|
+
react_1.default.createElement(Cell_1.Cell, { as: "label", style: { userSelect: "none" } }, label),
|
|
51
50
|
react_1.default.createElement(react_1.default.Fragment, null, children)));
|
|
52
51
|
};
|
|
53
52
|
exports.Field = Field;
|
|
54
53
|
exports.Field.displayName = "Field";
|
|
55
|
-
var FieldInput = (0, styled_components_1.default)(Input_1.Input)(
|
|
56
|
-
var templateObject_1
|
|
54
|
+
var FieldInput = (0, styled_components_1.default)(Input_1.Input)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &[type=\"date\"] {\n padding-top: 0;\n padding-bottom: 0;\n height: 100%;\n }\n"], ["\n &[type=\"date\"] {\n padding-top: 0;\n padding-bottom: 0;\n height: 100%;\n }\n"])));
|
|
55
|
+
var templateObject_1;
|
|
57
56
|
//# sourceMappingURL=Field.js.map
|
package/dist/Field/Field.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../src/Field/Field.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,gDAA0B;AAC1B,wEAAuC;AACvC,kCAA6C;AAC7C,gCAA+B;AAC/B,kCAA6C;
|
|
1
|
+
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../src/Field/Field.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,gDAA0B;AAC1B,wEAAuC;AACvC,kCAA6C;AAC7C,gCAA+B;AAC/B,kCAA6C;AAOtC,IAAM,KAAK,GAAyB,UAAC,EAI3C;IAHC,IAAA,KAAK,WAAA,EACL,iBAAwB,EAAxB,SAAS,mBAAG,YAAY,KAAA,EACrB,KAAK,cAHkC,sBAI3C,CADS;IAER,IAAI,OAAO,IAAI,KAAK,EAAE,CAAC;QACb,IAAA,KAAK,GAAc,KAAK,MAAnB,EAAK,MAAI,UAAK,KAAK,EAA1B,SAAkB,CAAF,CAAW;QAEjC,OAAO,CACL,8BAAC,aAAK,aAAC,SAAS,EAAE,SAAS,IAAM,MAAI;YACnC,8BAAC,WAAI,IAAC,EAAE,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,IAC3C,KAAK,CACD;YAEP,8BAAC,UAAU,aAAC,KAAK,EAAC,MAAM,IAAK,KAAK,EAAI,CAChC,CACT,CAAC;IACJ,CAAC;IAEO,IAAA,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,UAAK,KAAK,EAA7B,YAAqB,CAAF,CAAW;IAEpC,OAAO,CACL,8BAAC,aAAK,aAAC,SAAS,EAAE,SAAS,IAAM,IAAI;QACnC,8BAAC,WAAI,IAAC,EAAE,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,IAC3C,KAAK,CACD;QAEP,8DAAG,QAAQ,CAAI,CACT,CACT,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,KAAK,SA8BhB;AAEF,aAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,IAAM,UAAU,GAAG,IAAA,2BAAM,EAAC,aAAK,CAAC,kKAAA,+FAM/B,IAAA,CAAC"}
|
package/dist/HTML/HTML.d.ts
CHANGED
|
@@ -5,5 +5,8 @@ export type HTMLProps = BoxProps & ({
|
|
|
5
5
|
} | {
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
});
|
|
8
|
-
export declare const Styles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
8
|
+
export declare const Styles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & Omit<{
|
|
9
|
+
(props: any): JSX.Element;
|
|
10
|
+
displayName?: string;
|
|
11
|
+
}, keyof React.Component<any, {}, any>>;
|
|
9
12
|
export declare const HTML: React.FC<HTMLProps>;
|
package/dist/Input/Input.d.ts
CHANGED
|
@@ -6,4 +6,7 @@ export type InputProps = React.InputHTMLAttributes<HTMLInputElement> & CellProps
|
|
|
6
6
|
export declare const inputFocusMixin: import("styled-components").RuleSet<object>;
|
|
7
7
|
export declare const inputHoverMixin: import("styled-components").RuleSet<object>;
|
|
8
8
|
export declare const inputMixin: import("styled-components").RuleSet<InputProps>;
|
|
9
|
-
export declare const Input:
|
|
9
|
+
export declare const Input: {
|
|
10
|
+
(props: any): JSX.Element;
|
|
11
|
+
displayName?: string;
|
|
12
|
+
};
|
package/dist/Mono/Mono.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from "../Box";
|
|
2
2
|
export type MonoProps = BoxProps;
|
|
3
|
-
export declare const Mono:
|
|
3
|
+
export declare const Mono: {
|
|
4
|
+
(props: any): JSX.Element;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from "../Box";
|
|
2
2
|
export type PaneHeaderProps = BoxProps;
|
|
3
|
-
export declare const PaneHeader:
|
|
3
|
+
export declare const PaneHeader: {
|
|
4
|
+
(props: any): JSX.Element;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
};
|
|
@@ -17,9 +17,7 @@ export declare const PANE_OPTION: {
|
|
|
17
17
|
px: number;
|
|
18
18
|
py: number;
|
|
19
19
|
};
|
|
20
|
-
export declare const PaneOption:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
25
|
-
}, PaneOptionProps>, "ref"> & import("react").RefAttributes<any>>;
|
|
20
|
+
export declare const PaneOption: {
|
|
21
|
+
(props: any): JSX.Element;
|
|
22
|
+
displayName?: string;
|
|
23
|
+
};
|
package/dist/Pill/Pill.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { CellProps } from "../Cell";
|
|
2
2
|
export type PillProps = CellProps;
|
|
3
3
|
export declare const pillFocusMixin: import("styled-components").RuleSet<object>;
|
|
4
|
-
export declare const Pill:
|
|
4
|
+
export declare const Pill: {
|
|
5
|
+
(props: any): JSX.Element;
|
|
6
|
+
displayName?: string;
|
|
7
|
+
};
|
package/dist/Plus/Plus.d.ts
CHANGED
|
@@ -4,4 +4,7 @@ export type PlusProps = BoxProps & {
|
|
|
4
4
|
strokeWidth?: string;
|
|
5
5
|
axis?: "horizontal" | "vertical" | "both";
|
|
6
6
|
};
|
|
7
|
-
export declare const Plus:
|
|
7
|
+
export declare const Plus: {
|
|
8
|
+
(props: any): JSX.Element;
|
|
9
|
+
displayName?: string;
|
|
10
|
+
};
|
package/dist/Remove/Remove.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { ClickableProps } from "../Clickable";
|
|
2
2
|
export declare const exMixin: import("styled-components").RuleSet<object>;
|
|
3
|
-
export declare const Ex:
|
|
3
|
+
export declare const Ex: {
|
|
4
|
+
(props: any): JSX.Element;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
};
|
|
4
7
|
export declare const removeFocusMixin: import("styled-components").RuleSet<object>;
|
|
5
8
|
export declare const removeHoverMixin: import("styled-components").RuleSet<object>;
|
|
6
9
|
export type RemoveProps = ClickableProps & {
|
|
7
10
|
hover?: boolean;
|
|
8
11
|
focus?: boolean;
|
|
9
12
|
};
|
|
10
|
-
export declare const Remove:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
15
|
-
}, RemoveProps>, "ref"> & import("react").RefAttributes<any>>;
|
|
13
|
+
export declare const Remove: {
|
|
14
|
+
(props: any): JSX.Element;
|
|
15
|
+
displayName?: string;
|
|
16
|
+
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from "../Box";
|
|
2
2
|
export type SkeletonProps = BoxProps;
|
|
3
|
-
export declare const Skeleton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<
|
|
3
|
+
export declare const Skeleton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & Omit<{
|
|
4
|
+
(props: any): JSX.Element;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
}, keyof import("react").Component<any, {}, any>>;
|
package/dist/Tag/Tag.d.ts
CHANGED
|
@@ -5,7 +5,10 @@ export type TagProps = Omit<BoxProps, "bg" | "backgroundColor" | "children"> & {
|
|
|
5
5
|
backgroundColor?: string;
|
|
6
6
|
children: string | React.JSX.Element;
|
|
7
7
|
};
|
|
8
|
-
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<
|
|
8
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<any, {
|
|
9
9
|
bg?: string;
|
|
10
|
-
}>> & string & Omit<
|
|
10
|
+
}>> & string & Omit<{
|
|
11
|
+
(props: any): JSX.Element;
|
|
12
|
+
displayName?: string;
|
|
13
|
+
}, keyof React.Component<any, {}, any>>;
|
|
11
14
|
export declare const Tag: React.FC<TagProps>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
type AnyStyledComponent = {
|
|
2
|
+
(props: any): JSX.Element;
|
|
3
|
+
displayName?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function withDefaultProps<P extends object>(WrappedComponent: AnyStyledComponent, defaultProps: Partial<P>, displayName?: string): AnyStyledComponent;
|
|
4
6
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withDefaultProps.js","sourceRoot":"","sources":["../../src/lib/withDefaultProps.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"withDefaultProps.js","sourceRoot":"","sources":["../../src/lib/withDefaultProps.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAOA,4CAmBC;AA1BD,gDAA0B;AAO1B,SAAgB,gBAAgB,CAC9B,gBAAoC,EACpC,YAAwB,EACxB,WAAoB;IAEpB,IAAM,gBAAgB,GAAG,eAAK,CAAC,UAAU,CAAS,UAAC,KAAK,EAAE,GAAG;QAC3D,IAAM,WAAW,GAAG,sBACf,YAAY,GACZ,KAAK,CACJ,CAAC;QAEP,OAAO,8BAAC,gBAAgB,aAAC,GAAG,EAAE,GAAG,IAAM,WAAW,EAAI,CAAC;IACzD,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW;QAC1B,WAAW;YACX,2BAAoB,gBAAgB,CAAC,WAAW,IAAI,gBAAgB,CAAC,IAAI,MAAG,CAAC;IAE/E,OAAO,gBAAsC,CAAC;AAChD,CAAC"}
|