@codecademy/gamut-illustrations 0.57.0 → 0.57.1-alpha.1fcb6d.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.
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IllustrationProps } from './types';
3
+ export declare const CubeIllustration: React.FC<IllustrationProps>;
@@ -0,0 +1,194 @@
1
+ import * as React from 'react';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ export const CubeIllustration = ({
4
+ 'aria-hidden': ariaHidden,
5
+ className,
6
+ height,
7
+ width
8
+ }) => /*#__PURE__*/_jsxs("svg", {
9
+ "aria-hidden": ariaHidden,
10
+ className: className,
11
+ fill: "none",
12
+ height: height,
13
+ viewBox: "0 0 48 48",
14
+ width: width,
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ children: [/*#__PURE__*/_jsxs("g", {
17
+ clipPath: "url(#clip0_2438_2846)",
18
+ children: [/*#__PURE__*/_jsx("rect", {
19
+ width: "48",
20
+ height: "48",
21
+ fill: "white"
22
+ }), /*#__PURE__*/_jsx("path", {
23
+ d: "M45.2622 12.6602V36.0468L25.3724 48L3 37.1994V13.4076L22.8898 1.85815L45.2622 12.6602Z",
24
+ fill: "#10162F",
25
+ stroke: "#10162F",
26
+ strokeLinejoin: "round",
27
+ strokeWidth: "0.27941"
28
+ }), /*#__PURE__*/_jsx("path", {
29
+ d: "M3 35.341V11.5464L25.3752 22.3484V46.1416L3 35.341Z",
30
+ fill: "#FFD300",
31
+ stroke: "black",
32
+ strokeMiterlimit: "10",
33
+ strokeWidth: "0.27941"
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ d: "M25.375 22.3486L45.2634 10.8005V34.1872L25.375 46.1417V22.3486Z",
36
+ fill: "#FFF0E5",
37
+ stroke: "#10162F",
38
+ strokeMiterlimit: "10",
39
+ strokeWidth: "0.27941"
40
+ }), /*#__PURE__*/_jsx("path", {
41
+ d: "M3 11.5466L22.8884 0L45.2636 10.8006L25.3752 22.3486L3 11.5466Z",
42
+ fill: "#FFD300",
43
+ stroke: "black",
44
+ strokeMiterlimit: "10",
45
+ strokeWidth: "0.27941"
46
+ }), /*#__PURE__*/_jsx("path", {
47
+ d: "M7.97223 19.2346L20.4032 25.2364V38.363L7.97223 32.4535V19.2346Z",
48
+ fill: "#FFF0E5",
49
+ stroke: "#10162F",
50
+ strokeLinejoin: "round",
51
+ strokeWidth: "0.27941"
52
+ }), /*#__PURE__*/_jsx("path", {
53
+ d: "M7.97223 19.2346L20.4032 25.2364V38.363L7.97223 32.4535V19.2346Z",
54
+ stroke: "#10162F",
55
+ strokeLinejoin: "round",
56
+ strokeWidth: "0.27941"
57
+ }), /*#__PURE__*/_jsx("path", {
58
+ d: "M7.97223 32.4535L20.4032 25.2363V38.363L7.97223 32.4535Z",
59
+ fill: "#10162F",
60
+ stroke: "#10162F",
61
+ strokeLinejoin: "round",
62
+ strokeWidth: "0.27941"
63
+ }), /*#__PURE__*/_jsx("path", {
64
+ d: "M8.44479 8.52954L29.6478 19.6864",
65
+ stroke: "#10162F",
66
+ strokeLinecap: "round",
67
+ strokeLinejoin: "round",
68
+ strokeWidth: "0.27941"
69
+ }), /*#__PURE__*/_jsx("path", {
70
+ d: "M18.2312 2.75854L39.4343 13.9154",
71
+ stroke: "#10162F",
72
+ strokeLinecap: "round",
73
+ strokeLinejoin: "round",
74
+ strokeWidth: "0.27941"
75
+ }), /*#__PURE__*/_jsx("path", {
76
+ d: "M13.3371 5.75952L34.5402 16.9164",
77
+ stroke: "#10162F",
78
+ strokeLinecap: "round",
79
+ strokeLinejoin: "round",
80
+ strokeWidth: "0.27941"
81
+ }), /*#__PURE__*/_jsx("path", {
82
+ d: "M36.0208 6.2478L17.0852 18.2513",
83
+ stroke: "#10162F",
84
+ strokeLinecap: "round",
85
+ strokeLinejoin: "round",
86
+ strokeWidth: "0.27941"
87
+ }), /*#__PURE__*/_jsx("path", {
88
+ d: "M40.3168 8.66772L21.7388 20.498",
89
+ stroke: "#10162F",
90
+ strokeLinecap: "round",
91
+ strokeLinejoin: "round",
92
+ strokeWidth: "0.27941"
93
+ }), /*#__PURE__*/_jsx("path", {
94
+ d: "M27.0017 1.88208L8.15823 13.8199",
95
+ stroke: "#10162F",
96
+ strokeLinecap: "round",
97
+ strokeLinejoin: "round",
98
+ strokeWidth: "0.27941"
99
+ }), /*#__PURE__*/_jsx("path", {
100
+ d: "M31.6548 4.12817L12.8994 16.0744",
101
+ stroke: "#10162F",
102
+ strokeLinecap: "round",
103
+ strokeLinejoin: "round",
104
+ strokeWidth: "0.27941"
105
+ }), /*#__PURE__*/_jsx("path", {
106
+ d: "M19.3032 17.783C19.8303 17.7269 20.2242 17.3679 20.183 16.9812C20.1418 16.5945 19.6811 16.3266 19.154 16.3827C18.6269 16.4389 18.233 16.7978 18.2742 17.1845C18.3154 17.5712 18.7761 17.8392 19.3032 17.783Z",
107
+ fill: "#3A10E5",
108
+ stroke: "#10162F",
109
+ strokeMiterlimit: "10",
110
+ strokeWidth: "0.27941"
111
+ }), /*#__PURE__*/_jsx("path", {
112
+ d: "M32.791 13.6502C33.3181 13.5941 33.712 13.2351 33.6708 12.8484C33.6296 12.4617 33.169 12.1938 32.6419 12.2499C32.1148 12.306 31.7209 12.665 31.7621 13.0517C31.8033 13.4384 32.2639 13.7064 32.791 13.6502Z",
113
+ fill: "#3A10E5",
114
+ stroke: "#10162F",
115
+ strokeMiterlimit: "10",
116
+ strokeWidth: "0.27941"
117
+ }), /*#__PURE__*/_jsx("path", {
118
+ d: "M40.311 9.20588C40.8381 9.14973 41.232 8.79075 41.1908 8.40407C41.1496 8.01738 40.6889 7.74943 40.1618 7.80557C39.6347 7.86171 39.2408 8.22069 39.282 8.60738C39.3232 8.99406 39.7839 9.26202 40.311 9.20588Z",
119
+ fill: "#3A10E5",
120
+ stroke: "#10162F",
121
+ strokeMiterlimit: "10",
122
+ strokeWidth: "0.27941"
123
+ }), /*#__PURE__*/_jsx("path", {
124
+ d: "M19.6591 12.366C20.1862 12.3099 20.5801 11.9509 20.5389 11.5642C20.4977 11.1775 20.037 10.9096 19.5099 10.9657C18.9828 11.0219 18.5889 11.3809 18.6301 11.7675C18.6713 12.1542 19.132 12.4222 19.6591 12.366Z",
125
+ fill: "#3A10E5",
126
+ stroke: "#10162F",
127
+ strokeMiterlimit: "10",
128
+ strokeWidth: "0.27941"
129
+ }), /*#__PURE__*/_jsx("path", {
130
+ d: "M19.7059 7.20466C20.233 7.14851 20.6269 6.78953 20.5857 6.40285C20.5446 6.01616 20.0839 5.74821 19.5568 5.80435C19.0297 5.86049 18.6358 6.21947 18.677 6.60616C18.7182 6.99284 19.1789 7.2608 19.7059 7.20466Z",
131
+ fill: "#3A10E5",
132
+ stroke: "#10162F",
133
+ strokeMiterlimit: "10",
134
+ strokeWidth: "0.27941"
135
+ }), /*#__PURE__*/_jsx("path", {
136
+ d: "M29.502 19.9681C30.0291 19.9119 30.423 19.553 30.3818 19.1663C30.3406 18.7796 29.8799 18.5116 29.3528 18.5678C28.8257 18.6239 28.4318 18.9829 28.473 19.3696C28.5142 19.7563 28.9749 20.0242 29.502 19.9681Z",
137
+ fill: "#3A10E5",
138
+ stroke: "#10162F",
139
+ strokeMiterlimit: "10",
140
+ strokeWidth: "0.27941"
141
+ }), /*#__PURE__*/_jsx("path", {
142
+ d: "M26.4881 7.99494C27.0151 7.9388 27.409 7.57981 27.3678 7.19313C27.3267 6.80645 26.866 6.53849 26.3389 6.59463C25.8118 6.65078 25.4179 7.00976 25.4591 7.39644C25.5003 7.78313 25.961 8.05108 26.4881 7.99494Z",
143
+ fill: "#3A10E5",
144
+ stroke: "#10162F",
145
+ strokeMiterlimit: "10",
146
+ strokeWidth: "0.27941"
147
+ }), /*#__PURE__*/_jsx("path", {
148
+ d: "M8.88997 9.07306C9.41706 9.01692 9.81096 8.65794 9.76977 8.27125C9.72858 7.88457 9.2679 7.61661 8.74081 7.67276C8.21373 7.7289 7.81983 8.08788 7.86102 8.47457C7.9022 8.86125 8.36288 9.12921 8.88997 9.07306Z",
149
+ fill: "#3A10E5",
150
+ stroke: "#10162F",
151
+ strokeMiterlimit: "10",
152
+ strokeWidth: "0.27941"
153
+ }), /*#__PURE__*/_jsx("path", {
154
+ d: "M31.3038 25.945V30.9897L33.7249 29.6891V24.5396L31.3038 25.945Z",
155
+ fill: "#10162F"
156
+ }), /*#__PURE__*/_jsx("path", {
157
+ d: "M31.3038 25.2983V30.343L33.7249 29.0424V23.8928L31.3038 25.2983Z",
158
+ fill: "#3A10E5",
159
+ stroke: "#10162F",
160
+ strokeMiterlimit: "10",
161
+ strokeWidth: "0.27941"
162
+ }), /*#__PURE__*/_jsx("path", {
163
+ d: "M40.6897 20.9099V26.0594L38.3455 27.4202V22.3531L40.6897 20.9099Z",
164
+ fill: "#10162F"
165
+ }), /*#__PURE__*/_jsx("path", {
166
+ d: "M40.6897 20.0269V25.1764L38.3455 26.5385V21.4714L40.6897 20.0269Z",
167
+ fill: "#3A10E5",
168
+ stroke: "#10162F",
169
+ strokeMiterlimit: "10",
170
+ strokeWidth: "0.27941"
171
+ }), /*#__PURE__*/_jsx("path", {
172
+ d: "M40.9896 28.7488L31.3038 34.3719V36.9467L40.9896 31.3235V28.7488Z",
173
+ fill: "#10162F",
174
+ stroke: "#10162F",
175
+ strokeLinejoin: "round",
176
+ strokeWidth: "0.27941"
177
+ }), /*#__PURE__*/_jsx("path", {
178
+ d: "M40.9896 28.0239L31.3038 33.6471V36.2218L40.9896 30.5987V28.0239Z",
179
+ fill: "#3A10E5",
180
+ stroke: "#10162F",
181
+ strokeMiterlimit: "10",
182
+ strokeWidth: "0.27941"
183
+ })]
184
+ }), /*#__PURE__*/_jsx("defs", {
185
+ children: /*#__PURE__*/_jsx("clipPath", {
186
+ id: "clip0_2438_2846",
187
+ children: /*#__PURE__*/_jsx("rect", {
188
+ width: "48",
189
+ height: "48",
190
+ fill: "white"
191
+ })
192
+ })
193
+ })]
194
+ });
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export * from './CodeCelebration';
18
18
  export * from './Coffee';
