@codacy/ui-components 0.64.15 → 0.64.17

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.
Files changed (224) hide show
  1. package/lib/Avatar/Avatar.js +25 -19
  2. package/lib/Avatar/Avatar.types.js +5 -1
  3. package/lib/Avatar/gravatar.js +17 -13
  4. package/lib/Avatar/index.js +16 -1
  5. package/lib/Banner/Banner.js +45 -32
  6. package/lib/Banner/Banner.styles.d.ts +11 -12
  7. package/lib/Banner/Banner.styles.js +26 -15
  8. package/lib/Banner/Banner.types.js +5 -1
  9. package/lib/Banner/index.js +27 -2
  10. package/lib/Button/Button.js +54 -51
  11. package/lib/Button/index.js +27 -2
  12. package/lib/Button/styles.d.ts +16 -12
  13. package/lib/Button/styles.js +58 -44
  14. package/lib/Button/types.js +5 -1
  15. package/lib/Checkbox/Checkbox.js +63 -54
  16. package/lib/Checkbox/CheckboxFilterList.js +46 -32
  17. package/lib/Checkbox/index.js +38 -3
  18. package/lib/Checkbox/styles.d.ts +25 -22
  19. package/lib/Checkbox/styles.js +52 -37
  20. package/lib/Checkbox/types.js +5 -1
  21. package/lib/CloseButton/index.js +27 -16
  22. package/lib/Divider/Divider.js +23 -13
  23. package/lib/Divider/Divider.styles.d.ts +16 -19
  24. package/lib/Divider/Divider.styles.js +24 -11
  25. package/lib/Divider/Divider.types.js +5 -1
  26. package/lib/Divider/index.js +16 -1
  27. package/lib/Dropdown/Content/DropdownInput.js +20 -8
  28. package/lib/Dropdown/Content/DropdownItem.js +29 -21
  29. package/lib/Dropdown/Content/DropdownSeparator.js +19 -7
  30. package/lib/Dropdown/Content/index.js +38 -3
  31. package/lib/Dropdown/Dropdown.js +89 -85
  32. package/lib/Dropdown/Dropdown.styles.d.ts +37 -34
  33. package/lib/Dropdown/Dropdown.styles.js +62 -43
  34. package/lib/Dropdown/Dropdown.types.js +5 -1
  35. package/lib/Dropdown/Triggers/DropdownButtonTrigger.js +30 -20
  36. package/lib/Dropdown/Triggers/DropdownLinkTrigger.js +29 -19
  37. package/lib/Dropdown/Triggers/InputTrigger.js +18 -10
  38. package/lib/Dropdown/Triggers/SelectTrigger.js +19 -12
  39. package/lib/Dropdown/Triggers/hooks.js +18 -14
  40. package/lib/Dropdown/Triggers/index.js +60 -5
  41. package/lib/Dropdown/Triggers/types.js +5 -1
  42. package/lib/Dropdown/index.js +49 -4
  43. package/lib/Flexbox/Flexbox.d.ts +31 -17
  44. package/lib/Flexbox/Flexbox.js +36 -16
  45. package/lib/Flexbox/index.js +16 -1
  46. package/lib/Group/Group.js +17 -8
  47. package/lib/Group/Group.styles.d.ts +8 -10
  48. package/lib/Group/Group.styles.js +17 -7
  49. package/lib/Group/Group.types.js +5 -1
  50. package/lib/Group/index.js +16 -1
  51. package/lib/Icon/Icon.js +24 -14
  52. package/lib/Icon/Icon.styles.d.ts +9 -11
  53. package/lib/Icon/Icon.styles.js +39 -44
  54. package/lib/Icon/Icon.types.js +5 -1
  55. package/lib/Icon/index.js +16 -1
  56. package/lib/IconAndText/IconAndText.js +33 -21
  57. package/lib/IconAndText/IconAndText.styles.d.ts +8 -10
  58. package/lib/IconAndText/IconAndText.styles.js +20 -10
  59. package/lib/IconAndText/IconAndText.types.js +5 -1
  60. package/lib/IconAndText/index.js +16 -1
  61. package/lib/Icons/Chevrons.js +53 -41
  62. package/lib/Icons/CodacyIcon.js +17 -8
  63. package/lib/Icons/Messages.js +54 -35
  64. package/lib/Icons/Search.js +16 -7
  65. package/lib/Icons/Severities.js +117 -106
  66. package/lib/Icons/Sorting.js +23 -13
  67. package/lib/Icons/Spinner.js +19 -10
  68. package/lib/Icons/Symbols.js +73 -58
  69. package/lib/Icons/index.js +93 -8
  70. package/lib/Img/Img.js +44 -37
  71. package/lib/Img/Img.styles.d.ts +12 -11
  72. package/lib/Img/Img.styles.js +37 -32
  73. package/lib/Img/Img.types.js +5 -1
  74. package/lib/Img/index.js +16 -1
  75. package/lib/InlineMessage/InlineMessage.js +47 -34
  76. package/lib/InlineMessage/index.js +16 -1
  77. package/lib/InlineMessage/types.js +5 -1
  78. package/lib/Input/Input.js +148 -126
  79. package/lib/Input/hooks.js +149 -178
  80. package/lib/Input/index.js +27 -2
  81. package/lib/Input/styles.d.ts +55 -104
  82. package/lib/Input/styles.js +85 -54
  83. package/lib/Input/types.js +5 -1
  84. package/lib/Labeled/Labeled.js +34 -22
  85. package/lib/Labeled/index.js +16 -1
  86. package/lib/Labeled/styles.d.ts +16 -12
  87. package/lib/Labeled/styles.js +27 -11
  88. package/lib/Labeled/types.js +5 -1
  89. package/lib/LeftMenu/LeftMenu.js +20 -11
  90. package/lib/LeftMenu/LeftMenu.styles.d.ts +8 -10
  91. package/lib/LeftMenu/LeftMenu.styles.js +20 -10
  92. package/lib/LeftMenu/LeftMenu.types.js +5 -1
  93. package/lib/LeftMenu/index.js +16 -1
  94. package/lib/Link/Link.js +43 -33
  95. package/lib/Link/Link.styles.d.ts +4 -1
  96. package/lib/Link/Link.styles.js +21 -11
  97. package/lib/Link/Link.types.js +5 -1
  98. package/lib/Link/index.js +38 -3
  99. package/lib/Message/Message.js +32 -24
  100. package/lib/Message/Message.styles.d.ts +8 -10
  101. package/lib/Message/Message.styles.js +17 -7
  102. package/lib/Message/Message.types.js +5 -1
  103. package/lib/Message/index.js +16 -1
  104. package/lib/Modal/ConfirmationModal.js +65 -39
  105. package/lib/Modal/Modal.js +120 -107
  106. package/lib/Modal/index.js +27 -2
  107. package/lib/Modal/styles.d.ts +44 -61
  108. package/lib/Modal/styles.js +97 -85
  109. package/lib/Modal/types.d.ts +1 -0
  110. package/lib/Modal/types.js +5 -1
  111. package/lib/MoreInfo/MoreInfo.js +45 -39
  112. package/lib/MoreInfo/index.js +16 -1
  113. package/lib/MoreInfo/types.js +5 -1
  114. package/lib/Panel/Panel.js +18 -9
  115. package/lib/Panel/Panel.styles.d.ts +8 -11
  116. package/lib/Panel/Panel.styles.js +15 -5
  117. package/lib/Panel/Panel.types.js +5 -1
  118. package/lib/Panel/index.js +27 -2
  119. package/lib/PillLabel/PillLabel.js +28 -21
  120. package/lib/PillLabel/PillLabel.styles.d.ts +8 -10
  121. package/lib/PillLabel/PillLabel.styles.js +25 -16
  122. package/lib/PillLabel/PillLabel.types.js +5 -1
  123. package/lib/PillLabel/index.js +16 -1
  124. package/lib/Popup/Popup.js +55 -45
  125. package/lib/Popup/index.js +16 -1
  126. package/lib/Popup/styles.d.ts +12 -11
  127. package/lib/Popup/styles.js +21 -8
  128. package/lib/Popup/types.js +5 -1
  129. package/lib/ProgressBar/ProgressBar.js +30 -20
  130. package/lib/ProgressBar/index.js +27 -2
  131. package/lib/ProgressBar/styles.d.ts +24 -28
  132. package/lib/ProgressBar/styles.js +30 -14
  133. package/lib/ProgressBar/types.js +5 -1
  134. package/lib/Radio/Radio.js +53 -48
  135. package/lib/Radio/index.js +16 -1
  136. package/lib/Radio/styles.d.ts +25 -22
  137. package/lib/Radio/styles.js +49 -30
  138. package/lib/Radio/types.js +5 -1
  139. package/lib/ScrollableContent/ScrollableContent.js +35 -24
  140. package/lib/ScrollableContent/ScrollableContent.styles.d.ts +9 -11
  141. package/lib/ScrollableContent/ScrollableContent.styles.js +23 -13
  142. package/lib/ScrollableContent/ScrollableContent.types.js +5 -1
  143. package/lib/ScrollableContent/index.js +27 -2
  144. package/lib/ScrollableContent/useScrollContainer.js +29 -24
  145. package/lib/Select/Select.js +31 -20
  146. package/lib/Select/index.js +16 -1
  147. package/lib/Select/types.js +5 -1
  148. package/lib/Skeleton/Skeleton.js +30 -25
  149. package/lib/Skeleton/Skeleton.styles.d.ts +8 -10
  150. package/lib/Skeleton/Skeleton.styles.js +21 -14
  151. package/lib/Skeleton/Skeleton.types.js +5 -1
  152. package/lib/Skeleton/index.js +20 -2
  153. package/lib/Stepper/Stepper.js +49 -40
  154. package/lib/Stepper/Stepper.styles.d.ts +24 -29
  155. package/lib/Stepper/Stepper.styles.js +35 -19
  156. package/lib/Stepper/Stepper.types.js +5 -1
  157. package/lib/Stepper/index.js +16 -1
  158. package/lib/Switcher/Switcher.js +32 -23
  159. package/lib/Switcher/Switcher.styles.d.ts +13 -13
  160. package/lib/Switcher/Switcher.styles.js +27 -15
  161. package/lib/Switcher/Switcher.types.js +5 -1
  162. package/lib/Switcher/index.js +16 -1
  163. package/lib/Tab/Tab.js +31 -23
  164. package/lib/Tab/Tab.styles.d.ts +13 -12
  165. package/lib/Tab/Tab.styles.js +30 -21
  166. package/lib/Tab/Tab.types.js +5 -1
  167. package/lib/Tab/index.js +16 -1
  168. package/lib/Table/NewSelectableTable.js +77 -56
  169. package/lib/Table/SelectableTable.js +138 -118
  170. package/lib/Table/Table.js +126 -111
  171. package/lib/Table/Table.styles.d.ts +32 -16
  172. package/lib/Table/Table.styles.js +79 -59
  173. package/lib/Table/Table.types.js +5 -1
  174. package/lib/Table/index.js +27 -2
  175. package/lib/TagsInput/TagsInput.js +44 -33
  176. package/lib/TagsInput/index.js +16 -1
  177. package/lib/TagsInput/style.d.ts +16 -19
  178. package/lib/TagsInput/style.js +22 -9
  179. package/lib/TagsInput/types.js +5 -1
  180. package/lib/Textarea/Textarea.js +75 -58
  181. package/lib/Textarea/Textarea.styles.d.ts +28 -22
  182. package/lib/Textarea/Textarea.styles.js +55 -32
  183. package/lib/Textarea/Textarea.types.js +5 -1
  184. package/lib/Textarea/index.js +16 -1
  185. package/lib/ThemeProvider/ThemeProvider.d.ts +5 -2
  186. package/lib/ThemeProvider/ThemeProvider.js +48 -30
  187. package/lib/ThemeProvider/index.js +16 -1
  188. package/lib/Toast/Toast.js +56 -53
  189. package/lib/Toast/index.js +16 -1
  190. package/lib/Toast/styles.d.ts +4 -2
  191. package/lib/Toast/styles.js +13 -3
  192. package/lib/Toast/types.js +5 -1
  193. package/lib/Toggle/Toggle.js +59 -50
  194. package/lib/Toggle/index.js +16 -1
  195. package/lib/Toggle/styles.d.ts +21 -14
  196. package/lib/Toggle/styles.js +51 -34
  197. package/lib/Toggle/types.js +5 -1
  198. package/lib/Tooltip/Tooltip.js +100 -102
  199. package/lib/Tooltip/index.js +16 -1
  200. package/lib/Tooltip/styles.d.ts +14 -8
  201. package/lib/Tooltip/styles.js +33 -25
  202. package/lib/Tooltip/types.js +5 -1
  203. package/lib/Typography/Typography.js +96 -85
  204. package/lib/Typography/Typography.styles.d.ts +48 -54
  205. package/lib/Typography/Typography.styles.js +70 -45
  206. package/lib/Typography/Typography.types.js +5 -1
  207. package/lib/Typography/index.js +38 -3
  208. package/lib/emotion.d.js +3 -0
  209. package/lib/hooks/index.js +38 -3
  210. package/lib/hooks/useForwardedRef.js +11 -6
  211. package/lib/hooks/useInfiniteScroll.js +24 -20
  212. package/lib/hooks/useStatefulRef.js +18 -14
  213. package/lib/index.js +489 -44
  214. package/lib/system-props/color.js +8 -2
  215. package/lib/system-props/index.js +27 -2
  216. package/lib/system-props/types.js +5 -1
  217. package/lib/theme/ColorSchemes/codacy.js +11 -4
  218. package/lib/theme/ColorSchemes/pulse.js +17 -9
  219. package/lib/theme/index.js +38 -3
  220. package/lib/theme/theme.js +42 -69
  221. package/lib/types.js +5 -1
  222. package/lib/utils/hash.js +8 -6
  223. package/lib/utils/reactNodeToText.js +13 -14
  224. package/package.json +32 -32
