@magmamath/students-features 0.9.9 → 0.9.14-rc.11

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 (378) 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/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_10_[Changes]/shelved.patch +18 -0
  20. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_11_[Changes]/shelved.patch +19 -0
  21. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_10__Changes_.xml +4 -0
  22. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_11__Changes_.xml +4 -0
  23. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025,_11_06_[Changes]/shelved.patch +18 -0
  24. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025,_11_07_[Changes]/shelved.patch +18 -0
  25. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025__11_06__Changes_.xml +4 -0
  26. package/.idea/students-features.iml +12 -0
  27. package/.idea/vcs.xml +6 -0
  28. package/.idea/workspace.xml +645 -0
  29. package/.nvmrc +1 -0
  30. package/.prettierrc +11 -0
  31. package/.release-it.json +17 -0
  32. package/.watchmanconfig +1 -0
  33. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +541 -0
  34. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +28 -0
  35. package/.yarn/releases/yarn-3.6.1.cjs +874 -0
  36. package/babel.config.js +5 -0
  37. package/bob.config.js +25 -0
  38. package/dist/commonjs/features/celebrations/helpers.js +4 -1
  39. package/dist/commonjs/features/celebrations/helpers.js.map +1 -1
  40. package/dist/commonjs/features/chatbot/components/Chatbot.js +2 -2
  41. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  42. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +8 -6
  43. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  44. package/dist/commonjs/features/chatbot/model/t2s.js +4 -3
  45. package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -1
  46. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  47. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +3 -2
  48. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  49. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  50. package/dist/commonjs/features/feedback/model/sockets.js +8 -5
  51. package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
  52. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +5 -1
  53. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  54. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +4 -4
  55. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  56. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +4 -4
  57. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  58. package/dist/commonjs/features/keyboard/components/Keyboard.js +24 -9
  59. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  60. package/dist/commonjs/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +9 -7
  61. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
  62. package/dist/commonjs/features/keyboard/components/{constants.js → MainLayout/constants.js} +7 -2
  63. package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +1 -0
  64. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
  65. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  66. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -1
  67. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  68. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -1
  69. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  70. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +3 -1
  71. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  72. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +27 -6
  73. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  74. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
  75. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  76. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js +1 -0
  77. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  78. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +22 -1
  79. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  80. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +7 -0
  81. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  82. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +20 -30
  83. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  84. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
  85. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  86. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +6 -3
  87. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  88. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +1 -0
  89. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  90. package/dist/commonjs/lib/helpers/helpers.js +28 -5
  91. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  92. package/dist/commonjs/lib/types/requests.js +2 -0
  93. package/dist/commonjs/lib/types/requests.js.map +1 -0
  94. package/dist/commonjs/shared/icons/TimeIcon.js +37 -0
  95. package/dist/commonjs/shared/icons/TimeIcon.js.map +1 -0
  96. package/dist/commonjs/shared/icons/keyboard/CDotIcon/CDotIcon.js +4 -4
  97. package/dist/commonjs/shared/icons/keyboard/CDotIcon/CDotIcon.js.map +1 -1
  98. package/dist/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js +32 -0
  99. package/dist/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js.map +1 -0
  100. package/dist/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js +32 -0
  101. package/dist/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js.map +1 -0
  102. package/dist/commonjs/shared/translation/constants.js +3 -1
  103. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  104. package/dist/commonjs/shared/translation/localization/ca.json +7 -6
  105. package/dist/commonjs/shared/translation/localization/de.json +43 -0
  106. package/dist/commonjs/shared/translation/localization/en.json +7 -6
  107. package/dist/commonjs/shared/translation/localization/gb.json +7 -6
  108. package/dist/commonjs/shared/translation/localization/sct.json +7 -6
  109. package/dist/commonjs/shared/translation/localization/sw.json +7 -6
  110. package/dist/commonjs/shared/translation/types.js +1 -0
  111. package/dist/commonjs/shared/translation/types.js.map +1 -1
  112. package/dist/module/features/celebrations/helpers.js +4 -1
  113. package/dist/module/features/celebrations/helpers.js.map +1 -1
  114. package/dist/module/features/chatbot/components/Chatbot.js +2 -2
  115. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  116. package/dist/module/features/chatbot/model/ChatBotModel.js +8 -6
  117. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  118. package/dist/module/features/chatbot/model/t2s.js +4 -3
  119. package/dist/module/features/chatbot/model/t2s.js.map +1 -1
  120. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  121. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +3 -2
  122. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  123. package/dist/module/features/feedback/model/model.js.map +1 -1
  124. package/dist/module/features/feedback/model/sockets.js +8 -5
  125. package/dist/module/features/feedback/model/sockets.js.map +1 -1
  126. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +4 -0
  127. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  128. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +4 -4
  129. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  130. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +4 -4
  131. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  132. package/dist/module/features/keyboard/components/Keyboard.js +23 -8
  133. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  134. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  135. package/dist/module/features/keyboard/components/{MainLayout.js → MainLayout/MainLayout.js} +9 -7
  136. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -0
  137. package/dist/module/features/keyboard/components/{constants.js → MainLayout/constants.js} +6 -1
  138. package/dist/module/features/keyboard/components/MainLayout/constants.js.map +1 -0
  139. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +3 -2
  140. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  141. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +2 -1
  142. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  143. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +2 -1
  144. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  145. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +2 -1
  146. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  147. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +27 -6
  148. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  149. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +9 -1
  150. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  151. package/dist/module/features/keyboard/components/UnitsLayout/types.js +1 -0
  152. package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  153. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +24 -3
  154. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  155. package/dist/module/features/keyboard/constants/keyboardLayouts.js +6 -0
  156. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  157. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +20 -30
  158. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  159. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +27 -0
  160. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  161. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +6 -3
  162. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  163. package/dist/module/features/keyboard/types/keyboardGroupIds.js +1 -0
  164. package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  165. package/dist/module/lib/helpers/helpers.js +28 -5
  166. package/dist/module/lib/helpers/helpers.js.map +1 -1
  167. package/dist/module/lib/types/requests.js +2 -0
  168. package/dist/module/lib/types/requests.js.map +1 -0
  169. package/dist/module/shared/icons/TimeIcon.js +29 -0
  170. package/dist/module/shared/icons/TimeIcon.js.map +1 -0
  171. package/dist/module/shared/icons/keyboard/CDotIcon/CDotIcon.js +4 -4
  172. package/dist/module/shared/icons/keyboard/CDotIcon/CDotIcon.js.map +1 -1
  173. package/dist/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js +24 -0
  174. package/dist/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js.map +1 -0
  175. package/dist/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js +24 -0
  176. package/dist/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js.map +1 -0
  177. package/dist/module/shared/translation/constants.js +3 -1
  178. package/dist/module/shared/translation/constants.js.map +1 -1
  179. package/dist/module/shared/translation/localization/ca.json +7 -6
  180. package/dist/module/shared/translation/localization/de.json +43 -0
  181. package/dist/module/shared/translation/localization/en.json +7 -6
  182. package/dist/module/shared/translation/localization/gb.json +7 -6
  183. package/dist/module/shared/translation/localization/sct.json +7 -6
  184. package/dist/module/shared/translation/localization/sw.json +7 -6
  185. package/dist/module/shared/translation/types.js +1 -0
  186. package/dist/module/shared/translation/types.js.map +1 -1
  187. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
  188. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +8 -7
  189. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  190. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts +2 -2
  191. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  192. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -1
  193. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +11 -1
  194. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  195. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +8 -5
  196. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  197. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  198. package/dist/typescript/commonjs/features/feedback/model/model.d.ts +4 -1
  199. package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
  200. package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
  201. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
  202. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  203. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  204. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  205. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +3 -2
  206. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  207. package/dist/typescript/commonjs/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
  208. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
  209. package/dist/typescript/{module/features/keyboard/components → commonjs/features/keyboard/components/MainLayout}/constants.d.ts +5 -0
  210. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
  211. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
  212. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  213. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  214. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +1 -0
  215. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  216. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +4 -7
  217. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  218. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  219. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  220. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +7 -1
  221. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  222. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  223. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
  224. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  225. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +5 -13
  226. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  227. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
  228. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  229. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +36 -0
  230. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  231. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
  232. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  233. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  234. package/dist/typescript/commonjs/lib/types/requests.d.ts +4 -0
  235. package/dist/typescript/commonjs/lib/types/requests.d.ts.map +1 -0
  236. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +4 -0
  237. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +1 -0
  238. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts +4 -0
  239. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts.map +1 -0
  240. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts +4 -0
  241. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts.map +1 -0
  242. package/dist/typescript/commonjs/shared/translation/constants.d.ts +48 -0
  243. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  244. package/dist/typescript/commonjs/shared/translation/model.d.ts +2 -0
  245. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  246. package/dist/typescript/commonjs/shared/translation/types.d.ts +2 -1
  247. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  248. package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
  249. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +8 -7
  250. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  251. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts +2 -2
  252. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  253. package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -1
  254. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +11 -1
  255. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  256. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +8 -5
  257. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  258. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  259. package/dist/typescript/module/features/feedback/model/model.d.ts +4 -1
  260. package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
  261. package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
  262. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +1 -0
  263. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  264. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  265. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  266. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +3 -2
  267. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  268. package/dist/typescript/module/features/keyboard/components/{MainLayout.d.ts → MainLayout/MainLayout.d.ts} +1 -1
  269. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -0
  270. package/dist/typescript/{commonjs/features/keyboard/components → module/features/keyboard/components/MainLayout}/constants.d.ts +5 -0
  271. package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +1 -0
  272. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +5 -1
  273. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  274. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  275. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +1 -0
  276. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  277. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +4 -7
  278. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  279. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +1 -0
  280. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  281. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +7 -1
  282. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  283. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  284. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +1 -0
  285. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  286. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +5 -13
  287. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  288. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +18 -0
  289. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  290. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +36 -0
  291. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  292. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +1 -0
  293. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  294. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  295. package/dist/typescript/module/lib/types/requests.d.ts +4 -0
  296. package/dist/typescript/module/lib/types/requests.d.ts.map +1 -0
  297. package/dist/typescript/module/shared/icons/TimeIcon.d.ts +4 -0
  298. package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +1 -0
  299. package/dist/typescript/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts +4 -0
  300. package/dist/typescript/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts.map +1 -0
  301. package/dist/typescript/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts +4 -0
  302. package/dist/typescript/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts.map +1 -0
  303. package/dist/typescript/module/shared/translation/constants.d.ts +48 -0
  304. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  305. package/dist/typescript/module/shared/translation/model.d.ts +2 -0
  306. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  307. package/dist/typescript/module/shared/translation/types.d.ts +2 -1
  308. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  309. package/example/.expo/README.md +8 -0
  310. package/example/.expo/devices.json +3 -0
  311. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  312. package/example/app.json +30 -0
  313. package/example/assets/adaptive-icon.png +0 -0
  314. package/example/assets/favicon.png +0 -0
  315. package/example/assets/icon.png +0 -0
  316. package/example/assets/splash-icon.png +0 -0
  317. package/example/babel.config.js +28 -0
  318. package/example/index.js +8 -0
  319. package/example/metro.config.js +18 -0
  320. package/example/package.json +25 -0
  321. package/example/src/App.tsx +8 -0
  322. package/example/tsconfig.json +6 -0
  323. package/example/yarn.lock +6552 -0
  324. package/package.json +1 -1
  325. package/src/features/celebrations/helpers.ts +35 -33
  326. package/src/features/chatbot/components/Chatbot.tsx +2 -2
  327. package/src/features/chatbot/model/ChatBotModel.ts +10 -5
  328. package/src/features/chatbot/model/t2s.ts +3 -2
  329. package/src/features/chatbot/types/api.types.ts +14 -1
  330. package/src/features/chatbot/types/model.types.ts +12 -5
  331. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +4 -3
  332. package/src/features/feedback/model/model.ts +4 -1
  333. package/src/features/feedback/model/sockets.ts +8 -6
  334. package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +4 -0
  335. package/src/features/keyboard/components/BasicPlusLayout/keyboardGroups.ts +26 -16
  336. package/src/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.ts +30 -24
  337. package/src/features/keyboard/components/Keyboard.tsx +44 -11
  338. package/src/features/keyboard/components/KeysList/KeysList.tsx +1 -1
  339. package/src/features/keyboard/components/{MainLayout.tsx → MainLayout/MainLayout.tsx} +6 -7
  340. package/src/features/keyboard/components/{constants.ts → MainLayout/constants.ts} +6 -1
  341. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +7 -2
  342. package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +5 -3
  343. package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -0
  344. package/src/features/keyboard/components/UnitsLayout/helpers.tsx +3 -0
  345. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +36 -22
  346. package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +11 -0
  347. package/src/features/keyboard/components/UnitsLayout/types.ts +7 -0
  348. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +23 -0
  349. package/src/features/keyboard/constants/keyboardLayouts.ts +11 -0
  350. package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +15 -24
  351. package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +21 -0
  352. package/src/features/keyboard/types/MathKeysGroups/units.tsx +3 -0
  353. package/src/features/keyboard/types/keyboardGroupIds.ts +1 -0
  354. package/src/lib/helpers/helpers.ts +23 -8
  355. package/src/lib/types/requests.ts +1 -0
  356. package/src/shared/icons/TimeIcon.tsx +23 -0
  357. package/src/shared/icons/keyboard/CDotIcon/CDotIcon.tsx +2 -2
  358. package/src/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.tsx +18 -0
  359. package/src/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.tsx +18 -0
  360. package/src/shared/translation/constants.ts +2 -0
  361. package/src/shared/translation/localization/ca.json +7 -6
  362. package/src/shared/translation/localization/de.json +43 -0
  363. package/src/shared/translation/localization/en.json +7 -6
  364. package/src/shared/translation/localization/gb.json +7 -6
  365. package/src/shared/translation/localization/sct.json +7 -6
  366. package/src/shared/translation/localization/sw.json +7 -6
  367. package/src/shared/translation/types.ts +4 -0
  368. package/tsconfig.build.json +4 -0
  369. package/tsconfig.json +34 -0
  370. package/yarn.lock +8623 -0
  371. package/dist/commonjs/features/keyboard/components/MainLayout.js.map +0 -1
  372. package/dist/commonjs/features/keyboard/components/constants.js.map +0 -1
  373. package/dist/module/features/keyboard/components/MainLayout.js.map +0 -1
  374. package/dist/module/features/keyboard/components/constants.js.map +0 -1
  375. package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +0 -1
  376. package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +0 -1
  377. package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +0 -1
  378. package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +0 -1
