@auspices/eos 2.33.4 → 2.34.0
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/Banner/Banner.d.ts +1 -1
- package/dist/Banner/Banner.js +7 -15
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Box/Box.d.ts +1 -1
- package/dist/Button/Button.d.ts +7 -7
- package/dist/Caret/Caret.d.ts +1 -1
- package/dist/Cell/Cell.d.ts +2 -2
- package/dist/Clear/Clear.d.ts +3 -3
- package/dist/Clear/Clear.js +1 -1
- package/dist/Clear/Clear.js.map +1 -1
- package/dist/Clickable/Clickable.d.ts +1 -1
- package/dist/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/Divider/Divider.d.ts +1 -1
- package/dist/Grid/Grid.d.ts +1 -1
- package/dist/HTML/HTML.d.ts +1 -1
- package/dist/Image/Image.d.ts +1 -1
- package/dist/Input/Input.d.ts +3 -3
- package/dist/Mono/Mono.d.ts +1 -1
- package/dist/Pane/Pane.d.ts +1 -1
- package/dist/Pane/PaneHeader.d.ts +1 -1
- package/dist/Pane/PaneOption.d.ts +5 -5
- package/dist/Pill/Pill.d.ts +2 -2
- package/dist/Plus/Plus.d.ts +1 -1
- package/dist/Remove/Remove.d.ts +7 -3
- package/dist/Remove/Remove.js +13 -5
- package/dist/Remove/Remove.js.map +1 -1
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/Spinner/Spinner.js.map +1 -1
- package/dist/Truncate/Truncate.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useContrastingColor.d.ts +2 -0
- package/dist/hooks/useContrastingColor.js +12 -0
- package/dist/hooks/useContrastingColor.js.map +1 -0
- package/dist/theme/utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/Banner/Banner.d.ts
CHANGED
package/dist/Banner/Banner.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
2
|
var __assign = (this && this.__assign) || function () {
|
|
7
3
|
__assign = Object.assign || function(t) {
|
|
8
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -69,25 +65,21 @@ exports.Banner = void 0;
|
|
|
69
65
|
var react_1 = __importStar(require("react"));
|
|
70
66
|
var Box_1 = require("../Box");
|
|
71
67
|
var Remove_1 = require("../Remove");
|
|
72
|
-
var
|
|
73
|
-
var
|
|
68
|
+
var hooks_1 = require("../hooks");
|
|
69
|
+
var Clickable_1 = require("../Clickable");
|
|
74
70
|
var Banner = function (_a) {
|
|
75
71
|
var _b = _a.bg, bg = _b === void 0 ? "primary" : _b, children = _a.children, _c = _a.dismissable, dismissable = _c === void 0 ? true : _c, rest = __rest(_a, ["bg", "children", "dismissable"]);
|
|
72
|
+
var contrasting = (0, hooks_1.useContrastingColor)(bg);
|
|
76
73
|
var _d = __read((0, react_1.useState)(false), 2), dismissed = _d[0], setDismissed = _d[1];
|
|
77
74
|
var handleClick = function () {
|
|
78
75
|
setDismissed(true);
|
|
79
76
|
};
|
|
80
77
|
if (dismissed)
|
|
81
78
|
return null;
|
|
82
|
-
return (react_1.default.createElement(Box_1.Box, __assign({ position: "relative", textAlign: "center", display: "flex", alignItems: "center", justifyContent: "center", flex: 1, px:
|
|
83
|
-
react_1.default.createElement(
|
|
84
|
-
dismissable && (react_1.default.createElement(
|
|
79
|
+
return (react_1.default.createElement(Box_1.Box, __assign({ position: "relative", textAlign: "center", display: "flex", alignItems: "center", justifyContent: "center", flex: 1, px: 8, py: 4, bg: bg }, rest),
|
|
80
|
+
react_1.default.createElement(Box_1.Box, { fontSize: 0, lineHeight: 2, color: contrasting }, children),
|
|
81
|
+
dismissable && (react_1.default.createElement(Clickable_1.Clickable, { onClick: handleClick, position: "absolute", top: 0, right: 0, bottom: 0, p: 1, display: "flex", alignItems: "center", cursor: "pointer" },
|
|
82
|
+
react_1.default.createElement(Remove_1.Ex, { color: contrasting })))));
|
|
85
83
|
};
|
|
86
84
|
exports.Banner = Banner;
|
|
87
|
-
var Text = (0, styled_components_1.default)(Box_1.Box)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (props) {
|
|
88
|
-
var bg = (0, theme_1.themeGet)("colors.".concat(props.bg), props.bg)(props);
|
|
89
|
-
var color = (0, theme_1.getContrastTIQHex)(bg);
|
|
90
|
-
return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), color);
|
|
91
|
-
});
|
|
92
|
-
var templateObject_1, templateObject_2;
|
|
93
85
|
//# sourceMappingURL=Banner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../src/Banner/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../src/Banner/Banner.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuD;AACvD,8BAAuC;AACvC,oCAA+B;AAC/B,kCAA+C;AAC/C,0CAAyC;AAQlC,IAAM,MAAM,GAAoB,UAAC,EAKvC;IAJC,IAAA,UAAc,EAAd,EAAE,mBAAG,SAAS,KAAA,EACd,QAAQ,cAAA,EACR,mBAAkB,EAAlB,WAAW,mBAAG,IAAI,KAAA,EACf,IAAI,cAJ+B,iCAKvC,CADQ;IAEP,IAAM,WAAW,GAAG,IAAA,2BAAmB,EAAC,EAAE,CAAC,CAAC;IAEtC,IAAA,KAAA,OAA4B,IAAA,gBAAQ,EAAC,KAAK,CAAC,IAAA,EAA1C,SAAS,QAAA,EAAE,YAAY,QAAmB,CAAC;IAElD,IAAM,WAAW,GAAG;QAClB,YAAY,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC,CAAC;IAEF,IAAI,SAAS;QAAE,OAAO,IAAI,CAAC;IAE3B,OAAO,CACL,8BAAC,SAAG,aACF,QAAQ,EAAC,UAAU,EACnB,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAC,MAAM,EACd,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAC,QAAQ,EACvB,IAAI,EAAE,CAAC,EACP,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,EAAE,IACF,IAAI;QAER,8BAAC,SAAG,IAAC,QAAQ,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,WAAW,IAChD,QAAQ,CACL;QAEL,WAAW,IAAI,CACd,8BAAC,qBAAS,IACR,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAC,UAAU,EACnB,GAAG,EAAE,CAAC,EACN,KAAK,EAAE,CAAC,EACR,MAAM,EAAE,CAAC,EACT,CAAC,EAAE,CAAC,EACJ,OAAO,EAAC,MAAM,EACd,UAAU,EAAC,QAAQ,EACnB,MAAM,EAAC,SAAS;YAEhB,8BAAC,WAAE,IAAC,KAAK,EAAE,WAAW,GAAI,CAChB,CACb,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,MAAM,UAkDjB"}
|
package/dist/Box/Box.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare type BoxProps = BorderProps & TypographyProps & BoxSpatialProps &
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
};
|
|
13
13
|
export declare const boxMixin: import("styled-system").styleFn;
|
|
14
|
-
export declare const Box: import("styled-components").StyledComponent<"div",
|
|
14
|
+
export declare const Box: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & TextColorProps & TransitionProps & {
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
}, never>;
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -22,13 +22,13 @@ export declare type ButtonProps = ClickableProps & {
|
|
|
22
22
|
selected?: boolean;
|
|
23
23
|
highlighted?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare const buttonHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
26
|
-
export declare const buttonFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
27
|
-
export declare const buttonSelectedMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
28
|
-
export declare const buttonDisabledMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
29
|
-
export declare const buttonHighlightedMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
30
|
-
export declare const buttonMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<ButtonProps,
|
|
31
|
-
export declare const Button: import("styled-components").StyledComponent<"button",
|
|
25
|
+
export declare const buttonHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
26
|
+
export declare const buttonFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
27
|
+
export declare const buttonSelectedMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
28
|
+
export declare const buttonDisabledMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
29
|
+
export declare const buttonHighlightedMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
30
|
+
export declare const buttonMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<ButtonProps, import("styled-components").DefaultTheme>>;
|
|
31
|
+
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, 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 & {
|
|
32
32
|
children?: import("react").ReactNode;
|
|
33
33
|
} & {
|
|
34
34
|
cursor?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
package/dist/Caret/Caret.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare type CaretProps = BoxProps & {
|
|
|
4
4
|
direction?: "up" | "down" | "left" | "right";
|
|
5
5
|
size?: number;
|
|
6
6
|
};
|
|
7
|
-
export declare const Caret: import("styled-components").StyledComponent<"div",
|
|
7
|
+
export declare const Caret: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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 & {
|
|
8
8
|
children?: import("react").ReactNode;
|
|
9
9
|
} & {
|
|
10
10
|
direction?: "left" | "right" | "up" | "down" | undefined;
|
package/dist/Cell/Cell.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const CELL: {
|
|
|
16
16
|
py: number;
|
|
17
17
|
transition: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const cellFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
20
|
-
export declare const Cell: import("styled-components").StyledComponent<"div",
|
|
19
|
+
export declare const cellFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
20
|
+
export declare const Cell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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 & {
|
|
21
21
|
children?: import("react").ReactNode;
|
|
22
22
|
}, never>;
|
package/dist/Clear/Clear.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RemoveProps } from "../Remove";
|
|
3
3
|
export declare type ClearProps = RemoveProps;
|
|
4
|
-
export declare const clearHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
5
|
-
export declare const clearFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
6
|
-
export declare const Clear: import("styled-components").StyledComponent<"button",
|
|
4
|
+
export declare const clearHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
5
|
+
export declare const clearFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
6
|
+
export declare const Clear: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, 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 & {
|
|
7
7
|
children?: import("react").ReactNode;
|
|
8
8
|
} & {
|
|
9
9
|
cursor?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
package/dist/Clear/Clear.js
CHANGED
|
@@ -33,7 +33,7 @@ var theme_get_1 = require("@styled-system/theme-get");
|
|
|
33
33
|
var Remove_1 = require("../Remove");
|
|
34
34
|
exports.clearHoverMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n\n &::before,\n &::after {\n background-color: ", ";\n }\n"], ["\n background-color: ", ";\n\n &::before,\n &::after {\n background-color: ", ";\n }\n"])), (0, theme_get_1.themeGet)("colors.tertiary"), (0, theme_get_1.themeGet)("colors.primary"));
|
|
35
35
|
exports.clearFocusMixin = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n &,\n &:hover {\n background-color: ", ";\n\n &::before,\n &::after {\n background-color: ", ";\n }\n }\n"], ["\n &,\n &:hover {\n background-color: ", ";\n\n &::before,\n &::after {\n background-color: ", ";\n }\n }\n"])), (0, theme_get_1.themeGet)("colors.tertiary"), (0, theme_get_1.themeGet)("colors.primary"));
|
|
36
|
-
exports.Clear = (0, styled_components_1.default)(Remove_1.Remove)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n border-radius: 50%;\n background-color: ", ";\n transition: background-color
|
|
36
|
+
exports.Clear = (0, styled_components_1.default)(Remove_1.Remove)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n border-radius: 50%;\n background-color: ", ";\n transition: color 250ms, background-color 250ms;\n\n &::before,\n &::after {\n width: ", ";\n height: 1px;\n background-color: ", ";\n transition: none;\n }\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"], ["\n min-width: ", ";\n min-height: ", ";\n border-radius: 50%;\n background-color: ", ";\n transition: color 250ms, background-color 250ms;\n\n &::before,\n &::after {\n width: ", ";\n height: 1px;\n background-color: ", ";\n transition: none;\n }\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"])), (0, theme_get_1.themeGet)("space.6"), (0, theme_get_1.themeGet)("space.6"), (0, theme_get_1.themeGet)("colors.hint"), (0, theme_get_1.themeGet)("space.4"), (0, theme_get_1.themeGet)("colors.secondary"), function (_a) {
|
|
37
37
|
var hover = _a.hover;
|
|
38
38
|
return hover && exports.clearHoverMixin;
|
|
39
39
|
}, exports.clearHoverMixin, function (_a) {
|
package/dist/Clear/Clear.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Clear.js","sourceRoot":"","sources":["../../src/Clear/Clear.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,oCAAgD;AAInC,QAAA,eAAe,OAAG,uBAAG,mKAAA,wBACZ,EAA2B,yDAIzB,EAA0B,UAEjD,KANqB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAIzB,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EAEhD;AAEW,QAAA,eAAe,OAAG,uBAAG,qMAAA,6CAGV,EAA2B,+DAIzB,EAA0B,iBAGnD,KAPuB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAIzB,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EAGlD;AAEW,QAAA,KAAK,GAAG,IAAA,2BAAM,EAAC,eAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Clear.js","sourceRoot":"","sources":["../../src/Clear/Clear.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,oCAAgD;AAInC,QAAA,eAAe,OAAG,uBAAG,mKAAA,wBACZ,EAA2B,yDAIzB,EAA0B,UAEjD,KANqB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAIzB,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EAEhD;AAEW,QAAA,eAAe,OAAG,uBAAG,qMAAA,6CAGV,EAA2B,+DAIzB,EAA0B,iBAGnD,KAPuB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAIzB,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EAGlD;AAEW,QAAA,KAAK,GAAG,IAAA,2BAAM,EAAC,eAAM,CAAC,6ZAAA,iBACpB,EAAmB,mBAClB,EAAmB,gDAEb,EAAuB,kGAKhC,EAAmB,6CAER,EAA4B,qCAIhD,EAAuC,qBAErC,EAAe,aAGjB,EAAuC,qBAErC,EAAe,SAEpB,KAvBc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAEb,IAAA,oBAAQ,EAAC,aAAa,CAAC,EAKhC,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAER,IAAA,oBAAQ,EAAC,kBAAkB,CAAC,EAIhD,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,EAEnB"}
|
|
@@ -5,7 +5,7 @@ export declare type ClickableProps = React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
5
5
|
cursor?: ResponsiveValue<string>;
|
|
6
6
|
textDecoration?: ResponsiveValue<string>;
|
|
7
7
|
};
|
|
8
|
-
export declare const Clickable: import("styled-components").StyledComponent<"button",
|
|
8
|
+
export declare const Clickable: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, 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 & {
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
10
|
} & {
|
|
11
11
|
cursor?: ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export declare const Toggle: import("styled-components").StyledComponent<"button",
|
|
3
|
+
export declare const Toggle: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, 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
4
|
children?: React.ReactNode;
|
|
5
5
|
} & {
|
|
6
6
|
cursor?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
3
|
export declare type DividerProps = BoxProps;
|
|
4
|
-
export declare const Divider: import("styled-components").StyledComponent<"hr",
|
|
4
|
+
export declare const Divider: import("styled-components").StyledComponent<"hr", import("styled-components").DefaultTheme, 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 & {
|
|
5
5
|
children?: import("react").ReactNode;
|
|
6
6
|
}, never>;
|
package/dist/Grid/Grid.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export declare type GridProps = SystemGridProps & BoxProps & {
|
|
|
5
5
|
cellSize?: ResponsiveValue<number | string>;
|
|
6
6
|
cellGap?: number | string;
|
|
7
7
|
};
|
|
8
|
-
export declare const GridCell: import("styled-components").StyledComponent<"div",
|
|
8
|
+
export declare const GridCell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare const Grid: React.FC<GridProps>;
|
package/dist/HTML/HTML.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare type HTMLProps = BoxProps & ({
|
|
|
5
5
|
} | {
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
});
|
|
8
|
-
export declare const Styles: import("styled-components").StyledComponent<"div",
|
|
8
|
+
export declare const Styles: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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
|
}, never>;
|
|
11
11
|
export declare const HTML: React.FC<HTMLProps>;
|
package/dist/Image/Image.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare enum Mode {
|
|
|
6
6
|
Loaded = 2
|
|
7
7
|
}
|
|
8
8
|
export declare const imgMixin: import("styled-components").FlattenSimpleInterpolation;
|
|
9
|
-
export declare const Img: import("styled-components").StyledComponent<"img",
|
|
9
|
+
export declare const Img: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
|
|
10
10
|
mode: Mode;
|
|
11
11
|
}, never>;
|
|
12
12
|
export declare type ImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src"> & BoxProps & {
|
package/dist/Input/Input.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ export declare type InputProps = React.InputHTMLAttributes<HTMLInputElement> & B
|
|
|
4
4
|
focus?: boolean;
|
|
5
5
|
hover?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const inputFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
7
|
+
export declare const inputFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
8
8
|
export declare const inputHoverMixin: import("styled-components").FlattenSimpleInterpolation;
|
|
9
|
-
export declare const inputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<InputProps,
|
|
10
|
-
export declare const Input: import("styled-components").StyledComponent<"input",
|
|
9
|
+
export declare const inputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<InputProps, import("styled-components").DefaultTheme>>;
|
|
10
|
+
export declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, import("react").InputHTMLAttributes<HTMLInputElement> & BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
|
11
11
|
focus?: boolean | undefined;
|
|
12
12
|
hover?: boolean | undefined;
|
|
13
13
|
}, never>;
|
package/dist/Mono/Mono.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
3
|
export declare type MonoProps = BoxProps;
|
|
4
|
-
export declare const Mono: import("styled-components").StyledComponent<"div",
|
|
4
|
+
export declare const Mono: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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 & {
|
|
5
5
|
children?: import("react").ReactNode;
|
|
6
6
|
}, never>;
|
package/dist/Pane/Pane.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare type PaneProps = StackProps & React.HTMLAttributes<HTMLDivElement
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
onEnter?(): void;
|
|
6
6
|
};
|
|
7
|
-
export declare const paneShadowMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
7
|
+
export declare const paneShadowMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
8
8
|
export declare const Pane: React.ForwardRefExoticComponent<PaneProps & {
|
|
9
9
|
ref?: React.Ref<HTMLDivElement>;
|
|
10
10
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
3
|
export declare type PaneHeaderProps = BoxProps;
|
|
4
|
-
export declare const PaneHeader: import("styled-components").StyledComponent<"div",
|
|
4
|
+
export declare const PaneHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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 & {
|
|
5
5
|
children?: import("react").ReactNode;
|
|
6
6
|
}, never>;
|
|
@@ -6,11 +6,11 @@ export declare type PaneOptionProps = ClickableProps & {
|
|
|
6
6
|
focus?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare const paneOptionHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
10
|
-
export declare const paneOptionActiveMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
11
|
-
export declare const paneOptionFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
12
|
-
export declare const paneOptionDisabledMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
13
|
-
export declare const PaneOption: import("styled-components").StyledComponent<"button",
|
|
9
|
+
export declare const paneOptionHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
10
|
+
export declare const paneOptionActiveMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
11
|
+
export declare const paneOptionFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
12
|
+
export declare const paneOptionDisabledMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
13
|
+
export declare const PaneOption: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, 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 & {
|
|
14
14
|
children?: import("react").ReactNode;
|
|
15
15
|
} & {
|
|
16
16
|
cursor?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
package/dist/Pill/Pill.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const PILL: {
|
|
|
16
16
|
py: number;
|
|
17
17
|
transition: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const pillFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<
|
|
20
|
-
export declare const Pill: import("styled-components").StyledComponent<"div",
|
|
19
|
+
export declare const pillFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
20
|
+
export declare const Pill: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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
21
|
children?: import("react").ReactNode;
|
|
22
22
|
}, never>;
|
package/dist/Plus/Plus.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare type PlusProps = BoxProps & {
|
|
|
5
5
|
strokeWidth?: string;
|
|
6
6
|
axis?: "horizontal" | "vertical" | "both";
|
|
7
7
|
};
|
|
8
|
-
export declare const Plus: import("styled-components").StyledComponent<"div",
|
|
8
|
+
export declare const Plus: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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?: import("react").ReactNode;
|
|
10
10
|
} & {
|
|
11
11
|
size: number | string;
|
package/dist/Remove/Remove.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ClickableProps } from "../Clickable";
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
3
|
+
export declare const exMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
4
|
+
export declare const Ex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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 & {
|
|
5
|
+
children?: import("react").ReactNode;
|
|
6
|
+
}, never>;
|
|
7
|
+
export declare const removeFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
8
|
+
export declare const removeHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
5
9
|
export declare type RemoveProps = ClickableProps & {
|
|
6
10
|
hover?: boolean;
|
|
7
11
|
focus?: boolean;
|
|
8
12
|
};
|
|
9
|
-
export declare const Remove: import("styled-components").StyledComponent<"button",
|
|
13
|
+
export declare const Remove: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, 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 & {
|
|
10
14
|
children?: import("react").ReactNode;
|
|
11
15
|
} & {
|
|
12
16
|
cursor?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
package/dist/Remove/Remove.js
CHANGED
|
@@ -27,13 +27,21 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
return result;
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.Remove = exports.removeHoverMixin = exports.removeFocusMixin = void 0;
|
|
30
|
+
exports.Remove = exports.removeHoverMixin = exports.removeFocusMixin = exports.Ex = exports.exMixin = void 0;
|
|
31
31
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
var theme_get_1 = require("@styled-system/theme-get");
|
|
33
33
|
var Clickable_1 = require("../Clickable");
|
|
34
|
-
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
34
|
+
var Box_1 = require("../Box");
|
|
35
|
+
exports.exMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transition: color 250ms;\n\n &::before,\n &::after {\n content: \"\";\n display: block;\n width: ", ";\n height: 2px;\n position: absolute;\n top: 50%;\n left: 50%;\n background-color: currentColor;\n }\n\n &::before {\n transform: translate(-50%, -50%) rotate(45deg);\n }\n\n &::after {\n transform: translate(-50%, -50%) rotate(-45deg);\n }\n"], ["\n transition: color 250ms;\n\n &::before,\n &::after {\n content: \"\";\n display: block;\n width: ", ";\n height: 2px;\n position: absolute;\n top: 50%;\n left: 50%;\n background-color: currentColor;\n }\n\n &::before {\n transform: translate(-50%, -50%) rotate(45deg);\n }\n\n &::after {\n transform: translate(-50%, -50%) rotate(-45deg);\n }\n"])), (0, theme_get_1.themeGet)("space.5"));
|
|
36
|
+
exports.Ex = (0, styled_components_1.default)(Box_1.Box)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n ", "\n"], ["\n min-width: ", ";\n min-height: ", ";\n ", "\n"])), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("space.7"), exports.exMixin);
|
|
37
|
+
exports.Ex.defaultProps = {
|
|
38
|
+
position: "relative",
|
|
39
|
+
display: "inline-flex",
|
|
40
|
+
color: "tertiary",
|
|
41
|
+
};
|
|
42
|
+
exports.removeFocusMixin = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n outline: 0;\n color: ", ";\n"], ["\n outline: 0;\n color: ", ";\n"])), (0, theme_get_1.themeGet)("colors.primary"));
|
|
43
|
+
exports.removeHoverMixin = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), (0, theme_get_1.themeGet)("colors.primary"));
|
|
44
|
+
exports.Remove = (0, styled_components_1.default)(Clickable_1.Clickable)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n cursor: pointer;\n color: ", ";\n ", "\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"], ["\n min-width: ", ";\n min-height: ", ";\n cursor: pointer;\n color: ", ";\n ", "\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"])), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("colors.tertiary"), exports.exMixin, function (_a) {
|
|
37
45
|
var hover = _a.hover;
|
|
38
46
|
return hover && exports.removeHoverMixin;
|
|
39
47
|
}, exports.removeHoverMixin, function (_a) {
|
|
@@ -43,5 +51,5 @@ exports.Remove = (0, styled_components_1.default)(Clickable_1.Clickable)(templat
|
|
|
43
51
|
exports.Remove.defaultProps = {
|
|
44
52
|
position: "relative",
|
|
45
53
|
};
|
|
46
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
54
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
47
55
|
//# sourceMappingURL=Remove.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Remove.js","sourceRoot":"","sources":["../../src/Remove/Remove.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,0CAAyD;
|
|
1
|
+
{"version":3,"file":"Remove.js","sourceRoot":"","sources":["../../src/Remove/Remove.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,0CAAyD;AACzD,8BAA6B;AAEhB,QAAA,OAAO,OAAG,uBAAG,ucAAA,kHAOb,EAAmB,+QAe/B,KAfY,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAe9B;AAEW,QAAA,EAAE,GAAG,IAAA,2BAAM,EAAC,SAAG,CAAC,wHAAA,iBACd,EAAmB,mBAClB,EAAmB,OAC/B,EAAO,IACV,KAHc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAC/B,eAAO,EACT;AAEF,UAAE,CAAC,YAAY,GAAG;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,gBAAgB,OAAG,uBAAG,uGAAA,4BAExB,EAA0B,KACpC,KADU,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnC;AACW,QAAA,gBAAgB,OAAG,uBAAG,wFAAA,aACxB,EAA0B,KACpC,KADU,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnC;AAOW,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,qBAAS,CAAC,wOAAa,iBACrC,EAAmB,mBAClB,EAAmB,kCAExB,EAA2B,OAClC,EAAO,QAEP,EAAwC,qBAEtC,EAAgB,aAGlB,EAAwC,qBAEtC,EAAgB,SAErB,KAfc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAExB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAClC,eAAO,EAEP,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,wBAAgB;AAAzB,CAAyB,EAEtC,wBAAgB,EAGlB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,wBAAgB;AAAzB,CAAyB,EAEtC,wBAAgB,EAEpB;AAEF,cAAM,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,UAAU;CACrB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
3
|
export declare type SkeletonProps = BoxProps;
|
|
4
|
-
export declare const Skeleton: import("styled-components").StyledComponent<"div",
|
|
4
|
+
export declare const Skeleton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, 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 & {
|
|
5
5
|
children?: import("react").ReactNode;
|
|
6
6
|
}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../src/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,uDAA6C;AAE7C,8BAAuC;AAOhC,IAAM,OAAO,GAA2B,UAAC,EAI/C;IAHC,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,aAAmB,EAAnB,KAAK,mBAAG,WAAW,KAAA,EAChB,IAAI,cAHuC,iBAI/C,CADQ;IAEC,IAAA,MAAM,GAAK,IAAA,4BAAQ,
|
|
1
|
+
{"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../src/Spinner/Spinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAC1B,uDAA6C;AAE7C,8BAAuC;AAOhC,IAAM,OAAO,GAA2B,UAAC,EAI/C;IAHC,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,aAAmB,EAAnB,KAAK,mBAAG,WAAW,KAAA,EAChB,IAAI,cAHuC,iBAI/C,CADQ;IAEC,IAAA,MAAM,GAAK,IAAA,4BAAQ,GAAE,OAAf,CAAgB;IAE9B,OAAO,CACL,8BAAC,SAAG,eAAK,IAAI;QACX,qDACa,SAAS,EACpB,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,eAAe,EACvB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;YAE3B,qCACE,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,EACrB,IAAI,EAAC,MAAM;gBAEX,wCAAM,CAAC,EAAC,eAAe,GAAG;gBAC1B,wCAAM,OAAO,EAAC,IAAI,EAAC,CAAC,EAAC,iBAAiB,GAAG;gBACzC,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,qBAAqB,GAAG;gBAC/C,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,uBAAuB,GAAG;gBACjD,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,qBAAqB,GAAG;gBAC/C,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,uBAAuB,GAAG;gBACjD,wCAAM,OAAO,EAAC,KAAK,EAAC,CAAC,EAAC,eAAe,GAAG;gBACxC,wCAAM,OAAO,EAAC,KAAK,EAAC,CAAC,EAAC,iBAAiB,GAAG;gBAC1C,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,sBAAsB,GAAG;gBAChD,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,sBAAsB,GAAG;gBAChD,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,sBAAsB,GAAG;gBAChD,wCAAM,OAAO,EAAC,MAAM,EAAC,CAAC,EAAC,sBAAsB,GAAG;gBAChD,oDACE,aAAa,EAAC,WAAW,EACzB,aAAa,EAAC,KAAK,EACnB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAC,iFAAiF,EAC1F,MAAM,EAAC,oKAAoK,EAC3K,GAAG,EAAC,UAAU,EACd,KAAK,EAAC,IAAI,EACV,WAAW,EAAC,YAAY,EACxB,QAAQ,EAAC,UAAU,GACnB,CACA,CACA,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,OAAO,WAkDlB;AAEF,eAAO,CAAC,WAAW,GAAG,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Truncate: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const Truncate: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./useClickOutside"), exports);
|
|
18
|
+
__exportStar(require("./useContrastingColor"), exports);
|
|
18
19
|
__exportStar(require("./useUniqueId"), exports);
|
|
19
20
|
__exportStar(require("./useUpdateEffect"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
package/dist/hooks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,gDAA8B;AAC9B,oDAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,wDAAsC;AACtC,gDAA8B;AAC9B,oDAAkC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useContrastingColor = void 0;
|
|
4
|
+
var styled_components_1 = require("styled-components");
|
|
5
|
+
var theme_1 = require("../theme");
|
|
6
|
+
var useContrastingColor = function (keyOrHex) {
|
|
7
|
+
var colors = (0, styled_components_1.useTheme)().colors;
|
|
8
|
+
var color = colors[keyOrHex] || keyOrHex;
|
|
9
|
+
return (0, theme_1.getContrastTIQHex)(color);
|
|
10
|
+
};
|
|
11
|
+
exports.useContrastingColor = useContrastingColor;
|
|
12
|
+
//# sourceMappingURL=useContrastingColor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContrastingColor.js","sourceRoot":"","sources":["../../src/hooks/useContrastingColor.ts"],"names":[],"mappings":";;;AAAA,uDAA6C;AAC7C,kCAA0D;AAEnD,IAAM,mBAAmB,GAAG,UAAC,QAAoC;IAC9D,IAAA,MAAM,GAAK,IAAA,4BAAQ,GAAE,OAAf,CAAgB;IAE9B,IAAM,KAAK,GAAG,MAAM,CAAC,QAA6B,CAAC,IAAI,QAAQ,CAAC;IAEhE,OAAO,IAAA,yBAAiB,EAAC,KAAK,CAAC,CAAC;AAClC,CAAC,CAAC;AANW,QAAA,mBAAmB,uBAM9B"}
|
package/dist/theme/utils.d.ts
CHANGED
|
@@ -16,4 +16,4 @@ export declare const getContrastYIQRGB: ({ r, g, b, a, }: {
|
|
|
16
16
|
}) => "black" | "white";
|
|
17
17
|
export declare const getContrastTIQHex: (value: string) => "black" | "white";
|
|
18
18
|
export declare const colorHash: (string: string) => string;
|
|
19
|
-
export declare const space: (index: number) => "0" | "0.
|
|
19
|
+
export declare const space: (index: number) => "0" | "0.75rem" | "1rem" | "1.5rem" | "2rem" | "0.125rem" | "0.25rem" | "0.5rem" | "4rem" | "8rem" | "16rem";
|