@magmamath/students-features 0.9.14-rc.16 → 0.9.91

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 (377) hide show
  1. package/dist/commonjs/features/celebrations/helpers.js +1 -4
  2. package/dist/commonjs/features/celebrations/helpers.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/Chatbot.js +2 -2
  4. package/dist/commonjs/features/chatbot/components/Chatbot.js.map +1 -1
  5. package/dist/commonjs/features/chatbot/model/ChatBotModel.js +6 -8
  6. package/dist/commonjs/features/chatbot/model/ChatBotModel.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/model/t2s.js +3 -4
  8. package/dist/commonjs/features/chatbot/model/t2s.js.map +1 -1
  9. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  10. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -3
  11. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  12. package/dist/commonjs/features/feedback/model/model.js.map +1 -1
  13. package/dist/commonjs/features/feedback/model/sockets.js +5 -8
  14. package/dist/commonjs/features/feedback/model/sockets.js.map +1 -1
  15. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js +1 -5
  16. package/dist/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  17. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +4 -4
  18. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  19. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +4 -4
  20. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  21. package/dist/commonjs/features/keyboard/components/Keyboard.js +7 -9
  22. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  23. package/dist/commonjs/features/keyboard/components/{MainLayout/MainLayout.js → MainLayout.js} +6 -9
  24. package/dist/commonjs/features/keyboard/components/MainLayout.js.map +1 -0
  25. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +2 -3
  26. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  27. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +1 -2
  28. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  29. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitTabs.js +1 -1
  30. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js +1 -3
  31. package/dist/commonjs/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  32. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +6 -27
  33. package/dist/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  34. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js +1 -9
  35. package/dist/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  36. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js +0 -1
  37. package/dist/commonjs/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  38. package/dist/commonjs/features/keyboard/components/{MainLayout/constants.js → constants.js} +1 -1
  39. package/dist/commonjs/features/keyboard/components/constants.js.map +1 -0
  40. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js +1 -22
  41. package/dist/commonjs/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  42. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +2 -9
  43. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  44. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js +30 -20
  45. package/dist/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  46. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js +0 -27
  47. package/dist/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  48. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js +3 -6
  49. package/dist/commonjs/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  50. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js +0 -1
  51. package/dist/commonjs/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  52. package/dist/commonjs/lib/helpers/helpers.js +5 -28
  53. package/dist/commonjs/lib/helpers/helpers.js.map +1 -1
  54. package/dist/commonjs/shared/icons/keyboard/CDotIcon/CDotIcon.js +4 -4
  55. package/dist/commonjs/shared/icons/keyboard/CDotIcon/CDotIcon.js.map +1 -1
  56. package/dist/commonjs/shared/translation/constants.js +1 -3
  57. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  58. package/dist/commonjs/shared/translation/localization/ca.json +6 -7
  59. package/dist/commonjs/shared/translation/localization/en.json +6 -7
  60. package/dist/commonjs/shared/translation/localization/gb.json +6 -7
  61. package/dist/commonjs/shared/translation/localization/sct.json +6 -7
  62. package/dist/commonjs/shared/translation/localization/sw.json +6 -7
  63. package/dist/commonjs/shared/translation/types.js +0 -1
  64. package/dist/commonjs/shared/translation/types.js.map +1 -1
  65. package/dist/module/features/celebrations/helpers.js +1 -4
  66. package/dist/module/features/celebrations/helpers.js.map +1 -1
  67. package/dist/module/features/chatbot/components/Chatbot.js +2 -2
  68. package/dist/module/features/chatbot/components/Chatbot.js.map +1 -1
  69. package/dist/module/features/chatbot/model/ChatBotModel.js +6 -8
  70. package/dist/module/features/chatbot/model/ChatBotModel.js.map +1 -1
  71. package/dist/module/features/chatbot/model/t2s.js +3 -4
  72. package/dist/module/features/chatbot/model/t2s.js.map +1 -1
  73. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  74. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +2 -3
  75. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  76. package/dist/module/features/feedback/model/model.js.map +1 -1
  77. package/dist/module/features/feedback/model/sockets.js +5 -8
  78. package/dist/module/features/feedback/model/sockets.js.map +1 -1
  79. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js +0 -4
  80. package/dist/module/features/keyboard/components/BasicLayout/keyboardGroups.js.map +1 -1
  81. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js +4 -4
  82. package/dist/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.js.map +1 -1
  83. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js +4 -4
  84. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.js.map +1 -1
  85. package/dist/module/features/keyboard/components/Keyboard.js +2 -4
  86. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  87. package/dist/module/features/keyboard/components/KeysList/KeysList.js.map +1 -1
  88. package/dist/module/features/keyboard/components/{MainLayout/MainLayout.js → MainLayout.js} +6 -9
  89. package/dist/module/features/keyboard/components/MainLayout.js.map +1 -0
  90. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +2 -3
  91. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  92. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js +1 -2
  93. package/dist/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.js.map +1 -1
  94. package/dist/module/features/keyboard/components/UnitsLayout/UnitTabs.js +1 -1
  95. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js +1 -2
  96. package/dist/module/features/keyboard/components/UnitsLayout/helpers.js.map +1 -1
  97. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js +6 -27
  98. package/dist/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.js.map +1 -1
  99. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js +1 -9
  100. package/dist/module/features/keyboard/components/UnitsLayout/keyboardGroups.js.map +1 -1
  101. package/dist/module/features/keyboard/components/UnitsLayout/types.js +0 -1
  102. package/dist/module/features/keyboard/components/UnitsLayout/types.js.map +1 -1
  103. package/dist/module/features/keyboard/components/{MainLayout/constants.js → constants.js} +1 -1
  104. package/dist/module/features/keyboard/components/constants.js.map +1 -0
  105. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js +3 -24
  106. package/dist/module/features/keyboard/constants/keyboardGroupsByLocale.js.map +1 -1
  107. package/dist/module/features/keyboard/constants/keyboardLayouts.js +2 -8
  108. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  109. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js +30 -20
  110. package/dist/module/features/keyboard/types/MathKeysGroups/basicOperators.js.map +1 -1
  111. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js +0 -27
  112. package/dist/module/features/keyboard/types/MathKeysGroups/specialOperators.js.map +1 -1
  113. package/dist/module/features/keyboard/types/MathKeysGroups/units.js +3 -6
  114. package/dist/module/features/keyboard/types/MathKeysGroups/units.js.map +1 -1
  115. package/dist/module/features/keyboard/types/keyboardGroupIds.js +0 -1
  116. package/dist/module/features/keyboard/types/keyboardGroupIds.js.map +1 -1
  117. package/dist/module/lib/helpers/helpers.js +5 -28
  118. package/dist/module/lib/helpers/helpers.js.map +1 -1
  119. package/dist/module/shared/icons/keyboard/CDotIcon/CDotIcon.js +4 -4
  120. package/dist/module/shared/icons/keyboard/CDotIcon/CDotIcon.js.map +1 -1
  121. package/dist/module/shared/translation/constants.js +1 -3
  122. package/dist/module/shared/translation/constants.js.map +1 -1
  123. package/dist/module/shared/translation/localization/ca.json +6 -7
  124. package/dist/module/shared/translation/localization/en.json +6 -7
  125. package/dist/module/shared/translation/localization/gb.json +6 -7
  126. package/dist/module/shared/translation/localization/sct.json +6 -7
  127. package/dist/module/shared/translation/localization/sw.json +6 -7
  128. package/dist/module/shared/translation/types.js +0 -1
  129. package/dist/module/shared/translation/types.js.map +1 -1
  130. package/dist/typescript/commonjs/features/celebrations/helpers.d.ts.map +1 -1
  131. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts +7 -8
  132. package/dist/typescript/commonjs/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  133. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts +2 -2
  134. package/dist/typescript/commonjs/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  135. package/dist/typescript/commonjs/features/chatbot/model/t2s.d.ts.map +1 -1
  136. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +1 -11
  137. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  138. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +5 -8
  139. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  140. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  141. package/dist/typescript/commonjs/features/feedback/model/model.d.ts +1 -4
  142. package/dist/typescript/commonjs/features/feedback/model/model.d.ts.map +1 -1
  143. package/dist/typescript/commonjs/features/feedback/model/sockets.d.ts.map +1 -1
  144. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
  145. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  146. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  147. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  148. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts +2 -3
  149. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  150. package/dist/typescript/{module/features/keyboard/components/MainLayout → commonjs/features/keyboard/components}/MainLayout.d.ts +1 -1
  151. package/dist/typescript/commonjs/features/keyboard/components/MainLayout.d.ts.map +1 -0
  152. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +1 -5
  153. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  154. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  155. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts +0 -1
  156. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  157. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +7 -4
  158. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  159. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +0 -1
  160. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  161. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts +1 -7
  162. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  163. package/dist/typescript/commonjs/features/keyboard/components/constants.d.ts.map +1 -0
  164. package/dist/typescript/commonjs/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  165. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -1
  166. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  167. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +13 -5
  168. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  169. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +0 -18
  170. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  171. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts +0 -36
  172. package/dist/typescript/commonjs/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  173. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
  174. package/dist/typescript/commonjs/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  175. package/dist/typescript/commonjs/lib/helpers/helpers.d.ts.map +1 -1
  176. package/dist/typescript/commonjs/shared/translation/constants.d.ts +0 -48
  177. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  178. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -2
  179. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +1 -1
  180. package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -2
  181. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  182. package/dist/typescript/module/features/celebrations/helpers.d.ts.map +1 -1
  183. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts +7 -8
  184. package/dist/typescript/module/features/chatbot/model/ChatBotModel.d.ts.map +1 -1
  185. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts +2 -2
  186. package/dist/typescript/module/features/chatbot/model/ChatbotApi.d.ts.map +1 -1
  187. package/dist/typescript/module/features/chatbot/model/t2s.d.ts.map +1 -1
  188. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +1 -11
  189. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  190. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +5 -8
  191. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  192. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  193. package/dist/typescript/module/features/feedback/model/model.d.ts +1 -4
  194. package/dist/typescript/module/features/feedback/model/model.d.ts.map +1 -1
  195. package/dist/typescript/module/features/feedback/model/sockets.d.ts.map +1 -1
  196. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts +0 -1
  197. package/dist/typescript/module/features/keyboard/components/BasicLayout/keyboardGroups.d.ts.map +1 -1
  198. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/keyboardGroups.d.ts.map +1 -1
  199. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.d.ts.map +1 -1
  200. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts +2 -3
  201. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  202. package/dist/typescript/{commonjs/features/keyboard/components/MainLayout → module/features/keyboard/components}/MainLayout.d.ts +1 -1
  203. package/dist/typescript/module/features/keyboard/components/MainLayout.d.ts.map +1 -0
  204. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts +1 -5
  205. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  206. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/keyboardGroups.d.ts.map +1 -1
  207. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts +0 -1
  208. package/dist/typescript/module/features/keyboard/components/UnitsLayout/helpers.d.ts.map +1 -1
  209. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts +7 -4
  210. package/dist/typescript/module/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.d.ts.map +1 -1
  211. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts +0 -1
  212. package/dist/typescript/module/features/keyboard/components/UnitsLayout/keyboardGroups.d.ts.map +1 -1
  213. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts +1 -7
  214. package/dist/typescript/module/features/keyboard/components/UnitsLayout/types.d.ts.map +1 -1
  215. package/dist/typescript/module/features/keyboard/components/constants.d.ts.map +1 -0
  216. package/dist/typescript/module/features/keyboard/constants/keyboardGroupsByLocale.d.ts.map +1 -1
  217. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -1
  218. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  219. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts +13 -5
  220. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/basicOperators.d.ts.map +1 -1
  221. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts +0 -18
  222. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/specialOperators.d.ts.map +1 -1
  223. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts +0 -36
  224. package/dist/typescript/module/features/keyboard/types/MathKeysGroups/units.d.ts.map +1 -1
  225. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts +0 -1
  226. package/dist/typescript/module/features/keyboard/types/keyboardGroupIds.d.ts.map +1 -1
  227. package/dist/typescript/module/lib/helpers/helpers.d.ts.map +1 -1
  228. package/dist/typescript/module/shared/translation/constants.d.ts +0 -48
  229. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  230. package/dist/typescript/module/shared/translation/model.d.ts +0 -2
  231. package/dist/typescript/module/shared/translation/model.d.ts.map +1 -1
  232. package/dist/typescript/module/shared/translation/types.d.ts +1 -2
  233. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  234. package/package.json +1 -1
  235. package/src/features/celebrations/helpers.ts +33 -35
  236. package/src/features/chatbot/components/Chatbot.tsx +2 -2
  237. package/src/features/chatbot/model/ChatBotModel.ts +5 -10
  238. package/src/features/chatbot/model/t2s.ts +2 -3
  239. package/src/features/chatbot/types/api.types.ts +1 -14
  240. package/src/features/chatbot/types/model.types.ts +5 -12
  241. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +3 -4
  242. package/src/features/feedback/model/model.ts +1 -4
  243. package/src/features/feedback/model/sockets.ts +6 -8
  244. package/src/features/keyboard/components/BasicLayout/keyboardGroups.ts +0 -4
  245. package/src/features/keyboard/components/BasicPlusLayout/keyboardGroups.ts +17 -27
  246. package/src/features/keyboard/components/BasicPlusPlusLayout/keyboardGroups.ts +24 -30
  247. package/src/features/keyboard/components/Keyboard.tsx +6 -16
  248. package/src/features/keyboard/components/KeysList/KeysList.tsx +1 -1
  249. package/src/features/keyboard/components/{MainLayout/MainLayout.tsx → MainLayout.tsx} +7 -7
  250. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +2 -7
  251. package/src/features/keyboard/components/UnderlinedLayout/keyboardGroups.ts +3 -5
  252. package/src/features/keyboard/components/UnitsLayout/UnitTabs.tsx +1 -1
  253. package/src/features/keyboard/components/UnitsLayout/helpers.tsx +0 -3
  254. package/src/features/keyboard/components/UnitsLayout/hooks/useUnitTabs.ts +22 -36
  255. package/src/features/keyboard/components/UnitsLayout/keyboardGroups.ts +0 -11
  256. package/src/features/keyboard/components/UnitsLayout/types.ts +0 -7
  257. package/src/features/keyboard/components/{MainLayout/constants.ts → constants.ts} +1 -1
  258. package/src/features/keyboard/constants/keyboardGroupsByLocale.ts +0 -23
  259. package/src/features/keyboard/constants/keyboardLayouts.ts +1 -12
  260. package/src/features/keyboard/types/MathKeysGroups/basicOperators.tsx +24 -15
  261. package/src/features/keyboard/types/MathKeysGroups/specialOperators.tsx +0 -21
  262. package/src/features/keyboard/types/MathKeysGroups/units.tsx +0 -3
  263. package/src/features/keyboard/types/keyboardGroupIds.ts +0 -1
  264. package/src/lib/helpers/helpers.ts +8 -23
  265. package/src/shared/icons/keyboard/CDotIcon/CDotIcon.tsx +2 -2
  266. package/src/shared/translation/constants.ts +0 -2
  267. package/src/shared/translation/localization/ca.json +6 -7
  268. package/src/shared/translation/localization/en.json +6 -7
  269. package/src/shared/translation/localization/gb.json +6 -7
  270. package/src/shared/translation/localization/sct.json +6 -7
  271. package/src/shared/translation/localization/sw.json +6 -7
  272. package/src/shared/translation/types.ts +0 -4
  273. package/.editorconfig +0 -15
  274. package/.eslintignore +0 -2
  275. package/.eslintrc +0 -22
  276. package/.gitattributes +0 -3
  277. package/.github/actions/setup/action.yml +0 -37
  278. package/.github/workflows/ci.yml +0 -73
  279. package/.gitignore +0 -84
  280. package/.idea/.gitignore +0 -8
  281. package/.idea/codeStyles/Project.xml +0 -62
  282. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  283. package/.idea/copilot.data.migration.agent.xml +0 -6
  284. package/.idea/copilot.data.migration.ask.xml +0 -6
  285. package/.idea/copilot.data.migration.ask2agent.xml +0 -6
  286. package/.idea/copilot.data.migration.edit.xml +0 -6
  287. package/.idea/inspectionProfiles/Project_Default.xml +0 -8
  288. package/.idea/jsLinters/eslint.xml +0 -6
  289. package/.idea/modules.xml +0 -8
  290. package/.idea/prettier.xml +0 -7
  291. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_10_[Changes]/shelved.patch +0 -18
  292. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025,_13_11_[Changes]/shelved.patch +0 -19
  293. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_10__Changes_.xml +0 -4
  294. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_29_12_2025__13_11__Changes_.xml +0 -4
  295. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025,_11_06_[Changes]/shelved.patch +0 -18
  296. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025,_11_07_[Changes]/shelved.patch +0 -18
  297. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025__11_06__Changes_.xml +0 -4
  298. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_30_12_2025__11_07__Changes_.xml +0 -4
  299. package/.idea/students-features.iml +0 -12
  300. package/.idea/vcs.xml +0 -6
  301. package/.idea/workspace.xml +0 -645
  302. package/.nvmrc +0 -1
  303. package/.prettierrc +0 -11
  304. package/.release-it.json +0 -17
  305. package/.watchmanconfig +0 -1
  306. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  307. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
  308. package/.yarn/releases/yarn-3.6.1.cjs +0 -874
  309. package/babel.config.js +0 -5
  310. package/bob.config.js +0 -25
  311. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +0 -1
  312. package/dist/commonjs/features/keyboard/components/MainLayout/constants.js.map +0 -1
  313. package/dist/commonjs/lib/types/requests.js +0 -2
  314. package/dist/commonjs/lib/types/requests.js.map +0 -1
  315. package/dist/commonjs/shared/icons/TimeIcon.js +0 -37
  316. package/dist/commonjs/shared/icons/TimeIcon.js.map +0 -1
  317. package/dist/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js +0 -32
  318. package/dist/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js.map +0 -1
  319. package/dist/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js +0 -32
  320. package/dist/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js.map +0 -1
  321. package/dist/commonjs/shared/translation/localization/de.json +0 -43
  322. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +0 -1
  323. package/dist/module/features/keyboard/components/MainLayout/constants.js.map +0 -1
  324. package/dist/module/lib/types/requests.js +0 -2
  325. package/dist/module/lib/types/requests.js.map +0 -1
  326. package/dist/module/shared/icons/TimeIcon.js +0 -29
  327. package/dist/module/shared/icons/TimeIcon.js.map +0 -1
  328. package/dist/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js +0 -24
  329. package/dist/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.js.map +0 -1
  330. package/dist/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js +0 -24
  331. package/dist/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.js.map +0 -1
  332. package/dist/module/shared/translation/localization/de.json +0 -43
  333. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +0 -1
  334. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/constants.d.ts.map +0 -1
  335. package/dist/typescript/commonjs/lib/types/requests.d.ts +0 -4
  336. package/dist/typescript/commonjs/lib/types/requests.d.ts.map +0 -1
  337. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts +0 -4
  338. package/dist/typescript/commonjs/shared/icons/TimeIcon.d.ts.map +0 -1
  339. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts +0 -4
  340. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts.map +0 -1
  341. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts +0 -4
  342. package/dist/typescript/commonjs/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts.map +0 -1
  343. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +0 -1
  344. package/dist/typescript/module/features/keyboard/components/MainLayout/constants.d.ts.map +0 -1
  345. package/dist/typescript/module/lib/types/requests.d.ts +0 -4
  346. package/dist/typescript/module/lib/types/requests.d.ts.map +0 -1
  347. package/dist/typescript/module/shared/icons/TimeIcon.d.ts +0 -4
  348. package/dist/typescript/module/shared/icons/TimeIcon.d.ts.map +0 -1
  349. package/dist/typescript/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts +0 -4
  350. package/dist/typescript/module/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.d.ts.map +0 -1
  351. package/dist/typescript/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts +0 -4
  352. package/dist/typescript/module/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.d.ts.map +0 -1
  353. package/example/.expo/README.md +0 -8
  354. package/example/.expo/devices.json +0 -3
  355. package/example/.expo/web/cache/production/images/favicon/favicon-24272cdaeff82cc5facdaccd982a6f05b60c4504704bbf94c19a6388659880bb-contain-transparent/favicon-48.png +0 -0
  356. package/example/app.json +0 -30
  357. package/example/assets/adaptive-icon.png +0 -0
  358. package/example/assets/favicon.png +0 -0
  359. package/example/assets/icon.png +0 -0
  360. package/example/assets/splash-icon.png +0 -0
  361. package/example/babel.config.js +0 -28
  362. package/example/index.js +0 -8
  363. package/example/metro.config.js +0 -18
  364. package/example/package.json +0 -25
  365. package/example/src/App.tsx +0 -8
  366. package/example/tsconfig.json +0 -6
  367. package/example/yarn.lock +0 -6552
  368. package/src/lib/types/requests.ts +0 -1
  369. package/src/shared/icons/TimeIcon.tsx +0 -23
  370. package/src/shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon.tsx +0 -18
  371. package/src/shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon.tsx +0 -18
  372. package/src/shared/translation/localization/de.json +0 -43
  373. package/tsconfig.build.json +0 -4
  374. package/tsconfig.json +0 -34
  375. package/yarn.lock +0 -8623
  376. /package/dist/typescript/commonjs/features/keyboard/components/{MainLayout/constants.d.ts → constants.d.ts} +0 -0
  377. /package/dist/typescript/module/features/keyboard/components/{MainLayout/constants.d.ts → constants.d.ts} +0 -0