@@ -1,47 +1,66 @@
1
- import { useTheme } from 'emotion-theming';
2
- import React from 'react';
3
- //import { themeColors } from '../theme'
4
- export var ErrorIcon = function ErrorIcon() {
5
- var theme = useTheme();
6
- return /*#__PURE__*/React.createElement("svg", {
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.WarningIcon = exports.SuccessIcon = exports.InfoIcon = exports.ErrorIcon = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ var ErrorIcon = exports.ErrorIcon = function ErrorIcon() {
12
+ var theme = (0, _react2.useTheme)();
13
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
7
14
  xmlns: "http://www.w3.org/2000/svg",
8
15
  className: "ionicon",
9
- viewBox: "0 0 512 512"
10
- }, /*#__PURE__*/React.createElement("title", null, "Error"), /*#__PURE__*/React.createElement("path", {
11
- fill: theme.colors['icon-danger'],
12
- d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z"
13
- }));
16
+ viewBox: "0 0 512 512",
17
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
18
+ children: "Error"
19
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
20
+ fill: theme.colors['icon-danger'],
21
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z"
22
+ })]
23
+ });
14
24
  };
15
- export var SuccessIcon = function SuccessIcon() {
16
- var theme = useTheme();
17
- return /*#__PURE__*/React.createElement("svg", {
25
+ var SuccessIcon = exports.SuccessIcon = function SuccessIcon() {
26
+ var theme = (0, _react2.useTheme)();
27
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
18
28
  xmlns: "http://www.w3.org/2000/svg",
19
29
  className: "ionicon",
20
- viewBox: "0 0 512 512"
21
- }, /*#__PURE__*/React.createElement("title", null, "Success"), /*#__PURE__*/React.createElement("path", {
22
- fill: theme.colors['icon-success'],
23
- d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 01-12 5.71h-.27a16 16 0 01-11.89-5.3l-57.6-64a16 16 0 1123.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0124.5 20.58z"
24
- }));
30
+ viewBox: "0 0 512 512",
31
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
32
+ children: "Success"
33
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
34
+ fill: theme.colors['icon-success'],
35
+ d: "M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 01-12 5.71h-.27a16 16 0 01-11.89-5.3l-57.6-64a16 16 0 1123.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0124.5 20.58z"
36
+ })]
37
+ });
25
38
  };
