@auspices/eos 5.0.9 → 5.0.10
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.js +4 -1
- package/dist/Box/Box.js.map +1 -1
- package/dist/Cell/Cell.js +4 -1
- package/dist/Cell/Cell.js.map +1 -1
- package/dist/Clear/Clear.d.ts +1 -1
- package/dist/Clickable/Clickable.js +4 -1
- package/dist/Clickable/Clickable.js.map +1 -1
- package/dist/ContextMenu/ContextMenu.d.ts +2 -2
- package/dist/Divider/Divider.js +4 -1
- package/dist/Divider/Divider.js.map +1 -1
- package/dist/EmptyFrame/EmptyFrame.js +7 -2
- package/dist/EmptyFrame/EmptyFrame.js.map +1 -1
- package/dist/Grid/Grid.js +4 -1
- package/dist/Grid/Grid.js.map +1 -1
- package/dist/Image/Image.js +4 -1
- package/dist/Image/Image.js.map +1 -1
- package/dist/Input/Input.js +4 -1
- package/dist/Input/Input.js.map +1 -1
- package/dist/ResponsiveImage/ResponsiveImage.js +4 -1
- package/dist/ResponsiveImage/ResponsiveImage.js.map +1 -1
- package/dist/Truncate/Truncate.js +4 -1
- package/dist/Truncate/Truncate.js.map +1 -1
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.js +4 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/shouldForwardProp.d.ts +1 -0
- package/dist/lib/shouldForwardProp.js +21 -0
- package/dist/lib/shouldForwardProp.js.map +1 -0
- package/package.json +3 -1
package/dist/Box/Box.js
CHANGED
|
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.Box = exports.boxMixin = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var styled_system_1 = require("styled-system");
|
|
13
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
13
14
|
var textColor = (0, styled_system_1.style)({
|
|
14
15
|
prop: "textColor",
|
|
15
16
|
cssProperty: "color",
|
|
@@ -17,7 +18,9 @@ var textColor = (0, styled_system_1.style)({
|
|
|
17
18
|
});
|
|
18
19
|
var transition = (0, styled_system_1.system)({ transition: true });
|
|
19
20
|
exports.boxMixin = (0, styled_system_1.compose)(styled_system_1.border, styled_system_1.flexbox, styled_system_1.space, styled_system_1.typography, styled_system_1.position, styled_system_1.layout, styled_system_1.color, textColor, transition);
|
|
20
|
-
exports.Box = styled_components_1.default.div(
|
|
21
|
+
exports.Box = styled_components_1.default.div.withConfig({
|
|
22
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
23
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), exports.boxMixin);
|
|
21
24
|
exports.Box.defaultProps = {
|
|
22
25
|
fontFamily: "body",
|
|
23
26
|
lineHeight: 2,
|
package/dist/Box/Box.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.js","sourceRoot":"","sources":["../../src/Box/Box.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AACvC,+CAmBuB;
|
|
1
|
+
{"version":3,"file":"Box.js","sourceRoot":"","sources":["../../src/Box/Box.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AACvC,+CAmBuB;AACvB,8DAA6D;AAwB7D,IAAM,SAAS,GAAG,IAAA,qBAAK,EAAC;IACtB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,OAAO;IACpB,GAAG,EAAE,QAAQ;CACd,CAAC,CAAC;AAEH,IAAM,UAAU,GAAG,IAAA,sBAAM,EAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;AAEnC,QAAA,QAAQ,GAAG,IAAA,uBAAO,EAC7B,sBAAM,EACN,uBAAO,EACP,qBAAK,EACL,0BAAU,EACV,wBAAQ,EACR,sBAAM,EACN,qBAAK,EACL,SAAS,EACT,UAAU,CACX,CAAC;AAEW,QAAA,GAAG,GAAG,2BAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IACvC,iBAAiB,uCAAA;CAClB,CAAC,+EAAU,MACR,EAAQ,IACX,KADG,gBAAQ,EACV;AAEF,WAAG,CAAC,YAAY,GAAG;IACjB,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,CAAC;CACd,CAAC"}
|
package/dist/Cell/Cell.js
CHANGED
|
@@ -42,6 +42,7 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
42
42
|
var styled_system_1 = require("styled-system");
|
|
43
43
|
var theme_get_1 = require("@styled-system/theme-get");
|
|
44
44
|
var Box_1 = require("../Box");
|
|
45
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
45
46
|
exports.CELL_VARIANTS = {
|
|
46
47
|
default: {
|
|
47
48
|
fontSize: [2, 2, 3],
|
|
@@ -56,7 +57,9 @@ exports.CELL_VARIANTS = {
|
|
|
56
57
|
};
|
|
57
58
|
exports.cellFocusMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n outline: 0;\n box-shadow: inset 0 0 0 ", " ", ";\n"], ["\n outline: 0;\n box-shadow: inset 0 0 0 ", " ", ";\n"])), (0, theme_get_1.themeGet)("space.1"), (0, theme_get_1.themeGet)("colors.accent"));
|
|
58
59
|
exports.cellMixin = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border-color: ", ";\n border-style: solid;\n border-width: 1px;\n color: ", ";\n display: flex;\n font-family: ", ";\n line-height: ", ";\n transition: box-shadow 250ms ease;\n\n ", "\n ", "\n"], ["\n align-items: center;\n background-color: ", ";\n border-color: ", ";\n border-style: solid;\n border-width: 1px;\n color: ", ";\n display: flex;\n font-family: ", ";\n line-height: ", ";\n transition: box-shadow 250ms ease;\n\n ", "\n ", "\n"])), (0, theme_get_1.themeGet)("colors.background"), (0, theme_get_1.themeGet)("colors.border"), (0, theme_get_1.themeGet)("colors.primary"), (0, theme_get_1.themeGet)("fonts.body"), (0, theme_get_1.themeGet)("lineHeights.2"), (0, styled_system_1.variant)({ variants: exports.CELL_VARIANTS }), Box_1.boxMixin);
|
|
59
|
-
exports.Cell = styled_components_1.default.div(
|
|
60
|
+
exports.Cell = styled_components_1.default.div.withConfig({
|
|
61
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
62
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n\n &:focus {\n ", "\n }\n"], ["\n ", "\n\n &:focus {\n ", "\n }\n"])), exports.cellMixin, exports.cellFocusMixin);
|
|
60
63
|
exports.Cell.defaultProps = { variant: "default" };
|
|
61
64
|
exports.Cell.displayName = "Cell";
|
|
62
65
|
var templateObject_1, templateObject_2, templateObject_3;
|
package/dist/Cell/Cell.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.js","sourceRoot":"","sources":["../../src/Cell/Cell.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,+CAAwC;AACxC,sDAAoD;AACpD,8BAA4C;
|
|
1
|
+
{"version":3,"file":"Cell.js","sourceRoot":"","sources":["../../src/Cell/Cell.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,+CAAwC;AACxC,sDAAoD;AACpD,8BAA4C;AAC5C,8DAA6D;AAEhD,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE;QACP,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACnB,EAAE,EAAE,CAAC;QACL,EAAE,EAAE,CAAC;KACN;IACD,KAAK,EAAE;QACL,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACnB,EAAE,EAAE,CAAC;QACL,EAAE,EAAE,CAAC;KACN;CACF,CAAC;AAQW,QAAA,cAAc,OAAG,uBAAG,6HAAA,6CAEL,EAAmB,GAAI,EAAyB,KAC3E,KAD2B,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAAI,IAAA,oBAAQ,EAAC,eAAe,CAAC,EAC1E;AAEW,QAAA,SAAS,OAAG,uBAAG,sUAAA,gDAEN,EAA6B,qBACjC,EAAyB,4DAGhC,EAA0B,sCAEpB,EAAsB,oBACtB,EAAyB,+CAGtC,EAAoC,MACpC,EAAQ,IACX,KAZqB,IAAA,oBAAQ,EAAC,mBAAmB,CAAC,EACjC,IAAA,oBAAQ,EAAC,eAAe,CAAC,EAGhC,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EAEpB,IAAA,oBAAQ,EAAC,YAAY,CAAC,EACtB,IAAA,oBAAQ,EAAC,eAAe,CAAC,EAGtC,IAAA,uBAAO,EAAC,EAAE,QAAQ,EAAE,qBAAa,EAAE,CAAC,EACpC,cAAQ,EACV;AAEW,QAAA,IAAI,GAAG,2BAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IACxC,iBAAiB,uCAAA;CAClB,CAAC,6GAAW,MACT,EAAS,uBAGP,EAAc,SAEnB,KALG,iBAAS,EAGP,sBAAc,EAElB;AAEF,YAAI,CAAC,YAAY,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;AAE3C,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
|
package/dist/Clear/Clear.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const Clear: import("styled-components/dist/types").IStyledCompon
|
|
|
9
9
|
} & {
|
|
10
10
|
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
11
11
|
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
12
|
-
}, "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "focus" | "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
|
|
12
|
+
}, "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "focus" | "bg" | "textColor" | "hover" | 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 & {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
} & {
|
|
15
15
|
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
@@ -12,8 +12,11 @@ var theme_get_1 = __importDefault(require("@styled-system/theme-get"));
|
|
|
12
12
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
13
|
var styled_system_1 = require("styled-system");
|
|
14
14
|
var Box_1 = require("../Box");
|
|
15
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
15
16
|
var cursor = (0, styled_system_1.system)({ cursor: true });
|
|
16
17
|
var textDecoration = (0, styled_system_1.system)({ textDecoration: true });
|
|
17
|
-
exports.Clickable = styled_components_1.default.button
|
|
18
|
+
exports.Clickable = styled_components_1.default.button.withConfig({
|
|
19
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
20
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n appearance: none;\n padding: 0;\n border: 0;\n background-color: transparent;\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n\n ", "\n"], ["\n appearance: none;\n padding: 0;\n border: 0;\n background-color: transparent;\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n\n ", "\n"])), (0, theme_get_1.default)("fonts.body"), (0, theme_get_1.default)("fontSizes.2"), (0, theme_get_1.default)("lineHeights.0"), (0, theme_get_1.default)("colors.primary"), (0, styled_system_1.compose)(Box_1.boxMixin, cursor, textDecoration));
|
|
18
21
|
var templateObject_1;
|
|
19
22
|
//# sourceMappingURL=Clickable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Clickable.js","sourceRoot":"","sources":["../../src/Clickable/Clickable.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,uEAAgD;AAChD,wEAAuC;AACvC,+CAAiE;AACjE,8BAA4C;
|
|
1
|
+
{"version":3,"file":"Clickable.js","sourceRoot":"","sources":["../../src/Clickable/Clickable.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,uEAAgD;AAChD,wEAAuC;AACvC,+CAAiE;AACjE,8BAA4C;AAC5C,8DAA6D;AAE7D,IAAM,MAAM,GAAG,IAAA,sBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AACxC,IAAM,cAAc,GAAG,IAAA,sBAAM,EAAC,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC;AAQ3C,QAAA,SAAS,GAAG,2BAAM,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,iBAAiB,uCAAA;CAClB,CAAC,qPAAgB,uGAKD,EAAsB,kBACxB,EAAuB,oBACrB,EAAyB,cAC/B,EAA0B,SAEjC,EAAyC,IAC5C,KANgB,IAAA,mBAAQ,EAAC,YAAY,CAAC,EACxB,IAAA,mBAAQ,EAAC,aAAa,CAAC,EACrB,IAAA,mBAAQ,EAAC,eAAe,CAAC,EAC/B,IAAA,mBAAQ,EAAC,gBAAgB,CAAC,EAEjC,IAAA,uBAAO,EAAC,cAAQ,EAAE,MAAM,EAAE,cAAc,CAAC,EAC3C"}
|
|
@@ -5,7 +5,7 @@ export declare const Toggle: import("styled-components/dist/types").IStyledCompo
|
|
|
5
5
|
} & {
|
|
6
6
|
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
7
7
|
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
8
|
-
}, "active" | "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "focus" | "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
|
|
8
|
+
}, "active" | "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "focus" | "bg" | "textColor" | "hover" | 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
9
|
children?: React.ReactNode;
|
|
10
10
|
} & {
|
|
11
11
|
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
@@ -20,7 +20,7 @@ export declare const Toggle: import("styled-components/dist/types").IStyledCompo
|
|
|
20
20
|
} & {
|
|
21
21
|
cursor?: import("styled-system").ResponsiveValue<string>;
|
|
22
22
|
textDecoration?: import("styled-system").ResponsiveValue<string>;
|
|
23
|
-
}, "active" | "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "focus" | "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
|
|
23
|
+
}, "active" | "backgroundColor" | "cursor" | "opacity" | "textDecoration" | "transition" | "focus" | "bg" | "textColor" | "hover" | 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 & {
|
|
24
24
|
children?: React.ReactNode;
|
|
25
25
|
} & {
|
|
26
26
|
cursor?: import("styled-system").ResponsiveValue<string>;
|
package/dist/Divider/Divider.js
CHANGED
|
@@ -10,7 +10,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.Divider = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var Box_1 = require("../Box");
|
|
13
|
-
|
|
13
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
14
|
+
exports.Divider = styled_components_1.default.hr.withConfig({
|
|
15
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
16
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: 0;\n ", "\n"], ["\n margin: 0;\n ", "\n"])), Box_1.boxMixin);
|
|
14
17
|
exports.Divider.defaultProps = {
|
|
15
18
|
bg: "hint",
|
|
16
19
|
height: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Divider.js","sourceRoot":"","sources":["../../src/Divider/Divider.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AACvC,8BAA4C;
|
|
1
|
+
{"version":3,"file":"Divider.js","sourceRoot":"","sources":["../../src/Divider/Divider.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AACvC,8BAA4C;AAC5C,8DAA6D;AAIhD,QAAA,OAAO,GAAG,2BAAM,CAAC,EAAE,CAAC,UAAU,CAAC;IAC1C,iBAAiB,uCAAA;CAClB,CAAC,6FAAc,oBAEZ,EAAQ,IACX,KADG,cAAQ,EACV;AAEF,eAAO,CAAC,YAAY,GAAG;IACrB,EAAE,EAAE,MAAM;IACV,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,MAAM;IACd,aAAa;IACb,EAAE,EAAE,IAAI;CACT,CAAC"}
|
|
@@ -67,8 +67,13 @@ var react_1 = __importDefault(require("react"));
|
|
|
67
67
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
68
68
|
var theme_1 = require("../theme");
|
|
69
69
|
var Box_1 = require("../Box");
|
|
70
|
-
var
|
|
71
|
-
var
|
|
70
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
71
|
+
var Svg = styled_components_1.default.svg.withConfig({
|
|
72
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
73
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n"], ["\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n"])));
|
|
74
|
+
var Line = styled_components_1.default.line.withConfig({
|
|
75
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
76
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
72
77
|
var color = _a.color, strokeWidth = _a.strokeWidth, rest = __rest(_a, ["color", "strokeWidth"]);
|
|
73
78
|
return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n stroke: ", ";\n stroke-width: ", ";\n "], ["\n stroke: ", ";\n stroke-width: ", ";\n "])), (0, theme_1.themeGet)("colors.".concat(color))(rest), strokeWidth);
|
|
74
79
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyFrame.js","sourceRoot":"","sources":["../../src/EmptyFrame/EmptyFrame.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,qEAAgD;AAChD,kCAAoC;AACpC,8BAAuC;
|
|
1
|
+
{"version":3,"file":"EmptyFrame.js","sourceRoot":"","sources":["../../src/EmptyFrame/EmptyFrame.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,qEAAgD;AAChD,kCAAoC;AACpC,8BAAuC;AACvC,8DAA6D;AAE7D,IAAM,GAAG,GAAG,2BAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IAChC,iBAAiB,uCAAA;CAClB,CAAC,+KAAA,4GAOD,IAAA,CAAC;AAEF,IAAM,IAAI,GAAG,2BAAM,CAAC,IAAI,CAAC,UAAU,CAAC;IAClC,iBAAiB,uCAAA;CAClB,CAAC,+EAAwC,MACtC,EAGD,IACF,KAJG,UAAC,EAA+B;IAA7B,IAAA,KAAK,WAAA,EAAE,WAAW,iBAAA,EAAK,IAAI,cAA7B,wBAA+B,CAAF;IAAO,WAAA,uBAAG,sHAAA,gBAC9B,EAAiC,uBAC3B,EAAW,OAC5B,KAFW,IAAA,gBAAQ,EAAC,iBAAU,KAAK,CAAE,CAAC,CAAC,IAAI,CAAC,EAC3B,WAAW,EAC5B;CAAA,CACF,CAAC;AAQK,IAAM,UAAU,GAA8B,UAAC,EAMrD;IALC,IAAA,aAAiB,EAAjB,KAAK,mBAAG,SAAS,KAAA,EACjB,eAAe,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,mBAAe,EAAf,WAAW,mBAAG,CAAC,KAAA,EACf,QAAQ,cAAA,EACL,IAAI,cAL6C,+CAMrD,CADQ;IAEP,OAAO,CACL,8BAAC,SAAG,aACF,QAAQ,EAAC,UAAU,IACf,CAAC,OAAO;QACV,CAAC,CAAC;YACE,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,KAAK;SACnB;QACH,CAAC,CAAC,EAAE,CAAC,EACH,IAAI;QAER,8BAAC,GAAG;YACF,8BAAC,IAAI,IACH,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,GAAG,GACN;YACF,8BAAC,IAAI,IACH,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,MAAM,EACT,EAAE,EAAC,MAAM,GACT,CACE;QAEL,QAAQ,CACL,CACP,CAAC;AACJ,CAAC,CAAC;AAzCW,QAAA,UAAU,cAyCrB;AAEF,kBAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
|
package/dist/Grid/Grid.js
CHANGED
|
@@ -68,6 +68,7 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
68
68
|
var styled_system_1 = require("styled-system");
|
|
69
69
|
var theme_get_1 = require("@styled-system/theme-get");
|
|
70
70
|
var Box_1 = require("../Box");
|
|
71
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
71
72
|
var Container = (0, styled_components_1.default)(Box_1.Box)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: grid;\n\n ", "\n\n ", "\n"], ["\n display: grid;\n\n ", "\n\n ", "\n"])), function (_a) {
|
|
72
73
|
var cellSize = _a.cellSize, cellGap = _a.cellGap, rest = __rest(_a, ["cellSize", "cellGap"]);
|
|
73
74
|
if (Array.isArray(cellSize)) {
|
|
@@ -80,7 +81,9 @@ var Container = (0, styled_components_1.default)(Box_1.Box)(templateObject_5 ||
|
|
|
80
81
|
}
|
|
81
82
|
return (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n grid-column-gap: ", ";\n grid-row-gap: ", ";\n grid-template-columns: repeat(\n auto-fill,\n minmax(", ", 1fr)\n );\n "], ["\n grid-column-gap: ", ";\n grid-row-gap: ", ";\n grid-template-columns: repeat(\n auto-fill,\n minmax(", ", 1fr)\n );\n "])), (0, theme_get_1.themeGet)("space.".concat(cellGap), cellGap)(rest), (0, theme_get_1.themeGet)("space.".concat(cellGap), cellGap)(rest), (0, theme_get_1.themeGet)("space.".concat(cellSize), cellSize)(rest));
|
|
82
83
|
}, styled_system_1.grid);
|
|
83
|
-
exports.GridCell = styled_components_1.default.div(
|
|
84
|
+
exports.GridCell = styled_components_1.default.div.withConfig({
|
|
85
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
86
|
+
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n"], ["\n display: flex;\n align-items: flex-start;\n justify-content: center;\n"])));
|
|
84
87
|
var Grid = function (_a) {
|
|
85
88
|
var children = _a.children, _b = _a.cellSize, cellSize = _b === void 0 ? 10 : _b, _c = _a.cellGap, cellGap = _c === void 0 ? 5 : _c, rest = __rest(_a, ["children", "cellSize", "cellGap"]);
|
|
86
89
|
rest = __assign(__assign({}, rest), { width: typeof rest.width === "undefined" ? "100%" : rest.width, height: typeof rest.height === "undefined" ? "100%" : rest.height });
|
package/dist/Grid/Grid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../src/Grid/Grid.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,qEAAgD;AAChD,+CAIuB;AACvB,sDAAoD;AACpD,8BAAuC;
|
|
1
|
+
{"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../src/Grid/Grid.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,qEAAgD;AAChD,+CAIuB;AACvB,sDAAoD;AACpD,8BAAuC;AACvC,8DAA6D;AAQ7D,IAAM,SAAS,GAAG,IAAA,2BAAM,EAAC,SAAG,CAAC,6GAAW,0BAGpC,EAoCD,QAEC,EAAI,IACP,KAvCG,UAAC,EAA8B;IAA5B,IAAA,QAAQ,cAAA,EAAE,OAAO,aAAA,EAAK,IAAI,cAA5B,uBAA8B,CAAF;IAC7B,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC5B,WAAO,uBAAG,2JAAA,6BACW,EAA2C,2BAC9C,EAA2C,eAEzD,EAkBA,UACH,KAtBoB,IAAA,oBAAQ,EAAC,gBAAS,OAAO,CAAE,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,EAC9C,IAAA,oBAAQ,EAAC,gBAAS,OAAO,CAAE,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,EAEzD,QAAQ,CAAC,GAAG,CAAC,UAAC,EAAE,EAAE,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBACZ,WA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AC,KAAK,EAC9D,MAAM,EAAE,OAAO,IAAI,CAAC,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,GAClE,CAAC;IAEF,OAAO,CACL,8BAAC,SAAS,aAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,IAAM,IAAI,GACtD,eAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAK,EAAE,CAAC,IAAK,OAAA,CAC1C,8BAAC,gBAAQ,IAAC,GAAG,EAAE,CAAC,IAAG,KAAK,CAAY,CACrC,EAF2C,CAE3C,CAAC,CACQ,CACb,CAAC;AACJ,CAAC,CAAC;AAnBW,QAAA,IAAI,QAmBf;AAEF,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
|
package/dist/Image/Image.js
CHANGED
|
@@ -83,6 +83,7 @@ var react_1 = __importStar(require("react"));
|
|
|
83
83
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
84
84
|
var compose_react_refs_1 = __importDefault(require("@seznam/compose-react-refs"));
|
|
85
85
|
var Box_1 = require("../Box");
|
|
86
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
86
87
|
var Mode;
|
|
87
88
|
(function (Mode) {
|
|
88
89
|
Mode[Mode["Pending"] = 0] = "Pending";
|
|
@@ -91,7 +92,9 @@ var Mode;
|
|
|
91
92
|
})(Mode || (Mode = {}));
|
|
92
93
|
exports.imgMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n max-width: 100%;\n max-height: 100%;\n opacity: 0;\n transition: opacity 250ms;\n"], ["\n display: block;\n max-width: 100%;\n max-height: 100%;\n opacity: 0;\n transition: opacity 250ms;\n"])));
|
|
93
94
|
var Placeholder = (0, styled_components_1.default)(Box_1.Box)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n opacity: 1;\n"], ["\n ", "\n opacity: 1;\n"])), exports.imgMixin);
|
|
94
|
-
exports.Img = styled_components_1.default.img
|
|
95
|
+
exports.Img = styled_components_1.default.img.withConfig({
|
|
96
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
97
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n ", "\n\n ", ";\n"], ["\n ", "\n ", "\n\n ", ";\n"])), exports.imgMixin, Box_1.boxMixin, function (_a) {
|
|
95
98
|
var mode = _a.mode;
|
|
96
99
|
switch (mode) {
|
|
97
100
|
case Mode.Pending:
|
package/dist/Image/Image.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Image.js","sourceRoot":"","sources":["../../src/Image/Image.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAgE;AAChE,qEAAgD;AAChD,kFAAqD;AACrD,8BAAiD;
|
|
1
|
+
{"version":3,"file":"Image.js","sourceRoot":"","sources":["../../src/Image/Image.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAgE;AAChE,qEAAgD;AAChD,kFAAqD;AACrD,8BAAiD;AACjD,8DAA6D;AAE7D,IAAK,IAIJ;AAJD,WAAK,IAAI;IACP,qCAAO,CAAA;IACP,iCAAK,CAAA;IACL,mCAAM,CAAA;AACR,CAAC,EAJI,IAAI,KAAJ,IAAI,QAIR;AAEY,QAAA,QAAQ,OAAG,uBAAG,iLAAA,6GAM1B,KAAC;AAEF,IAAM,WAAW,GAAG,IAAA,2BAAM,EAAC,SAAG,CAAC,8FAAA,MAC3B,EAAQ,mBAEX,KAFG,gBAAQ,CAEX,CAAC;AAEW,QAAA,GAAG,GAAG,2BAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IAC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AAC;;QACR,IAAI,MAAA,GAAG,CAAC,OAAO,0CAAE,QAAQ,EAAE,CAAC;YAC1B,UAAU,EAAE,CAAC;QACf,CAAC;IACH,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC;IAEtB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,8BAAC,WAAW,eAAK,IAAI,EAAI,CAAC;IACnC,CAAC;IAEK,IAAA,KAAA,OAA4B,IAAI,CAAA,EAA/B,KAAK,QAAA,EAAK,aAAa,cAAQ,CAAC;IAEvC,OAAO,CACL,8BAAC,WAAG,aACF,GAAG,EAAE,IAAA,4BAAW,EAAC,GAAG,EAAE,YAAY,CAAC,EACnC,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,KAAK,IACN,CAAC,aAAa;QAChB,CAAC,CAAC;YACE,MAAM,EAAE,UAAG,KAAK,kBAAQ,aAAa;iBAClC,GAAG,CAAC,UAAC,GAAG,EAAE,CAAC,IAAK,OAAA,UAAG,GAAG,cAAI,CAAC,GAAG,CAAC,MAAG,EAAlB,CAAkB,CAAC;iBACnC,IAAI,CAAC,IAAI,CAAC,CAAE;SAChB;QACH,CAAC,CAAC,EAAE,CAAC,IACP,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,UAAU,EAClB,GAAG,EAAE,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,0BAA0B,IAClC,IAAI,EACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,aAAK,CAAC,WAAW,GAAG,OAAO,CAAC"}
|
package/dist/Input/Input.js
CHANGED
|
@@ -40,6 +40,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Input = exports.inputMixin = exports.inputHoverMixin = exports.inputFocusMixin = void 0;
|
|
41
41
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
42
42
|
var Cell_1 = require("../Cell");
|
|
43
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
43
44
|
exports.inputFocusMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n\n ::placeholder {\n text-decoration: underline;\n }\n"], ["\n ", ";\n\n ::placeholder {\n text-decoration: underline;\n }\n"])), Cell_1.cellFocusMixin);
|
|
44
45
|
exports.inputHoverMixin = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ::placeholder {\n text-decoration: underline;\n }\n"], ["\n ::placeholder {\n text-decoration: underline;\n }\n"])));
|
|
45
46
|
exports.inputMixin = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n appearance: none;\n border-radius: 0;\n margin: 0;\n transition: box-shadow 250ms ease;\n background-color: transparent;\n\n ", "\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"], ["\n appearance: none;\n border-radius: 0;\n margin: 0;\n transition: box-shadow 250ms ease;\n background-color: transparent;\n\n ", "\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"])), Cell_1.cellMixin, function (_a) {
|
|
@@ -49,7 +50,9 @@ exports.inputMixin = (0, styled_components_1.css)(templateObject_3 || (templateO
|
|
|
49
50
|
var hover = _a.hover;
|
|
50
51
|
return hover && exports.inputHoverMixin;
|
|
51
52
|
}, exports.inputHoverMixin);
|
|
52
|
-
exports.Input = styled_components_1.default.input(
|
|
53
|
+
exports.Input = styled_components_1.default.input.withConfig({
|
|
54
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
55
|
+
})(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), exports.inputMixin);
|
|
53
56
|
exports.Input.defaultProps = {
|
|
54
57
|
variant: "default",
|
|
55
58
|
};
|
package/dist/Input/Input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/Input/Input.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,gCAA+D;
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/Input/Input.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,gCAA+D;AAC/D,8DAA6D;AAQhD,QAAA,eAAe,OAAG,uBAAG,4IAAA,MAC9B,EAAc,gEAKjB,KALG,qBAAc,EAKhB;AAEW,QAAA,eAAe,OAAG,uBAAG,iIAAA,6DAIjC,KAAC;AAEW,QAAA,UAAU,OAAG,uBAAG,2UAAY,wIAOrC,EAAS,QAET,EAAuC,qBAErC,EAAe,aAGjB,EAAuC,qBAErC,EAAe,sDAMpB,KAfG,gBAAS,EAET,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,uBAAe;AAAxB,CAAwB,EAErC,uBAAe,EAGjB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,uBAAe;AAAxB,CAAwB,EAErC,uBAAe,EAMnB;AAEW,QAAA,KAAK,GAAG,2BAAM,CAAC,KAAK,CAAC,UAAU,CAAC;IAC3C,iBAAiB,uCAAA;CAClB,CAAC,+EAAY,MACV,EAAU,IACb,KADG,kBAAU,EACZ;AAEF,aAAK,CAAC,YAAY,GAAG;IACnB,OAAO,EAAE,SAAS;CACnB,CAAC"}
|
|
@@ -85,9 +85,12 @@ var Image_1 = require("../Image");
|
|
|
85
85
|
var AspectRatioBox_1 = require("../AspectRatioBox");
|
|
86
86
|
var Spinner_1 = require("../Spinner");
|
|
87
87
|
var Themer_1 = require("../Themer");
|
|
88
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
88
89
|
var Container = (0, styled_components_1.default)(AspectRatioBox_1.AspectRatioBox)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n"], ["\n overflow: hidden;\n"])));
|
|
89
90
|
var Loading = (0, styled_components_1.default)(Spinner_1.Spinner).attrs({ size: 16 })(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n mix-blend-mode: difference;\n"], ["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n mix-blend-mode: difference;\n"])));
|
|
90
|
-
var Placeholder = styled_components_1.default.div
|
|
91
|
+
var Placeholder = styled_components_1.default.div.withConfig({
|
|
92
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
93
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-size: cover;\n background-position: center center;\n filter: blur(1em);\n transform: scale(1.1);\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-size: cover;\n background-position: center center;\n filter: blur(1em);\n transform: scale(1.1);\n"])));
|
|
91
94
|
var ResponsiveImage = function (_a) {
|
|
92
95
|
var aspectWidth = _a.aspectWidth, aspectHeight = _a.aspectHeight, maxWidth = _a.maxWidth, maxHeight = _a.maxHeight, _b = _a.backgroundColor, backgroundColor = _b === void 0 ? "tertiary" : _b, indicator = _a.indicator, placeholder = _a.placeholder, children = _a.children, rest = __rest(_a, ["aspectWidth", "aspectHeight", "maxWidth", "maxHeight", "backgroundColor", "indicator", "placeholder", "children"]);
|
|
93
96
|
var _c = __read((0, react_1.useState)(false), 2), completed = _c[0], setCompleted = _c[1];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponsiveImage.js","sourceRoot":"","sources":["../../src/ResponsiveImage/ResponsiveImage.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA,MAAM,GAAK,IAAA,kBAAS,GAAE,OAAhB,CAAiB;IAE/B,OAAO,CACL,8BAAC,SAAS,IACR,QAAQ,EAAC,UAAU,EACnB,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,eAAe;QAEhC,8BAAC,aAAK,aACJ,QAAQ,EAAC,UAAU,EACnB,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,UAAU,EAAE,cAAc,EAC1B,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IACxB,IAAI,EACR;QAED,WAAW,IAAI,CACd,8BAAC,WAAW,IAAC,KAAK,EAAE,EAAE,eAAe,EAAE,cAAO,WAAW,MAAG,EAAE,GAAI,CACnE;QAEA,CAAC,SAAS,IAAI,SAAS,IAAI,CAC1B,8BAAC,OAAO,IAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,GAAI,CAClE;QAEA,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC;AA7CW,QAAA,eAAe,mBA6C1B;AAEF,uBAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC"}
|
|
@@ -10,6 +10,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.Truncate = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
var mixins_1 = require("../mixins");
|
|
13
|
-
|
|
13
|
+
var shouldForwardProp_1 = require("../lib/shouldForwardProp");
|
|
14
|
+
exports.Truncate = styled_components_1.default.div.withConfig({
|
|
15
|
+
shouldForwardProp: shouldForwardProp_1.shouldForwardProp,
|
|
16
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), mixins_1.overflowEllipsisMixin);
|
|
14
17
|
var templateObject_1;
|
|
15
18
|
//# sourceMappingURL=Truncate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Truncate.js","sourceRoot":"","sources":["../../src/Truncate/Truncate.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AACvC,oCAAkD;
|
|
1
|
+
{"version":3,"file":"Truncate.js","sourceRoot":"","sources":["../../src/Truncate/Truncate.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AACvC,oCAAkD;AAClD,8DAA6D;AAEhD,QAAA,QAAQ,GAAG,2BAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IAC5C,iBAAiB,uCAAA;CAClB,CAAC,+EAAA,MACE,EAAqB,IACxB,KADG,8BAAqB,EACvB"}
|
package/dist/lib/index.d.ts
CHANGED
package/dist/lib/index.js
CHANGED
|
@@ -15,4 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./flattenChildren"), exports);
|
|
18
|
+
__exportStar(require("./hasChildren"), exports);
|
|
19
|
+
__exportStar(require("./isTouch"), exports);
|
|
20
|
+
__exportStar(require("./onlyText"), exports);
|
|
21
|
+
__exportStar(require("./shouldForwardProp"), exports);
|
|
18
22
|
//# sourceMappingURL=index.js.map
|
package/dist/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,gDAA8B;AAC9B,4CAA0B;AAC1B,6CAA2B;AAC3B,sDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const shouldForwardProp: (prop: string) => boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.shouldForwardProp = void 0;
|
|
7
|
+
var should_forward_prop_1 = __importDefault(require("@styled-system/should-forward-prop"));
|
|
8
|
+
var CUSTOM_PROPS = [
|
|
9
|
+
"textColor",
|
|
10
|
+
"focus",
|
|
11
|
+
"hover",
|
|
12
|
+
"selected",
|
|
13
|
+
"highlighted",
|
|
14
|
+
"active",
|
|
15
|
+
"disabled",
|
|
16
|
+
];
|
|
17
|
+
var shouldForwardProp = function (prop) {
|
|
18
|
+
return (0, should_forward_prop_1.default)(prop) && !CUSTOM_PROPS.includes(prop);
|
|
19
|
+
};
|
|
20
|
+
exports.shouldForwardProp = shouldForwardProp;
|
|
21
|
+
//# sourceMappingURL=shouldForwardProp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shouldForwardProp.js","sourceRoot":"","sources":["../../src/lib/shouldForwardProp.ts"],"names":[],"mappings":";;;;;;AAAA,2FAAuE;AAEvE,IAAM,YAAY,GAAG;IACnB,WAAW;IACX,OAAO;IACP,OAAO;IACP,UAAU;IACV,aAAa;IACb,QAAQ;IACR,UAAU;CACX,CAAC;AAEK,IAAM,iBAAiB,GAAG,UAAC,IAAY;IAC5C,OAAO,IAAA,6BAAqB,EAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auspices/eos",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@popperjs/core": "^2.11.8",
|
|
35
35
|
"@seznam/compose-react-refs": "^1.0.6",
|
|
36
|
+
"@styled-system/should-forward-prop": "^5.1.5",
|
|
36
37
|
"@styled-system/theme-get": "^5.1.2",
|
|
37
38
|
"@types/styled-system": "5.1.23",
|
|
38
39
|
"@types/styled-system__theme-get": "5.0.4",
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
"@types/node": "22.13.5",
|
|
54
55
|
"@types/react-dom": "19.0.4",
|
|
55
56
|
"@types/styled-components": "5.1.34",
|
|
57
|
+
"@types/styled-system__should-forward-prop": "^5",
|
|
56
58
|
"@typescript-eslint/eslint-plugin": "8.25.0",
|
|
57
59
|
"@typescript-eslint/parser": "8.25.0",
|
|
58
60
|
"babel-loader": "10.0.0",
|