@codacy/ui-components 0.66.25 → 0.66.27

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 (282) hide show
  1. package/lib/Avatar/Avatar.js +20 -28
  2. package/lib/Avatar/Avatar.types.js +1 -5
  3. package/lib/Avatar/gravatar.js +14 -22
  4. package/lib/Avatar/index.js +1 -16
  5. package/lib/Banner/Banner.js +33 -50
  6. package/lib/Banner/Banner.styles.d.ts +1 -1
  7. package/lib/Banner/Banner.styles.js +11 -20
  8. package/lib/Banner/Banner.types.js +1 -5
  9. package/lib/Banner/index.js +2 -27
  10. package/lib/Bannerol/Bannerol.js +44 -61
  11. package/lib/Bannerol/Bannerol.styles.js +9 -18
  12. package/lib/Bannerol/Bannerol.types.js +1 -5
  13. package/lib/Bannerol/index.js +3 -38
  14. package/lib/BigTabs/BigTabs.js +39 -54
  15. package/lib/BigTabs/BigTabs.styles.js +79 -107
  16. package/lib/BigTabs/BigTabs.types.js +1 -5
  17. package/lib/BigTabs/index.js +1 -16
  18. package/lib/Button/Button.js +45 -67
  19. package/lib/Button/index.js +2 -27
  20. package/lib/Button/styles.js +101 -130
  21. package/lib/Button/types.js +1 -5
  22. package/lib/Checkbox/Checkbox.js +55 -68
  23. package/lib/Checkbox/CheckboxFilterList.js +33 -66
  24. package/lib/Checkbox/index.js +3 -38
  25. package/lib/Checkbox/styles.js +64 -86
  26. package/lib/Checkbox/types.js +1 -5
  27. package/lib/CloseButton/index.d.ts +1 -1
  28. package/lib/CloseButton/index.js +24 -36
  29. package/lib/Divider/Divider.js +14 -25
  30. package/lib/Divider/Divider.styles.d.ts +1 -1
  31. package/lib/Divider/Divider.styles.js +24 -38
  32. package/lib/Divider/Divider.types.js +1 -5
  33. package/lib/Divider/index.js +1 -16
  34. package/lib/Dropdown/Content/DropdownInput.js +10 -20
  35. package/lib/Dropdown/Content/DropdownItem.js +22 -36
  36. package/lib/Dropdown/Content/DropdownSeparator.js +8 -19
  37. package/lib/Dropdown/Content/DropdownTitle.js +8 -22
  38. package/lib/Dropdown/Content/index.js +4 -49
  39. package/lib/Dropdown/Dropdown.js +74 -102
  40. package/lib/Dropdown/Dropdown.styles.d.ts +1 -1
  41. package/lib/Dropdown/Dropdown.styles.js +60 -82
  42. package/lib/Dropdown/Dropdown.types.js +1 -5
  43. package/lib/Dropdown/Triggers/DropdownButtonTrigger.js +19 -32
  44. package/lib/Dropdown/Triggers/DropdownItemTrigger.js +18 -30
  45. package/lib/Dropdown/Triggers/FilterTrigger.js +66 -93
  46. package/lib/Dropdown/Triggers/InputTrigger.js +15 -24
  47. package/lib/Dropdown/Triggers/SelectTrigger.js +12 -21
  48. package/lib/Dropdown/Triggers/hooks.js +17 -26
  49. package/lib/Dropdown/Triggers/index.js +6 -71
  50. package/lib/Dropdown/Triggers/types.js +1 -5
  51. package/lib/Dropdown/index.js +4 -49
  52. package/lib/ExpandableBox/ExpandableBox.js +28 -43
  53. package/lib/ExpandableBox/ExpandableBox.styles.d.ts +2 -2
  54. package/lib/ExpandableBox/ExpandableBox.styles.js +27 -40
  55. package/lib/ExpandableBox/ExpandableBox.types.js +1 -5
  56. package/lib/ExpandableBox/index.js +1 -16
  57. package/lib/Flexbox/Flexbox.js +14 -21
  58. package/lib/Flexbox/index.js +1 -16
  59. package/lib/Group/Group.js +7 -18
  60. package/lib/Group/Group.styles.js +8 -16
  61. package/lib/Group/Group.types.js +1 -5
  62. package/lib/Group/index.js +1 -16
  63. package/lib/Icon/Icon.js +15 -26
  64. package/lib/Icon/Icon.styles.d.ts +1 -1
  65. package/lib/Icon/Icon.styles.js +57 -50
  66. package/lib/Icon/Icon.types.js +1 -5
  67. package/lib/Icon/index.js +1 -16
  68. package/lib/IconAndText/IconAndText.js +23 -36
  69. package/lib/IconAndText/IconAndText.styles.js +19 -29
  70. package/lib/IconAndText/IconAndText.types.js +1 -5
  71. package/lib/IconAndText/index.js +1 -16
  72. package/lib/Icons/Chevrons.js +45 -65
  73. package/lib/Icons/CodacyIcon.js +9 -20
  74. package/lib/Icons/Ellipsis.js +18 -29
  75. package/lib/Icons/Messages.js +58 -79
  76. package/lib/Icons/Search.js +8 -19
  77. package/lib/Icons/Severities.js +113 -149
  78. package/lib/Icons/Sorting.js +15 -29
  79. package/lib/Icons/Spinner.js +11 -22
  80. package/lib/Icons/Symbols.js +67 -90
  81. package/lib/Icons/index.js +8 -93
  82. package/lib/Img/Img.js +26 -45
  83. package/lib/Img/Img.styles.d.ts +2 -2
  84. package/lib/Img/Img.styles.js +21 -29
  85. package/lib/Img/Img.types.js +1 -5
  86. package/lib/Img/index.js +1 -16
  87. package/lib/InlineMessage/InlineMessage.js +43 -70
  88. package/lib/InlineMessage/index.js +1 -16
  89. package/lib/InlineMessage/types.js +1 -5
  90. package/lib/Input/Input.js +115 -143
  91. package/lib/Input/hooks.js +107 -208
  92. package/lib/Input/index.js +2 -27
  93. package/lib/Input/styles.d.ts +2 -2
  94. package/lib/Input/styles.js +116 -151
  95. package/lib/Input/types.js +1 -5
  96. package/lib/Labeled/Labeled.js +22 -35
  97. package/lib/Labeled/index.js +1 -16
  98. package/lib/Labeled/styles.js +23 -37
  99. package/lib/Labeled/types.js +1 -5
  100. package/lib/LeftMenu/LeftMenu.js +10 -21
  101. package/lib/LeftMenu/LeftMenu.styles.js +25 -43
  102. package/lib/LeftMenu/LeftMenu.types.js +1 -5
  103. package/lib/LeftMenu/index.js +1 -16
  104. package/lib/Link/Link.js +32 -50
  105. package/lib/Link/Link.styles.js +11 -23
  106. package/lib/Link/Link.types.js +1 -5
  107. package/lib/Link/index.js +3 -38
  108. package/lib/Message/Message.js +31 -42
  109. package/lib/Message/Message.styles.js +18 -31
  110. package/lib/Message/Message.types.js +1 -5
  111. package/lib/Message/index.js +1 -16
  112. package/lib/Modal/ConfirmationModal.js +40 -67
  113. package/lib/Modal/Modal.js +107 -137
  114. package/lib/Modal/index.js +2 -27
  115. package/lib/Modal/styles.js +44 -62
  116. package/lib/Modal/types.js +1 -5
  117. package/lib/MoreInfo/MoreInfo.js +41 -53
  118. package/lib/MoreInfo/index.js +1 -16
  119. package/lib/MoreInfo/types.js +1 -5
  120. package/lib/MultiSlider/MultiSlider.js +17 -31
  121. package/lib/MultiSlider/index.js +1 -16
  122. package/lib/MultiSlider/styles.js +18 -34
  123. package/lib/MultiSlider/types.js +1 -5
  124. package/lib/Panel/Panel.js +9 -19
  125. package/lib/Panel/Panel.styles.js +15 -26
  126. package/lib/Panel/Panel.types.js +1 -5
  127. package/lib/Panel/index.js +2 -27
  128. package/lib/PillLabel/PillLabel.js +35 -49
  129. package/lib/PillLabel/PillLabel.styles.js +33 -44
  130. package/lib/PillLabel/PillLabel.types.js +1 -5
  131. package/lib/PillLabel/index.js +1 -16
  132. package/lib/Popup/Popup.js +43 -61
  133. package/lib/Popup/index.js +1 -16
  134. package/lib/Popup/styles.js +22 -37
  135. package/lib/Popup/types.js +1 -5
  136. package/lib/ProgressBar/ProgressBar.js +19 -34
  137. package/lib/ProgressBar/index.js +2 -27
  138. package/lib/ProgressBar/styles.js +21 -35
  139. package/lib/ProgressBar/types.js +1 -5
  140. package/lib/Radio/Radio.js +47 -59
  141. package/lib/Radio/index.js +1 -16
  142. package/lib/Radio/styles.js +48 -72
  143. package/lib/Radio/types.js +1 -5
  144. package/lib/ScrollableContent/ScrollableContent.js +27 -40
  145. package/lib/ScrollableContent/ScrollableContent.styles.js +22 -39
  146. package/lib/ScrollableContent/ScrollableContent.types.js +1 -5
  147. package/lib/ScrollableContent/index.js +2 -27
  148. package/lib/ScrollableContent/useScrollContainer.js +35 -50
  149. package/lib/Skeleton/Skeleton.js +25 -45
  150. package/lib/Skeleton/Skeleton.styles.js +28 -25
  151. package/lib/Skeleton/Skeleton.types.js +1 -5
  152. package/lib/Skeleton/index.js +2 -20
  153. package/lib/Slider/Slider.js +32 -56
  154. package/lib/Slider/index.js +1 -16
  155. package/lib/Slider/styles.js +41 -60
  156. package/lib/Slider/types.js +1 -5
  157. package/lib/StepNumber/StepNumber.js +26 -40
  158. package/lib/StepNumber/index.js +1 -16
  159. package/lib/StepNumber/styles.js +13 -24
  160. package/lib/StepNumber/types.js +1 -5
  161. package/lib/Stepper/Stepper.js +45 -62
  162. package/lib/Stepper/Stepper.styles.js +27 -44
  163. package/lib/Stepper/Stepper.types.js +1 -5
  164. package/lib/Stepper/index.js +1 -16
  165. package/lib/Switcher/Switcher.js +22 -34
  166. package/lib/Switcher/Switcher.styles.js +27 -42
  167. package/lib/Switcher/Switcher.types.js +1 -5
  168. package/lib/Switcher/index.js +1 -16
  169. package/lib/Tab/Tab.js +21 -33
  170. package/lib/Tab/Tab.styles.js +34 -50
  171. package/lib/Tab/Tab.types.js +1 -5
  172. package/lib/Tab/index.js +1 -16
  173. package/lib/Table/NewSelectableTable.js +59 -97
  174. package/lib/Table/SelectableTable.js +142 -189
  175. package/lib/Table/Table.js +110 -155
  176. package/lib/Table/Table.styles.js +67 -90
  177. package/lib/Table/Table.types.js +1 -5
  178. package/lib/Table/index.js +2 -27
  179. package/lib/TagsInput/TagsInput.js +32 -46
  180. package/lib/TagsInput/index.js +1 -16
  181. package/lib/TagsInput/style.js +45 -71
  182. package/lib/TagsInput/types.js +1 -5
  183. package/lib/Textarea/Textarea.js +52 -71
  184. package/lib/Textarea/Textarea.styles.js +91 -126
  185. package/lib/Textarea/Textarea.types.js +1 -5
  186. package/lib/Textarea/index.js +1 -16
  187. package/lib/ThemeProvider/ThemeProvider.js +41 -65
  188. package/lib/ThemeProvider/index.js +1 -16
  189. package/lib/Toast/Toast.js +53 -68
  190. package/lib/Toast/index.js +1 -16
  191. package/lib/Toast/styles.js +29 -49
  192. package/lib/Toast/types.js +1 -5
  193. package/lib/Toggle/Toggle.js +48 -65
  194. package/lib/Toggle/index.js +1 -16
  195. package/lib/Toggle/styles.d.ts +1 -1
  196. package/lib/Toggle/styles.js +66 -101
  197. package/lib/Toggle/types.js +1 -5
  198. package/lib/Tooltip/Tooltip.js +84 -121
  199. package/lib/Tooltip/index.js +2 -27
  200. package/lib/Tooltip/styles.js +61 -91
  201. package/lib/Tooltip/types.js +1 -5
  202. package/lib/Typography/Typography.js +78 -116
  203. package/lib/Typography/Typography.styles.js +61 -78
  204. package/lib/Typography/Typography.types.js +1 -5
  205. package/lib/Typography/index.js +3 -38
  206. package/lib/emotion.d.js +1 -3
  207. package/lib/hooks/index.d.ts +1 -0
  208. package/lib/hooks/index.js +4 -38
  209. package/lib/hooks/useForwardedRef.js +5 -11
  210. package/lib/hooks/useInfiniteScroll.js +13 -25
  211. package/lib/hooks/useStatefulRef.js +10 -23
  212. package/lib/index.js +49 -544
  213. package/lib/system-props/color.js +3 -9
  214. package/lib/system-props/index.js +2 -27
  215. package/lib/system-props/types.js +1 -5
  216. package/lib/theme/ColorSchemes/components/alerts.js +30 -38
  217. package/lib/theme/ColorSchemes/components/button.js +89 -97
  218. package/lib/theme/ColorSchemes/components/cards.js +16 -24
  219. package/lib/theme/ColorSchemes/components/charts.js +93 -101
  220. package/lib/theme/ColorSchemes/components/checkbox-input.js +13 -21
  221. package/lib/theme/ColorSchemes/components/divider.js +4 -12
  222. package/lib/theme/ColorSchemes/components/drawer.js +21 -29
  223. package/lib/theme/ColorSchemes/components/effects.js +5 -13
  224. package/lib/theme/ColorSchemes/components/filters.js +12 -20
  225. package/lib/theme/ColorSchemes/components/index.js +23 -258
  226. package/lib/theme/ColorSchemes/components/input.js +38 -46
  227. package/lib/theme/ColorSchemes/components/issues.js +27 -35
  228. package/lib/theme/ColorSchemes/components/label.js +33 -41
  229. package/lib/theme/ColorSchemes/components/list-orb.js +8 -16
  230. package/lib/theme/ColorSchemes/components/loading.js +4 -12
  231. package/lib/theme/ColorSchemes/components/logo.js +6 -14
  232. package/lib/theme/ColorSchemes/components/modals.js +6 -14
  233. package/lib/theme/ColorSchemes/components/navigation.js +17 -25
  234. package/lib/theme/ColorSchemes/components/progress-bar.js +5 -13
  235. package/lib/theme/ColorSchemes/components/selector.js +20 -28
  236. package/lib/theme/ColorSchemes/components/stepper.js +9 -17
  237. package/lib/theme/ColorSchemes/components/tables.js +12 -20
  238. package/lib/theme/ColorSchemes/components/tabs.js +13 -21
  239. package/lib/theme/ColorSchemes/components/tooltip.js +6 -14
  240. package/lib/theme/ColorSchemes/components/utils.js +1 -11
  241. package/lib/theme/ColorSchemes/dark/background.d.ts +27 -27
  242. package/lib/theme/ColorSchemes/dark/background.js +42 -50
  243. package/lib/theme/ColorSchemes/dark/border.d.ts +27 -27
  244. package/lib/theme/ColorSchemes/dark/border.js +37 -45
  245. package/lib/theme/ColorSchemes/dark/data.js +18 -24
  246. package/lib/theme/ColorSchemes/dark/icon.d.ts +27 -27
  247. package/lib/theme/ColorSchemes/dark/icon.js +40 -48
  248. package/lib/theme/ColorSchemes/dark/illustration.js +11 -17
  249. package/lib/theme/ColorSchemes/dark/index.js +60 -31
  250. package/lib/theme/ColorSchemes/dark/text.d.ts +27 -27
  251. package/lib/theme/ColorSchemes/dark/text.js +47 -54
  252. package/lib/theme/ColorSchemes/index.js +4 -49
  253. package/lib/theme/ColorSchemes/light/background.d.ts +27 -27
  254. package/lib/theme/ColorSchemes/light/background.js +42 -50
  255. package/lib/theme/ColorSchemes/light/border.d.ts +27 -27
  256. package/lib/theme/ColorSchemes/light/border.js +37 -45
  257. package/lib/theme/ColorSchemes/light/data.js +18 -24
  258. package/lib/theme/ColorSchemes/light/icon.d.ts +27 -27
  259. package/lib/theme/ColorSchemes/light/icon.js +40 -48
  260. package/lib/theme/ColorSchemes/light/illustration.js +11 -17
  261. package/lib/theme/ColorSchemes/light/index.d.ts +54 -54
  262. package/lib/theme/ColorSchemes/light/index.js +43 -19
  263. package/lib/theme/ColorSchemes/light/text.d.ts +27 -27
  264. package/lib/theme/ColorSchemes/light/text.js +47 -54
  265. package/lib/theme/ColorSchemes/primitives/blue.js +1 -7
  266. package/lib/theme/ColorSchemes/primitives/green.js +1 -7
  267. package/lib/theme/ColorSchemes/primitives/grey.js +1 -7
  268. package/lib/theme/ColorSchemes/primitives/index.d.ts +9 -9
  269. package/lib/theme/ColorSchemes/primitives/index.js +20 -18
  270. package/lib/theme/ColorSchemes/primitives/magenta.js +1 -7
  271. package/lib/theme/ColorSchemes/primitives/orange.js +1 -7
  272. package/lib/theme/ColorSchemes/primitives/purple.js +1 -7
  273. package/lib/theme/ColorSchemes/primitives/red.js +1 -7
  274. package/lib/theme/ColorSchemes/primitives/teal.js +1 -7
  275. package/lib/theme/ColorSchemes/primitives/yellow.js +1 -7
  276. package/lib/theme/ColorSchemes/semantics.js +7 -13
  277. package/lib/theme/index.js +2 -27
  278. package/lib/theme/theme.js +68 -77
  279. package/lib/types.js +1 -5
  280. package/lib/utils/hash.js +3 -9
  281. package/lib/utils/reactNodeToText.js +9 -17
  282. package/package.json +21 -11
