@toptal/picasso-icons 1.9.0 → 1.10.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.
Files changed (91) hide show
  1. package/dist-package/src/Icon/Location16.d.ts +11 -0
  2. package/dist-package/src/Icon/Location16.d.ts.map +1 -0
  3. package/dist-package/src/Icon/Location16.js +25 -0
  4. package/dist-package/src/Icon/Location16.js.map +1 -0
  5. package/dist-package/src/Icon/Location24.d.ts +11 -0
  6. package/dist-package/src/Icon/Location24.d.ts.map +1 -0
  7. package/dist-package/src/Icon/Location24.js +25 -0
  8. package/dist-package/src/Icon/Location24.js.map +1 -0
  9. package/dist-package/src/Icon/LocationResponsive.d.ts +5 -0
  10. package/dist-package/src/Icon/LocationResponsive.d.ts.map +1 -0
  11. package/dist-package/src/Icon/LocationResponsive.js +12 -0
  12. package/dist-package/src/Icon/LocationResponsive.js.map +1 -0
  13. package/dist-package/src/Icon/Objective16.d.ts +11 -0
  14. package/dist-package/src/Icon/Objective16.d.ts.map +1 -0
  15. package/dist-package/src/Icon/Objective16.js +25 -0
  16. package/dist-package/src/Icon/Objective16.js.map +1 -0
  17. package/dist-package/src/Icon/Objective24.d.ts +11 -0
  18. package/dist-package/src/Icon/Objective24.d.ts.map +1 -0
  19. package/dist-package/src/Icon/Objective24.js +25 -0
  20. package/dist-package/src/Icon/Objective24.js.map +1 -0
  21. package/dist-package/src/Icon/ObjectiveResponsive.d.ts +5 -0
  22. package/dist-package/src/Icon/ObjectiveResponsive.d.ts.map +1 -0
  23. package/dist-package/src/Icon/ObjectiveResponsive.js +12 -0
  24. package/dist-package/src/Icon/ObjectiveResponsive.js.map +1 -0
  25. package/dist-package/src/Icon/PendingQueue16.d.ts +11 -0
  26. package/dist-package/src/Icon/PendingQueue16.d.ts.map +1 -0
  27. package/dist-package/src/Icon/PendingQueue16.js +25 -0
  28. package/dist-package/src/Icon/PendingQueue16.js.map +1 -0
  29. package/dist-package/src/Icon/PendingQueue24.d.ts +11 -0
  30. package/dist-package/src/Icon/PendingQueue24.d.ts.map +1 -0
  31. package/dist-package/src/Icon/PendingQueue24.js +25 -0
  32. package/dist-package/src/Icon/PendingQueue24.js.map +1 -0
  33. package/dist-package/src/Icon/PendingQueueResponsive.d.ts +5 -0
  34. package/dist-package/src/Icon/PendingQueueResponsive.d.ts.map +1 -0
  35. package/dist-package/src/Icon/PendingQueueResponsive.js +12 -0
  36. package/dist-package/src/Icon/PendingQueueResponsive.js.map +1 -0
  37. package/dist-package/src/Icon/Playbook16.d.ts +11 -0
  38. package/dist-package/src/Icon/Playbook16.d.ts.map +1 -0
  39. package/dist-package/src/Icon/Playbook16.js +25 -0
  40. package/dist-package/src/Icon/Playbook16.js.map +1 -0
  41. package/dist-package/src/Icon/Playbook24.d.ts +11 -0
  42. package/dist-package/src/Icon/Playbook24.d.ts.map +1 -0
  43. package/dist-package/src/Icon/Playbook24.js +25 -0
  44. package/dist-package/src/Icon/Playbook24.js.map +1 -0
  45. package/dist-package/src/Icon/PlaybookResponsive.d.ts +5 -0
  46. package/dist-package/src/Icon/PlaybookResponsive.d.ts.map +1 -0
  47. package/dist-package/src/Icon/PlaybookResponsive.js +12 -0
  48. package/dist-package/src/Icon/PlaybookResponsive.js.map +1 -0
  49. package/dist-package/src/Icon/ReferralPartners16.d.ts +11 -0
  50. package/dist-package/src/Icon/ReferralPartners16.d.ts.map +1 -0
  51. package/dist-package/src/Icon/ReferralPartners16.js +25 -0
  52. package/dist-package/src/Icon/ReferralPartners16.js.map +1 -0
  53. package/dist-package/src/Icon/ReferralPartners24.d.ts +11 -0
  54. package/dist-package/src/Icon/ReferralPartners24.d.ts.map +1 -0
  55. package/dist-package/src/Icon/ReferralPartners24.js +25 -0
  56. package/dist-package/src/Icon/ReferralPartners24.js.map +1 -0
  57. package/dist-package/src/Icon/ReferralPartnersResponsive.d.ts +5 -0
  58. package/dist-package/src/Icon/ReferralPartnersResponsive.d.ts.map +1 -0
  59. package/dist-package/src/Icon/ReferralPartnersResponsive.js +12 -0
  60. package/dist-package/src/Icon/ReferralPartnersResponsive.js.map +1 -0
  61. package/dist-package/src/Icon/index.d.ts +15 -0
  62. package/dist-package/src/Icon/index.d.ts.map +1 -1
  63. package/dist-package/src/Icon/index.js +15 -0
  64. package/dist-package/src/Icon/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/Icon/Location16.tsx +61 -0
  67. package/src/Icon/Location24.tsx +61 -0
  68. package/src/Icon/LocationResponsive.tsx +19 -0
  69. package/src/Icon/Objective16.tsx +61 -0
  70. package/src/Icon/Objective24.tsx +61 -0
  71. package/src/Icon/ObjectiveResponsive.tsx +19 -0
  72. package/src/Icon/PendingQueue16.tsx +61 -0
  73. package/src/Icon/PendingQueue24.tsx +61 -0
  74. package/src/Icon/PendingQueueResponsive.tsx +19 -0
  75. package/src/Icon/Playbook16.tsx +61 -0
  76. package/src/Icon/Playbook24.tsx +61 -0
  77. package/src/Icon/PlaybookResponsive.tsx +19 -0
  78. package/src/Icon/ReferralPartners16.tsx +61 -0
  79. package/src/Icon/ReferralPartners24.tsx +61 -0
  80. package/src/Icon/ReferralPartnersResponsive.tsx +19 -0
  81. package/src/Icon/index.ts +15 -0
  82. package/src/Icon/svg/location16.svg +1 -0
  83. package/src/Icon/svg/location24.svg +1 -0
  84. package/src/Icon/svg/objective16.svg +1 -0
  85. package/src/Icon/svg/objective24.svg +1 -0
  86. package/src/Icon/svg/pendingQueue16.svg +21 -0
  87. package/src/Icon/svg/pendingQueue24.svg +8 -0
  88. package/src/Icon/svg/playbook16.svg +1 -0
  89. package/src/Icon/svg/playbook24.svg +1 -0
  90. package/src/Icon/svg/referralPartners16.svg +1 -0
  91. package/src/Icon/svg/referralPartners24.svg +1 -0
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 24
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgLocation24',
19
+ })
20
+ const SvgLocation24 = forwardRef(function SvgLocation24(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 24 24'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M19.97 12A8.491 8.491 0 0 0 12 4.03V1h-1v3.03A8.491 8.491 0 0 0 3.03 12H0v1h3.03A8.491 8.491 0 0 0 11 20.97V24h1v-3.03A8.491 8.491 0 0 0 19.97 13H23v-1h-3.03Zm-1 1c-.25 3.74-3.24 6.73-6.97 6.97V17h-1v2.97c-3.74-.25-6.73-3.24-6.97-6.97H7v-1H4.03C4.28 8.26 7.27 5.27 11 5.03V8h1V5.03c3.74.25 6.73 3.24 6.97 6.97H16v1h2.97Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgLocation24.displayName = 'SvgLocation24'
61
+ export default SvgLocation24
@@ -0,0 +1,19 @@
1
+ import { useScreens } from '@toptal/picasso-provider'
2
+ import React from 'react'
3
+
4
+ import Location16 from './Location16'
5
+ import Location24 from './Location24'
6
+ import type { Props } from './Location16'
7
+
8
+ const LocationResponsive = (props: Props) => {
9
+ const screens = useScreens()
10
+
11
+ return screens(
12
+ {
13
+ xl: <Location16 {...props} />,
14
+ },
15
+ <Location24 {...props} />
16
+ ) as JSX.Element
17
+ }
18
+
19
+ export default LocationResponsive
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 16
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgObjective16',
19
+ })
20
+ const SvgObjective16 = forwardRef(function SvgObjective16(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 16 16'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='m15.42 3.29-2.02-.68-.68-2.02-2.71 2.71v2L6.66 8.65c-.2.2-.2.51 0 .71a.485.485 0 0 0 .7 0l2.09-2.09c.36.5.56 1.1.56 1.73 0 1.65-1.35 3-3 3s-3-1.35-3-3a3.009 3.009 0 0 1 3.82-2.89l.27-.96A3.999 3.999 0 0 0 3.01 9c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.9-.31-1.74-.85-2.44l.56-.56h1.47c.53.91.82 1.94.82 3 0 3.31-2.69 6-6 6S1 12.31 1 9a6.005 6.005 0 0 1 7.62-5.78l.27-.96C8.28 2.09 7.65 2 7.01 2 3.14 2 0 5.14 0 9s3.14 7 7 7 7-3.14 7-7c0-1.2-.32-2.36-.9-3.4l2.32-2.32ZM12.29 5H11V3.71l1.28-1.28.33.97.97.33-1.28 1.28Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgObjective16.displayName = 'SvgObjective16'
61
+ export default SvgObjective16
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 24
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgObjective24',
19
+ })
20
+ const SvgObjective24 = forwardRef(function SvgObjective24(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 24.01 24'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='m23.03 4.69-3.09-.62-.62-3.09-4.31 4.31v3l-4.85 4.85c-.2.2-.2.51 0 .71a.485.485 0 0 0 .7 0L14 10.71c.63.79.99 1.76.99 2.78 0 2.48-2.01 4.5-4.48 4.5s-4.48-2.02-4.48-4.5 2.01-4.5 4.48-4.5c.41 0 .82.06 1.22.17L12 8.2c-.48-.14-.98-.21-1.49-.21-3.02 0-5.48 2.47-5.48 5.5s2.46 5.5 5.48 5.5 5.48-2.47 5.48-5.5c0-1.3-.46-2.51-1.28-3.49l1.01-1.01h3l.09-.09a9.42 9.42 0 0 1 1.21 4.59c0 5.24-4.27 9.5-9.51 9.5S1 18.74 1 13.5 5.27 4 10.51 4c.87 0 1.73.12 2.56.35l.27-.96c-.92-.26-1.87-.39-2.83-.39C4.72 3 0 7.71 0 13.5S4.72 24 10.51 24s10.51-4.71 10.51-10.5c0-1.89-.52-3.71-1.48-5.33l3.48-3.48ZM18.31 8h-2.29V5.71l2.69-2.69.38 1.91 1.91.38L18.31 8Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgObjective24.displayName = 'SvgObjective24'
61
+ export default SvgObjective24
@@ -0,0 +1,19 @@
1
+ import { useScreens } from '@toptal/picasso-provider'
2
+ import React from 'react'
3
+
4
+ import Objective16 from './Objective16'
5
+ import Objective24 from './Objective24'
6
+ import type { Props } from './Objective16'
7
+
8
+ const ObjectiveResponsive = (props: Props) => {
9
+ const screens = useScreens()
10
+
11
+ return screens(
12
+ {
13
+ xl: <Objective16 {...props} />,
14
+ },
15
+ <Objective24 {...props} />
16
+ ) as JSX.Element
17
+ }
18
+
19
+ export default ObjectiveResponsive
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 16
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgPendingQueue16',
19
+ })
20
+ const SvgPendingQueue16 = forwardRef(function SvgPendingQueue16(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 16 16'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M10 13h2.18c-1.22 1.26-2.9 2-4.68 2C3.92 15 1 12.08 1 8.5c0-.31.02-.62.07-.93l-.99-.14C.03 7.78 0 8.14 0 8.5 0 12.64 3.36 16 7.5 16c2.1 0 4.09-.89 5.5-2.41V16h1v-4h-4v1ZM5 8.5C5 7.67 4.33 7 3.5 7S2 7.67 2 8.5 2.67 10 3.5 10 5 9.33 5 8.5Zm-2 0c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5Zm6 0C9 7.67 8.33 7 7.5 7S6 7.67 6 8.5 6.67 10 7.5 10 9 9.33 9 8.5Zm-2 0c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5Zm6 0c0-.83-.67-1.5-1.5-1.5S10 7.67 10 8.5s.67 1.5 1.5 1.5S13 9.33 13 8.5Zm-2 0c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM7.5 1C5.4 1 3.41 1.89 2 3.41V1H1v4h4V4H2.82c1.22-1.26 2.9-2 4.68-2C11.08 2 14 4.92 14 8.5c0 .31-.02.62-.07.93l.99.14c.05-.35.08-.71.08-1.07C15 4.36 11.64 1 7.5 1Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgPendingQueue16.displayName = 'SvgPendingQueue16'
61
+ export default SvgPendingQueue16
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 24
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgPendingQueue24',
19
+ })
20
+ const SvgPendingQueue24 = forwardRef(function SvgPendingQueue24(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 24 24'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M15 19h3.98c-1.88 2.51-4.8 4-7.98 4-5.51 0-10-4.49-10-10 0-.8.1-1.61.29-2.38l-.97-.24C.11 11.23.01 12.11.01 13c0 6.07 4.93 11 11 11 3.63 0 6.94-1.76 9-4.71V24h1v-6h-6v1Zm-8-6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2Zm-3 0c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1Zm9 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2Zm-3 0c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1Zm9 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2Zm-3 0c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM11 2C7.94 2 5.08 3.26 3 5.47V1H2v6h6V6H3.86C5.73 4.08 8.28 3 11 3c5.51 0 10 4.49 10 10 0 .8-.1 1.61-.29 2.38l.97.24c.21-.85.31-1.73.31-2.62 0-6.07-4.93-11-11-11Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgPendingQueue24.displayName = 'SvgPendingQueue24'
61
+ export default SvgPendingQueue24
@@ -0,0 +1,19 @@
1
+ import { useScreens } from '@toptal/picasso-provider'
2
+ import React from 'react'
3
+
4
+ import PendingQueue16 from './PendingQueue16'
5
+ import PendingQueue24 from './PendingQueue24'
6
+ import type { Props } from './PendingQueue16'
7
+
8
+ const PendingQueueResponsive = (props: Props) => {
9
+ const screens = useScreens()
10
+
11
+ return screens(
12
+ {
13
+ xl: <PendingQueue16 {...props} />,
14
+ },
15
+ <PendingQueue24 {...props} />
16
+ ) as JSX.Element
17
+ }
18
+
19
+ export default PendingQueueResponsive
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 16
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgPlaybook16',
19
+ })
20
+ const SvgPlaybook16 = forwardRef(function SvgPlaybook16(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 16 16'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M15.8 12.61 10 7.38V11h-.84c-.42 0-.82.12-1.16.32V4c0-1.33.67-2 1.5-2H14v8h1V1H9.5c-.82 0-1.54.39-2 1-.46-.61-1.18-1-2-1H0v11h5.5c.83 0 1.5.67 1.5 2h1c0-1.33.67-2 1.5-2h.5v3.28l2.46-1.14.68 1.52.91-.41-.68-1.54 2.43-1.12ZM7 11.73c-.43-.45-1.02-.73-1.68-.73H1V2h4.5C6.33 2 7 2.67 7 4v7.73Zm4 1.99V9.63l3 2.71-3 1.39Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgPlaybook16.displayName = 'SvgPlaybook16'
61
+ export default SvgPlaybook16
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 24
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgPlaybook24',
19
+ })
20
+ const SvgPlaybook24 = forwardRef(function SvgPlaybook24(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 24 24'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M23.44 18.64 15 11.41V17h-.36c-1.04 0-1.97.42-2.64 1.1V5.5C12 4.12 13.18 3 14.64 3h7.34v12h1V2h-8.34c-1.33 0-2.5.7-3.14 1.73A3.673 3.673 0 0 0 8.36 2H.02v16h8.34C9.81 18 11 19.12 11 20.5h1c0-1.38 1.18-2.5 2.64-2.5H15v4.26l3.72-1.59 1.22 2.74.91-.41-1.21-2.73 3.8-1.63ZM11 18.1c-.66-.67-1.6-1.1-2.64-1.1H1.02V3h7.34C9.81 3 11 4.12 11 5.5v12.6Zm5 2.64v-7.15l5.56 4.77L16 20.74Z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgPlaybook24.displayName = 'SvgPlaybook24'
61
+ export default SvgPlaybook24
@@ -0,0 +1,19 @@
1
+ import { useScreens } from '@toptal/picasso-provider'
2
+ import React from 'react'
3
+
4
+ import Playbook16 from './Playbook16'
5
+ import Playbook24 from './Playbook24'
6
+ import type { Props } from './Playbook16'
7
+
8
+ const PlaybookResponsive = (props: Props) => {
9
+ const screens = useScreens()
10
+
11
+ return screens(
12
+ {
13
+ xl: <Playbook16 {...props} />,
14
+ },
15
+ <Playbook24 {...props} />
16
+ ) as JSX.Element
17
+ }
18
+
19
+ export default PlaybookResponsive
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 16
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgReferralPartners16',
19
+ })
20
+ const SvgReferralPartners16 = forwardRef(function SvgReferralPartners16(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 16 16'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M5.75 5.42C6.5 4.87 7 3.99 7 3c0-1.65-1.35-3-3-3S1 1.35 1 3c0 1 .49 1.88 1.25 2.42C.93 6.07 0 7.42 0 9h1c0-1.65 1.35-3 3-3s3 1.35 3 3h1c0-1.57-.92-2.92-2.25-3.58ZM4 5c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm9.75 7.42C14.5 11.87 15 10.99 15 10c0-1.65-1.35-3-3-3s-3 1.35-3 3c0 1 .49 1.88 1.25 2.42C8.93 13.07 8 14.42 8 16h1c0-1.65 1.35-3 3-3s3 1.35 3 3h1c0-1.57-.92-2.92-2.25-3.58ZM12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-9-1H2v3h5v-1H3v-2zm10-6h1V2H9v1h4v2z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgReferralPartners16.displayName = 'SvgReferralPartners16'
61
+ export default SvgReferralPartners16
@@ -0,0 +1,61 @@
1
+ import type { Ref } from 'react'
2
+ import React, { forwardRef } from 'react'
3
+ import cx from 'classnames'
4
+ import { makeStyles } from '@material-ui/core/styles'
5
+ import type { StandardProps } from '@toptal/picasso-shared'
6
+ import { kebabToCamelCase } from '@toptal/picasso-utils'
7
+
8
+ import styles from './styles'
9
+ const BASE_SIZE = 24
10
+
11
+ type ScaleType = 1 | 2 | 3 | 4
12
+ export interface Props extends StandardProps {
13
+ scale?: ScaleType
14
+ color?: string
15
+ base?: number
16
+ }
17
+ const useStyles = makeStyles(styles, {
18
+ name: 'PicassoSvgReferralPartners24',
19
+ })
20
+ const SvgReferralPartners24 = forwardRef(function SvgReferralPartners24(
21
+ props: Props,
22
+ ref: Ref<SVGSVGElement>
23
+ ) {
24
+ const {
25
+ className,
26
+ style = {},
27
+ color,
28
+ scale,
29
+ base,
30
+ 'data-testid': testId,
31
+ } = props
32
+ const classes: Record<string, string> = useStyles(props)
33
+ const classNames = [classes.root, className]
34
+ const scaledSize = base || BASE_SIZE * Math.ceil(scale || 1)
35
+ const colorClassName = kebabToCamelCase(`${color}`)
36
+
37
+ if (classes[colorClassName]) {
38
+ classNames.push(classes[colorClassName])
39
+ }
40
+
41
+ const svgStyle = {
42
+ minWidth: `${scaledSize}px`,
43
+ minHeight: `${scaledSize}px`,
44
+ ...style,
45
+ }
46
+
47
+ return (
48
+ <svg
49
+ viewBox='0 0 24 24'
50
+ className={cx(...classNames)}
51
+ style={svgStyle}
52
+ ref={ref}
53
+ data-testid={testId}
54
+ >
55
+ <path d='M20.1 18.39c1.13-.71 1.9-1.96 1.9-3.39 0-2.21-1.79-4-4-4s-4 1.79-4 4c0 1.43.76 2.68 1.9 3.39-2.27.85-3.9 3.04-3.9 5.61h1c0-2.76 2.24-5 5-5s5 2.24 5 5h1c0-2.57-1.62-4.76-3.9-5.61ZM15 15c0-1.65 1.35-3 3-3s3 1.35 3 3-1.35 3-3 3-3-1.35-3-3ZM8.1 7.39C9.23 6.68 10 5.43 10 4c0-2.21-1.79-4-4-4S2 1.79 2 4c0 1.43.76 2.68 1.9 3.39C1.63 8.24 0 10.43 0 13h1c0-2.76 2.24-5 5-5s5 2.24 5 5h1c0-2.57-1.62-4.76-3.9-5.61ZM3 4c0-1.65 1.35-3 3-3s3 1.35 3 3-1.35 3-3 3-3-1.35-3-3Zm1 13H3v4h7v-1H4v-3zM20 7h1V3h-8v1h7v3z' />
56
+ </svg>
57
+ )
58
+ })
59
+
60
+ SvgReferralPartners24.displayName = 'SvgReferralPartners24'
61
+ export default SvgReferralPartners24
@@ -0,0 +1,19 @@
1
+ import { useScreens } from '@toptal/picasso-provider'
2
+ import React from 'react'
3
+
4
+ import ReferralPartners16 from './ReferralPartners16'
5
+ import ReferralPartners24 from './ReferralPartners24'
6
+ import type { Props } from './ReferralPartners16'
7
+
8
+ const ReferralPartnersResponsive = (props: Props) => {
9
+ const screens = useScreens()
10
+
11
+ return screens(
12
+ {
13
+ xl: <ReferralPartners16 {...props} />,
14
+ },
15
+ <ReferralPartners24 {...props} />
16
+ ) as JSX.Element
17
+ }
18
+
19
+ export default ReferralPartnersResponsive