@digigov/react-icons 1.0.0-00643e1d → 1.0.0-05af31dd

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 (76) hide show
  1. package/AccessibilityIcon/index.js +1 -1
  2. package/AccessibilityIcon/index.test.js +10 -10
  3. package/ArrowIcon/index.js +1 -1
  4. package/ArrowIcon/index.test.js +5 -5
  5. package/BurgerIcon/index.js +1 -1
  6. package/BurgerIcon/index.test.js +7 -7
  7. package/CaretIcon/index.js +1 -1
  8. package/CaretIcon/index.test.js +5 -5
  9. package/CheckIcon/index.js +1 -1
  10. package/CheckIcon/index.test.js +9 -9
  11. package/CloseIcon/index.js +1 -1
  12. package/CloseIcon/index.test.js +2 -2
  13. package/GlobeIcon/index.js +1 -1
  14. package/GlobeIcon/index.test.js +5 -5
  15. package/Icon/index.js +1 -1
  16. package/Icon/index.test.js +11 -11
  17. package/MoreVertIcon/index.js +1 -1
  18. package/MoreVertIcon/index.test.js +10 -10
  19. package/SearchIcon/index.js +1 -1
  20. package/SearchIcon/index.test.js +2 -2
  21. package/UncheckIcon/index.js +1 -1
  22. package/UncheckIcon/index.test.js +10 -10
  23. package/es/AccessibilityIcon/index.js +1 -1
  24. package/es/AccessibilityIcon/index.test.js +1 -1
  25. package/es/ArrowIcon/index.js +1 -1
  26. package/es/ArrowIcon/index.test.js +1 -1
  27. package/es/BurgerIcon/index.js +1 -1
  28. package/es/BurgerIcon/index.test.js +1 -1
  29. package/es/CaretIcon/index.js +1 -1
  30. package/es/CaretIcon/index.test.js +1 -1
  31. package/es/CheckIcon/index.js +1 -1
  32. package/es/CheckIcon/index.test.js +1 -1
  33. package/es/CloseIcon/index.js +1 -1
  34. package/es/CloseIcon/index.test.js +1 -1
  35. package/es/GlobeIcon/index.js +1 -1
  36. package/es/GlobeIcon/index.test.js +1 -1
  37. package/es/Icon/index.js +1 -1
  38. package/es/Icon/index.test.js +1 -1
  39. package/es/MoreVertIcon/index.js +1 -1
  40. package/es/MoreVertIcon/index.test.js +1 -1
  41. package/es/SearchIcon/index.js +1 -1
  42. package/es/SearchIcon/index.test.js +1 -1
  43. package/es/UncheckIcon/index.js +1 -1
  44. package/es/UncheckIcon/index.test.js +1 -1
  45. package/es/icons.js +10 -10
  46. package/es/index.js +10 -10
  47. package/es/registry.js +13 -13
  48. package/esm/AccessibilityIcon/index.js +1 -1
  49. package/esm/AccessibilityIcon/index.test.js +1 -1
  50. package/esm/ArrowIcon/index.js +1 -1
  51. package/esm/ArrowIcon/index.test.js +1 -1
  52. package/esm/BurgerIcon/index.js +1 -1
  53. package/esm/BurgerIcon/index.test.js +1 -1
  54. package/esm/CaretIcon/index.js +1 -1
  55. package/esm/CaretIcon/index.test.js +1 -1
  56. package/esm/CheckIcon/index.js +1 -1
  57. package/esm/CheckIcon/index.test.js +1 -1
  58. package/esm/CloseIcon/index.js +1 -1
  59. package/esm/CloseIcon/index.test.js +1 -1
  60. package/esm/GlobeIcon/index.js +1 -1
  61. package/esm/GlobeIcon/index.test.js +1 -1
  62. package/esm/Icon/index.js +1 -1
  63. package/esm/Icon/index.test.js +1 -1
  64. package/esm/MoreVertIcon/index.js +1 -1
  65. package/esm/MoreVertIcon/index.test.js +1 -1
  66. package/esm/SearchIcon/index.js +1 -1
  67. package/esm/SearchIcon/index.test.js +1 -1
  68. package/esm/UncheckIcon/index.js +1 -1
  69. package/esm/UncheckIcon/index.test.js +1 -1
  70. package/esm/icons.js +10 -10
  71. package/esm/index.js +10 -10
  72. package/esm/registry.js +13 -13
  73. package/icons.js +10 -10
  74. package/index.js +10 -10
  75. package/package.json +2 -2
  76. package/registry.js +13 -13
