@mirohq/design-system-icons 0.1.0
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/README.md +52 -0
- package/dist/main.js +591 -0
- package/dist/main.js.map +1 -0
- package/dist/module.js +557 -0
- package/dist/module.js.map +1 -0
- package/dist/types.d.ts +426 -0
- package/package.json +57 -0
- package/react/arrow-left.tsx +21 -0
- package/react/arrow-right.tsx +21 -0
- package/react/arrow-top-right.tsx +21 -0
- package/react/bar-three.tsx +21 -0
- package/react/check-mark.tsx +21 -0
- package/react/chevron-down.tsx +21 -0
- package/react/chevron-left.tsx +21 -0
- package/react/chevron-right.tsx +21 -0
- package/react/chevron-up.tsx +21 -0
- package/react/cross-circle.tsx +22 -0
- package/react/cross.tsx +21 -0
- package/react/envelope.tsx +30 -0
- package/react/exclamation-point-circle.tsx +22 -0
- package/react/globe.tsx +22 -0
- package/react/icon-placeholder.tsx +22 -0
- package/react/index.ts +27 -0
- package/react/information-mark-circle.tsx +22 -0
- package/react/lock-closed.tsx +32 -0
- package/react/lock-open.tsx +32 -0
- package/react/minus.tsx +21 -0
- package/react/plus.tsx +21 -0
- package/react/question-mark.tsx +22 -0
- package/react/search.tsx +22 -0
- package/react/social-facebook.tsx +19 -0
- package/react/social-instagram.tsx +25 -0
- package/react/social-linkedin.tsx +19 -0
- package/react/social-twitter.tsx +19 -0
- package/react/social-youtube.tsx +19 -0
- package/svg/24/arrow-left.svg +1 -0
- package/svg/24/arrow-right.svg +1 -0
- package/svg/24/arrow-top-right.svg +1 -0
- package/svg/24/bar-three.svg +1 -0
- package/svg/24/check-mark.svg +1 -0
- package/svg/24/chevron-down.svg +1 -0
- package/svg/24/chevron-left.svg +1 -0
- package/svg/24/chevron-right.svg +1 -0
- package/svg/24/chevron-up.svg +1 -0
- package/svg/24/cross-circle.svg +1 -0
- package/svg/24/cross.svg +1 -0
- package/svg/24/envelope.svg +1 -0
- package/svg/24/exclamation-point-circle.svg +1 -0
- package/svg/24/globe.svg +1 -0
- package/svg/24/icon-placeholder.svg +1 -0
- package/svg/24/information-mark-circle.svg +1 -0
- package/svg/24/lock-closed.svg +1 -0
- package/svg/24/lock-open.svg +1 -0
- package/svg/24/minus.svg +1 -0
- package/svg/24/plus.svg +1 -0
- package/svg/24/question-mark.svg +1 -0
- package/svg/24/search.svg +1 -0
- package/svg/24/social-facebook.svg +1 -0
- package/svg/24/social-instagram.svg +1 -0
- package/svg/24/social-linkedin.svg +1 -0
- package/svg/24/social-twitter.svg +1 -0
- package/svg/24/social-youtube.svg +1 -0
- package/svg/meta.json +150 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconArrowRight: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='M20 12H3m10.59-7 7 7-7 7'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconArrowTopRight: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='M10 5h9v9m0-9L5 19'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconBarThree: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='M21 5H3m18 7H3m18 7H3'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconCheckMark: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='m5 11 5 5 9-9'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconChevronDown: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='m6 9.5 6 6 6-6'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconChevronLeft: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='m14.5 6-6 6 6 6'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconChevronRight: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='m9.5 6 6 6-6 6'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconChevronUp: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='m6 14.5 6-6 6 6'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconCrossCircle: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={12} r={9} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='m9 9 6 6m0-6-6 6'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
package/react/cross.tsx
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconCross: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='m6 6 12 12m0-12L6 18'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconEnvelope: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<rect
|
|
15
|
+
width={18}
|
|
16
|
+
height={14}
|
|
17
|
+
x={3}
|
|
18
|
+
y={5}
|
|
19
|
+
stroke='currentColor'
|
|
20
|
+
strokeWidth={2}
|
|
21
|
+
rx={2}
|
|
22
|
+
/>,
|
|
23
|
+
<path
|
|
24
|
+
stroke='currentColor'
|
|
25
|
+
strokeLinecap='round'
|
|
26
|
+
strokeWidth={2}
|
|
27
|
+
d='m7 9 3.618 3.459a2 2 0 0 0 2.764 0L17 9'
|
|
28
|
+
/>
|
|
29
|
+
)
|
|
30
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconExclamationPointCircle: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={12} r={9} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='M12 7v6m0 3.5v.5'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
package/react/globe.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconGlobe: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={12} r={9} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='M11.663 3C9.495 4.62 8 8.042 8 12s1.495 7.38 3.663 9m.674-18C14.505 4.62 16 8.042 16 12s-1.495 7.38-3.663 9M4 9h16M4 15h16'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconIconPlaceholder: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={12} r={9} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='m3 3 18 18m0-18L3 21'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
package/react/index.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export { IconArrowLeft } from './arrow-left'
|
|
2
|
+
export { IconArrowRight } from './arrow-right'
|
|
3
|
+
export { IconArrowTopRight } from './arrow-top-right'
|
|
4
|
+
export { IconBarThree } from './bar-three'
|
|
5
|
+
export { IconCheckMark } from './check-mark'
|
|
6
|
+
export { IconChevronDown } from './chevron-down'
|
|
7
|
+
export { IconChevronLeft } from './chevron-left'
|
|
8
|
+
export { IconChevronRight } from './chevron-right'
|
|
9
|
+
export { IconChevronUp } from './chevron-up'
|
|
10
|
+
export { IconCrossCircle } from './cross-circle'
|
|
11
|
+
export { IconCross } from './cross'
|
|
12
|
+
export { IconEnvelope } from './envelope'
|
|
13
|
+
export { IconExclamationPointCircle } from './exclamation-point-circle'
|
|
14
|
+
export { IconGlobe } from './globe'
|
|
15
|
+
export { IconIconPlaceholder } from './icon-placeholder'
|
|
16
|
+
export { IconInformationMarkCircle } from './information-mark-circle'
|
|
17
|
+
export { IconLockClosed } from './lock-closed'
|
|
18
|
+
export { IconLockOpen } from './lock-open'
|
|
19
|
+
export { IconMinus } from './minus'
|
|
20
|
+
export { IconPlus } from './plus'
|
|
21
|
+
export { IconQuestionMark } from './question-mark'
|
|
22
|
+
export { IconSearch } from './search'
|
|
23
|
+
export { IconSocialFacebook } from './social-facebook'
|
|
24
|
+
export { IconSocialInstagram } from './social-instagram'
|
|
25
|
+
export { IconSocialLinkedin } from './social-linkedin'
|
|
26
|
+
export { IconSocialTwitter } from './social-twitter'
|
|
27
|
+
export { IconSocialYoutube } from './social-youtube'
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconInformationMarkCircle: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={12} r={9} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='M12 6.5V7m0 4v6'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconLockClosed: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={16} r={1} fill='currentColor' />,
|
|
15
|
+
<rect
|
|
16
|
+
width={14}
|
|
17
|
+
height={10}
|
|
18
|
+
x={5}
|
|
19
|
+
y={11}
|
|
20
|
+
stroke='currentColor'
|
|
21
|
+
strokeWidth={2}
|
|
22
|
+
rx={2}
|
|
23
|
+
/>,
|
|
24
|
+
<path
|
|
25
|
+
stroke='currentColor'
|
|
26
|
+
strokeLinecap='round'
|
|
27
|
+
strokeWidth={2}
|
|
28
|
+
d='M16.5 11V5a2 2 0 0 0-2-2h-5a2 2 0 0 0-2 2v6'
|
|
29
|
+
/>,
|
|
30
|
+
<circle cx={12} cy={16} r={1} stroke='currentColor' strokeWidth={2} />
|
|
31
|
+
)
|
|
32
|
+
)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconLockOpen: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={16} r={1} fill='currentColor' />,
|
|
15
|
+
<rect
|
|
16
|
+
width={14}
|
|
17
|
+
height={10}
|
|
18
|
+
x={5}
|
|
19
|
+
y={11}
|
|
20
|
+
stroke='currentColor'
|
|
21
|
+
strokeWidth={2}
|
|
22
|
+
rx={2}
|
|
23
|
+
/>,
|
|
24
|
+
<path
|
|
25
|
+
stroke='currentColor'
|
|
26
|
+
strokeLinecap='round'
|
|
27
|
+
strokeWidth={2}
|
|
28
|
+
d='M16.5 11V5a2 2 0 0 0-2-2h-5a2 2 0 0 0-2 2v1.5'
|
|
29
|
+
/>,
|
|
30
|
+
<circle cx={12} cy={16} r={1} stroke='currentColor' strokeWidth={2} />
|
|
31
|
+
)
|
|
32
|
+
)
|
package/react/minus.tsx
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconMinus: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='M5 12h14'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
package/react/plus.tsx
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconPlus: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
stroke='currentColor'
|
|
16
|
+
strokeLinecap='round'
|
|
17
|
+
strokeWidth={2}
|
|
18
|
+
d='M5 12h14m-7-7v14'
|
|
19
|
+
/>
|
|
20
|
+
)
|
|
21
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconQuestionMark: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={12} cy={12} r={9} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='M9.17 9a3.001 3.001 0 1 1 3.812 3.836c-.522.18-.982.612-.982 1.164v.25m0 2.65v.1'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
package/react/search.tsx
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconSearch: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<circle cx={10} cy={10} r={6} stroke='currentColor' strokeWidth={2} />,
|
|
15
|
+
<path
|
|
16
|
+
stroke='currentColor'
|
|
17
|
+
strokeLinecap='round'
|
|
18
|
+
strokeWidth={2}
|
|
19
|
+
d='m20 20-5.5-5.5'
|
|
20
|
+
/>
|
|
21
|
+
)
|
|
22
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconSocialFacebook: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
fill='currentColor'
|
|
16
|
+
d='M22 12.061C22 6.505 17.523 2 12 2S2 6.505 2 12.061c0 5.022 3.657 9.184 8.438 9.939v-7.03h-2.54v-2.91h2.54V9.845c0-2.522 1.492-3.915 3.777-3.915 1.094 0 2.238.197 2.238.197v2.476h-1.26c-1.243 0-1.63.775-1.63 1.57v1.888h2.773l-.443 2.908h-2.33V22c4.78-.755 8.437-4.917 8.437-9.939Z'
|
|
17
|
+
/>
|
|
18
|
+
)
|
|
19
|
+
)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconSocialInstagram: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
fill='currentColor'
|
|
16
|
+
d='M8.667 12a3.333 3.333 0 1 0 6.666 0 3.333 3.333 0 0 0-6.666 0Z'
|
|
17
|
+
/>,
|
|
18
|
+
<path
|
|
19
|
+
fill='currentColor'
|
|
20
|
+
fillRule='evenodd'
|
|
21
|
+
d='M12 2c-2.716 0-3.056.012-4.123.06-1.064.049-1.791.218-2.427.465a4.902 4.902 0 0 0-1.772 1.153A4.902 4.902 0 0 0 2.525 5.45c-.247.636-.416 1.363-.465 2.427C2.011 8.944 2 9.284 2 12s.011 3.056.06 4.123c.049 1.064.218 1.791.465 2.427a4.902 4.902 0 0 0 1.153 1.772 4.901 4.901 0 0 0 1.772 1.153c.636.247 1.363.416 2.427.465 1.067.048 1.407.06 4.123.06s3.056-.012 4.123-.06c1.064-.049 1.791-.218 2.427-.465a4.902 4.902 0 0 0 1.772-1.153 4.902 4.902 0 0 0 1.153-1.772c.247-.636.416-1.363.465-2.427.048-1.067.06-1.407.06-4.123s-.012-3.056-.06-4.123c-.049-1.064-.218-1.791-.465-2.427a4.901 4.901 0 0 0-1.153-1.772 4.902 4.902 0 0 0-1.772-1.153c-.636-.247-1.363-.416-2.427-.465C15.056 2.012 14.716 2 12 2Zm6.538 4.662a1.2 1.2 0 1 1-2.4 0 1.2 1.2 0 0 1 2.4 0ZM6.865 12a5.135 5.135 0 1 1 10.27 0 5.135 5.135 0 0 1-10.27 0Z'
|
|
22
|
+
clipRule='evenodd'
|
|
23
|
+
/>
|
|
24
|
+
)
|
|
25
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconSocialLinkedin: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
fill='currentColor'
|
|
16
|
+
d='M20.52 2c.816 0 1.48.646 1.48 1.442v17.115c0 .796-.664 1.443-1.48 1.443H3.475C2.661 22 2 21.353 2 20.557V3.442C2 2.646 2.661 2 3.475 2h17.046Zm-1.477 17.042v-5.234c0-2.57-.555-4.547-3.558-4.547-1.444 0-2.412.791-2.807 1.542h-.04V9.498H9.793v9.544h2.963v-4.72c0-1.246.235-2.452 1.779-2.452 1.522 0 1.541 1.424 1.541 2.53v4.642h2.966ZM7.933 9.498h-2.97v9.544h2.97V9.498ZM6.449 4.753a1.72 1.72 0 1 0-.003 3.44 1.72 1.72 0 0 0 .003-3.44Z'
|
|
17
|
+
/>
|
|
18
|
+
)
|
|
19
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconSocialTwitter: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
fill='currentColor'
|
|
16
|
+
d='M7.919 21C16.22 21 20.76 14.074 20.76 8.068c0-.196 0-.392-.013-.587A9.22 9.22 0 0 0 23 5.128a8.963 8.963 0 0 1-2.593.715 4.556 4.556 0 0 0 1.985-2.514 9.01 9.01 0 0 1-2.866 1.104A4.505 4.505 0 0 0 16.235 3c-2.479 0-4.518 2.054-4.518 4.55 0 .345.039.69.117 1.028A12.791 12.791 0 0 1 2.53 3.829c-1.19 2.065-.574 4.741 1.4 6.067a4.456 4.456 0 0 1-2.049-.569v.058c0 2.155 1.523 4.029 3.621 4.455a4.477 4.477 0 0 1-2.038.078 4.532 4.532 0 0 0 4.217 3.157A9.019 9.019 0 0 1 1 18.958a12.716 12.716 0 0 0 6.919 2.039'
|
|
17
|
+
/>
|
|
18
|
+
)
|
|
19
|
+
)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef, createElement } from 'react'
|
|
2
|
+
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
|
|
3
|
+
|
|
4
|
+
import { StyledIcon } from '../src/icon'
|
|
5
|
+
import type { IconProps } from '../src/icon'
|
|
6
|
+
|
|
7
|
+
export const IconSocialYoutube: ForwardRefExoticComponent<
|
|
8
|
+
IconProps & RefAttributes<SVGSVGElement>
|
|
9
|
+
> = forwardRef(({ size = 'medium', ...props }, forwardRef) =>
|
|
10
|
+
createElement(
|
|
11
|
+
StyledIcon,
|
|
12
|
+
{ ...props, size, viewBox: '0 0 24 24', fill: 'none', ref: forwardRef },
|
|
13
|
+
<path d='M0 0h24v24H0z' />,
|
|
14
|
+
<path
|
|
15
|
+
fill='currentColor'
|
|
16
|
+
d='M23.02 6.155c-.265-1.045-1.044-1.868-2.034-2.147C19.192 3.5 12 3.5 12 3.5s-7.192 0-8.986.508C2.024 4.287 1.245 5.11.98 6.155.5 8.049.5 12 .5 12s0 3.952.48 5.845c.265 1.045 1.044 1.868 2.034 2.148C4.808 20.5 12 20.5 12 20.5s7.192 0 8.986-.507c.99-.28 1.77-1.103 2.034-2.148.48-1.893.48-5.845.48-5.845s0-3.951-.48-5.845ZM9.7 15.643V8.357L15.675 12 9.7 15.643Z'
|
|
17
|
+
/>
|
|
18
|
+
)
|
|
19
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="none" d="M0 0h23.59v24H0z"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M20.59 12h-17M10 5l-7 7 7 7"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M20 12H3M13.59 5l7 7-7 7"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M10 5h9v9M19 5 5 19"/></svg>
|