@codecademy/gamut-illustrations 1.0.0-alpha.f43515.0 → 1.0.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 (155) hide show
  1. package/dist/AIBuilder.d.ts +3 -0
  2. package/dist/AIBuilder.js +231 -0
  3. package/dist/AIBuilderLanding.d.ts +3 -0
  4. package/dist/AIBuilderLanding.js +263 -0
  5. package/dist/Achievement.d.ts +3 -0
  6. package/dist/Achievement.js +1047 -0
  7. package/dist/Announcement.d.ts +3 -0
  8. package/dist/Announcement.js +155 -0
  9. package/dist/Bee.d.ts +1 -1
  10. package/dist/Bee.js +101 -91
  11. package/dist/Bell.d.ts +1 -1
  12. package/dist/Bell.js +30 -27
  13. package/dist/BinaryBlocks.d.ts +1 -1
  14. package/dist/BinaryBlocks.js +85 -77
  15. package/dist/BinaryStairs.d.ts +3 -0
  16. package/dist/BinaryStairs.js +79 -0
  17. package/dist/Blocks.d.ts +3 -0
  18. package/dist/Blocks.js +245 -0
  19. package/dist/Blueprint.d.ts +3 -0
  20. package/dist/Blueprint.js +92 -0
  21. package/dist/BlueprintWhite.d.ts +3 -0
  22. package/dist/BlueprintWhite.js +99 -0
  23. package/dist/BookAndNotepad.d.ts +3 -0
  24. package/dist/BookAndNotepad.js +94 -0
  25. package/dist/Browser.d.ts +1 -1
  26. package/dist/Browser.js +50 -44
  27. package/dist/BrowserLock.d.ts +1 -1
  28. package/dist/BrowserLock.js +35 -32
  29. package/dist/BrowserPuzzle.d.ts +1 -1
  30. package/dist/BrowserPuzzle.js +50 -45
  31. package/dist/ChatBox.d.ts +1 -1
  32. package/dist/ChatBox.js +30 -27
  33. package/dist/CodeCelebration.d.ts +3 -0
  34. package/dist/CodeCelebration.js +156 -0
  35. package/dist/Coffee.d.ts +3 -0
  36. package/dist/Coffee.js +61 -0
  37. package/dist/Confetti.d.ts +1 -1
  38. package/dist/Confetti.js +52 -46
  39. package/dist/Conversation.d.ts +3 -0
  40. package/dist/Conversation.js +58 -0
  41. package/dist/CubeIllustration.d.ts +3 -0
  42. package/dist/CubeIllustration.js +194 -0
  43. package/dist/CustomProject.d.ts +3 -0
  44. package/dist/CustomProject.js +45 -0
  45. package/dist/EmailAt.d.ts +1 -1
  46. package/dist/EmailAt.js +27 -24
  47. package/dist/Envelope.d.ts +1 -1
  48. package/dist/Envelope.js +27 -24
  49. package/dist/ErrorWindow.d.ts +3 -0
  50. package/dist/ErrorWindow.js +126 -0
  51. package/dist/Events.d.ts +3 -0
  52. package/dist/Events.js +1188 -0
  53. package/dist/ExplodedCube.d.ts +3 -0
  54. package/dist/ExplodedCube.js +80 -0
  55. package/dist/ExplodedCubeLight.d.ts +3 -0
  56. package/dist/ExplodedCubeLight.js +81 -0
  57. package/dist/Heart.d.ts +1 -1
  58. package/dist/Heart.js +24 -21
  59. package/dist/Hills.d.ts +1 -1
  60. package/dist/Hills.js +44 -39
  61. package/dist/HomeOffice.d.ts +1 -1
  62. package/dist/HomeOffice.js +79 -70
  63. package/dist/InnovationBuildingBlocks.d.ts +3 -0
  64. package/dist/InnovationBuildingBlocks.js +378 -0
  65. package/dist/Interest.d.ts +3 -0
  66. package/dist/Interest.js +380 -0
  67. package/dist/Interview.d.ts +3 -0
  68. package/dist/Interview.js +167 -0
  69. package/dist/Keyhole.d.ts +1 -1
  70. package/dist/Keyhole.js +22 -19
  71. package/dist/Knowledge.d.ts +3 -0
  72. package/dist/Knowledge.js +306 -0
  73. package/dist/LightBulbAndGears.d.ts +3 -0
  74. package/dist/LightBulbAndGears.js +352 -0
  75. package/dist/MagnifyingGlass.d.ts +3 -0
  76. package/dist/MagnifyingGlass.js +65 -0
  77. package/dist/Maze.d.ts +1 -1
  78. package/dist/Maze.js +28 -27
  79. package/dist/Megaphone.d.ts +1 -1
  80. package/dist/Megaphone.js +33 -30
  81. package/dist/MobilePhone.d.ts +3 -0
  82. package/dist/MobilePhone.js +94 -0
  83. package/dist/MoneyBack.d.ts +3 -0
  84. package/dist/MoneyBack.js +32 -0
  85. package/dist/New.d.ts +1 -1
  86. package/dist/New.js +39 -36
  87. package/dist/NumberBlocks.d.ts +1 -1
  88. package/dist/NumberBlocks.js +186 -167
  89. package/dist/OfficeAnnouncement.d.ts +2 -0
  90. package/dist/OfficeAnnouncement.js +203 -0
  91. package/dist/Onboarding.d.ts +1 -1
  92. package/dist/Onboarding.js +317 -266
  93. package/dist/Plant.d.ts +1 -1
  94. package/dist/Plant.js +47 -42
  95. package/dist/PortfolioProject.d.ts +1 -1
  96. package/dist/PortfolioProject.js +21 -20
  97. package/dist/PracticeProject.d.ts +1 -1
  98. package/dist/PracticeProject.js +30 -29
  99. package/dist/PracticeTarget.d.ts +3 -0
  100. package/dist/PracticeTarget.js +74 -0
  101. package/dist/ProgressCharts.d.ts +3 -0
  102. package/dist/ProgressCharts.js +147 -0
  103. package/dist/ProgressChartsLight.d.ts +3 -0
  104. package/dist/ProgressChartsLight.js +77 -0
  105. package/dist/ProjectReview.d.ts +3 -0
  106. package/dist/ProjectReview.js +244 -0
  107. package/dist/Purpose.d.ts +3 -0
  108. package/dist/Purpose.js +134 -0
  109. package/dist/Puzzle.d.ts +3 -0
  110. package/dist/Puzzle.js +157 -0
  111. package/dist/Python.d.ts +1 -1
  112. package/dist/Python.js +20 -17
  113. package/dist/SevenDayTrial.d.ts +3 -0
  114. package/dist/SevenDayTrial.js +84 -0
  115. package/dist/StackedFruits.d.ts +3 -0
  116. package/dist/StackedFruits.js +98 -0
  117. package/dist/StackedFruitsLight.d.ts +3 -0
  118. package/dist/StackedFruitsLight.js +70 -0
  119. package/dist/StackedPages.d.ts +3 -0
  120. package/dist/StackedPages.js +148 -0
  121. package/dist/StackedPagesVariant.d.ts +3 -0
  122. package/dist/StackedPagesVariant.js +196 -0
  123. package/dist/StairsToWindow.d.ts +3 -0
  124. package/dist/StairsToWindow.js +99 -0
  125. package/dist/StairsToWindowLight.d.ts +3 -0
  126. package/dist/StairsToWindowLight.js +86 -0
  127. package/dist/Sun.d.ts +1 -1
  128. package/dist/Sun.js +89 -83
  129. package/dist/Syllabus.d.ts +3 -0
  130. package/dist/Syllabus.js +350 -0
  131. package/dist/Tag25PercentOff.d.ts +3 -0
  132. package/dist/Tag25PercentOff.js +90 -0
  133. package/dist/Tag30PercentOff.d.ts +3 -0
  134. package/dist/Tag30PercentOff.js +67 -0
  135. package/dist/Tag50PercentOff.d.ts +3 -0
  136. package/dist/Tag50PercentOff.js +175 -0
  137. package/dist/TagCelebration.d.ts +3 -0
  138. package/dist/TagCelebration.js +163 -0
  139. package/dist/Target.d.ts +1 -1
  140. package/dist/Target.js +25 -22
  141. package/dist/TinyBlocks.d.ts +3 -0
  142. package/dist/TinyBlocks.js +21 -0
  143. package/dist/Warning.d.ts +3 -0
  144. package/dist/Warning.js +99 -0
  145. package/dist/index.d.ts +47 -0
  146. package/dist/index.js +48 -1
  147. package/dist/types.d.ts +1 -1
  148. package/dist/types.js +1 -0
  149. package/package.json +15 -26
  150. package/CHANGELOG.md +0 -1271
  151. package/LICENSE +0 -21
  152. package/babel.config.js +0 -15
  153. package/dist/__tests__/gamut-illustrations.test.js +0 -32
  154. package/jest.config.js +0 -1
  155. package/tsconfig.json +0 -7
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 Ryzac, Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
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
- }