@codacy/ui-components 0.58.5 → 0.59.2
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/README.md +7 -7
- package/lib/Avatar/Avatar.js +2 -1
- package/lib/Avatar/Avatar.types.js +1 -0
- package/lib/Avatar/gravatar.js +2 -1
- package/lib/Button/Button.js +2 -1
- package/lib/Button/styles.d.ts +3 -3
- package/lib/Button/types.js +1 -0
- package/lib/Checkbox/Checkbox.js +2 -1
- package/lib/Checkbox/CheckboxFilterList.js +2 -1
- package/lib/Checkbox/styles.d.ts +7 -7
- package/lib/Checkbox/types.js +1 -0
- package/lib/Divider/Divider.js +2 -1
- package/lib/Divider/Divider.styles.d.ts +7 -7
- package/lib/Divider/Divider.types.js +1 -0
- package/lib/Dropdown/Content/DropdownItem.js +2 -1
- package/lib/Dropdown/Dropdown.js +2 -1
- package/lib/Dropdown/Dropdown.styles.d.ts +9 -9
- package/lib/Dropdown/Dropdown.types.js +1 -0
- package/lib/Dropdown/Triggers/DropdownButtonTrigger.js +2 -1
- package/lib/Dropdown/Triggers/DropdownLinkTrigger.js +2 -1
- package/lib/Dropdown/Triggers/SelectTrigger.js +2 -1
- package/lib/Dropdown/Triggers/hooks.d.ts +2 -2
- package/lib/Dropdown/Triggers/types.js +1 -0
- package/lib/Flexbox/Flexbox.d.ts +6 -6
- package/lib/Group/Group.js +2 -1
- package/lib/Group/Group.styles.d.ts +3 -3
- package/lib/Group/Group.types.js +1 -0
- package/lib/Icon/Icon.js +2 -1
- package/lib/Icon/Icon.styles.d.ts +6 -6
- package/lib/Icon/Icon.styles.js +3 -21
- package/lib/Icon/Icon.types.js +1 -0
- package/lib/IconAndText/IconAndText.js +2 -1
- package/lib/IconAndText/IconAndText.styles.d.ts +3 -3
- package/lib/IconAndText/IconAndText.types.js +1 -0
- package/lib/Img/Img.js +2 -1
- package/lib/Img/Img.styles.d.ts +4 -4
- package/lib/Img/Img.types.js +1 -0
- package/lib/InlineMessage/InlineMessage.js +2 -1
- package/lib/InlineMessage/types.js +1 -0
- package/lib/Input/Input.js +5 -2
- package/lib/Input/hooks.d.ts +4 -4
- package/lib/Input/hooks.js +5 -3
- package/lib/Input/styles.d.ts +30 -30
- package/lib/Input/types.d.ts +1 -0
- package/lib/Input/types.js +1 -0
- package/lib/Labeled/Labeled.js +2 -1
- package/lib/Labeled/styles.d.ts +3 -3
- package/lib/Labeled/types.js +1 -0
- package/lib/LeftMenu/LeftMenu.js +2 -1
- package/lib/LeftMenu/LeftMenu.styles.d.ts +3 -3
- package/lib/LeftMenu/LeftMenu.types.js +1 -0
- package/lib/Link/Link.js +2 -1
- package/lib/Link/Link.types.js +1 -0
- package/lib/Message/Message.js +2 -1
- package/lib/Message/Message.styles.d.ts +3 -3
- package/lib/Message/Message.types.js +1 -0
- package/lib/Modal/ConfirmationModal.js +2 -1
- package/lib/Modal/Modal.d.ts +1 -1
- package/lib/Modal/Modal.js +10 -5
- package/lib/Modal/styles.d.ts +20 -20
- package/lib/Modal/types.js +1 -0
- package/lib/MoreInfo/MoreInfo.js +2 -1
- package/lib/MoreInfo/types.js +1 -0
- package/lib/Panel/styles.d.ts +3 -3
- package/lib/PillLabel/PillLabel.js +2 -1
- package/lib/PillLabel/PillLabel.styles.d.ts +3 -3
- package/lib/PillLabel/PillLabel.types.js +1 -0
- package/lib/Popup/Popup.js +2 -1
- package/lib/Popup/styles.d.ts +3 -3
- package/lib/Popup/types.js +1 -0
- package/lib/Radio/Radio.js +2 -1
- package/lib/Radio/styles.d.ts +4 -4
- package/lib/Radio/types.js +1 -0
- package/lib/ScrollableContent/ScrollableContent.js +4 -2
- package/lib/ScrollableContent/ScrollableContent.styles.d.ts +3 -3
- package/lib/ScrollableContent/ScrollableContent.types.js +1 -0
- package/lib/Select/Select.js +2 -1
- package/lib/Select/types.js +1 -0
- package/lib/Skeleton/Skeleton.js +4 -2
- package/lib/Skeleton/Skeleton.styles.d.ts +3 -3
- package/lib/Skeleton/Skeleton.styles.js +2 -10
- package/lib/Skeleton/Skeleton.types.js +1 -0
- package/lib/Stepper/Stepper.js +4 -2
- package/lib/Stepper/Stepper.styles.d.ts +9 -9
- package/lib/Stepper/Stepper.types.js +1 -0
- package/lib/Switcher/Switcher.js +2 -1
- package/lib/Switcher/Switcher.styles.d.ts +3 -3
- package/lib/Switcher/Switcher.types.js +1 -0
- package/lib/Tab/Tab.d.ts +2 -2
- package/lib/Tab/Tab.js +4 -2
- package/lib/Tab/Tab.styles.d.ts +3 -3
- package/lib/Tab/Tab.types.js +1 -0
- package/lib/Table/NewSelectableTable.js +4 -2
- package/lib/Table/SelectableTable.js +6 -3
- package/lib/Table/Table.js +14 -7
- package/lib/Table/Table.styles.d.ts +4 -4
- package/lib/Table/Table.types.js +1 -0
- package/lib/TagsInput/TagsInput.js +2 -1
- package/lib/TagsInput/style.d.ts +6 -6
- package/lib/TagsInput/types.js +1 -0
- package/lib/Textarea/Textarea.js +2 -1
- package/lib/Textarea/Textarea.styles.d.ts +5 -5
- package/lib/Textarea/Textarea.types.js +1 -0
- package/lib/Toast/Toast.d.ts +1 -1
- package/lib/Toast/types.js +1 -0
- package/lib/Toggle/Toggle.js +2 -1
- package/lib/Toggle/styles.d.ts +6 -6
- package/lib/Toggle/types.js +1 -0
- package/lib/Tooltip/types.js +1 -0
- package/lib/Typography/Typography.js +12 -6
- package/lib/Typography/Typography.styles.d.ts +18 -18
- package/lib/Typography/Typography.types.js +1 -0
- package/lib/system-props/types.js +1 -0
- package/lib/theme/theme.d.ts +1 -1
- package/lib/types.js +1 -0
- package/package.json +21 -14
package/lib/Labeled/Labeled.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["id", "children", "required", "label", "size", "moreInfo", "forId"];
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { Label, Optional, LabelWrapper } from './styles';
|
|
4
5
|
import { MoreInfo } from '../MoreInfo';
|
|
@@ -14,7 +15,7 @@ export var Labeled = function Labeled(_ref) {
|
|
|
14
15
|
size = _ref.size,
|
|
15
16
|
moreInfo = _ref.moreInfo,
|
|
16
17
|
forId = _ref.forId,
|
|
17
|
-
props = _objectWithoutProperties(_ref,
|
|
18
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
19
|
|
|
19
20
|
return /*#__PURE__*/React.createElement(LabelWrapper, Object.assign({
|
|
20
21
|
size: size
|
package/lib/Labeled/styles.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CodacyTheme } from '../theme';
|
|
3
3
|
import { LabeledProps } from './types';
|
|
4
|
-
export declare const LabelWrapper: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../system-props/types").ColorProps & import("../system-props/types").LayoutProps & import("../system-props/types").SpaceProps & import("../system-props/types").BorderProps & import("../system-props/types").PositionProps & import("../system-props/types").ShadowProps & import("../system-props/types").TextAlignProps & import("../Flexbox").As, "
|
|
4
|
+
export declare const LabelWrapper: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../system-props/types").ColorProps & import("../system-props/types").LayoutProps & import("../system-props/types").SpaceProps & import("../system-props/types").BorderProps & import("../system-props/types").PositionProps & import("../system-props/types").ShadowProps & import("../system-props/types").TextAlignProps & import("../Flexbox").As, "textAlign" | "as" | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps> & {
|
|
5
5
|
theme?: object | undefined;
|
|
6
|
-
}, "
|
|
6
|
+
}, "key" | "textAlign" | "as" | "theme" | keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps> & {
|
|
7
7
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
-
} & Pick<import("../Flexbox").BoxProps, "
|
|
8
|
+
} & Pick<import("../Flexbox").BoxProps, "textAlign" | "as" | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps | keyof import("../system-props/types").FlexboxProps | keyof import("../system-props/types").GridboxProps> & {
|
|
9
9
|
theme?: object | undefined;
|
|
10
10
|
}, Pick<LabeledProps, "size">, CodacyTheme>;
|
|
11
11
|
export declare const Label: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}, CodacyTheme>;
|
package/lib/Labeled/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/LeftMenu/LeftMenu.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["children", "activeClassName"];
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { LeftMenuWrapper } from './LeftMenu.styles';
|
|
4
5
|
/**
|
|
@@ -9,7 +10,7 @@ export var LeftMenu = function LeftMenu(_ref) {
|
|
|
9
10
|
var children = _ref.children,
|
|
10
11
|
_ref$activeClassName = _ref.activeClassName,
|
|
11
12
|
activeClassName = _ref$activeClassName === void 0 ? 'active' : _ref$activeClassName,
|
|
12
|
-
props = _objectWithoutProperties(_ref,
|
|
13
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
14
|
|
|
14
15
|
return /*#__PURE__*/React.createElement(LeftMenuWrapper, Object.assign({
|
|
15
16
|
as: "nav",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CodacyTheme } from '../theme';
|
|
3
3
|
import { LeftMenuProps } from './LeftMenu.types';
|
|
4
|
-
export declare const LeftMenuWrapper: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../system-props/types").ColorProps & import("../system-props/types").LayoutProps & import("../system-props/types").SpaceProps & import("../system-props/types").BorderProps & import("../system-props/types").PositionProps & import("../system-props/types").ShadowProps & import("../system-props/types").TextAlignProps & import("../Flexbox").As, "
|
|
4
|
+
export declare const LeftMenuWrapper: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../system-props/types").ColorProps & import("../system-props/types").LayoutProps & import("../system-props/types").SpaceProps & import("../system-props/types").BorderProps & import("../system-props/types").PositionProps & import("../system-props/types").ShadowProps & import("../system-props/types").TextAlignProps & import("../Flexbox").As, "textAlign" | "as" | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps> & {
|
|
5
5
|
theme?: object | undefined;
|
|
6
|
-
}, "
|
|
6
|
+
}, "key" | "textAlign" | "as" | "theme" | keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps> & {
|
|
7
7
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
-
} & Pick<import("../Flexbox").BoxProps, "
|
|
8
|
+
} & Pick<import("../Flexbox").BoxProps, "textAlign" | "as" | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps | keyof import("../system-props/types").FlexboxProps | keyof import("../system-props/types").GridboxProps> & {
|
|
9
9
|
theme?: object | undefined;
|
|
10
10
|
}, Pick<LeftMenuProps, "activeClassName">, CodacyTheme>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/Link/Link.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["isExternal", "children", "size", "noReferrer", "noFollow", "rel"];
|
|
2
3
|
import React, { forwardRef } from 'react';
|
|
3
4
|
import { StyledLink } from './Link.styles';
|
|
4
5
|
import { Icon } from '..';
|
|
@@ -27,7 +28,7 @@ export var Link = forwardRef(function (_ref, ref) {
|
|
|
27
28
|
_ref$noFollow = _ref.noFollow,
|
|
28
29
|
noFollow = _ref$noFollow === void 0 ? false : _ref$noFollow,
|
|
29
30
|
rel = _ref.rel,
|
|
30
|
-
rest = _objectWithoutProperties(_ref,
|
|
31
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
31
32
|
|
|
32
33
|
var relArray = (rel === null || rel === void 0 ? void 0 : rel.split(' ')) || [];
|
|
33
34
|
if (noReferrer) relArray.push('noreferrer');
|
package/lib/Link/Link.types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/Message/Message.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["children", "id", "status"];
|
|
2
3
|
// /**
|
|
3
4
|
// * Description for Message
|
|
4
5
|
// */
|
|
@@ -15,7 +16,7 @@ var Message = React.forwardRef(function (_ref, ref) {
|
|
|
15
16
|
var children = _ref.children,
|
|
16
17
|
id = _ref.id,
|
|
17
18
|
status = _ref.status,
|
|
18
|
-
props = _objectWithoutProperties(_ref,
|
|
19
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
20
|
|
|
20
21
|
var icon = status === 'info' ? InfoIcon : status === 'warning' ? WarningIcon : ErrorIcon;
|
|
21
22
|
return /*#__PURE__*/React.createElement(MessageWrapper, Object.assign({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CodacyTheme } from '../theme';
|
|
3
3
|
import { MessageProps } from './Message.types';
|
|
4
|
-
export declare const MessageWrapper: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../system-props/types").ColorProps & import("../system-props/types").LayoutProps & import("../system-props/types").SpaceProps & import("../system-props/types").BorderProps & import("../system-props/types").PositionProps & import("../system-props/types").ShadowProps & import("../system-props/types").TextAlignProps & import("../Flexbox").As, "
|
|
4
|
+
export declare const MessageWrapper: import("@emotion/styled-base").StyledComponent<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Pick<import("../system-props/types").ColorProps & import("../system-props/types").LayoutProps & import("../system-props/types").SpaceProps & import("../system-props/types").BorderProps & import("../system-props/types").PositionProps & import("../system-props/types").ShadowProps & import("../system-props/types").TextAlignProps & import("../Flexbox").As, "textAlign" | "as" | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps> & {
|
|
5
5
|
theme?: object | undefined;
|
|
6
|
-
}, "
|
|
6
|
+
}, "key" | "textAlign" | "as" | "theme" | keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps> & {
|
|
7
7
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
-
} & Pick<import("../Flexbox").FlexProps, "
|
|
8
|
+
} & Pick<import("../Flexbox").FlexProps, "textAlign" | "as" | keyof import("../system-props/types").ColorProps | keyof import("../system-props/types").LayoutProps | keyof import("../system-props/types").SpaceProps | keyof import("../system-props/types").BorderProps | keyof import("../system-props/types").PositionProps | keyof import("../system-props/types").ShadowProps | keyof import("../system-props/types").FlexboxProps> & {
|
|
9
9
|
theme?: object | undefined;
|
|
10
10
|
}, MessageProps, CodacyTheme>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["title", "confirmText", "onConfirm", "cancelText", "onCancel", "variant", "icon", "children"];
|
|
2
3
|
import React, { useCallback, useRef } from 'react';
|
|
3
4
|
import { Modal } from '.';
|
|
4
5
|
import { Button, ButtonGroup, IconAndText, Subheader } from '..';
|
|
@@ -13,7 +14,7 @@ export var ConfirmationModal = function ConfirmationModal(_ref) {
|
|
|
13
14
|
variant = _ref$variant === void 0 ? 'primary' : _ref$variant,
|
|
14
15
|
icon = _ref.icon,
|
|
15
16
|
children = _ref.children,
|
|
16
|
-
dialog = _objectWithoutProperties(_ref,
|
|
17
|
+
dialog = _objectWithoutProperties(_ref, _excluded);
|
|
17
18
|
|
|
18
19
|
var cancelRef = useRef(null);
|
|
19
20
|
var handleCancel = useCallback(function () {
|
package/lib/Modal/Modal.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps } from './types';
|
|
3
3
|
import { DialogStateReturn } from 'reakit/Dialog';
|
|
4
|
-
declare const useModal: (id: string, visibleOnMount?: boolean
|
|
4
|
+
declare const useModal: (id: string, visibleOnMount?: boolean) => DialogStateReturn;
|
|
5
5
|
declare const Modal: React.FC<ModalProps & import("reakit/ts").unstable_IdState & {
|
|
6
6
|
visible: boolean;
|
|
7
7
|
animated: number | boolean;
|
package/lib/Modal/Modal.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
+
var _excluded = ["title", "description", "role", "headerImg", "size", "vPos", "focusRef", "children", "tabIndex", "showCloseButton", "p"],
|
|
3
|
+
_excluded2 = ["headerImg", "title", "description", "id", "children"],
|
|
4
|
+
_excluded3 = ["children"],
|
|
5
|
+
_excluded4 = ["atTop", "atBottom", "scroll", "height"],
|
|
6
|
+
_excluded5 = ["children"];
|
|
2
7
|
import React from 'react';
|
|
3
8
|
import { CloseButton } from '../CloseButton';
|
|
4
9
|
import { Overlay, ModalBox, CloseBtnLocation, ModalHeaderBox, ModalBodyBox, ModalFooterBox } from './styles';
|
|
@@ -33,7 +38,7 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
|
33
38
|
showCloseButton = _ref$showCloseButton === void 0 ? false : _ref$showCloseButton,
|
|
34
39
|
_ref$p = _ref.p,
|
|
35
40
|
p = _ref$p === void 0 ? defaultModalPadding : _ref$p,
|
|
36
|
-
dialog = _objectWithoutProperties(_ref,
|
|
41
|
+
dialog = _objectWithoutProperties(_ref, _excluded);
|
|
37
42
|
|
|
38
43
|
var labelProps = {
|
|
39
44
|
'aria-labelledby': "modal-title-".concat(dialog.baseId)
|
|
@@ -78,7 +83,7 @@ var ModalHeader = function ModalHeader(_ref2) {
|
|
|
78
83
|
description = _ref2.description,
|
|
79
84
|
id = _ref2.id,
|
|
80
85
|
children = _ref2.children,
|
|
81
|
-
props = _objectWithoutProperties(_ref2,
|
|
86
|
+
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
82
87
|
|
|
83
88
|
var titleProps = id && {
|
|
84
89
|
id: "modal-title-".concat(id)
|
|
@@ -104,14 +109,14 @@ var ModalHeader = function ModalHeader(_ref2) {
|
|
|
104
109
|
|
|
105
110
|
var ModalBody = function ModalBody(_ref3) {
|
|
106
111
|
var children = _ref3.children,
|
|
107
|
-
props = _objectWithoutProperties(_ref3,
|
|
112
|
+
props = _objectWithoutProperties(_ref3, _excluded3);
|
|
108
113
|
|
|
109
114
|
var _useScrollContainer = useScrollContainer(),
|
|
110
115
|
atTop = _useScrollContainer.atTop,
|
|
111
116
|
atBottom = _useScrollContainer.atBottom,
|
|
112
117
|
scroll = _useScrollContainer.scroll,
|
|
113
118
|
height = _useScrollContainer.height,
|
|
114
|
-
divProps = _objectWithoutProperties(_useScrollContainer,
|
|
119
|
+
divProps = _objectWithoutProperties(_useScrollContainer, _excluded4);
|
|
115
120
|
|
|
116
121
|
return /*#__PURE__*/React.createElement(ModalBodyBox, Object.assign({
|
|
117
122
|
px: defaultModalPadding,
|
|
@@ -122,7 +127,7 @@ var ModalBody = function ModalBody(_ref3) {
|
|
|
122
127
|
|
|
123
128
|
var ModalFooter = function ModalFooter(_ref4) {
|
|
124
129
|
var children = _ref4.children,
|
|
125
|
-
props = _objectWithoutProperties(_ref4,
|
|
130
|
+
props = _objectWithoutProperties(_ref4, _excluded5);
|
|
126
131
|
|
|
127
132
|
return /*#__PURE__*/React.createElement(ModalFooterBox, Object.assign({
|
|
128
133
|
px: defaultModalPadding,
|