@codecademy/gamut-illustrations 0.32.3-alpha.5ea335.0 → 0.32.3-alpha.718461.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 (73) hide show
  1. package/dist/Announcement.d.ts +1 -1
  2. package/dist/Announcement.js +144 -133
  3. package/dist/Bee.d.ts +1 -1
  4. package/dist/Bee.js +121 -109
  5. package/dist/Bell.d.ts +1 -1
  6. package/dist/Bell.js +33 -28
  7. package/dist/BinaryBlocks.d.ts +1 -1
  8. package/dist/BinaryBlocks.js +123 -113
  9. package/dist/BinaryStairs.d.ts +1 -1
  10. package/dist/BinaryStairs.js +69 -61
  11. package/dist/Blocks.d.ts +1 -1
  12. package/dist/Blocks.js +235 -230
  13. package/dist/Blueprint.d.ts +1 -1
  14. package/dist/Blueprint.js +82 -77
  15. package/dist/Browser.d.ts +1 -1
  16. package/dist/Browser.js +66 -58
  17. package/dist/BrowserLock.d.ts +1 -1
  18. package/dist/BrowserLock.js +33 -28
  19. package/dist/BrowserPuzzle.d.ts +1 -1
  20. package/dist/BrowserPuzzle.js +58 -51
  21. package/dist/ChatBox.d.ts +1 -1
  22. package/dist/ChatBox.js +33 -28
  23. package/dist/CodeCelebration.d.ts +1 -1
  24. package/dist/CodeCelebration.js +145 -137
  25. package/dist/Coffee.d.ts +1 -1
  26. package/dist/Coffee.js +50 -41
  27. package/dist/Confetti.d.ts +1 -1
  28. package/dist/Confetti.js +84 -76
  29. package/dist/EmailAt.d.ts +1 -1
  30. package/dist/EmailAt.js +27 -22
  31. package/dist/Envelope.d.ts +1 -1
  32. package/dist/Envelope.js +27 -22
  33. package/dist/Heart.d.ts +1 -1
  34. package/dist/Heart.js +21 -16
  35. package/dist/Hills.d.ts +1 -1
  36. package/dist/Hills.js +42 -35
  37. package/dist/HomeOffice.d.ts +1 -1
  38. package/dist/HomeOffice.js +107 -96
  39. package/dist/Keyhole.d.ts +1 -1
  40. package/dist/Keyhole.js +21 -16
  41. package/dist/MagnifyingGlass.d.ts +1 -1
  42. package/dist/MagnifyingGlass.js +56 -49
  43. package/dist/Maze.d.ts +1 -1
  44. package/dist/Maze.js +58 -55
  45. package/dist/Megaphone.d.ts +1 -1
  46. package/dist/Megaphone.js +39 -34
  47. package/dist/MobilePhone.d.ts +1 -1
  48. package/dist/MobilePhone.js +84 -74
  49. package/dist/New.d.ts +1 -1
  50. package/dist/New.js +51 -46
  51. package/dist/NumberBlocks.d.ts +1 -1
  52. package/dist/NumberBlocks.js +270 -249
  53. package/dist/Onboarding.d.ts +1 -1
  54. package/dist/Onboarding.js +312 -252
  55. package/dist/Plant.d.ts +1 -1
  56. package/dist/Plant.js +59 -52
  57. package/dist/PortfolioProject.d.ts +1 -1
  58. package/dist/PortfolioProject.js +26 -23
  59. package/dist/PracticeProject.d.ts +1 -1
  60. package/dist/PracticeProject.js +34 -31
  61. package/dist/Puzzle.d.ts +1 -1
  62. package/dist/Puzzle.js +147 -142
  63. package/dist/Python.d.ts +1 -1
  64. package/dist/Python.js +13 -8
  65. package/dist/Sun.d.ts +1 -1
  66. package/dist/Sun.js +108 -100
  67. package/dist/Syllabus.d.ts +1 -1
  68. package/dist/Syllabus.js +340 -330
  69. package/dist/Target.d.ts +1 -1
  70. package/dist/Target.js +34 -29
  71. package/dist/TinyBlocks.d.ts +1 -1
  72. package/dist/TinyBlocks.js +10 -8
  73. package/package.json +5 -5
package/dist/Target.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
2
  import { IllustrationProps } from './types';
3
3
  export declare const Target: React.FC<IllustrationProps>;
