@magmamath/students-features 0.9.0 → 0.9.1-4-rc.5

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 (518) hide show
  1. package/.editorconfig +15 -0
  2. package/.eslintignore +2 -0
  3. package/.eslintrc +22 -0
  4. package/.gitattributes +3 -0
  5. package/.github/actions/setup/action.yml +37 -0
  6. package/.github/workflows/ci.yml +73 -0
  7. package/.gitignore +84 -0
  8. package/.idea/.gitignore +8 -0
  9. package/.idea/codeStyles/Project.xml +62 -0
  10. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  11. package/.idea/copilot.data.migration.agent.xml +6 -0
  12. package/.idea/copilot.data.migration.ask.xml +6 -0
  13. package/.idea/copilot.data.migration.ask2agent.xml +6 -0
  14. package/.idea/copilot.data.migration.edit.xml +6 -0
  15. package/.idea/inspectionProfiles/Project_Default.xml +8 -0
  16. package/.idea/jsLinters/eslint.xml +6 -0
  17. package/.idea/modules.xml +8 -0
  18. package/.idea/prettier.xml +7 -0
  19. package/.idea/students-features.iml +12 -0
  20. package/.idea/vcs.xml +6 -0
  21. package/.idea/workspace.xml +648 -0
  22. package/.nvmrc +1 -0
  23. package/.prettierrc +11 -0
  24. package/.release-it.json +17 -0
  25. package/.watchmanconfig +1 -0
  26. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
  27. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
  28. package/.yarn/releases/yarn-3.6.1.cjs +874 -0
  29. package/babel.config.js +5 -0
  30. package/bob.config.js +25 -0
  31. package/dist/commonjs/features/celebrations/helpers.js +4 -1
  32. package/dist/commonjs/features/celebrations/helpers.js.map +1 -1
  33. package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +1 -1
  34. package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
  35. package/dist/commonjs/features/chatbot/components/Chatbot.js +2 -2
  36. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  37. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +8 -6
  38. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  39. package/dist/commonjs/features/chatbot/model/t2s.js +4 -3
  40. package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -1
  41. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  42. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +44 -0
  43. package/dist/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -0
  44. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +10 -3
  45. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  46. package/dist/commonjs/features/endOfAssignment/components/EOAModal.js +2 -4
  47. package/dist/commonjs/features/endOfAssignment/components/EOAModal.js.map +1 -1
  48. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +5 -3
  49. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  50. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +2 -1
  51. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  52. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +9 -2
  53. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  54. package/dist/commonjs/features/endOfAssignment/helpers.js +10 -3
  55. package/dist/commonjs/features/endOfAssignment/helpers.js.map +1 -1
  56. package/dist/commonjs/features/endOfAssignment/model/model.js +7 -0
  57. package/dist/commonjs/features/endOfAssignment/model/model.js.map +1 -1
  58. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +5 -4
  59. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  60. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  61. package/dist/commonjs/features/feedback/model/sockets.js +8 -5
  62. package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
  63. package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +5 -2
  64. package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
  65. package/dist/commonjs/features/gifCelebrations/components/Gif.js +1 -1
  66. package/dist/commonjs/features/gifCelebrations/components/Gif.js.map +1 -1
  67. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +11 -4
  68. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  69. package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js +13 -3
  70. package/dist/commonjs/features/keyboard/components/AlgebraLayout/helpers.js.map +1 -1
  71. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +3 -5
  72. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  73. package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
  74. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +5 -1
  75. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  76. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +7 -1
  77. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
  78. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +2 -4
  79. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  80. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +2 -2
  81. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  82. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +2 -2
  83. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  84. package/dist/commonjs/features/keyboard/components/Keyboard.js +14 -17
  85. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  86. package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js +6 -6
  87. package/dist/commonjs/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  88. package/dist/commonjs/features/keyboard/components/KeysList/helpers.js +3 -2
  89. package/dist/commonjs/features/keyboard/components/KeysList/helpers.js.map +1 -1
  90. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +70 -0
  91. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
  92. package/dist/commonjs/features/keyboard/components/{constants.js → MainLayout/constants.js} +3 -15
  93. package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +1 -0
  94. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +1 -14
  95. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  96. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +25 -0
  97. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -0
  98. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +14 -0
  99. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -0
  100. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +25 -31
  101. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
  102. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +8 -3
  103. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  104. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +10 -3
  105. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  106. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +0 -15
  107. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  108. package/dist/commonjs/features/keyboard/constants/constants.js +1 -1
  109. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +23 -1
  110. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  111. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +9 -2
  112. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  113. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +2 -2
  114. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  115. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
  116. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  117. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +18 -18
  118. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  119. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +2 -0
  120. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  121. package/dist/commonjs/features/keyboard/types/types.js +1 -0
  122. package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
  123. package/dist/commonjs/lib/helpers/helpers.js +28 -5
  124. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  125. package/dist/commonjs/lib/types/requests.js +2 -0
  126. package/dist/commonjs/lib/types/requests.js.map +1 -0
  127. package/dist/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js +34 -0
  128. package/dist/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js.map +1 -0
  129. package/dist/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js +34 -0
  130. package/dist/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js.map +1 -0
  131. package/dist/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js +34 -0
  132. package/dist/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js.map +1 -0
  133. package/dist/commonjs/shared/translation/constants.js +3 -1
  134. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  135. package/dist/commonjs/shared/translation/localization/ca.json +5 -5
  136. package/dist/commonjs/shared/translation/localization/de.json +42 -0
  137. package/dist/commonjs/shared/translation/localization/en.json +5 -5
  138. package/dist/commonjs/shared/translation/localization/gb.json +5 -5
  139. package/dist/commonjs/shared/translation/localization/sct.json +5 -5
  140. package/dist/commonjs/shared/translation/localization/sw.json +5 -5
  141. package/dist/commonjs/shared/translation/types.js +1 -0
  142. package/dist/commonjs/shared/translation/types.js.map +1 -1
  143. package/dist/module/features/celebrations/helpers.js +4 -1
  144. package/dist/module/features/celebrations/helpers.js.map +1 -1
  145. package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +2 -2
  146. package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
  147. package/dist/module/features/chatbot/components/Chatbot.js +2 -2
  148. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  149. package/dist/module/features/chatbot/model/ChatBotModel.js +8 -6
  150. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  151. package/dist/module/features/chatbot/model/t2s.js +4 -3
  152. package/dist/module/features/chatbot/model/t2s.js.map +1 -1
  153. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  154. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js +38 -0
  155. package/dist/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.js.map +1 -0
  156. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +10 -3
  157. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  158. package/dist/module/features/endOfAssignment/components/EOAModal.js +2 -4
  159. package/dist/module/features/endOfAssignment/components/EOAModal.js.map +1 -1
  160. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +6 -4
  161. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  162. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +3 -2
  163. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  164. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +9 -2
  165. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  166. package/dist/module/features/endOfAssignment/helpers.js +8 -2
  167. package/dist/module/features/endOfAssignment/helpers.js.map +1 -1
  168. package/dist/module/features/endOfAssignment/model/model.js +7 -0
  169. package/dist/module/features/endOfAssignment/model/model.js.map +1 -1
  170. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +5 -4
  171. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  172. package/dist/module/features/feedback/model/model.js.map +1 -1
  173. package/dist/module/features/feedback/model/sockets.js +8 -5
  174. package/dist/module/features/feedback/model/sockets.js.map +1 -1
  175. package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +6 -3
  176. package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
  177. package/dist/module/features/gifCelebrations/components/Gif.js +1 -1
  178. package/dist/module/features/gifCelebrations/components/Gif.js.map +1 -1
  179. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +10 -3
  180. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  181. package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js +13 -3
  182. package/dist/module/features/keyboard/components/AlgebraLayout/helpers.js.map +1 -1
  183. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +2 -4
  184. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  185. package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +1 -1
  186. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +4 -0
  187. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  188. package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +8 -2
  189. package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
  190. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +2 -4
  191. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  192. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +1 -1
  193. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  194. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +2 -2
  195. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  196. package/dist/module/features/keyboard/components/Keyboard.js +12 -15
  197. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  198. package/dist/module/features/keyboard/components/KeysList/KeysList.js +6 -6
  199. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  200. package/dist/module/features/keyboard/components/KeysList/helpers.js +3 -2
  201. package/dist/module/features/keyboard/components/KeysList/helpers.js.map +1 -1
  202. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +63 -0
  203. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
  204. package/dist/module/features/keyboard/components/{constants.js → MainLayout/constants.js} +2 -14
  205. package/dist/module/features/keyboard/components/MainLayout/constants.js.map +1 -0
  206. package/dist/module/features/keyboard/components/Numpad/Numpad.js +1 -14
  207. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  208. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +19 -0
  209. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -0
  210. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +10 -0
  211. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -0
  212. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +25 -31
  213. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js.map +1 -1
  214. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +8 -3
  215. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  216. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +10 -3
  217. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  218. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +0 -15
  219. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  220. package/dist/module/features/keyboard/constants/constants.js +1 -1
  221. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +24 -2
  222. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  223. package/dist/module/features/keyboard/constants/keyboardLayouts.js +8 -2
  224. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  225. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +2 -2
  226. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  227. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
  228. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  229. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +19 -19
  230. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  231. package/dist/module/features/keyboard/types/keyboardGroupIds.js +2 -0
  232. package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  233. package/dist/module/features/keyboard/types/types.js +1 -0
  234. package/dist/module/features/keyboard/types/types.js.map +1 -1
  235. package/dist/module/lib/helpers/helpers.js +28 -5
  236. package/dist/module/lib/helpers/helpers.js.map +1 -1
  237. package/dist/module/lib/types/requests.js +2 -0
  238. package/dist/module/lib/types/requests.js.map +1 -0
  239. package/dist/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js +26 -0
  240. package/dist/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.js.map +1 -0
  241. package/dist/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js +26 -0
  242. package/dist/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.js.map +1 -0
  243. package/dist/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js +26 -0
  244. package/dist/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.js.map +1 -0
  245. package/dist/module/shared/translation/constants.js +3 -1
  246. package/dist/module/shared/translation/constants.js.map +1 -1
  247. package/dist/module/shared/translation/localization/ca.json +5 -5
  248. package/dist/module/shared/translation/localization/de.json +42 -0
  249. package/dist/module/shared/translation/localization/en.json +5 -5
  250. package/dist/module/shared/translation/localization/gb.json +5 -5
  251. package/dist/module/shared/translation/localization/sct.json +5 -5
  252. package/dist/module/shared/translation/localization/sw.json +5 -5
  253. package/dist/module/shared/translation/types.js +1 -0
  254. package/dist/module/shared/translation/types.js.map +1 -1
  255. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
  256. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +8 -7
  257. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  258. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts +2 -2
  259. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -1
  261. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +11 -1
  262. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  263. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +8 -5
  264. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  265. package/dist/typescript/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts +10 -0
  266. package/dist/typescript/commonjs/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts.map +1 -0
  267. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/features/endOfAssignment/components/EOAModal.d.ts +1 -3
  269. package/dist/typescript/commonjs/features/endOfAssignment/components/EOAModal.d.ts.map +1 -1
  270. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts +1 -1
  271. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  273. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/features/endOfAssignment/helpers.d.ts +3 -1
  275. package/dist/typescript/commonjs/features/endOfAssignment/helpers.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/features/endOfAssignment/model/model.d.ts +5 -0
  277. package/dist/typescript/commonjs/features/endOfAssignment/model/model.d.ts.map +1 -1
  278. package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts +2 -2
  279. package/dist/typescript/commonjs/features/endOfAssignment/types.d.ts.map +1 -1
  280. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts +3 -2
  281. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  282. package/dist/typescript/commonjs/features/feedback/model/model.d.ts +4 -1
  283. package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
  284. package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
  286. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
  287. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  288. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts +6 -1
  289. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +1 -1
  290. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
  291. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
  292. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  293. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  295. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  296. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  297. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +4 -3
  298. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  299. package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts +1 -4
  300. package/dist/typescript/commonjs/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
  301. package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts +2 -3
  302. package/dist/typescript/commonjs/features/keyboard/components/KeysList/helpers.d.ts.map +1 -1
  303. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts +15 -0
  304. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
  305. package/dist/typescript/commonjs/features/keyboard/components/{constants.d.ts → MainLayout/constants.d.ts} +0 -12
  306. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
  307. package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  308. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +8 -0
  309. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -0
  310. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts +3 -0
  311. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -0
  312. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
  313. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
  314. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  315. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +2 -1
  316. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  317. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +2 -26
  318. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  319. package/dist/typescript/commonjs/features/keyboard/constants/constants.d.ts +1 -1
  320. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  321. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +3 -2
  322. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  323. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
  324. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  325. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +208 -208
  326. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  327. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +3 -1
  328. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  329. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +3 -1
  330. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
  331. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  332. package/dist/typescript/commonjs/lib/types/requests.d.ts +4 -0
  333. package/dist/typescript/commonjs/lib/types/requests.d.ts.map +1 -0
  334. package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts +4 -0
  335. package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts.map +1 -0
  336. package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts +4 -0
  337. package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts.map +1 -0
  338. package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts +4 -0
  339. package/dist/typescript/commonjs/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts.map +1 -0
  340. package/dist/typescript/commonjs/shared/translation/constants.d.ts +42 -0
  341. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  342. package/dist/typescript/commonjs/shared/translation/types.d.ts +2 -1
  343. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  344. package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
  345. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +8 -7
  346. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  347. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts +2 -2
  348. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  349. package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -1
  350. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +11 -1
  351. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  352. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +8 -5
  353. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  354. package/dist/typescript/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts +10 -0
  355. package/dist/typescript/module/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.d.ts.map +1 -0
  356. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  357. package/dist/typescript/module/features/endOfAssignment/components/EOAModal.d.ts +1 -3
  358. package/dist/typescript/module/features/endOfAssignment/components/EOAModal.d.ts.map +1 -1
  359. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts +1 -1
  360. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  361. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  362. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  363. package/dist/typescript/module/features/endOfAssignment/helpers.d.ts +3 -1
  364. package/dist/typescript/module/features/endOfAssignment/helpers.d.ts.map +1 -1
  365. package/dist/typescript/module/features/endOfAssignment/model/model.d.ts +5 -0
  366. package/dist/typescript/module/features/endOfAssignment/model/model.d.ts.map +1 -1
  367. package/dist/typescript/module/features/endOfAssignment/types.d.ts +2 -2
  368. package/dist/typescript/module/features/endOfAssignment/types.d.ts.map +1 -1
  369. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts +3 -2
  370. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  371. package/dist/typescript/module/features/feedback/model/model.d.ts +4 -1
  372. package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
  373. package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
  374. package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
  375. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts +1 -1
  376. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  377. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts +6 -1
  378. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/helpers.d.ts.map +1 -1
  379. package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
  380. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
  381. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  382. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
  383. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  384. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  385. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  386. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +4 -3
  387. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  388. package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts +1 -4
  389. package/dist/typescript/module/features/keyboard/components/KeysList/KeysList.d.ts.map +1 -1
  390. package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts +2 -3
  391. package/dist/typescript/module/features/keyboard/components/KeysList/helpers.d.ts.map +1 -1
  392. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts +15 -0
  393. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
  394. package/dist/typescript/module/features/keyboard/components/{constants.d.ts → MainLayout/constants.d.ts} +0 -12
  395. package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
  396. package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  397. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +8 -0
  398. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -0
  399. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts +3 -0
  400. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -0
  401. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitTabs.d.ts.map +1 -1
  402. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts +1 -1
  403. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  404. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +2 -1
  405. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  406. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +2 -26
  407. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  408. package/dist/typescript/module/features/keyboard/constants/constants.d.ts +1 -1
  409. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  410. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +3 -2
  411. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  412. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
  413. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  414. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +208 -208
  415. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  416. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +3 -1
  417. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  418. package/dist/typescript/module/features/keyboard/types/types.d.ts +3 -1
  419. package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
  420. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  421. package/dist/typescript/module/lib/types/requests.d.ts +4 -0
  422. package/dist/typescript/module/lib/types/requests.d.ts.map +1 -0
  423. package/dist/typescript/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts +4 -0
  424. package/dist/typescript/module/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.d.ts.map +1 -0
  425. package/dist/typescript/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts +4 -0
  426. package/dist/typescript/module/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.d.ts.map +1 -0
  427. package/dist/typescript/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts +4 -0
  428. package/dist/typescript/module/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.d.ts.map +1 -0
  429. package/dist/typescript/module/shared/translation/constants.d.ts +42 -0
  430. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  431. package/dist/typescript/module/shared/translation/types.d.ts +2 -1
  432. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  433. package/example/.expo/README.md +8 -0
  434. package/example/.expo/devices.json +3 -0
  435. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  436. package/example/app.json +30 -0
  437. package/example/assets/adaptive-icon.png +0 -0
  438. package/example/assets/favicon.png +0 -0
  439. package/example/assets/icon.png +0 -0
  440. package/example/assets/splash-icon.png +0 -0
  441. package/example/babel.config.js +28 -0
  442. package/example/index.js +8 -0
  443. package/example/metro.config.js +18 -0
  444. package/example/package.json +25 -0
  445. package/example/src/App.tsx +8 -0
  446. package/example/tsconfig.json +6 -0
  447. package/example/yarn.lock +6552 -0
  448. package/package.json +2 -2
  449. package/src/features/celebrations/helpers.ts +35 -33
  450. package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +1 -1
  451. package/src/features/chatbot/components/Chatbot.tsx +2 -2
  452. package/src/features/chatbot/model/ChatBotModel.ts +10 -5
  453. package/src/features/chatbot/model/t2s.ts +3 -2
  454. package/src/features/chatbot/types/api.types.ts +14 -1
  455. package/src/features/chatbot/types/model.types.ts +12 -5
  456. package/src/features/endOfAssignment/components/AssessmentScoreCard/AssessmentScoreCard.tsx +43 -0
  457. package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +20 -10
  458. package/src/features/endOfAssignment/components/EOAModal.tsx +2 -9
  459. package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +6 -6
  460. package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +2 -2
  461. package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +17 -6
  462. package/src/features/endOfAssignment/helpers.ts +10 -3
  463. package/src/features/endOfAssignment/model/model.ts +5 -1
  464. package/src/features/endOfAssignment/types.ts +2 -1
  465. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +7 -5
  466. package/src/features/feedback/model/model.ts +4 -1
  467. package/src/features/feedback/model/sockets.ts +8 -6
  468. package/src/features/formulaSheet/components/FormulaSheetModal.tsx +14 -2
  469. package/src/features/gifCelebrations/components/Gif.tsx +1 -1
  470. package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +4 -3
  471. package/src/features/keyboard/components/AlgebraLayout/helpers.tsx +19 -6
  472. package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +3 -4
  473. package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +1 -1
  474. package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +4 -0
  475. package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +9 -2
  476. package/src/features/keyboard/components/BasicPlusLayout/keyboardGroups.ts +7 -21
  477. package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +2 -1
  478. package/src/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.ts +0 -4
  479. package/src/features/keyboard/components/Keyboard.tsx +23 -19
  480. package/src/features/keyboard/components/KeysList/KeysList.tsx +5 -6
  481. package/src/features/keyboard/components/KeysList/helpers.ts +3 -1
  482. package/src/features/keyboard/components/MainLayout/MainLayout.tsx +74 -0
  483. package/src/features/keyboard/components/{constants.ts → MainLayout/constants.ts} +2 -13
  484. package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -18
  485. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +17 -0
  486. package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +14 -0
  487. package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +24 -29
  488. package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +4 -1
  489. package/src/features/keyboard/components/UnitsLayout/helpers.tsx +10 -2
  490. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +0 -4
  491. package/src/features/keyboard/constants/constants.ts +1 -1
  492. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +23 -0
  493. package/src/features/keyboard/constants/keyboardLayouts.ts +12 -1
  494. package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +2 -2
  495. package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +21 -0
  496. package/src/features/keyboard/types/MathKeysGroups/units.tsx +14 -13
  497. package/src/features/keyboard/types/keyboardGroupIds.ts +2 -0
  498. package/src/features/keyboard/types/types.ts +2 -0
  499. package/src/lib/helpers/helpers.ts +23 -8
  500. package/src/lib/types/requests.ts +1 -0
  501. package/src/shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon.tsx +17 -0
  502. package/src/shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon.tsx +20 -0
  503. package/src/shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon.tsx +20 -0
  504. package/src/shared/translation/constants.ts +2 -0
  505. package/src/shared/translation/localization/ca.json +5 -5
  506. package/src/shared/translation/localization/de.json +42 -0
  507. package/src/shared/translation/localization/en.json +5 -5
  508. package/src/shared/translation/localization/gb.json +5 -5
  509. package/src/shared/translation/localization/sct.json +5 -5
  510. package/src/shared/translation/localization/sw.json +5 -5
  511. package/src/shared/translation/types.ts +4 -0
  512. package/tsconfig.build.json +4 -0
  513. package/tsconfig.json +34 -0
  514. package/yarn.lock +8623 -0
  515. package/dist/commonjs/features/keyboard/components/constants.js.map +0 -1
  516. package/dist/module/features/keyboard/components/constants.js.map +0 -1
  517. package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +0 -1
  518. package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +0 -1
