@auspices/eos 2.34.0 → 3.0.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/Alert/Alert.d.ts +1 -1
- package/dist/Alerts/Alerts.d.ts +1 -1
- package/dist/Alerts/useAlerts.d.ts +5 -5
- package/dist/AspectRatioBox/AspectRatioBox.d.ts +3 -3
- package/dist/Banner/Banner.d.ts +1 -1
- package/dist/Banner/Banner.js +2 -2
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Box/Box.d.ts +4 -4
- package/dist/Button/Button.d.ts +7 -4
- package/dist/Button/Button.js +11 -5
- package/dist/Button/Button.js.map +1 -1
- package/dist/Caret/Caret.d.ts +1 -1
- package/dist/Cell/Cell.d.ts +21 -3
- package/dist/Cell/Cell.js +16 -17
- package/dist/Cell/Cell.js.map +1 -1
- package/dist/Clear/Clear.d.ts +1 -1
- package/dist/ClearableInput/ClearableInput.d.ts +1 -1
- package/dist/Clickable/Clickable.d.ts +1 -1
- package/dist/Confirm/Confirm.d.ts +1 -1
- package/dist/Confirm/useConfirm.d.ts +1 -1
- package/dist/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/Divider/Divider.d.ts +1 -1
- package/dist/Dropdown/Dropdown.d.ts +3 -3
- package/dist/Ellipsis/Ellipsis.d.ts +1 -1
- package/dist/EmptyFrame/EmptyFrame.d.ts +1 -1
- package/dist/Expandable/Expandable.d.ts +1 -1
- package/dist/Field/Field.d.ts +2 -2
- package/dist/File/File.d.ts +1 -1
- package/dist/Flyout/Flyout.d.ts +2 -2
- 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 +7 -2
- package/dist/Input/Input.js +1 -1
- package/dist/Input/Input.js.map +1 -1
- package/dist/KeyValueEditor/KeyValueEditor.d.ts +3 -3
- package/dist/KeyValueInput/KeyValueInput.d.ts +1 -1
- package/dist/Loading/Loading.d.ts +1 -1
- package/dist/Modal/Modal.d.ts +1 -1
- package/dist/Mono/Mono.d.ts +1 -1
- package/dist/MultiSelect/MultiSelect.d.ts +3 -3
- package/dist/MultiSelect/useMultiSelect.d.ts +1 -1
- package/dist/Pagination/Page.d.ts +1 -1
- package/dist/Pagination/Pagination.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 +1 -1
- package/dist/Pill/Pill.d.ts +5 -3
- package/dist/Plus/Plus.d.ts +1 -1
- package/dist/Popper/Popper.d.ts +1 -1
- package/dist/Popper/usePopper.d.ts +1 -1
- package/dist/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/Remove/Remove.d.ts +1 -1
- package/dist/ResponsiveImage/ResponsiveImage.d.ts +1 -1
- package/dist/Select/Select.d.ts +3 -3
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Split/Split.d.ts +1 -1
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/Tag/Tag.d.ts +1 -1
- package/dist/Themer/useThemer.d.ts +1 -1
- package/dist/Tooltip/Tooltip.d.ts +1 -1
- package/dist/Upload/Upload.d.ts +1 -1
- package/dist/hooks/useClickOutside.d.ts +1 -1
- package/dist/theme/theme.d.ts +4 -4
- package/package.json +19 -19
package/dist/Alert/Alert.d.ts
CHANGED
package/dist/Alerts/Alerts.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
3
|
-
export
|
|
2
|
+
type Body = string | JSX.Element;
|
|
3
|
+
export type TAlert = {
|
|
4
4
|
mode: "notification" | "error";
|
|
5
5
|
id: string;
|
|
6
6
|
body: Body;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type Message = {
|
|
9
9
|
body: Body;
|
|
10
10
|
ttl?: number;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
type State = {
|
|
13
13
|
alerts: TAlert[];
|
|
14
14
|
};
|
|
15
15
|
export declare const AlertsContext: React.Context<{
|
|
@@ -17,7 +17,7 @@ export declare const AlertsContext: React.Context<{
|
|
|
17
17
|
sendNotification(message: Message): void;
|
|
18
18
|
sendError(message: Message): void;
|
|
19
19
|
}>;
|
|
20
|
-
export
|
|
20
|
+
export type AlertsProviderProps = {
|
|
21
21
|
children: React.ReactNode;
|
|
22
22
|
};
|
|
23
23
|
export declare const AlertsProvider: React.FC<AlertsProviderProps>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
|
|
3
|
+
type MaxDimensions = {
|
|
4
4
|
maxWidth?: number | "100%";
|
|
5
5
|
maxHeight?: number;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type AspectDimensions = {
|
|
8
8
|
aspectWidth: number;
|
|
9
9
|
aspectHeight: number;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type AspectRatioBoxProps = Omit<BoxProps, "maxWidth" | "maxHeight"> & AspectDimensions & MaxDimensions;
|
|
12
12
|
export declare const AspectRatioBox: React.FC<AspectRatioBoxProps>;
|
|
13
13
|
export {};
|
package/dist/Banner/Banner.d.ts
CHANGED
package/dist/Banner/Banner.js
CHANGED
|
@@ -76,8 +76,8 @@ var Banner = function (_a) {
|
|
|
76
76
|
};
|
|
77
77
|
if (dismissed)
|
|
78
78
|
return null;
|
|
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,
|
|
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, fontSize: 1, lineHeight: 2, color: contrasting }, rest),
|
|
80
|
+
react_1.default.createElement(Box_1.Box, null, children),
|
|
81
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
82
|
react_1.default.createElement(Remove_1.Ex, { color: contrasting })))));
|
|
83
83
|
};
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,EACN,QAAQ,EAAE,CAAC,EACX,UAAU,EAAE,CAAC,EACb,KAAK,EAAE,WAAW,IACd,IAAI;QAER,8BAAC,SAAG,QAAE,QAAQ,CAAO;QAEpB,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;AAnDW,QAAA,MAAM,UAmDjB"}
|
package/dist/Box/Box.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BorderProps, FlexboxProps, SpaceProps, TypographyProps, PositionProps, LayoutProps, ColorProps, ResponsiveValue } from "styled-system";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type BoxSpatialProps = FlexboxProps & SpaceProps & PositionProps & LayoutProps;
|
|
4
|
+
export type TextColorProps = {
|
|
5
5
|
textColor?: ResponsiveValue<string>;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type TransitionProps = {
|
|
8
8
|
transition?: ResponsiveValue<string>;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type BoxProps = BorderProps & TypographyProps & BoxSpatialProps & Omit<ColorProps, "color"> & TextColorProps & TransitionProps & {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
};
|
|
13
13
|
export declare const boxMixin: import("styled-system").styleFn;
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ClickableProps } from "../Clickable";
|
|
3
|
+
import { CellProps } from "../Cell";
|
|
3
4
|
export declare const BUTTON: {
|
|
4
5
|
display: string;
|
|
5
6
|
alignItems: string;
|
|
@@ -10,13 +11,13 @@ export declare const BUTTON: {
|
|
|
10
11
|
borderWidth: string;
|
|
11
12
|
color: string;
|
|
12
13
|
fontFamily: string;
|
|
13
|
-
fontSize: number[];
|
|
14
14
|
lineHeight: number;
|
|
15
|
+
transition: string;
|
|
16
|
+
fontSize: number[];
|
|
15
17
|
px: number;
|
|
16
18
|
py: number;
|
|
17
|
-
transition: string;
|
|
18
19
|
};
|
|
19
|
-
export
|
|
20
|
+
export type ButtonProps = ClickableProps & CellProps & {
|
|
20
21
|
focus?: boolean;
|
|
21
22
|
hover?: boolean;
|
|
22
23
|
selected?: boolean;
|
|
@@ -26,13 +27,15 @@ export declare const buttonHoverMixin: import("styled-components").FlattenInterp
|
|
|
26
27
|
export declare const buttonFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
27
28
|
export declare const buttonSelectedMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
28
29
|
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").
|
|
30
|
+
export declare const buttonHighlightedMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<ButtonProps, import("styled-components").DefaultTheme>>;
|
|
30
31
|
export declare const buttonMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<ButtonProps, import("styled-components").DefaultTheme>>;
|
|
31
32
|
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
33
|
children?: import("react").ReactNode;
|
|
33
34
|
} & {
|
|
34
35
|
cursor?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
|
35
36
|
textDecoration?: import("styled-system").ResponsiveValue<string, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
|
37
|
+
} & {
|
|
38
|
+
variant?: "small" | "default" | undefined;
|
|
36
39
|
} & {
|
|
37
40
|
focus?: boolean | undefined;
|
|
38
41
|
hover?: boolean | undefined;
|
package/dist/Button/Button.js
CHANGED
|
@@ -43,13 +43,19 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
43
43
|
var theme_get_1 = require("@styled-system/theme-get");
|
|
44
44
|
var Clickable_1 = require("../Clickable");
|
|
45
45
|
var Cell_1 = require("../Cell");
|
|
46
|
+
var styled_system_1 = require("styled-system");
|
|
46
47
|
exports.BUTTON = __assign(__assign({}, Cell_1.CELL), { display: "inline-flex", alignItems: "center", justifyContent: "center" });
|
|
47
48
|
exports.buttonHoverMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), (0, theme_get_1.themeGet)("colors.secondary"));
|
|
48
49
|
exports.buttonFocusMixin = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n outline: 0;\n ", "\n"], ["\n outline: 0;\n ", "\n"])), Cell_1.cellFocusMixin);
|
|
49
50
|
exports.buttonSelectedMixin = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n outline: 0;\n box-shadow: inset 0 0 0 ", " ", ";\n text-decoration: underline;\n color: ", ";\n border-color: ", ";\n"], ["\n outline: 0;\n box-shadow: inset 0 0 0 ", " ", ";\n text-decoration: underline;\n color: ", ";\n border-color: ", ";\n"])), (0, theme_get_1.themeGet)("space.1"), (0, theme_get_1.themeGet)("colors.primary"), (0, theme_get_1.themeGet)("colors.primary"), (0, theme_get_1.themeGet)("colors.tertiary"));
|
|
50
51
|
exports.buttonDisabledMixin = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n position: relative;\n color: ", ";\n border-color: ", ";\n pointer-events: none;\n cursor: default;\n z-index: -1;\n"], ["\n position: relative;\n color: ", ";\n border-color: ", ";\n pointer-events: none;\n cursor: default;\n z-index: -1;\n"])), (0, theme_get_1.themeGet)("colors.tertiary"), (0, theme_get_1.themeGet)("colors.tertiary"));
|
|
51
|
-
exports.buttonHighlightedMixin = (0, styled_components_1.css)(
|
|
52
|
-
|
|
52
|
+
exports.buttonHighlightedMixin = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n &::before {\n content: \"\u2192\u00A0\";\n\n ", ")}\n }\n"], ["\n &::before {\n content: \"\u2192\\u00A0\";\n\n ", ")}\n }\n"])), function (_a) {
|
|
53
|
+
var variant = _a.variant;
|
|
54
|
+
if (variant !== "small") {
|
|
55
|
+
return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n margin-left: -", ";\n "], ["\n margin-left: -", ";\n "])), (0, theme_get_1.themeGet)("space.3"));
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
exports.buttonMixin = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n\n cursor: pointer;\n transition: ", ", color 200ms ease;\n min-width: 0;\n user-select: none;\n font-weight: normal;\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:disabled {\n ", "\n }\n\n ", "\n\n ", "\n"], ["\n ", "\n\n cursor: pointer;\n transition: ", ", color 200ms ease;\n min-width: 0;\n user-select: none;\n font-weight: normal;\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:disabled {\n ", "\n }\n\n ", "\n\n ", "\n"])), (0, styled_system_1.variant)({ variants: Cell_1.CELL_VARIANTS }), Cell_1.CELL.transition, function (_a) {
|
|
53
59
|
var hover = _a.hover;
|
|
54
60
|
return hover && exports.buttonHoverMixin;
|
|
55
61
|
}, exports.buttonHoverMixin, function (_a) {
|
|
@@ -60,13 +66,13 @@ exports.buttonMixin = (0, styled_components_1.css)(templateObject_7 || (template
|
|
|
60
66
|
return disabled && exports.buttonDisabledMixin;
|
|
61
67
|
}, exports.buttonDisabledMixin, function (_a) {
|
|
62
68
|
var selected = _a.selected;
|
|
63
|
-
return selected && (0, styled_components_1.css)(
|
|
69
|
+
return selected && (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", "\n &:focus {\n ", "\n }\n &:disabled {\n ", "\n }\n "], ["\n ", "\n &:focus {\n ", "\n }\n &:disabled {\n ", "\n }\n "])), exports.buttonSelectedMixin, exports.buttonSelectedMixin, exports.buttonSelectedMixin);
|
|
64
70
|
}, function (_a) {
|
|
65
71
|
var highlighted = _a.highlighted;
|
|
66
72
|
return highlighted && exports.buttonHighlightedMixin;
|
|
67
73
|
});
|
|
68
|
-
exports.Button = (0, styled_components_1.default)(Clickable_1.Clickable)(
|
|
74
|
+
exports.Button = (0, styled_components_1.default)(Clickable_1.Clickable)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), exports.buttonMixin);
|
|
69
75
|
exports.Button.defaultProps = __assign({}, exports.BUTTON);
|
|
70
76
|
exports.Button.displayName = "Button";
|
|
71
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
77
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
72
78
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/Button/Button.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,0CAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../src/Button/Button.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,0CAAyD;AACzD,gCAAyE;AACzE,+CAAwC;AAE3B,QAAA,MAAM,yBACd,WAAI,KACP,OAAO,EAAE,aAAa,EACtB,UAAU,EAAE,QAAQ,EACpB,cAAc,EAAE,QAAQ,IACxB;AAUW,QAAA,gBAAgB,OAAG,uBAAG,wFAAA,aACxB,EAA4B,KACtC,KADU,IAAA,oBAAQ,EAAC,kBAAkB,CAAC,EACrC;AAEW,QAAA,gBAAgB,OAAG,uBAAG,+FAAA,qBAE/B,EAAc,IACjB,KADG,qBAAc,EAChB;AAEW,QAAA,mBAAmB,OAAG,uBAAG,mMAAA,6CAEV,EAAmB,GAAI,EAA0B,6CAElE,EAA0B,qBACnB,EAA2B,KAC5C,KAJ2B,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAAI,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EAElE,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAC3C;AAEW,QAAA,mBAAmB,OAAG,uBAAG,mMAAA,oCAE3B,EAA2B,qBACpB,EAA2B,kEAI5C,KALU,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EACpB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAI3C;AAEW,QAAA,sBAAsB,OAAG,uBAAG,0IAAa,0DAIhD,EAMD,WAEJ,KARK,UAAC,EAAW;QAAT,OAAO,aAAA;IACV,IAAI,OAAO,KAAK,OAAO,EAAE;QACvB,WAAO,uBAAG,+GAAA,4BACQ,EAAmB,aACpC,KADiB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EACnC;KACH;AACH,CAAC,EAEH;AAEW,QAAA,WAAW,OAAG,uBAAG,qVAAa,MACvC,EAAoC,wCAGxB,EAAe,0FAK3B,EAAwC,qBAEtC,EAAgB,aAGlB,EAAwC,qBAEtC,EAAgB,aAGlB,EAAiD,wBAE/C,EAAmB,aAGrB,EAUC,QAED,EAA0D,IAC7D,KApCG,IAAA,uBAAO,EAAC,EAAE,QAAQ,EAAE,oBAAa,EAAE,CAAC,EAGxB,WAAI,CAAC,UAAU,EAK3B,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,EAGlB,UAAC,EAAY;QAAV,QAAQ,cAAA;IAAO,OAAA,QAAQ,IAAI,2BAAmB;AAA/B,CAA+B,EAE/C,2BAAmB,EAGrB,UAAC,EAAY;QAAV,QAAQ,cAAA;IACX,OAAA,QAAQ,QACR,uBAAG,2KAAA,UACC,EAAmB,6BAEjB,EAAmB,yCAGnB,EAAmB,iBAExB,KAPG,2BAAmB,EAEjB,2BAAmB,EAGnB,2BAAmB,CAExB;AATD,CASC,EAED,UAAC,EAAe;QAAb,WAAW,iBAAA;IAAO,OAAA,WAAW,IAAI,8BAAsB;AAArC,CAAqC,EAC5D;AAEW,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,qBAAS,CAAC,+EAAa,MAChD,EAAW,IACd,KADG,mBAAW,EACb;AAEF,cAAM,CAAC,YAAY,gBAAQ,cAAM,CAAE,CAAC;AAEpC,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
|
package/dist/Caret/Caret.d.ts
CHANGED
package/dist/Cell/Cell.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export declare
|
|
3
|
+
export declare const CELL_VARIANTS: {
|
|
4
|
+
default: {
|
|
5
|
+
fontSize: number[];
|
|
6
|
+
px: number;
|
|
7
|
+
py: number;
|
|
8
|
+
};
|
|
9
|
+
small: {
|
|
10
|
+
fontSize: number[];
|
|
11
|
+
px: number;
|
|
12
|
+
py: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
4
15
|
export declare const CELL: {
|
|
5
16
|
alignItems: string;
|
|
6
17
|
backgroundColor: string;
|
|
@@ -10,13 +21,20 @@ export declare const CELL: {
|
|
|
10
21
|
color: string;
|
|
11
22
|
display: string;
|
|
12
23
|
fontFamily: string;
|
|
13
|
-
fontSize: number[];
|
|
14
24
|
lineHeight: number;
|
|
25
|
+
transition: string;
|
|
26
|
+
fontSize: number[];
|
|
15
27
|
px: number;
|
|
16
28
|
py: number;
|
|
17
|
-
|
|
29
|
+
};
|
|
30
|
+
type CellVariant = keyof typeof CELL_VARIANTS;
|
|
31
|
+
export type CellProps = BoxProps & {
|
|
32
|
+
variant?: CellVariant;
|
|
18
33
|
};
|
|
19
34
|
export declare const cellFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
20
35
|
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
36
|
children?: import("react").ReactNode;
|
|
37
|
+
} & {
|
|
38
|
+
variant?: "small" | "default" | undefined;
|
|
22
39
|
}, never>;
|
|
40
|
+
export {};
|
package/dist/Cell/Cell.js
CHANGED
|
@@ -38,28 +38,27 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
38
38
|
return result;
|
|
39
39
|
};
|
|
40
40
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
-
exports.Cell = exports.cellFocusMixin = exports.CELL = void 0;
|
|
41
|
+
exports.Cell = exports.cellFocusMixin = exports.CELL = exports.CELL_VARIANTS = void 0;
|
|
42
42
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
43
|
+
var styled_system_1 = require("styled-system");
|
|
43
44
|
var theme_get_1 = require("@styled-system/theme-get");
|
|
44
45
|
var Box_1 = require("../Box");
|
|
45
|
-
exports.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
px: 6,
|
|
57
|
-
py: 4,
|
|
58
|
-
transition: "box-shadow 250ms ease",
|
|
46
|
+
exports.CELL_VARIANTS = {
|
|
47
|
+
default: {
|
|
48
|
+
fontSize: [2, 2, 3],
|
|
49
|
+
px: 6,
|
|
50
|
+
py: 4,
|
|
51
|
+
},
|
|
52
|
+
small: {
|
|
53
|
+
fontSize: [0, 0, 1],
|
|
54
|
+
px: 3,
|
|
55
|
+
py: 2,
|
|
56
|
+
},
|
|
59
57
|
};
|
|
58
|
+
exports.CELL = __assign(__assign({}, exports.CELL_VARIANTS.default), { alignItems: "center", backgroundColor: "background", borderColor: "border", borderStyle: "solid", borderWidth: "1px", color: "primary", display: "flex", fontFamily: "body", lineHeight: 2, transition: "box-shadow 250ms ease" });
|
|
60
59
|
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"));
|
|
61
|
-
exports.Cell = (0, styled_components_1.default)(Box_1.Box)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n &:focus {\n ", "\n }\n"], ["\n &:focus {\n ", "\n }\n"])), exports.cellFocusMixin);
|
|
62
|
-
exports.Cell.defaultProps = __assign({}, exports.CELL);
|
|
60
|
+
exports.Cell = (0, styled_components_1.default)(Box_1.Box)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n\n &:focus {\n ", "\n }\n"], ["\n ", ";\n\n &:focus {\n ", "\n }\n"])), (0, styled_system_1.variant)({ variants: exports.CELL_VARIANTS }), exports.cellFocusMixin);
|
|
61
|
+
exports.Cell.defaultProps = __assign(__assign({}, exports.CELL), { variant: "default" });
|
|
63
62
|
exports.Cell.displayName = "Cell";
|
|
64
63
|
var templateObject_1, templateObject_2;
|
|
65
64
|
//# sourceMappingURL=Cell.js.map
|
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,sDAAoD;AACpD,8BAAuC;
|
|
1
|
+
{"version":3,"file":"Cell.js","sourceRoot":"","sources":["../../src/Cell/Cell.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,+CAAwC;AACxC,sDAAoD;AACpD,8BAAuC;AAE1B,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;AAEW,QAAA,IAAI,yBACZ,qBAAa,CAAC,OAAO,KACxB,UAAU,EAAE,QAAQ,EACpB,eAAe,EAAE,YAAY,EAC7B,WAAW,EAAE,QAAQ,EACrB,WAAW,EAAE,OAAO,EACpB,WAAW,EAAE,KAAK,EAClB,KAAK,EAAE,SAAS,EAChB,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,CAAC,EACb,UAAU,EAAE,uBAAuB,IACnC;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,IAAI,GAAG,IAAA,2BAAM,EAAC,SAAG,CAAC,8GAAW,MACtC,EAAoC,wBAGlC,EAAc,SAEnB,KALG,IAAA,uBAAO,EAAC,EAAE,QAAQ,EAAE,qBAAa,EAAE,CAAC,EAGlC,sBAAc,EAElB;AAEF,YAAI,CAAC,YAAY,yBAAQ,YAAI,KAAE,OAAO,EAAE,SAAS,GAAE,CAAC;AAEpD,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
|
package/dist/Clear/Clear.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RemoveProps } from "../Remove";
|
|
3
|
-
export
|
|
3
|
+
export type ClearProps = RemoveProps;
|
|
4
4
|
export declare const clearHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
5
5
|
export declare const clearFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
6
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 & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { InputProps } from "../Input";
|
|
3
3
|
import { BoxSpatialProps } from "../Box";
|
|
4
|
-
export
|
|
4
|
+
export type ClearableInputProps = BoxSpatialProps & Omit<InputProps, "onChange" | "value"> & {
|
|
5
5
|
onChange?(value: string): void;
|
|
6
6
|
onClear?(): void;
|
|
7
7
|
value?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ResponsiveValue } from "styled-system";
|
|
3
3
|
import { BoxProps } from "../Box";
|
|
4
|
-
export
|
|
4
|
+
export type ClickableProps = React.ButtonHTMLAttributes<HTMLButtonElement> & BoxProps & {
|
|
5
5
|
cursor?: ResponsiveValue<string>;
|
|
6
6
|
textDecoration?: ResponsiveValue<string>;
|
|
7
7
|
};
|
|
@@ -16,7 +16,7 @@ export declare const Toggle: import("styled-components").StyledComponent<"button
|
|
|
16
16
|
borderColor: string;
|
|
17
17
|
backgroundColor: string;
|
|
18
18
|
}, "backgroundColor" | "border" | "borderColor" | "p">;
|
|
19
|
-
export
|
|
19
|
+
export type ContextMenuProps = BoxProps & {
|
|
20
20
|
onOpen?(): void;
|
|
21
21
|
onClose?(): void;
|
|
22
22
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export
|
|
3
|
+
export type DividerProps = BoxProps;
|
|
4
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>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
3
|
import { Placement } from "@popperjs/core";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type DropdownPaneOptions = React.ReactNode;
|
|
5
|
+
export type DropdownRenderProps = ({ handleClose, }: {
|
|
6
6
|
handleClose(): void;
|
|
7
7
|
}) => DropdownPaneOptions;
|
|
8
8
|
export declare const isDropdownRenderProps: (children: DropdownPaneOptions | DropdownRenderProps) => children is DropdownRenderProps;
|
|
9
|
-
export
|
|
9
|
+
export type DropdownProps = BoxProps & {
|
|
10
10
|
label: string | JSX.Element | ((anchorProps: {
|
|
11
11
|
open: boolean;
|
|
12
12
|
ref: React.MutableRefObject<HTMLButtonElement | null>;
|
package/dist/Field/Field.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { InputProps } from "../Input";
|
|
3
3
|
import { SplitProps } from "../Split";
|
|
4
|
-
|
|
4
|
+
type RequiredProps = Omit<SplitProps, "children"> & {
|
|
5
5
|
label: React.ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type FieldProps = RequiredProps & ({
|
|
8
8
|
input: InputProps;
|
|
9
9
|
} | {
|
|
10
10
|
children: JSX.Element | string | null;
|
package/dist/File/File.d.ts
CHANGED
package/dist/Flyout/Flyout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PaneOptionProps } from "../Pane";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type FlyoutPaneOptions = React.ReactElement<PaneOptionProps> | React.ReactElement<PaneOptionProps>[];
|
|
4
|
+
export type FlyoutProps = PaneOptionProps & {
|
|
5
5
|
label: string | JSX.Element;
|
|
6
6
|
children: FlyoutPaneOptions;
|
|
7
7
|
open?: boolean;
|
package/dist/Grid/Grid.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { GridProps as SystemGridProps, ResponsiveValue } from "styled-system";
|
|
3
3
|
import { BoxProps } from "../Box";
|
|
4
|
-
export
|
|
4
|
+
export type GridProps = SystemGridProps & BoxProps & {
|
|
5
5
|
cellSize?: ResponsiveValue<number | string>;
|
|
6
6
|
cellGap?: number | string;
|
|
7
7
|
};
|
package/dist/HTML/HTML.d.ts
CHANGED
package/dist/Image/Image.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare const imgMixin: import("styled-components").FlattenSimpleInterpol
|
|
|
9
9
|
export declare const Img: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
|
|
10
10
|
mode: Mode;
|
|
11
11
|
}, never>;
|
|
12
|
-
export
|
|
12
|
+
export type ImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src"> & BoxProps & {
|
|
13
13
|
srcs: string[];
|
|
14
14
|
onError?(): void;
|
|
15
15
|
onLoad?(): void;
|
package/dist/Input/Input.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BorderProps, FlexboxProps, SpaceProps, TypographyProps, LayoutProps, ColorProps } from "styled-system";
|
|
3
|
-
|
|
3
|
+
import { CellProps } from "../Cell";
|
|
4
|
+
export type InputProps = React.InputHTMLAttributes<HTMLInputElement> & CellProps & BorderProps & FlexboxProps & TypographyProps & LayoutProps & SpaceProps & ColorProps & {
|
|
4
5
|
focus?: boolean;
|
|
5
6
|
hover?: boolean;
|
|
6
7
|
};
|
|
7
8
|
export declare const inputFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
8
9
|
export declare const inputHoverMixin: import("styled-components").FlattenSimpleInterpolation;
|
|
9
10
|
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>> &
|
|
11
|
+
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>> & 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> & import("styled-system").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"> & import("..").TextColorProps & import("..").TransitionProps & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & {
|
|
14
|
+
variant?: "small" | "default" | undefined;
|
|
15
|
+
} & 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
16
|
focus?: boolean | undefined;
|
|
12
17
|
hover?: boolean | undefined;
|
|
13
18
|
}, never>;
|
package/dist/Input/Input.js
CHANGED
|
@@ -45,7 +45,7 @@ var Cell_1 = require("../Cell");
|
|
|
45
45
|
var systemProps = (0, styled_system_1.compose)(styled_system_1.border, styled_system_1.flexbox, styled_system_1.space, styled_system_1.typography, styled_system_1.layout, styled_system_1.color);
|
|
46
46
|
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);
|
|
47
47
|
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"])));
|
|
48
|
-
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 ", "\n\n background-color: transparent;\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 ", "\n\n background-color: transparent;\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"])), systemProps, function (_a) {
|
|
48
|
+
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 ", "\n\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 ", "\n\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"])), systemProps, (0, styled_system_1.variant)({ variants: Cell_1.CELL_VARIANTS }), function (_a) {
|
|
49
49
|
var focus = _a.focus;
|
|
50
50
|
return focus && exports.inputFocusMixin;
|
|
51
51
|
}, exports.inputFocusMixin, function (_a) {
|
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,+
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/Input/Input.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,+CAeuB;AACvB,gCAAyE;AAczE,IAAM,WAAW,GAAG,IAAA,uBAAO,EAAC,sBAAM,EAAE,uBAAO,EAAE,qBAAK,EAAE,0BAAU,EAAE,sBAAM,EAAE,qBAAK,CAAC,CAAC;AAElE,QAAA,eAAe,OAAG,uBAAG,4IAAA,MAC9B,EAAc,gEAKjB,KALG,qBAAc,EAKhB;AAEW,QAAA,eAAe,OAAG,uBAAG,iIAAA,6DAIjC,KAAC;AAEW,QAAA,UAAU,OAAG,uBAAG,qVAAY,oGAKrC,EAAW,4CAIX,EAAoC,QAEpC,EAAuC,qBAErC,EAAe,aAGjB,EAAuC,qBAErC,EAAe,sDAMpB,KAnBG,WAAW,EAIX,IAAA,uBAAO,EAAC,EAAE,QAAQ,EAAE,oBAAa,EAAE,CAAC,EAEpC,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,+EAAY,MACzC,EAAU,IACb,KADG,kBAAU,EACZ;AAEF,aAAK,CAAC,YAAY,gBACb,WAAI,CACR,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StackProps } from "../Stack";
|
|
3
|
-
export
|
|
3
|
+
export type KeyValueSchema = {
|
|
4
4
|
key: string;
|
|
5
5
|
name: string;
|
|
6
6
|
type: "string" | "number";
|
|
7
7
|
}[];
|
|
8
|
-
export
|
|
8
|
+
export type KeyValueData = Record<string, string>;
|
|
9
9
|
export declare const toSchema: (data: KeyValueData) => KeyValueSchema;
|
|
10
|
-
export
|
|
10
|
+
export type KeyValueEditorProps = Omit<StackProps, "onChange"> & {
|
|
11
11
|
schema: KeyValueSchema;
|
|
12
12
|
data: KeyValueData;
|
|
13
13
|
onChange?(data: KeyValueData): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { InputProps } from "../Input";
|
|
3
3
|
import { SplitProps } from "../Split";
|
|
4
|
-
export
|
|
4
|
+
export type KeyValueInputProps = Omit<SplitProps, "children"> & {
|
|
5
5
|
k: InputProps;
|
|
6
6
|
v?: InputProps;
|
|
7
7
|
};
|
package/dist/Modal/Modal.d.ts
CHANGED
package/dist/Mono/Mono.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export
|
|
3
|
+
export type MonoProps = BoxProps;
|
|
4
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>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type MultiSelectPayload = Record<string, unknown>;
|
|
3
|
+
export type MultiSelectItem = {
|
|
4
4
|
id: string;
|
|
5
5
|
payload: MultiSelectPayload;
|
|
6
6
|
};
|
|
@@ -10,7 +10,7 @@ export declare const MultiSelectContext: React.Context<{
|
|
|
10
10
|
deselect(id: string, payload?: MultiSelectPayload): void;
|
|
11
11
|
isWrapped: boolean;
|
|
12
12
|
}>;
|
|
13
|
-
export
|
|
13
|
+
export type MultiSelectProps = {
|
|
14
14
|
onChange?(selection: MultiSelectItem[], payload?: MultiSelectPayload): void;
|
|
15
15
|
};
|
|
16
16
|
export declare const MultiSelect: React.FC<MultiSelectProps>;
|
package/dist/Pane/Pane.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StackProps } from "../Stack";
|
|
3
|
-
export
|
|
3
|
+
export type PaneProps = StackProps & React.HTMLAttributes<HTMLDivElement> & {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
onEnter?(): void;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export
|
|
3
|
+
export type PaneHeaderProps = BoxProps;
|
|
4
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>;
|
package/dist/Pill/Pill.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CellProps } from "../Cell";
|
|
3
|
-
export
|
|
3
|
+
export type PillProps = CellProps;
|
|
4
4
|
export declare const PILL: {
|
|
5
5
|
alignItems: string;
|
|
6
6
|
backgroundColor: string;
|
|
@@ -10,13 +10,15 @@ export declare const PILL: {
|
|
|
10
10
|
color: string;
|
|
11
11
|
display: string;
|
|
12
12
|
fontFamily: string;
|
|
13
|
-
fontSize: number[];
|
|
14
13
|
lineHeight: number;
|
|
14
|
+
transition: string;
|
|
15
|
+
fontSize: number[];
|
|
15
16
|
px: number;
|
|
16
17
|
py: number;
|
|
17
|
-
transition: string;
|
|
18
18
|
};
|
|
19
19
|
export declare const pillFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
20
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
|
+
} & {
|
|
23
|
+
variant?: "small" | "default" | undefined;
|
|
22
24
|
}, never>;
|
package/dist/Plus/Plus.d.ts
CHANGED
package/dist/Popper/Popper.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Placement, StrictModifiers } from "@popperjs/core";
|
|
3
3
|
import { UseClickOutside } from "../hooks/useClickOutside";
|
|
4
|
-
export
|
|
4
|
+
export type UsePopper = {
|
|
5
5
|
open?: boolean;
|
|
6
6
|
distance?: number;
|
|
7
7
|
placement?: Placement;
|
package/dist/Remove/Remove.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const Ex: import("styled-components").StyledComponent<"div", impo
|
|
|
6
6
|
}, never>;
|
|
7
7
|
export declare const removeFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
8
8
|
export declare const removeHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
|
|
9
|
-
export
|
|
9
|
+
export type RemoveProps = ClickableProps & {
|
|
10
10
|
hover?: boolean;
|
|
11
11
|
focus?: boolean;
|
|
12
12
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ImageProps } from "../Image";
|
|
3
3
|
import { AspectRatioBoxProps } from "../AspectRatioBox";
|
|
4
|
-
export
|
|
4
|
+
export type ResponsiveImageProps = ImageProps & AspectRatioBoxProps & {
|
|
5
5
|
indicator?: boolean;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
};
|
package/dist/Select/Select.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DropdownProps } from "../Dropdown";
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type SelectValue = string | number | boolean | null;
|
|
4
|
+
export type SelectOption = {
|
|
5
5
|
label: string;
|
|
6
6
|
value: SelectValue;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type SelectProps = Omit<DropdownProps, "children"> & {
|
|
9
9
|
options: SelectOption[];
|
|
10
10
|
value?: SelectValue;
|
|
11
11
|
onChange?(value: SelectValue): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
export
|
|
3
|
+
export type SkeletonProps = BoxProps;
|
|
4
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>;
|
package/dist/Split/Split.d.ts
CHANGED
package/dist/Stack/Stack.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BoxProps } from "../Box";
|
|
3
|
-
|
|
3
|
+
type Direction = "vertical" | "horizontal";
|
|
4
4
|
export declare const DEFAULT_STACK_SPACING = "-1px";
|
|
5
5
|
export declare const DEFAULT_STACK_DIRECTION: Direction;
|
|
6
|
-
export
|
|
6
|
+
export type StackProps = BoxProps & {
|
|
7
7
|
spacing?: number | string;
|
|
8
8
|
direction?: Direction | Direction[];
|
|
9
9
|
children?: React.ReactNode;
|
package/dist/Tag/Tag.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Box, BoxProps } from "../Box";
|
|
3
|
-
export
|
|
3
|
+
export type TagProps = Omit<BoxProps, "bg" | "backgroundColor" | "children"> & {
|
|
4
4
|
bg?: string;
|
|
5
5
|
backgroundColor?: string;
|
|
6
6
|
children: string | JSX.Element;
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { Box, BoxProps } from "../Box";
|
|
3
3
|
import { Placement } from "../Popper";
|
|
4
4
|
export declare const Tip: typeof Box;
|
|
5
|
-
export
|
|
5
|
+
export type TooltipProps = BoxProps & {
|
|
6
6
|
children: JSX.Element;
|
|
7
7
|
label: JSX.Element | string;
|
|
8
8
|
placement?: Placement;
|
package/dist/Upload/Upload.d.ts
CHANGED
package/dist/theme/theme.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Constants = {
|
|
2
2
|
black: "black";
|
|
3
3
|
white: "white";
|
|
4
4
|
};
|
|
5
5
|
export declare const CONSTANTS: Constants;
|
|
6
|
-
export
|
|
6
|
+
export type ColorScheme = {
|
|
7
7
|
primary: string;
|
|
8
8
|
border: string;
|
|
9
9
|
secondary: string;
|
|
@@ -20,7 +20,7 @@ export declare const SCHEMES: {
|
|
|
20
20
|
dark: ColorScheme;
|
|
21
21
|
light: ColorScheme;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type Scheme = keyof typeof SCHEMES;
|
|
24
24
|
export declare const SPACE_SCALE: readonly ["0", "0.125rem", "0.25rem", "0.5rem", "0.75rem", "1rem", "1.5rem", "2rem", "4rem", "8rem", "16rem"];
|
|
25
25
|
export declare const SPACE_SCALE_UNIT = "rem";
|
|
26
26
|
export declare const FONT_SCALE: readonly ["0.75rem", "0.875rem", "1rem", "1.125rem", "1.5rem", "2rem"];
|
|
@@ -41,4 +41,4 @@ export declare const THEME: {
|
|
|
41
41
|
space: readonly ["0", "0.125rem", "0.25rem", "0.5rem", "0.75rem", "1rem", "1.5rem", "2rem", "4rem", "8rem", "16rem"];
|
|
42
42
|
breakpoints: string[];
|
|
43
43
|
};
|
|
44
|
-
export
|
|
44
|
+
export type Theme = typeof THEME;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auspices/eos",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -44,31 +44,31 @@
|
|
|
44
44
|
"use-keyboard-list-navigation": "^2.2.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@babel/core": "7.
|
|
48
|
-
"@storybook/addon-actions": "6.5.
|
|
47
|
+
"@babel/core": "7.20.5",
|
|
48
|
+
"@storybook/addon-actions": "6.5.14",
|
|
49
49
|
"@storybook/addon-info": "5.3.21",
|
|
50
|
-
"@storybook/addon-links": "6.5.
|
|
51
|
-
"@storybook/addon-viewport": "6.5.
|
|
52
|
-
"@storybook/addons": "6.5.
|
|
53
|
-
"@storybook/react": "6.5.
|
|
54
|
-
"@types/node": "18.
|
|
55
|
-
"@types/react-dom": "18.0.
|
|
56
|
-
"@types/styled-components": "5.1.
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
58
|
-
"@typescript-eslint/parser": "5.
|
|
59
|
-
"babel-loader": "8.
|
|
50
|
+
"@storybook/addon-links": "6.5.14",
|
|
51
|
+
"@storybook/addon-viewport": "6.5.14",
|
|
52
|
+
"@storybook/addons": "6.5.14",
|
|
53
|
+
"@storybook/react": "6.5.14",
|
|
54
|
+
"@types/node": "18.11.11",
|
|
55
|
+
"@types/react-dom": "18.0.9",
|
|
56
|
+
"@types/styled-components": "5.1.26",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "5.45.1",
|
|
58
|
+
"@typescript-eslint/parser": "5.45.1",
|
|
59
|
+
"babel-loader": "8.3.0",
|
|
60
60
|
"cz-conventional-changelog": "3.3.0",
|
|
61
|
-
"eslint": "8.
|
|
62
|
-
"eslint-plugin-react": "7.
|
|
61
|
+
"eslint": "8.29.0",
|
|
62
|
+
"eslint-plugin-react": "7.31.11",
|
|
63
63
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
64
|
-
"prettier": "2.
|
|
64
|
+
"prettier": "2.8.0",
|
|
65
65
|
"react": "18.2.0",
|
|
66
66
|
"react-dom": "18.2.0",
|
|
67
|
-
"semantic-release": "
|
|
67
|
+
"semantic-release": "19.0.5",
|
|
68
68
|
"storybook-states": "1.2.0",
|
|
69
|
-
"styled-components": "5.3.
|
|
69
|
+
"styled-components": "5.3.6",
|
|
70
70
|
"ts-node": "10.9.1",
|
|
71
|
-
"typescript": "4.
|
|
71
|
+
"typescript": "4.9.3"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public",
|