26
- export var InfoIcon = function InfoIcon() {
27
- var theme = useTheme();
28
- return /*#__PURE__*/React.createElement("svg", {
39
+ var InfoIcon = exports.InfoIcon = function InfoIcon() {
40
+ var theme = (0, _react2.useTheme)();
41
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
29
42
  xmlns: "http://www.w3.org/2000/svg",
30
43
  className: "ionicon",
31
- viewBox: "0 0 512 512"
32
- }, /*#__PURE__*/React.createElement("title", null, "Info"), /*#__PURE__*/React.createElement("path", {
33
- fill: theme.colors['icon-info'],
34
- d: "M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 11-26 26 26 26 0 0126-26zm48 226h-88a16 16 0 010-32h28v-88h-16a16 16 0 010-32h32a16 16 0 0116 16v104h28a16 16 0 010 32z"
35
- }));
44
+ viewBox: "0 0 512 512",
45
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
46
+ children: "Info"
47
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
48
+ fill: theme.colors['icon-info'],
49
+ d: "M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200 200-89.72 200-200S366.28 56 256 56zm0 82a26 26 0 11-26 26 26 26 0 0126-26zm48 226h-88a16 16 0 010-32h28v-88h-16a16 16 0 010-32h32a16 16 0 0116 16v104h28a16 16 0 010 32z"
50
+ })]
51
+ });
36
52
  };
