@codacy/ui-components 0.66.62 → 0.66.63
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/Avatar/Avatar.js +1 -1
- package/lib/Banner/Banner.js +1 -1
- package/lib/Banner/Banner.styles.d.ts +1 -1
- package/lib/Banner/Banner.styles.js +1 -2
- package/lib/Banner/Banner.types.d.ts +1 -1
- package/lib/Bannerol/Bannerol.js +1 -1
- package/lib/Bannerol/Bannerol.styles.d.ts +1 -1
- package/lib/Bannerol/Bannerol.types.d.ts +2 -2
- package/lib/BigTabs/BigTabs.d.ts +1 -1
- package/lib/BigTabs/BigTabs.js +1 -1
- package/lib/BigTabs/BigTabs.styles.d.ts +3 -3
- package/lib/Button/Button.js +1 -1
- package/lib/Button/styles.d.ts +3 -3
- package/lib/Button/types.d.ts +4 -4
- package/lib/Checkbox/Checkbox.js +1 -1
- package/lib/Checkbox/CheckboxFilterList.js +2 -2
- package/lib/Checkbox/styles.d.ts +5 -5
- package/lib/Checkbox/styles.js +1 -2
- package/lib/CloseButton/index.js +1 -1
- package/lib/Divider/Divider.js +1 -1
- package/lib/Divider/Divider.styles.d.ts +2 -2
- package/lib/Dropdown/Content/DropdownInput.js +1 -1
- package/lib/Dropdown/Content/DropdownItem.js +1 -1
- package/lib/Dropdown/Dropdown.js +1 -1
- package/lib/Dropdown/Dropdown.styles.d.ts +7 -7
- package/lib/Dropdown/Dropdown.types.d.ts +2 -2
- package/lib/Dropdown/Triggers/DropdownButtonTrigger.js +1 -1
- package/lib/Dropdown/Triggers/DropdownItemTrigger.js +1 -1
- package/lib/Dropdown/Triggers/FilterTrigger.js +1 -1
- package/lib/Dropdown/Triggers/InputTrigger.js +1 -1
- package/lib/Dropdown/Triggers/SelectTrigger.js +1 -1
- package/lib/ExpandableBox/ExpandableBox.styles.d.ts +2 -2
- package/lib/Flexbox/Flexbox.d.ts +8 -8
- package/lib/Group/Group.styles.d.ts +1 -1
- package/lib/Icon/Icon.js +1 -1
- package/lib/Icon/Icon.styles.d.ts +1 -1
- package/lib/Icon/Icon.styles.js +1 -2
- package/lib/Icon/Icon.types.d.ts +2 -2
- package/lib/IconAndText/IconAndText.js +1 -1
- package/lib/IconAndText/IconAndText.styles.d.ts +1 -1
- package/lib/Icons/Chevrons.d.ts +5 -5
- package/lib/Icons/CodacyIcon.d.ts +2 -2
- package/lib/Icons/Ellipsis.d.ts +2 -2
- package/lib/Icons/Search.d.ts +2 -2
- package/lib/Icons/Severities.d.ts +5 -5
- package/lib/Icons/Sorting.d.ts +3 -3
- package/lib/Icons/Spinner.d.ts +2 -2
- package/lib/Icons/Symbols.d.ts +4 -4
- package/lib/Img/Img.js +1 -1
- package/lib/Img/Img.styles.d.ts +2 -2
- package/lib/Img/Img.styles.js +2 -4
- package/lib/Img/Img.types.d.ts +1 -1
- package/lib/InlineMessage/InlineMessage.js +1 -1
- package/lib/InlineMessage/types.d.ts +1 -1
- package/lib/Input/Input.js +1 -1
- package/lib/Input/styles.d.ts +8 -8
- package/lib/Input/styles.js +1 -2
- package/lib/Input/types.d.ts +1 -1
- package/lib/Labeled/Labeled.js +1 -1
- package/lib/Labeled/styles.d.ts +3 -3
- package/lib/LeftMenu/LeftMenu.js +1 -1
- package/lib/LeftMenu/LeftMenu.styles.d.ts +1 -1
- package/lib/Link/Link.js +1 -1
- package/lib/Link/Link.styles.d.ts +2 -2
- package/lib/Link/Link.types.d.ts +1 -1
- package/lib/Message/Message.js +1 -1
- package/lib/Message/Message.styles.d.ts +1 -1
- package/lib/Message/Message.types.d.ts +1 -1
- package/lib/Modal/ConfirmationModal.js +1 -1
- package/lib/Modal/Modal.js +1 -1
- package/lib/Modal/styles.d.ts +6 -6
- package/lib/Modal/styles.js +7 -14
- package/lib/Modal/types.d.ts +1 -1
- package/lib/MoreInfo/MoreInfo.js +1 -1
- package/lib/MultiSlider/MultiSlider.js +1 -1
- package/lib/MultiSlider/styles.d.ts +2 -2
- package/lib/Orb/Orb.js +1 -1
- package/lib/Orb/styles.d.ts +1 -1
- package/lib/Orb/types.d.ts +1 -1
- package/lib/Panel/Panel.js +1 -1
- package/lib/Panel/Panel.styles.d.ts +1 -1
- package/lib/PillLabel/PillLabel.js +1 -1
- package/lib/PillLabel/PillLabel.styles.d.ts +1 -1
- package/lib/PillLabel/PillLabel.types.d.ts +1 -1
- package/lib/Popup/Popup.js +1 -1
- package/lib/Popup/styles.d.ts +2 -2
- package/lib/ProgressBar/ProgressBar.js +1 -1
- package/lib/ProgressBar/styles.d.ts +3 -3
- package/lib/ProgressBar/types.d.ts +1 -1
- package/lib/Radio/Radio.js +1 -1
- package/lib/Radio/styles.d.ts +4 -4
- package/lib/ScrollableContent/ScrollableContent.js +1 -1
- package/lib/ScrollableContent/ScrollableContent.styles.d.ts +1 -1
- package/lib/Skeleton/Skeleton.js +1 -1
- package/lib/Skeleton/Skeleton.styles.d.ts +1 -1
- package/lib/Skeleton/Skeleton.types.d.ts +1 -1
- package/lib/Slider/styles.d.ts +5 -5
- package/lib/Slider/styles.js +2 -4
- package/lib/StepNumber/StepNumber.js +1 -1
- package/lib/StepNumber/styles.d.ts +1 -1
- package/lib/Stepper/Stepper.js +2 -2
- package/lib/Stepper/Stepper.styles.d.ts +4 -4
- package/lib/Stepper/Stepper.types.d.ts +1 -1
- package/lib/Switcher/Switcher.js +1 -1
- package/lib/Switcher/Switcher.styles.d.ts +2 -2
- package/lib/Tab/Tab.d.ts +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/Tab.styles.d.ts +2 -2
- package/lib/Table/NewSelectableTable.js +1 -1
- package/lib/Table/SelectableTable.d.ts +2 -2
- package/lib/Table/SelectableTable.js +1 -1
- package/lib/Table/Table.js +2 -2
- package/lib/Table/Table.styles.d.ts +7 -7
- package/lib/Table/Table.styles.js +1 -2
- package/lib/Table/Table.types.d.ts +3 -3
- package/lib/TagsInput/TagsInput.js +1 -1
- package/lib/TagsInput/style.d.ts +2 -2
- package/lib/TagsInput/types.d.ts +1 -1
- package/lib/Textarea/Textarea.js +1 -1
- package/lib/Textarea/Textarea.styles.d.ts +4 -4
- package/lib/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/lib/Toast/Toast.d.ts +2 -2
- package/lib/Toast/Toast.js +1 -1
- package/lib/Toast/styles.d.ts +1 -1
- package/lib/Toast/types.d.ts +2 -2
- package/lib/Toggle/Toggle.js +1 -1
- package/lib/Toggle/styles.d.ts +4 -4
- package/lib/Toggle/styles.js +1 -2
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/Tooltip/styles.d.ts +3 -3
- package/lib/Tooltip/styles.js +1 -2
- package/lib/Tooltip/types.d.ts +2 -2
- package/lib/Typography/Typography.js +1 -1
- package/lib/Typography/Typography.styles.d.ts +7 -7
- package/lib/Typography/Typography.types.d.ts +5 -5
- package/lib/theme/ColorSchemes/components/issues.d.ts +4 -4
- package/lib/theme/ColorSchemes/components/utils.d.ts +1 -1
- package/lib/theme/ColorSchemes/light/index.d.ts +4 -4
- package/lib/theme/ColorSchemes/primitives/blue.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/green.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/grey.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/index.d.ts +2 -2
- package/lib/theme/ColorSchemes/primitives/magenta.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/orange.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/purple.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/red.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/teal.d.ts +3 -3
- package/lib/theme/ColorSchemes/primitives/yellow.d.ts +3 -3
- package/lib/theme/ColorSchemes/semantics.d.ts +3 -3
- package/lib/theme/theme.d.ts +7 -7
- package/lib/types.d.ts +1 -1
- package/lib/utils/reactNodeToText.js +2 -2
- package/package.json +3 -2
package/lib/Avatar/Avatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Img } from '../';
|
|
4
4
|
import { getGravatarUrl } from './gravatar';
|
package/lib/Banner/Banner.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StyledBanner, StyledCloseButton } from './Banner.styles';
|
|
4
4
|
import { Box } from '../Flexbox';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { BannerProps } from './Banner.types';
|
|
3
3
|
export declare const StyledBanner: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
7
7
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("..").FontWeights, import("..").CodacyTheme> | undefined;
|
|
8
8
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -23,7 +23,6 @@ export const StyledCloseButton = /*#__PURE__*/_styled(CloseButton, process.env.N
|
|
|
23
23
|
styles: "position:absolute;top:1rem;right:1rem"
|
|
24
24
|
} : {
|
|
25
25
|
name: "nd2ame",
|
|
26
|
-
styles: "position:absolute;top:1rem;right:1rem",
|
|
27
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9CYW5uZXIvQmFubmVyLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQm9EIiwiZmlsZSI6Ii4uLy4uL3NyYy9CYW5uZXIvQmFubmVyLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgRmxleCB9IGZyb20gJy4uL0ZsZXhib3gnXG5pbXBvcnQgeyBDbG9zZUJ1dHRvbiB9IGZyb20gJy4uL0Nsb3NlQnV0dG9uJ1xuaW1wb3J0IHsgQmFubmVyUHJvcHMgfSBmcm9tICcuL0Jhbm5lci50eXBlcydcbmltcG9ydCB7IFN0eWxlZExpbmsgfSBmcm9tICcuLi9MaW5rJ1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5cbmV4cG9ydCBjb25zdCBTdHlsZWRCYW5uZXIgPSBzdHlsZWQoRmxleCk8UGljazxCYW5uZXJQcm9wcywgJ3ZhcmlhbnQnPj5gXG4gICR7KHsgdGhlbWUsIHZhcmlhbnQgPSAnaW5mbycgfSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQ6ICR7dGhlbWUuY29sb3JzW2BhbGVydHMtJHt2YXJpYW50fS1iYWNrZ3JvdW5kYF19O1xuICAgIGJvcmRlcjogMXB4IHNvbGlkICR7dGhlbWUuY29sb3JzW2BhbGVydHMtJHt2YXJpYW50fS1ib3JkZXJgXX07XG4gICAgYm9yZGVyLXJhZGl1czogJHt0aGVtZS5yYWRpaVsxXX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W5uZXIgPSBzdHlsZWQoRmxleCk8UGljazxCYW5uZXJQcm9wcywgJ3ZhcmlhbnQnPj5gXG4gICR7KHsgdGhlbWUsIHZhcmlhbnQgPSAnaW5mbycgfSkgPT4gY3NzYFxuICAgIGJhY2tncm91bmQ6ICR7dGhlbWUuY29sb3JzW2BhbGVydHMtJHt2YXJpYW50fS1iYWNrZ3JvdW5kYF19O1xuICAgIGJvcmRlcjogMXB4IHNvbGlkICR7dGhlbWUuY29sb3JzW2BhbGVydHMtJHt2YXJpYW50fS1ib3JkZXJgXX07XG4gICAgYm9yZGVyLXJhZGl1czogJHt0aGVtZS5yYWRpaVsxXX07XG4gICAgYm94LXNoYWRvdzogJHt0aGVtZS5zaGFkb3dzWzBdfTtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgICAke1N0eWxlZExpbmt9IHtcbiAgICAgIGNvbG9yOiAke3RoZW1lLmNvbG9yc1tgYWxlcnRzLXByaW1hcnktbGlua2BdfTtcbiAgICAgIGZvbnQtd2VpZ2h0OiAke3RoZW1lLmZvbnRXZWlnaHRzWydzZW1pLWJvbGQnXX07XG4gICAgfVxuICBgfVxuYFxuXG5leHBvcnQgY29uc3QgU3R5bGVkQ2xvc2VCdXR0b24gPSBzdHlsZWQoQ2xvc2VCdXR0b24pYFxuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMXJlbTtcbiAgcmlnaHQ6IDFyZW07XG5gXG4iXX0= */",
|
|
28
27
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
29
28
|
});
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ContainerComponentProps } from '../types';
|
|
3
3
|
import { IconFile } from '../Icon/Icon.types';
|
|
4
4
|
import { FlexProps } from '../Flexbox';
|
|
5
|
-
export
|
|
5
|
+
export type BannerVariant = 'info' | 'warning' | 'success' | 'danger' | 'attention';
|
|
6
6
|
export interface BannerProps extends FlexProps, ContainerComponentProps {
|
|
7
7
|
title: string;
|
|
8
8
|
description?: React.ReactNode;
|
package/lib/Bannerol/Bannerol.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StyledBannerol } from './Bannerol.styles';
|
|
4
4
|
import { Box, Flex } from '../Flexbox';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { BannerolProps } from './Bannerol.types';
|
|
3
3
|
export declare const StyledBannerol: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
7
7
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("..").FontWeights, import("..").CodacyTheme> | undefined;
|
|
8
8
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { ContainerComponentProps } from '../types';
|
|
3
3
|
import { IconFile } from '../Icon/Icon.types';
|
|
4
4
|
import { FlexProps } from '../Flexbox';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type BannerolVariant = 'info' | 'warning' | 'success' | 'danger' | 'attention';
|
|
6
|
+
export type BannerolAction = {
|
|
7
7
|
label: string;
|
|
8
8
|
onClick: () => void;
|
|
9
9
|
leftIcon?: IconFile;
|
package/lib/BigTabs/BigTabs.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { BigTabsWrapperProps, BigTabButtonProps, BigTabsPanelProps } from './BigTabs.types';
|
|
3
3
|
export declare const BigTabsWithPanel: React.FC<BigTabsPanelProps>;
|
|
4
4
|
export declare const BigTabs: React.FC<BigTabsWrapperProps> & {
|
|
5
|
-
Button: React.ForwardRefExoticComponent<
|
|
5
|
+
Button: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & BigTabButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
6
|
Panel: React.FC<BigTabsPanelProps>;
|
|
7
7
|
};
|
package/lib/BigTabs/BigTabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { BigTabButton, BigTabsPanel, BigTabsListWrapper } from './BigTabs.styles';
|
|
4
4
|
import { isObject } from 'lodash';
|
|
@@ -5,7 +5,7 @@ import { BigTabButtonProps } from './BigTabs.types';
|
|
|
5
5
|
*/
|
|
6
6
|
declare const BigTabsListWrapper: import("@emotion/styled").StyledComponent<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
10
10
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
11
11
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -15,7 +15,7 @@ declare const BigTabsListWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
declare const BigTabsPanel: import("@emotion/styled").StyledComponent<{
|
|
17
17
|
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
20
20
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
21
21
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -23,6 +23,6 @@ declare const BigTabsPanel: import("@emotion/styled").StyledComponent<{
|
|
|
23
23
|
} & import("..").FlexboxProps, {}, {}>;
|
|
24
24
|
declare const BigTabButton: import("@emotion/styled").StyledComponent<{
|
|
25
25
|
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
-
as?: import("react").ElementType<any> | undefined;
|
|
26
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & BigTabButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
28
28
|
export { BigTabsListWrapper, BigTabButton, BigTabsPanel };
|
package/lib/Button/Button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
3
|
import { StyledButton, StyledButtonContents } from './styles';
|
|
4
4
|
import { Icon } from '../Icon';
|
package/lib/Button/styles.d.ts
CHANGED
|
@@ -9,17 +9,17 @@ export interface StyledButtonProps {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<{
|
|
11
11
|
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
} & StyledButtonProps, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
14
14
|
export declare const StyledButtonContents: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & {
|
|
18
18
|
size: ButtonSize;
|
|
19
19
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
20
|
export declare const ButtonGroup: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
23
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
24
24
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, CodacyTheme> | undefined;
|
|
25
25
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
package/lib/Button/types.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { SpaceProps } from 'styled-system';
|
|
3
3
|
import { IconFile, IconProps } from '../Icon/Icon.types';
|
|
4
4
|
import { ContainerComponentProps } from '../types';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
5
|
+
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'text';
|
|
7
|
+
export type ButtonColor = 'brand' | 'secondary' | 'danger';
|
|
8
|
+
export type ButtonState = 'enabled' | 'hover' | 'focus' | 'pressed' | 'disabled';
|
|
9
9
|
export interface ButtonProps extends ContainerComponentProps, SpaceProps {
|
|
10
10
|
/** Disables the button, disallowing interaction */
|
|
11
11
|
disabled?: boolean;
|
package/lib/Checkbox/Checkbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useCallback, useEffect, useRef } from 'react';
|
|
3
3
|
import { Input, StyledCheckbox, CheckboxWrap, HoverEffectWrapper } from './styles';
|
|
4
4
|
import { Caption, Icon, CheckIcon, MinusIcon } from '../';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useCallback, useState } from 'react';
|
|
3
3
|
import { Checkbox } from '..';
|
|
4
4
|
import { CheckboxListWrap } from './styles';
|
|
@@ -12,7 +12,7 @@ export const CheckboxFilterList = ({
|
|
|
12
12
|
...props
|
|
13
13
|
}) => {
|
|
14
14
|
const [prevCheckedBox, setPrevCheckedBox] = useState();
|
|
15
|
-
const handleCheck = useCallback(
|
|
15
|
+
const handleCheck = useCallback(/* istanbul ignore next */
|
|
16
16
|
(key, checked, event) => {
|
|
17
17
|
if (onChange) {
|
|
18
18
|
if (checked) {
|
package/lib/Checkbox/styles.d.ts
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import { CheckboxProps } from './types';
|
|
3
3
|
export declare const Input: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
7
7
|
export declare const StyledCheckbox: import("@emotion/styled").StyledComponent<{
|
|
8
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
10
10
|
} & Pick<CheckboxProps, "disabled" | "size" | "checked">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
11
11
|
export declare const HoverEffectWrapper: import("@emotion/styled").StyledComponent<{
|
|
12
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
} & Pick<CheckboxProps, "size">, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
15
|
export declare const CheckboxWrap: import("@emotion/styled").StyledComponent<{
|
|
16
16
|
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
|
17
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
19
19
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
20
20
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -22,7 +22,7 @@ export declare const CheckboxWrap: import("@emotion/styled").StyledComponent<{
|
|
|
22
22
|
} & import("..").FlexboxProps & import("..").GridboxProps & Pick<CheckboxProps, "disabled" | "size">, {}, {}>;
|
|
23
23
|
export declare const CheckboxListWrap: import("@emotion/styled").StyledComponent<{
|
|
24
24
|
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
-
as?: import("react").ElementType<any> | undefined;
|
|
25
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
26
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
27
27
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
28
28
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
package/lib/Checkbox/styles.js
CHANGED
|
@@ -81,8 +81,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
81
81
|
styles: "justify-content:space-between;display:flex;flex-grow:1"
|
|
82
82
|
} : {
|
|
83
83
|
name: "1bveb3-codacy",
|
|
84
|
-
styles: "justify-content:space-between;display:flex;flex-grow:1;label:codacy;",
|
|
85
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9DaGVja2JveC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0dnQiIsImZpbGUiOiIuLi8uLi9zcmMvQ2hlY2tib3gvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgaGlkZVZpc3VhbGx5IH0gZnJvbSAncG9saXNoZWQnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgdHJhbnNpdGlvbiB9IGZyb20gJy4uL3RoZW1lJ1xuaW1wb3J0IHsgQ2hlY2tib3hQcm9wcyB9IGZyb20gJy4vdHlwZXMnXG5pbXBvcnQgeyBCb3ggfSBmcm9tICcuLi9GbGV4Ym94J1xuaW1wb3J0IHsgSWNvbldyYXBwZXIgfSBmcm9tICcuLi9JY29uL0ljb24uc3R5bGVzJ1xuaW1wb3J0IHsgU3R5bGVkQ2FwdGlvbiB9IGZyb20gJy4uL1R5cG9ncmFwaHknXG5cbmV4cG9ydCBjb25zdCBJbnB1dCA9IHN0eWxlZC5pbn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4gICAgICBmb250LXN0eWxlOiBub3JtYWw7XG4gICAgfVxuICB9XG5gXG4iXX0= */",
|
|
84
|
+
styles: "justify-content:space-between;display:flex;flex-grow:1;label:codacy;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9DaGVja2JveC9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0dnQiIsImZpbGUiOiIuLi8uLi9zcmMvQ2hlY2tib3gvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgaGlkZVZpc3VhbGx5IH0gZnJvbSAncG9saXNoZWQnXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgdHJhbnNpdGlvbiB9IGZyb20gJy4uL3RoZW1lJ1xuaW1wb3J0IHsgQ2hlY2tib3hQcm9wcyB9IGZyb20gJy4vdHlwZXMnXG5pbXBvcnQgeyBCb3ggfSBmcm9tICcuLi9GbGV4Ym94J1xuaW1wb3J0IHsgSWNvbldyYXBwZXIgfSBmcm9tICcuLi9JY29uL0ljb24uc3R5bGVzJ1xuaW1wb3J0IHsgU3R5bGVkQ2FwdGlvbiB9IGZyb20gJy4uL1R5cG9ncmFwaHknXG5cbmV4cG9ydCBjb25zdCBJbnB1dCA9IHN0eWxlZC5pbnB1dGBcbiAgJHtoaWRlVmlzdWFsbHkoKX1cbmBcblxuY29uc3Qgc2l6ZU1hcDogUmVjb3JkPE5vbk51bGxhYmxlPENoZWNrYm94UHJvcHNbJ3NpemUnXT4sIHN0cmluZz4gPSB7XG4gIHNtOiAnMXJlbScsXG4gIG1kOiAnMS41cmVtJyxcbiAgbGc6ICcycmVtJyxcbn1cblxuY29uc3Qgc2hhZG93U2l6ZU1hcDogUmVjb3JkPE5vbk51bG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4cG9ydCBjb25zdCBDaGVja2JveExpc3RXcmFwID0gc3R5bGVkKEJveCk8eyBpbmxpbmU6IGJvb2xlYW4gfT5gXG4gICR7Q2hlY2tib3hXcmFwfSBpbnB1dDpjaGVja2VkIH4gJHtTdHlsZWRDYXB0aW9ufSB7XG4gICAgZm9udC13ZWlnaHQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuZm9udFdlaWdodHNbJ3NlbWktYm9sZCddfTtcblxuICAgIGkge1xuICAgICAgZm9udC13ZWlnaHQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuZm9udFdlaWdodHMucmVndWxhcn07XG4gICAgfVxuICB9XG5cbiAgJHtDaGVja2JveFdyYXB9IGlucHV0IH4gJHtTdHlsZWRDYXB0aW9ufSB7XG4gICAgJHsoeyBpbmxpbmUgfSkgPT4ge1xuICAgICAgaWYgKGlubGluZSkgcmV0dXJuICcnXG4gICAgICByZXR1cm4gY3NzYFxuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIGZsZXgtZ3JvdzogMTtcbiAgICAgIGBcbiAgICB9fVxuXG4gICAgaSB7XG4gICAgICBtYXJnaW4tbGVmdDogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5zcGFjZVsyXX07XG4gICAgICBjb2xvcjogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5jb2xvcnNbJ3RleHQtdGVydGlhcnknXX07XG4gICAgICBmb250LXN0eWxlOiBub3JtYWw7XG4gICAgfVxuICB9XG5gXG4iXX0= */",
|
|
86
85
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
87
86
|
};
|
|
88
87
|
export const CheckboxListWrap = /*#__PURE__*/_styled(Box, process.env.NODE_ENV === "production" ? {
|
package/lib/CloseButton/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { hideVisually } from 'polished';
|
|
5
5
|
import { Icon } from '../Icon';
|
package/lib/Divider/Divider.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { DividerWrapper, StyledHr } from './Divider.styles';
|
|
4
4
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DividerProps } from './Divider.types';
|
|
3
3
|
export declare const DividerWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
7
7
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
8
8
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -10,7 +10,7 @@ export declare const DividerWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
10
10
|
} & import("..").FlexboxProps & import("..").GridboxProps & DividerProps, {}, {}>;
|
|
11
11
|
export declare const StyledHr: import("@emotion/styled").StyledComponent<{
|
|
12
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
15
15
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
16
16
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { DropdownInputWrapper } from '../Dropdown.styles';
|
|
4
4
|
import { Input } from '../../Input';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useCallback } from 'react';
|
|
3
3
|
import { DropdownItemWrapper } from '../Dropdown.styles';
|
|
4
4
|
import { useDropdownContext } from '../Dropdown';
|
package/lib/Dropdown/Dropdown.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { useState, useContext, useEffect } from 'react';
|
|
3
3
|
import { DropdownWrapper, DropdownPanel } from './Dropdown.styles';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
@@ -3,7 +3,7 @@ import { CodacyTheme } from '../theme';
|
|
|
3
3
|
import { DropdownProps, DropdownItemProps } from './Dropdown.types';
|
|
4
4
|
export declare const DropdownWrapper: import("@emotion/styled").StyledComponent<{
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
-
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
7
7
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
8
8
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, CodacyTheme> | undefined;
|
|
9
9
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -13,13 +13,13 @@ export declare const DropdownWrapper: import("@emotion/styled").StyledComponent<
|
|
|
13
13
|
}, {}, {}>;
|
|
14
14
|
export declare const DropdownPanel: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").ClassAttributes<HTMLDivElement> & {
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
19
|
} & Pick<DropdownProps, "size">, {}, {}>;
|
|
20
20
|
export declare const DropdownItemWrapper: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
23
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
24
24
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, CodacyTheme> | undefined;
|
|
25
25
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -27,7 +27,7 @@ export declare const DropdownItemWrapper: import("@emotion/styled").StyledCompon
|
|
|
27
27
|
} & import("..").FlexboxProps & import("..").GridboxProps & Pick<DropdownItemProps, "disabled" | "active">, {}, {}>;
|
|
28
28
|
export declare const DropdownFooter: import("@emotion/styled").StyledComponent<{
|
|
29
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
-
as?: import("react").ElementType<any> | undefined;
|
|
30
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
31
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
32
32
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, CodacyTheme> | undefined;
|
|
33
33
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -35,13 +35,13 @@ export declare const DropdownFooter: import("@emotion/styled").StyledComponent<{
|
|
|
35
35
|
} & import("..").FlexboxProps & import("..").GridboxProps, {}, {}>;
|
|
36
36
|
export declare const DropdownSeparatorWrapper: import("@emotion/styled").StyledComponent<{
|
|
37
37
|
theme?: import("@emotion/react").Theme | undefined;
|
|
38
|
-
as?: import("react").ElementType<any> | undefined;
|
|
38
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
39
39
|
} & Record<string, unknown>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
40
40
|
export declare const DropdownTitleWrapper: import("@emotion/styled").StyledComponent<{
|
|
41
41
|
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
-
as?: import("react").ElementType<any> | undefined;
|
|
42
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
43
43
|
} & Record<string, unknown>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
44
44
|
export declare const DropdownInputWrapper: import("@emotion/styled").StyledComponent<{
|
|
45
45
|
theme?: import("@emotion/react").Theme | undefined;
|
|
46
|
-
as?: import("react").ElementType<any> | undefined;
|
|
46
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
47
47
|
} & Record<string, unknown>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -5,8 +5,8 @@ import { SpaceProps } from '../system-props/types';
|
|
|
5
5
|
import { Size } from '../theme';
|
|
6
6
|
import { InputProps } from '../Input/types';
|
|
7
7
|
import { BoxProps } from '../Flexbox';
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type DropdownPanelAlignment = 'left' | 'right';
|
|
9
|
+
export type DropdownValueType = object | number | string | null;
|
|
10
10
|
export interface DropdownProps extends ContainerComponentProps, SpaceProps {
|
|
11
11
|
/** The content of the dropdown button */
|
|
12
12
|
trigger: React.ReactElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useDropdownTrigger } from './hooks';
|
|
4
4
|
import { ChevronDownIcon } from '../../Icons';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useDropdownTrigger } from './hooks';
|
|
4
4
|
import { ChevronRightIcon } from '../../Icons';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
4
|
import { useDropdownTrigger } from './hooks';
|
|
5
5
|
import { ChevronDownIcon, SpinnerIcon } from '../../Icons';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Input } from '../../Input';
|
|
4
4
|
import { useDropdownTrigger } from './hooks';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Input } from '../../Input';
|
|
4
4
|
import { useDropdownTrigger } from './hooks';
|
|
@@ -6,7 +6,7 @@ export declare const StyledAnimateHeight: import("@emotion/styled").StyledCompon
|
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export declare const StyledExpandableBox: import("@emotion/styled").StyledComponent<{
|
|
8
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
10
10
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
11
11
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
12
12
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -17,7 +17,7 @@ export declare const StyledExpandableBox: import("@emotion/styled").StyledCompon
|
|
|
17
17
|
}, {}, {}>;
|
|
18
18
|
export declare const StyledBox: import("@emotion/styled").StyledComponent<{
|
|
19
19
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
-
as?: import("react").ElementType<any> | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
21
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
22
22
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
23
23
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
package/lib/Flexbox/Flexbox.d.ts
CHANGED
|
@@ -5,21 +5,21 @@ import { CodacyTheme, FontWeights } from '../theme';
|
|
|
5
5
|
export interface As {
|
|
6
6
|
as?: React.ElementType;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type CommonProps = ColorProps & Omit<LayoutProps, 'size'> & SpaceProps & BorderProps & PositionProps & ShadowProps & TextAlignProps & Omit<TypographyProps, 'fontWeight'> & As & {
|
|
9
9
|
fontWeight?: ResponsiveValue<number | FontWeights, CodacyTheme>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type BoxProps = CommonProps & FlexboxProps & GridboxProps;
|
|
12
|
+
export type FlexProps = CommonProps & FlexboxProps;
|
|
13
|
+
export type GridProps = CommonProps & GridboxProps;
|
|
14
14
|
export declare const Common: import("@emotion/styled").StyledComponent<{
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
} & ColorProps & Omit<LayoutProps, "size"> & SpaceProps & BorderProps & PositionProps & ShadowProps & TextAlignProps & Omit<TypographyProps, "fontWeight"> & As & {
|
|
18
18
|
fontWeight?: ResponsiveValue<number | FontWeights, CodacyTheme> | undefined;
|
|
19
19
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
20
|
export declare const Box: import("@emotion/styled").StyledComponent<{
|
|
21
21
|
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
23
|
} & ColorProps & Omit<LayoutProps, "size"> & SpaceProps & BorderProps & PositionProps & ShadowProps & TextAlignProps & Omit<TypographyProps, "fontWeight"> & As & {
|
|
24
24
|
fontWeight?: ResponsiveValue<number | FontWeights, CodacyTheme> | undefined;
|
|
25
25
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -27,7 +27,7 @@ export declare const Box: import("@emotion/styled").StyledComponent<{
|
|
|
27
27
|
} & FlexboxProps & GridboxProps, {}, {}>;
|
|
28
28
|
export declare const Flex: import("@emotion/styled").StyledComponent<{
|
|
29
29
|
theme?: import("@emotion/react").Theme | undefined;
|
|
30
|
-
as?: import("react").ElementType<any> | undefined;
|
|
30
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
31
|
} & ColorProps & Omit<LayoutProps, "size"> & SpaceProps & BorderProps & PositionProps & ShadowProps & TextAlignProps & Omit<TypographyProps, "fontWeight"> & As & {
|
|
32
32
|
fontWeight?: ResponsiveValue<number | FontWeights, CodacyTheme> | undefined;
|
|
33
33
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -35,7 +35,7 @@ export declare const Flex: import("@emotion/styled").StyledComponent<{
|
|
|
35
35
|
} & FlexboxProps, {}, {}>;
|
|
36
36
|
export declare const Grid: import("@emotion/styled").StyledComponent<{
|
|
37
37
|
theme?: import("@emotion/react").Theme | undefined;
|
|
38
|
-
as?: import("react").ElementType<any> | undefined;
|
|
38
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
39
39
|
} & ColorProps & Omit<LayoutProps, "size"> & SpaceProps & BorderProps & PositionProps & ShadowProps & TextAlignProps & Omit<TypographyProps, "fontWeight"> & As & {
|
|
40
40
|
fontWeight?: ResponsiveValue<number | FontWeights, CodacyTheme> | undefined;
|
|
41
41
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { GroupProps } from './Group.types';
|
|
3
3
|
export declare const GroupWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
7
7
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("..").FontWeights, import("..").CodacyTheme> | undefined;
|
|
8
8
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
package/lib/Icon/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React, { forwardRef, useEffect } from 'react';
|
|
3
3
|
import { IconWrapper } from './Icon.styles';
|
|
4
4
|
import { useForwardedRef } from '../hooks';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { IconProps, IconSize } from './Icon.types';
|
|
3
3
|
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & import("..").ColorProps & Omit<import("..").LayoutProps, "size"> & import("..").SpaceProps & import("..").BorderProps & import("..").PositionProps & import("..").ShadowProps & import("..").TextAlignProps & Omit<import("..").TypographyProps, "fontWeight"> & import("../Flexbox").As & {
|
|
7
7
|
fontWeight?: import("styled-system").ResponsiveValue<number | import("../theme").FontWeights, import("../theme").CodacyTheme> | undefined;
|
|
8
8
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
package/lib/Icon/Icon.styles.js
CHANGED
|
@@ -34,8 +34,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
34
34
|
styles: "transform:rotate(180deg)"
|
|
35
35
|
} : {
|
|
36
36
|
name: "uhb031-codacy",
|
|
37
|
-
styles: "transform:rotate(180deg);label:codacy;",
|
|
38
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9JY29uL0ljb24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJHa0IiLCJmaWxlIjoiLi4vLi4vc3JjL0ljb24vSWNvbi5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcbmltcG9ydCB7IFNpemUgfSBmcm9tICcuLi90aGVtZSd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fVxuXG4gICAgJHsoeyBzcGluIH0pID0+IHtcbiAgICAgIGlmIChzcGluKSB7XG4gICAgICAgIHJldHVybiBjc3NgXG4gICAgICAgICAgYW5pbWF0aW9uOiAke3NwaW5BbmltYXRpb259IDJzIGluZmluaXRlIGxpbmVhcjtcbiAgICAgICAgYFxuICAgICAgfVxuXG4gICAgICByZXR1cm4gJydcbiAgICB9fVxuXG4gICAgJHsoeyBlYXNlZFNwaW4gfSkgPT4ge1xuICAgICAgaWYgKGVhc2VkU3Bpbikge1xuICAgICAgICByZXR1cm4gY3NzYFxuICAgICAgICAgIGFuaW1hdGlvbjogJHtzcGluRWFzZUFuaW1hdGlvbn0gMnMgaW5maW5pdGUgZWFzZS1pbi1vdXQ7XG4gICAgICAgIGBcbiAgICAgIH1cblxuICAgICAgcmV0dXJuICcnXG4gICAgfX1cblxuICAgICR7KHsgc2NhbGUgfSkgPT4ge1xuICAgICAgaWYgKHNjYWxlICYmIHNjYWxlICE9PSAxKSB7XG4gICAgICAgIHJldHVybiBjc3NgXG4gICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZSgke3NjYWxlfSk7XG4gICAgICAgIGBcbiAgICAgIH1cblxuICAgICAgcmV0dXJuICcnXG4gICAgfX1cblxuICAgICR7KHsgZmxpcCB9KSA9PiB7XG4gICAgICBpZiAoZmxpcCkge1xuICAgICAgICByZXR1cm4gY3NzYFxuICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDE4MGRlZyk7XG4gICAgICAgIGBcbiAgICAgIH1cblxuICAgICAgcmV0dXJuICcnXG4gICAgfX1cbiAgfVxuYFxuIl19 */",
|
|
37
|
+
styles: "transform:rotate(180deg);label:codacy;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9JY29uL0ljb24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJHa0IiLCJmaWxlIjoiLi4vLi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cblxuICAgIC5pb25pY29uLXN0cm9rZS13aWR0aCxcbiAgICAuc3Ryb2tlLXdpZHRoIHtcbiAgICAgIHN0cm9rZS13aWR0aDogJHsoeyBib2xkIH0pID0+IChib2xkID8gJzY0cHgnIDogJzMycHgnKX07XG4gICAgfVxuXG4gICAgJHsoeyBzcGluIH0pID0+IHtcbiAgICAgIGlmIChzcGluKSB7XG4gICAgICAgIHJldHVybiBjc3NgXG4gICAgICAgICAgYW5pbWF0aW9uOiAke3NwaW5BbmltYXRpb259IDJzIGluZmluaXRlIGxpbmVhcjtcbiAgICAgICAgYFxuICAgICAgfVxuXG4gICAgICByZXR1cm4gJydcbiAgICB9fVxuXG4gICAgJHsoeyBlYXNlZFNwaW4gfSkgPT4ge1xuICAgICAgaWYgKGVhc2VkU3Bpbikge1xuICAgICAgICByZXR1cm4gY3NzYFxuICAgICAgICAgIGFuaW1hdGlvbjogJHtzcGluRWFzZUFuaW1hdGlvbn0gMnMgaW5maW5pdGUgZWFzZS1pbi1vdXQ7XG4gICAgICAgIGBcbiAgICAgIH1cblxuICAgICAgcmV0dXJuICcnXG4gICAgfX1cblxuICAgICR7KHsgc2NhbGUgfSkgPT4ge1xuICAgICAgaWYgKHNjYWxlICYmIHNjYWxlICE9PSAxKSB7XG4gICAgICAgIHJldHVybiBjc3NgXG4gICAgICAgICAgdHJhbnNmb3JtOiBzY2FsZSgke3NjYWxlfSk7XG4gICAgICAgIGBcbiAgICAgIH1cblxuICAgICAgcmV0dXJuICcnXG4gICAgfX1cblxuICAgICR7KHsgZmxpcCB9KSA9PiB7XG4gICAgICBpZiAoZmxpcCkge1xuICAgICAgICByZXR1cm4gY3NzYFxuICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDE4MGRlZyk7XG4gICAgICAgIGBcbiAgICAgIH1cblxuICAgICAgcmV0dXJuICcnXG4gICAgfX1cbiAgfVxuYFxuIl19 */",
|
|
39
38
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
40
39
|
};
|
|
41
40
|
export const IconWrapper = /*#__PURE__*/_styled(Box, process.env.NODE_ENV === "production" ? {
|