@@ -1,29 +1,18 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.EllipsisIcon = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _jsxRuntime = require("react/jsx-runtime");
10
- var EllipsisIcon = exports.EllipsisIcon = function EllipsisIcon() {
11
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
12
- xmlns: "http://www.w3.org/2000/svg",
13
- className: "ionicon",
14
- viewBox: "0 0 512 512",
15
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
16
- cx: "256",
17
- cy: "256",
18
- r: "48"
19
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
20
- cx: "416",
21
- cy: "256",
22
- r: "48"
23
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
24
- cx: "96",
25
- cy: "256",
26
- r: "48"
27
- })]
28
- });
29
- };
1
+ import React from 'react';
2
+ export const EllipsisIcon = () => /*#__PURE__*/React.createElement("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ className: "ionicon",
5
+ viewBox: "0 0 512 512"
6
+ }, /*#__PURE__*/React.createElement("circle", {
7
+ cx: "256",
8
+ cy: "256",
9
+ r: "48"
10
+ }), /*#__PURE__*/React.createElement("circle", {
11
+ cx: "416",
12
+ cy: "256",
13
+ r: "48"
14
+ }), /*#__PURE__*/React.createElement("circle", {
15
+ cx: "96",
16
+ cy: "256",
17
+ r: "48"
18
+ }));
@@ -1,94 +1,73 @@
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.RocketFilledIcon = 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(_ref) {
12
- var _ref$color = _ref.color,
13
- color = _ref$color === void 0 ? 'icon-danger' : _ref$color;
14
- var theme = (0, _react2.useTheme)();
15
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
1
+ import React from 'react';
2
+ import { useTheme } from '@emotion/react';
3
+ export const ErrorIcon = ({
4
+ color = 'icon-danger'
5
+ }) => {
6
+ const theme = useTheme();
7
+ return /*#__PURE__*/React.createElement("svg", {
16
8
  xmlns: "http://www.w3.org/2000/svg",
17
9
  className: "ionicon",
18
- viewBox: "0 0 512 512",
19
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
20
- children: "Error"
21
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
22
- fill: theme.colors[color],
23
- 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"
24
- })]
25
- });
10
+ viewBox: "0 0 512 512"
11
+ }, /*#__PURE__*/React.createElement("title", null, "Error"), /*#__PURE__*/React.createElement("path", {
12
+ fill: theme.colors[color],
13
+ 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"
14
+ }));
26
15
  };
