@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/dist/index.js CHANGED
@@ -1,26 +1,73 @@
1
+ export * from './Achievement';
2
+ export * from './AIBuilder';
3
+ export * from './AIBuilderLanding';
4
+ export * from './Announcement';
1
5
  export * from './Bee';
2
6
  export * from './Bell';
3
7
  export * from './BinaryBlocks';
8
+ export * from './BinaryStairs';
9
+ export * from './Blocks';
10
+ export * from './Blueprint';
11
+ export * from './BlueprintWhite';
12
+ export * from './BookAndNotepad';
4
13
  export * from './Browser';
5
14
  export * from './BrowserLock';
6
15
  export * from './BrowserPuzzle';
7
16
  export * from './ChatBox';
17
+ export * from './CodeCelebration';
18
+ export * from './Coffee';
8
19
  export * from './Confetti';
20
+ export * from './Conversation';
21
+ export * from './CubeIllustration';
22
+ export * from './CustomProject';
9
23
  export * from './EmailAt';
10
24
  export * from './Envelope';
25
+ export * from './ErrorWindow';
26
+ export * from './Events';
27
+ export * from './ExplodedCube';
28
+ export * from './ExplodedCubeLight';
11
29
  export * from './Heart';
12
30
  export * from './Hills';
13
31
  export * from './HomeOffice';
32
+ export * from './Interest';
33
+ export * from './InnovationBuildingBlocks';
34
+ export * from './Interview';
14
35
  export * from './Keyhole';
36
+ export * from './Knowledge';
37
+ export * from './LightBulbAndGears';
38
+ export * from './MagnifyingGlass';
15
39
  export * from './Maze';
16
40
  export * from './Megaphone';
41
+ export * from './MobilePhone';
42
+ export * from './MoneyBack';
17
43
  export * from './New';
18
44
  export * from './NumberBlocks';
45
+ export * from './OfficeAnnouncement';
19
46
  export * from './Onboarding';
20
47
  export * from './Plant';
21
48
  export * from './PortfolioProject';
22
49
  export * from './PracticeProject';
50
+ export * from './PracticeTarget';
51
+ export * from './ProgressCharts';
52
+ export * from './ProgressChartsLight';
53
+ export * from './ProjectReview';
54
+ export * from './Purpose';
55
+ export * from './Puzzle';
23
56
  export * from './Python';
57
+ export * from './SevenDayTrial';
58
+ export * from './StackedFruits';
59
+ export * from './StackedFruitsLight';
60
+ export * from './StackedPages';
61
+ export * from './StackedPagesVariant';
62
+ export * from './StairsToWindow';
63
+ export * from './StairsToWindowLight';
24
64
  export * from './Sun';
65
+ export * from './Syllabus';
66
+ export * from './TagCelebration';
67
+ export * from './Tag25PercentOff';
68
+ export * from './Tag30PercentOff';
69
+ export * from './Tag50PercentOff';
25
70
  export * from './Target';
26
- export * from './types';
71
+ export * from './TinyBlocks';
72
+ export * from './types';
73
+ export * from './Warning';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare type IllustrationProps = {
1
+ export type IllustrationProps = {
2
2
  'aria-hidden'?: boolean;
3
3
  className?: string;
4
4
  /**
package/dist/types.js CHANGED
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,46 +1,35 @@
1
1
  {
2
+ "name": "@codecademy/gamut-illustrations",
3
+ "description": "Illustrations library for Codecademy",
4
+ "version": "1.0.0",
2
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
3
- "bugs": {
4
- "url": "https://github.com/Codecademy/gamut/issues"
5
- },
6
+ "bugs": "https://github.com/Codecademy/gamut/issues",
6
7
  "dependencies": {
7
- "@codecademy/gamut-styles": "13.0.0-alpha.f43515.0",
8
+ "@codecademy/gamut-styles": "21.0.0",
8
9
  "classnames": "^2.2.5"
9
10
  },
10
- "description": "Illustrations library for Codecademy",
11
- "devDependencies": {
12
- "@testing-library/react": "^12.1.2"
13
- },
11
+ "files": [
12
+ "dist"
13
+ ],
14
14
  "homepage": "https://github.com/Codecademy/gamut#readme",
15
- "name": "@codecademy/gamut-illustrations",
16
- "module": "./dist/index.js",
17
- "main": "./dist/index.js",
18
15
  "license": "MIT",
16
+ "main": "./dist/index.js",
17
+ "module": "./dist/index.js",
19
18
  "peerDependencies": {
20
19
  "@emotion/react": "^11.4.0",
21
20
  "@emotion/styled": "^11.3.0",
22
- "react": ">=17.0.2",
23
- "react-dom": ">=17.0.2"
21
+ "react": "^17.0.2 || ^18.3.0 || ^19.0.0",
22
+ "react-dom": "^17.0.2 || ^18.3.0 || ^19.0.0"
24
23
  },
25
24
  "publishConfig": {
26
25
  "access": "public"
27
26
  },
28
- "repository": {
29
- "type": "git",
30
- "url": "git+ssh://git@github.com/Codecademy/gamut.git"
31
- },
27
+ "repository": "Codecademy/gamut.git",
32
28
  "scripts": {
33
- "verify": "tsc --noEmit",
34
- "build:compile": "babel ./src --out-dir ./dist --copy-files --extensions \".ts,.tsx\"",
35
- "build:clean": "rm -rf dist",
36
- "build:types": "tsc --emitDeclarationOnly",
37
- "build": "yarn build:clean && yarn build:compile && yarn build:types",
38
- "lernaBuildTask": "yarn build"
29
+ "build": "nx build @codecademy/gamut-illustrations"
39
30
  },
40
31
  "sideEffects": [
41
32
  "dist/**/[A-Z]**/[A-Z]*.js",
42
33
  "dist/**/[A-Z]**/index.js"
43
- ],
44
- "version": "1.0.0-alpha.f43515.0",
45
- "gitHead": "f4e40f0923d85931dce988b511f95134138a223c"
34
+ ]
46
35
  }