37
- export var WarningIcon = function WarningIcon() {
38
- var theme = useTheme();
39
- return /*#__PURE__*/React.createElement("svg", {
53
+ var WarningIcon = exports.WarningIcon = function WarningIcon() {
54
+ var theme = (0, _react2.useTheme)();
55
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
40
56
  xmlns: "http://www.w3.org/2000/svg",
41
57
  className: "ionicon",
42
- viewBox: "0 0 512 512"
43
- }, /*#__PURE__*/React.createElement("title", null, "Warning"), /*#__PURE__*/React.createElement("path", {
44
- fill: theme.colors['icon-warning'],
45
- d: "M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0080 446.25h340.89a32 32 0 0028.18-47.17zm-198.6-1.83a20 20 0 1120-20 20 20 0 01-20 20zm21.72-201.15l-5.74 122a16 16 0 01-32 0l-5.74-121.95a21.73 21.73 0 0121.5-22.69h.21a21.74 21.74 0 0121.73 22.7z"
46
- }));
58
+ viewBox: "0 0 512 512",
59
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
60
+ children: "Warning"
61
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
62
+ fill: theme.colors['icon-warning'],
63
+ d: "M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0080 446.25h340.89a32 32 0 0028.18-47.17zm-198.6-1.83a20 20 0 1120-20 20 20 0 01-20 20zm21.72-201.15l-5.74 122a16 16 0 01-32 0l-5.74-121.95a21.73 21.73 0 0121.5-22.69h.21a21.74 21.74 0 0121.73 22.7z"
64
+ })]
65
+ });
47
66
  };