27
- var SuccessIcon = exports.SuccessIcon = function SuccessIcon(_ref2) {
28
- var _ref2$color = _ref2.color,
29
- color = _ref2$color === void 0 ? 'icon-success' : _ref2$color;
30
- var theme = (0, _react2.useTheme)();
31
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
16
+ export const SuccessIcon = ({
17
+ color = 'icon-success'
18
+ }) => {
19
+ const theme = useTheme();
20
+ return /*#__PURE__*/React.createElement("svg", {
32
21
  xmlns: "http://www.w3.org/2000/svg",
33
22
  className: "ionicon",
34
- viewBox: "0 0 512 512",
35
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
36
- children: "Success"
37
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
38
- fill: theme.colors[color],
39
- 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"
40
- })]
41
- });
23
+ viewBox: "0 0 512 512"
24
+ }, /*#__PURE__*/React.createElement("title", null, "Success"), /*#__PURE__*/React.createElement("path", {
25
+ fill: theme.colors[color],
26
+ 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"
27
+ }));
42
28
  };
43
- var InfoIcon = exports.InfoIcon = function InfoIcon(_ref3) {
44
- var _ref3$color = _ref3.color,
45
- color = _ref3$color === void 0 ? 'icon-info' : _ref3$color;
46
- var theme = (0, _react2.useTheme)();
47
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
29
+ export const InfoIcon = ({
30
+ color = 'icon-info'
31
+ }) => {
32
+ const theme = useTheme();
33
+ return /*#__PURE__*/React.createElement("svg", {
48
34
  xmlns: "http://www.w3.org/2000/svg",
49
35
  className: "ionicon",
50
- viewBox: "0 0 512 512",
51
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
52
- children: "Info"
53
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
54
- fill: theme.colors[color],
55
- 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"
56
- })]
57
- });
36
+ viewBox: "0 0 512 512"
37
+ }, /*#__PURE__*/React.createElement("title", null, "Info"), /*#__PURE__*/React.createElement("path", {
38
+ fill: theme.colors[color],
39
+ 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"
40
+ }));
58
41
  };
