@digigov/react-icons 1.0.0-8bbf3ef2 → 1.0.0-e322b0cc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccessibilityIcon/index.js +1 -1
- package/{esm/AccessibilityIcon/index.js → AccessibilityIcon/index.mjs} +1 -1
- package/AccessibilityIcon/index.test.js +10 -10
- package/{esm/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test.mjs} +1 -1
- package/ArrowIcon/index.js +1 -1
- package/{esm/ArrowIcon/index.js → ArrowIcon/index.mjs} +1 -1
- package/ArrowIcon/index.test.js +5 -5
- package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test.mjs} +1 -1
- package/BurgerIcon/index.js +1 -1
- package/{esm/BurgerIcon/index.js → BurgerIcon/index.mjs} +1 -1
- package/BurgerIcon/index.test.js +7 -7
- package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test.mjs} +1 -1
- package/CaretIcon/index.js +1 -1
- package/{esm/CaretIcon/index.js → CaretIcon/index.mjs} +1 -1
- package/CaretIcon/index.test.js +5 -5
- package/{esm/CaretIcon/index.test.js → CaretIcon/index.test.mjs} +1 -1
- package/CheckIcon/index.js +1 -1
- package/{esm/CheckIcon/index.js → CheckIcon/index.mjs} +1 -1
- package/CheckIcon/index.test.js +9 -9
- package/{esm/CheckIcon/index.test.js → CheckIcon/index.test.mjs} +1 -1
- package/CloseIcon/index.js +1 -1
- package/{esm/CloseIcon/index.js → CloseIcon/index.mjs} +1 -1
- package/CloseIcon/index.test.js +2 -2
- package/{esm/CloseIcon/index.test.js → CloseIcon/index.test.mjs} +1 -1
- package/GlobeIcon/index.js +1 -1
- package/{esm/GlobeIcon/index.js → GlobeIcon/index.mjs} +1 -1
- package/GlobeIcon/index.test.js +5 -5
- package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test.mjs} +1 -1
- package/Icon/index.js +1 -1
- package/{esm/Icon/index.js → Icon/index.mjs} +1 -1
- package/Icon/index.test.js +11 -11
- package/{esm/Icon/index.test.js → Icon/index.test.mjs} +1 -1
- package/MoreVertIcon/index.js +1 -1
- package/{esm/MoreVertIcon/index.js → MoreVertIcon/index.mjs} +1 -1
- package/MoreVertIcon/index.test.js +10 -10
- package/{esm/MoreVertIcon/index.test.js → MoreVertIcon/index.test.mjs} +1 -1
- package/SearchIcon/index.js +1 -1
- package/{esm/SearchIcon/index.js → SearchIcon/index.mjs} +1 -1
- package/SearchIcon/index.test.js +2 -2
- package/{esm/SearchIcon/index.test.js → SearchIcon/index.test.mjs} +1 -1
- package/UncheckIcon/index.js +1 -1
- package/{esm/UncheckIcon/index.js → UncheckIcon/index.mjs} +1 -1
- package/UncheckIcon/index.test.js +10 -10
- package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test.mjs} +1 -1
- package/es/AccessibilityIcon/index.js +1 -1
- package/es/AccessibilityIcon/index.test.js +1 -1
- package/es/ArrowIcon/index.js +1 -1
- package/es/ArrowIcon/index.test.js +1 -1
- package/es/BurgerIcon/index.js +1 -1
- package/es/BurgerIcon/index.test.js +1 -1
- package/es/CaretIcon/index.js +1 -1
- package/es/CaretIcon/index.test.js +1 -1
- package/es/CheckIcon/index.js +1 -1
- package/es/CheckIcon/index.test.js +1 -1
- package/es/CloseIcon/index.js +1 -1
- package/es/CloseIcon/index.test.js +1 -1
- package/es/GlobeIcon/index.js +1 -1
- package/es/GlobeIcon/index.test.js +1 -1
- package/es/Icon/index.js +1 -1
- package/es/Icon/index.test.js +1 -1
- package/es/MoreVertIcon/index.js +1 -1
- package/es/MoreVertIcon/index.test.js +1 -1
- package/es/SearchIcon/index.js +1 -1
- package/es/SearchIcon/index.test.js +1 -1
- package/es/UncheckIcon/index.js +1 -1
- package/es/UncheckIcon/index.test.js +1 -1
- package/es/icons.js +10 -10
- package/es/index.js +10 -10
- package/es/registry.js +13 -13
- package/icons.js +10 -10
- package/icons.mjs +11 -0
- package/index.js +10 -10
- package/index.mjs +10 -0
- package/package.json +3 -3
- package/registry.d.ts +1 -1
- package/registry.js +13 -13
- package/{esm/registry.js → registry.mjs} +13 -13
- package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/esm/icons.js +0 -11
- package/esm/index.js +0 -10
- /package/{esm/AccessibilityIcon/config.js → AccessibilityIcon/config.mjs} +0 -0
- /package/{esm/ArrowIcon/config.js → ArrowIcon/config.mjs} +0 -0
- /package/{esm/BurgerIcon/config.js → BurgerIcon/config.mjs} +0 -0
- /package/{esm/CaretIcon/config.js → CaretIcon/config.mjs} +0 -0
- /package/{esm/CheckIcon/config.js → CheckIcon/config.mjs} +0 -0
- /package/{esm/CloseIcon/config.js → CloseIcon/config.mjs} +0 -0
- /package/{esm/GlobeIcon/config.js → GlobeIcon/config.mjs} +0 -0
- /package/{esm/MoreVertIcon/config.js → MoreVertIcon/config.mjs} +0 -0
- /package/{esm/SearchIcon/config.js → SearchIcon/config.mjs} +0 -0
- /package/{esm/UncheckIcon/config.js → UncheckIcon/config.mjs} +0 -0
package/MoreVertIcon/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
|
|
14
|
-
var _Icon = _interopRequireDefault(require("
|
|
14
|
+
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
15
15
|
|
|
16
16
|
var MoreVertIcon = function MoreVertIcon(props) {
|
|
17
17
|
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
|
@@ -6,15 +6,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
6
6
|
|
|
7
7
|
var _enzyme = require("enzyme");
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _ = _interopRequireDefault(require("./"));
|
|
10
10
|
|
|
11
|
-
var _ref = /*#__PURE__*/_react["default"].createElement(
|
|
11
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_["default"], null);
|
|
12
12
|
|
|
13
13
|
it('renders the MoreVertIcon with no props', function () {
|
|
14
14
|
expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
|
|
15
15
|
});
|
|
16
16
|
|
|
17
|
-
var _ref2 = /*#__PURE__*/_react["default"].createElement(
|
|
17
|
+
var _ref2 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
18
18
|
size: "sm"
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ it('renders the MoreVertIcon with prop size=s', function () {
|
|
|
22
22
|
expect((0, _enzyme.mount)(_ref2)).toMatchSnapshot();
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
var _ref3 = /*#__PURE__*/_react["default"].createElement(
|
|
25
|
+
var _ref3 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
26
26
|
size: "lg"
|
|
27
27
|
});
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ it('renders the MoreVertIcon with prop size=l', function () {
|
|
|
30
30
|
expect((0, _enzyme.mount)(_ref3)).toMatchSnapshot();
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
var _ref4 = /*#__PURE__*/_react["default"].createElement(
|
|
33
|
+
var _ref4 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
34
34
|
variant: "dark"
|
|
35
35
|
});
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ it('renders the MoreVertIcon with prop variant=dark', function () {
|
|
|
38
38
|
expect((0, _enzyme.mount)(_ref4)).toMatchSnapshot();
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
var _ref5 = /*#__PURE__*/_react["default"].createElement(
|
|
41
|
+
var _ref5 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
42
42
|
variant: "primary"
|
|
43
43
|
});
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ it('renders the MoreVertIcon with prop variant=primary', function () {
|
|
|
46
46
|
expect((0, _enzyme.mount)(_ref5)).toMatchSnapshot();
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
var _ref6 = /*#__PURE__*/_react["default"].createElement(
|
|
49
|
+
var _ref6 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
50
50
|
variant: "success"
|
|
51
51
|
});
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ it('renders the MoreVertIcon with prop variant=success', function () {
|
|
|
54
54
|
expect((0, _enzyme.mount)(_ref6)).toMatchSnapshot();
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
var _ref7 = /*#__PURE__*/_react["default"].createElement(
|
|
57
|
+
var _ref7 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
58
58
|
variant: "focus"
|
|
59
59
|
});
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ it('renders the MoreVertIcon with prop variant=focus', function () {
|
|
|
62
62
|
expect((0, _enzyme.mount)(_ref7)).toMatchSnapshot();
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
var _ref8 = /*#__PURE__*/_react["default"].createElement(
|
|
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 MoreVertIcon 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(
|
|
74
|
+
var _ref9 = /*#__PURE__*/_react["default"].createElement(_["default"], {
|
|
75
75
|
variant: "warning",
|
|
76
76
|
size: "xl"
|
|
77
77
|
});
|
package/SearchIcon/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
|
|
14
|
-
var _Icon = _interopRequireDefault(require("
|
|
14
|
+
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
15
15
|
|
|
16
16
|
var SearchIcon = function SearchIcon(props) {
|
|
17
17
|
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/SearchIcon/index.test.js
CHANGED
|
@@ -6,9 +6,9 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
6
6
|
|
|
7
7
|
var _enzyme = require("enzyme");
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _ = _interopRequireDefault(require("./"));
|
|
10
10
|
|
|
11
|
-
var _ref = /*#__PURE__*/_react["default"].createElement(
|
|
11
|
+
var _ref = /*#__PURE__*/_react["default"].createElement(_["default"], null);
|
|
12
12
|
|
|
13
13
|
it('renders the SearchIcon with no props', function () {
|
|
14
14
|
expect((0, _enzyme.mount)(_ref)).toMatchSnapshot();
|
package/UncheckIcon/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
|
|
12
12
|
var _react = _interopRequireDefault(require("react"));
|
|
13
13
|
|
|
14
|
-
var _Icon = _interopRequireDefault(require("
|
|
14
|
+
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
15
15
|
|
|
16
16
|
var UncheckIcon = function UncheckIcon(props) {
|
|
17
17
|
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], (0, _extends2["default"])({}, props, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
|
@@ -6,15 +6,15 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
6
6
|
|
|
7
7
|
var _enzyme = require("enzyme");
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _ = _interopRequireDefault(require("./"));
|
|
10
10
|
|
|
11
|
-
var _ref = /*#__PURE__*/_react["default"].createElement(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
|
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"
|
package/es/ArrowIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/BurgerIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/CaretIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/CheckIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/CloseIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/GlobeIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
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
|
|
8
|
+
import * as icons from "../icons";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Icon is used whenever we need a GOV.GR icon.
|
package/es/Icon/index.test.js
CHANGED
package/es/MoreVertIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/SearchIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/UncheckIcon/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Icon from
|
|
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"
|
package/es/icons.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
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
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
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
|
|
2
|
-
import * as _digigov_react_icons_ArrowIcon from
|
|
3
|
-
import * as _digigov_react_icons_BurgerIcon from
|
|
4
|
-
import * as _digigov_react_icons_CaretIcon from
|
|
5
|
-
import * as _digigov_react_icons_CheckIcon from
|
|
6
|
-
import * as _digigov_react_icons_CloseIcon from
|
|
7
|
-
import * as _digigov_react_icons_GlobeIcon from
|
|
8
|
-
import * as _digigov_react_icons_Icon from
|
|
9
|
-
import * as _digigov_react_icons_icons from
|
|
10
|
-
import * as _digigov_react_icons from
|
|
11
|
-
import * as _digigov_react_icons_MoreVertIcon from
|
|
12
|
-
import * as _digigov_react_icons_SearchIcon from
|
|
13
|
-
import * as _digigov_react_icons_UncheckIcon from
|
|
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
|
package/icons.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var _config = require("
|
|
7
|
+
var _config = require("./AccessibilityIcon/config");
|
|
8
8
|
|
|
9
9
|
Object.keys(_config).forEach(function (key) {
|
|
10
10
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -17,7 +17,7 @@ Object.keys(_config).forEach(function (key) {
|
|
|
17
17
|
});
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
var _config2 = require("
|
|
20
|
+
var _config2 = require("./ArrowIcon/config");
|
|
21
21
|
|
|
22
22
|
Object.keys(_config2).forEach(function (key) {
|
|
23
23
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -30,7 +30,7 @@ Object.keys(_config2).forEach(function (key) {
|
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
var _config3 = require("
|
|
33
|
+
var _config3 = require("./BurgerIcon/config");
|
|
34
34
|
|
|
35
35
|
Object.keys(_config3).forEach(function (key) {
|
|
36
36
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -43,7 +43,7 @@ Object.keys(_config3).forEach(function (key) {
|
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
var _config4 = require("
|
|
46
|
+
var _config4 = require("./CaretIcon/config");
|
|
47
47
|
|
|
48
48
|
Object.keys(_config4).forEach(function (key) {
|
|
49
49
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -56,7 +56,7 @@ Object.keys(_config4).forEach(function (key) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
var _config5 = require("
|
|
59
|
+
var _config5 = require("./CloseIcon/config");
|
|
60
60
|
|
|
61
61
|
Object.keys(_config5).forEach(function (key) {
|
|
62
62
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -69,7 +69,7 @@ Object.keys(_config5).forEach(function (key) {
|
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
var _config6 = require("
|
|
72
|
+
var _config6 = require("./CheckIcon/config");
|
|
73
73
|
|
|
74
74
|
Object.keys(_config6).forEach(function (key) {
|
|
75
75
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -82,7 +82,7 @@ Object.keys(_config6).forEach(function (key) {
|
|
|
82
82
|
});
|
|
83
83
|
});
|
|
84
84
|
|
|
85
|
-
var _config7 = require("
|
|
85
|
+
var _config7 = require("./GlobeIcon/config");
|
|
86
86
|
|
|
87
87
|
Object.keys(_config7).forEach(function (key) {
|
|
88
88
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -95,7 +95,7 @@ Object.keys(_config7).forEach(function (key) {
|
|
|
95
95
|
});
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
var _config8 = require("
|
|
98
|
+
var _config8 = require("./MoreVertIcon/config");
|
|
99
99
|
|
|
100
100
|
Object.keys(_config8).forEach(function (key) {
|
|
101
101
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -108,7 +108,7 @@ Object.keys(_config8).forEach(function (key) {
|
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
var _config9 = require("
|
|
111
|
+
var _config9 = require("./UncheckIcon/config");
|
|
112
112
|
|
|
113
113
|
Object.keys(_config9).forEach(function (key) {
|
|
114
114
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -121,7 +121,7 @@ Object.keys(_config9).forEach(function (key) {
|
|
|
121
121
|
});
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
var _config10 = require("
|
|
124
|
+
var _config10 = require("./SearchIcon/config");
|
|
125
125
|
|
|
126
126
|
Object.keys(_config10).forEach(function (key) {
|
|
127
127
|
if (key === "default" || key === "__esModule") return;
|