@pie-lib/icons 4.0.2 → 4.0.3-next.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 (65) hide show
  1. package/dist/correct-icon.d.ts +78 -0
  2. package/dist/correct-icon.js +59 -0
  3. package/dist/correct-response-icon.d.ts +24 -0
  4. package/dist/correct-response-icon.js +96 -0
  5. package/dist/icon-base.d.ts +78 -0
  6. package/dist/icon-base.js +40 -0
  7. package/dist/icon-root.d.ts +71 -0
  8. package/dist/icon-root.js +57 -0
  9. package/dist/incorrect-icon.d.ts +78 -0
  10. package/dist/incorrect-icon.js +71 -0
  11. package/dist/index.d.ts +17 -0
  12. package/dist/index.js +9 -0
  13. package/dist/instructions-icon.d.ts +13 -0
  14. package/dist/instructions-icon.js +179 -0
  15. package/dist/learn-more-icon.d.ts +18 -0
  16. package/dist/learn-more-icon.js +82 -0
  17. package/dist/nothing-submitted-icon.d.ts +14 -0
  18. package/dist/nothing-submitted-icon.js +92 -0
  19. package/dist/partially-correct-icon.d.ts +78 -0
  20. package/dist/partially-correct-icon.js +64 -0
  21. package/dist/show-rationale-icon.d.ts +13 -0
  22. package/dist/show-rationale-icon.js +136 -0
  23. package/dist/sized.d.ts +22 -0
  24. package/dist/sized.js +19 -0
  25. package/package.json +25 -21
  26. package/CHANGELOG.json +0 -1
  27. package/CHANGELOG.md +0 -573
  28. package/LICENSE.md +0 -5
  29. package/lib/correct-icon.js +0 -79
  30. package/lib/correct-icon.js.map +0 -1
  31. package/lib/correct-response-icon.js +0 -125
  32. package/lib/correct-response-icon.js.map +0 -1
  33. package/lib/icon-base.js +0 -93
  34. package/lib/icon-base.js.map +0 -1
  35. package/lib/icon-root.js +0 -106
  36. package/lib/icon-root.js.map +0 -1
  37. package/lib/incorrect-icon.js +0 -88
  38. package/lib/incorrect-icon.js.map +0 -1
  39. package/lib/index.js +0 -63
  40. package/lib/index.js.map +0 -1
  41. package/lib/instructions-icon.js +0 -205
  42. package/lib/instructions-icon.js.map +0 -1
  43. package/lib/learn-more-icon.js +0 -104
  44. package/lib/learn-more-icon.js.map +0 -1
  45. package/lib/nothing-submitted-icon.js +0 -175
  46. package/lib/nothing-submitted-icon.js.map +0 -1
  47. package/lib/partially-correct-icon.js +0 -81
  48. package/lib/partially-correct-icon.js.map +0 -1
  49. package/lib/show-rationale-icon.js +0 -187
  50. package/lib/show-rationale-icon.js.map +0 -1
  51. package/lib/sized.js +0 -32
  52. package/lib/sized.js.map +0 -1
  53. package/src/__tests__/index.test.js +0 -305
  54. package/src/correct-icon.jsx +0 -54
  55. package/src/correct-response-icon.jsx +0 -106
  56. package/src/icon-base.jsx +0 -55
  57. package/src/icon-root.jsx +0 -53
  58. package/src/incorrect-icon.jsx +0 -67
  59. package/src/index.js +0 -19
  60. package/src/instructions-icon.jsx +0 -189
  61. package/src/learn-more-icon.jsx +0 -94
  62. package/src/nothing-submitted-icon.jsx +0 -136
  63. package/src/partially-correct-icon.jsx +0 -56
  64. package/src/show-rationale-icon.jsx +0 -145
  65. package/src/sized.jsx +0 -25