59
- var WarningIcon = exports.WarningIcon = function WarningIcon(_ref4) {
60
- var _ref4$color = _ref4.color,
61
- color = _ref4$color === void 0 ? 'icon-warning' : _ref4$color;
62
- var theme = (0, _react2.useTheme)();
63
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
42
+ export const WarningIcon = ({
43
+ color = 'icon-warning'
44
+ }) => {
45
+ const theme = useTheme();
46
+ return /*#__PURE__*/React.createElement("svg", {
64
47
  xmlns: "http://www.w3.org/2000/svg",
65
48
  className: "ionicon",
66
- viewBox: "0 0 512 512",
67
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
68
- children: "Warning"
69
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
70
- fill: theme.colors[color],
71
- 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"
72
- })]
73
- });
49
+ viewBox: "0 0 512 512"
50
+ }, /*#__PURE__*/React.createElement("title", null, "Warning"), /*#__PURE__*/React.createElement("path", {
51
+ fill: theme.colors[color],
52
+ 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"
53
+ }));
74
54
  };
75
- var RocketFilledIcon = exports.RocketFilledIcon = function RocketFilledIcon(_ref5) {
76
- var _ref5$color = _ref5.color,
77
- color = _ref5$color === void 0 ? 'icon-warning' : _ref5$color;
78
- var theme = (0, _react2.useTheme)();
79
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
55
+ export const RocketFilledIcon = ({
56
+ color = 'icon-warning'
57
+ }) => {
58
+ const theme = useTheme();
59
+ return /*#__PURE__*/React.createElement("svg", {
80
60
  xmlns: "http://www.w3.org/2000/svg",
81
61
  className: "ionicon",
82
- viewBox: "0 0 512 512",
83
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
84
- d: "M328.85 156.79a26.69 26.69 0 1018.88 7.81 26.6 26.6 0 00-18.88-7.81z",
85
- fill: theme.colors[color]
86
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
87
- d: "M477.44 50.06a.29.29 0 010-.09 20.4 20.4 0 00-15.13-15.3c-29.8-7.27-76.68.48-128.63 21.28-52.36 21-101.42 52-134.58 85.22A320.7 320.7 0 00169.55 175c-22.33-1-42 2.18-58.57 9.41-57.74 25.41-74.23 90.44-78.62 117.14a25 25 0 0027.19 29h.13l64.32-7.02c.08.82.17 1.57.24 2.26a34.36 34.36 0 009.9 20.72l31.39 31.41a34.27 34.27 0 0020.71 9.91l2.15.23-7 64.24v.13A25 25 0 00206 480a25.25 25.25 0 004.15-.34C237 475.34 302 459.05 327.34 401c7.17-16.46 10.34-36.05 9.45-58.34a314.78 314.78 0 0033.95-29.55c33.43-33.26 64.53-81.92 85.31-133.52 20.69-51.36 28.48-98.59 21.39-129.53zM370.38 224.94a58.77 58.77 0 110-83.07 58.3 58.3 0 010 83.07z",
88
- fill: theme.colors[color]
89
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
90
- d: "M161.93 386.44a16 16 0 00-11 2.67c-6.39 4.37-12.81 8.69-19.29 12.9-13.11 8.52-28.79-6.44-21-20l12.15-21a16 16 0 00-15.16-24.91A61.25 61.25 0 0072 353.56c-3.66 3.67-14.79 14.81-20.78 57.26A357.94 357.94 0 0048 447.59 16 16 0 0064 464h.4a359.87 359.87 0 0036.8-3.2c42.47-6 53.61-17.14 57.27-20.8a60.49 60.49 0 0017.39-35.74 16 16 0 00-13.93-17.82z",
91
- fill: theme.colors[color]
92
- })]
93
- });
62
+ viewBox: "0 0 512 512"
63
+ }, /*#__PURE__*/React.createElement("path", {
64
+ d: "M328.85 156.79a26.69 26.69 0 1018.88 7.81 26.6 26.6 0 00-18.88-7.81z",
65
+ fill: theme.colors[color]
66
+ }), /*#__PURE__*/React.createElement("path", {
67
+ d: "M477.44 50.06a.29.29 0 010-.09 20.4 20.4 0 00-15.13-15.3c-29.8-7.27-76.68.48-128.63 21.28-52.36 21-101.42 52-134.58 85.22A320.7 320.7 0 00169.55 175c-22.33-1-42 2.18-58.57 9.41-57.74 25.41-74.23 90.44-78.62 117.14a25 25 0 0027.19 29h.13l64.32-7.02c.08.82.17 1.57.24 2.26a34.36 34.36 0 009.9 20.72l31.39 31.41a34.27 34.27 0 0020.71 9.91l2.15.23-7 64.24v.13A25 25 0 00206 480a25.25 25.25 0 004.15-.34C237 475.34 302 459.05 327.34 401c7.17-16.46 10.34-36.05 9.45-58.34a314.78 314.78 0 0033.95-29.55c33.43-33.26 64.53-81.92 85.31-133.52 20.69-51.36 28.48-98.59 21.39-129.53zM370.38 224.94a58.77 58.77 0 110-83.07 58.3 58.3 0 010 83.07z",
68
+ fill: theme.colors[color]
69
+ }), /*#__PURE__*/React.createElement("path", {
70
+ d: "M161.93 386.44a16 16 0 00-11 2.67c-6.39 4.37-12.81 8.69-19.29 12.9-13.11 8.52-28.79-6.44-21-20l12.15-21a16 16 0 00-15.16-24.91A61.25 61.25 0 0072 353.56c-3.66 3.67-14.79 14.81-20.78 57.26A357.94 357.94 0 0048 447.59 16 16 0 0064 464h.4a359.87 359.87 0 0036.8-3.2c42.47-6 53.61-17.14 57.27-20.8a60.49 60.49 0 0017.39-35.74 16 16 0 00-13.93-17.82z",
71
+ fill: theme.colors[color]
72
+ }));
94
73
  };