@@ -1,10 +1,19 @@
1
- import React from 'react';
2
- export var SearchIcon = function SearchIcon() {
3
- return /*#__PURE__*/React.createElement("svg", {
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.SearchIcon = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ var SearchIcon = exports.SearchIcon = function SearchIcon() {
11
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
4
12
  xmlns: "http://www.w3.org/2000/svg",
5
13
  className: "ionicon",
6
- viewBox: "0 0 512 512"
7
- }, /*#__PURE__*/React.createElement("path", {
8
- d: "M456.69 421.39L362.6 327.3a173.81 173.81 0 0034.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 00327.3 362.6l94.09 94.09a25 25 0 0035.3-35.3zM97.92 222.72a124.8 124.8 0 11124.8 124.8 124.95 124.95 0 01-124.8-124.8z"
9
- }));
14
+ viewBox: "0 0 512 512",
15
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ d: "M456.69 421.39L362.6 327.3a173.81 173.81 0 0034.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 00327.3 362.6l94.09 94.09a25 25 0 0035.3-35.3zM97.92 222.72a124.8 124.8 0 11124.8 124.8 124.95 124.95 0 01-124.8-124.8z"
17
+ })
18
+ });
10
19
  };
@@ -1,115 +1,126 @@
1
- import React from 'react';
2
- export var MinorSeverityIcon = function MinorSeverityIcon() {
3
- return /*#__PURE__*/React.createElement("svg", {
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.MinorSeverityIcon = exports.MediumSeverityIcon = exports.CriticalSeverityIcon = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ var MinorSeverityIcon = exports.MinorSeverityIcon = function MinorSeverityIcon() {
11
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
4
12
  xmlns: "http://www.w3.org/2000/svg",
5
13
  className: "codacy-icon",
6
- viewBox: "0 0 512 512"
7
- }, /*#__PURE__*/React.createElement("rect", {
8
- x: "32",
9
- y: "96",
10
- width: "90",
11
- height: "320",
12
- rx: "20",
13
- ry: "20",
14
- strokeLinecap: "round",
15
- strokeLinejoin: "round",
16
- className: "stroke-width"
17
- }), /*#__PURE__*/React.createElement("rect", {
18
- x: "211",
19
- y: "96",
20
- width: "90",
21
- height: "320",
22
- rx: "20",
23
- ry: "20",
24
- opacity: "0.5",
25
- strokeLinecap: "round",
26
- strokeLinejoin: "round",
27
- className: "fill-none stroke-width"
28
- }), /*#__PURE__*/React.createElement("rect", {
29
- x: "390",
30
- y: "96",
31
- width: "90",
32
- height: "320",
33
- rx: "20",
34
- ry: "20",
35
- opacity: "0.5",
36
- strokeLinecap: "round",
37
- strokeLinejoin: "round",
38
- className: "fill-none stroke-width"
39
- }));
14
+ viewBox: "0 0 512 512",
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
16
+ x: "32",
17
+ y: "96",
18
+ width: "90",
19
+ height: "320",
20
+ rx: "20",
21
+ ry: "20",
22
+ strokeLinecap: "round",
23
+ strokeLinejoin: "round",
24
+ className: "stroke-width"
25
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
26
+ x: "211",
27
+ y: "96",
28
+ width: "90",
29
+ height: "320",
30
+ rx: "20",
31
+ ry: "20",
32
+ opacity: "0.5",
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round",
35
+ className: "fill-none stroke-width"
36
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
37
+ x: "390",
38
+ y: "96",
39
+ width: "90",
40
+ height: "320",
41
+ rx: "20",
42
+ ry: "20",
43
+ opacity: "0.5",
44
+ strokeLinecap: "round",
45
+ strokeLinejoin: "round",
46
+ className: "fill-none stroke-width"
47
+ })]
48
+ });
40
49
  };
41
- export var MediumSeverityIcon = function MediumSeverityIcon() {
42
- return /*#__PURE__*/React.createElement("svg", {
50
+ var MediumSeverityIcon = exports.MediumSeverityIcon = function MediumSeverityIcon() {
51
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
43
52
  xmlns: "http://www.w3.org/2000/svg",
44
53
  className: "codacy-icon",
45
- viewBox: "0 0 512 512"
46
- }, /*#__PURE__*/React.createElement("rect", {
47
- x: "32",
48
- y: "96",
49
- width: "90",
50
- height: "320",
51
- rx: "20",
52
- ry: "20",
53
- strokeLinecap: "round",
54
- strokeLinejoin: "round",
55
- className: "stroke-width"
56
- }), /*#__PURE__*/React.createElement("rect", {
57
- x: "211",
58
- y: "96",
59
- width: "90",
60
- height: "320",
61
- rx: "20",
62
- ry: "20",
63
- strokeLinecap: "round",
64
- strokeLinejoin: "round",
65
- className: "stroke-width"
66
- }), /*#__PURE__*/React.createElement("rect", {
67
- x: "390",
68
- y: "96",
69
- width: "90",
70
- height: "320",
71
- rx: "20",
72
- ry: "20",
73
- opacity: "0.5",
74
- strokeLinecap: "round",
75
- strokeLinejoin: "round",
76
- className: "fill-none stroke-width"
77
- }));
54
+ viewBox: "0 0 512 512",
55
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
56
+ x: "32",
57
+ y: "96",
58
+ width: "90",
59
+ height: "320",
60
+ rx: "20",
61
+ ry: "20",
62
+ strokeLinecap: "round",
63
+ strokeLinejoin: "round",
64
+ className: "stroke-width"
65
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
66
+ x: "211",
67
+ y: "96",
68
+ width: "90",
69
+ height: "320",
70
+ rx: "20",
71
+ ry: "20",
72
+ strokeLinecap: "round",
73
+ strokeLinejoin: "round",
74
+ className: "stroke-width"
75
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
76
+ x: "390",
77
+ y: "96",
78
+ width: "90",
79
+ height: "320",
80
+ rx: "20",
81
+ ry: "20",
82
+ opacity: "0.5",
83
+ strokeLinecap: "round",
84
+ strokeLinejoin: "round",
85
+ className: "fill-none stroke-width"
86
+ })]
87
+ });
78
88
  };