@@ -6,15 +6,15 @@ var _react = _interopRequireDefault(require("react"));
6
6
 
7
7
  var _enzyme = require("enzyme");
8
8
 
9
- var _UncheckIcon = _interopRequireDefault(require("@digigov/react-icons/UncheckIcon"));
9
+ var _ = _interopRequireDefault(require("./"));
10
10
 
11
- var _ref = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], null);
11
+ var _ref = /*#__PURE__*/_react["default"].createElement(_["default"], null);
12
12
 
13
13
  it('renders the UncheckIcon with no props', function () {
14
14
  expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
15
15
  });
16
16
 
17
- var _ref2 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
17
+ var _ref2 = /*#__PURE__*/_react["default"].createElement(_["default"], {
18
18
  size: "md"
19
19
  });
20
20
 
@@ -22,7 +22,7 @@ it('renders the UncheckIcon with prop size=m', function () {
22
22
  expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
23
23
  });
24
24
 
25
- var _ref3 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
25
+ var _ref3 = /*#__PURE__*/_react["default"].createElement(_["default"], {
26
26
  size: "lg"
27
27
  });
28
28
 
@@ -30,7 +30,7 @@ it('renders the UncheckIcon with prop size=l', function () {
30
30
  expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
31
31
  });
32
32
 
33
- var _ref4 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
33
+ var _ref4 = /*#__PURE__*/_react["default"].createElement(_["default"], {
34
34
  variant: "dark"
35
35
  });
36
36
 
@@ -38,7 +38,7 @@ it('renders the UncheckIcon with prop variant=dark', function () {
38
38
  expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
39
39
  });
40
40
 
41
- var _ref5 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
41
+ var _ref5 = /*#__PURE__*/_react["default"].createElement(_["default"], {
42
42
  variant: "light"
43
43
  });
44
44
 
@@ -46,7 +46,7 @@ it('renders the UncheckIcon with prop variant=light', function () {
46
46
  expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
47
47
  });
48
48
 
49
- var _ref6 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
49
+ var _ref6 = /*#__PURE__*/_react["default"].createElement(_["default"], {
50
50
  variant: "gray"
51
51
  });
52
52
 
@@ -54,7 +54,7 @@ it('renders the UncheckIcon with prop variant=gray', function () {
54
54
  expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
55
55
  });
56
56
 
57
- var _ref7 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
57
+ var _ref7 = /*#__PURE__*/_react["default"].createElement(_["default"], {
58
58
  variant: "primary"
59
59
  });
60
60
 
@@ -62,7 +62,7 @@ it('renders the UncheckIcon with prop variant=primary', function () {
62
62
  expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
63
63
  });
64
64
 
65
- var _ref8 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
65
+ var _ref8 = /*#__PURE__*/_react["default"].createElement(_["default"], {
66
66
  variant: "warning",
67
67
  size: "sm"
68
68
  });
@@ -71,7 +71,7 @@ it('renders the UncheckIcon with prop variant=warning and size=s', function () {
71
71
  expect((0, _enzyme.mount)(_ref8)).toMatchSnapshot();
72
72
  });
73
73
 
