@digigov/react-icons 1.0.0-21c8c3dc → 1.0.0-23c81d9f
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/config/package.json +6 -0
- package/AccessibilityIcon/index.js +6 -21
- package/{es/AccessibilityIcon/index.test.js → AccessibilityIcon/index.test/index.js} +1 -1
- package/AccessibilityIcon/index.test/package.json +6 -0
- package/AccessibilityIcon/package.json +6 -0
- package/ArrowIcon/config/index.js +27 -0
- package/ArrowIcon/config/package.json +6 -0
- package/ArrowIcon/config.d.ts +1 -1
- package/ArrowIcon/index.js +6 -21
- package/{esm/ArrowIcon/index.test.js → ArrowIcon/index.test/index.js} +1 -1
- package/ArrowIcon/index.test/package.json +6 -0
- package/ArrowIcon/package.json +6 -0
- package/BurgerIcon/config/package.json +6 -0
- package/BurgerIcon/index.js +6 -21
- package/{esm/BurgerIcon/index.test.js → BurgerIcon/index.test/index.js} +1 -1
- package/BurgerIcon/index.test/package.json +6 -0
- package/BurgerIcon/package.json +6 -0
- package/CaretIcon/config/package.json +6 -0
- package/CaretIcon/index.js +6 -21
- package/{esm/CaretIcon/index.test.js → CaretIcon/index.test/index.js} +1 -1
- package/CaretIcon/index.test/package.json +6 -0
- package/CaretIcon/package.json +6 -0
- package/CheckIcon/config/package.json +6 -0
- package/CheckIcon/index.js +6 -21
- package/{esm/CheckIcon/index.test.js → CheckIcon/index.test/index.js} +1 -1
- package/CheckIcon/index.test/package.json +6 -0
- package/CheckIcon/package.json +6 -0
- package/{es/ArrowIcon/config.js → ChevronIcon/config/index.js} +3 -3
- package/ChevronIcon/config/package.json +6 -0
- package/ChevronIcon/config.d.ts +14 -0
- package/ChevronIcon/index.d.ts +4 -0
- package/{es/CheckIcon → ChevronIcon}/index.js +4 -4
- package/ChevronIcon/index.test/index.js +33 -0
- package/ChevronIcon/index.test/package.json +6 -0
- package/ChevronIcon/index.test.d.ts +1 -0
- package/ChevronIcon/package.json +6 -0
- package/CloseIcon/config/package.json +6 -0
- package/CloseIcon/index.js +6 -21
- package/{esm/CloseIcon/index.test.js → CloseIcon/index.test/index.js} +1 -1
- package/CloseIcon/index.test/package.json +6 -0
- package/CloseIcon/package.json +6 -0
- package/GlobeIcon/config/package.json +6 -0
- package/GlobeIcon/index.js +6 -21
- package/{esm/GlobeIcon/index.test.js → GlobeIcon/index.test/index.js} +1 -1
- package/GlobeIcon/index.test/package.json +6 -0
- package/GlobeIcon/package.json +6 -0
- package/Icon/index.d.ts +1 -1
- package/Icon/index.js +16 -40
- package/{es/Icon/index.test.js → Icon/index.test/index.js} +1 -1
- package/Icon/index.test/package.json +6 -0
- package/Icon/package.json +6 -0
- package/MoreVertIcon/config/package.json +6 -0
- package/MoreVertIcon/index.js +6 -21
- package/{es/MoreVertIcon/index.test.js → MoreVertIcon/index.test/index.js} +1 -1
- package/MoreVertIcon/index.test/package.json +6 -0
- package/MoreVertIcon/package.json +6 -0
- package/SearchIcon/config/package.json +6 -0
- package/SearchIcon/index.js +6 -21
- package/{esm/SearchIcon/index.test.js → SearchIcon/index.test/index.js} +1 -1
- package/SearchIcon/index.test/package.json +6 -0
- package/SearchIcon/package.json +6 -0
- package/UncheckIcon/config/package.json +6 -0
- package/UncheckIcon/index.js +6 -21
- package/{esm/UncheckIcon/index.test.js → UncheckIcon/index.test/index.js} +1 -1
- package/UncheckIcon/index.test/package.json +6 -0
- package/UncheckIcon/package.json +6 -0
- package/cjs/AccessibilityIcon/index.js +24 -0
- package/{AccessibilityIcon/index.test.js → cjs/AccessibilityIcon/index.test/index.js} +10 -10
- package/cjs/ArrowIcon/config/index.js +39 -0
- package/cjs/ArrowIcon/index.js +24 -0
- package/{ArrowIcon/index.test.js → cjs/ArrowIcon/index.test/index.js} +5 -5
- package/cjs/BurgerIcon/index.js +24 -0
- package/{BurgerIcon/index.test.js → cjs/BurgerIcon/index.test/index.js} +7 -7
- package/cjs/CaretIcon/index.js +24 -0
- package/{CaretIcon/index.test.js → cjs/CaretIcon/index.test/index.js} +5 -5
- package/cjs/CheckIcon/index.js +24 -0
- package/{CheckIcon/index.test.js → cjs/CheckIcon/index.test/index.js} +9 -9
- package/{ArrowIcon/config.js → cjs/ChevronIcon/config/index.js} +5 -5
- package/cjs/ChevronIcon/index.js +24 -0
- package/cjs/ChevronIcon/index.test/index.js +39 -0
- package/cjs/CloseIcon/index.js +24 -0
- package/{CloseIcon/index.test.js → cjs/CloseIcon/index.test/index.js} +2 -2
- package/cjs/GlobeIcon/index.js +24 -0
- package/{GlobeIcon/index.test.js → cjs/GlobeIcon/index.test/index.js} +5 -5
- package/cjs/Icon/index.js +58 -0
- package/{Icon/index.test.js → cjs/Icon/index.test/index.js} +11 -11
- package/cjs/MoreVertIcon/index.js +24 -0
- package/{MoreVertIcon/index.test.js → cjs/MoreVertIcon/index.test/index.js} +10 -10
- package/cjs/SearchIcon/index.js +24 -0
- package/{SearchIcon/index.test.js → cjs/SearchIcon/index.test/index.js} +2 -2
- package/cjs/UncheckIcon/index.js +24 -0
- package/{UncheckIcon/index.test.js → cjs/UncheckIcon/index.test/index.js} +10 -10
- package/{icons.js → cjs/icons/index.js} +23 -10
- package/cjs/index.js +148 -0
- package/{registry.js → cjs/registry/index.js} +16 -13
- package/icons/index.js +12 -0
- package/icons/package.json +6 -0
- package/icons.d.ts +3 -0
- package/index.d.ts +1 -0
- package/index.js +11 -135
- package/package.json +4 -4
- package/{es/registry.js → registry/index.js} +15 -13
- package/registry/package.json +6 -0
- package/registry.d.ts +1 -0
- package/src/ArrowIcon/config.tsx +6 -6
- package/src/ChevronIcon/config.tsx +37 -0
- package/src/ChevronIcon/index.test.tsx +20 -0
- package/src/ChevronIcon/index.tsx +8 -0
- package/src/Icon/index.tsx +2 -2
- package/src/icons.ts +3 -0
- package/src/index.ts +1 -0
- package/src/registry.js +2 -0
- package/es/AccessibilityIcon/index.js +0 -9
- package/es/ArrowIcon/index.js +0 -9
- package/es/ArrowIcon/index.test.js +0 -33
- package/es/BurgerIcon/index.js +0 -9
- package/es/BurgerIcon/index.test.js +0 -50
- package/es/CaretIcon/index.js +0 -9
- package/es/CaretIcon/index.test.js +0 -33
- package/es/CheckIcon/index.test.js +0 -67
- package/es/CloseIcon/index.js +0 -9
- package/es/CloseIcon/index.test.js +0 -9
- package/es/GlobeIcon/index.js +0 -9
- package/es/GlobeIcon/index.test.js +0 -33
- package/es/Icon/index.js +0 -34
- package/es/MoreVertIcon/index.js +0 -9
- package/es/SearchIcon/index.js +0 -9
- package/es/SearchIcon/index.test.js +0 -9
- package/es/UncheckIcon/index.js +0 -9
- package/es/UncheckIcon/index.test.js +0 -75
- package/es/icons.js +0 -11
- package/es/index.js +0 -10
- package/esm/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -408
- package/esm/AccessibilityIcon/config.js +0 -19
- package/esm/AccessibilityIcon/index.js +0 -9
- package/esm/AccessibilityIcon/index.test.js +0 -75
- package/esm/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/esm/ArrowIcon/config.js +0 -27
- package/esm/ArrowIcon/index.js +0 -9
- package/esm/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -320
- package/esm/BurgerIcon/config.js +0 -32
- package/esm/BurgerIcon/index.js +0 -9
- package/esm/CaretIcon/__snapshots__/index.test.tsx.snap +0 -148
- package/esm/CaretIcon/config.js +0 -27
- package/esm/CaretIcon/index.js +0 -9
- package/esm/CheckIcon/__snapshots__/index.test.tsx.snap +0 -299
- package/esm/CheckIcon/config.js +0 -11
- package/esm/CheckIcon/index.js +0 -9
- package/esm/CloseIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/esm/CloseIcon/config.js +0 -11
- package/esm/CloseIcon/index.js +0 -9
- package/esm/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -149
- package/esm/GlobeIcon/config.js +0 -11
- package/esm/GlobeIcon/index.js +0 -9
- package/esm/Icon/__snapshots__/index.test.tsx.snap +0 -343
- package/esm/Icon/index.js +0 -34
- package/esm/Icon/index.test.js +0 -82
- package/esm/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -444
- package/esm/MoreVertIcon/config.js +0 -25
- package/esm/MoreVertIcon/index.js +0 -9
- package/esm/MoreVertIcon/index.test.js +0 -75
- package/esm/SearchIcon/__snapshots__/index.test.tsx.snap +0 -34
- package/esm/SearchIcon/config.js +0 -11
- package/esm/SearchIcon/index.js +0 -9
- package/esm/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -336
- package/esm/UncheckIcon/config.js +0 -11
- package/esm/UncheckIcon/index.js +0 -9
- package/esm/icons.js +0 -11
- package/esm/index.js +0 -10
- package/esm/registry.js +0 -44
- /package/{es/AccessibilityIcon/config.js → AccessibilityIcon/config/index.js} +0 -0
- /package/{es/BurgerIcon/config.js → BurgerIcon/config/index.js} +0 -0
- /package/{es/CaretIcon/config.js → CaretIcon/config/index.js} +0 -0
- /package/{es/CheckIcon/config.js → CheckIcon/config/index.js} +0 -0
- /package/{es/CloseIcon/config.js → CloseIcon/config/index.js} +0 -0
- /package/{es/GlobeIcon/config.js → GlobeIcon/config/index.js} +0 -0
- /package/{es/MoreVertIcon/config.js → MoreVertIcon/config/index.js} +0 -0
- /package/{es/SearchIcon/config.js → SearchIcon/config/index.js} +0 -0
- /package/{es/UncheckIcon/config.js → UncheckIcon/config/index.js} +0 -0
- /package/{es → cjs}/AccessibilityIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{AccessibilityIcon/config.js → cjs/AccessibilityIcon/config/index.js} +0 -0
- /package/{es → cjs}/ArrowIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{es → cjs}/BurgerIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{BurgerIcon/config.js → cjs/BurgerIcon/config/index.js} +0 -0
- /package/{es → cjs}/CaretIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{CaretIcon/config.js → cjs/CaretIcon/config/index.js} +0 -0
- /package/{es → cjs}/CheckIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{CheckIcon/config.js → cjs/CheckIcon/config/index.js} +0 -0
- /package/{es → cjs}/CloseIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{CloseIcon/config.js → cjs/CloseIcon/config/index.js} +0 -0
- /package/{es → cjs}/GlobeIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{GlobeIcon/config.js → cjs/GlobeIcon/config/index.js} +0 -0
- /package/{es → cjs}/Icon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{es → cjs}/MoreVertIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{MoreVertIcon/config.js → cjs/MoreVertIcon/config/index.js} +0 -0
- /package/{es → cjs}/SearchIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{SearchIcon/config.js → cjs/SearchIcon/config/index.js} +0 -0
- /package/{es → cjs}/UncheckIcon/__snapshots__/index.test.tsx.snap +0 -0
- /package/{UncheckIcon/config.js → cjs/UncheckIcon/config/index.js} +0 -0
package/src/ArrowIcon/config.tsx
CHANGED
|
@@ -6,25 +6,25 @@ export interface ArrowType {
|
|
|
6
6
|
* @value 'right'
|
|
7
7
|
* @value 'up'
|
|
8
8
|
* @value 'down'
|
|
9
|
-
* @default '
|
|
9
|
+
* @default 'up'
|
|
10
10
|
*/
|
|
11
11
|
direction?: 'left' | 'right' | 'up' | 'down'
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export const arrow: React.FC<ArrowType> = ({ direction = '
|
|
14
|
+
export const arrow: React.FC<ArrowType> = ({ direction = 'up' }) => {
|
|
15
15
|
return (
|
|
16
16
|
<>
|
|
17
17
|
{direction === 'left' && (
|
|
18
|
-
<
|
|
18
|
+
<polygon points="14.4 19.7 8.48 13.7 21.93 13.7 22 10.37 8.48 10.32 14.4 4.4 12 2 2 12 12 22 14.4 19.7" />
|
|
19
19
|
)}
|
|
20
20
|
{direction === 'right' && (
|
|
21
|
-
<
|
|
21
|
+
<polygon points="9.6 4.3 15.52 10.3 2.07 10.3 2 13.63 15.52 13.68 9.6 19.6 12 22 22 12 12 2 9.6 4.3" />
|
|
22
22
|
)}
|
|
23
23
|
{direction === 'up' && (
|
|
24
|
-
<
|
|
24
|
+
<polygon points="22 12 12 2 2 12 4.3 14.4 10.3 8.48 10.3 21.93 13.63 22 13.68 8.48 19.6 14.4 22 12" />
|
|
25
25
|
)}
|
|
26
26
|
{direction === 'down' && (
|
|
27
|
-
<
|
|
27
|
+
<polygon points="19.7 9.6 13.7 15.52 13.7 2.07 10.37 2 10.32 15.52 4.4 9.6 2 12 12 22 22 12 19.7 9.6" />
|
|
28
28
|
)}
|
|
29
29
|
</>
|
|
30
30
|
);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ChevronType {
|
|
4
|
+
/**
|
|
5
|
+
* direction sets the direction of the chevron icon.
|
|
6
|
+
* @value 'left'
|
|
7
|
+
* @value 'right'
|
|
8
|
+
* @value 'up'
|
|
9
|
+
* @value 'down'
|
|
10
|
+
* @default 'right'
|
|
11
|
+
*/
|
|
12
|
+
direction?: 'left' | 'right' | 'up' | 'down'
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const chevron: React.FC<ChevronType> = ({ direction = 'right' }) => {
|
|
16
|
+
return (
|
|
17
|
+
<>
|
|
18
|
+
{direction === 'left' && (
|
|
19
|
+
<path d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z" />
|
|
20
|
+
)}
|
|
21
|
+
{direction === 'right' && (
|
|
22
|
+
<path d="M8.5,2L6.1,4.3l7.6,7.7l-7.6,7.6L8.5,22l10-10L8.5,2z" />
|
|
23
|
+
)}
|
|
24
|
+
{direction === 'up' && (
|
|
25
|
+
<path d="M2,15.8l2.3,2.4l7.7-7.6l7.6,7.6l2.4-2.4l-10-10L2,15.8z" />
|
|
26
|
+
)}
|
|
27
|
+
{direction === 'down' && (
|
|
28
|
+
<path d="M22,8.2l-2.3-2.4L12,13.4L4.4,5.8L2,8.2l10,10L22,8.2z" />
|
|
29
|
+
)}
|
|
30
|
+
</>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
chevron.props = ['direction'];
|
|
36
|
+
|
|
37
|
+
export default chevron;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { mount } from 'enzyme';
|
|
3
|
+
|
|
4
|
+
import ChevronIcon from '@digigov/react-icons/ChevronIcon';
|
|
5
|
+
|
|
6
|
+
it('renders the ChevronIcon with no props, direction prop is right by default', () => {
|
|
7
|
+
expect(mount(<ChevronIcon />)).toMatchSnapshot();
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
it('renders the ChevronIcon with direction left prop', () => {
|
|
11
|
+
expect(mount(<ChevronIcon direction="left" />)).toMatchSnapshot();
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
it('renders the ChevronIcon with direction up prop', () => {
|
|
15
|
+
expect(mount(<ChevronIcon direction="up" />)).toMatchSnapshot();
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
it('renders the ChevronIcon with direction down prop', () => {
|
|
19
|
+
expect(mount(<ChevronIcon direction="down" />)).toMatchSnapshot();
|
|
20
|
+
});
|
package/src/Icon/index.tsx
CHANGED
|
@@ -14,7 +14,7 @@ export type IconProps<N extends keyof IconTypes> = SvgIconProps &
|
|
|
14
14
|
ref?: React.Ref<SVGSVGElement>;
|
|
15
15
|
/**
|
|
16
16
|
* icon is optional, but strongly recommended.
|
|
17
|
-
* Default value is '
|
|
17
|
+
* Default value is 'chevron'.
|
|
18
18
|
* Use this prop to display the icon you want.
|
|
19
19
|
*/
|
|
20
20
|
icon?: N;
|
|
@@ -32,7 +32,7 @@ export const Icon: IconComponent = React.forwardRef<
|
|
|
32
32
|
SVGSVGElement,
|
|
33
33
|
IconProps<IconNames>
|
|
34
34
|
>(function Icon(
|
|
35
|
-
{ icon = '
|
|
35
|
+
{ icon = 'chevron', className, ...props }: IconProps<IconNames>,
|
|
36
36
|
ref
|
|
37
37
|
) {
|
|
38
38
|
const IconComponent = icons[icon];
|
package/src/icons.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';
|
|
@@ -13,6 +14,7 @@ export * from '@digigov/react-icons/AccessibilityIcon/config';
|
|
|
13
14
|
export * from '@digigov/react-icons/ArrowIcon/config';
|
|
14
15
|
export * from '@digigov/react-icons/BurgerIcon/config';
|
|
15
16
|
export * from '@digigov/react-icons/CaretIcon/config';
|
|
17
|
+
export * from '@digigov/react-icons/ChevronIcon/config';
|
|
16
18
|
export * from '@digigov/react-icons/CloseIcon/config';
|
|
17
19
|
export * from '@digigov/react-icons/CheckIcon/config';
|
|
18
20
|
export * from '@digigov/react-icons/GlobeIcon/config';
|
|
@@ -31,4 +33,5 @@ export interface IconTypes {
|
|
|
31
33
|
moreVert: MoreVertType;
|
|
32
34
|
uncheck: UncheckType;
|
|
33
35
|
search: SearchType;
|
|
36
|
+
chevron: ChevronType;
|
|
34
37
|
}
|
package/src/index.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/src/registry.js
CHANGED
|
@@ -4,6 +4,7 @@ import * as _digigov_react_icons_ArrowIcon from '@digigov/react-icons/ArrowIcon'
|
|
|
4
4
|
import * as _digigov_react_icons_BurgerIcon from '@digigov/react-icons/BurgerIcon';
|
|
5
5
|
import * as _digigov_react_icons_CaretIcon from '@digigov/react-icons/CaretIcon';
|
|
6
6
|
import * as _digigov_react_icons_CheckIcon from '@digigov/react-icons/CheckIcon';
|
|
7
|
+
import * as _digigov_react_icons_ChevronIcon from '@digigov/react-icons/ChevronIcon';
|
|
7
8
|
import * as _digigov_react_icons_CloseIcon from '@digigov/react-icons/CloseIcon';
|
|
8
9
|
import * as _digigov_react_icons_GlobeIcon from '@digigov/react-icons/GlobeIcon';
|
|
9
10
|
import * as _digigov_react_icons_Icon from '@digigov/react-icons/Icon';
|
|
@@ -37,6 +38,7 @@ export default {
|
|
|
37
38
|
'@digigov/react-icons/BurgerIcon': lazyImport(_digigov_react_icons_BurgerIcon),
|
|
38
39
|
'@digigov/react-icons/CaretIcon': lazyImport(_digigov_react_icons_CaretIcon),
|
|
39
40
|
'@digigov/react-icons/CheckIcon': lazyImport(_digigov_react_icons_CheckIcon),
|
|
41
|
+
'@digigov/react-icons/ChevronIcon': lazyImport(_digigov_react_icons_ChevronIcon),
|
|
40
42
|
'@digigov/react-icons/CloseIcon': lazyImport(_digigov_react_icons_CloseIcon),
|
|
41
43
|
'@digigov/react-icons/GlobeIcon': lazyImport(_digigov_react_icons_GlobeIcon),
|
|
42
44
|
'@digigov/react-icons/Icon': lazyImport(_digigov_react_icons_Icon),
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var AccessibilityIcon = function AccessibilityIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "accessibility"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default AccessibilityIcon;
|
package/es/ArrowIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var ArrowIcon = function ArrowIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "arrow"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default ArrowIcon;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import ArrowIcon from '@digigov/react-icons/ArrowIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(ArrowIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the ArrowIcon with no props, direction prop is right by default', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
var _ref2 = /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
12
|
-
direction: "left"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the ArrowIcon with direction left prop', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
20
|
-
direction: "up"
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it('renders the ArrowIcon with direction up prop', function () {
|
|
24
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _ref4 = /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
28
|
-
direction: "down"
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('renders the ArrowIcon with direction down prop', function () {
|
|
32
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
33
|
-
});
|
package/es/BurgerIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var BurgerIcon = function BurgerIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "burger"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default BurgerIcon;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import BurgerIcon from '@digigov/react-icons/BurgerIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(BurgerIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the BurgerIcon with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
var _ref2 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
12
|
-
active: true
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the BurgerIcon with prop active=true', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
20
|
-
variant: "dark"
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it('renders the BurgerIcon with prop variant=dark', function () {
|
|
24
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _ref4 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
28
|
-
variant: "light"
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('renders the BurgerIcon prop variant= "light"', function () {
|
|
32
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var _ref5 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
36
|
-
variant: "error"
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it('renders the BurgerIcon prop variant= "error"', function () {
|
|
40
|
-
expect(mount(_ref5)).toMatchSnapshot();
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
var _ref6 = /*#__PURE__*/React.createElement(BurgerIcon, {
|
|
44
|
-
active: true,
|
|
45
|
-
variant: "light"
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
it('renders the BurgerIcon props active variant= "light"', function () {
|
|
49
|
-
expect(mount(_ref6)).toMatchSnapshot();
|
|
50
|
-
});
|
package/es/CaretIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var CaretIcon = function CaretIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "caret"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default CaretIcon;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import CaretIcon from '@digigov/react-icons/CaretIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(CaretIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the CaretIcon with no props, direction prop is left by default', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
var _ref2 = /*#__PURE__*/React.createElement(CaretIcon, {
|
|
12
|
-
direction: "right"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the CaretIcon with direction right prop', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(CaretIcon, {
|
|
20
|
-
direction: "up"
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it('renders the CaretIcon with direction up prop', function () {
|
|
24
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _ref4 = /*#__PURE__*/React.createElement(CaretIcon, {
|
|
28
|
-
direction: "down"
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('renders the CaretIcon with direction down prop', function () {
|
|
32
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
33
|
-
});
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import CheckIcon from '@digigov/react-icons/CheckIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(CheckIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the CheckIcon with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
var _ref2 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
12
|
-
size: "md"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the CheckIcon with prop size=m', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
20
|
-
size: "xl"
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it('renders the CheckIcon with prop size=xl', function () {
|
|
24
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _ref4 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
28
|
-
variant: "light"
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('renders the CheckIcon with prop variant=light', function () {
|
|
32
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var _ref5 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
36
|
-
variant: "success"
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it('renders the CheckIcon with prop variant=success', function () {
|
|
40
|
-
expect(mount(_ref5)).toMatchSnapshot();
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
var _ref6 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
44
|
-
variant: "warning"
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
it('renders the CheckIcon with prop variant=warning', function () {
|
|
48
|
-
expect(mount(_ref6)).toMatchSnapshot();
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
var _ref7 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
52
|
-
variant: "warning",
|
|
53
|
-
size: "sm"
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
it('renders the CheckIcon with prop variant=warning and size=s', function () {
|
|
57
|
-
expect(mount(_ref7)).toMatchSnapshot();
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
var _ref8 = /*#__PURE__*/React.createElement(CheckIcon, {
|
|
61
|
-
variant: "warning",
|
|
62
|
-
size: "xl"
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
it('renders the CheckIcon with prop variant=error and size= xl', function () {
|
|
66
|
-
expect(mount(_ref8)).toMatchSnapshot();
|
|
67
|
-
});
|
package/es/CloseIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var CloseIcon = function CloseIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "close"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default CloseIcon;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import CloseIcon from '@digigov/react-icons/CloseIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(CloseIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the CloseIcon with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
package/es/GlobeIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var GlobeIcon = function GlobeIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "globe"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default GlobeIcon;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import GlobeIcon from '@digigov/react-icons/GlobeIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(GlobeIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the GlobeIcon with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
var _ref2 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
12
|
-
variant: "dark"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the GlobeIcon with prop variant=dark', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
20
|
-
variant: "light"
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it('renders the GlobeIcon prop variant= "light"', function () {
|
|
24
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _ref4 = /*#__PURE__*/React.createElement(GlobeIcon, {
|
|
28
|
-
variant: "error"
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('renders the GlobeIcon prop variant= "error"', function () {
|
|
32
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
33
|
-
});
|
package/es/Icon/index.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["icon", "className"];
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import clsx from 'clsx';
|
|
7
|
-
import SvgIcon from '@digigov/react-core/SvgIcon';
|
|
8
|
-
import * as icons from '@digigov/react-icons/icons';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Icon is used whenever we need a GOV.GR icon.
|
|
12
|
-
* Choose the icon from the list in icon prop.
|
|
13
|
-
*/
|
|
14
|
-
export var Icon = /*#__PURE__*/React.forwardRef(function Icon(_ref, ref) {
|
|
15
|
-
var _ref$icon = _ref.icon,
|
|
16
|
-
icon = _ref$icon === void 0 ? 'arrow' : _ref$icon,
|
|
17
|
-
className = _ref.className,
|
|
18
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
19
|
-
|
|
20
|
-
var IconComponent = icons[icon]; // eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
|
|
23
|
-
var iconProps = IconComponent === null || IconComponent === void 0 ? void 0 : IconComponent.props.reduce(function (compProps, propName) {
|
|
24
|
-
var value = props[propName];
|
|
25
|
-
delete props[propName];
|
|
26
|
-
return _extends({}, compProps, _defineProperty({}, propName, value));
|
|
27
|
-
}, {});
|
|
28
|
-
return /*#__PURE__*/React.createElement(SvgIcon, _extends({
|
|
29
|
-
ref: ref
|
|
30
|
-
}, props, {
|
|
31
|
-
className: clsx(className, true && "govgr-svg-icon--".concat(icon))
|
|
32
|
-
}), /*#__PURE__*/React.createElement(IconComponent, iconProps));
|
|
33
|
-
});
|
|
34
|
-
export default Icon;
|
package/es/MoreVertIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var MoreVertIcon = function MoreVertIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "moreVert"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default MoreVertIcon;
|
package/es/SearchIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var SearchIcon = function SearchIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "search"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default SearchIcon;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import SearchIcon from '@digigov/react-icons/SearchIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(SearchIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the SearchIcon with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
package/es/UncheckIcon/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Icon from '@digigov/react-icons/Icon';
|
|
4
|
-
export var UncheckIcon = function UncheckIcon(props) {
|
|
5
|
-
return /*#__PURE__*/React.createElement(Icon, _extends({}, props, {
|
|
6
|
-
icon: "uncheck"
|
|
7
|
-
}));
|
|
8
|
-
};
|
|
9
|
-
export default UncheckIcon;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { mount } from 'enzyme';
|
|
3
|
-
import UncheckIcon from '@digigov/react-icons/UncheckIcon';
|
|
4
|
-
|
|
5
|
-
var _ref = /*#__PURE__*/React.createElement(UncheckIcon, null);
|
|
6
|
-
|
|
7
|
-
it('renders the UncheckIcon with no props', function () {
|
|
8
|
-
expect(mount(_ref)).toMatchSnapshot();
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
var _ref2 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
12
|
-
size: "md"
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('renders the UncheckIcon with prop size=m', function () {
|
|
16
|
-
expect(mount(_ref2)).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
var _ref3 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
20
|
-
size: "lg"
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it('renders the UncheckIcon with prop size=l', function () {
|
|
24
|
-
expect(mount(_ref3)).toMatchSnapshot();
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
var _ref4 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
28
|
-
variant: "dark"
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
it('renders the UncheckIcon with prop variant=dark', function () {
|
|
32
|
-
expect(mount(_ref4)).toMatchSnapshot();
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
var _ref5 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
36
|
-
variant: "light"
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it('renders the UncheckIcon with prop variant=light', function () {
|
|
40
|
-
expect(mount(_ref5)).toMatchSnapshot();
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
var _ref6 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
44
|
-
variant: "gray"
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
it('renders the UncheckIcon with prop variant=gray', function () {
|
|
48
|
-
expect(mount(_ref6)).toMatchSnapshot();
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
var _ref7 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
52
|
-
variant: "primary"
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
it('renders the UncheckIcon with prop variant=primary', function () {
|
|
56
|
-
expect(mount(_ref7)).toMatchSnapshot();
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
var _ref8 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
60
|
-
variant: "warning",
|
|
61
|
-
size: "sm"
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
it('renders the UncheckIcon with prop variant=warning and size=s', function () {
|
|
65
|
-
expect(mount(_ref8)).toMatchSnapshot();
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
var _ref9 = /*#__PURE__*/React.createElement(UncheckIcon, {
|
|
69
|
-
variant: "warning",
|
|
70
|
-
size: "xl"
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
it('renders the UncheckIcon with prop variant=error and size= xl', function () {
|
|
74
|
-
expect(mount(_ref9)).toMatchSnapshot();
|
|
75
|
-
});
|
package/es/icons.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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';
|
|
11
|
-
export {};
|
package/es/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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';
|