@@ -3,15 +3,15 @@
3
3
  "teacherFeedback.noComments": "No comments yet",
4
4
  "time.justNow": "just now",
5
5
  "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "minutes ago",
6
+ "time.minutesAgo": "{{count}} minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "hours ago",
8
+ "time.hoursAgo": "{{count}} hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "days ago",
10
+ "time.daysAgo": "{{count}} days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "months ago",
12
+ "time.monthsAgo": "{{count}} months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "years ago",
14
+ "time.yearsAgo": "{{count}} years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,6 +37,7 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight"
40
+ "weight": "Weight",
41
+ "time": "Time"
41
42
  }
42
43
  }
@@ -0,0 +1,43 @@
1
+ {
2
+ "locale": "de-DE",
3
+ "teacherFeedback.noComments": "Noch keine Kommentare",
4
+ "time.justNow": "gerade eben",
5
+ "time.minuteAgo": "vor einer Minute",
6
+ "time.minutesAgo": "vor {{count}} Minuten",
7
+ "time.hourAgo": "vor einer Stunde",
8
+ "time.hoursAgo": "vor {{count}} Stunden",
9
+ "time.dayAgo": "vor einem Tag",
10
+ "time.daysAgo": "vor {{count}} Tagen",
11
+ "time.monthAgo": "vor einem Monat",
12
+ "time.monthsAgo": "vor {{count}} Monaten",
13
+ "time.yearAgo": "vor einem Jahr",
14
+ "time.yearsAgo": "vor {{count}} Jahren",
15
+ "chat": {
16
+ "anotherHint": "Gib mir noch einen Hinweis",
17
+ "giveHint": "Ich brauche einen Hinweis",
18
+ "giveHintOpenChat": "Ich brauche einen Hinweis",
19
+ "answerAgain": "Noch einmal antworten, um einen weiteren Hinweis zu bekommen!",
20
+ "errorMessage": "Etwas ist schiefgelaufen! Versuch es erneut",
21
+ "howCanIHelp": "Hi! Möchtest du Hilfe?",
22
+ "showError": "Fehler anzeigen",
23
+ "inputPlaceholder": "Tippe..."
24
+ },
25
+ "gifCelebrations": {
26
+ "greatStart": "Toller Start!",
27
+ "onTheWay": "Auf dem Weg!",
28
+ "almostThere": "Fast geschafft"
29
+ },
30
+ "exampleSolution": {
31
+ "exampleSolution": "Beispiellösung",
32
+ "letMeThink": "Lass mich nachdenken...",
33
+ "aha": "Aha!",
34
+ "errorMessage": "Beim Erstellen einer Beispiellösung ist etwas schiefgelaufen"
35
+ },
36
+ "keyboard": {
37
+ "length": "Länge",
38
+ "area": "Fläche",
39
+ "volume": "Volumen",
40
+ "weight": "Gewicht",
41
+ "time": "Zeit"
42
+ }
43
+ }
@@ -3,15 +3,15 @@
3
3
  "teacherFeedback.noComments": "No comments yet",