79
- export var CriticalSeverityIcon = function CriticalSeverityIcon() {
80
- return /*#__PURE__*/React.createElement("svg", {
89
+ var CriticalSeverityIcon = exports.CriticalSeverityIcon = function CriticalSeverityIcon() {
90
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
81
91
  xmlns: "http://www.w3.org/2000/svg",
82
92
  className: "codacy-icon",
83
- viewBox: "0 0 512 512"
84
- }, /*#__PURE__*/React.createElement("rect", {
85
- x: "32",
86
- y: "96",
87
- width: "90",
88
- height: "320",
89
- rx: "20",
90
- ry: "20",
91
- strokeLinecap: "round",
92
- strokeLinejoin: "round",
93
- className: "stroke-width"
94
- }), /*#__PURE__*/React.createElement("rect", {
95
- x: "211",
96
- y: "96",
97
- width: "90",
98
- height: "320",
99
- rx: "20",
100
- ry: "20",
101
- strokeLinecap: "round",
102
- strokeLinejoin: "round",
103
- className: "stroke-width"
104
- }), /*#__PURE__*/React.createElement("rect", {
105
- x: "390",
106
- y: "96",
107
- width: "90",
108
- height: "320",
109
- rx: "20",
110
- ry: "20",
111
- strokeLinecap: "round",
112
- strokeLinejoin: "round",
113
- className: "stroke-width"
114
- }));
93
+ viewBox: "0 0 512 512",
94
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
95
+ x: "32",
96
+ y: "96",
97
+ width: "90",
98
+ height: "320",
99
+ rx: "20",
100
+ ry: "20",
101
+ strokeLinecap: "round",
102
+ strokeLinejoin: "round",
103
+ className: "stroke-width"
104
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
105
+ x: "211",
106
+ y: "96",
107
+ width: "90",
108
+ height: "320",
109
+ rx: "20",
110
+ ry: "20",
111
+ strokeLinecap: "round",
112
+ strokeLinejoin: "round",
113
+ className: "stroke-width"
114
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
115
+ x: "390",
116
+ y: "96",
117
+ width: "90",
118
+ height: "320",
119
+ rx: "20",
120
+ ry: "20",
121
+ strokeLinecap: "round",
122
+ strokeLinejoin: "round",
123
+ className: "stroke-width"
124
+ })]
125
+ });
115
126
  };
@@ -1,19 +1,29 @@
1
- import React from 'react';
2
- export var SortDown = function SortDown() {
3
- return /*#__PURE__*/React.createElement("svg", {
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.SortUp = exports.SortDown = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ var SortDown = exports.SortDown = function SortDown() {
11
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
4
12
  xmlns: "http://www.w3.org/2000/svg",
5
13
  className: "ionicon",
6
- viewBox: "0 0 512 512"
7
- }, /*#__PURE__*/React.createElement("path", {
8
- d: "M98 190.06l139.78 163.12a24 24 0 0036.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"
9
- }));
14
+ viewBox: "0 0 512 512",
15
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ d: "M98 190.06l139.78 163.12a24 24 0 0036.44 0L414 190.06c13.34-15.57 2.28-39.62-18.22-39.62h-279.6c-20.5 0-31.56 24.05-18.18 39.62z"
17
+ })
18
+ });
10
19
  };
11
- export var SortUp = function SortUp() {
12
- return /*#__PURE__*/React.createElement("svg", {
20
+ var SortUp = exports.SortUp = function SortUp() {
21
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
13
22
  xmlns: "http://www.w3.org/2000/svg",
14
23
  className: "ionicon",
15
- viewBox: "0 0 512 512"
16
- }, /*#__PURE__*/React.createElement("path", {
17
- d: "M414 321.94L274.22 158.82a24 24 0 00-36.44 0L98 321.94c-13.34 15.57-2.28 39.62 18.22 39.62h279.6c20.5 0 31.56-24.05 18.18-39.62z"
18
- }));
24
+ viewBox: "0 0 512 512",
25
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
26
+ d: "M414 321.94L274.22 158.82a24 24 0 00-36.44 0L98 321.94c-13.34 15.57-2.28 39.62 18.22 39.62h279.6c20.5 0 31.56-24.05 18.18-39.62z"
27
+ })
28
+ });
19
29
  };
