@pie-element/ebsr 11.0.0 → 12.0.1-esmbeta.1

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 (284) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/configure/CHANGELOG.md +8 -0
  3. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
  4. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +4186 -0
  5. package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +5 -0
  6. package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
  7. package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
  8. package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
  9. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
  10. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +3332 -0
  11. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +202 -0
  12. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
  13. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +248 -0
  14. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
  15. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +597 -0
  16. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
  17. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
  18. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
  19. package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +20 -0
  20. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
  21. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +2297 -0
  22. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +34 -0
  23. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
  24. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +346 -0
  25. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
  26. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +28 -0
  27. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
  28. package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
  29. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +2993 -0
  30. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +2217 -0
  31. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
  32. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +61 -0
  33. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
  34. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
  35. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +1332 -0
  36. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +1015 -0
  37. package/configure/node_modules/@pie-element/multiple-choice/esm/configure.css +847 -0
  38. package/configure/node_modules/@pie-element/multiple-choice/esm/configure.js +1218 -0
  39. package/configure/node_modules/@pie-element/multiple-choice/esm/configure.js.map +1 -0
  40. package/configure/node_modules/@pie-element/multiple-choice/esm/controller.css +847 -0
  41. package/configure/node_modules/@pie-element/multiple-choice/esm/controller.js +324 -0
  42. package/configure/node_modules/@pie-element/multiple-choice/esm/controller.js.map +1 -0
  43. package/configure/node_modules/@pie-element/multiple-choice/esm/element.css +847 -0
  44. package/configure/node_modules/@pie-element/multiple-choice/esm/element.js +3287 -0
  45. package/configure/node_modules/@pie-element/multiple-choice/esm/element.js.map +1 -0
  46. package/configure/node_modules/@pie-element/multiple-choice/esm/print.css +847 -0
  47. package/configure/node_modules/@pie-element/multiple-choice/esm/print.js +3017 -0
  48. package/configure/node_modules/@pie-element/multiple-choice/esm/print.js.map +1 -0
  49. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +427 -0
  50. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
  51. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +252 -0
  52. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
  53. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +174 -0
  54. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
  55. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +388 -0
  56. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
  57. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +108 -0
  58. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
  59. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +469 -0
  60. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
  61. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +129 -0
  62. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
  63. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +48 -0
  64. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
  65. package/configure/node_modules/@pie-element/multiple-choice/module/configure.js +1 -0
  66. package/configure/node_modules/@pie-element/multiple-choice/module/controller.js +3472 -0
  67. package/configure/node_modules/@pie-element/multiple-choice/module/demo.js +86 -0
  68. package/configure/node_modules/@pie-element/multiple-choice/module/element.js +1 -0
  69. package/configure/node_modules/@pie-element/multiple-choice/module/index.html +21 -0
  70. package/configure/node_modules/@pie-element/multiple-choice/module/index.js +2 -0
  71. package/configure/node_modules/@pie-element/multiple-choice/module/manifest.json +10 -0
  72. package/configure/node_modules/@pie-element/multiple-choice/module/print-demo.js +124 -0
  73. package/configure/node_modules/@pie-element/multiple-choice/module/print.html +18 -0
  74. package/configure/node_modules/@pie-element/multiple-choice/module/print.js +1 -0
  75. package/configure/node_modules/@pie-element/multiple-choice/package.json +53 -0
  76. package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.json +1 -0
  77. package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.md +898 -0
  78. package/configure/node_modules/@pie-lib/correct-answer-toggle/NEXT.CHANGELOG.json +1 -0
  79. package/configure/node_modules/@pie-lib/correct-answer-toggle/esm/index.js +262 -0
  80. package/configure/node_modules/@pie-lib/correct-answer-toggle/esm/index.js.map +1 -0
  81. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js +88 -0
  82. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js.map +1 -0
  83. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js +181 -0
  84. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js.map +1 -0
  85. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js +66 -0
  86. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js.map +1 -0
  87. package/configure/node_modules/@pie-lib/correct-answer-toggle/package.json +44 -0
  88. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/__tests__/index.test.jsx +99 -0
  89. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/expander.jsx +61 -0
  90. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/index.jsx +98 -0
  91. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/styles.js +61 -0
  92. package/configure/node_modules/@pie-lib/icons/CHANGELOG.json +1 -0
  93. package/configure/node_modules/@pie-lib/icons/CHANGELOG.md +539 -0
  94. package/configure/node_modules/@pie-lib/icons/NEXT.CHANGELOG.json +1 -0
  95. package/configure/node_modules/@pie-lib/icons/esm/index.js +1153 -0
  96. package/configure/node_modules/@pie-lib/icons/esm/index.js.map +1 -0
  97. package/configure/node_modules/@pie-lib/icons/lib/correct-icon.js +89 -0
  98. package/configure/node_modules/@pie-lib/icons/lib/correct-icon.js.map +1 -0
  99. package/configure/node_modules/@pie-lib/icons/lib/correct-response-icon.js +153 -0
  100. package/configure/node_modules/@pie-lib/icons/lib/correct-response-icon.js.map +1 -0
  101. package/configure/node_modules/@pie-lib/icons/lib/icon-base.js +206 -0
  102. package/configure/node_modules/@pie-lib/icons/lib/icon-base.js.map +1 -0
  103. package/configure/node_modules/@pie-lib/icons/lib/icon-root.js +130 -0
  104. package/configure/node_modules/@pie-lib/icons/lib/icon-root.js.map +1 -0
  105. package/configure/node_modules/@pie-lib/icons/lib/incorrect-icon.js +92 -0
  106. package/configure/node_modules/@pie-lib/icons/lib/incorrect-icon.js.map +1 -0
  107. package/configure/node_modules/@pie-lib/icons/lib/index.js +72 -0
  108. package/configure/node_modules/@pie-lib/icons/lib/index.js.map +1 -0
  109. package/configure/node_modules/@pie-lib/icons/lib/instructions-icon.js +229 -0
  110. package/configure/node_modules/@pie-lib/icons/lib/instructions-icon.js.map +1 -0
  111. package/configure/node_modules/@pie-lib/icons/lib/learn-more-icon.js +145 -0
  112. package/configure/node_modules/@pie-lib/icons/lib/learn-more-icon.js.map +1 -0
  113. package/configure/node_modules/@pie-lib/icons/lib/nothing-submitted-icon.js +183 -0
  114. package/configure/node_modules/@pie-lib/icons/lib/nothing-submitted-icon.js.map +1 -0
  115. package/configure/node_modules/@pie-lib/icons/lib/partially-correct-icon.js +82 -0
  116. package/configure/node_modules/@pie-lib/icons/lib/partially-correct-icon.js.map +1 -0
  117. package/configure/node_modules/@pie-lib/icons/lib/show-rationale-icon.js +206 -0
  118. package/configure/node_modules/@pie-lib/icons/lib/show-rationale-icon.js.map +1 -0
  119. package/configure/node_modules/@pie-lib/icons/lib/sized.js +41 -0
  120. package/configure/node_modules/@pie-lib/icons/lib/sized.js.map +1 -0
  121. package/configure/node_modules/@pie-lib/icons/package.json +35 -0
  122. package/configure/node_modules/@pie-lib/icons/src/__tests__/index.test.js +3 -0
  123. package/configure/node_modules/@pie-lib/icons/src/correct-icon.jsx +64 -0
  124. package/configure/node_modules/@pie-lib/icons/src/correct-response-icon.jsx +121 -0
  125. package/configure/node_modules/@pie-lib/icons/src/icon-base.jsx +158 -0
  126. package/configure/node_modules/@pie-lib/icons/src/icon-root.jsx +76 -0
  127. package/configure/node_modules/@pie-lib/icons/src/incorrect-icon.jsx +61 -0
  128. package/configure/node_modules/@pie-lib/icons/src/index.js +19 -0
  129. package/configure/node_modules/@pie-lib/icons/src/instructions-icon.jsx +189 -0
  130. package/configure/node_modules/@pie-lib/icons/src/learn-more-icon.jsx +107 -0
  131. package/configure/node_modules/@pie-lib/icons/src/nothing-submitted-icon.jsx +130 -0
  132. package/configure/node_modules/@pie-lib/icons/src/partially-correct-icon.jsx +49 -0
  133. package/configure/node_modules/@pie-lib/icons/src/show-rationale-icon.jsx +152 -0
  134. package/configure/node_modules/@pie-lib/icons/src/sized.jsx +25 -0
  135. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +1 -0
  136. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +775 -0
  137. package/configure/node_modules/@pie-lib/math-rendering/NEXT.CHANGELOG.json +1 -0
  138. package/configure/node_modules/@pie-lib/math-rendering/esm/index.js +690 -0
  139. package/configure/node_modules/@pie-lib/math-rendering/esm/index.js.map +1 -0
  140. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +38 -0
  141. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +1 -0
  142. package/configure/node_modules/@pie-lib/math-rendering/lib/mml-to-latex.js +15 -0
  143. package/configure/node_modules/@pie-lib/math-rendering/lib/mml-to-latex.js.map +1 -0
  144. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +296 -0
  145. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +1 -0
  146. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +23 -0
  147. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +1 -0
  148. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +109 -0
  149. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +1 -0
  150. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +95 -0
  151. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +1 -0
  152. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +438 -0
  153. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +1 -0
  154. package/configure/node_modules/@pie-lib/math-rendering/package.json +28 -0
  155. package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/mml-to-latex.test.js +14 -0
  156. package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/normalization.test.js +50 -0
  157. package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/render-math.test.js +155 -0
  158. package/configure/node_modules/@pie-lib/math-rendering/src/index.js +5 -0
  159. package/configure/node_modules/@pie-lib/math-rendering/src/mml-to-latex.js +2 -0
  160. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/__tests__/__snapshots__/chtml.test.js.snap +9 -0
  161. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/__tests__/chtml.test.js +104 -0
  162. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +220 -0
  163. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +13 -0
  164. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +24 -0
  165. package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +69 -0
  166. package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +387 -0
  167. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +1 -0
  168. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +1026 -0
  169. package/configure/node_modules/@pie-lib/render-ui/NEXT.CHANGELOG.json +1 -0
  170. package/configure/node_modules/@pie-lib/render-ui/esm/index.js +1616 -0
  171. package/configure/node_modules/@pie-lib/render-ui/esm/index.js.map +1 -0
  172. package/configure/node_modules/@pie-lib/render-ui/lib/append-css-rules.js +88 -0
  173. package/configure/node_modules/@pie-lib/render-ui/lib/append-css-rules.js.map +1 -0
  174. package/configure/node_modules/@pie-lib/render-ui/lib/assets/enableAudioAutoplayImage.js +9 -0
  175. package/configure/node_modules/@pie-lib/render-ui/lib/assets/enableAudioAutoplayImage.js.map +1 -0
  176. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +135 -0
  177. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +1 -0
  178. package/configure/node_modules/@pie-lib/render-ui/lib/color.js +344 -0
  179. package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +1 -0
  180. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +150 -0
  181. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +1 -0
  182. package/configure/node_modules/@pie-lib/render-ui/lib/has-media.js +27 -0
  183. package/configure/node_modules/@pie-lib/render-ui/lib/has-media.js.map +1 -0
  184. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +28 -0
  185. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +1 -0
  186. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +74 -0
  187. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +1 -0
  188. package/configure/node_modules/@pie-lib/render-ui/lib/index.js +136 -0
  189. package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +1 -0
  190. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +60 -0
  191. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +1 -0
  192. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +145 -0
  193. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +1 -0
  194. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +321 -0
  195. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +1 -0
  196. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +28 -0
  197. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +1 -0
  198. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +28 -0
  199. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +1 -0
  200. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +151 -0
  201. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +1 -0
  202. package/configure/node_modules/@pie-lib/render-ui/lib/ui-layout.js +122 -0
  203. package/configure/node_modules/@pie-lib/render-ui/lib/ui-layout.js.map +1 -0
  204. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +181 -0
  205. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +1 -0
  206. package/configure/node_modules/@pie-lib/render-ui/package.json +40 -0
  207. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/html-and-math.test.js.snap +11 -0
  208. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/preview-prompt.test.jsx.snap +37 -0
  209. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/purpose.test.jsx.snap +42 -0
  210. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/readable.test.jsx.snap +64 -0
  211. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/response-indicators.test.jsx.snap +27 -0
  212. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/color.test.js +12 -0
  213. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/has-media.test.js +20 -0
  214. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/has-text.test.js +21 -0
  215. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/html-and-math.test.js +24 -0
  216. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/preview-prompt.test.jsx +56 -0
  217. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/purpose.test.jsx +47 -0
  218. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/readable.test.jsx +64 -0
  219. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/response-indicators.test.jsx +16 -0
  220. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/ui-layout.test.jsx +34 -0
  221. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/withUndoReset.test.jsx +254 -0
  222. package/configure/node_modules/@pie-lib/render-ui/src/append-css-rules.js +51 -0
  223. package/configure/node_modules/@pie-lib/render-ui/src/assets/enableAudioAutoplayImage.js +1 -0
  224. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/__tests__/__snapshots__/index.test.jsx.snap +18 -0
  225. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/__tests__/index.test.jsx +13 -0
  226. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +64 -0
  227. package/configure/node_modules/@pie-lib/render-ui/src/color.js +121 -0
  228. package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +99 -0
  229. package/configure/node_modules/@pie-lib/render-ui/src/has-media.js +16 -0
  230. package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +18 -0
  231. package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +21 -0
  232. package/configure/node_modules/@pie-lib/render-ui/src/index.js +35 -0
  233. package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +41 -0
  234. package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +95 -0
  235. package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +254 -0
  236. package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +17 -0
  237. package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +19 -0
  238. package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +89 -0
  239. package/configure/node_modules/@pie-lib/render-ui/src/ui-layout.jsx +66 -0
  240. package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +116 -0
  241. package/configure/node_modules/@pie-lib/test-utils/CHANGELOG.json +1 -0
  242. package/configure/node_modules/@pie-lib/test-utils/CHANGELOG.md +410 -0
  243. package/configure/node_modules/@pie-lib/test-utils/NEXT.CHANGELOG.json +1 -0
  244. package/configure/node_modules/@pie-lib/test-utils/esm/index.js +39 -0
  245. package/configure/node_modules/@pie-lib/test-utils/esm/index.js.map +1 -0
  246. package/configure/node_modules/@pie-lib/test-utils/lib/index.js +40 -0
  247. package/configure/node_modules/@pie-lib/test-utils/lib/index.js.map +1 -0
  248. package/configure/node_modules/@pie-lib/test-utils/package.json +25 -0
  249. package/configure/node_modules/@pie-lib/test-utils/src/__tests__/index.test.js +45 -0
  250. package/configure/node_modules/@pie-lib/test-utils/src/index.js +18 -0
  251. package/configure/node_modules/@pie-lib/translator/CHANGELOG.json +1 -0
  252. package/configure/node_modules/@pie-lib/translator/CHANGELOG.md +282 -0
  253. package/configure/node_modules/@pie-lib/translator/NEXT.CHANGELOG.json +1 -0
  254. package/configure/node_modules/@pie-lib/translator/esm/index.js +257 -0
  255. package/configure/node_modules/@pie-lib/translator/esm/index.js.map +1 -0
  256. package/configure/node_modules/@pie-lib/translator/lib/en.js +102 -0
  257. package/configure/node_modules/@pie-lib/translator/lib/en.js.map +1 -0
  258. package/configure/node_modules/@pie-lib/translator/lib/es.js +102 -0
  259. package/configure/node_modules/@pie-lib/translator/lib/es.js.map +1 -0
  260. package/configure/node_modules/@pie-lib/translator/lib/index.js +69 -0
  261. package/configure/node_modules/@pie-lib/translator/lib/index.js.map +1 -0
  262. package/configure/node_modules/@pie-lib/translator/package.json +25 -0
  263. package/configure/node_modules/@pie-lib/translator/src/en.js +99 -0
  264. package/configure/node_modules/@pie-lib/translator/src/es.js +99 -0
  265. package/configure/node_modules/@pie-lib/translator/src/index.js +43 -0
  266. package/configure/package.json +3 -3
  267. package/controller/CHANGELOG.md +8 -0
  268. package/controller/package.json +3 -3
  269. package/esm/configure.js +40550 -0
  270. package/esm/configure.js.map +1 -0
  271. package/esm/controller.js +3358 -0
  272. package/esm/controller.js.map +1 -0
  273. package/esm/element.js +2203 -0
  274. package/esm/element.js.map +1 -0
  275. package/esm/package.json +4 -0
  276. package/esm/print.js +4090 -0
  277. package/esm/print.js.map +1 -0
  278. package/module/controller.js +4973 -2252
  279. package/module/element.js +1 -1
  280. package/module/index.html +1 -1
  281. package/module/manifest.json +1 -1
  282. package/module/print.html +1 -1
  283. package/module/print.js +1 -1
  284. package/package.json +24 -6
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/icon-base.jsx"],"names":["Action","Emoji","IconBase","props","classes","size","icons","feedback","round","check","bg","fg","emoji","open","square","category","undefined","shape","iconSet","React","Component","PropTypes","object","isRequired","number","propTypes","oneOf","bool","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;AAEA;;AACA;;;;;;eAEe,kBAACA,MAAD,EAASC,KAAT,EAAmB;AAAA,MAC1BC,QAD0B;AAAA;;AAAA;;AAM9B,sBAAYC,KAAZ,EAAmB;AAAA;;AAAA;AACjB,gCAAMA,KAAN;AACA,wBAA0B,MAAKA,KAA/B;AAAA,UAAQC,OAAR,eAAQA,OAAR;AAAA,UAAiBC,IAAjB,eAAiBA,IAAjB;AAEA,YAAKC,KAAL,GAAa;AACXC,QAAAA,QAAQ,EAAE;AACRC,UAAAA,KAAK,EAAE;AACLC,YAAAA,KAAK,eACH,gCAAC,kBAAD;AAAU,cAAA,IAAI,EAAEJ;AAAhB,4BACE,gCAAC,0BAAD;AAAkB,cAAA,SAAS,EAAED,OAAO,CAACM;AAArC,cADF,eAEE,gCAAC,MAAD;AAAQ,cAAA,SAAS,EAAEN,OAAO,CAACO;AAA3B,cAFF,CAFG;AAOLC,YAAAA,KAAK,eACH,gCAAC,kBAAD;AAAU,cAAA,IAAI,EAAEP;AAAhB,4BACE,gCAAC,0BAAD;AAAkB,cAAA,SAAS,EAAED,OAAO,CAACM;AAArC,cADF,eAEE,gCAAC,KAAD;AAAO,cAAA,SAAS,EAAEN,OAAO,CAACO;AAA1B,cAFF,CARG;AAaLE,YAAAA,IAAI,EAAE;AACJJ,cAAAA,KAAK,eACH,gCAAC,kBAAD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EAAEG,sBAAUK,KAAV,CAAgB,CAAC,OAAD,EAAU,OAAV,CAAhB,CADU;AAEnBT,IAAAA,KAAK,EAAEI,sBAAUK,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,CAAhB,CAFY;AAGnBX,IAAAA,QAAQ,EAAEM,sBAAUK,KAAV,CAAgB,CAAC,UAAD,EAAaV,SAAb,CAAhB,CAHS;AAInBH,IAAAA,IAAI,EAAEQ,sBAAUM;AAJG,GAArB;AAOAzB,EAAAA,QAAQ,CAAC0B,YAAT,GAAwB;AACtBV,IAAAA,OAAO,EAAE,OADa;AAEtBD,IAAAA,KAAK,EAAE,OAFe;AAGtBF,IAAAA,QAAQ,EAAEC,SAHY;AAItBH,IAAAA,IAAI,EAAE;AAJgB,GAAxB;AAOA,SAAOX,QAAP;AACD,C","sourcesContent":["import { Circle, IconRoot, RoundFeedbackBox, Square, SquareFeedbackBox } from './icon-root';\n\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default (Action, Emoji) => {\n class IconBase extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n size: PropTypes.number,\n };\n constructor(props) {\n super(props);\n const { classes, size } = this.props;\n\n this.icons = {\n feedback: {\n round: {\n check: (\n <IconRoot size={size}>\n <RoundFeedbackBox className={classes.bg} />\n <Action className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <RoundFeedbackBox className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n open: {\n check: (\n <IconRoot size={size}>\n <Action className={classes.bg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <Emoji className={classes.bg} />\n </IconRoot>\n ),\n },\n },\n square: {\n check: (\n <IconRoot size={size}>\n <SquareFeedbackBox className={classes.bg} />\n <Action className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <SquareFeedbackBox className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n open: {\n check: (\n <IconRoot size={size}>\n <Action className={classes.bg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <Emoji className={classes.bg} />\n </IconRoot>\n ),\n },\n },\n },\n round: {\n check: (\n <IconRoot size={size}>\n <Circle className={classes.bg} />\n <Action className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <Circle className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n open: {\n check: (\n <IconRoot size={size}>\n <Action className={classes.bg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <Emoji className={classes.bg} />\n </IconRoot>\n ),\n },\n },\n square: {\n check: (\n <IconRoot size={size}>\n <Square className={classes.bg} />\n <Action className={classes.fg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <Square className={classes.bg} />\n <Emoji className={classes.fg} />\n </IconRoot>\n ),\n open: {\n check: (\n <IconRoot size={size}>\n <Action className={classes.bg} />\n </IconRoot>\n ),\n emoji: (\n <IconRoot size={size}>\n <Emoji className={classes.bg} />\n </IconRoot>\n ),\n },\n },\n };\n }\n\n render() {\n if (this.props.category === undefined) {\n if (this.props.open === true) {\n return this.icons[this.props.shape].open[this.props.iconSet];\n } else {\n return this.icons[this.props.shape][this.props.iconSet];\n }\n } else {\n if (this.props.open === true) {\n return this.icons.feedback[this.props.shape].open[this.props.iconSet];\n } else {\n return this.icons.feedback[this.props.shape][this.props.iconSet];\n }\n }\n }\n }\n\n IconBase.propTypes = {\n iconSet: PropTypes.oneOf(['emoji', 'check']),\n shape: PropTypes.oneOf(['round', 'square']),\n category: PropTypes.oneOf(['feedback', undefined]),\n open: PropTypes.bool,\n };\n\n IconBase.defaultProps = {\n iconSet: 'check',\n shape: 'round',\n category: undefined,\n open: false,\n };\n\n return IconBase;\n};\n"],"file":"icon-base.js"}
@@ -0,0 +1,130 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.normalizeSize = exports.getStyles = exports.Tick = exports.SquareFeedbackBox = exports.Square = exports.RoundFeedbackBox = exports.IconRoot = exports.Circle = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _sized = _interopRequireDefault(require("./sized"));
15
+
16
+ var normalizeSize = function normalizeSize(size) {
17
+ return typeof size === 'string' ? size : typeof size === 'number' ? "".concat(size, "px") : '30px';
18
+ };
19
+
20
+ exports.normalizeSize = normalizeSize;
21
+
22
+ var IconRoot = function IconRoot(_ref) {
23
+ var size = _ref.size,
24
+ children = _ref.children;
25
+ return /*#__PURE__*/_react["default"].createElement(_sized["default"], {
26
+ size: size
27
+ }, /*#__PURE__*/_react["default"].createElement("svg", {
28
+ preserveAspectRatio: "xMinYMin meet",
29
+ version: "1.1",
30
+ x: "0px",
31
+ y: "0px",
32
+ viewBox: "0 0 44 40",
33
+ style: {
34
+ enableBackground: 'new 0 0 44 40'
35
+ }
36
+ }, ' ', children));
37
+ };
38
+
39
+ exports.IconRoot = IconRoot;
40
+ IconRoot.propTypes = {
41
+ size: _propTypes["default"].oneOf([_propTypes["default"].string, _propTypes["default"].number]),
42
+ children: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].node), _propTypes["default"].node]).isRequired
43
+ };
44
+
45
+ var getStyles = function getStyles(name, fg, bg) {
46
+ return {
47
+ bg: {
48
+ fill: "var(--icons-".concat(name, "-bg, ").concat(bg, ")")
49
+ },
50
+ fg: {
51
+ fill: "var(--icons-".concat(name, "-fg, ").concat(fg, ")")
52
+ }
53
+ };
54
+ };
55
+
56
+ exports.getStyles = getStyles;
57
+
58
+ var Tick = function Tick(_ref2) {
59
+ var className = _ref2.className;
60
+ return /*#__PURE__*/_react["default"].createElement("polygon", {
61
+ className: className,
62
+ points: "17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7"
63
+ });
64
+ };
65
+
66
+ exports.Tick = Tick;
67
+ Tick.propTypes = {
68
+ className: _propTypes["default"].string
69
+ };
70
+
71
+ var SquareFeedbackBox = function SquareFeedbackBox(_ref3) {
72
+ var className = _ref3.className;
73
+ return /*#__PURE__*/_react["default"].createElement("polygon", {
74
+ transform: "translate(2, 0)",
75
+ className: className,
76
+ points: "34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3"
77
+ });
78
+ };
79
+
80
+ exports.SquareFeedbackBox = SquareFeedbackBox;
81
+ SquareFeedbackBox.propTypes = {
82
+ className: _propTypes["default"].string
83
+ };
84
+
85
+ var RoundFeedbackBox = function RoundFeedbackBox(_ref4) {
86
+ var className = _ref4.className;
87
+ return /*#__PURE__*/_react["default"].createElement("path", {
88
+ transform: "translate(1, 0)",
89
+ className: className,
90
+ d: "M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z"
91
+ });
92
+ };
93
+
94
+ exports.RoundFeedbackBox = RoundFeedbackBox;
95
+ RoundFeedbackBox.propTypes = {
96
+ className: _propTypes["default"].string
97
+ };
98
+
99
+ var Circle = function Circle(_ref5) {
100
+ var className = _ref5.className;
101
+ return /*#__PURE__*/_react["default"].createElement("circle", {
102
+ transform: "translate(-3, 0)",
103
+ className: className,
104
+ cx: "23",
105
+ cy: "20.4",
106
+ r: "16"
107
+ });
108
+ };
109
+
110
+ exports.Circle = Circle;
111
+ Circle.propTypes = {
112
+ className: _propTypes["default"].string
113
+ };
114
+
115
+ var Square = function Square(_ref6) {
116
+ var className = _ref6.className;
117
+ return /*#__PURE__*/_react["default"].createElement("rect", {
118
+ x: "3.6",
119
+ y: "4.1",
120
+ className: className,
121
+ width: "32",
122
+ height: "32"
123
+ });
124
+ };
125
+
126
+ exports.Square = Square;
127
+ Square.propTypes = {
128
+ className: _propTypes["default"].string
129
+ };
130
+ //# sourceMappingURL=icon-root.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/icon-root.jsx"],"names":["normalizeSize","size","IconRoot","children","enableBackground","propTypes","PropTypes","oneOf","string","number","oneOfType","arrayOf","node","isRequired","getStyles","name","fg","bg","fill","Tick","className","SquareFeedbackBox","RoundFeedbackBox","Circle","Square"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AAEO,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,CAACC,IAAD,EAAU;AACrC,SAAO,OAAOA,IAAP,KAAgB,QAAhB,GAA2BA,IAA3B,GAAkC,OAAOA,IAAP,KAAgB,QAAhB,aAA8BA,IAA9B,UAAyC,MAAlF;AACD,CAFM;;;;AAIA,IAAMC,QAAQ,GAAG,SAAXA,QAAW;AAAA,MAAGD,IAAH,QAAGA,IAAH;AAAA,MAASE,QAAT,QAASA,QAAT;AAAA,sBACtB,gCAAC,iBAAD;AAAO,IAAA,IAAI,EAAEF;AAAb,kBACE;AACE,IAAA,mBAAmB,EAAC,eADtB;AAEE,IAAA,OAAO,EAAC,KAFV;AAGE,IAAA,CAAC,EAAC,KAHJ;AAIE,IAAA,CAAC,EAAC,KAJJ;AAKE,IAAA,OAAO,EAAC,WALV;AAME,IAAA,KAAK,EAAE;AAAEG,MAAAA,gBAAgB,EAAE;AAApB;AANT,KAQG,GARH,EASGD,QATH,CADF,CADsB;AAAA,CAAjB;;;AAgBPD,QAAQ,CAACG,SAAT,GAAqB;AACnBJ,EAAAA,IAAI,EAAEK,sBAAUC,KAAV,CAAgB,CAACD,sBAAUE,MAAX,EAAmBF,sBAAUG,MAA7B,CAAhB,CADa;AAEnBN,EAAAA,QAAQ,EAAEG,sBAAUI,SAAV,CAAoB,CAACJ,sBAAUK,OAAV,CAAkBL,sBAAUM,IAA5B,CAAD,EAAoCN,sBAAUM,IAA9C,CAApB,EAAyEC;AAFhE,CAArB;;AAKO,IAAMC,SAAS,GAAG,S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AAqC,IAAA,SAAS,EAAEA,SAAhD;AAA2D,IAAA,EAAE,EAAC,IAA9D;AAAmE,IAAA,EAAE,EAAC,MAAtE;AAA6E,IAAA,CAAC,EAAC;AAA/E,IADoB;AAAA,CAAf;;;AAIPG,MAAM,CAAClB,SAAP,GAAmB;AACjBe,EAAAA,SAAS,EAAEd,sBAAUE;AADJ,CAAnB;;AAIO,IAAMgB,MAAM,GAAG,SAATA,MAAS;AAAA,MAAGJ,SAAH,SAAGA,SAAH;AAAA,sBAAmB;AAAM,IAAA,CAAC,EAAC,KAAR;AAAc,IAAA,CAAC,EAAC,KAAhB;AAAsB,IAAA,SAAS,EAAEA,SAAjC;AAA4C,IAAA,KAAK,EAAC,IAAlD;AAAuD,IAAA,MAAM,EAAC;AAA9D,IAAnB;AAAA,CAAf;;;AACPI,MAAM,CAACnB,SAAP,GAAmB;AACjBe,EAAAA,SAAS,EAAEd,sBAAUE;AADJ,CAAnB","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Sized from './sized';\n\nexport const normalizeSize = (size) => {\n return typeof size === 'string' ? size : typeof size === 'number' ? `${size}px` : '30px';\n};\n\nexport const IconRoot = ({ size, children }) => (\n <Sized size={size}>\n <svg\n preserveAspectRatio=\"xMinYMin meet\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 44 40\"\n style={{ enableBackground: 'new 0 0 44 40' }}\n >\n {' '}\n {children}\n </svg>\n </Sized>\n);\n\nIconRoot.propTypes = {\n size: PropTypes.oneOf([PropTypes.string, PropTypes.number]),\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,\n};\n\nexport const getStyles = (name, fg, bg) => ({\n bg: {\n fill: `var(--icons-${name}-bg, ${bg})`,\n },\n fg: {\n fill: `var(--icons-${name}-fg, ${fg})`,\n },\n});\n\nexport const Tick = ({ className }) => (\n <polygon className={className} points=\"17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7\" />\n);\n\nTick.propTypes = {\n className: PropTypes.string,\n};\n\nexport const SquareFeedbackBox = ({ className }) => (\n <polygon transform=\"translate(2, 0)\" className={className} points=\"34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3\" />\n);\nSquareFeedbackBox.propTypes = {\n className: PropTypes.string,\n};\n\nexport const RoundFeedbackBox = ({ className }) => (\n <path\n transform=\"translate(1, 0)\"\n className={className}\n d=\"M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z\"\n />\n);\nRoundFeedbackBox.propTypes = {\n className: PropTypes.string,\n};\n\nexport const Circle = ({ className }) => (\n <circle transform=\"translate(-3, 0)\" className={className} cx=\"23\" cy=\"20.4\" r=\"16\" />\n);\n\nCircle.propTypes = {\n className: PropTypes.string,\n};\n\nexport const Square = ({ className }) => <rect x=\"3.6\" y=\"4.1\" className={className} width=\"32\" height=\"32\" />;\nSquare.propTypes = {\n className: PropTypes.string,\n};\n"],"file":"icon-root.js"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.Incorrect = void 0;
9
+
10
+ var _iconBase = _interopRequireDefault(require("./icon-base"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _react = _interopRequireDefault(require("react"));
15
+
16
+ var _iconRoot = require("./icon-root");
17
+
18
+ var _styles = require("@material-ui/core/styles");
19
+
20
+ var Ex = function Ex(_ref) {
21
+ var className = _ref.className;
22
+ return /*#__PURE__*/_react["default"].createElement("g", {
23
+ transform: 'translate(0.5, 0.5)'
24
+ }, /*#__PURE__*/_react["default"].createElement("rect", {
25
+ x: "11",
26
+ y: "17.3",
27
+ transform: "matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)",
28
+ className: className,
29
+ width: "16.6",
30
+ height: "3.7"
31
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
32
+ x: "17.4",
33
+ y: "10.7",
34
+ transform: "matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)",
35
+ className: className,
36
+ width: "3.7",
37
+ height: "16.6"
38
+ }));
39
+ };
40
+
41
+ Ex.propTypes = {
42
+ className: _propTypes["default"].string
43
+ };
44
+
45
+ var Emoji = function Emoji(_ref2) {
46
+ var className = _ref2.className;
47
+ return /*#__PURE__*/_react["default"].createElement("g", {
48
+ transform: 'translate(1,0)'
49
+ }, /*#__PURE__*/_react["default"].createElement("rect", {
50
+ x: "21",
51
+ y: "12.9",
52
+ className: className,
53
+ width: "3.7",
54
+ height: "4.7"
55
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
56
+ x: "12.7",
57
+ y: "12.9",
58
+ className: className,
59
+ width: "3.7",
60
+ height: "4.7"
61
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
62
+ x: "12.2",
63
+ y: "22.5",
64
+ className: className,
65
+ width: "13",
66
+ height: "3.3"
67
+ }));
68
+ };
69
+
70
+ Emoji.propTypes = {
71
+ className: _propTypes["default"].string
72
+ };
73
+ var styles = (0, _iconRoot.getStyles)('incorrect', '#fbf2e3', '#fcb733');
74
+ var Incorrect = (0, _iconBase["default"])(Ex, Emoji);
75
+ exports.Incorrect = Incorrect;
76
+
77
+ var _default = (0, _styles.withStyles)(styles)(Incorrect);
78
+
79
+ exports["default"] = _default;
80
+ Incorrect.propTypes = {
81
+ iconSet: _propTypes["default"].oneOf(['emoji', 'check']),
82
+ shape: _propTypes["default"].oneOf(['round', 'square']),
83
+ category: _propTypes["default"].oneOf(['feedback', undefined]),
84
+ open: _propTypes["default"].bool
85
+ };
86
+ Incorrect.defaultProps = {
87
+ iconSet: 'check',
88
+ shape: 'round',
89
+ category: undefined,
90
+ open: false
91
+ };
92
+ //# sourceMappingURL=incorrect-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/incorrect-icon.jsx"],"names":["Ex","className","propTypes","PropTypes","string","Emoji","styles","Incorrect","iconSet","oneOf","shape","category","undefined","open","bool","defaultProps"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AAEA,IAAMA,EAAE,GAAG,SAALA,EAAK;AAAA,MAAGC,SAAH,QAAGA,SAAH;AAAA,sBACT;AAAG,IAAA,SAAS,EAAE;AAAd,kBACE;AACE,IAAA,CAAC,EAAC,IADJ;AAEE,IAAA,CAAC,EAAC,MAFJ;AAGE,IAAA,SAAS,EAAC,qDAHZ;AAIE,IAAA,SAAS,EAAEA,SAJb;AAKE,IAAA,KAAK,EAAC,MALR;AAME,IAAA,MAAM,EAAC;AANT,IADF,eASE;AACE,IAAA,CAAC,EAAC,MADJ;AAEE,IAAA,CAAC,EAAC,MAFJ;AAGE,IAAA,SAAS,EAAC,qDAHZ;AAIE,IAAA,SAAS,EAAEA,SAJb;AAKE,IAAA,KAAK,EAAC,KALR;AAME,IAAA,MAAM,EAAC;AANT,IATF,CADS;AAAA,CAAX;;AAqBAD,EAAE,CAACE,SAAH,GAAe;AACbD,EAAAA,SAAS,EAAEE,sBAAUC;AADR,CAAf;;AAGA,IAAMC,KAAK,GAAG,SAARA,KAAQ;AAAA,MAAGJ,SAAH,SAAGA,SAAH;AAAA,sBACZ;AAAG,IAAA,SAAS,EAAE;AAAd,kBACE;AAAM,IAAA,CAAC,EAAC,IAAR;AAAa,IAAA,CAAC,EAAC,MAAf;AAAsB,IAAA,SAAS,EAAEA,SAAjC;AAA4C,IAAA,KAAK,EAAC,KAAlD;AAAwD,IAAA,MAAM,EAAC;AAA/D,IADF,eAEE;AAAM,IAAA,CAAC,EAAC,MAAR;AAAe,IAAA,CAAC,EAAC,MAAjB;AAAwB,IAAA,SAAS,EAAEA,SAAnC;AAA8C,IAAA,KAAK,EAAC,KAApD;AAA0D,IAAA,MAAM,EAAC;AAAjE,IAFF,eAGE;AAAM,IAAA,CAAC,EAAC,MAAR;AAAe,IAAA,CAAC,EAAC,MAAjB;AAAwB,IAAA,SAAS,EAAEA,SAAnC;AAA8C,IAAA,KAAK,EAAC,IAApD;AAAyD,IAAA,MAAM,EAAC;AAAhE,IAHF,CADY;AAAA,CAAd;;AAQAI,KAAK,CAACH,SAAN,GAAkB;AAChBD,EAAAA,SAAS,EAAEE,sBAAUC;AADL,CAAlB;AAIA,IAAME,MAAM,GAAG,yBAAU,WAAV,EAAuB,SAAvB,EAAkC,SAAlC,CAAf;AAEO,IAAMC,SAAS,GAAG,0BAASP,EAAT,EAAaK,KAAb,CAAlB;;;eAEQ,wBAAWC,MAAX,EAAmBC,SAAnB,C;;;AAEfA,SAAS,CAACL,SAAV,GAAsB;AACpBM,EAAAA,OAAO,EAAEL,sBAAUM,KAAV,CAAgB,CAAC,OAAD,EAAU,OAAV,CAAhB,CADW;AAEpBC,EAAAA,KAAK,EAAEP,sBAAUM,KAAV,CAAgB,CAAC,OAAD,EAAU,QAAV,CAAhB,CAFa;AAGpBE,EAAAA,QAAQ,EAAER,sBAAUM,KAAV,CAAgB,CAAC,UAAD,EAAaG,SAAb,CAAhB,CAHU;AAIpBC,EAAAA,IAAI,EAAEV,sBAAUW;AAJI,CAAtB;AAOAP,SAAS,CAACQ,YAAV,GAAyB;AACvBP,EAAAA,OAAO,EAAE,OADc;AAEvBE,EAAAA,KAAK,EAAE,OAFgB;AAGvBC,EAAAA,QAAQ,EAAEC,SAHa;AAIvBC,EAAAA,IAAI,EAAE;AAJiB,CAAzB","sourcesContent":["import IconBase from './icon-base';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { getStyles } from './icon-root';\nimport { withStyles } from '@material-ui/core/styles';\n\nconst Ex = ({ className }) => (\n <g transform={'translate(0.5, 0.5)'}>\n <rect\n x=\"11\"\n y=\"17.3\"\n transform=\"matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)\"\n className={className}\n width=\"16.6\"\n height=\"3.7\"\n />\n <rect\n x=\"17.4\"\n y=\"10.7\"\n transform=\"matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)\"\n className={className}\n width=\"3.7\"\n height=\"16.6\"\n />\n </g>\n);\n\nEx.propTypes = {\n className: PropTypes.string,\n};\nconst Emoji = ({ className }) => (\n <g transform={'translate(1,0)'}>\n <rect x=\"21\" y=\"12.9\" className={className} width=\"3.7\" height=\"4.7\" />\n <rect x=\"12.7\" y=\"12.9\" className={className} width=\"3.7\" height=\"4.7\" />\n <rect x=\"12.2\" y=\"22.5\" className={className} width=\"13\" height=\"3.3\" />\n </g>\n);\n\nEmoji.propTypes = {\n className: PropTypes.string,\n};\n\nconst styles = getStyles('incorrect', '#fbf2e3', '#fcb733');\n\nexport const Incorrect = IconBase(Ex, Emoji);\n\nexport default withStyles(styles)(Incorrect);\n\nIncorrect.propTypes = {\n iconSet: PropTypes.oneOf(['emoji', 'check']),\n shape: PropTypes.oneOf(['round', 'square']),\n category: PropTypes.oneOf(['feedback', undefined]),\n open: PropTypes.bool,\n};\n\nIncorrect.defaultProps = {\n iconSet: 'check',\n shape: 'round',\n category: undefined,\n open: false,\n};\n"],"file":"incorrect-icon.js"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ Object.defineProperty(exports, "Correct", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _correctIcon["default"];
12
+ }
13
+ });
14
+ Object.defineProperty(exports, "CorrectResponse", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _correctResponseIcon["default"];
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "Incorrect", {
21
+ enumerable: true,
22
+ get: function get() {
23
+ return _incorrectIcon["default"];
24
+ }
25
+ });
26
+ Object.defineProperty(exports, "Instructions", {
27
+ enumerable: true,
28
+ get: function get() {
29
+ return _instructionsIcon["default"];
30
+ }
31
+ });
32
+ Object.defineProperty(exports, "LearnMore", {
33
+ enumerable: true,
34
+ get: function get() {
35
+ return _learnMoreIcon["default"];
36
+ }
37
+ });
38
+ Object.defineProperty(exports, "NothingSubmitted", {
39
+ enumerable: true,
40
+ get: function get() {
41
+ return _nothingSubmittedIcon["default"];
42
+ }
43
+ });
44
+ Object.defineProperty(exports, "PartiallyCorrect", {
45
+ enumerable: true,
46
+ get: function get() {
47
+ return _partiallyCorrectIcon["default"];
48
+ }
49
+ });
50
+ Object.defineProperty(exports, "ShowRationale", {
51
+ enumerable: true,
52
+ get: function get() {
53
+ return _showRationaleIcon["default"];
54
+ }
55
+ });
56
+
57
+ var _correctIcon = _interopRequireDefault(require("./correct-icon"));
58
+
59
+ var _correctResponseIcon = _interopRequireDefault(require("./correct-response-icon"));
60
+
61
+ var _incorrectIcon = _interopRequireDefault(require("./incorrect-icon"));
62
+
63
+ var _instructionsIcon = _interopRequireDefault(require("./instructions-icon"));
64
+
65
+ var _learnMoreIcon = _interopRequireDefault(require("./learn-more-icon"));
66
+
67
+ var _nothingSubmittedIcon = _interopRequireDefault(require("./nothing-submitted-icon"));
68
+
69
+ var _partiallyCorrectIcon = _interopRequireDefault(require("./partially-correct-icon"));
70
+
71
+ var _showRationaleIcon = _interopRequireDefault(require("./show-rationale-icon"));
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA","sourcesContent":["import Correct from './correct-icon';\nimport CorrectResponse from './correct-response-icon';\nimport Incorrect from './incorrect-icon';\nimport Instructions from './instructions-icon';\nimport LearnMore from './learn-more-icon';\nimport NothingSubmitted from './nothing-submitted-icon';\nimport PartiallyCorrect from './partially-correct-icon';\nimport ShowRationale from './show-rationale-icon';\n\nexport {\n Correct,\n CorrectResponse,\n Incorrect,\n Instructions,\n LearnMore,\n NothingSubmitted,\n PartiallyCorrect,\n ShowRationale,\n};\n"],"file":"index.js"}
@@ -0,0 +1,229 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
+
12
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
+
14
+ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
15
+
16
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
17
+
18
+ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
19
+
20
+ var _propTypes = _interopRequireDefault(require("prop-types"));
21
+
22
+ var _react = _interopRequireDefault(require("react"));
23
+
24
+ var _sized = _interopRequireDefault(require("./sized"));
25
+
26
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2["default"])(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2["default"])(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2["default"])(this, result); }; }
27
+
28
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
29
+
30
+ var Lines = function Lines() {
31
+ var style = {
32
+ fill: 'none',
33
+ stroke: '#BCE2FF',
34
+ strokeWidth: 2,
35
+ strokeMiterlimit: 10
36
+ };
37
+ return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("line", {
38
+ style: style,
39
+ x1: "-98",
40
+ y1: "142",
41
+ x2: "-114.6",
42
+ y2: "142"
43
+ }), /*#__PURE__*/_react["default"].createElement("line", {
44
+ style: style,
45
+ x1: "-98",
46
+ y1: "146.3",
47
+ x2: "-114.6",
48
+ y2: "146.3"
49
+ }), /*#__PURE__*/_react["default"].createElement("line", {
50
+ style: style,
51
+ x1: "-104",
52
+ y1: "150.7",
53
+ x2: "-114.6",
54
+ y2: "150.7"
55
+ }));
56
+ };
57
+
58
+ var Root = function Root(_ref) {
59
+ var children = _ref.children,
60
+ size = _ref.size;
61
+ return /*#__PURE__*/_react["default"].createElement(_sized["default"], {
62
+ size: size
63
+ }, /*#__PURE__*/_react["default"].createElement("svg", {
64
+ version: "1.1",
65
+ viewBox: "-128 129 31 31",
66
+ style: {
67
+ enableBackground: 'new -128 129 31 31'
68
+ }
69
+ }, children));
70
+ };
71
+
72
+ Root.propTypes = {
73
+ children: _propTypes["default"].oneOfType([_propTypes["default"].arrayOf(_propTypes["default"].node), _propTypes["default"].node]).isRequired,
74
+ size: _propTypes["default"].number
75
+ };
76
+
77
+ var GreyInfo = function GreyInfo() {
78
+ return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
79
+ x: "-123.9",
80
+ y: "135.3",
81
+ style: {
82
+ fill: '#D0CAC5',
83
+ stroke: '#E6E3E0',
84
+ strokeWidth: 0.75,
85
+ strokeLinejoin: 'round',
86
+ strokeMiterlimit: 10
87
+ },
88
+ width: "4.1",
89
+ height: "4.1"
90
+ }), /*#__PURE__*/_react["default"].createElement("polygon", {
91
+ style: {
92
+ fill: '#D0CAC5',
93
+ stroke: '#E6E3E0',
94
+ strokeWidth: 0.75,
95
+ strokeLinejoin: 'round',
96
+ strokeMiterlimit: 10
97
+ },
98
+ points: "-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4 -125.6,153.2 -116.8,153.2 -116.8,150.4 "
99
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
100
+ x: "-124.7",
101
+ y: "134.7",
102
+ style: {
103
+ fill: '#B3ABA4',
104
+ stroke: '#CDC7C2',
105
+ strokeWidth: 0.5,
106
+ strokeLinecap: 'round',
107
+ strokeLinejoin: 'round',
108
+ strokeMiterlimit: 10
109
+ },
110
+ width: "4.1",
111
+ height: "4.1"
112
+ }), /*#__PURE__*/_react["default"].createElement("polygon", {
113
+ style: {
114
+ fill: '#B3ABA4',
115
+ stroke: '#CDC7C2',
116
+ strokeWidth: 0.5,
117
+ strokeLinecap: 'round',
118
+ strokeLinejoin: 'round',
119
+ strokeMiterlimit: 10
120
+ },
121
+ points: "-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8 -126.4,152.5 -117.6,152.5 -117.6,149.8 "
122
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
123
+ x: "-125.5",
124
+ y: "134",
125
+ style: {
126
+ fill: '#7FABC6'
127
+ },
128
+ width: "4.1",
129
+ height: "4.1"
130
+ }), /*#__PURE__*/_react["default"].createElement("polygon", {
131
+ style: {
132
+ fill: '#7FABC6'
133
+ },
134
+ points: "-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1 -127.1,151.9 -118.4,151.9 -118.4,149.1 "
135
+ }));
136
+ };
137
+
138
+ var BlueInfo = function BlueInfo() {
139
+ return /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
140
+ x: "-123.9",
141
+ y: "135.3",
142
+ style: {
143
+ fill: '#D0CAC5',
144
+ stroke: '#E6E3E0',
145
+ strokeWidth: 0.75,
146
+ strokeLinejoin: 'round',
147
+ strokeMiterlimit: 10
148
+ },
149
+ width: "4.1",
150
+ height: "4.1"
151
+ }), /*#__PURE__*/_react["default"].createElement("polygon", {
152
+ style: {
153
+ fill: '#D0CAC5',
154
+ stroke: '#E6E3E0',
155
+ strokeWidth: 0.75,
156
+ strokeLinejoin: 'round',
157
+ strokeMiterlimit: 10
158
+ },
159
+ points: "-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4 -125.6,153.2 -116.8,153.2 -116.8,150.4 "
160
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
161
+ x: "-124.7",
162
+ y: "134.7",
163
+ style: {
164
+ fill: '#B3ABA4',
165
+ stroke: '#CDC7C2',
166
+ strokeWidth: 0.5,
167
+ strokeLinecap: 'round',
168
+ strokeLinejoin: 'round',
169
+ strokeMiterlimit: 10
170
+ },
171
+ width: "4.1",
172
+ height: "4.1"
173
+ }), /*#__PURE__*/_react["default"].createElement("polygon", {
174
+ style: {
175
+ fill: '#B3ABA4',
176
+ stroke: '#CDC7C2',
177
+ strokeWidth: 0.5,
178
+ strokeLinecap: 'round',
179
+ strokeLinejoin: 'round',
180
+ strokeMiterlimit: 10
181
+ },
182
+ points: "-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8 -126.4,152.5 -117.6,152.5 -117.6,149.8 "
183
+ }), /*#__PURE__*/_react["default"].createElement("rect", {
184
+ x: "-125.5",
185
+ y: "134",
186
+ style: {
187
+ fill: '#1A9CFF'
188
+ },
189
+ width: "4.1",
190
+ height: "4.1"
191
+ }), /*#__PURE__*/_react["default"].createElement("polygon", {
192
+ style: {
193
+ fill: '#1A9CFF'
194
+ },
195
+ points: "-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1 -127.1,151.9 -118.4,151.9 -118.4,149.1 "
196
+ }));
197
+ };
198
+
199
+ var Instructions = /*#__PURE__*/function (_React$Component) {
200
+ (0, _inherits2["default"])(Instructions, _React$Component);
201
+
202
+ var _super = _createSuper(Instructions);
203
+
204
+ function Instructions(props) {
205
+ (0, _classCallCheck2["default"])(this, Instructions);
206
+ return _super.call(this, props);
207
+ }
208
+
209
+ (0, _createClass2["default"])(Instructions, [{
210
+ key: "render",
211
+ value: function render() {
212
+ if (this.props.open === true) {
213
+ return /*#__PURE__*/_react["default"].createElement(Root, null, /*#__PURE__*/_react["default"].createElement(GreyInfo, null), /*#__PURE__*/_react["default"].createElement(Lines, null));
214
+ } else {
215
+ return /*#__PURE__*/_react["default"].createElement(Root, null, /*#__PURE__*/_react["default"].createElement(BlueInfo, null), /*#__PURE__*/_react["default"].createElement(Lines, null));
216
+ }
217
+ }
218
+ }]);
219
+ return Instructions;
220
+ }(_react["default"].Component);
221
+
222
+ exports["default"] = Instructions;
223
+ Instructions.propTypes = {
224
+ open: _propTypes["default"].bool
225
+ };
226
+ Instructions.defaultProps = {
227
+ open: false
228
+ };
229
+ //# sourceMappingURL=instructions-icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/instructions-icon.jsx"],"names":["Lines","style","fill","stroke","strokeWidth","strokeMiterlimit","Root","children","size","enableBackground","propTypes","PropTypes","oneOfType","arrayOf","node","isRequired","number","GreyInfo","strokeLinejoin","strokeLinecap","BlueInfo","Instructions","props","open","React","Component","bool","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;;;;;AACA,IAAMA,KAAK,GAAG,SAARA,KAAQ,GAAM;AAClB,MAAMC,KAAK,GAAG;AACZC,IAAAA,IAAI,EAAE,MADM;AAEZC,IAAAA,MAAM,EAAE,SAFI;AAGZC,IAAAA,WAAW,EAAE,CAHD;AAIZC,IAAAA,gBAAgB,EAAE;AAJN,GAAd;AAOA,sBACE,wDACE;AAAM,IAAA,KAAK,EAAEJ,KAAb;AAAoB,IAAA,EAAE,EAAC,KAAvB;AAA6B,IAAA,EAAE,EAAC,KAAhC;AAAsC,IAAA,EAAE,EAAC,QAAzC;AAAkD,IAAA,E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AC;AATT,IAvCF,eAmDE;AAAM,IAAA,CAAC,EAAC,QAAR;AAAiB,IAAA,CAAC,EAAC,KAAnB;AAAyB,IAAA,KAAK,EAAE;AAAEH,MAAAA,IAAI,EAAE;AAAR,KAAhC;AAAqD,IAAA,KAAK,EAAC,KAA3D;AAAiE,IAAA,MAAM,EAAC;AAAxE,IAnDF,eAoDE;AACE,IAAA,KAAK,EAAE;AAAEA,MAAAA,IAAI,EAAE;AAAR,KADT;AAEE,IAAA,MAAM,EAAC;AAFT,IApDF,CADe;AAAA,CAAjB;;IA6DqBmB,Y;;;;;AACnB,wBAAYC,KAAZ,EAAmB;AAAA;AAAA,6BACXA,KADW;AAElB;;;;WAED,kBAAS;AACP,UAAI,KAAKA,KAAL,CAAWC,IAAX,KAAoB,IAAxB,EAA8B;AAC5B,4BACE,gCAAC,IAAD,qBACE,gCAAC,QAAD,OADF,eAEE,gCAAC,KAAD,OAFF,CADF;AAMD,OAPD,MAOO;AACL,4BACE,gCAAC,IAAD,qBACE,gCAAC,QAAD,OADF,eAEE,gCAAC,KAAD,OAFF,CADF;AAMD;AACF;;;EArBuCC,kBAAMC,S;;;AAwBhDJ,YAAY,CAACX,SAAb,GAAyB;AACvBa,EAAAA,IAAI,EAAEZ,sBAAUe;AADO,CAAzB;AAIAL,YAAY,CAACM,YAAb,GAA4B;AAC1BJ,EAAAA,IAAI,EAAE;AADoB,CAA5B","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport Sized from './sized';\nconst Lines = () => {\n const style = {\n fill: 'none',\n stroke: '#BCE2FF',\n strokeWidth: 2,\n strokeMiterlimit: 10,\n };\n\n return (\n <g>\n <line style={style} x1=\"-98\" y1=\"142\" x2=\"-114.6\" y2=\"142\" />\n <line style={style} x1=\"-98\" y1=\"146.3\" x2=\"-114.6\" y2=\"146.3\" />\n <line style={style} x1=\"-104\" y1=\"150.7\" x2=\"-114.6\" y2=\"150.7\" />\n </g>\n );\n};\n\nconst Root = ({ children, size }) => (\n <Sized size={size}>\n <svg version=\"1.1\" viewBox=\"-128 129 31 31\" style={{ enableBackground: 'new -128 129 31 31' }}>\n {children}\n </svg>\n </Sized>\n);\n\nRoot.propTypes = {\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]).isRequired,\n size: PropTypes.number,\n};\n\nconst GreyInfo = () => {\n return (\n <g>\n <rect\n x=\"-123.9\"\n y=\"135.3\"\n style={{\n fill: '#D0CAC5',\n stroke: '#E6E3E0',\n strokeWidth: 0.75,\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n width=\"4.1\"\n height=\"4.1\"\n />\n <polygon\n style={{\n fill: '#D0CAC5',\n stroke: '#E6E3E0',\n strokeWidth: 0.75,\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n points=\"-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4 \n -125.6,153.2 -116.8,153.2 -116.8,150.4 \"\n />\n <rect\n x=\"-124.7\"\n y=\"134.7\"\n style={{\n fill: '#B3ABA4',\n stroke: '#CDC7C2',\n strokeWidth: 0.5,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n width=\"4.1\"\n height=\"4.1\"\n />\n\n <polygon\n style={{\n fill: '#B3ABA4',\n stroke: '#CDC7C2',\n strokeWidth: 0.5,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n points=\"-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8 \n -126.4,152.5 -117.6,152.5 -117.6,149.8 \"\n />\n <rect x=\"-125.5\" y=\"134\" style={{ fill: '#7FABC6' }} width=\"4.1\" height=\"4.1\" />\n <polygon\n style={{ fill: '#7FABC6' }}\n points=\"-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1 \n -127.1,151.9 -118.4,151.9 -118.4,149.1 \"\n />\n </g>\n );\n};\n\nconst BlueInfo = () => (\n <g>\n <rect\n x=\"-123.9\"\n y=\"135.3\"\n style={{\n fill: '#D0CAC5',\n stroke: '#E6E3E0',\n strokeWidth: 0.75,\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n width=\"4.1\"\n height=\"4.1\"\n />\n <polygon\n style={{\n fill: '#D0CAC5',\n stroke: '#E6E3E0',\n strokeWidth: 0.75,\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n points=\"-119.8,150.4 -119.8,142.2 -125,142.2 -125,144.9 -122.6,144.9 -122.6,150.4 -125.6,150.4 \n -125.6,153.2 -116.8,153.2 -116.8,150.4 \"\n />\n <rect\n x=\"-124.7\"\n y=\"134.7\"\n style={{\n fill: '#B3ABA4',\n stroke: '#CDC7C2',\n strokeWidth: 0.5,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n width=\"4.1\"\n height=\"4.1\"\n />\n <polygon\n style={{\n fill: '#B3ABA4',\n stroke: '#CDC7C2',\n strokeWidth: 0.5,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n strokeMiterlimit: 10,\n }}\n points=\"-120.6,149.8 -120.6,141.5 -125.8,141.5 -125.8,144.3 -123.3,144.3 -123.3,149.8 -126.4,149.8 \n -126.4,152.5 -117.6,152.5 -117.6,149.8 \"\n />\n <rect x=\"-125.5\" y=\"134\" style={{ fill: '#1A9CFF' }} width=\"4.1\" height=\"4.1\" />\n <polygon\n style={{ fill: '#1A9CFF' }}\n points=\"-121.4,149.1 -121.4,140.9 -126.5,140.9 -126.5,143.6 -124.1,143.6 -124.1,149.1 -127.1,149.1 \n -127.1,151.9 -118.4,151.9 -118.4,149.1 \"\n />\n </g>\n);\n\nexport default class Instructions extends React.Component {\n constructor(props) {\n super(props);\n }\n\n render() {\n if (this.props.open === true) {\n return (\n <Root>\n <GreyInfo />\n <Lines />\n </Root>\n );\n } else {\n return (\n <Root>\n <BlueInfo />\n <Lines />\n </Root>\n );\n }\n }\n}\n\nInstructions.propTypes = {\n open: PropTypes.bool,\n};\n\nInstructions.defaultProps = {\n open: false,\n};\n"],"file":"instructions-icon.js"}