4
4
  "time.justNow": "just now",
5
5
  "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "minutes ago",
6
+ "time.minutesAgo": "{{count}} minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "hours ago",
8
+ "time.hoursAgo": "{{count}} hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "days ago",
10
+ "time.daysAgo": "{{count}} days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "months ago",
12
+ "time.monthsAgo": "{{count}} months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "years ago",
14
+ "time.yearsAgo": "{{count}} years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,6 +37,7 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight"
40
+ "weight": "Weight",
41
+ "time": "Time"
41
42
  }
42
43
  }
@@ -3,15 +3,15 @@
3
3
  "teacherFeedback.noComments": "No comments yet",
4
4
  "time.justNow": "just now",
5
5
  "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "minutes ago",
6
+ "time.minutesAgo": "{{count}} minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "hours ago",
8
+ "time.hoursAgo": "{{count}} hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "days ago",
10
+ "time.daysAgo": "{{count}} days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "months ago",
12
+ "time.monthsAgo": "{{count}} months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "years ago",
14
+ "time.yearsAgo": "{{count}} years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,6 +37,7 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight"
40
+ "weight": "Weight",
41
+ "time": "Time"
41
42
  }
42
43
  }
@@ -3,15 +3,15 @@
3
3
  "teacherFeedback.noComments": "No comments yet",