@@ -1,13 +1,22 @@
1
- import React from 'react';
2
- export var SpinnerIcon = function SpinnerIcon() {
3
- return /*#__PURE__*/React.createElement("svg", {
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.SpinnerIcon = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ var SpinnerIcon = exports.SpinnerIcon = function SpinnerIcon() {
11
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
4
12
  className: "codacy-icon",
5
13
  xmlns: "http://www.w3.org/2000/svg",
6
- viewBox: "0 0 512 512"
7
- }, /*#__PURE__*/React.createElement("path", {
8
- className: "fill-none stroke-width",
9
- d: "M258.28 96a160 160 0 10160 160",
10
- strokeMiterlimit: "10",
11
- strokeLinecap: "round"
12
- }));
14
+ viewBox: "0 0 512 512",
15
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ className: "fill-none stroke-width",
17
+ d: "M258.28 96a160 160 0 10160 160",
18
+ strokeMiterlimit: "10",
19
+ strokeLinecap: "round"
20
+ })
21
+ });
13
22
  };
@@ -1,72 +1,87 @@
1
- import React from 'react';
2
- export var CheckIcon = function CheckIcon() {
3
- return /*#__PURE__*/React.createElement("svg", {
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.RocketIcon = exports.MinusIcon = exports.DangerIcon = exports.CloseIcon = exports.CheckIcon = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ var CheckIcon = exports.CheckIcon = function CheckIcon() {
11
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
4
12
  xmlns: "http://www.w3.org/2000/svg",
5
13
  className: "ionicon",
6
- viewBox: "0 0 512 512"
7
- }, /*#__PURE__*/React.createElement("path", {
8
- strokeLinecap: "round",
9
- strokeLinejoin: "round",
10
- d: "M416 128L192 384l-96-96",
11
- className: "ionicon-fill-none ionicon-stroke-width"
12
- }));
14
+ viewBox: "0 0 512 512",
15
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round",
18
+ d: "M416 128L192 384l-96-96",
19
+ className: "ionicon-fill-none ionicon-stroke-width"
20
+ })
21
+ });
13
22
  };
14
- export var MinusIcon = function MinusIcon() {
15
- return /*#__PURE__*/React.createElement("svg", {
23
+ var MinusIcon = exports.MinusIcon = function MinusIcon() {
24
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
16
25
  xmlns: "http://www.w3.org/2000/svg",
17
26
  className: "ionicon",
18
- viewBox: "0 0 512 512"
19
- }, /*#__PURE__*/React.createElement("path", {
20
- strokeLinecap: "round",
21
- strokeLinejoin: "round",
22
- d: "M400 256H112",
23
- className: "ionicon-fill-none ionicon-stroke-width"
24
- }));
27
+ viewBox: "0 0 512 512",
28
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
29
+ strokeLinecap: "round",
30
+ strokeLinejoin: "round",
31
+ d: "M400 256H112",
32
+ className: "ionicon-fill-none ionicon-stroke-width"
33
+ })
34
+ });
25
35
  };
26
- export var CloseIcon = function CloseIcon() {
27
- return /*#__PURE__*/React.createElement("svg", {
36
+ var CloseIcon = exports.CloseIcon = function CloseIcon() {
37
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
28
38
  className: "ionicon close-icon",
29
- viewBox: "0 0 512 512"
30
- }, /*#__PURE__*/React.createElement("path", {
31
- strokeLinecap: "round",
32
- strokeLinejoin: "round",
33
- d: "M368 368L144 144M368 144L144 368",
34
- className: "ionicon-fill-none ionicon-stroke-width"
35
- }));
39
+ viewBox: "0 0 512 512",
40
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
41
+ strokeLinecap: "round",
42
+ strokeLinejoin: "round",
43
+ d: "M368 368L144 144M368 144L144 368",
44
+ className: "ionicon-fill-none ionicon-stroke-width"
45
+ })
46
+ });
36
47
  };
