@digigov/react-icons 1.0.0-8bbf3ef2 → 1.0.0-a131264d

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 (126) hide show
  1. package/AccessibilityIcon/index.js +1 -1
  2. package/{esm/AccessibilityIcon/index.js → AccessibilityIcon/index.mjs} +1 -1
  3. package/AccessibilityIcon/index.test.js +10 -10
  4. package/{esm/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test.mjs} +1 -1
  5. package/ArrowIcon/config.d.ts +1 -1
  6. package/ArrowIcon/config.js +9 -9
  7. package/ArrowIcon/config.mjs +27 -0
  8. package/ArrowIcon/index.js +1 -1
  9. package/{esm/ArrowIcon/index.js → ArrowIcon/index.mjs} +1 -1
  10. package/ArrowIcon/index.test.js +5 -5
  11. package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test.mjs} +1 -1
  12. package/BurgerIcon/index.js +1 -1
  13. package/{esm/BurgerIcon/index.js → BurgerIcon/index.mjs} +1 -1
  14. package/BurgerIcon/index.test.js +7 -7
  15. package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test.mjs} +1 -1
  16. package/CaretIcon/index.js +1 -1
  17. package/{esm/CaretIcon/index.js → CaretIcon/index.mjs} +1 -1
  18. package/CaretIcon/index.test.js +5 -5
  19. package/{esm/CaretIcon/index.test.js → CaretIcon/index.test.mjs} +1 -1
  20. package/CheckIcon/index.js +1 -1
  21. package/{esm/CheckIcon/index.js → CheckIcon/index.mjs} +1 -1
  22. package/CheckIcon/index.test.js +9 -9
  23. package/{esm/CheckIcon/index.test.js → CheckIcon/index.test.mjs} +1 -1
  24. package/ChevronIcon/config.d.ts +14 -0
  25. package/ChevronIcon/config.js +39 -0
  26. package/ChevronIcon/config.mjs +27 -0
  27. package/ChevronIcon/index.d.ts +4 -0
  28. package/ChevronIcon/index.js +24 -0
  29. package/ChevronIcon/index.mjs +9 -0
  30. package/ChevronIcon/index.test.d.ts +1 -0
  31. package/ChevronIcon/index.test.js +39 -0
  32. package/ChevronIcon/index.test.mjs +33 -0
  33. package/CloseIcon/index.js +1 -1
  34. package/{esm/CloseIcon/index.js → CloseIcon/index.mjs} +1 -1
  35. package/CloseIcon/index.test.js +2 -2
  36. package/{esm/CloseIcon/index.test.js → CloseIcon/index.test.mjs} +1 -1
  37. package/GlobeIcon/index.js +1 -1
  38. package/{esm/GlobeIcon/index.js → GlobeIcon/index.mjs} +1 -1
  39. package/GlobeIcon/index.test.js +5 -5
  40. package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test.mjs} +1 -1
  41. package/Icon/index.d.ts +1 -1
  42. package/Icon/index.js +2 -2
  43. package/{esm/Icon/index.js → Icon/index.mjs} +2 -2
  44. package/Icon/index.test.js +11 -11
  45. package/{esm/Icon/index.test.js → Icon/index.test.mjs} +1 -1
  46. package/MoreVertIcon/index.js +1 -1
  47. package/{esm/MoreVertIcon/index.js → MoreVertIcon/index.mjs} +1 -1
  48. package/MoreVertIcon/index.test.js +10 -10
  49. package/{esm/MoreVertIcon/index.test.js → MoreVertIcon/index.test.mjs} +1 -1
  50. package/SearchIcon/index.js +1 -1
  51. package/{esm/SearchIcon/index.js → SearchIcon/index.mjs} +1 -1
  52. package/SearchIcon/index.test.js +2 -2
  53. package/{esm/SearchIcon/index.test.js → SearchIcon/index.test.mjs} +1 -1
  54. package/UncheckIcon/index.js +1 -1
  55. package/{esm/UncheckIcon/index.js → UncheckIcon/index.mjs} +1 -1
  56. package/UncheckIcon/index.test.js +10 -10
  57. package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test.mjs} +1 -1
  58. package/es/AccessibilityIcon/index.js +1 -1
  59. package/es/AccessibilityIcon/index.test.js +1 -1
  60. package/es/ArrowIcon/config.js +9 -9
  61. package/es/ArrowIcon/index.js +1 -1
  62. package/es/ArrowIcon/index.test.js +1 -1
  63. package/es/BurgerIcon/index.js +1 -1
  64. package/es/BurgerIcon/index.test.js +1 -1
  65. package/es/CaretIcon/index.js +1 -1
  66. package/es/CaretIcon/index.test.js +1 -1
  67. package/es/CheckIcon/index.js +1 -1
  68. package/es/CheckIcon/index.test.js +1 -1
  69. package/{esm/ArrowIcon → es/ChevronIcon}/config.js +3 -3
  70. package/es/ChevronIcon/index.js +9 -0
  71. package/es/ChevronIcon/index.test.js +33 -0
  72. package/es/CloseIcon/index.js +1 -1
  73. package/es/CloseIcon/index.test.js +1 -1
  74. package/es/GlobeIcon/index.js +1 -1
  75. package/es/GlobeIcon/index.test.js +1 -1
  76. package/es/Icon/index.js +2 -2
  77. package/es/Icon/index.test.js +1 -1
  78. package/es/MoreVertIcon/index.js +1 -1
  79. package/es/MoreVertIcon/index.test.js +1 -1
  80. package/es/SearchIcon/index.js +1 -1
  81. package/es/SearchIcon/index.test.js +1 -1
  82. package/es/UncheckIcon/index.js +1 -1
  83. package/es/UncheckIcon/index.test.js +1 -1
  84. package/es/icons.js +11 -10
  85. package/es/index.js +11 -10
  86. package/es/registry.js +15 -13
  87. package/icons.d.ts +3 -0
  88. package/icons.js +23 -10
  89. package/icons.mjs +12 -0
  90. package/index.d.ts +1 -0
  91. package/index.js +23 -10
  92. package/index.mjs +11 -0
  93. package/package.json +3 -3
  94. package/registry.d.ts +2 -1
  95. package/registry.js +16 -13
  96. package/{esm/registry.js → registry.mjs} +15 -13
  97. package/src/ArrowIcon/config.tsx +6 -6
  98. package/src/ChevronIcon/config.tsx +37 -0
  99. package/src/ChevronIcon/index.test.tsx +20 -0
  100. package/src/ChevronIcon/index.tsx +8 -0
  101. package/src/Icon/index.tsx +2 -2
  102. package/src/icons.ts +3 -0
  103. package/src/index.ts +1 -0
  104. package/src/registry.js +2 -0
  105. package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
  106. package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
  107. package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
  108. package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
  109. package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
  110. package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
  111. package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
  112. package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
  113. package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
  114. package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
  115. package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
  116. package/esm/icons.js +0 -11
  117. package/esm/index.js +0 -10
  118. /package/{esm/AccessibilityIcon/config.js → AccessibilityIcon/config.mjs} +0 -0
  119. /package/{esm/BurgerIcon/config.js → BurgerIcon/config.mjs} +0 -0
  120. /package/{esm/CaretIcon/config.js → CaretIcon/config.mjs} +0 -0
  121. /package/{esm/CheckIcon/config.js → CheckIcon/config.mjs} +0 -0
  122. /package/{esm/CloseIcon/config.js → CloseIcon/config.mjs} +0 -0
  123. /package/{esm/GlobeIcon/config.js → GlobeIcon/config.mjs} +0 -0
  124. /package/{esm/MoreVertIcon/config.js → MoreVertIcon/config.mjs} +0 -0
  125. /package/{esm/SearchIcon/config.js → SearchIcon/config.mjs} +0 -0
  126. /package/{esm/UncheckIcon/config.js → UncheckIcon/config.mjs} +0 -0
