@codacy/ui-components 0.65.94 → 0.66.1
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/lib/Banner/Banner.js +10 -5
- package/lib/Banner/Banner.styles.d.ts +4 -2
- package/lib/Banner/Banner.styles.js +3 -3
- package/lib/Bannerol/Bannerol.js +4 -3
- package/lib/Bannerol/Bannerol.styles.d.ts +1 -1
- package/lib/Bannerol/Bannerol.styles.js +2 -2
- package/lib/Bannerol/Bannerol.types.d.ts +1 -1
- package/lib/BigTabs/BigTabs.styles.js +10 -10
- package/lib/Button/Button.js +18 -13
- package/lib/Button/styles.d.ts +3 -5
- package/lib/Button/styles.js +56 -68
- package/lib/Button/types.d.ts +5 -8
- package/lib/Checkbox/Checkbox.js +11 -8
- package/lib/Checkbox/styles.d.ts +4 -0
- package/lib/Checkbox/styles.js +73 -62
- package/lib/Checkbox/types.d.ts +1 -1
- package/lib/CloseButton/index.d.ts +3 -1
- package/lib/CloseButton/index.js +13 -6
- package/lib/Divider/Divider.styles.js +5 -5
- package/lib/Dropdown/Dropdown.styles.js +10 -10
- package/lib/Dropdown/Triggers/FilterTrigger.js +30 -24
- package/lib/Dropdown/Triggers/SelectTrigger.js +1 -1
- package/lib/ExpandableBox/ExpandableBox.styles.d.ts +2 -2
- package/lib/ExpandableBox/ExpandableBox.styles.js +4 -4
- package/lib/ExpandableBox/ExpandableBox.types.d.ts +3 -3
- package/lib/Group/Group.styles.js +1 -1
- package/lib/Icon/Icon.types.d.ts +3 -3
- package/lib/Icons/Messages.d.ts +17 -5
- package/lib/Icons/Messages.js +37 -9
- package/lib/Icons/Symbols.d.ts +5 -2
- package/lib/Icons/Symbols.js +10 -4
- package/lib/InlineMessage/InlineMessage.js +22 -8
- package/lib/InlineMessage/types.d.ts +1 -1
- package/lib/Input/Input.js +6 -18
- package/lib/Input/styles.d.ts +13 -8
- package/lib/Input/styles.js +109 -50
- package/lib/Labeled/styles.js +12 -6
- package/lib/LeftMenu/LeftMenu.styles.js +10 -7
- package/lib/Link/Link.styles.js +2 -2
- package/lib/Message/Message.d.ts +2 -1
- package/lib/Message/Message.js +25 -4
- package/lib/Message/Message.styles.js +5 -5
- package/lib/Message/Message.types.d.ts +1 -1
- package/lib/Modal/ConfirmationModal.js +7 -3
- package/lib/Modal/styles.js +26 -29
- package/lib/MultiSlider/styles.d.ts +2 -2
- package/lib/MultiSlider/styles.js +2 -2
- package/lib/Panel/Panel.styles.js +1 -1
- package/lib/PillLabel/PillLabel.js +3 -5
- package/lib/PillLabel/PillLabel.styles.d.ts +1 -1
- package/lib/PillLabel/PillLabel.styles.js +2 -13
- package/lib/PillLabel/PillLabel.types.d.ts +1 -3
- package/lib/ProgressBar/styles.d.ts +3 -3
- package/lib/ProgressBar/styles.js +6 -6
- package/lib/Radio/Radio.js +1 -1
- package/lib/Radio/styles.js +9 -9
- package/lib/ScrollableContent/ScrollableContent.types.d.ts +2 -2
- package/lib/Skeleton/Skeleton.styles.js +4 -4
- package/lib/Slider/styles.d.ts +2 -2
- package/lib/Slider/styles.js +16 -16
- package/lib/StepNumber/StepNumber.js +3 -6
- package/lib/StepNumber/styles.d.ts +1 -2
- package/lib/StepNumber/styles.js +3 -4
- package/lib/StepNumber/types.d.ts +1 -6
- package/lib/Stepper/Stepper.styles.d.ts +1 -3
- package/lib/Stepper/Stepper.styles.js +11 -9
- package/lib/Switcher/Switcher.styles.js +4 -4
- package/lib/Tab/Tab.js +1 -3
- package/lib/Tab/Tab.styles.d.ts +1 -3
- package/lib/Tab/Tab.styles.js +32 -32
- package/lib/Tab/Tab.types.d.ts +0 -2
- package/lib/Table/Table.js +1 -1
- package/lib/Table/Table.styles.js +17 -17
- package/lib/Table/Table.types.d.ts +3 -3
- package/lib/TagsInput/style.js +10 -10
- package/lib/Textarea/Textarea.js +0 -7
- package/lib/Textarea/Textarea.styles.d.ts +7 -7
- package/lib/Textarea/Textarea.styles.js +85 -45
- package/lib/Toast/Toast.js +18 -7
- package/lib/Toast/styles.js +26 -14
- package/lib/Toggle/Toggle.js +1 -1
- package/lib/Toggle/styles.d.ts +1 -1
- package/lib/Toggle/styles.js +50 -55
- package/lib/Tooltip/types.d.ts +2 -2
- package/lib/Typography/Typography.styles.d.ts +2 -2
- package/lib/Typography/Typography.styles.js +11 -11
- package/lib/Typography/Typography.types.d.ts +5 -5
- package/lib/theme/ColorSchemes/components/alerts.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/alerts.js +37 -0
- package/lib/theme/ColorSchemes/components/button.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/button.js +96 -0
- package/lib/theme/ColorSchemes/components/cards.d.ts +7 -0
- package/lib/theme/ColorSchemes/components/cards.js +23 -0
- package/lib/theme/ColorSchemes/components/charts.d.ts +7 -0
- package/lib/theme/ColorSchemes/components/charts.js +96 -0
- package/lib/theme/ColorSchemes/components/checkbox-input.d.ts +7 -0
- package/lib/theme/ColorSchemes/components/checkbox-input.js +22 -0
- package/lib/theme/ColorSchemes/components/divider.d.ts +4 -0
- package/lib/theme/ColorSchemes/components/divider.js +11 -0
- package/lib/theme/ColorSchemes/components/drawer.d.ts +7 -0
- package/lib/theme/ColorSchemes/components/drawer.js +28 -0
- package/lib/theme/ColorSchemes/components/effects.d.ts +4 -0
- package/lib/theme/ColorSchemes/components/effects.js +12 -0
- package/lib/theme/ColorSchemes/components/filters.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/filters.js +19 -0
- package/lib/theme/ColorSchemes/components/index.d.ts +21 -0
- package/lib/theme/ColorSchemes/components/index.js +236 -0
- package/lib/theme/ColorSchemes/components/input.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/input.js +45 -0
- package/lib/theme/ColorSchemes/components/issues.d.ts +7 -0
- package/lib/theme/ColorSchemes/components/issues.js +34 -0
- package/lib/theme/ColorSchemes/components/label.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/label.js +40 -0
- package/lib/theme/ColorSchemes/components/list-orb.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/list-orb.js +15 -0
- package/lib/theme/ColorSchemes/components/loading.d.ts +4 -0
- package/lib/theme/ColorSchemes/components/loading.js +11 -0
- package/lib/theme/ColorSchemes/components/logo.d.ts +4 -0
- package/lib/theme/ColorSchemes/components/logo.js +13 -0
- package/lib/theme/ColorSchemes/components/modals.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/modals.js +13 -0
- package/lib/theme/ColorSchemes/components/navigation.d.ts +8 -0
- package/lib/theme/ColorSchemes/components/navigation.js +21 -0
- package/lib/theme/ColorSchemes/components/selector.d.ts +7 -0
- package/lib/theme/ColorSchemes/components/selector.js +29 -0
- package/lib/theme/ColorSchemes/components/stepper.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/stepper.js +16 -0
- package/lib/theme/ColorSchemes/components/tables.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/tables.js +19 -0
- package/lib/theme/ColorSchemes/components/tabs.d.ts +6 -0
- package/lib/theme/ColorSchemes/components/tabs.js +19 -0
- package/lib/theme/ColorSchemes/dark/background.d.ts +9 -0
- package/lib/theme/ColorSchemes/dark/border.d.ts +9 -0
- package/lib/theme/ColorSchemes/dark/icon.d.ts +9 -0
- package/lib/theme/ColorSchemes/dark/icon.js +1 -1
- package/lib/theme/ColorSchemes/dark/index.js +11 -58
- package/lib/theme/ColorSchemes/dark/text.d.ts +9 -0
- package/lib/theme/ColorSchemes/index.d.ts +0 -1
- package/lib/theme/ColorSchemes/index.js +0 -11
- package/lib/theme/ColorSchemes/light/background.d.ts +9 -0
- package/lib/theme/ColorSchemes/light/background.js +3 -3
- package/lib/theme/ColorSchemes/light/border.d.ts +9 -0
- package/lib/theme/ColorSchemes/light/border.js +1 -1
- package/lib/theme/ColorSchemes/light/icon.d.ts +9 -0
- package/lib/theme/ColorSchemes/light/icon.js +2 -2
- package/lib/theme/ColorSchemes/light/illustration.js +2 -2
- package/lib/theme/ColorSchemes/light/index.d.ts +1130 -47
- package/lib/theme/ColorSchemes/light/index.js +4 -67
- package/lib/theme/ColorSchemes/light/text.d.ts +9 -0
- package/lib/theme/ColorSchemes/light/text.js +2 -2
- package/lib/theme/ColorSchemes/primitives/blue.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/blue.js +20 -0
- package/lib/theme/ColorSchemes/primitives/green.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/green.js +20 -0
- package/lib/theme/ColorSchemes/primitives/grey.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/grey.js +23 -0
- package/lib/theme/ColorSchemes/primitives/index.d.ts +117 -0
- package/lib/theme/ColorSchemes/primitives/index.js +18 -0
- package/lib/theme/ColorSchemes/primitives/magenta.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/magenta.js +20 -0
- package/lib/theme/ColorSchemes/primitives/orange.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/orange.js +20 -0
- package/lib/theme/ColorSchemes/primitives/purple.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/purple.js +20 -0
- package/lib/theme/ColorSchemes/primitives/red.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/red.js +20 -0
- package/lib/theme/ColorSchemes/primitives/teal.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/teal.js +20 -0
- package/lib/theme/ColorSchemes/primitives/yellow.d.ts +5 -0
- package/lib/theme/ColorSchemes/primitives/yellow.js +20 -0
- package/lib/theme/ColorSchemes/semantics.d.ts +3 -4
- package/lib/theme/theme.d.ts +8 -2
- package/lib/theme/theme.js +6 -1
- package/package.json +1 -1
- package/lib/theme/ColorSchemes/primitives.d.ts +0 -6
- package/lib/theme/ColorSchemes/primitives.js +0 -95
- package/lib/theme/ColorSchemes/types.d.ts +0 -3
- package/lib/theme/ColorSchemes/types.js +0 -7
|
@@ -3,7 +3,7 @@ import { ParagraphProps } from '../Typography/Typography.types';
|
|
|
3
3
|
import { SpaceProps } from '../system-props/types';
|
|
4
4
|
import { ContainerComponentProps } from '../types';
|
|
5
5
|
export declare type InlineMessageStatus = 'success' | 'info' | 'warning' | 'error';
|
|
6
|
-
export interface InlineMessageProps extends ContainerComponentProps, SpaceProps, ParagraphProps {
|
|
6
|
+
export interface InlineMessageProps extends ContainerComponentProps, SpaceProps, Pick<ParagraphProps, 'size'> {
|
|
7
7
|
/** Status of message */
|
|
8
8
|
status: InlineMessageStatus;
|
|
9
9
|
toRight?: boolean;
|
package/lib/Input/Input.js
CHANGED
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.Input = void 0;
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
|
10
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
|
|
11
10
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
12
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -31,7 +30,7 @@ var InputIcon = function InputIcon(_ref) {
|
|
|
31
30
|
onClick: onClick,
|
|
32
31
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
33
32
|
icon: icon,
|
|
34
|
-
color: "icon-enabled"
|
|
33
|
+
color: "input-icon-enabled"
|
|
35
34
|
})
|
|
36
35
|
});
|
|
37
36
|
};
|
|
@@ -72,17 +71,11 @@ var Input = exports.Input = /*#__PURE__*/_react["default"].forwardRef(function (
|
|
|
72
71
|
max = _ref2.max,
|
|
73
72
|
step = _ref2.step,
|
|
74
73
|
props = (0, _objectWithoutProperties2["default"])(_ref2, _excluded);
|
|
75
|
-
var _useState = (0, _react.useState)(false),
|
|
76
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
|
77
|
-
isFocused = _useState2[0],
|
|
78
|
-
setIsFocused = _useState2[1];
|
|
79
74
|
var handleFocus = (0, _react.useCallback)(function (event) {
|
|
80
|
-
|
|
81
|
-
if (onFocus) onFocus(event);
|
|
75
|
+
onFocus === null || onFocus === void 0 ? void 0 : onFocus(event);
|
|
82
76
|
}, [onFocus]);
|
|
83
77
|
var handleBlur = (0, _react.useCallback)(function (event) {
|
|
84
|
-
|
|
85
|
-
if (onBlur) onBlur(event);
|
|
78
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(event);
|
|
86
79
|
}, [onBlur]);
|
|
87
80
|
var content = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
88
81
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.InputContainer, {
|
|
@@ -101,7 +94,6 @@ var Input = exports.Input = /*#__PURE__*/_react["default"].forwardRef(function (
|
|
|
101
94
|
"aria-describedby": id && "help-".concat(id),
|
|
102
95
|
"aria-errormessage": id && "error-".concat(id),
|
|
103
96
|
hasError: hasError,
|
|
104
|
-
hasSuccess: isFocused && hasSuccess,
|
|
105
97
|
hasLeftIcon: !!leftIcon,
|
|
106
98
|
hasRightIcon: !!rightIcon,
|
|
107
99
|
hasClearButton: showClearButton,
|
|
@@ -119,20 +111,15 @@ var Input = exports.Input = /*#__PURE__*/_react["default"].forwardRef(function (
|
|
|
119
111
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
120
112
|
icon: _Icons.SpinnerIcon,
|
|
121
113
|
spin: true,
|
|
122
|
-
color: "icon-enabled",
|
|
114
|
+
color: "input-icon-enabled",
|
|
123
115
|
title: "spinner-icon"
|
|
124
116
|
})
|
|
125
|
-
}), !isLoading && (hasError || hasSuccess && isFocused) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.RightIcon, {
|
|
126
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
127
|
-
icon: hasSuccess ? _Icons.SuccessIcon : _Icons.ErrorIcon,
|
|
128
|
-
title: hasSuccess ? 'check-icon' : 'error-icon'
|
|
129
|
-
})
|
|
130
117
|
}), showClearButton && !!value && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.RightIcon, {
|
|
131
118
|
isClickable: true,
|
|
132
119
|
onClick: onClear,
|
|
133
120
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
|
|
134
121
|
icon: _Icons.CloseIcon,
|
|
135
|
-
color: "icon-enabled",
|
|
122
|
+
color: "input-icon-enabled",
|
|
136
123
|
title: "close-icon"
|
|
137
124
|
})
|
|
138
125
|
}), !!rightIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(InputIcon, {
|
|
@@ -147,6 +134,7 @@ var Input = exports.Input = /*#__PURE__*/_react["default"].forwardRef(function (
|
|
|
147
134
|
})]
|
|
148
135
|
}), help && !hasError && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.InputHelp, {
|
|
149
136
|
id: "help-".concat(id),
|
|
137
|
+
disabled: disabled,
|
|
150
138
|
children: help
|
|
151
139
|
}), hasError && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.InputErrorMessage, {
|
|
152
140
|
id: "error-".concat(id),
|
package/lib/Input/styles.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { InputProps } from './types';
|
|
3
|
+
export declare const getState: (hasError?: boolean, disabled?: boolean, state?: 'focus' | 'hover' | 'enabled') => "error" | "focus" | "disabled" | "enabled" | "hover";
|
|
3
4
|
export declare const InputElement: import("@emotion/styled").StyledComponent<{
|
|
4
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
6
|
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} & Pick<InputProps, "disabled" | "readOnly" | "isLoading" | "hasError"
|
|
7
|
+
} & Pick<InputProps, "disabled" | "readOnly" | "isLoading" | "hasError"> & {
|
|
7
8
|
hasLeftIcon: boolean;
|
|
8
9
|
hasRightIcon: boolean;
|
|
9
10
|
hasClearButton: boolean;
|
|
@@ -11,20 +12,24 @@ export declare const InputElement: import("@emotion/styled").StyledComponent<{
|
|
|
11
12
|
export declare const InputHelp: import("@emotion/styled").StyledComponent<{
|
|
12
13
|
theme?: import("@emotion/react").Theme | undefined;
|
|
13
14
|
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
} &
|
|
15
|
+
} & {
|
|
16
|
+
disabled?: boolean | undefined;
|
|
17
|
+
} & import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
15
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
19
|
}, {}, {}>;
|
|
17
20
|
export declare const InputErrorMessage: import("@emotion/styled").StyledComponent<{
|
|
18
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
22
|
as?: import("react").ElementType<any> | undefined;
|
|
20
|
-
} &
|
|
23
|
+
} & {
|
|
24
|
+
disabled?: boolean | undefined;
|
|
25
|
+
} & import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & {
|
|
21
26
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
}, {}, {}>;
|
|
27
|
+
} & Record<string, unknown>, {}, {}>;
|
|
23
28
|
export declare const InputWrapper: import("@emotion/styled").StyledComponent<{
|
|
24
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
25
30
|
as?: import("react").ElementType<any> | undefined;
|
|
26
31
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
27
|
-
fontWeight?: import("styled-system").ResponsiveValue<number | import("
|
|
32
|
+
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
28
33
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
29
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
35
|
} & import("..").FlexboxProps & import("..").GridboxProps & Pick<InputProps, "size">, {}, {}>;
|
|
@@ -36,7 +41,7 @@ export declare const LeftIcon: import("@emotion/styled").StyledComponent<{
|
|
|
36
41
|
theme?: import("@emotion/react").Theme | undefined;
|
|
37
42
|
as?: import("react").ElementType<any> | undefined;
|
|
38
43
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
39
|
-
fontWeight?: import("styled-system").ResponsiveValue<number | import("
|
|
44
|
+
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
40
45
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
41
46
|
theme?: import("@emotion/react").Theme | undefined;
|
|
42
47
|
} & import("..").FlexboxProps & {
|
|
@@ -46,7 +51,7 @@ export declare const RightIcon: import("@emotion/styled").StyledComponent<{
|
|
|
46
51
|
theme?: import("@emotion/react").Theme | undefined;
|
|
47
52
|
as?: import("react").ElementType<any> | undefined;
|
|
48
53
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
49
|
-
fontWeight?: import("styled-system").ResponsiveValue<number | import("
|
|
54
|
+
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
50
55
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
51
56
|
theme?: import("@emotion/react").Theme | undefined;
|
|
52
57
|
} & import("..").FlexboxProps & {
|
|
@@ -56,7 +61,7 @@ export declare const RightIcons: import("@emotion/styled").StyledComponent<{
|
|
|
56
61
|
theme?: import("@emotion/react").Theme | undefined;
|
|
57
62
|
as?: import("react").ElementType<any> | undefined;
|
|
58
63
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
59
|
-
fontWeight?: import("styled-system").ResponsiveValue<number | import("
|
|
64
|
+
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
60
65
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
61
66
|
theme?: import("@emotion/react").Theme | undefined;
|
|
62
67
|
} & import("..").FlexboxProps, {}, {}>;
|