package/dist/Target.js CHANGED
@@ -1,41 +1,46 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { jsxs as _jsxs } from "react/jsx-runtime";
2
4
  export var Target = function Target(_ref) {
3
5
  var ariaHidden = _ref['aria-hidden'],
4
6
  className = _ref.className,
5
7
  height = _ref.height,
6
8
  width = _ref.width;
7
- return /*#__PURE__*/React.createElement("svg", {
9
+ return /*#__PURE__*/_jsxs("svg", {
8
10
  "aria-hidden": ariaHidden,
9
11
  className: className,
10
12
  width: width,
11
13
  height: height,
12
14
  viewBox: "0 0 135 97",
13
15
  fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, /*#__PURE__*/React.createElement("title", null, "Target"), /*#__PURE__*/React.createElement("path", {
16
- d: "M6.93 24.844L48 1.133l41.07 23.711v47.423L48 95.978 6.93 72.267V24.844z",
17
- fill: "#FFF0E5",
18
- stroke: "#10162F",
19
- strokeLinejoin: "round"
20
- }), /*#__PURE__*/React.createElement("path", {
21
- d: "M24.537 35.009L48 21.462 71.463 35.01v27.093L48 75.65 24.537 62.102V35.01z",
22
- fill: "#FFF0E5",
23
- stroke: "#10162F",
24
- strokeLinejoin: "round"
25
- }), /*#__PURE__*/React.createElement("path", {
26
- d: "M40.11 44.891l7.325-4.229 7.325 4.23v8.457l-7.325 4.23-7.325-4.23v-8.458z",
27
- fill: "#FFF0E5",
28
- stroke: "#10162F",
29
- strokeLinejoin: "round"
30
- }), /*#__PURE__*/React.createElement("path", {
31
- fillRule: "evenodd",
32
- clipRule: "evenodd",
33
- d: "M56.792 37.243l5.09 14.758-11.902-4.163 6.812-10.595z",
34
- fill: "#FFF0E5",
35
- stroke: "#10162F"
36
- }), /*#__PURE__*/React.createElement("path", {
37
- d: "M59.88 44.511l71.705-24.657M125.648 21.64l3.24-6.64M121.289 23.09l3.24-6.639M116.931 24.541l3.24-6.639M125.76 21.778l6.648 3.24M121.402 23.591l6.647 3.24M117.043 25.042l6.648 3.24",
38
- stroke: "#10162F",
39
- strokeLinecap: "square"
40
- }));
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ children: [/*#__PURE__*/_jsx("title", {
18
+ children: "Target"
19
+ }), /*#__PURE__*/_jsx("path", {
20
+ d: "M6.93 24.844L48 1.133l41.07 23.711v47.423L48 95.978 6.93 72.267V24.844z",
21
+ fill: "#FFF0E5",
22
+ stroke: "#10162F",
23
+ strokeLinejoin: "round"
24
+ }), /*#__PURE__*/_jsx("path", {
25
+ d: "M24.537 35.009L48 21.462 71.463 35.01v27.093L48 75.65 24.537 62.102V35.01z",
26
+ fill: "#FFF0E5",
27
+ stroke: "#10162F",
28
+ strokeLinejoin: "round"
29
+ }), /*#__PURE__*/_jsx("path", {
30
+ d: "M40.11 44.891l7.325-4.229 7.325 4.23v8.457l-7.325 4.23-7.325-4.23v-8.458z",
31
+ fill: "#FFF0E5",
32
+ stroke: "#10162F",
33
+ strokeLinejoin: "round"
34
+ }), /*#__PURE__*/_jsx("path", {
35
+ fillRule: "evenodd",
36
+ clipRule: "evenodd",
37
+ d: "M56.792 37.243l5.09 14.758-11.902-4.163 6.812-10.595z",
38
+ fill: "#FFF0E5",
39
+ stroke: "#10162F"
40
+ }), /*#__PURE__*/_jsx("path", {
41
+ d: "M59.88 44.511l71.705-24.657M125.648 21.64l3.24-6.64M121.289 23.09l3.24-6.639M116.931 24.541l3.24-6.639M125.76 21.778l6.648 3.24M121.402 23.591l6.647 3.24M117.043 25.042l6.648 3.24",
42
+ stroke: "#10162F",
43
+ strokeLinecap: "square"
44
+ })]
45
+ });
41
46
  };
@@ -1,3 +1,3 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
2
  import { IllustrationProps } from './types';
3
3
  export declare const TinyBlocks: React.FC<IllustrationProps>;
@@ -1,20 +1,22 @@
1
- import React from 'react';
1
+ import * as React from 'react';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
2
3
  export var TinyBlocks = function TinyBlocks(_ref) {
3
4
  var ariaHidden = _ref['aria-hidden'],
4
5
  className = _ref.className,
5
6
  height = _ref.height,
6
7
  width = _ref.width;
7
- return /*#__PURE__*/React.createElement("svg", {
8
+ return /*#__PURE__*/_jsx("svg", {
8
9
  "aria-hidden": ariaHidden,
9
10
  className: className,
10
11
  height: height,
11
12
  width: width,
12
13
  viewBox: "0 0 26 26",
13
14
  fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, /*#__PURE__*/React.createElement("path", {
16
- fill: "#66C4FF",
17
- stroke: "#10162F",
18
- d: "M25 1h-8v8h8zM25 9h-8v8h8zM25 17h-8v8h8zM17 9H9v8h8zM17 17H9v8h8zM9 17H1v8h8z"
19
- }));
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ children: /*#__PURE__*/_jsx("path", {
17
+ fill: "#66C4FF",
18
+ stroke: "#10162F",
19
+ d: "M25 1h-8v8h8zM25 9h-8v8h8zM25 17h-8v8h8zM17 9H9v8h8zM17 17H9v8h8zM9 17H1v8h8z"
20
+ })
21
+ });
20
22
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "url": "https://github.com/Codecademy/gamut/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@codecademy/gamut-styles": "14.1.2-alpha.5ea335.0",
7
+ "@codecademy/gamut-styles": "14.1.2-alpha.718461.0",
8
8
  "classnames": "^2.2.5"
9
9
  },
10
10
  "description": "Illustrations library for Codecademy",
@@ -22,8 +22,8 @@
22
22
  "peerDependencies": {
23
23
  "@emotion/react": "^11.4.0",
24
24
  "@emotion/styled": "^11.3.0",
25
- "react": ">=18.2.0",
26
- "react-dom": ">=18.2.0"
25
+ "react": ">=17.0.2",
26
+ "react-dom": ">=17.0.2"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"
@@ -39,6 +39,6 @@
39
39
  "dist/**/[A-Z]**/[A-Z]*.js",
40
40
  "dist/**/[A-Z]**/index.js"
41
41
  ],
42
- "version": "0.32.3-alpha.5ea335.0",
43
- "gitHead": "497e2c87be5034d935d47d81de44a3237edc30d0"
42
+ "version": "0.32.3-alpha.718461.0",
43
+ "gitHead": "5cf488e52238fddac34d31d9573b0f621a4206d3"
44
44
  }