@@ -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
 
@@ -16,12 +16,12 @@ var _ref5 = /*#__PURE__*/React.createElement("path", {
16
16
  d: "M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z"
17
17
  });
18
18
 
19
- export var arrow = function arrow(_ref) {
19
+ export var chevron = function chevron(_ref) {
20
20
  var _ref$direction = _ref.direction,
21
21
  direction = _ref$direction === void 0 ? 'right' : _ref$direction;
22
22
  return /*#__PURE__*/React.createElement(React.Fragment, null, direction === 'left' && _ref2, direction === 'right' && _ref3, direction === 'up' && _ref4, direction === 'down' && _ref5);
23
23
  }; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
24
24
  // @ts-ignore
25
25
 
26
- arrow.props = ['direction'];
27
- export default arrow;
26
+ chevron.props = ['direction'];
27
+ export default chevron;
@@ -0,0 +1,9 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React from 'react';
3
+ import Icon from "../Icon";
4
+ export var ChevronIcon = function ChevronIcon(props) {
5
+ return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
6
+ icon: "chevron"
7
+ }));
8
+ };
9
+ export default ChevronIcon;
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import { mount } from 'enzyme';
3
+ import ChevronIcon from "./";
4
+
5
+ var _ref = /*#__PURE__*/React.createElement(ChevronIcon, null);
6
+
7
+ it('renders the ChevronIcon with no props, direction prop is right by default', function () {
8
+ expect(mount(_ref)).toMatchSnapshot();
9
+ });
10
+
11
+ var _ref2 = /*#__PURE__*/React.createElement(ChevronIcon, {
12
+ direction: "left"
13
+ });
14
+
15
+ it('renders the ChevronIcon with direction left prop', function () {
16
+ expect(mount(_ref2)).toMatchSnapshot();
17
+ });
18
+
19
+ var _ref3 = /*#__PURE__*/React.createElement(ChevronIcon, {
20
+ direction: "up"
21
+ });
22
+
23
+ it('renders the ChevronIcon with direction up prop', function () {
24
+ expect(mount(_ref3)).toMatchSnapshot();
25
+ });
26
+
27
+ var _ref4 = /*#__PURE__*/React.createElement(ChevronIcon, {
28
+ direction: "down"
29
+ });
30
+
31
+ it('renders the ChevronIcon with direction down prop', function () {
32
+ expect(mount(_ref4)).toMatchSnapshot();
33
+ });
@@ -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.
@@ -13,7 +13,7 @@ import * as icons from '@digigov/react-icons/icons';
13
13
  */