4
4
  "time.justNow": "just now",
5
5
  "time.minuteAgo": "minute ago",
6
- "time.minutesAgo": "minutes ago",
6
+ "time.minutesAgo": "{{count}} minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "hours ago",
8
+ "time.hoursAgo": "{{count}} hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "days ago",
10
+ "time.daysAgo": "{{count}} days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "months ago",
12
+ "time.monthsAgo": "{{count}} months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "years ago",
14
+ "time.yearsAgo": "{{count}} years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,6 +37,7 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight"
40
+ "weight": "Weight",
41
+ "time": "Time"
41
42
  }
42
43
  }
@@ -3,15 +3,15 @@
3
3
  "teacherFeedback.noComments": "Inga kommentarer än",
4
4
  "time.justNow": "alldeles nyss",
5
5
  "time.minuteAgo": "minut sedan",
6
- "time.minutesAgo": "minuter sedan",
6
+ "time.minutesAgo": "{{count}} minuter sedan",
7
7
  "time.hourAgo": "timme sedan",
8
- "time.hoursAgo": "timmar sedan",
8
+ "time.hoursAgo": "{{count}} timmar sedan",
9
9
  "time.dayAgo": "dag sedan",
10
- "time.daysAgo": "dagar sedan",
10
+ "time.daysAgo": "{{count}} dagar sedan",
11
11
  "time.monthAgo": "månad sedan",