@@ -1,19 +1,8 @@
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", {
12
- xmlns: "http://www.w3.org/2000/svg",
13
- className: "ionicon",
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
- });
19
- };
1
+ import React from 'react';
2
+ export const SearchIcon = () => /*#__PURE__*/React.createElement("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ className: "ionicon",
5
+ viewBox: "0 0 512 512"
6
+ }, /*#__PURE__*/React.createElement("path", {
7
+ 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"
8
+ }));
@@ -1,149 +1,113 @@
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.HighSeverityIcon = 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", {
12
- viewBox: "0 0 13 12",
13
- xmlns: "http://www.w3.org/2000/svg",
14
- className: "codacy-icon fill-none",
15
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
16
- "clip-path": "url(#clip0_19098_947)",
17
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
18
- d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
19
- className: "stroke-none"
20
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
21
- d: "M4.60339 6.25H5.80847C5.97165 6.25 6.10437 6.38272 6.10437 6.5459V10.3633C6.10437 10.5265 5.97165 10.6592 5.80847 10.6592H4.60339C4.44022 10.6592 4.3075 10.5265 4.3075 10.3633L4.3075 6.5459L4.31335 6.48633C4.34074 6.35148 4.46046 6.25 4.60339 6.25Z",
22
- strokeWidth: "0.5",
23
- className: "fill-none"
24
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
25
- d: "M7.47424 3.79541H8.67932C8.8425 3.79541 8.97522 3.92813 8.97522 4.09131V10.3638C8.97512 10.5269 8.84244 10.6587 8.67932 10.6587H7.47424C7.31113 10.6587 7.17844 10.5269 7.17834 10.3638L7.17834 4.09131C7.17834 3.92813 7.31107 3.79541 7.47424 3.79541Z",
26
- strokeWidth: "0.5",
27
- className: "fill-none"
28
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
29
- d: "M10.345 1.34082L11.55 1.34082C11.7132 1.34082 11.8459 1.47354 11.8459 1.63672V10.3633C11.8459 10.5265 11.7132 10.6592 11.55 10.6592H10.345C10.1818 10.6592 10.0491 10.5265 10.0491 10.3633L10.0491 1.63672C10.0491 1.47354 10.1818 1.34082 10.345 1.34082Z",
30
- strokeWidth: "0.5",
31
- className: "fill-none"
32
- })]
33
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
34
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
35
- id: "clip0_19098_947",
36
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
37
- width: "12",
38
- height: "12",
39
- fill: "white",
40
- transform: "translate(0.641235)"
41
- })
42
- })
43
- })]
44
- });
45
- };
46
- var MediumSeverityIcon = exports.MediumSeverityIcon = function MediumSeverityIcon() {
47
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
48
- viewBox: "0 0 13 12",
49
- className: "codacy-icon fill-none",
50
- xmlns: "http://www.w3.org/2000/svg",
51
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
52
- "clip-path": "url(#clip0_19098_875)",
53
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
54
- d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
55
- className: "stroke-none"
56
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
57
- d: "M4.0575 6.54545C4.0575 6.24421 4.3017 6 4.60295 6H5.80869C6.10994 6 6.35415 6.24421 6.35415 6.54545V10.3636C6.35415 10.6649 6.10994 10.9091 5.80869 10.9091H4.60295C4.3017 10.9091 4.0575 10.6649 4.0575 10.3636L4.0575 6.54545Z",
58
- className: "stroke-none"
59
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
60
- d: "M7.47424 3.79541H8.67932C8.8425 3.79541 8.97522 3.92813 8.97522 4.09131V10.3638C8.97512 10.5269 8.84244 10.6587 8.67932 10.6587H7.47424C7.31113 10.6587 7.17844 10.5269 7.17834 10.3638L7.17834 4.09131C7.17834 3.92813 7.31107 3.79541 7.47424 3.79541Z",
61
- strokeWidth: "0.5",
62
- className: "fill-none"
63
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
64
- d: "M10.345 1.34082L11.55 1.34082C11.7132 1.34082 11.8459 1.47354 11.8459 1.63672V10.3633C11.8459 10.5265 11.7132 10.6592 11.55 10.6592H10.345C10.1818 10.6592 10.0491 10.5265 10.0491 10.3633L10.0491 1.63672C10.0491 1.47354 10.1818 1.34082 10.345 1.34082Z",
65
- strokeWidth: "0.5",
66
- className: "fill-none"
67
- })]
68
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
69
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
70
- id: "clip0_19098_875",
71
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
72
- width: "12",
73
- height: "12",
74
- fill: "white",
75
- transform: "translate(0.641235)"
76
- })
77
- })
78
- })]
79
- });
80
- };
81
- var HighSeverityIcon = exports.HighSeverityIcon = function HighSeverityIcon() {
82
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
83
- viewBox: "0 0 13 12",
84
- fill: "none",
85
- xmlns: "http://www.w3.org/2000/svg",
86
- className: "codacy-icon fill-none",
87
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
88
- "clip-path": "url(#clip0_19098_4408)",
89
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
90
- d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
91
- className: "stroke-none"
92
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
93
- d: "M4.0575 6.54545C4.0575 6.24421 4.3017 6 4.60295 6H5.80869C6.10994 6 6.35415 6.24421 6.35415 6.54545V10.3636C6.35415 10.6649 6.10994 10.9091 5.80869 10.9091H4.60295C4.3017 10.9091 4.0575 10.6649 4.0575 10.3636L4.0575 6.54545Z",
94
- className: "stroke-none"
95
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
96
- d: "M6.92834 4.09086C6.92834 3.78962 7.17255 3.54541 7.4738 3.54541H8.67954C8.98079 3.54541 9.225 3.78962 9.225 4.09086V10.3636C9.225 10.6648 8.98079 10.909 8.67954 10.909H7.4738C7.17255 10.909 6.92834 10.6648 6.92834 10.3636L6.92834 4.09086Z",
97
- className: "stroke-none"
98
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
99
- d: "M10.345 1.34082L11.55 1.34082C11.7132 1.34082 11.8459 1.47354 11.8459 1.63672V10.3633C11.8459 10.5265 11.7132 10.6592 11.55 10.6592H10.345C10.1818 10.6592 10.0491 10.5265 10.0491 10.3633L10.0491 1.63672C10.0491 1.47354 10.1818 1.34082 10.345 1.34082Z",
100
- strokeWidth: "0.5",
101
- className: "fill-none"
102
- })]
103
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
104
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
105
- id: "clip0_19098_4408",
106
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
107
- width: "12",
108
- height: "12",
109
- fill: "white",
110
- transform: "translate(0.641235)"
111
- })
112
- })
113
- })]
114
- });
115
- };
116
- var CriticalSeverityIcon = exports.CriticalSeverityIcon = function CriticalSeverityIcon() {
117
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
118
- viewBox: "0 0 13 12",
119
- fill: "none",
120
- xmlns: "http://www.w3.org/2000/svg",
121
- className: "codacy-icon fill-none",
122
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
123
- "clip-path": "url(#clip0_19098_1435)",
124
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
125
- d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
126
- className: "stroke-none"
127
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
128
- d: "M4.0575 6.54545C4.0575 6.24421 4.3017 6 4.60295 6H5.80869C6.10994 6 6.35415 6.24421 6.35415 6.54545V10.3636C6.35415 10.6649 6.10994 10.9091 5.80869 10.9091H4.60295C4.3017 10.9091 4.0575 10.6649 4.0575 10.3636L4.0575 6.54545Z",
129
- className: "stroke-none"
130
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
131
- d: "M6.92834 4.09086C6.92834 3.78962 7.17255 3.54541 7.4738 3.54541H8.67954C8.98079 3.54541 9.225 3.78962 9.225 4.09086V10.3636C9.225 10.6648 8.98079 10.909 8.67954 10.909H7.4738C7.17255 10.909 6.92834 10.6648 6.92834 10.3636L6.92834 4.09086Z",
132
- className: "stroke-none"
133
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
134
- d: "M9.79907 1.63628C9.79907 1.33503 10.0433 1.09082 10.3445 1.09082L11.5503 1.09082C11.8515 1.09082 12.0957 1.33503 12.0957 1.63627V10.3635C12.0957 10.6648 11.8515 10.909 11.5503 10.909H10.3445C10.0433 10.909 9.79907 10.6648 9.79907 10.3635L9.79907 1.63628Z",
135
- className: "stroke-none"
136
- })]
137
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
138
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("clipPath", {
139
- id: "clip0_19098_1435",
140
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)("rect", {
141
- width: "12",
142
- height: "12",
143
- fill: "white",
144
- transform: "translate(0.641235)"
145
- })
146
- })
147
- })]
148
- });
149
- };
1
+ import React from 'react';
2
+ export const MinorSeverityIcon = () => /*#__PURE__*/React.createElement("svg", {
3
+ viewBox: "0 0 13 12",
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ className: "codacy-icon fill-none"
6
+ }, /*#__PURE__*/React.createElement("g", {
7
+ "clip-path": "url(#clip0_19098_947)"
8
+ }, /*#__PURE__*/React.createElement("path", {
9
+ d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
10
+ className: "stroke-none"
11
+ }), /*#__PURE__*/React.createElement("path", {
12
+ d: "M4.60339 6.25H5.80847C5.97165 6.25 6.10437 6.38272 6.10437 6.5459V10.3633C6.10437 10.5265 5.97165 10.6592 5.80847 10.6592H4.60339C4.44022 10.6592 4.3075 10.5265 4.3075 10.3633L4.3075 6.5459L4.31335 6.48633C4.34074 6.35148 4.46046 6.25 4.60339 6.25Z",
13
+ strokeWidth: "0.5",
14
+ className: "fill-none"
15
+ }), /*#__PURE__*/React.createElement("path", {
16
+ d: "M7.47424 3.79541H8.67932C8.8425 3.79541 8.97522 3.92813 8.97522 4.09131V10.3638C8.97512 10.5269 8.84244 10.6587 8.67932 10.6587H7.47424C7.31113 10.6587 7.17844 10.5269 7.17834 10.3638L7.17834 4.09131C7.17834 3.92813 7.31107 3.79541 7.47424 3.79541Z",
17
+ strokeWidth: "0.5",
18
+ className: "fill-none"
19
+ }), /*#__PURE__*/React.createElement("path", {
20
+ d: "M10.345 1.34082L11.55 1.34082C11.7132 1.34082 11.8459 1.47354 11.8459 1.63672V10.3633C11.8459 10.5265 11.7132 10.6592 11.55 10.6592H10.345C10.1818 10.6592 10.0491 10.5265 10.0491 10.3633L10.0491 1.63672C10.0491 1.47354 10.1818 1.34082 10.345 1.34082Z",
21
+ strokeWidth: "0.5",
22
+ className: "fill-none"
23
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
24
+ id: "clip0_19098_947"
25
+ }, /*#__PURE__*/React.createElement("rect", {
26
+ width: "12",
27
+ height: "12",
28
+ fill: "white",
29
+ transform: "translate(0.641235)"
30
+ }))));
31
+ export const MediumSeverityIcon = () => /*#__PURE__*/React.createElement("svg", {
32
+ viewBox: "0 0 13 12",
33
+ className: "codacy-icon fill-none",
34
+ xmlns: "http://www.w3.org/2000/svg"
35
+ }, /*#__PURE__*/React.createElement("g", {
36
+ "clip-path": "url(#clip0_19098_875)"
37
+ }, /*#__PURE__*/React.createElement("path", {
38
+ d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
39
+ className: "stroke-none"
40
+ }), /*#__PURE__*/React.createElement("path", {
41
+ d: "M4.0575 6.54545C4.0575 6.24421 4.3017 6 4.60295 6H5.80869C6.10994 6 6.35415 6.24421 6.35415 6.54545V10.3636C6.35415 10.6649 6.10994 10.9091 5.80869 10.9091H4.60295C4.3017 10.9091 4.0575 10.6649 4.0575 10.3636L4.0575 6.54545Z",
42
+ className: "stroke-none"
43
+ }), /*#__PURE__*/React.createElement("path", {
44
+ d: "M7.47424 3.79541H8.67932C8.8425 3.79541 8.97522 3.92813 8.97522 4.09131V10.3638C8.97512 10.5269 8.84244 10.6587 8.67932 10.6587H7.47424C7.31113 10.6587 7.17844 10.5269 7.17834 10.3638L7.17834 4.09131C7.17834 3.92813 7.31107 3.79541 7.47424 3.79541Z",
45
+ strokeWidth: "0.5",
46
+ className: "fill-none"
47
+ }), /*#__PURE__*/React.createElement("path", {
48
+ d: "M10.345 1.34082L11.55 1.34082C11.7132 1.34082 11.8459 1.47354 11.8459 1.63672V10.3633C11.8459 10.5265 11.7132 10.6592 11.55 10.6592H10.345C10.1818 10.6592 10.0491 10.5265 10.0491 10.3633L10.0491 1.63672C10.0491 1.47354 10.1818 1.34082 10.345 1.34082Z",
49
+ strokeWidth: "0.5",
50
+ className: "fill-none"
51
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
52
+ id: "clip0_19098_875"
53
+ }, /*#__PURE__*/React.createElement("rect", {
54
+ width: "12",
55
+ height: "12",
56
+ fill: "white",
57
+ transform: "translate(0.641235)"
58
+ }))));
59
+ export const HighSeverityIcon = () => /*#__PURE__*/React.createElement("svg", {
60
+ viewBox: "0 0 13 12",
61
+ fill: "none",
62
+ xmlns: "http://www.w3.org/2000/svg",
63
+ className: "codacy-icon fill-none"
64
+ }, /*#__PURE__*/React.createElement("g", {
65
+ "clip-path": "url(#clip0_19098_4408)"
66
+ }, /*#__PURE__*/React.createElement("path", {
67
+ d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
68
+ className: "stroke-none"
69
+ }), /*#__PURE__*/React.createElement("path", {
70
+ d: "M4.0575 6.54545C4.0575 6.24421 4.3017 6 4.60295 6H5.80869C6.10994 6 6.35415 6.24421 6.35415 6.54545V10.3636C6.35415 10.6649 6.10994 10.9091 5.80869 10.9091H4.60295C4.3017 10.9091 4.0575 10.6649 4.0575 10.3636L4.0575 6.54545Z",
71
+ className: "stroke-none"
72
+ }), /*#__PURE__*/React.createElement("path", {
73
+ d: "M6.92834 4.09086C6.92834 3.78962 7.17255 3.54541 7.4738 3.54541H8.67954C8.98079 3.54541 9.225 3.78962 9.225 4.09086V10.3636C9.225 10.6648 8.98079 10.909 8.67954 10.909H7.4738C7.17255 10.909 6.92834 10.6648 6.92834 10.3636L6.92834 4.09086Z",
74
+ className: "stroke-none"
75
+ }), /*#__PURE__*/React.createElement("path", {
76
+ d: "M10.345 1.34082L11.55 1.34082C11.7132 1.34082 11.8459 1.47354 11.8459 1.63672V10.3633C11.8459 10.5265 11.7132 10.6592 11.55 10.6592H10.345C10.1818 10.6592 10.0491 10.5265 10.0491 10.3633L10.0491 1.63672C10.0491 1.47354 10.1818 1.34082 10.345 1.34082Z",
77
+ strokeWidth: "0.5",
78
+ className: "fill-none"
79
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
80
+ id: "clip0_19098_4408"
81
+ }, /*#__PURE__*/React.createElement("rect", {
82
+ width: "12",
83
+ height: "12",
84
+ fill: "white",
85
+ transform: "translate(0.641235)"
86
+ }))));
87
+ export const CriticalSeverityIcon = () => /*#__PURE__*/React.createElement("svg", {
88
+ viewBox: "0 0 13 12",
89
+ fill: "none",
90
+ xmlns: "http://www.w3.org/2000/svg",
91
+ className: "codacy-icon fill-none"
92
+ }, /*#__PURE__*/React.createElement("g", {
93
+ "clip-path": "url(#clip0_19098_1435)"
94
+ }, /*#__PURE__*/React.createElement("path", {
95
+ d: "M1.18665 9.00004C1.18665 8.6988 1.43085 8.45459 1.7321 8.45459H2.93784C3.23909 8.45459 3.4833 8.6988 3.4833 9.00004L3.4833 10.3637C3.4833 10.6649 3.23909 10.9091 2.93784 10.9091H1.7321C1.43085 10.9091 1.18665 10.6649 1.18665 10.3637L1.18665 9.00004Z",
96
+ className: "stroke-none"
97
+ }), /*#__PURE__*/React.createElement("path", {
98
+ d: "M4.0575 6.54545C4.0575 6.24421 4.3017 6 4.60295 6H5.80869C6.10994 6 6.35415 6.24421 6.35415 6.54545V10.3636C6.35415 10.6649 6.10994 10.9091 5.80869 10.9091H4.60295C4.3017 10.9091 4.0575 10.6649 4.0575 10.3636L4.0575 6.54545Z",
99
+ className: "stroke-none"
100
+ }), /*#__PURE__*/React.createElement("path", {
101
+ d: "M6.92834 4.09086C6.92834 3.78962 7.17255 3.54541 7.4738 3.54541H8.67954C8.98079 3.54541 9.225 3.78962 9.225 4.09086V10.3636C9.225 10.6648 8.98079 10.909 8.67954 10.909H7.4738C7.17255 10.909 6.92834 10.6648 6.92834 10.3636L6.92834 4.09086Z",
102
+ className: "stroke-none"
103
+ }), /*#__PURE__*/React.createElement("path", {
104
+ d: "M9.79907 1.63628C9.79907 1.33503 10.0433 1.09082 10.3445 1.09082L11.5503 1.09082C11.8515 1.09082 12.0957 1.33503 12.0957 1.63627V10.3635C12.0957 10.6648 11.8515 10.909 11.5503 10.909H10.3445C10.0433 10.909 9.79907 10.6648 9.79907 10.3635L9.79907 1.63628Z",
105
+ className: "stroke-none"
106
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
107
+ id: "clip0_19098_1435"
108
+ }, /*#__PURE__*/React.createElement("rect", {
109
+ width: "12",
110
+ height: "12",
111
+ fill: "white",
112
+ transform: "translate(0.641235)"
113
+ }))));
@@ -1,29 +1,15 @@
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", {
12
- xmlns: "http://www.w3.org/2000/svg",
13
- className: "ionicon",
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
- });
19
- };
20
- var SortUp = exports.SortUp = function SortUp() {
21
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
22
- xmlns: "http://www.w3.org/2000/svg",
23
- className: "ionicon",
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
- });
29
- };
1
+ import React from 'react';
2
+ export const SortDown = () => /*#__PURE__*/React.createElement("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ className: "ionicon",
5
+ viewBox: "0 0 512 512"
6
+ }, /*#__PURE__*/React.createElement("path", {
7
+ 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"
8
+ }));
9
+ export const SortUp = () => /*#__PURE__*/React.createElement("svg", {
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ className: "ionicon",
12
+ viewBox: "0 0 512 512"
13
+ }, /*#__PURE__*/React.createElement("path", {
14
+ 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"
15
+ }));
@@ -1,22 +1,11 @@
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", {
12
- className: "codacy-icon",
13
- xmlns: "http://www.w3.org/2000/svg",
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
- });
22
- };
1
+ import React from 'react';
2
+ export const SpinnerIcon = () => /*#__PURE__*/React.createElement("svg", {
3
+ className: "codacy-icon",
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ viewBox: "0 0 512 512"
6
+ }, /*#__PURE__*/React.createElement("path", {
7
+ className: "fill-none stroke-width",
8
+ d: "M258.28 96a160 160 0 10160 160",
9
+ strokeMiterlimit: "10",
10
+ strokeLinecap: "round"
11
+ }));