14
14
  export var Icon = /*#__PURE__*/React.forwardRef(function Icon(_ref, ref) {
15
15
  var _ref$icon = _ref.icon,
16
- icon = _ref$icon === void 0 ? 'arrow' : _ref$icon,
16
+ icon = _ref$icon === void 0 ? 'chevron' : _ref$icon,
17
17
  className = _ref.className,
18
18
  props = _objectWithoutProperties(_ref, _excluded);
19
19
 
@@ -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,12 @@
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 "./ChevronIcon/config";
6
+ export * from "./CloseIcon/config";
7
+ export * from "./CheckIcon/config";
8
+ export * from "./GlobeIcon/config";
9
+ export * from "./MoreVertIcon/config";
10
+ export * from "./UncheckIcon/config";
11
+ export * from "./SearchIcon/config";
11
12
  export {};
package/es/index.js CHANGED
@@ -1,10 +1,11 @@
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 "./ChevronIcon";
7
+ export * from "./UncheckIcon";
8
+ export * from "./CloseIcon";
9
+ export * from "./GlobeIcon";
10
+ export * from "./MoreVertIcon";
11
+ export * from "./SearchIcon";
package/es/registry.js CHANGED
@@ -1,16 +1,17 @@
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_ChevronIcon from "./ChevronIcon";
7
+ import * as _digigov_react_icons_CloseIcon from "./CloseIcon";
8
+ import * as _digigov_react_icons_GlobeIcon from "./GlobeIcon";
9
+ import * as _digigov_react_icons_Icon from "./Icon";
10
+ import * as _digigov_react_icons_icons from "./icons";
11
+ import * as _digigov_react_icons from "./";
12
+ import * as _digigov_react_icons_MoreVertIcon from "./MoreVertIcon";
13
+ import * as _digigov_react_icons_SearchIcon from "./SearchIcon";
14
+ import * as _digigov_react_icons_UncheckIcon from "./UncheckIcon";
14
15
 
15
16
  function lazyImport(pkgImport) {
16
17
  // eslint-disable-next-line no-undef
@@ -33,6 +34,7 @@ export default {
33
34
  '@digigov/react-icons/BurgerIcon': lazyImport(_digigov_react_icons_BurgerIcon),
34
35
  '@digigov/react-icons/CaretIcon': lazyImport(_digigov_react_icons_CaretIcon),
35
36
  '@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
37
+ '@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
36
38
  '@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
37
39
  '@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
38
40
  '@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
package/icons.d.ts CHANGED
@@ -3,6 +3,7 @@ import type { ArrowType } from '@digigov/react-icons/ArrowIcon/config';
3
3
  import type { BurgerType } from '@digigov/react-icons/BurgerIcon/config';
4
4
  import type { CaretType } from '@digigov/react-icons/CaretIcon/config';
5
5
  import type { CheckType } from '@digigov/react-icons/CheckIcon/config';
6
+ import type { ChevronType } from '@digigov/react-icons/ChevronIcon/config';
6
7
  import type { CloseType } from '@digigov/react-icons/CloseIcon/config';
7
8
  import type { GlobeType } from '@digigov/react-icons/GlobeIcon/config';
8
9
  import type { MoreVertType } from '@digigov/react-icons/MoreVertIcon/config';
@@ -12,6 +13,7 @@ export * from '@digigov/react-icons/AccessibilityIcon/config';
12
13
  export * from '@digigov/react-icons/ArrowIcon/config';
13
14
  export * from '@digigov/react-icons/BurgerIcon/config';
14
15
  export * from '@digigov/react-icons/CaretIcon/config';
16
+ export * from '@digigov/react-icons/ChevronIcon/config';
15
17
  export * from '@digigov/react-icons/CloseIcon/config';
16
18
  export * from '@digigov/react-icons/CheckIcon/config';
17
19
  export * from '@digigov/react-icons/GlobeIcon/config';
@@ -29,4 +31,5 @@ export interface IconTypes {
29
31
  moreVert: MoreVertType;
30
32
  uncheck: UncheckType;
31
33
  search: SearchType;
34
+ chevron: ChevronType;
32
35
  }
package/icons.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _config = require("@digigov/react-icons/AccessibilityIcon/config");
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("@digigov/react-icons/ArrowIcon/config");
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("@digigov/react-icons/BurgerIcon/config");
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("@digigov/react-icons/CaretIcon/config");
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("@digigov/react-icons/CloseIcon/config");
59
+ var _config5 = require("./ChevronIcon/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("@digigov/react-icons/CheckIcon/config");
72
+ var _config6 = require("./CloseIcon/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("@digigov/react-icons/GlobeIcon/config");
85
+ var _config7 = require("./CheckIcon/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("@digigov/react-icons/MoreVertIcon/config");
98
+ var _config8 = require("./GlobeIcon/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("@digigov/react-icons/UncheckIcon/config");
111
+ var _config9 = require("./MoreVertIcon/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("@digigov/react-icons/SearchIcon/config");
124
+ var _config10 = require("./UncheckIcon/config");
125
125
 
126
126
  Object.keys(_config10).forEach(function (key) {
127
127
  if (key === "default" || key === "__esModule") return;
@@ -132,4 +132,17 @@ Object.keys(_config10).forEach(function (key) {
132
132
  return _config10[key];
133
133
  }
134
134
  });
135
+ });
136
+
137
+ var _config11 = require("./SearchIcon/config");
138
+
139
+ Object.keys(_config11).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _config11[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function get() {
145
+ return _config11[key];
146
+ }
147
+ });
135
148
  });
package/icons.mjs ADDED
@@ -0,0 +1,12 @@
1
+ export * from "./AccessibilityIcon/config";
2
+ export * from "./ArrowIcon/config";
3
+ export * from "./BurgerIcon/config";
4
+ export * from "./CaretIcon/config";
5
+ export * from "./ChevronIcon/config";
6
+ export * from "./CloseIcon/config";
7
+ export * from "./CheckIcon/config";
8
+ export * from "./GlobeIcon/config";
9
+ export * from "./MoreVertIcon/config";
10
+ export * from "./UncheckIcon/config";
11
+ export * from "./SearchIcon/config";
12
+ export {};
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ export * from '@digigov/react-icons/ArrowIcon';
3
3
  export * from '@digigov/react-icons/BurgerIcon';
4
4
  export * from '@digigov/react-icons/CaretIcon';
5
5
  export * from '@digigov/react-icons/CheckIcon';
6
+ export * from '@digigov/react-icons/ChevronIcon';
6
7
  export * from '@digigov/react-icons/UncheckIcon';
7
8
  export * from '@digigov/react-icons/CloseIcon';
8
9
  export * from '@digigov/react-icons/GlobeIcon';
package/index.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _AccessibilityIcon = require("@digigov/react-icons/AccessibilityIcon");
7
+ var _AccessibilityIcon = require("./AccessibilityIcon");
8
8
 
9
9
  Object.keys(_AccessibilityIcon).forEach(function (key) {
10
10
  if (key === "default" || key === "__esModule") return;
@@ -17,7 +17,7 @@ Object.keys(_AccessibilityIcon).forEach(function (key) {
17
17
  });
18
18
  });
19
19
 
20
- var _ArrowIcon = require("@digigov/react-icons/ArrowIcon");
20
+ var _ArrowIcon = require("./ArrowIcon");
21
21
 
22
22
  Object.keys(_ArrowIcon).forEach(function (key) {
23
23
  if (key === "default" || key === "__esModule") return;
@@ -30,7 +30,7 @@ Object.keys(_ArrowIcon).forEach(function (key) {
30
30
  });
31
31
  });
32
32
 
33
- var _BurgerIcon = require("@digigov/react-icons/BurgerIcon");
33
+ var _BurgerIcon = require("./BurgerIcon");
34
34
 
35
35
  Object.keys(_BurgerIcon).forEach(function (key) {
36
36
  if (key === "default" || key === "__esModule") return;
@@ -43,7 +43,7 @@ Object.keys(_BurgerIcon).forEach(function (key) {
43
43
  });
44
44
  });
45
45
 
46
- var _CaretIcon = require("@digigov/react-icons/CaretIcon");
46
+ var _CaretIcon = require("./CaretIcon");
47
47
 
48
48
  Object.keys(_CaretIcon).forEach(function (key) {
49
49
  if (key === "default" || key === "__esModule") return;
@@ -56,7 +56,7 @@ Object.keys(_CaretIcon).forEach(function (key) {
56
56
  });
57
57
  });
58
58
 
59
- var _CheckIcon = require("@digigov/react-icons/CheckIcon");
59
+ var _CheckIcon = require("./CheckIcon");
60
60
 
61
61
  Object.keys(_CheckIcon).forEach(function (key) {
62
62
  if (key === "default" || key === "__esModule") return;
@@ -69,7 +69,20 @@ Object.keys(_CheckIcon).forEach(function (key) {
69
69
  });
70
70
  });
71
71
 
72
- var _UncheckIcon = require("@digigov/react-icons/UncheckIcon");
72
+ var _ChevronIcon = require("./ChevronIcon");
73
+
74
+ Object.keys(_ChevronIcon).forEach(function (key) {
75
+ if (key === "default" || key === "__esModule") return;
76
+ if (key in exports && exports[key] === _ChevronIcon[key]) return;
77
+ Object.defineProperty(exports, key, {
78
+ enumerable: true,
79
+ get: function get() {
80
+ return _ChevronIcon[key];
81
+ }
82
+ });
83
+ });
84
+
85
+ var _UncheckIcon = require("./UncheckIcon");
73
86
 
74
87
  Object.keys(_UncheckIcon).forEach(function (key) {
75
88
  if (key === "default" || key === "__esModule") return;
@@ -82,7 +95,7 @@ Object.keys(_UncheckIcon).forEach(function (key) {
82
95
  });
83
96
  });
84
97
 
85
- var _CloseIcon = require("@digigov/react-icons/CloseIcon");
98
+ var _CloseIcon = require("./CloseIcon");
86
99
 
87
100
  Object.keys(_CloseIcon).forEach(function (key) {
88
101
  if (key === "default" || key === "__esModule") return;
@@ -95,7 +108,7 @@ Object.keys(_CloseIcon).forEach(function (key) {
95
108
  });
96
109
  });
97
110
 
98
- var _GlobeIcon = require("@digigov/react-icons/GlobeIcon");
111
+ var _GlobeIcon = require("./GlobeIcon");
99
112
 
100
113
  Object.keys(_GlobeIcon).forEach(function (key) {
101
114
  if (key === "default" || key === "__esModule") return;
@@ -108,7 +121,7 @@ Object.keys(_GlobeIcon).forEach(function (key) {
108
121
  });
109
122
  });
110
123
 
111
- var _MoreVertIcon = require("@digigov/react-icons/MoreVertIcon");
124
+ var _MoreVertIcon = require("./MoreVertIcon");
112
125
 
113
126
  Object.keys(_MoreVertIcon).forEach(function (key) {
114
127
  if (key === "default" || key === "__esModule") return;
@@ -121,7 +134,7 @@ Object.keys(_MoreVertIcon).forEach(function (key) {
121
134
  });
122
135
  });
123
136
 
124
- var _SearchIcon = require("@digigov/react-icons/SearchIcon");
137
+ var _SearchIcon = require("./SearchIcon");
125
138
 
126
139
  Object.keys(_SearchIcon).forEach(function (key) {
127
140
  if (key === "default" || key === "__esModule") return;
package/index.mjs ADDED
@@ -0,0 +1,11 @@
1
+ export * from "./AccessibilityIcon";
2
+ export * from "./ArrowIcon";
3
+ export * from "./BurgerIcon";
4
+ export * from "./CaretIcon";
5
+ export * from "./CheckIcon";
6
+ export * from "./ChevronIcon";
7
+ export * from "./UncheckIcon";
8
+ export * from "./CloseIcon";
9
+ export * from "./GlobeIcon";
10
+ export * from "./MoreVertIcon";
11
+ export * from "./SearchIcon";
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@digigov/react-icons",
3
- "version": "1.0.0-8bbf3ef2",
3
+ "version": "1.0.0-a131264d",
4
4
  "description": "@digigov react icons",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
7
7
  "main": "./index.js",
8
- "module": "./esm/index.js",
8
+ "module": "./index.mjs",
9
9
  "publishConfig": {
10
10
  "access": "public",
11
11
  "directory": "dist"
12
12
  },
13
13
  "peerDependencies": {
14
- "@digigov/css": "1.0.0-8bbf3ef2",
14
+ "@digigov/css": "1.0.0-a131264d",
15
15
  "clsx": "1.1.1",
16
16
  "react": "^16.8.0 || ^17.0.0",
17
17
  "react-dom": "^16.8.0 || ^17.0.0"
package/registry.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- declare var _default: {
1
+ declare const _default: {
2
2
  '@digigov/react-icons/AccessibilityIcon': {};
3
3
  '@digigov/react-icons/ArrowIcon': {};
4
4
  '@digigov/react-icons/BurgerIcon': {};
5
5
  '@digigov/react-icons/CaretIcon': {};
6
6
  '@digigov/react-icons/CheckIcon': {};
7
+ '@digigov/react-icons/ChevronIcon': {};
7
8
  '@digigov/react-icons/CloseIcon': {};
8
9
  '@digigov/react-icons/GlobeIcon': {};
9
10
  '@digigov/react-icons/Icon': {};