12
- "time.monthsAgo": "månader sedan",
12
+ "time.monthsAgo": "{{count}} månader sedan",
13
13
  "time.yearAgo": "år sedan",
14
- "time.yearsAgo": "år sedan",
14
+ "time.yearsAgo": "{{count}} år sedan",
15
15
  "chat": {
16
16
  "anotherHint": "Ge mig en till ledtråd",
17
17
  "giveHint": "Ge mig en ledtråd",
@@ -37,6 +37,7 @@
37
37
  "length": "Längd",
38
38
  "area": "Area",
39
39
  "volume": "Volym",
40
- "weight": "Vikt"
40
+ "weight": "Vikt",
41
+ "time": "Tid"
41
42
  }
42
43
  }
@@ -3,6 +3,8 @@ import swTranslations from './localization/sw.json'
3
3
  import gbTranslations from './localization/gb.json'
4
4
  import caTranslations from './localization/ca.json'
5
5
  import sctTranslations from './localization/sct.json'
6
+ import deTranslations from "./localization/de.json"
7
+
6
8
  import { RetrieveKeys } from '../../lib/types/keys'
7
9
  import { ISValidTranslation } from './validation.types'
8
10
 
@@ -16,6 +18,7 @@ export enum Locale {
16
18
  GB = 'en-GB',
17
19
  CA = 'en-CA',
18
20
  SCT = 'en-SCT',
21
+ DE = 'de-DE'
19
22
  }