19
19
  export * from './Confetti';
20
20
  export * from './Conversation';
21
+ export * from './CubeIllustration';
21
22
  export * from './CustomProject';
22
23
  export * from './EmailAt';
23
24
  export * from './Envelope';
package/dist/index.js CHANGED
@@ -18,6 +18,7 @@ export * from './CodeCelebration';
18
18
  export * from './Coffee';
19
19
  export * from './Confetti';
20
20
  export * from './Conversation';
21
+ export * from './CubeIllustration';
21
22
  export * from './CustomProject';
22
23
  export * from './EmailAt';
23
24
  export * from './Envelope';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/gamut-illustrations",
3
3
  "description": "Illustrations library for Codecademy",
4
- "version": "0.57.0",
4
+ "version": "0.57.1-alpha.1fcb6d.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "bugs": "https://github.com/Codecademy/gamut/issues",
7
7
  "dependencies": {
@@ -32,5 +32,5 @@
32
32
  "dist/**/[A-Z]**/[A-Z]*.js",
33
33
  "dist/**/[A-Z]**/index.js"
34
34
  ],
35
- "gitHead": "9a805de40307ff4e9517cd2443d0d850116c6d15"
35
+ "gitHead": "97e043ba6d99d3a2fe4d91f30c66f9929cdff51e"
36
36
  }