@@ -1,10 +1,10 @@
1
1
  import React, { useEffect, useMemo, useRef, useState, useCallback } from 'react'
2
2
  import { Animated, StyleSheet, useWindowDimensions, View } from 'react-native'
3
3
  import { SelectOptionColor, IS_MOBILE, IS_WEB } from '@magmamath/react-native-ui'
4
- import { getLayoutByCharType, isBasicPlusPlusLayout } from '../../constants/keyboardLayouts'
5
- import { KeyboardKey, KeyboardKeyValue } from '../../types/types'
6
- import { UnderlinedLayout } from '../UnderlinedLayout/UnderlinedLayout'
7
- import { MOBILE_LAYOUT_WIDTH } from '../../constants/constants'
4
+ import { getLayoutByCharType } from '../constants/keyboardLayouts'
5
+ import { KeyboardKey, KeyboardKeyValue } from '../types/types'
6
+ import { UnderlinedLayout } from './UnderlinedLayout/UnderlinedLayout'
7
+ import { MOBILE_LAYOUT_WIDTH } from '../constants/constants'
8
8
 
9
9
  type LayoutProps = {
10
10
  onKeyPress: (key: KeyboardKeyValue) => void
@@ -60,11 +60,11 @@ export const MainLayout = ({
60
60
  }, [showUnderlinedKeys, animateFade])
61
61
 
62
62
  return (
63
- <View style={[styles.container, IS_MOBILE && { flex: 1 }]}>
63
+ <View style={styles.container}>
64
64
  <Layout {...props} onLayoutChange={setIsSecondaryLayoutSelected} />
65
65
  {isUnderlinedLayoutVisible && (
66
66
  <Animated.View style={{ opacity: fadeAnim }}>
67
- <UnderlinedLayout {...props} showSlashKey={!isBasicPlusPlusLayout(characterType)} />
67
+ <UnderlinedLayout {...props} />
68
68
  </Animated.View>
69
69
  )}
70
70
  </View>
@@ -73,6 +73,6 @@ export const MainLayout = ({
73
73
 
74
74
  const styles = StyleSheet.create({
75
75
  container: {
76
- flexDirection: 'row',
76
+ flex: 1,
77
77
  },
78
78
  })
@@ -4,14 +4,9 @@ import { KeyboardLayoutProps, KeyboardType } from '../../types/types'
4
4
  import { Locale, useText } from '../../../../shared/translation'
5
5
  import { getKeyboardGroup } from '../../helpers'
6
6
 
7
- type UnderlinedLayoutProps = {
8
- showSlashKey?: boolean
9
- } & KeyboardLayoutProps
10
-
11
- export const UnderlinedLayout = (props: UnderlinedLayoutProps) => {
7
+ export const UnderlinedLayout = (props: KeyboardLayoutProps) => {
12
8
  const t = useText()
13
9
  const keysGroup = getKeyboardGroup(t('locale') as Locale, KeyboardType.Underlined)
14
- const keys = props.showSlashKey ? keysGroup.keys : keysGroup.keys.slice(0, -1)
15
10
 
16
- return <KeysList keys={keys} numOfRows={props.showSlashKey ? 2 : keys.length} {...props} />
11
+ return <KeysList keys={keysGroup.keys} numOfRows={keysGroup.keys.length} {...props} />
17
12
  }
@@ -1,14 +1,12 @@
1
1
  import { KeyboardGroup } from '../../types/types'
2
2
  import { MathEntryKeyboardGroupId } from '../../types/keyboardGroupIds'
3
3
  import { MATH_BASIC_OPERATORS } from '../../types/MathKeysGroups/basicOperators'
4
- import { MATH_SPECIAL_OPERATORS } from '../../types/MathKeysGroups/specialOperators'
5
4
 
6
5
  export const MATH_ENTRY_UNDERLINED_KEYBOARD_GROUP: KeyboardGroup = {
7
6
  id: MathEntryKeyboardGroupId.UNDERLINED,
8
7
  keys: [
9
- MATH_SPECIAL_OPERATORS.UNDERLINED_TEN,
10
- MATH_SPECIAL_OPERATORS.UNDERLINED_U,
11
- MATH_SPECIAL_OPERATORS.UNDERLINED_ONE,
12
- MATH_BASIC_OPERATORS.SLASH,
8
+ MATH_BASIC_OPERATORS.UNDERLINED_TEN,
9
+ MATH_BASIC_OPERATORS.UNDERLINED_ONE,
10
+ MATH_BASIC_OPERATORS.UNDERLINED_U,
13
11
  ],
14
12
  }
@@ -61,7 +61,7 @@ const styles = StyleSheet.create({
61
61
  borderBottomWidth: 1,
62
62
  borderBottomColor: COLORS.NEUTRAL_3,
63
63
  paddingTop: 0,
64
- gap: 12,
64
+ gap: 24,
65
65
  },
66
66
  keyGroupContainer: {
67
67
  gap: 8,
@@ -50,6 +50,3 @@ export const getSelectOptions = ({
50
50
  ]
51
51
  }
52
52
  }
53
-
54
- export const isKeyboardUnitsGroupType = (k: string): k is KeyboardUnitsGroupType =>
55
- (Object.values(KeyboardUnitsGroupType) as string[]).includes(k)
@@ -1,46 +1,32 @@
1
1
  import { useText } from '../../../../../shared/translation'
2
2
  import { useMemo, useState } from 'react'
3
- import { KeyboardUnitsGroupType, UnitTab } from '../types'
4
- import { useWindowDimensions } from 'react-native'
5
- import { IS_MOBILE, TabOptionProps } from '@magmamath/react-native-ui'
6
- import { isKeyboardUnitsGroupType } from '../helpers'
3
+ import { TabOptionProps } from '@magmamath/react-native-ui'
4
+
5
+ import { KeyboardUnitsGroupType } from '../types'
7
6
 
8
7
  export const useUnitTabs = () => {
9
8
  const t = useText()
10
- const { width } = useWindowDimensions()
11
-
12
- const allTabs = useMemo<UnitTab[]>(
9
+ const tabs = useMemo(
13
10
  () => [
14
- { title: t('keyboard.length'), key: KeyboardUnitsGroupType.LENGTH },
15
- { title: t('keyboard.area'), key: KeyboardUnitsGroupType.AREA, minBreakpoint: 1005 },
16
- { title: t('keyboard.volume'), key: KeyboardUnitsGroupType.VOLUME, minBreakpoint: 1060 },
17
- { title: t('keyboard.weight'), key: KeyboardUnitsGroupType.WEIGHT, minBreakpoint: 1060 },
18
- { title: t('keyboard.time'), key: KeyboardUnitsGroupType.TIME, minBreakpoint: 1125 },
11
+ {
12
+ title: t('keyboard.length'),
13
+ key: KeyboardUnitsGroupType.LENGTH,
14
+ },
15
+ {
16
+ title: t('keyboard.area'),
17
+ key: KeyboardUnitsGroupType.AREA,
18
+ },
19
+ {
20
+ title: t('keyboard.volume'),
21
+ key: KeyboardUnitsGroupType.VOLUME,
22
+ },
23
+ {
24
+ title: t('keyboard.weight'),
25
+ key: KeyboardUnitsGroupType.WEIGHT,
26
+ },
19
27
  ],
20
28
  [t],
21
29
  )
22
-
23
- const tabs = useMemo(
24
- () =>
25
- allTabs.filter(
26
- (tab) => IS_MOBILE || tab.minBreakpoint === undefined || width >= tab.minBreakpoint,
27
- ),
28
- [allTabs, width],
29
- )
30
-
31
- const [activeKey, setActiveKey] = useState<KeyboardUnitsGroupType | undefined>(() => tabs[0]?.key)
32
-
33
- const activeTab = useMemo(() => {
34
- return tabs.find((t) => t?.key && t.key === activeKey) ?? tabs[0]
35
- }, [tabs, activeKey])
36
-
37
- return {
38
- tabs,
39
- activeTab,
40
- setActiveTab: (tab: TabOptionProps) => {
41
- if (isKeyboardUnitsGroupType(tab.key)) {
42
- setActiveKey(tab.key)
43
- }
44
- },
45
- }
30
+ const [activeTab, setActiveTab] = useState<TabOptionProps>(tabs[0])
31
+ return { tabs, activeTab, setActiveTab }
46
32
  }
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  MATH_AREA_UNITS,
3
3
  MATH_LENGTH_UNITS,
4
- MATH_TIME_UNITS,
5
4
  MATH_VOLUME_UNITS,
6
5
  MATH_WEIGHT_UNITS,
7
6
  } from '../../types/MathKeysGroups/units'
@@ -11,7 +10,6 @@ import { VolumeIcon } from '../../../../shared/icons/VolumeIcon'
11
10
  import { WeightIcon } from '../../../../shared/icons/WeightIcon'
12
11
  import { KeyboardUnitsGroupType, UnitKeyboardGroups } from './types'
13
12
  import { MathEntryKeyboardGroupId } from '../../types/keyboardGroupIds'
14
- import { TimeIcon } from '../../../../shared/icons/TimeIcon'
15
13
 
16
14
  export const MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS: UnitKeyboardGroups = {
17
15
  id: MathEntryKeyboardGroupId.LENGTH_UNITS_SW,
@@ -173,11 +171,6 @@ export const MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS: UnitKeyboardGroups = {
173
171
  ],
174
172
  }
175
173
 
176
- export const MATH_ENTRY_TIME_UNITS_SW_KEYBOARD_GROUPS: UnitKeyboardGroups = {
177
- id: MathEntryKeyboardGroupId.TIME_SW,
178
- keys: [[MATH_TIME_UNITS.S, MATH_TIME_UNITS.M, MATH_TIME_UNITS.H]],
179
- }
180
-
181
174
  export const MATH_ENTRY_WEIGHT_UNITS_US_KEYBOARD_GROUPS: UnitKeyboardGroups = {
182
175
  id: MathEntryKeyboardGroupId.WEIGHT_UNITS_US,
183
176
  keys: [
@@ -206,8 +199,4 @@ export const UNITS_KEYBOARD_GROUPS = new Map([
206
199
  KeyboardUnitsGroupType.WEIGHT,
207
200
  { keys: MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS.keys, icon: WeightIcon },
208
201
  ],
209
- [
210
- KeyboardUnitsGroupType.TIME,
211
- { keys: MATH_ENTRY_TIME_UNITS_SW_KEYBOARD_GROUPS.keys, icon: TimeIcon },
212
- ],
213
202
  ])
@@ -1,5 +1,4 @@
1
1
  import { KeyboardGroup, KeyboardKey } from '@magmamath/students-features'
2
- import { TabOptionProps } from '@magmamath/react-native-ui'
3
2
 
4
3
  export enum SelectedLayout {
5
4
  ALGEBRA = 'algebra',
@@ -11,14 +10,8 @@ export enum KeyboardUnitsGroupType {
11
10
  AREA = 'area',
12
11
  VOLUME = 'volume',
13
12
  WEIGHT = 'weight',
14
- TIME = 'time',
15
13
  }
16
14
 
17
15
  export type UnitKeyboardGroups = {
18
16
  keys: KeyboardKey[][]
19
17
  } & Omit<KeyboardGroup, 'keys'>
20
-
21
- export type UnitTab = Omit<TabOptionProps, 'key'> & {
22
- key: KeyboardUnitsGroupType
23
- minBreakpoint?: number
24
- }
@@ -1,5 +1,5 @@
1
1
  import { COLORS, SPACING } from '@magmamath/react-native-ui'
2
- import { KEYBOARD_LAYOUTS } from '../../constants/keyboardLayouts'
2
+ import { KEYBOARD_LAYOUTS } from '../constants/keyboardLayouts'
3
3
 
4
4
  export const KEYBOARD_SLIDE_DISTANCE = 600
5
5
 
@@ -1,6 +1,5 @@
1
1
  import { KeyboardGroup, KeyboardType } from '../types/types'
2
2
  import {
3
- MATH_CURRENCY_DE_KEYBOARD_GROUP,
4
3
  MATH_CURRENCY_SW_KEYBOARD_GROUP,
5
4
  MATH_CURRENCY_UK_KEYBOARD_GROUP,
6
5
  MATH_CURRENCY_US_KEYBOARD_GROUP,
@@ -31,7 +30,6 @@ import {
31
30
  MATH_ENTRY_AREA_UNITS_US_KEYBOARD_GROUPS,
32
31
  MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS,
33
32
  MATH_ENTRY_LENGTH_UNITS_US_KEYBOARD_GROUPS,
34
- MATH_ENTRY_TIME_UNITS_SW_KEYBOARD_GROUPS,
35
33
  MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS,
36
34
  MATH_ENTRY_VOLUME_UNITS_UK_KEYBOARD_GROUPS,
37
35
  MATH_ENTRY_VOLUME_UNITS_US_KEYBOARD_GROUPS,
@@ -71,7 +69,6 @@ function createKeyboardUnitsLocale(
71
69
  [KeyboardUnitsGroupType.AREA]: MATH_ENTRY_AREA_UNITS_US_KEYBOARD_GROUPS,
72
70
  [KeyboardUnitsGroupType.VOLUME]: MATH_ENTRY_VOLUME_UNITS_US_KEYBOARD_GROUPS,
73
71
  [KeyboardUnitsGroupType.WEIGHT]: MATH_ENTRY_WEIGHT_UNITS_US_KEYBOARD_GROUPS,
74
- [KeyboardUnitsGroupType.TIME]: MATH_ENTRY_TIME_UNITS_SW_KEYBOARD_GROUPS,
75
72
  }
76
73
  return { ...base, ...overrides }
77
74
  }
@@ -101,20 +98,6 @@ export const KEYBOARD_GROUPS_BY_LOCALE: Record<Locale, Record<KeyboardType, Keyb
101
98
  [KeyboardType.BasicTime]: MATH_TIME_SW_KEYBOARD_GROUP,
102
99
  [KeyboardType.Numpad]: MATH_ENTRY_NUMBERS_SW_KEYBOARD_GROUP,
103
100
  }),
104
- [Locale.DE]: createKeyboardLocale({
105
- [KeyboardType.Basic]: MATH_ENTRY_BASIC_SW_KEYBOARD_GROUP,
106
- [KeyboardType.BasicPlus]: MATH_ENTRY_BASIC_SW_PLUS,
107
- [KeyboardType.BasicPlusMobile]: MATH_ENTRY_BASIC_PLUS_MOBILE_SW,
108
- [KeyboardType.BasicPlusPlus]: MATH_ENTRY_BASIC_PLUS_PLUS_SW,
109
- [KeyboardType.BasicPlusPlusMobile]: MATH_ENTRY_BASIC_PLUS_PLUS_MOBILE_SW,
110
- [KeyboardType.BasicUnits]: {
111
- ...MATH_ENTRY_LENGTH_UNITS_US_KEYBOARD_GROUPS,
112
- keys: MATH_ENTRY_LENGTH_UNITS_US_KEYBOARD_GROUPS.keys[0],
113
- },
114
- [KeyboardType.BasicCurrency]: MATH_CURRENCY_DE_KEYBOARD_GROUP,
115
- [KeyboardType.BasicTime]: MATH_TIME_SW_KEYBOARD_GROUP,
116
- [KeyboardType.Numpad]: MATH_ENTRY_NUMBERS_SW_KEYBOARD_GROUP,
117
- }),
118
101
  }
119
102
  export const KEYBOARD_UNITS_GROUPS_BY_LOCALE: Record<
120
103
  Locale,
@@ -136,10 +119,4 @@ export const KEYBOARD_UNITS_GROUPS_BY_LOCALE: Record<
136
119
  [KeyboardUnitsGroupType.VOLUME]: MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS,
137
120
  [KeyboardUnitsGroupType.WEIGHT]: MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS,
138
121
  }),
139
- [Locale.DE]: createKeyboardUnitsLocale({
140
- [KeyboardUnitsGroupType.LENGTH]: MATH_ENTRY_LENGTH_UNITS_SW_KEYBOARD_GROUPS,
141
- [KeyboardUnitsGroupType.AREA]: MATH_ENTRY_AREA_UNITS_SW_KEYBOARD_GROUPS,
142
- [KeyboardUnitsGroupType.VOLUME]: MATH_ENTRY_VOLUME_UNITS_SW_KEYBOARD_GROUPS,
143
- [KeyboardUnitsGroupType.WEIGHT]: MATH_ENTRY_WEIGHT_UNITS_SW_KEYBOARD_GROUPS,
144
- }),
145
122
  }
@@ -32,7 +32,6 @@ export const KEYBOARD_LAYOUTS = {
32
32
  MyScriptMathCharacterTypes.NUMBERS_AND_MULTIPLICATION,
33
33
  MyScriptMathCharacterTypes.OPERATORS,
34
34
  MyScriptMathCharacterTypes.PERCENT,
35
- MyScriptMathCharacterTypes.NUMBERS_RATIONAL,
36
35
  ],
37
36
  },
38
37
  [KeyboardType.BasicTime]: {
@@ -55,6 +54,7 @@ export const KEYBOARD_LAYOUTS = {
55
54
  characterTypes: [
56
55
  MyScriptMathCharacterTypes.GEOM_ANGLES,
57
56
  MyScriptMathCharacterTypes.GEOM_COORDINATE,
57
+ MyScriptMathCharacterTypes.NUMBERS_RATIONAL,
58
58
  ],
59
59
  },
60
60
  }
@@ -71,14 +71,3 @@ export function getLayoutByCharType(charType?: number) {
71
71
  }
72
72
  return AlgebraLayout
73
73
  }
74
-
75
- export function isBasicPlusPlusLayout(charType?: number) {
76
- if (!charType) {
77
- return true
78
- }
79
-
80
- return (
81
- KEYBOARD_LAYOUTS[KeyboardType.BasicPlusPlus].characterTypes.includes(charType) ||
82
- KEYBOARD_LAYOUTS[KeyboardType.AlgebraAdvanced].characterTypes.includes(charType)
83
- )
84
- }
@@ -42,8 +42,9 @@ import { EqualsIcon } from '../../../../shared/icons/keyboard/EqualsIcon/EqualsI
42
42
  import { AbsoluteValueIcon } from '../../../../shared/icons/keyboard/AbsoluteValueIcon/AbsoluteValueIcon'
43
43
  import { IntervalIcon } from '../../../../shared/icons/keyboard/IntervalIcon/IntervalIcon'
44
44
  import { createMathKeysGroup } from './helpers'
45
- import { RoundBracketLeftIcon } from '../../../../shared/icons/keyboard/RoundBracketLeftIcon/RoundBracketLeftIcon'
46
- import { RoundBracketRightIcon } from '../../../../shared/icons/keyboard/RoundBracketRightIcon/RoundBracketRightIcon'
45
+ import { UnderlinedTenIcon } from '../../../../shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon'
46
+ import { UnderlinedOneIcon } from '../../../../shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon'
47
+ import { UnderlinedUIcon } from '../../../../shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon'
47
48
 
48
49
  export const MATH_BASIC_OPERATORS = createMathKeysGroup({
49
50
  ADDITION: {
@@ -97,7 +98,7 @@ export const MATH_BASIC_OPERATORS = createMathKeysGroup({
97
98
  },
98
99
  NOT_EQUAL: {
99
100
  icon: <NotEqualIcon {...DEFAULT_KEY_ICON_PROPS} />,
100
- mathliveValue: '',
101
+ mathliveValue: '\\neq',
101
102
  katexValue: '≠',
102
103
  },
103
104
  APPROXIMATELY_EQUAL: {
@@ -121,7 +122,7 @@ export const MATH_BASIC_OPERATORS = createMathKeysGroup({
121
122
  katexValue: ':',
122
123
  },
123
124
  C_DOT: {
124
- icon: <CDotIcon {...DEFAULT_KEY_ICON_PROPS} size={6} />,
125
+ icon: <CDotIcon {...DEFAULT_KEY_ICON_PROPS} />,
125
126
  mathliveValue: '\\cdot',
126
127
  katexValue: '⋅',
127
128
  },
@@ -253,16 +254,6 @@ export const MATH_BASIC_OPERATORS = createMathKeysGroup({
253
254
  mathliveValue: '$\\left(#@\\right)$',
254
255
  katexValue: '( )',
255
256
  },
256
- ROUND_BRACKET_RIGHT: {
257
- icon: <RoundBracketRightIcon {...DEFAULT_KEY_ICON_PROPS} />,
258
- mathliveValue: ')',
259
- katexValue: ')',
260
- },
261
- ROUND_BRACKET_LEFT: {
262
- icon: <RoundBracketLeftIcon {...DEFAULT_KEY_ICON_PROPS} />,
263
- mathliveValue: '(',
264
- katexValue: '(',
265
- },
266
257
  ORDERED_PAIR: {
267
258
  icon: <OrderedPairIcon {...DEFAULT_KEY_ICON_PROPS} size={20} extraColor={COLORS.NEUTRAL_6} />,
268
259
  mathliveValue: '$\\left(\\placeholder{},\\placeholder{}\\right)$',
@@ -275,7 +266,25 @@ export const MATH_BASIC_OPERATORS = createMathKeysGroup({
275
266
  },
276
267
  INTERVAL: {
277
268
  icon: <IntervalIcon {...DEFAULT_KEY_ICON_PROPS} />,
278
- mathliveValue: '$\\left[\\placeholder{},\\placeholder{}\\right]$',
269
+ mathliveValue: '$\\left[, \\right]$',
279
270
  katexValue: '[ , ]',
280
271
  },
272
+ UNDERLINED_TEN: {
273
+ icon: <UnderlinedTenIcon {...DEFAULT_KEY_ICON_PROPS} />,
274
+ mathliveValue: '\\underline{10}',
275
+ katexValue: '10̲',
276
+ spreadsheetValue: 'TEN',
277
+ },
278
+ UNDERLINED_ONE: {
279
+ icon: <UnderlinedOneIcon {...DEFAULT_KEY_ICON_PROPS} />,
280
+ mathliveValue: '\\underline{1}',
281
+ katexValue: '1̲',
282
+ spreadsheetValue: 'ONE_FOOT_NOTE',
283
+ },
284
+ UNDERLINED_U: {
285
+ icon: <UnderlinedUIcon {...DEFAULT_KEY_ICON_PROPS} />,
286
+ mathliveValue: '\\underline{u}',
287
+ katexValue: 'U̲',
288
+ spreadsheetValue: 'FRACTION',
289
+ },
281
290
  })
@@ -2,9 +2,6 @@ import React from 'react'
2
2
  import { DEFAULT_KEY_ICON_PROPS } from '../../constants/constants'
3
3
  import { BackspaceIcon } from '../../../../shared/icons/keyboard/BackspaceIcon/BackspaceIcon'
4
4
  import { createMathKeysGroup } from './helpers'
5
- import { UnderlinedTenIcon } from '../../../../shared/icons/keyboard/UnderlinedTenIcon/UnderlinedTenIcon'
6
- import { UnderlinedOneIcon } from '../../../../shared/icons/keyboard/UnderlinedOneIcon/UnderlinedOneIcon'
7
- import { UnderlinedUIcon } from '../../../../shared/icons/keyboard/UnderlinedUIcon/UnderlinedUIcon'
8
5
 
9
6
  export const MATH_SPECIAL_OPERATORS = createMathKeysGroup({
10
7
  LIM: {
@@ -52,22 +49,4 @@ export const MATH_SPECIAL_OPERATORS = createMathKeysGroup({
52
49
  mathliveValue: 'backspace',
53
50
  katexValue: 'backspace',
54
51
  },
55
- UNDERLINED_TEN: {
56
- icon: <UnderlinedTenIcon {...DEFAULT_KEY_ICON_PROPS} />,
57
- mathliveValue: '\\underline{10}',
58
- katexValue: '10̲',
59
- spreadsheetValue: 'TEN',
60
- },
61
- UNDERLINED_ONE: {
62
- icon: <UnderlinedOneIcon {...DEFAULT_KEY_ICON_PROPS} />,
63
- mathliveValue: '\\underline{1}',
64
- katexValue: '1̲',
65
- spreadsheetValue: 'ONE_FOOT_NOTE',
66
- },
67
- UNDERLINED_U: {
68
- icon: <UnderlinedUIcon {...DEFAULT_KEY_ICON_PROPS} />,
69
- mathliveValue: '\\underline{u}',
70
- katexValue: 'U̲',
71
- spreadsheetValue: 'FRACTION',
72
- },
73
52
  })
@@ -427,19 +427,16 @@ export const MATH_TIME_UNITS = createMathKeysGroup({
427
427
  label: 's',
428
428
  mathliveValue: '\\mathrm{s}',
429
429
  katexValue: 's',
430
- style: STYLE_PRESETS.LARGE,
431
430
  },
432
431
  M: {
433
432
  label: 'min',
434
433
  mathliveValue: '$\\mathrm{min}',
435
434
  katexValue: 'min',
436
- style: STYLE_PRESETS.LARGE,
437
435
  },
438
436
  H: {
439
437
  label: 'h',
440
438
  mathliveValue: '\\mathrm{h}',
441
439
  katexValue: 'h',
442
- style: STYLE_PRESETS.LARGE,
443
440
  },
444
441
  DAY: {
445
442
  label: 'day',
@@ -27,6 +27,5 @@ export enum MathEntryKeyboardGroupId {
27
27
  CURRENCY_SW = 'math-entry-currency-sw',
28
28
  CURRENCY_UK = 'math-entry-currency-uk',
29
29
  CURRENCY_US = 'math-entry-currency-us',
30
- CURRENCY_DE = 'math-entry-currency-de',
31
30
  UNDERLINED = 'math-entry-underlined',
32
31
  }
@@ -27,27 +27,12 @@ export const getRelativeTimeText = (date: Date) => {
27
27
  const years = getYears(days)
28
28
 
29
29
  if (seconds < 60) return getText('time.justNow')
30
-
31
- if (minutes < 60) {
32
- if (minutes === 1) return `1 ${getText('time.minuteAgo')}`
33
- return getText('time.minutesAgo', { count: minutes.toString() })
34
- }
35
-
36
- if (hours < 24) {
37
- if (hours === 1) return `1 ${getText('time.hourAgo')}`
38
- return getText('time.hoursAgo', { count: hours.toString() })
39
- }
40
-
41
- if (days < 30) {
42
- if (days === 1) return `1 ${getText('time.dayAgo')}`
43
- return getText('time.daysAgo', { count: days.toString() })
44
- }
45
-
46
- if (months < 12) {
47
- if (months === 1) return `1 ${getText('time.monthAgo')}`
48
- return getText('time.monthsAgo', { count: months.toString() })
49
- }
50
-
51
- if (years === 1) return `1 ${getText('time.yearAgo')}`
52
- return getText('time.yearsAgo', { count: years.toString() })
30
+ if (minutes < 60)
31
+ return `${minutes} ${minutes === 1 ? getText('time.minuteAgo') : getText('time.minutesAgo')}`
32
+ if (hours < 24)
33
+ return `${hours} ${hours === 1 ? getText('time.hourAgo') : getText('time.hoursAgo')}`
34
+ if (days < 30) return `${days} ${days === 1 ? getText('time.dayAgo') : getText('time.daysAgo')}`
35
+ if (months < 12)
36
+ return `${months} ${months === 1 ? getText('time.monthAgo') : getText('time.monthsAgo')}`
37
+ return `${years} ${years === 1 ? getText('time.yearAgo') : getText('time.yearsAgo')}`
53
38
  }
@@ -4,8 +4,8 @@ import Svg, { Circle } from 'react-native-svg'
4
4
 
5
5
  export const CDotIcon = ({ size = 20, color }: IconProps) => {
6
6
  return (
7
- <Svg width={size} height={size} viewBox="0 0 6 6" fill="none">
8
- <Circle cx="3.00001" cy="3.00001" r="3.00001" fill={color} />
7
+ <Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
8
+ <Circle cx="8.00001" cy="8.00001" r="2.00001" fill={color} />
9
9
  </Svg>
10
10
  )
11
11
  }
@@ -4,7 +4,6 @@ import GB from './localization/gb.json'
4
4
  import SW from './localization/sw.json'
5
5
  import CA from './localization/ca.json'
6
6
  import SCT from './localization/sct.json'
7
- import DE from './localization/de.json'
8
7
 
9
8
  export const LOCALIZATION_CONFIGS = {
10
9
  [Locale.EN]: EN,
@@ -12,5 +11,4 @@ export const LOCALIZATION_CONFIGS = {
12
11
  [Locale.SW]: SW,
13
12
  [Locale.CA]: CA,
14
13
  [Locale.SCT]: SCT,
15
- [Locale.DE]: DE,
16
14
  }
@@ -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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
14
+ "time.yearsAgo": "years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,7 +37,6 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight",
41
- "time": "Time"
40
+ "weight": "Weight"
42
41
  }
43
42
  }
@@ -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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
14
+ "time.yearsAgo": "years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,7 +37,6 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight",
41
- "time": "Time"
40
+ "weight": "Weight"
42
41
  }
43
42
  }
@@ -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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
14
+ "time.yearsAgo": "years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,7 +37,6 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight",
41
- "time": "Time"
40
+ "weight": "Weight"
42
41
  }
43
42
  }
@@ -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": "{{count}} minutes ago",
6
+ "time.minutesAgo": "minutes ago",
7
7
  "time.hourAgo": "hour ago",
8
- "time.hoursAgo": "{{count}} hours ago",
8
+ "time.hoursAgo": "hours ago",
9
9
  "time.dayAgo": "day ago",
10
- "time.daysAgo": "{{count}} days ago",
10
+ "time.daysAgo": "days ago",
11
11
  "time.monthAgo": "month ago",
12
- "time.monthsAgo": "{{count}} months ago",
12
+ "time.monthsAgo": "months ago",
13
13
  "time.yearAgo": "year ago",
14
- "time.yearsAgo": "{{count}} years ago",
14
+ "time.yearsAgo": "years ago",
15
15
  "chat": {
16
16
  "anotherHint": "Give me another hint",
17
17
  "giveHint": "I need a hint",
@@ -37,7 +37,6 @@
37
37
  "length": "Length",
38
38
  "area": "Area",
39
39
  "volume": "Volume",
40
- "weight": "Weight",
41
- "time": "Time"
40
+ "weight": "Weight"
42
41
  }
43
42
  }