37
- export var DangerIcon = function DangerIcon() {
38
- return /*#__PURE__*/React.createElement("svg", {
48
+ var DangerIcon = exports.DangerIcon = function DangerIcon() {
49
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
39
50
  xmlns: "http://www.w3.org/2000/svg",
40
51
  className: "ionicon",
41
- viewBox: "0 0 512 512"
42
- }, /*#__PURE__*/React.createElement("path", {
43
- d: "M85.57 446.25h340.86a32 32 0 0028.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0028.17 47.17z",
44
- strokeLinecap: "round",
45
- strokeLinejoin: "round",
46
- className: "ionicon-fill-none ionicon-stroke-width"
47
- }), /*#__PURE__*/React.createElement("path", {
48
- d: "M250.26 195.39l5.74 122 5.73-121.95a5.74 5.74 0 00-5.79-6h0a5.74 5.74 0 00-5.68 5.95z",
49
- strokeLinecap: "round",
50
- strokeLinejoin: "round",
51
- className: "ionicon-fill-none ionicon-stroke-width"
52
- }), /*#__PURE__*/React.createElement("path", {
53
- d: "M256 397.25a20 20 0 1120-20 20 20 0 01-20 20z"
54
- }));
52
+ viewBox: "0 0 512 512",
53
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
54
+ d: "M85.57 446.25h340.86a32 32 0 0028.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0028.17 47.17z",
55
+ strokeLinecap: "round",
56
+ strokeLinejoin: "round",
57
+ className: "ionicon-fill-none ionicon-stroke-width"
58
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
59
+ d: "M250.26 195.39l5.74 122 5.73-121.95a5.74 5.74 0 00-5.79-6h0a5.74 5.74 0 00-5.68 5.95z",
60
+ strokeLinecap: "round",
61
+ strokeLinejoin: "round",
62
+ className: "ionicon-fill-none ionicon-stroke-width"
63
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
64
+ d: "M256 397.25a20 20 0 1120-20 20 20 0 01-20 20z"
65
+ })]
66
+ });
55
67
  };
56
- export var RocketIcon = function RocketIcon() {
57
- return /*#__PURE__*/React.createElement("svg", {
68
+ var RocketIcon = exports.RocketIcon = function RocketIcon() {
69
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
58
70
  xmlns: "http://www.w3.org/2000/svg",
59
71
  className: "ionicon",
60
- viewBox: "0 0 512 512"
61
- }, /*#__PURE__*/React.createElement("title", null, "Rocket"), /*#__PURE__*/React.createElement("path", {
62
- d: "M461.81 53.81a4.4 4.4 0 00-3.3-3.39c-54.38-13.3-180 34.09-248.13 102.17a294.9 294.9 0 00-33.09 39.08c-21-1.9-42-.3-59.88 7.5-50.49 22.2-65.18 80.18-69.28 105.07a9 9 0 009.8 10.4l81.07-8.9a180.29 180.29 0 001.1 18.3 18.15 18.15 0 005.3 11.09l31.39 31.39a18.15 18.15 0 0011.1 5.3 179.91 179.91 0 0018.19 1.1l-8.89 81a9 9 0 0010.39 9.79c24.9-4 83-18.69 105.07-69.17 7.8-17.9 9.4-38.79 7.6-59.69a293.91 293.91 0 0039.19-33.09c68.38-68 115.47-190.86 102.37-247.95zM298.66 213.67a42.7 42.7 0 1160.38 0 42.65 42.65 0 01-60.38 0z",
63
- strokeLinecap: "round",
64
- strokeLinejoin: "round",
65
- className: "ionicon-fill-none ionicon-stroke-width"
66
- }), /*#__PURE__*/React.createElement("path", {
67
- d: "M109.64 352a45.06 45.06 0 00-26.35 12.84C65.67 382.52 64 448 64 448s65.52-1.67 83.15-19.31A44.73 44.73 0 00160 402.32",
68
- strokeLinecap: "round",
69
- strokeLinejoin: "round",
70
- className: "ionicon-fill-none ionicon-stroke-width"
71
- }));
72
+ viewBox: "0 0 512 512",
73
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
74
+ children: "Rocket"
75
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
76
+ d: "M461.81 53.81a4.4 4.4 0 00-3.3-3.39c-54.38-13.3-180 34.09-248.13 102.17a294.9 294.9 0 00-33.09 39.08c-21-1.9-42-.3-59.88 7.5-50.49 22.2-65.18 80.18-69.28 105.07a9 9 0 009.8 10.4l81.07-8.9a180.29 180.29 0 001.1 18.3 18.15 18.15 0 005.3 11.09l31.39 31.39a18.15 18.15 0 0011.1 5.3 179.91 179.91 0 0018.19 1.1l-8.89 81a9 9 0 0010.39 9.79c24.9-4 83-18.69 105.07-69.17 7.8-17.9 9.4-38.79 7.6-59.69a293.91 293.91 0 0039.19-33.09c68.38-68 115.47-190.86 102.37-247.95zM298.66 213.67a42.7 42.7 0 1160.38 0 42.65 42.65 0 01-60.38 0z",
77
+ strokeLinecap: "round",
78
+ strokeLinejoin: "round",
79
+ className: "ionicon-fill-none ionicon-stroke-width"
80
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
81
+ d: "M109.64 352a45.06 45.06 0 00-26.35 12.84C65.67 382.52 64 448 64 448s65.52-1.67 83.15-19.31A44.73 44.73 0 00160 402.32",
82
+ strokeLinecap: "round",
83
+ strokeLinejoin: "round",
84
+ className: "ionicon-fill-none ionicon-stroke-width"
85
+ })]
86
+ });
72
87
  };