@codecademy/gamut-illustrations 1.0.0-alpha.f6cb5a.0 → 67.0.0-alpha.7455bb.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 (90) hide show
  1. package/LICENSE +1 -1
  2. package/dist/Announcement.d.ts +3 -0
  3. package/dist/Announcement.js +157 -0
  4. package/dist/Bee.d.ts +1 -1
  5. package/dist/Bee.js +124 -112
  6. package/dist/Bell.d.ts +1 -1
  7. package/dist/Bell.js +36 -31
  8. package/dist/BinaryBlocks.d.ts +1 -1
  9. package/dist/BinaryBlocks.js +126 -116
  10. package/dist/BinaryStairs.d.ts +3 -0
  11. package/dist/BinaryStairs.js +81 -0
  12. package/dist/Blocks.d.ts +3 -0
  13. package/dist/Blocks.js +247 -0
  14. package/dist/Blueprint.d.ts +3 -0
  15. package/dist/Blueprint.js +94 -0
  16. package/dist/BlueprintWhite.d.ts +3 -0
  17. package/dist/BlueprintWhite.js +101 -0
  18. package/dist/BookAndNotepad.d.ts +3 -0
  19. package/dist/BookAndNotepad.js +96 -0
  20. package/dist/Browser.d.ts +1 -1
  21. package/dist/Browser.js +69 -61
  22. package/dist/BrowserLock.d.ts +1 -1
  23. package/dist/BrowserLock.js +36 -31
  24. package/dist/BrowserPuzzle.d.ts +1 -1
  25. package/dist/BrowserPuzzle.js +61 -54
  26. package/dist/ChatBox.d.ts +1 -1
  27. package/dist/ChatBox.js +36 -31
  28. package/dist/CodeCelebration.d.ts +3 -0
  29. package/dist/CodeCelebration.js +158 -0
  30. package/dist/Coffee.d.ts +3 -0
  31. package/dist/Coffee.js +63 -0
  32. package/dist/Confetti.d.ts +1 -1
  33. package/dist/Confetti.js +87 -79
  34. package/dist/EmailAt.d.ts +1 -1
  35. package/dist/EmailAt.js +30 -25
  36. package/dist/Envelope.d.ts +1 -1
  37. package/dist/Envelope.js +30 -25
  38. package/dist/ErrorWindow.d.ts +3 -0
  39. package/dist/ErrorWindow.js +128 -0
  40. package/dist/Heart.d.ts +1 -1
  41. package/dist/Heart.js +24 -19
  42. package/dist/Hills.d.ts +1 -1
  43. package/dist/Hills.js +45 -38
  44. package/dist/HomeOffice.d.ts +1 -1
  45. package/dist/HomeOffice.js +110 -99
  46. package/dist/Keyhole.d.ts +1 -1
  47. package/dist/Keyhole.js +24 -19
  48. package/dist/MagnifyingGlass.d.ts +3 -0
  49. package/dist/MagnifyingGlass.js +67 -0
  50. package/dist/Maze.d.ts +1 -1
  51. package/dist/Maze.js +61 -58
  52. package/dist/Megaphone.d.ts +1 -1
  53. package/dist/Megaphone.js +42 -37
  54. package/dist/MobilePhone.d.ts +3 -0
  55. package/dist/MobilePhone.js +96 -0
  56. package/dist/New.d.ts +1 -1
  57. package/dist/New.js +54 -49
  58. package/dist/NumberBlocks.d.ts +1 -1
  59. package/dist/NumberBlocks.js +273 -252
  60. package/dist/Onboarding.d.ts +1 -1
  61. package/dist/Onboarding.js +314 -253
  62. package/dist/Plant.d.ts +1 -1
  63. package/dist/Plant.js +62 -55
  64. package/dist/PortfolioProject.d.ts +1 -1
  65. package/dist/PortfolioProject.js +29 -26
  66. package/dist/PracticeProject.d.ts +1 -1
  67. package/dist/PracticeProject.js +37 -34
  68. package/dist/Puzzle.d.ts +3 -0
  69. package/dist/Puzzle.js +159 -0
  70. package/dist/Python.d.ts +1 -1
  71. package/dist/Python.js +16 -11
  72. package/dist/Sun.d.ts +1 -1
  73. package/dist/Sun.js +111 -103
  74. package/dist/Syllabus.d.ts +3 -0
  75. package/dist/Syllabus.js +352 -0
  76. package/dist/Target.d.ts +1 -1
  77. package/dist/Target.js +37 -32
  78. package/dist/TinyBlocks.d.ts +3 -0
  79. package/dist/TinyBlocks.js +22 -0
  80. package/dist/Warning.d.ts +3 -0
  81. package/dist/Warning.js +101 -0
  82. package/dist/index.d.ts +15 -0
  83. package/dist/index.js +16 -1
  84. package/dist/types.js +1 -0
  85. package/package.json +9 -11
  86. package/CHANGELOG.md +0 -1271
  87. package/babel.config.js +0 -15
  88. package/dist/__tests__/gamut-illustrations.test.js +0 -32
  89. package/jest.config.js +0 -1
  90. package/tsconfig.json +0 -7
package/babel.config.js DELETED
@@ -1,15 +0,0 @@
1
- module.exports = {
2
- presets: ['codecademy', '@babel/preset-typescript'],
3
- plugins: [
4
- [
5
- '@emotion',
6
- {
7
- sourceMap: true,
8
- autoLabel: 'always',
9
- labelFormat: '[local]',
10
- },
11
- ],
12
- ],
13
- include: ['./src/**/*'],
14
- ignore: ['__tests__', './**/*.d.ts'],
15
- };
@@ -1,32 +0,0 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
-
3
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
-
5
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
-
7
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
8
-
9
- function _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
10
-
11
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
-
13
- import { render } from '@testing-library/react';
14
- import React from 'react';
15
- import * as illustrations from '..';
16
- describe('illustrations', function () {
17
- var _loop = function _loop() {
18
- var _ref = _Object$entries[_i2];
19
- _ref2 = _slicedToArray(_ref, 2);
20
- var name = _ref2[0];
21
- var Illustration = _ref2[1];
22
- it("".concat(name, " renders"), function () {
23
- render( /*#__PURE__*/React.createElement(Illustration, null));
24
- });
25
- };
26
-
27
- for (var _i2 = 0, _Object$entries = Object.entries(illustrations); _i2 < _Object$entries.length; _i2++) {
28
- var _ref2;
29
-
30
- _loop();
31
- }
32
- });
package/jest.config.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('../../jest.config.base')('gamut-illustrations');
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "include": ["../../typings/*.d.ts", "./src/**/*.ts", "./src/**/*.tsx"],
4
- "compilerOptions": {
5
- "outDir": "./dist"
6
- }
7
- }