@auspices/eos 5.0.14 → 5.0.16

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 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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>>;
13
+ export declare const Box: {
14
+ (props: any): JSX.Element;
15
+ displayName?: string;
16
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("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 import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("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("..").TextColorProps & import("..").TransitionProps & {
18
- children?: React.ReactNode;
19
- } & {
20
- cursor?: import("styled-system").ResponsiveValue<string>;
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
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>, CaretProps>, "ref"> & import("react").RefAttributes<any>>;
6
+ export declare const Caret: {
7
+ (props: any): JSX.Element;
8
+ displayName?: string;
9
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CellProps>, "ref"> & import("react").RefAttributes<any>>;
20
+ export declare const Cell: {
21
+ (props: any): JSX.Element;
22
+ displayName?: string;
23
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("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 import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("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("..").TextColorProps & import("..").TransitionProps & {
8
- children?: React.ReactNode;
9
- } & {
10
- cursor?: import("styled-system").ResponsiveValue<string>;
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<import("styled-components/dist/types").Substitute<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 & {
4
- children?: React.ReactNode;
5
- } & {
6
- cursor?: import("styled-system").ResponsiveValue<string>;
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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>>;
3
+ export declare const Divider: {
4
+ (props: any): JSX.Element;
5
+ displayName?: string;
6
+ };
@@ -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(Label, null, label),
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(Label, null, label),
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)(templateObject_2 || (templateObject_2 = __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"])));
56
- var templateObject_1, templateObject_2;
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
@@ -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;AAO7C,IAAM,KAAK,GAAG,IAAA,2BAAM,EAAC,WAAI,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,6FAAA,0BAEhD,IAAA,CAAC;AAEK,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,KAAK,QAAE,KAAK,CAAS;YACtB,8BAAC,UAAU,aAAC,KAAK,EAAC,MAAM,IAAK,KAAK,EAAI,CAChC,CACT,CAAC;IACJ,CAAC;IAEO,IAAA,QAAQ,GAAc,KAAK,SAA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,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"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ClickableProps } from "../Clickable";
3
- export type FileProps = ClickableProps & {
3
+ export type FileProps = Omit<ClickableProps, "name"> & {
4
4
  name?: string | null;
5
5
  meta?: string | null;
6
6
  selected?: boolean;
package/dist/File/File.js CHANGED
@@ -85,7 +85,7 @@ var Clickable_1 = require("../Clickable");
85
85
  var MultiSelect_1 = require("../MultiSelect");
86
86
  var Container = (0, styled_components_1.default)(Clickable_1.Clickable)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &:focus {\n outline: 0;\n }\n"], ["\n &:focus {\n outline: 0;\n }\n"])));
87
87
  var hyphenate = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n word-wrap: break-word;\n word-break: break-word;\n hyphens: auto;\n"], ["\n word-wrap: break-word;\n word-break: break-word;\n hyphens: auto;\n"])));
88
- var Name = (0, styled_components_1.default)(Box_1.Box)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n box-decoration-break: clone;\n ", "\n"], ["\n box-decoration-break: clone;\n ", "\n"])), hyphenate);
88
+ var Name = (0, styled_components_1.default)(Box_1.Box)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: inline;\n box-decoration-break: clone;\n ", "\n"], ["\n display: inline;\n box-decoration-break: clone;\n ", "\n"])), hyphenate);
89
89
  var Meta = (0, styled_components_1.default)(Box_1.Box)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), hyphenate);
90
90
  var File = function (_a) {
91
91
  var name = _a.name, meta = _a.meta, _b = _a.selected, defaultSelected = _b === void 0 ? false : _b, _c = _a.payload, payload = _c === void 0 ? {} : _c, children = _a.children, onMouseDown = _a.onMouseDown, rest = __rest(_a, ["name", "meta", "selected", "payload", "children", "onMouseDown"]);
@@ -108,7 +108,7 @@ var File = function (_a) {
108
108
  react_1.default.createElement(AspectRatioBox_1.AspectRatioBox, { aspectWidth: 1, aspectHeight: 1, maxWidth: "100%" },
109
109
  react_1.default.createElement(Box_1.Box, { p: 2, bg: highlighted ? "hint" : "transparent", borderRadius: 4, display: "flex", alignItems: "center", justifyContent: "center", textAlign: "left", overflow: "hidden", width: "100%", height: "100%" }, children)),
110
110
  react_1.default.createElement(Box_1.Box, { maxWidth: "80%", mt: 1, mx: "auto", lineHeight: 0, textAlign: "center" },
111
- name && (react_1.default.createElement(Name, { as: "span", fontSize: 0, borderRadius: 4, px: 2, py: 1, bg: highlighted ? "hint" : "transparent" }, name)),
111
+ name && (react_1.default.createElement(Name, { fontSize: 0, borderRadius: 4, px: 2, py: 1, bg: highlighted ? "hint" : "transparent" }, name)),
112
112
  meta && (react_1.default.createElement(Meta, { mt: 2, fontSize: 0, color: "secondary" }, meta))))));
113
113
  };
114
114
  exports.File = File;
@@ -1 +1 @@
1
- {"version":3,"file":"File.js","sourceRoot":"","sources":["../../src/File/File.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,6CAAwC;AACxC,qEAAgD;AAChD,oDAAmD;AACnD,8BAA6B;AAC7B,0CAAyD;AACzD,8CAAgD;AAShD,IAAM,SAAS,GAAG,IAAA,2BAAM,EAAC,qBAAS,CAAC,0GAAA,uCAIlC,IAAA,CAAC;AAEF,IA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,EAAE,EAAE,CAAC,EAAE,EAAE,EAAC,MAAM,EAAC,UAAU,EAAE,CAAC,EAAE,SAAS,EAAC,QAAQ;gBACnE,IAAI,IAAI,CACP,8BAAC,IAAI,IACH,QAAQ,EAAE,CAAC,EACX,YAAY,EAAE,CAAC,EACf,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,IAEvC,IAAI,CACA,CACR;gBAEA,IAAI,IAAI,CACP,8BAAC,IAAI,IAAC,EAAE,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAC,WAAW,IACxC,IAAI,CACA,CACR,CACG,CACF,CACI,CACb,CAAC;AACJ,CAAC,CAAC;AAzFW,QAAA,IAAI,QAyFf"}
@@ -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<Omit<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & React.RefAttributes<any>, never>> & string & Omit<React.ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & React.RefAttributes<any>>, keyof React.Component<any, {}, any>>;
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>;
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, InputProps>, "ref"> & import("react").RefAttributes<any>>;
9
+ export declare const Input: {
10
+ (props: any): JSX.Element;
11
+ displayName?: string;
12
+ };
@@ -1,3 +1,6 @@
1
1
  import { BoxProps } from "../Box";
2
2
  export type MonoProps = BoxProps;
3
- export declare const Mono: import("react").ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>, never>, "ref"> & import("react").RefAttributes<any>>;
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: import("react").ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>, never>, "ref"> & import("react").RefAttributes<any>>;
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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("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 import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("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("..").TextColorProps & import("..").TransitionProps & {
21
- children?: React.ReactNode;
22
- } & {
23
- cursor?: import("styled-system").ResponsiveValue<string>;
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
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, CellProps>, "ref"> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<any>>;
4
+ export declare const Pill: {
5
+ (props: any): JSX.Element;
6
+ displayName?: string;
7
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>, PlusProps>, "ref"> & import("react").RefAttributes<any>>;
7
+ export declare const Plus: {
8
+ (props: any): JSX.Element;
9
+ displayName?: string;
10
+ };
@@ -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: import("react").ForwardRefExoticComponent<Omit<import("styled-components").FastOmit<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, import("../Box").BoxProps>, "ref"> & import("react").RefAttributes<any>, never>, "ref"> & import("react").RefAttributes<any>>;
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: import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("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 import("react").ButtonHTMLAttributes<HTMLButtonElement>> & import("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 & {
11
- children?: React.ReactNode;
12
- } & {
13
- cursor?: import("styled-system").ResponsiveValue<string>;
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<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>, never>> & string & Omit<import("react").ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & import("react").RefAttributes<any>>, keyof import("react").Component<any, {}, any>>;
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<Omit<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & React.RefAttributes<any>, {
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<React.ForwardRefExoticComponent<Omit<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, BoxProps>, "ref"> & React.RefAttributes<any>>, keyof React.Component<any, {}, any>>;
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
- import React from "react";
2
- type ComponentWithRef<P> = React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<any>>;
3
- export declare function withDefaultProps<P extends object>(WrappedComponent: React.ComponentType<P>, defaultProps: Partial<P>, displayName?: string): ComponentWithRef<P>;
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":";;;;;;;;;;;;;;;;AAMA,4CAmBC;AAzBD,gDAA0B;AAM1B,SAAgB,gBAAgB,CAC9B,gBAAwC,EACxC,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,gBAAgB,CAAC;AAC1B,CAAC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auspices/eos",
3
- "version": "5.0.14",
3
+ "version": "5.0.16",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [