@codacy/ui-components 0.66.61 → 0.66.62
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/Icons/Messages.js +1 -1
- package/lib/Message/Message.styles.js +5 -10
- package/lib/Modal/Modal.js +3 -0
- package/package.json +2 -2
package/lib/Icons/Messages.js
CHANGED
|
@@ -49,7 +49,7 @@ export const WarningIcon = ({
|
|
|
49
49
|
viewBox: "0 0 512 512"
|
|
50
50
|
}, /*#__PURE__*/React.createElement("title", null, "Warning"), /*#__PURE__*/React.createElement("path", {
|
|
51
51
|
fill: theme.colors[color],
|
|
52
|
-
d: "
|
|
52
|
+
d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm0 319.91a20 20 0 1120-20 20 20 0 01-20 20zm21.72-201.15l-5.74 122a16 16 0 01-32 0l-5.74-121.94v-.05a21.74 21.74 0 1143.44 0z"
|
|
53
53
|
}));
|
|
54
54
|
};
|
|
55
55
|
export const RocketFilledIcon = ({
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
import { Flex } from '../Flexbox';
|
|
3
|
-
import { StyledLink } from '../Link/Link.styles';
|
|
4
3
|
export const MessageWrapper = /*#__PURE__*/_styled(Flex, process.env.NODE_ENV === "production" ? {
|
|
5
4
|
target: "ebhqpcy0"
|
|
6
5
|
} : {
|
|
@@ -8,15 +7,11 @@ export const MessageWrapper = /*#__PURE__*/_styled(Flex, process.env.NODE_ENV ==
|
|
|
8
7
|
label: "codacy"
|
|
9
8
|
})("padding:", ({
|
|
10
9
|
theme
|
|
11
|
-
}) => theme.space[2], ";
|
|
10
|
+
}) => theme.space[2], ";padding-left:", ({
|
|
12
11
|
theme
|
|
13
|
-
}) => theme.
|
|
14
|
-
status,
|
|
15
|
-
theme
|
|
16
|
-
}) => theme.colors[`alerts-${status}-background`], ";", StyledLink, "{color:", ({
|
|
12
|
+
}) => theme.space[6], ";color:", ({
|
|
17
13
|
theme
|
|
18
|
-
}) => theme.colors['alerts-secondary-text'], ";
|
|
19
|
-
|
|
20
|
-
}) => theme.fontWeights['semi-bold'], ";text-decoration:underline;&:hover{color:", ({
|
|
14
|
+
}) => theme.colors['alerts-secondary-text'], ";align-items:center;background-color:", ({
|
|
15
|
+
status,
|
|
21
16
|
theme
|
|
22
|
-
}) => theme.colors[
|
|
17
|
+
}) => theme.colors[`alerts-${status}-background`], ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9NZXNzYWdlL01lc3NhZ2Uuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUl3RCIsImZpbGUiOiIuLi8uLi9zcmMvTWVzc2FnZS9NZXNzYWdlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgTWVzc2FnZVByb3BzIH0gZnJvbSAnLi9NZXNzYWdlLnR5cGVzJ1xuaW1wb3J0IHsgRmxleCB9IGZyb20gJy4uL0ZsZXhib3gnXG5cbmV4cG9ydCBjb25zdCBNZXNzYWdlV3JhcHBlciA9IHN0eWxlZChGbGV4KTxNZXNzYWdlUHJvcHM+YFxuICBwYWRkaW5nOiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnNwYWNlWzJdfTtcbiAgcGFkZGluZy1sZWZ0OiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnNwYWNlWzZdfTtcbiAgY29sb3I6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUuY29sb3JzWydhbGVydHMtc2Vjb25kYXJ5LXRleHQnXX07XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGJhY2tncm91bmQtY29sb3I6ICR7KHsgc3RhdHVzLCB0aGVtZSB9KSA9PiB0aGVtZS5jb2xvcnNbYGFsZXJ0cy0ke3N0YXR1c30tYmFja2dyb3VuZGBdfTtcbmBcbiJdfQ== */"));
|
package/lib/Modal/Modal.js
CHANGED
|
@@ -96,9 +96,12 @@ const ModalBody = ({
|
|
|
96
96
|
children,
|
|
97
97
|
...props
|
|
98
98
|
}) => {
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
99
100
|
const {
|
|
100
101
|
atTop,
|
|
101
102
|
atBottom,
|
|
103
|
+
height,
|
|
104
|
+
scroll,
|
|
102
105
|
...divProps
|
|
103
106
|
} = useScrollContainer();
|
|
104
107
|
return /*#__PURE__*/React.createElement(ModalBodyBox, _extends({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/ui-components",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.62",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"fontsource-inter": "^4.0.0",
|
|
97
97
|
"husky": "^4.3.0",
|
|
98
98
|
"jsdom": "^26.1.0",
|
|
99
|
-
"lint-staged": "^
|
|
99
|
+
"lint-staged": "^16.2.7",
|
|
100
100
|
"lodash": "^4.17.20",
|
|
101
101
|
"numeral": "^2.0.6",
|
|
102
102
|
"prettier": "^3.1.1",
|