20
23
 
21
24
  // Validation of translations, do not remove
@@ -24,3 +27,4 @@ type ISValidSW = ISValidTranslation<typeof swTranslations>
24
27
  type ISValidGB = ISValidTranslation<typeof gbTranslations>
25
28
  type ISValidCA = ISValidTranslation<typeof caTranslations>
26
29
  type ISValidSCT = ISValidTranslation<typeof sctTranslations>
30
+ type ISValidDE = ISValidTranslation<typeof deTranslations>
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "./tsconfig",
3
+ "exclude": ["example", "dist"]
4
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "paths": {
4
+ "@magmamath/students-features": ["./src/index"]
5
+ },
6
+ "target": "esnext",
7
+ "baseUrl": "./",
8
+ "lib": [
9
+ "dom",
10
+ "dom.iterable",
11
+ "esnext"
12
+ ],
13
+ "declaration": true,
14
+ "allowJs": true,
15
+ "skipLibCheck": true,
16
+ "esModuleInterop": true,
17
+ "allowSyntheticDefaultImports": true,
18
+ "strict": true,
19
+ "forceConsistentCasingInFileNames": true,
20
+ "module": "esnext",
21
+ "moduleResolution": "node",
22
+ "resolveJsonModule": true,
23
+ "isolatedModules": true,
24
+ "jsx": "react",
25
+ "experimentalDecorators": true
26
+ },
27
+ "include": [
28
+ "src"
29
+ ],
30
+ "exclude": [
31
+ "node_modules",
32
+ "example"
33
+ ]
34
+ }