package/.editorconfig ADDED
@@ -0,0 +1,15 @@
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
4
+
5
+ root = true
6
+
7
+ [*]
8
+
9
+ indent_style = space
10
+ indent_size = 2
11
+
12
+ end_of_line = lf
13
+ charset = utf-8
14
+ trim_trailing_whitespace = true
15
+ insert_final_newline = true
package/.eslintignore ADDED
@@ -0,0 +1,2 @@
1
+ node_modules/
2
+ ./lib/
package/.eslintrc ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2020": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended",
9
+ "plugin:react-hooks/recommended",
10
+ "plugin:storybook/recommended",
11
+ "prettier"
12
+ ],
13
+ "parser": "@typescript-eslint/parser",
14
+ "parserOptions": {
15
+ "ecmaVersion": "latest",
16
+ "sourceType": "module"
17
+ },
18
+ "plugins": ["react-refresh"],
19
+ "rules": {
20
+ "react-refresh/only-export-components": "warn"
21
+ }
22
+ }
package/.gitattributes ADDED
@@ -0,0 +1,3 @@
1
+ *.pbxproj -text
2
+ # specific for windows script files
3
+ *.bat text eol=crlf
@@ -0,0 +1,37 @@
1
+ name: Setup
2
+ description: Setup Node.js and install dependencies
3
+
4
+ inputs:
5
+ npmrc-auth-token:
6
+ required: true
7
+
8
+ runs:
9
+ using: composite
10
+ steps:
11
+ - name: Setup Node.js
12
+ uses: actions/setup-node@v3
13
+ with:
14
+ node-version-file: .nvmrc
15
+
16
+ - name: Create .npmrc
17
+ shell: bash
18
+ run: |
19
+ echo "registry=https://registry.npmjs.org" > .npmrc
20
+ echo "//registry.npmjs.org/:_authToken=${{ inputs.npmrc-auth-token }}" >> .npmrc
21
+
22
+ - name: Cache dependencies
23
+ id: yarn-cache
24
+ uses: actions/cache@v3
25
+ with:
26
+ path: |
27
+ **/node_modules
28
+ .yarn/install-state.gz
29
+ key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
30
+ restore-keys: |
31
+ ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
32
+ ${{ runner.os }}-yarn-
33
+
34
+ - name: Install dependencies
35
+ if: steps.yarn-cache.outputs.cache-hit != 'true'
36
+ run: yarn install --immutable
37
+ shell: bash
@@ -0,0 +1,73 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+ merge_group:
11
+ types:
12
+ - checks_requested
13
+
14
+ jobs:
15
+ lint:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v3
20
+
21
+ - name: Setup
22
+ uses: ./.github/actions/setup
23
+ with:
24
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
25
+
26
+ - name: Lint files
27
+ run: yarn lint
28
+
29
+ - name: Typecheck files
30
+ run: yarn typecheck
31
+
32
+ test:
33
+ runs-on: ubuntu-latest
34
+ steps:
35
+ - name: Checkout
36
+ uses: actions/checkout@v3
37
+
38
+ - name: Setup
39
+ uses: ./.github/actions/setup
40
+ with:
41
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
42
+
43
+ - name: Run unit tests
44
+ run: yarn test --maxWorkers=2 --coverage
45
+
46
+ build-library:
47
+ runs-on: ubuntu-latest
48
+ steps:
49
+ - name: Checkout
50
+ uses: actions/checkout@v3
51
+
52
+ - name: Setup
53
+ uses: ./.github/actions/setup
54
+ with:
55
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
56
+
57
+ - name: Build package
58
+ run: yarn prepare
59
+
60
+ build-web:
61
+ runs-on: ubuntu-latest
62
+ steps:
63
+ - name: Checkout
64
+ uses: actions/checkout@v3
65
+
66
+ - name: Setup
67
+ uses: ./.github/actions/setup
68
+ with:
69
+ npmrc-auth-token: ${{ secrets.MAGMA_NPMRC_TOKEN }}
70
+
71
+ - name: Build example for Web
72
+ run: |
73
+ yarn example expo export --platform web
package/.gitignore ADDED
@@ -0,0 +1,84 @@
1
+ # OSX
2
+ #
3
+ .DS_Store
4
+
5
+ # XDE
6
+ .expo/
7
+
8
+ # VSCode
9
+ .vscode/
10
+ jsconfig.json
11
+
12
+ # Xcode
13
+ #
14
+ build/
15
+ *.pbxuser
16
+ !default.pbxuser
17
+ *.mode1v3
18
+ !default.mode1v3
19
+ *.mode2v3
20
+ !default.mode2v3
21
+ *.perspectivev3
22
+ !default.perspectivev3
23
+ xcuserdata
24
+ *.xccheckout
25
+ *.moved-aside
26
+ DerivedData
27
+ *.hmap
28
+ *.ipa
29
+ *.xcuserstate
30
+ project.xcworkspace
31
+
32
+ # Android/IJ
33
+ #
34
+ .classpath
35
+ .cxx
36
+ .gradle
37
+ .idea
38
+ .project
39
+ .settings
40
+ local.properties
41
+ android.iml
42
+
43
+ # Cocoapods
44
+ #
45
+ example/ios/Pods
46
+
47
+ # Ruby
48
+ example/vendor/
49
+
50
+ # node.js
51
+ #
52
+ node_modules/
53
+ npm-debug.log
54
+ yarn-debug.log
55
+ yarn-error.log
56
+
57
+ # BUCK
58
+ buck-out/
59
+ \.buckd/
60
+ android/app/libs
61
+ android/keystores/debug.keystore
62
+
63
+ # Yarn
64
+ .yarn/*
65
+ !.yarn/patches
66
+ !.yarn/plugins
67
+ !.yarn/releases
68
+ !.yarn/sdks
69
+ !.yarn/versions
70
+
71
+ # Expo
72
+ .expo/
73
+
74
+ # Turborepo
75
+ .turbo/
76
+
77
+ # generated by bob
78
+ dist/
79
+ !src/lib/
80
+
81
+ # React Native Codegen
82
+ ios/generated
83
+ android/generated
84
+ .npmrc
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Editor-based HTTP Client requests
5
+ /httpRequests/
6
+ # Datasource local storage ignored files
7
+ /dataSources/
8
+ /dataSources.local.xml
@@ -0,0 +1,62 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <code_scheme name="Project" version="173">
3
+ <option name="LINE_SEPARATOR" value="&#10;" />
4
+ <HTMLCodeStyleSettings>
5
+ <option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
6
+ </HTMLCodeStyleSettings>
7
+ <JSCodeStyleSettings version="0">
8
+ <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
9
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
10
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
11
+ <option name="USE_DOUBLE_QUOTES" value="false" />
12
+ <option name="FORCE_QUOTE_STYlE" value="true" />
13
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
14
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
15
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
16
+ </JSCodeStyleSettings>
17
+ <TypeScriptCodeStyleSettings version="0">
18
+ <option name="USE_SEMICOLON_AFTER_STATEMENT" value="false" />
19
+ <option name="FORCE_SEMICOLON_STYLE" value="true" />
20
+ <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
21
+ <option name="USE_DOUBLE_QUOTES" value="false" />
22
+ <option name="FORCE_QUOTE_STYlE" value="true" />
23
+ <option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
24
+ <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
25
+ <option name="SPACES_WITHIN_IMPORTS" value="true" />
26
+ </TypeScriptCodeStyleSettings>
27
+ <VueCodeStyleSettings>
28
+ <option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
29
+ <option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
30
+ </VueCodeStyleSettings>
31
+ <codeStyleSettings language="HTML">
32
+ <option name="SOFT_MARGINS" value="100" />
33
+ <indentOptions>
34
+ <option name="INDENT_SIZE" value="2" />
35
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
36
+ <option name="TAB_SIZE" value="2" />
37
+ </indentOptions>
38
+ </codeStyleSettings>
39
+ <codeStyleSettings language="JavaScript">
40
+ <option name="SOFT_MARGINS" value="100" />
41
+ <indentOptions>
42
+ <option name="INDENT_SIZE" value="2" />
43
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
44
+ <option name="TAB_SIZE" value="2" />
45
+ </indentOptions>
46
+ </codeStyleSettings>
47
+ <codeStyleSettings language="TypeScript">
48
+ <option name="SOFT_MARGINS" value="100" />
49
+ <indentOptions>
50
+ <option name="INDENT_SIZE" value="2" />
51
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
52
+ <option name="TAB_SIZE" value="2" />
53
+ </indentOptions>
54
+ </codeStyleSettings>
55
+ <codeStyleSettings language="Vue">
56
+ <option name="SOFT_MARGINS" value="100" />
57
+ <indentOptions>
58
+ <option name="CONTINUATION_INDENT_SIZE" value="2" />
59
+ </indentOptions>
60
+ </codeStyleSettings>
61
+ </code_scheme>
62
+ </component>
@@ -0,0 +1,5 @@
1
+ <component name="ProjectCodeStyleConfiguration">
2
+ <state>
3
+ <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
+ </state>
5
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AskMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Ask2AgentMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EditMigrationStateService">
4
+ <option name="migrationStatus" value="COMPLETED" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="EditorConfigUnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
6
+ <inspection_tool class="UnusedDefine" enabled="true" level="WARNING" enabled_by_default="true" />
7
+ </profile>
8
+ </component>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="EslintConfiguration">
4
+ <option name="fix-on-save" value="true" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/students-features.iml" filepath="$PROJECT_DIR$/.idea/students-features.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PrettierConfiguration">
4
+ <option name="myConfigurationMode" value="AUTOMATIC" />
5
+ <option name="myRunOnSave" value="true" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>