74
- var _ref9 = /*#__PURE__*/_react["default"].createElement(_UncheckIcon["default"], {
74
+ var _ref9 = /*#__PURE__*/_react["default"].createElement(_["default"], {
75
75
  variant: "warning",
76
76
  size: "xl"
77
77
  });
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var AccessibilityIcon = function AccessibilityIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "accessibility"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import AccessibilityIcon from '@digigov/react-icons/AccessibilityIcon';
3
+ import AccessibilityIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(AccessibilityIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var ArrowIcon = function ArrowIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "arrow"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import ArrowIcon from '@digigov/react-icons/ArrowIcon';
3
+ import ArrowIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(ArrowIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var BurgerIcon = function BurgerIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "burger"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import BurgerIcon from '@digigov/react-icons/BurgerIcon';
3
+ import BurgerIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(BurgerIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var CaretIcon = function CaretIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "caret"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import CaretIcon from '@digigov/react-icons/CaretIcon';
3
+ import CaretIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CaretIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var CheckIcon = function CheckIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "check"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import CheckIcon from '@digigov/react-icons/CheckIcon';
3
+ import CheckIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CheckIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var CloseIcon = function CloseIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "close"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import CloseIcon from '@digigov/react-icons/CloseIcon';
3
+ import CloseIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CloseIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var GlobeIcon = function GlobeIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "globe"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import GlobeIcon from '@digigov/react-icons/GlobeIcon';
3
+ import GlobeIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(GlobeIcon, null);
6
6
 
package/es/Icon/index.js CHANGED
@@ -5,7 +5,7 @@ var _excluded = ["icon", "className"];
5
5
  import React from 'react';
6
6
  import clsx from 'clsx';
7
7
  import SvgIcon from '@digigov/react-core/SvgIcon';
8
- import * as icons from '@digigov/react-icons/icons';
8
+ import * as icons from "../icons";
9
9
 
10
10
  /**
11
11
  * Icon is used whenever we need a GOV.GR icon.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(Icon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var MoreVertIcon = function MoreVertIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "moreVert"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
3
+ import MoreVertIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(MoreVertIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var SearchIcon = function SearchIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "search"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import SearchIcon from '@digigov/react-icons/SearchIcon';
3
+ import SearchIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(SearchIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var UncheckIcon = function UncheckIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "uncheck"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import UncheckIcon from '@digigov/react-icons/UncheckIcon';
3
+ import UncheckIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(UncheckIcon, null);
6
6
 
package/es/icons.js CHANGED
@@ -1,11 +1,11 @@
1
- export * from '@digigov/react-icons/AccessibilityIcon/config';
2
- export * from '@digigov/react-icons/ArrowIcon/config';
3
- export * from '@digigov/react-icons/BurgerIcon/config';
4
- export * from '@digigov/react-icons/CaretIcon/config';
5
- export * from '@digigov/react-icons/CloseIcon/config';
6
- export * from '@digigov/react-icons/CheckIcon/config';
7
- export * from '@digigov/react-icons/GlobeIcon/config';
8
- export * from '@digigov/react-icons/MoreVertIcon/config';
9
- export * from '@digigov/react-icons/UncheckIcon/config';
10
- export * from '@digigov/react-icons/SearchIcon/config';
1
+ export * from "./AccessibilityIcon/config";
2
+ export * from "./ArrowIcon/config";
3
+ export * from "./BurgerIcon/config";
4
+ export * from "./CaretIcon/config";
5
+ export * from "./CloseIcon/config";
6
+ export * from "./CheckIcon/config";
7
+ export * from "./GlobeIcon/config";
8
+ export * from "./MoreVertIcon/config";
9
+ export * from "./UncheckIcon/config";
10
+ export * from "./SearchIcon/config";
11
11
  export {};
package/es/index.js CHANGED
@@ -1,10 +1,10 @@
1
- export * from '@digigov/react-icons/AccessibilityIcon';
2
- export * from '@digigov/react-icons/ArrowIcon';
3
- export * from '@digigov/react-icons/BurgerIcon';
4
- export * from '@digigov/react-icons/CaretIcon';
5
- export * from '@digigov/react-icons/CheckIcon';
6
- export * from '@digigov/react-icons/UncheckIcon';
7
- export * from '@digigov/react-icons/CloseIcon';
8
- export * from '@digigov/react-icons/GlobeIcon';
9
- export * from '@digigov/react-icons/MoreVertIcon';
10
- export * from '@digigov/react-icons/SearchIcon';
1
+ export * from "./AccessibilityIcon";
2
+ export * from "./ArrowIcon";
3
+ export * from "./BurgerIcon";
4
+ export * from "./CaretIcon";
5
+ export * from "./CheckIcon";
6
+ export * from "./UncheckIcon";
7
+ export * from "./CloseIcon";
8
+ export * from "./GlobeIcon";
9
+ export * from "./MoreVertIcon";
10
+ export * from "./SearchIcon";
package/es/registry.js CHANGED
@@ -1,16 +1,16 @@
1
- import * as _digigov_react_icons_AccessibilityIcon from '@digigov/react-icons/AccessibilityIcon';
2
- import * as _digigov_react_icons_ArrowIcon from '@digigov/react-icons/ArrowIcon';
3
- import * as _digigov_react_icons_BurgerIcon from '@digigov/react-icons/BurgerIcon';
4
- import * as _digigov_react_icons_CaretIcon from '@digigov/react-icons/CaretIcon';
5
- import * as _digigov_react_icons_CheckIcon from '@digigov/react-icons/CheckIcon';
6
- import * as _digigov_react_icons_CloseIcon from '@digigov/react-icons/CloseIcon';
7
- import * as _digigov_react_icons_GlobeIcon from '@digigov/react-icons/GlobeIcon';
8
- import * as _digigov_react_icons_Icon from '@digigov/react-icons/Icon';
9
- import * as _digigov_react_icons_icons from '@digigov/react-icons/icons';
10
- import * as _digigov_react_icons from '@digigov/react-icons';
11
- import * as _digigov_react_icons_MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
12
- import * as _digigov_react_icons_SearchIcon from '@digigov/react-icons/SearchIcon';
13
- import * as _digigov_react_icons_UncheckIcon from '@digigov/react-icons/UncheckIcon';
1
+ import * as _digigov_react_icons_AccessibilityIcon from "./AccessibilityIcon";
2
+ import * as _digigov_react_icons_ArrowIcon from "./ArrowIcon";
3
+ import * as _digigov_react_icons_BurgerIcon from "./BurgerIcon";
4
+ import * as _digigov_react_icons_CaretIcon from "./CaretIcon";
5
+ import * as _digigov_react_icons_CheckIcon from "./CheckIcon";
6
+ import * as _digigov_react_icons_CloseIcon from "./CloseIcon";
7
+ import * as _digigov_react_icons_GlobeIcon from "./GlobeIcon";
8
+ import * as _digigov_react_icons_Icon from "./Icon";
9
+ import * as _digigov_react_icons_icons from "./icons";
10
+ import * as _digigov_react_icons from "./";
11
+ import * as _digigov_react_icons_MoreVertIcon from "./MoreVertIcon";
12
+ import * as _digigov_react_icons_SearchIcon from "./SearchIcon";
13
+ import * as _digigov_react_icons_UncheckIcon from "./UncheckIcon";
14
14
 
15
15
  function lazyImport(pkgImport) {
16
16
  // eslint-disable-next-line no-undef
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var AccessibilityIcon = function AccessibilityIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "accessibility"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import AccessibilityIcon from '@digigov/react-icons/AccessibilityIcon';
3
+ import AccessibilityIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(AccessibilityIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var ArrowIcon = function ArrowIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "arrow"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import ArrowIcon from '@digigov/react-icons/ArrowIcon';
3
+ import ArrowIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(ArrowIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var BurgerIcon = function BurgerIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "burger"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import BurgerIcon from '@digigov/react-icons/BurgerIcon';
3
+ import BurgerIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(BurgerIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var CaretIcon = function CaretIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "caret"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import CaretIcon from '@digigov/react-icons/CaretIcon';
3
+ import CaretIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CaretIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var CheckIcon = function CheckIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "check"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import CheckIcon from '@digigov/react-icons/CheckIcon';
3
+ import CheckIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CheckIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var CloseIcon = function CloseIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "close"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import CloseIcon from '@digigov/react-icons/CloseIcon';
3
+ import CloseIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(CloseIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var GlobeIcon = function GlobeIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "globe"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import GlobeIcon from '@digigov/react-icons/GlobeIcon';
3
+ import GlobeIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(GlobeIcon, null);
6
6
 
package/esm/Icon/index.js CHANGED
@@ -5,7 +5,7 @@ var _excluded = ["icon", "className"];
5
5
  import React from 'react';
6
6
  import clsx from 'clsx';
7
7
  import SvgIcon from '@digigov/react-core/SvgIcon';
8
- import * as icons from '@digigov/react-icons/icons';
8
+ import * as icons from "../icons";
9
9
 
10
10
  /**
11
11
  * Icon is used whenever we need a GOV.GR icon.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(Icon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var MoreVertIcon = function MoreVertIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "moreVert"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import MoreVertIcon from '@digigov/react-icons/MoreVertIcon';
3
+ import MoreVertIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(MoreVertIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var SearchIcon = function SearchIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "search"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import SearchIcon from '@digigov/react-icons/SearchIcon';
3
+ import SearchIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(SearchIcon, null);
6
6
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import Icon from '@digigov/react-icons/Icon';
3
+ import Icon from "../Icon";
4
4
  export var UncheckIcon = function UncheckIcon(props) {
5
5
  return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
6
  icon: "uncheck"
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { mount } from 'enzyme';
3
- import UncheckIcon from '@digigov/react-icons/UncheckIcon';
3
+ import UncheckIcon from "./";
4
4
 
5
5
  var _ref = /*#__PURE__*/React.createElement(UncheckIcon, null);
6
6
 
package/esm/icons.js CHANGED
@@ -1,11 +1,11 @@
1
- export * from '@digigov/react-icons/AccessibilityIcon/config';
2
- export * from '@digigov/react-icons/ArrowIcon/config';
3
- export * from '@digigov/react-icons/BurgerIcon/config';
4
- export * from '@digigov/react-icons/CaretIcon/config';
5
- export * from '@digigov/react-icons/CloseIcon/config';
6
- export * from '@digigov/react-icons/CheckIcon/config';
7
- export * from '@digigov/react-icons/GlobeIcon/config';
8
- export * from '@digigov/react-icons/MoreVertIcon/config';
9
- export * from '@digigov/react-icons/UncheckIcon/config';
10
- export * from '@digigov/react-icons/SearchIcon/config';
1
+ export * from "./AccessibilityIcon/config";
2
+ export * from "./ArrowIcon/config";
3
+ export * from "./BurgerIcon/config";
4
+ export * from "./CaretIcon/config";
5
+ export * from "./CloseIcon/config";
6
+ export * from "./CheckIcon/config";
7
+ export * from "./GlobeIcon/config";
8
+ export * from "./MoreVertIcon/config";
9
+ export * from "./UncheckIcon/config";
10
+ export * from "./SearchIcon/config";
11
11
  export {};
package/esm/index.js CHANGED
@@ -1,10 +1,10 @@
1
- export * from '@digigov/react-icons/AccessibilityIcon';
2
- export * from '@digigov/react-icons/ArrowIcon';
3
- export * from '@digigov/react-icons/BurgerIcon';
4
- export * from '@digigov/react-icons/CaretIcon';
5
- export * from '@digigov/react-icons/CheckIcon';
6
- export * from '@digigov/react-icons/UncheckIcon';
7
- export * from '@digigov/react-icons/CloseIcon';
8
- export * from '@digigov/react-icons/GlobeIcon';
9
- export * from '@digigov/react-icons/MoreVertIcon';
10
- export * from '@digigov/react-icons/SearchIcon';
1
+ export * from "./AccessibilityIcon";
2
+ export * from "./ArrowIcon";
3
+ export * from "./BurgerIcon";
4
+ export * from "./CaretIcon";
5
+ export * from "./CheckIcon";
6
+ export * from "./UncheckIcon";
7
+ export * from "./CloseIcon";
8
+ export * from "./GlobeIcon";
9
+ export * from "./MoreVertIcon";
10
+ export * from "./SearchIcon";