@@ -1,106 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import React from 'react';
3
- import { styled } from '@mui/material/styles';
4
-
5
- // Open Icon
6
- const OpenIcon = ({ bgFill, fgFill }) => (
7
- <svg
8
- preserveAspectRatio="xMinYMin meet"
9
- version="1.1"
10
- viewBox="-283 359 34 35"
11
- style={{ enableBackground: 'new -283 359 34 35' }}
12
- >
13
- <circle cx="-266" cy="375.9" r="14" fill={bgFill} />
14
- <path
15
- d="M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z
16
- M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z"
17
- fill={bgFill}
18
- />
19
- <polygon points="-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6" fill={fgFill} />
20
- </svg>
21
- );
22
-
23
- OpenIcon.propTypes = {
24
- bgFill: PropTypes.string.isRequired,
25
- fgFill: PropTypes.string.isRequired,
26
- };
27
-
28
- // Close Icon
29
- const CloseIcon = ({ bgFill, fgFill, borderFill }) => (
30
- <svg
31
- preserveAspectRatio="xMinYMin meet"
32
- version="1.1"
33
- viewBox="-129.5 127 34 35"
34
- style={{ enableBackground: 'new -129.5 127 34 35' }}
35
- >
36
- <path
37
- style={{
38
- fill: '#D0CAC5',
39
- stroke: '#E6E3E0',
40
- strokeWidth: 0.75,
41
- strokeMiterlimit: 10,
42
- }}
43
- d="M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5
44
- C-97.4,153.5-104.3,160.4-112.9,160.4z"
45
- />
46
- <path
47
- style={{
48
- fill: '#B3ABA4',
49
- stroke: '#CDC7C2',
50
- strokeWidth: 0.5,
51
- strokeMiterlimit: 10,
52
- }}
53
- d="M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z"
54
- />
55
- <circle cx="-114.2" cy="143.5" r="14" fill={bgFill} />
56
- <path
57
- d="M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z
58
- M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z"
59
- fill={borderFill}
60
- />
61
- <polygon points="-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2" fill={fgFill} />
62
- </svg>
63
- );
64
-
65
- CloseIcon.propTypes = {
66
- bgFill: PropTypes.string.isRequired,
67
- fgFill: PropTypes.string.isRequired,
68
- borderFill: PropTypes.string.isRequired,
69
- };
70
-
71
- // Container for icon sizing
72
- const CorrectResponseContainer = styled('div')(({ size }) => ({
73
- width: size || '25px',
74
- height: size || '25px',
75
- }));
76
-
77
- // Main component
78
- const CorrectResponse = ({ open, size }) => {
79
- // Colors can be customized or pulled from theme
80
- const openBg = '#bce2ff';
81
- const openFg = '#1a9cff';
82
- const closeBg = 'white';
83
- const closeFg = '#1a9cff';
84
- const closeBorder = '#bce2ff';
85
-
86
- return (
87
- <CorrectResponseContainer size={size}>
88
- {open ? (
89
- <OpenIcon bgFill={openBg} fgFill={openFg} />
90
- ) : (
91
- <CloseIcon bgFill={closeBg} fgFill={closeFg} borderFill={closeBorder} />
92
- )}
93
- </CorrectResponseContainer>
94
- );
95
- };
96
-
97
- CorrectResponse.propTypes = {
98
- open: PropTypes.bool,
99
- size: PropTypes.string,
100
- };
101
-
102
- CorrectResponse.defaultProps = {
103
- open: false,
104
- };
105
-
106
- export default CorrectResponse;
package/src/icon-base.jsx DELETED
@@ -1,55 +0,0 @@
1
- import { Circle, IconRoot, RoundFeedbackBox, Square, SquareFeedbackBox } from './icon-root';
2
- import PropTypes from 'prop-types';
3
- import React from 'react';
4
-
5
- export default (Action, Emoji) => {
6
- class IconBase extends React.Component {
7
- static propTypes = {
8
- iconSet: PropTypes.oneOf(['emoji', 'check']),
9
- shape: PropTypes.oneOf(['round', 'square']),
10
- category: PropTypes.oneOf(['feedback', undefined]),
11
- open: PropTypes.bool,
12
- size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
13
- fg: PropTypes.string,
14
- bg: PropTypes.string,
15
- };
16
-
17
- static defaultProps = {
18
- iconSet: 'check',
19
- shape: 'round',
20
- category: undefined,
21
- open: false,
22
- size: 30,
23
- fg: '#4aaf46',
24
- bg: '#f8ffe2',
25
- };
26
-
27
- render() {
28
- const { iconSet, shape, category, open, size, fg, bg } = this.props;
29
-
30
- const Foreground = iconSet === 'check' ? <Action fill={fg} /> : <Emoji fill={fg} />;
31
- const Background = iconSet === 'check' ? <Action fill={bg} /> : <Emoji fill={bg} />;
32
-
33
- const getBox = () => {
34
- if (category === 'feedback') {
35
- return shape === 'round' ? <RoundFeedbackBox fill={bg} /> : <SquareFeedbackBox fill={bg} />;
36
- } else {
37
- return shape === 'round' ? <Circle fill={bg} /> : <Square fill={bg} />;
38
- }
39
- };
40
-
41
- if (open) {
42
- return <IconRoot size={size}>{Background}</IconRoot>;
43
- }
44
-
45
- return (
46
- <IconRoot size={size}>
47
- {getBox()}
48
- {Foreground}
49
- </IconRoot>
50
- );
51
- }
52
- }
53
-
54
- return IconBase;
55
- };
package/src/icon-root.jsx DELETED
@@ -1,53 +0,0 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import Sized from './sized';
4
-
5
- export const normalizeSize = (size) => {
6
- return typeof size === 'string' ? size : typeof size === 'number' ? `${size}px` : '30px';
7
- };
8
-
9
- export const IconRoot = ({ size, children, sx }) => (
10
- <Sized size={size}>
11
- <svg preserveAspectRatio="xMinYMin meet" viewBox="0 0 44 40" style={{ enableBackground: 'new 0 0 44 40', ...sx }}>
12
- {children}
13
- </svg>
14
- </Sized>
15
- );
16
-
17
- IconRoot.propTypes = {
18
- size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
19
- children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,
20
- sx: PropTypes.object,
21
- };
22
-
23
- // Feedback / shapes
24
- export const Tick = ({ fill }) => (
25
- <polygon points="17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7" fill={fill} />
26
- );
27
-
28
- Tick.propTypes = { fill: PropTypes.string.isRequired };
29
-
30
- export const SquareFeedbackBox = ({ fill }) => (
31
- <polygon transform="translate(2, 0)" points="34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3" fill={fill} />
32
- );
33
- SquareFeedbackBox.propTypes = { fill: PropTypes.string.isRequired };
34
-
35
- export const RoundFeedbackBox = ({ fill }) => (
36
- <path
37
- transform="translate(1, 0)"
38
- d="M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z"
39
- fill={fill}
40
- />
41
- );
42
- RoundFeedbackBox.propTypes = { fill: PropTypes.string.isRequired };
43
-
44
- export const Circle = ({ fill }) => <circle transform="translate(-3,0)" cx="23" cy="20.4" r="16" fill={fill} />;
45
- Circle.propTypes = { fill: PropTypes.string.isRequired };
46
-
47
- export const Square = ({ fill }) => <rect x="3.6" y="4.1" width="32" height="32" fill={fill} />;
48
- Square.propTypes = { fill: PropTypes.string.isRequired };
49
-
50
- export const getStyles = (name, fg, bg) => ({
51
- bg: { fill: bg },
52
- fg: { fill: fg },
53
- });
@@ -1,67 +0,0 @@
1
- import IconBase from './icon-base';
2
- import PropTypes from 'prop-types';
3
- import React from 'react';
4
-
5
- // X mark for incorrect
6
- const Ex = ({ fill }) => (
7
- <g transform="translate(0.5, 0.5)">
8
- <rect
9
- x="11"
10
- y="17.3"
11
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)"
12
- width="16.6"
13
- height="3.7"
14
- fill={fill}
15
- />
16
- <rect
17
- x="17.4"
18
- y="10.7"
19
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)"
20
- width="3.7"
21
- height="16.6"
22
- fill={fill}
23
- />
24
- </g>
25
- );
26
-
27
- Ex.propTypes = {
28
- fill: PropTypes.string.isRequired,
29
- };
30
-
31
- // Emoji version
32
- const Emoji = ({ fill }) => (
33
- <g transform="translate(1,0)">
34
- <rect x="21" y="12.9" width="3.7" height="4.7" fill={fill} />
35
- <rect x="12.7" y="12.9" width="3.7" height="4.7" fill={fill} />
36
- <rect x="12.2" y="22.5" width="13" height="3.3" fill={fill} />
37
- </g>
38
- );
39
-
40
- Emoji.propTypes = {
41
- fill: PropTypes.string.isRequired,
42
- };
43
-
44
- // Exported Incorrect icon
45
- export const Incorrect = IconBase(Ex, Emoji);
46
-
47
- Incorrect.propTypes = {
48
- iconSet: PropTypes.oneOf(['emoji', 'check']),
49
- shape: PropTypes.oneOf(['round', 'square']),
50
- category: PropTypes.oneOf(['feedback', undefined]),
51
- open: PropTypes.bool,
52
- fg: PropTypes.string,
53
- bg: PropTypes.string,
54
- size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
55
- };
56
-
57
- Incorrect.defaultProps = {
58
- iconSet: 'check',
59
- shape: 'round',
60
- category: undefined,
61
- open: false,
62
- fg: '#fcb733', // foreground color
63
- bg: '#fbf2e3', // background color
64
- size: 30,
65
- };
66
-
67
- export default Incorrect;
package/src/index.js DELETED
@@ -1,19 +0,0 @@
1
- import Correct from './correct-icon';
2
- import CorrectResponse from './correct-response-icon';
3
- import Incorrect from './incorrect-icon';
4
- import Instructions from './instructions-icon';
5
- import LearnMore from './learn-more-icon';
6
- import NothingSubmitted from './nothing-submitted-icon';
7
- import PartiallyCorrect from './partially-correct-icon';
8
- import ShowRationale from './show-rationale-icon';
9
-
10
- export {
11
- Correct,
12
- CorrectResponse,
13
- Incorrect,
14
- Instructions,
15
- LearnMore,
16
- NothingSubmitted,
17
- PartiallyCorrect,
18
- ShowRationale,
19
- };
@@ -1,189 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import React from 'react';
3
- import Sized from './sized';
4
- const Lines = () => {
5
- const style = {
6
- fill: 'none',
7
- stroke: '#BCE2FF',
8
- strokeWidth: 2,
9
- strokeMiterlimit: 10,
10
- };
11
-
12
- return (
13
- <g>
14
- <line style={style} x1="-98" y1="142" x2="-114.6" y2="142" />
15
- <line style={style} x1="-98" y1="146.3" x2="-114.6" y2="146.3" />
16
- <line style={style} x1="-104" y1="150.7" x2="-114.6" y2="150.7" />
17
- </g>
18
- );
19
- };
20
-
21
- const Root = ({ children, size }) => (
22
- <Sized size={size}>
23
- <svg version="1.1" viewBox="-128 129 31 31" style={{ enableBackground: 'new -128 129 31 31' }}>
24
- {children}
25
- </svg>
26
- </Sized>
27
- );
28
-
29
- Root.propTypes = {
30
- children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,
31
- size: PropTypes.number,
32
- };
33
-
34
- const GreyInfo = () => {
35
- return (
36
- <g>
37
- <rect
38
- x="-123.9"
39
- y="135.3"
40
- style={{
41
- fill: '#D0CAC5',
42
- stroke: '#E6E3E0',
43
- strokeWidth: 0.75,
44
- strokeLinejoin: 'round',
45
- strokeMiterlimit: 10,
46
- }}
47
- width="4.1"
48
- height="4.1"
49
- />
50
- <polygon
51
- style={{
52
- fill: '#D0CAC5',
53
- stroke: '#E6E3E0',
54
- strokeWidth: 0.75,
55
- strokeLinejoin: 'round',
56
- strokeMiterlimit: 10,
57
- }}
58
- points="-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4
59
- -125.6,153.2 -116.8,153.2 -116.8,150.4 "
60
- />
61
- <rect
62
- x="-124.7"
63
- y="134.7"
64
- style={{
65
- fill: '#B3ABA4',
66
- stroke: '#CDC7C2',
67
- strokeWidth: 0.5,
68
- strokeLinecap: 'round',
69
- strokeLinejoin: 'round',
70
- strokeMiterlimit: 10,
71
- }}
72
- width="4.1"
73
- height="4.1"
74
- />
75
-
76
- <polygon
77
- style={{
78
- fill: '#B3ABA4',
79
- stroke: '#CDC7C2',
80
- strokeWidth: 0.5,
81
- strokeLinecap: 'round',
82
- strokeLinejoin: 'round',
83
- strokeMiterlimit: 10,
84
- }}
85
- points="-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8
86
- -126.4,152.5 -117.6,152.5 -117.6,149.8 "
87
- />
88
- <rect x="-125.5" y="134" style={{ fill: '#7FABC6' }} width="4.1" height="4.1" />
89
- <polygon
90
- style={{ fill: '#7FABC6' }}
91
- points="-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1
92
- -127.1,151.9 -118.4,151.9 -118.4,149.1 "
93
- />
94
- </g>
95
- );
96
- };
97
-
98
- const BlueInfo = () => (
99
- <g>
100
- <rect
101
- x="-123.9"
102
- y="135.3"
103
- style={{
104
- fill: '#D0CAC5',
105
- stroke: '#E6E3E0',
106
- strokeWidth: 0.75,
107
- strokeLinejoin: 'round',
108
- strokeMiterlimit: 10,
109
- }}
110
- width="4.1"
111
- height="4.1"
112
- />
113
- <polygon
114
- style={{
115
- fill: '#D0CAC5',
116
- stroke: '#E6E3E0',
117
- strokeWidth: 0.75,
118
- strokeLinejoin: 'round',
119
- strokeMiterlimit: 10,
120
- }}
121
- points="-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4
122
- -125.6,153.2 -116.8,153.2 -116.8,150.4 "
123
- />
124
- <rect
125
- x="-124.7"
126
- y="134.7"
127
- style={{
128
- fill: '#B3ABA4',
129
- stroke: '#CDC7C2',
130
- strokeWidth: 0.5,
131
- strokeLinecap: 'round',
132
- strokeLinejoin: 'round',
133
- strokeMiterlimit: 10,
134
- }}
135
- width="4.1"
136
- height="4.1"
137
- />
138
- <polygon
139
- style={{
140
- fill: '#B3ABA4',
141
- stroke: '#CDC7C2',
142
- strokeWidth: 0.5,
143
- strokeLinecap: 'round',
144
- strokeLinejoin: 'round',
145
- strokeMiterlimit: 10,
146
- }}
147
- points="-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8
148
- -126.4,152.5 -117.6,152.5 -117.6,149.8 "
149
- />
150
- <rect x="-125.5" y="134" style={{ fill: '#1A9CFF' }} width="4.1" height="4.1" />
151
- <polygon
152
- style={{ fill: '#1A9CFF' }}
153
- points="-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1
154
- -127.1,151.9 -118.4,151.9 -118.4,149.1 "
155
- />
156
- </g>
157
- );
158
-
159
- export default class Instructions extends React.Component {
160
- constructor(props) {
161
- super(props);
162
- }
163
-
164
- render() {
165
- if (this.props.open === true) {
166
- return (
167
- <Root>
168
- <GreyInfo />
169
- <Lines />
170
- </Root>
171
- );
172
- } else {
173
- return (
174
- <Root>
175
- <BlueInfo />
176
- <Lines />
177
- </Root>
178
- );
179
- }
180
- }
181
- }
182
-
183
- Instructions.propTypes = {
184
- open: PropTypes.bool,
185
- };
186
-
187
- Instructions.defaultProps = {
188
- open: false,
189
- };
@@ -1,94 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import React from 'react';
3
- import Sized from './sized';
4
-
5
- const Glint = ({ fill }) => (
6
- <path
7
- fill={fill}
8
- d="M-130.4,142.1c0-2.1,1.7-3.9,3.9-3.9c0.3,0,0.5,0,0.8,0.1c-0.6-0.8-1.5-1.3-2.6-1.3c-1.8,0-3.3,1.5-3.3,3.3c0,1.1,0.5,2,1.3,2.6C-130.4,142.6-130.4,142.4-130.4,142.1z"
9
- />
10
- );
11
-
12
- Glint.propTypes = {
13
- fill: PropTypes.string,
14
- };
15
-
16
- export class LearnMore extends React.Component {
17
- static propTypes = {
18
- classes: PropTypes.object.isRequired,
19
- size: PropTypes.number,
20
- };
21
-
22
- render() {
23
- const { size } = this.props;
24
-
25
- if (this.props.open === true) {
26
- return (
27
- <Sized size={size}>
28
- <svg preserveAspectRatio="xMinYMin meet" viewBox="-135 129 16 32">
29
- <path
30
- fill="#BCE2FF"
31
- d="M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z"
32
- />
33
- <path
34
- fill="#BCE2FF"
35
- d="M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z"
36
- />
37
- <Glint fill={'#1A9CFF'} />
38
- </svg>
39
- </Sized>
40
- );
41
- } else {
42
- return (
43
- <Sized size={size}>
44
- <svg preserveAspectRatio="xMinYMin meet" viewBox="-135 129 16 31">
45
- <path
46
- fill="#D0CAC5"
47
- stroke="#E6E3E0"
48
- className="st0"
49
- d="M-120.7,142.4c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-121.6,146-120.7,144.3-120.7,142.4z"
50
- />
51
- <path
52
- fill="#D0CAC5"
53
- stroke="#E6E3E0"
54
- className="st0"
55
- d="M-124.4,154.3h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-123.6,153.9-123.9,154.3-124.4,154.3z"
56
- />
57
- <path
58
- fill="#B3ABA4"
59
- stroke="#CDC7C2"
60
- className="st1"
61
- d="M-121.3,141.8c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.2,145.3-121.3,143.7-121.3,141.8z"
62
- />
63
- ,
64
- <path
65
- fill="#B3ABA4"
66
- stroke="#CDC7C2"
67
- className="st1"
68
- d="M-125,153.7h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.2,153.3-124.6,153.7-125,153.7z"
69
- />
70
- <path
71
- fill="#1A9CFF"
72
- d="M-122,141.1c0-3.7-3.3-6.6-7.1-5.8c-2.4,0.5-4.3,2.4-4.7,4.8c-0.4,2.3,0.6,4.4,2.2,5.7c0.4,0.3,0.6,0.8,0.6,1.3v1.9h6.1v-1.9c0-0.5,0.2-1,0.6-1.3C-122.8,144.7-122,143-122,141.1z"
73
- />
74
- <path
75
- fill="#1A9CFF"
76
- d="M-125.7,153h-4.5c-0.4,0-0.8-0.4-0.8-0.8v-1.6h6.1v1.6C-124.9,152.7-125.2,153-125.7,153z"
77
- />
78
- <Glint fill={'1A9CFF'} />
79
- </svg>
80
- </Sized>
81
- );
82
- }
83
- }
84
- }
85
-
86
- LearnMore.propTypes = {
87
- open: PropTypes.bool,
88
- };
89
-
90
- LearnMore.defaultProps = {
91
- open: false,
92
- };
93
-
94
- export default LearnMore;