@magmamath/students-features 1.3.2-rc.5 → 1.3.3-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (313) hide show
  1. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js +1 -2
  2. package/dist/commonjs/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js +4 -2
  4. package/dist/commonjs/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  5. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +2 -3
  6. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  7. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js +4 -8
  8. package/dist/commonjs/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  9. package/dist/commonjs/features/keyboard/constants/groups/index.js +0 -11
  10. package/dist/commonjs/features/keyboard/constants/groups/index.js.map +1 -1
  11. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js +0 -2
  12. package/dist/commonjs/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  13. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js +2 -8
  14. package/dist/commonjs/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  15. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js +1 -86
  16. package/dist/commonjs/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  17. package/dist/commonjs/features/keyboard/constants/keys/text.constants.js +9 -9
  18. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js +1 -2
  19. package/dist/commonjs/features/keyboard/constants/keys/units.constants.js.map +1 -1
  20. package/dist/commonjs/features/keyboard/types/types.js +0 -1
  21. package/dist/commonjs/features/keyboard/types/types.js.map +1 -1
  22. package/dist/commonjs/index.js +23 -38
  23. package/dist/commonjs/index.js.map +1 -1
  24. package/dist/commonjs/locales/schema.json +1 -0
  25. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js +3 -4
  26. package/dist/commonjs/shared/icons/keyboard/AngleIcon.js.map +1 -1
  27. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js +8 -12
  28. package/dist/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  29. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js +6 -11
  30. package/dist/commonjs/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  31. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js +8 -12
  32. package/dist/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  33. package/dist/commonjs/shared/translation/constants.js +2 -17
  34. package/dist/commonjs/shared/translation/constants.js.map +1 -1
  35. package/dist/commonjs/shared/translation/helpers.js +8 -38
  36. package/dist/commonjs/shared/translation/helpers.js.map +1 -1
  37. package/dist/commonjs/shared/translation/hooks.js +7 -15
  38. package/dist/commonjs/shared/translation/hooks.js.map +1 -1
  39. package/dist/commonjs/shared/translation/index.js +0 -25
  40. package/dist/commonjs/shared/translation/index.js.map +1 -1
  41. package/dist/commonjs/shared/translation/types.js +0 -4
  42. package/dist/module/features/chatbot/model/ChatBoxTextManager.js +1 -2
  43. package/dist/module/features/chatbot/model/ChatBoxTextManager.js.map +1 -1
  44. package/dist/module/features/chatbot/model/DefaultMessageCreator.js +3 -2
  45. package/dist/module/features/chatbot/model/DefaultMessageCreator.js.map +1 -1
  46. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +3 -4
  47. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  48. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js +5 -9
  49. package/dist/module/features/exampleSolution/model/ExampleSolutionApi.js.map +1 -1
  50. package/dist/module/features/keyboard/constants/groups/index.js +0 -1
  51. package/dist/module/features/keyboard/constants/groups/index.js.map +1 -1
  52. package/dist/module/features/keyboard/constants/keyboard.helpers.js +1 -3
  53. package/dist/module/features/keyboard/constants/keyboard.helpers.js.map +1 -1
  54. package/dist/module/features/keyboard/constants/keyboardLayouts.js +2 -8
  55. package/dist/module/features/keyboard/constants/keyboardLayouts.js.map +1 -1
  56. package/dist/module/features/keyboard/constants/keys/geometry.constants.js +1 -86
  57. package/dist/module/features/keyboard/constants/keys/geometry.constants.js.map +1 -1
  58. package/dist/module/features/keyboard/constants/keys/text.constants.js +9 -9
  59. package/dist/module/features/keyboard/constants/keys/units.constants.js +1 -2
  60. package/dist/module/features/keyboard/constants/keys/units.constants.js.map +1 -1
  61. package/dist/module/features/keyboard/types/types.js +0 -1
  62. package/dist/module/features/keyboard/types/types.js.map +1 -1
  63. package/dist/module/index.js +0 -1
  64. package/dist/module/index.js.map +1 -1
  65. package/dist/module/locales/schema.json +1 -0
  66. package/dist/module/shared/icons/keyboard/AngleIcon.js +3 -4
  67. package/dist/module/shared/icons/keyboard/AngleIcon.js.map +1 -1
  68. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js +9 -13
  69. package/dist/module/shared/icons/keyboard/BidirectionalSegmentIcon.js.map +1 -1
  70. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js +7 -12
  71. package/dist/module/shared/icons/keyboard/LineSegmentIcon.js.map +1 -1
  72. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js +9 -13
  73. package/dist/module/shared/icons/keyboard/RightDirectedSegmentIcon.js.map +1 -1
  74. package/dist/module/shared/translation/constants.js +1 -15
  75. package/dist/module/shared/translation/constants.js.map +1 -1
  76. package/dist/module/shared/translation/helpers.js +6 -33
  77. package/dist/module/shared/translation/helpers.js.map +1 -1
  78. package/dist/module/shared/translation/hooks.js +7 -14
  79. package/dist/module/shared/translation/hooks.js.map +1 -1
  80. package/dist/module/shared/translation/index.js +2 -3
  81. package/dist/module/shared/translation/index.js.map +1 -1
  82. package/dist/module/shared/translation/types.js +0 -2
  83. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts +1 -2
  84. package/dist/typescript/commonjs/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  85. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
  86. package/dist/typescript/commonjs/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  87. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  88. package/dist/typescript/commonjs/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  89. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts +0 -1
  90. package/dist/typescript/commonjs/features/keyboard/constants/groups/index.d.ts.map +1 -1
  91. package/dist/typescript/commonjs/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  92. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
  93. package/dist/typescript/commonjs/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  94. package/dist/typescript/commonjs/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  95. package/dist/typescript/commonjs/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  96. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts +0 -1
  97. package/dist/typescript/commonjs/features/keyboard/types/types.d.ts.map +1 -1
  98. package/dist/typescript/commonjs/index.d.ts +0 -1
  99. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  100. package/dist/typescript/commonjs/lib/components/ConditionalWrapper.d.ts +1 -1
  101. package/dist/typescript/commonjs/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  102. package/dist/typescript/commonjs/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  103. package/dist/typescript/commonjs/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  104. package/dist/typescript/commonjs/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  105. package/dist/typescript/commonjs/shared/translation/constants.d.ts +1 -368
  106. package/dist/typescript/commonjs/shared/translation/constants.d.ts.map +1 -1
  107. package/dist/typescript/commonjs/shared/translation/helpers.d.ts +1 -5
  108. package/dist/typescript/commonjs/shared/translation/helpers.d.ts.map +1 -1
  109. package/dist/typescript/commonjs/shared/translation/hooks.d.ts +1 -3
  110. package/dist/typescript/commonjs/shared/translation/hooks.d.ts.map +1 -1
  111. package/dist/typescript/commonjs/shared/translation/index.d.ts +3 -3
  112. package/dist/typescript/commonjs/shared/translation/index.d.ts.map +1 -1
  113. package/dist/typescript/commonjs/shared/translation/types.d.ts +1 -4
  114. package/dist/typescript/commonjs/shared/translation/types.d.ts.map +1 -1
  115. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts +1 -2
  116. package/dist/typescript/module/features/chatbot/model/ChatBoxTextManager.d.ts.map +1 -1
  117. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts +1 -2
  118. package/dist/typescript/module/features/chatbot/model/DefaultMessageCreator.d.ts.map +1 -1
  119. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  120. package/dist/typescript/module/features/exampleSolution/model/ExampleSolutionApi.d.ts.map +1 -1
  121. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts +0 -1
  122. package/dist/typescript/module/features/keyboard/constants/groups/index.d.ts.map +1 -1
  123. package/dist/typescript/module/features/keyboard/constants/keyboard.helpers.d.ts.map +1 -1
  124. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts +0 -5
  125. package/dist/typescript/module/features/keyboard/constants/keyboardLayouts.d.ts.map +1 -1
  126. package/dist/typescript/module/features/keyboard/constants/keys/geometry.constants.d.ts.map +1 -1
  127. package/dist/typescript/module/features/keyboard/constants/keys/units.constants.d.ts.map +1 -1
  128. package/dist/typescript/module/features/keyboard/types/types.d.ts +0 -1
  129. package/dist/typescript/module/features/keyboard/types/types.d.ts.map +1 -1
  130. package/dist/typescript/module/index.d.ts +0 -1
  131. package/dist/typescript/module/index.d.ts.map +1 -1
  132. package/dist/typescript/module/lib/components/ConditionalWrapper.d.ts +1 -1
  133. package/dist/typescript/module/shared/icons/keyboard/AngleIcon.d.ts.map +1 -1
  134. package/dist/typescript/module/shared/icons/keyboard/BidirectionalSegmentIcon.d.ts.map +1 -1
  135. package/dist/typescript/module/shared/icons/keyboard/LineSegmentIcon.d.ts.map +1 -1
  136. package/dist/typescript/module/shared/icons/keyboard/RightDirectedSegmentIcon.d.ts.map +1 -1
  137. package/dist/typescript/module/shared/translation/constants.d.ts +1 -368
  138. package/dist/typescript/module/shared/translation/constants.d.ts.map +1 -1
  139. package/dist/typescript/module/shared/translation/helpers.d.ts +1 -5
  140. package/dist/typescript/module/shared/translation/helpers.d.ts.map +1 -1
  141. package/dist/typescript/module/shared/translation/hooks.d.ts +1 -3
  142. package/dist/typescript/module/shared/translation/hooks.d.ts.map +1 -1
  143. package/dist/typescript/module/shared/translation/index.d.ts +3 -3
  144. package/dist/typescript/module/shared/translation/index.d.ts.map +1 -1
  145. package/dist/typescript/module/shared/translation/types.d.ts +1 -4
  146. package/dist/typescript/module/shared/translation/types.d.ts.map +1 -1
  147. package/package.json +18 -13
  148. package/src/features/chatbot/model/ChatBoxTextManager.ts +3 -5
  149. package/src/features/chatbot/model/DefaultMessageCreator.ts +3 -3
  150. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +3 -4
  151. package/src/features/exampleSolution/model/ExampleSolutionApi.ts +5 -9
  152. package/src/features/keyboard/constants/groups/index.ts +0 -1
  153. package/src/features/keyboard/constants/keyboard.helpers.ts +0 -3
  154. package/src/features/keyboard/constants/keyboardLayouts.ts +2 -8
  155. package/src/features/keyboard/constants/keys/geometry.constants.tsx +1 -61
  156. package/src/features/keyboard/constants/keys/text.constants.tsx +9 -9
  157. package/src/features/keyboard/constants/keys/units.constants.tsx +0 -1
  158. package/src/features/keyboard/types/types.ts +0 -1
  159. package/src/index.ts +0 -1
  160. package/src/locales/schema.json +1 -0
  161. package/src/shared/icons/keyboard/AngleIcon.tsx +2 -4
  162. package/src/shared/icons/keyboard/BidirectionalSegmentIcon.tsx +8 -5
  163. package/src/shared/icons/keyboard/LineSegmentIcon.tsx +7 -6
  164. package/src/shared/icons/keyboard/RightDirectedSegmentIcon.tsx +8 -5
  165. package/src/shared/translation/constants.ts +1 -16
  166. package/src/shared/translation/helpers.ts +5 -45
  167. package/src/shared/translation/hooks.ts +6 -22
  168. package/src/shared/translation/index.ts +3 -3
  169. package/src/shared/translation/types.ts +1 -20
  170. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -85
  171. package/dist/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
  172. package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js +0 -41
  173. package/dist/commonjs/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
  174. package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js +0 -12
  175. package/dist/commonjs/features/keyboard/components/GeometryLayout/types.js.map +0 -1
  176. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js +0 -11
  177. package/dist/commonjs/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
  178. package/dist/commonjs/lib/types/keys.js +0 -2
  179. package/dist/commonjs/lib/types/keys.js.map +0 -1
  180. package/dist/commonjs/shared/icons/GeometryIcon.js +0 -32
  181. package/dist/commonjs/shared/icons/GeometryIcon.js.map +0 -1
  182. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js +0 -30
  183. package/dist/commonjs/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
  184. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js +0 -29
  185. package/dist/commonjs/shared/icons/keyboard/LetterAIcon.js.map +0 -1
  186. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js +0 -29
  187. package/dist/commonjs/shared/icons/keyboard/LetterBIcon.js.map +0 -1
  188. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js +0 -29
  189. package/dist/commonjs/shared/icons/keyboard/LetterCIcon.js.map +0 -1
  190. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js +0 -42
  191. package/dist/commonjs/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
  192. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js +0 -32
  193. package/dist/commonjs/shared/icons/keyboard/TriangleIcon.js.map +0 -1
  194. package/dist/commonjs/shared/translation/localization/ca.json +0 -61
  195. package/dist/commonjs/shared/translation/localization/de.json +0 -61
  196. package/dist/commonjs/shared/translation/localization/en.json +0 -61
  197. package/dist/commonjs/shared/translation/localization/gb.json +0 -61
  198. package/dist/commonjs/shared/translation/localization/sct.json +0 -61
  199. package/dist/commonjs/shared/translation/localization/sw.json +0 -61
  200. package/dist/commonjs/shared/translation/model.js +0 -15
  201. package/dist/commonjs/shared/translation/model.js.map +0 -1
  202. package/dist/commonjs/shared/translation/validation.types.js +0 -6
  203. package/dist/commonjs/shared/translation/validation.types.js.map +0 -1
  204. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js +0 -78
  205. package/dist/module/features/keyboard/components/GeometryLayout/GeometryLayout.js.map +0 -1
  206. package/dist/module/features/keyboard/components/GeometryLayout/helpers.js +0 -36
  207. package/dist/module/features/keyboard/components/GeometryLayout/helpers.js.map +0 -1
  208. package/dist/module/features/keyboard/components/GeometryLayout/types.js +0 -8
  209. package/dist/module/features/keyboard/components/GeometryLayout/types.js.map +0 -1
  210. package/dist/module/features/keyboard/constants/groups/geometry.constants.js +0 -7
  211. package/dist/module/features/keyboard/constants/groups/geometry.constants.js.map +0 -1
  212. package/dist/module/lib/types/keys.js +0 -2
  213. package/dist/module/lib/types/keys.js.map +0 -1
  214. package/dist/module/shared/icons/GeometryIcon.js +0 -24
  215. package/dist/module/shared/icons/GeometryIcon.js.map +0 -1
  216. package/dist/module/shared/icons/keyboard/ImpliesIcon.js +0 -22
  217. package/dist/module/shared/icons/keyboard/ImpliesIcon.js.map +0 -1
  218. package/dist/module/shared/icons/keyboard/LetterAIcon.js +0 -21
  219. package/dist/module/shared/icons/keyboard/LetterAIcon.js.map +0 -1
  220. package/dist/module/shared/icons/keyboard/LetterBIcon.js +0 -21
  221. package/dist/module/shared/icons/keyboard/LetterBIcon.js.map +0 -1
  222. package/dist/module/shared/icons/keyboard/LetterCIcon.js +0 -21
  223. package/dist/module/shared/icons/keyboard/LetterCIcon.js.map +0 -1
  224. package/dist/module/shared/icons/keyboard/ThereforeIcon.js +0 -34
  225. package/dist/module/shared/icons/keyboard/ThereforeIcon.js.map +0 -1
  226. package/dist/module/shared/icons/keyboard/TriangleIcon.js +0 -24
  227. package/dist/module/shared/icons/keyboard/TriangleIcon.js.map +0 -1
  228. package/dist/module/shared/translation/localization/ca.json +0 -61
  229. package/dist/module/shared/translation/localization/de.json +0 -61
  230. package/dist/module/shared/translation/localization/en.json +0 -61
  231. package/dist/module/shared/translation/localization/gb.json +0 -61
  232. package/dist/module/shared/translation/localization/sct.json +0 -61
  233. package/dist/module/shared/translation/localization/sw.json +0 -61
  234. package/dist/module/shared/translation/model.js +0 -11
  235. package/dist/module/shared/translation/model.js.map +0 -1
  236. package/dist/module/shared/translation/validation.types.js +0 -4
  237. package/dist/module/shared/translation/validation.types.js.map +0 -1
  238. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
  239. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
  240. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
  241. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
  242. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
  243. package/dist/typescript/commonjs/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
  244. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
  245. package/dist/typescript/commonjs/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
  246. package/dist/typescript/commonjs/lib/types/keys.d.ts +0 -8
  247. package/dist/typescript/commonjs/lib/types/keys.d.ts.map +0 -1
  248. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts +0 -4
  249. package/dist/typescript/commonjs/shared/icons/GeometryIcon.d.ts.map +0 -1
  250. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
  251. package/dist/typescript/commonjs/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
  252. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
  253. package/dist/typescript/commonjs/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
  254. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
  255. package/dist/typescript/commonjs/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
  256. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
  257. package/dist/typescript/commonjs/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
  258. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
  259. package/dist/typescript/commonjs/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
  260. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
  261. package/dist/typescript/commonjs/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
  262. package/dist/typescript/commonjs/shared/translation/model.d.ts +0 -125
  263. package/dist/typescript/commonjs/shared/translation/model.d.ts.map +0 -1
  264. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts +0 -21
  265. package/dist/typescript/commonjs/shared/translation/validation.types.d.ts.map +0 -1
  266. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts +0 -4
  267. package/dist/typescript/module/features/keyboard/components/GeometryLayout/GeometryLayout.d.ts.map +0 -1
  268. package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts +0 -14
  269. package/dist/typescript/module/features/keyboard/components/GeometryLayout/helpers.d.ts.map +0 -1
  270. package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts +0 -5
  271. package/dist/typescript/module/features/keyboard/components/GeometryLayout/types.d.ts.map +0 -1
  272. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts +0 -3
  273. package/dist/typescript/module/features/keyboard/constants/groups/geometry.constants.d.ts.map +0 -1
  274. package/dist/typescript/module/lib/types/keys.d.ts +0 -8
  275. package/dist/typescript/module/lib/types/keys.d.ts.map +0 -1
  276. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts +0 -4
  277. package/dist/typescript/module/shared/icons/GeometryIcon.d.ts.map +0 -1
  278. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts +0 -4
  279. package/dist/typescript/module/shared/icons/keyboard/ImpliesIcon.d.ts.map +0 -1
  280. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts +0 -4
  281. package/dist/typescript/module/shared/icons/keyboard/LetterAIcon.d.ts.map +0 -1
  282. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts +0 -4
  283. package/dist/typescript/module/shared/icons/keyboard/LetterBIcon.d.ts.map +0 -1
  284. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts +0 -4
  285. package/dist/typescript/module/shared/icons/keyboard/LetterCIcon.d.ts.map +0 -1
  286. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts +0 -4
  287. package/dist/typescript/module/shared/icons/keyboard/ThereforeIcon.d.ts.map +0 -1
  288. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts +0 -4
  289. package/dist/typescript/module/shared/icons/keyboard/TriangleIcon.d.ts.map +0 -1
  290. package/dist/typescript/module/shared/translation/model.d.ts +0 -125
  291. package/dist/typescript/module/shared/translation/model.d.ts.map +0 -1
  292. package/dist/typescript/module/shared/translation/validation.types.d.ts +0 -21
  293. package/dist/typescript/module/shared/translation/validation.types.d.ts.map +0 -1
  294. package/src/features/keyboard/components/GeometryLayout/GeometryLayout.tsx +0 -82
  295. package/src/features/keyboard/components/GeometryLayout/helpers.tsx +0 -46
  296. package/src/features/keyboard/components/GeometryLayout/types.ts +0 -4
  297. package/src/features/keyboard/constants/groups/geometry.constants.ts +0 -25
  298. package/src/lib/types/keys.ts +0 -18
  299. package/src/shared/icons/GeometryIcon.tsx +0 -18
  300. package/src/shared/icons/keyboard/ImpliesIcon.tsx +0 -16
  301. package/src/shared/icons/keyboard/LetterAIcon.tsx +0 -14
  302. package/src/shared/icons/keyboard/LetterBIcon.tsx +0 -14
  303. package/src/shared/icons/keyboard/LetterCIcon.tsx +0 -14
  304. package/src/shared/icons/keyboard/ThereforeIcon.tsx +0 -15
  305. package/src/shared/icons/keyboard/TriangleIcon.tsx +0 -18
  306. package/src/shared/translation/localization/ca.json +0 -61
  307. package/src/shared/translation/localization/de.json +0 -61
  308. package/src/shared/translation/localization/en.json +0 -61
  309. package/src/shared/translation/localization/gb.json +0 -61
  310. package/src/shared/translation/localization/sct.json +0 -61
  311. package/src/shared/translation/localization/sw.json +0 -61
  312. package/src/shared/translation/model.ts +0 -16
  313. package/src/shared/translation/validation.types.ts +0 -34
@@ -5,7 +5,6 @@ import { TimeBasicLayout } from '../components/BasicLayout/TimeBasicLayout'
5
5
  import { CurrencyBasicLayout } from '../components/BasicLayout/CurrencyBasicLayout'
6
6
  import { UnitsLayout } from '../components/UnitsLayout/UnitsLayout'
7
7
  import { BasicPlusPlusLayout } from '../components/BasicPlusPlusLayout/BasicPlusPlusLayout'
8
- import { GeometryLayout } from '../components/GeometryLayout/GeometryLayout'
9
8
  import { MyScriptMathCharacterTypes } from '../../../types/characterTypes'
10
9
  import { MOBILE_LAYOUT_WIDTH } from './keyboard.constants'
11
10
  import { KeyboardType } from '../types/types'
@@ -56,16 +55,11 @@ export const KEYBOARD_LAYOUTS = {
56
55
  },
57
56
  [KeyboardType.BasicPlusPlus]: {
58
57
  Component: BasicPlusPlusLayout,
59
- characterTypes: [] as MyScriptMathCharacterTypes[],
60
- mobileBreakpoint: 1220,
61
- },
62
- [KeyboardType.Geometry]: {
63
- Component: GeometryLayout,
64
58
  characterTypes: [
65
59
  MyScriptMathCharacterTypes.GEOM_ANGLES,
66
60
  MyScriptMathCharacterTypes.GEOM_COORDINATE,
67
61
  ],
68
- mobileBreakpoint: 1300,
62
+ mobileBreakpoint: 1220,
69
63
  },
70
64
  }
71
65
 
@@ -101,7 +95,7 @@ export function isBasicPlusPlusLayout(charType?: number) {
101
95
  }
102
96
 
103
97
  return (
104
- KEYBOARD_LAYOUTS[KeyboardType.Geometry].characterTypes.includes(charType) ||
98
+ KEYBOARD_LAYOUTS[KeyboardType.BasicPlusPlus].characterTypes.includes(charType) ||
105
99
  KEYBOARD_LAYOUTS[KeyboardType.AlgebraAdvanced].characterTypes.includes(charType)
106
100
  )
107
101
  }
@@ -5,15 +5,6 @@ import { DegreeIcon } from '../../../../shared/icons/keyboard/DegreeIcon'
5
5
  import { AngleIcon } from '../../../../shared/icons/keyboard/AngleIcon'
6
6
  import { ParallelIcon } from '../../../../shared/icons/keyboard/ParallelIcon'
7
7
  import { PerpendicularIcon } from '../../../../shared/icons/keyboard/PerpendicularIcon'
8
- import { TriangleIcon } from '../../../../shared/icons/keyboard/TriangleIcon'
9
- import { ThereforeIcon } from '../../../../shared/icons/keyboard/ThereforeIcon'
10
- import { ImpliesIcon } from '../../../../shared/icons/keyboard/ImpliesIcon'
11
- import { LineSegmentIcon } from '../../../../shared/icons/keyboard/LineSegmentIcon'
12
- import { RightDirectedSegmentIcon } from '../../../../shared/icons/keyboard/RightDirectedSegmentIcon'
13
- import { BidirectionalSegmentIcon } from '../../../../shared/icons/keyboard/BidirectionalSegmentIcon'
14
- import { LetterAIcon } from '../../../../shared/icons/keyboard/LetterAIcon'
15
- import { LetterBIcon } from '../../../../shared/icons/keyboard/LetterBIcon'
16
- import { LetterCIcon } from '../../../../shared/icons/keyboard/LetterCIcon'
17
8
  import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
18
9
 
19
10
  export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
@@ -23,7 +14,7 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
23
14
  katexValue: '°',
24
15
  },
25
16
  ANGLE: {
26
- icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
17
+ icon: <AngleIcon {...DEFAULT_KEY_ICON_PROPS} />,
27
18
  mathliveValue: '\\angle',
28
19
  katexValue: '∠',
29
20
  },
@@ -54,55 +45,4 @@ export const MATH_GEOMETRY_SYMBOLS: MathOperatorsGroup = {
54
45
  },
55
46
  },
56
47
  },
57
- TRIANGLE: {
58
- icon: <TriangleIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
59
- mathliveValue: '\\triangle',
60
- katexValue: '△',
61
- },
62
- THEREFORE: {
63
- icon: <ThereforeIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
64
- mathliveValue: '\\therefore',
65
- katexValue: '∴',
66
- },
67
- IMPLIES: {
68
- icon: <ImpliesIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
69
- mathliveValue: '\\Rightarrow',
70
- katexValue: '⇒',
71
- },
72
- LINE_SEGMENT: {
73
- icon: <LineSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
74
- mathliveValue: '\\overline{\\placeholder{}}',
75
- katexValue: 'LINE_SEGMENT',
76
- spreadsheetValue: 'LINE_SEGMENT',
77
- isSpecialSymbol: true,
78
- },
79
- RIGHT_DIRECTED_SEGMENT: {
80
- icon: <RightDirectedSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
81
- mathliveValue: '\\overrightarrow{\\placeholder{}}',
82
- katexValue: 'RIGHT_DIRECTED_SEGMENT',
83
- spreadsheetValue: 'RIGHT_DIRECTED_SEGMENT',
84
- isSpecialSymbol: true,
85
- },
86
- BIDIRECTIONAL_SEGMENT: {
87
- icon: <BidirectionalSegmentIcon {...DEFAULT_KEY_ICON_PROPS} size={20} />,
88
- mathliveValue: '\\overleftrightarrow{\\placeholder{}}',
89
- katexValue: 'BIDIRECTIONAL_SEGMENT',
90
- spreadsheetValue: 'BIDIRECTIONAL_SEGMENT',
91
- isSpecialSymbol: true,
92
- },
93
- A: {
94
- icon: <LetterAIcon {...DEFAULT_KEY_ICON_PROPS} />,
95
- mathliveValue: '𝐴',
96
- katexValue: 'A',
97
- },
98
- B: {
99
- icon: <LetterBIcon {...DEFAULT_KEY_ICON_PROPS} />,
100
- mathliveValue: '𝐵',
101
- katexValue: 'B',
102
- },
103
- C: {
104
- icon: <LetterCIcon {...DEFAULT_KEY_ICON_PROPS} />,
105
- mathliveValue: '𝐶',
106
- katexValue: 'C',
107
- },
108
48
  } as const
@@ -7,19 +7,19 @@ import { DEFAULT_KEY_ICON_PROPS } from '../keyboard.constants'
7
7
 
8
8
  export const MATH_TEXT_SYMBOLS: MathOperatorsGroup = {
9
9
  A: {
10
- label: 'A',
11
- mathliveValue: 'A',
12
- katexValue: 'A',
10
+ label: 'a',
11
+ mathliveValue: 'a',
12
+ katexValue: 'a',
13
13
  },
14
14
  B: {
15
- label: 'B',
16
- mathliveValue: 'B',
17
- katexValue: 'B',
15
+ label: 'b',
16
+ mathliveValue: 'b',
17
+ katexValue: 'b',
18
18
  },
19
19
  C: {
20
- label: 'C',
21
- mathliveValue: 'C',
22
- katexValue: 'C',
20
+ label: 'c',
21
+ mathliveValue: 'c',
22
+ katexValue: 'c',
23
23
  },
24
24
  F: {
25
25
  label: 'f',
@@ -460,6 +460,5 @@ export const MATH_TIME_UNITS: MathOperatorsGroup = {
460
460
  label: 'pm',
461
461
  mathliveValue: '\\mathrm{pm}',
462
462
  katexValue: 'pm',
463
- mathQuillValue: 'pm',
464
463
  },
465
464
  } as const
@@ -23,7 +23,6 @@ export enum KeyboardType {
23
23
  BasicUnits = 'BasicUnits',
24
24
  BasicPlusPlus = 'BasicPlusPlus',
25
25
  BasicPlusPlusMobile = 'BasicPlusPlusMobile',
26
- Geometry = 'Geometry',
27
26
  Numpad = 'Numpad',
28
27
  Underlined = 'Underlined',
29
28
  }
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- export { useFeaturesLocalization, setFeaturesLocalization } from './shared/translation'
2
1
  export { generateRandomId } from './lib/helpers/helpers'
3
2
  export * from './features/chatbot'
4
3
  export * from './features/feedback'
@@ -0,0 +1 @@
1
+ {}
@@ -2,13 +2,11 @@ import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
3
  import Svg, { Path } from 'react-native-svg'
4
4
 
5
- const ASPECT_RATIO = 20 / 18
6
-
7
5
  export const AngleIcon = ({ size = 20, color }: IconProps) => {
8
6
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 20 18" fill="none">
7
+ <Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
10
8
  <Path
11
- d="M11.841 3.87043C12.1077 3.5183 12.6099 3.44943 12.962 3.71614C13.3142 3.98288 13.384 4.48502 13.1173 4.83723L7.17238 12.6866C7.12249 12.7525 7.16947 12.847 7.25209 12.847H14.5587C15.0004 12.8471 15.3584 13.2051 15.3585 13.6468C15.3585 14.0885 15.0004 14.4465 14.5587 14.4466H5.44154C5.13785 14.4466 4.85992 14.2752 4.72474 14.0032C4.58961 13.7314 4.62065 13.4065 4.80384 13.1644L11.841 3.87043Z"
9
+ d="M8.94912 6.74144C9.20676 6.46187 9.63941 6.41761 9.9501 6.65062C10.2606 6.88377 10.3389 7.31141 10.1425 7.63695L10.0995 7.70043L6.49991 12.5002H10.9999C11.4141 12.5002 11.7499 12.836 11.7499 13.2502C11.7499 13.6644 11.4141 14.0002 10.9999 14.0002H4.99991C4.71583 14.0002 4.45605 13.8393 4.32901 13.5852C4.20219 13.3312 4.22994 13.0272 4.4003 12.8L8.9003 6.80004L8.94912 6.74144Z"
12
10
  fill={color}
13
11
  />
14
12
  </Svg>
@@ -1,17 +1,20 @@
1
1
  import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
- import Svg, { Path, Rect } from 'react-native-svg'
3
+ import Svg, { Path } from 'react-native-svg'
4
4
 
5
- const ASPECT_RATIO = 19 / 20
5
+ const ASPECT_RATIO = 20 / 21
6
6
 
7
7
  export const BidirectionalSegmentIcon = ({ size = 20, color }: IconProps) => {
8
8
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 19 20" fill="none">
9
+ <Svg width={size * ASPECT_RATIO} height={size} viewBox="0 0 20 21" fill="none">
10
10
  <Path
11
- d="M16.1464 1.52657C16.3173 1.35571 16.5813 1.33396 16.7754 1.46212L16.8535 1.52657L18.8535 3.52657L18.9179 3.6047C19.0461 3.79878 19.0243 4.06274 18.8535 4.23361L16.8535 6.23361C16.6582 6.42887 16.3417 6.42887 16.1464 6.23361C15.9512 6.03834 15.9512 5.72184 16.1464 5.52657L17.2929 4.38009H1.70699L2.85348 5.52657L2.91793 5.6047C3.0461 5.79878 3.02434 6.06274 2.85348 6.23361C2.68261 6.40447 2.41865 6.42622 2.22457 6.29806L2.14645 6.23361L0.146447 4.23361C-0.0488155 4.03834 -0.0488155 3.72184 0.146447 3.52657L2.14645 1.52657L2.22457 1.46212C2.41865 1.33396 2.68261 1.35571 2.85348 1.52657C3.02434 1.69744 3.0461 1.9614 2.91793 2.15548L2.85348 2.23361L1.70699 3.38009H17.2929L16.1464 2.23361L16.082 2.15548C15.9538 1.9614 15.9756 1.69744 16.1464 1.52657Z"
11
+ d="M16.6464 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.4179 2.22482C19.5461 2.4189 19.5243 2.68286 19.3535 2.85372L17.3535 4.85372C17.1582 5.04899 16.8417 5.04899 16.6464 4.85372C16.4512 4.65846 16.4512 4.34195 16.6464 4.14669L17.7929 3.00021H2.20699L3.35348 4.14669L3.41793 4.22482C3.5461 4.4189 3.52434 4.68286 3.35348 4.85372C3.18261 5.02459 2.91865 5.04634 2.72457 4.91818L2.64645 4.85372L0.646447 2.85372C0.451184 2.65846 0.451184 2.34195 0.646447 2.14669L2.64645 0.146692L2.72457 0.0822385C2.91865 -0.0459256 3.18261 -0.0241721 3.35348 0.146692C3.52434 0.317555 3.5461 0.581519 3.41793 0.775598L3.35348 0.853723L2.20699 2.00021H17.7929L16.6464 0.853723L16.582 0.775598C16.4538 0.581519 16.4756 0.317555 16.6464 0.146692Z"
12
+ fill={color}
13
+ />
14
+ <Path
15
+ d="M8.07948 17L7.70148 14.55H3.52948L2.01748 17H0.407484L6.55348 7.2H7.91149L9.52148 17H8.07948ZM4.32748 13.22H7.51948L6.87548 9.09L4.32748 13.22ZM16.4822 7.2C18.0922 7.2 18.8762 8.236 18.8762 9.342C18.8762 10.434 18.1762 11.54 16.8322 11.82C17.9662 12.128 18.4842 12.996 18.4842 13.906C18.4842 15.432 17.1402 17 14.8162 17H11.0502L13.3182 7.2H16.4822ZM12.7582 15.698H14.9842C16.3842 15.698 17.0562 14.788 17.0562 13.906C17.0562 13.164 16.4822 12.506 15.4042 12.506H13.5002L12.7582 15.698ZM13.7522 11.358H15.5722C16.7762 11.358 17.4482 10.49 17.4482 9.692C17.4482 8.95 16.9862 8.502 16.0202 8.502H14.4102L13.7522 11.358Z"
12
16
  fill={color}
13
17
  />
14
- <Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
15
18
  </Svg>
16
19
  )
17
20
  }
@@ -1,17 +1,18 @@
1
1
  import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
- import Svg, { Path, Rect } from 'react-native-svg'
4
-
5
- const ASPECT_RATIO = 19 / 20
3
+ import Svg, { Path } from 'react-native-svg'
6
4
 
7
5
  export const LineSegmentIcon = ({ size = 20, color }: IconProps) => {
8
6
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 19 20" fill="none">
7
+ <Svg width={size} height={size} viewBox="0 0 20 20" fill="none">
8
+ <Path
9
+ d="M19 1C19.2761 1 19.5 1.22386 19.5 1.5C19.5 1.77614 19.2761 2 19 2H1C0.723858 2 0.5 1.77614 0.5 1.5C0.5 1.22386 0.723858 1 1 1H19Z"
10
+ fill={color}
11
+ />
10
12
  <Path
11
- d="M18.5 3.37988C18.7761 3.37988 19 3.60374 19 3.87988C19 4.15603 18.7761 4.37988 18.5 4.37988H0.5C0.223858 4.37988 0 4.15603 0 3.87988C0 3.60374 0.223858 3.37988 0.5 3.37988H18.5Z"
13
+ d="M8.07948 16L7.70148 13.55H3.52948L2.01748 16H0.407484L6.55348 6.2H7.91149L9.52148 16H8.07948ZM4.32748 12.22H7.51948L6.87548 8.09L4.32748 12.22ZM16.4822 6.2C18.0922 6.2 18.8762 7.236 18.8762 8.342C18.8762 9.434 18.1762 10.54 16.8322 10.82C17.9662 11.128 18.4842 11.996 18.4842 12.906C18.4842 14.432 17.1402 16 14.8162 16H11.0502L13.3182 6.2H16.4822ZM12.7582 14.698H14.9842C16.3842 14.698 17.0562 13.788 17.0562 12.906C17.0562 12.164 16.4822 11.506 15.4042 11.506H13.5002L12.7582 14.698ZM13.7522 10.358H15.5722C16.7762 10.358 17.4482 9.49 17.4482 8.692C17.4482 7.95 16.9862 7.502 16.0202 7.502H14.4102L13.7522 10.358Z"
12
14
  fill={color}
13
15
  />
14
- <Rect x="4.88" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
15
16
  </Svg>
16
17
  )
17
18
  }
@@ -1,17 +1,20 @@
1
1
  import React from 'react'
2
2
  import { IconProps } from './icon.types'
3
- import Svg, { Path, Rect } from 'react-native-svg'
3
+ import Svg, { Path } from 'react-native-svg'
4
4
 
5
- const ASPECT_RATIO = 19 / 20
5
+ const ASPECT_RATIO = 20 / 21
6
6
 
7
7
  export const RightDirectedSegmentIcon = ({ size = 20, color }: IconProps) => {
8
8
  return (
9
- <Svg width={size} height={size / ASPECT_RATIO} viewBox="0 0 19 20" fill="none">
9
+ <Svg width={size * ASPECT_RATIO} height={size} viewBox="0 0 20 21" fill="none">
10
10
  <Path
11
- d="M16.1465 1.52657C16.3173 1.35571 16.5813 1.33396 16.7754 1.46212L16.8535 1.52657L18.8535 3.52657L18.918 3.6047C19.0461 3.79878 19.0244 4.06274 18.8535 4.23361L16.8535 6.23361C16.6583 6.42887 16.3417 6.42887 16.1465 6.23361C15.9512 6.03834 15.9512 5.72184 16.1465 5.52657L17.293 4.38009H0.5C0.223858 4.38009 0 4.15623 0 3.88009C0 3.60395 0.223858 3.38009 0.5 3.38009H17.293L16.1465 2.23361L16.082 2.15548C15.9539 1.9614 15.9756 1.69744 16.1465 1.52657Z"
11
+ d="M16.6465 0.146692C16.8173 -0.0241721 17.0813 -0.0459256 17.2754 0.0822385L17.3535 0.146692L19.3535 2.14669L19.418 2.22482C19.5461 2.4189 19.5244 2.68286 19.3535 2.85372L17.3535 4.85372C17.1583 5.04899 16.8417 5.04899 16.6465 4.85372C16.4512 4.65846 16.4512 4.34195 16.6465 4.14669L17.793 3.00021H1C0.723858 3.00021 0.5 2.77635 0.5 2.50021C0.5 2.22406 0.723858 2.00021 1 2.00021H17.793L16.6465 0.853723L16.582 0.775598C16.4539 0.581519 16.4756 0.317555 16.6465 0.146692Z"
12
+ fill={color}
13
+ />
14
+ <Path
15
+ d="M8.07948 17L7.70148 14.55H3.52948L2.01748 17H0.407484L6.55348 7.2H7.91149L9.52148 17H8.07948ZM4.32748 13.22H7.51948L6.87548 9.09L4.32748 13.22ZM16.4822 7.2C18.0922 7.2 18.8762 8.236 18.8762 9.342C18.8762 10.434 18.1762 11.54 16.8322 11.82C17.9662 12.128 18.4842 12.996 18.4842 13.906C18.4842 15.432 17.1402 17 14.8162 17H11.0502L13.3182 7.2H16.4822ZM12.7582 15.698H14.9842C16.3842 15.698 17.0562 14.788 17.0562 13.906C17.0562 13.164 16.4822 12.506 15.4042 12.506H13.5002L12.7582 15.698ZM13.7522 11.358H15.5722C16.7762 11.358 17.4482 10.49 17.4482 9.692C17.4482 8.95 16.9862 8.502 16.0202 8.502H14.4102L13.7522 11.358Z"
12
16
  fill={color}
13
17
  />
14
- <Rect x="4.8801" y="8.87988" width="9.24" height="9.24" rx="1.548" stroke="#B3B3BC" />
15
18
  </Svg>
16
19
  )
17
20
  }
@@ -1,16 +1 @@
1
- import { Locale } from '@magmamath/frontend-config'
2
- import EN from './localization/en.json'
3
- import GB from './localization/gb.json'
4
- import SW from './localization/sw.json'
5
- import CA from './localization/ca.json'
6
- import SCT from './localization/sct.json'
7
- import DE from './localization/de.json'
8
-
9
- export const LOCALIZATION_CONFIGS = {
10
- [Locale.US]: EN,
11
- [Locale.GB]: GB,
12
- [Locale.SE]: SW,
13
- [Locale.CA]: CA,
14
- [Locale.SCT]: SCT,
15
- [Locale.DE]: DE,
16
- }
1
+ export const NAMESPACE = 'students-features'
@@ -1,47 +1,7 @@
1
- import { LOCALIZATION_CONFIGS } from './constants'
2
- import { $localization, setLocalization } from './model'
3
- import { GetText, TranslationKeys, Translations } from './types'
1
+ import i18next from 'i18next'
2
+ import { NAMESPACE } from './constants'
3
+ import { GetText } from './types'
4
4
 
5
- export function getTranslation(config: Translations, key: TranslationKeys) {
6
- const rawTranslation = config?.[key as keyof Translations]
7
- if (typeof rawTranslation === 'string' || !key.includes('.')) {
8
- return rawTranslation as string
9
- }
10
- const keys = key.split('.')
11
- let translation = config
12
- for (const k of keys) {
13
- if (translation[k as keyof Translations] === undefined) return key
14
- translation = translation[k as keyof Translations] as any
15
- }
16
- if (typeof translation === 'string') {
17
- return translation
18
- }
19
- return key
20
- }
21
-
22
- export const getSubstitutedString = (str: string, substitutions: Record<string, string> = {}) => {
23
- const substitutionsArray = Object.entries(substitutions)
24
- let result = str
25
-
26
- if (!substitutionsArray.length) return result
27
-
28
- substitutionsArray.forEach(([key, value]) => {
29
- result = result.replace(`{{${key}}}`, value)
30
- })
31
-
32
- return result
33
- }
34
-
35
- export const getText: GetText = (key: TranslationKeys, args = null) => {
36
- const config = $localization.getState()
37
-
38
- const translation = getTranslation(config, key)
39
- if (args) return getSubstitutedString(translation, args)
40
- return translation
41
- }
42
-
43
- export const setFeaturesLocalization = (
44
- generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations,
45
- ) => {
46
- setLocalization(generator)
5
+ export const getText: GetText = (key, args = null) => {
6
+ return i18next.t(key, { ns: NAMESPACE, ...(args || {}) })
47
7
  }
@@ -1,25 +1,9 @@
1
- import { useUnit } from 'effector-react'
2
- import { $localization, setLocalization } from './model'
3
- import { GetText, Translations } from './types'
4
- import { useCallback, useEffect } from 'react'
5
- import { LOCALIZATION_CONFIGS } from './constants'
6
- import { getSubstitutedString, getTranslation } from './helpers'
1
+ import { useCallback } from 'react'
2
+ import { useTranslation } from 'react-i18next'
3
+ import { NAMESPACE } from './constants'
4
+ import { GetText } from './types'
7
5
 
8
6
  export const useText = (): GetText => {
9
- const config = useUnit($localization)
10
- return useCallback<GetText>(
11
- (key, args = null) => {
12
- const translation = getTranslation(config, key)
13
- return args ? getSubstitutedString(translation, args) : translation
14
- },
15
- [config],
16
- )
17
- }
18
-
19
- export const useFeaturesLocalization = (
20
- generator: ((config: typeof LOCALIZATION_CONFIGS) => Translations) | Translations,
21
- ) => {
22
- useEffect(() => {
23
- setLocalization(generator)
24
- }, [generator])
7
+ const { t } = useTranslation(NAMESPACE)
8
+ return useCallback<GetText>((key, args = null) => t(key, args ?? undefined), [t])
25
9
  }
@@ -1,3 +1,3 @@
1
- export { useFeaturesLocalization, useText } from './hooks'
2
- export { setFeaturesLocalization, getText as t } from './helpers'
3
- export { $localization, setLocalization } from './model'
1
+ export { useText } from './hooks'
2
+ export { getText as t } from './helpers'
3
+ export type { TranslationKeys, GetText } from './types'
@@ -1,21 +1,2 @@
1
- import enTranslations from './localization/en.json'
2
- import swTranslations from './localization/sw.json'
3
- import gbTranslations from './localization/gb.json'
4
- import caTranslations from './localization/ca.json'
5
- import sctTranslations from './localization/sct.json'
6
- import deTranslations from './localization/de.json'
7
-
8
- import { RetrieveKeys } from '../../lib/types/keys'
9
- import { ISValidTranslation } from './validation.types'
10
-
11
- export type Translations = typeof enTranslations
12
- export type TranslationKeys = RetrieveKeys<Translations>
1
+ export type TranslationKeys = string
13
2
  export type GetText = (key: TranslationKeys, args?: Record<string, string> | null) => string
14
-
15
- // Validation of translations, do not remove
16
- type ISValidEN = ISValidTranslation<Translations>
17
- type ISValidSW = ISValidTranslation<typeof swTranslations>
18
- type ISValidGB = ISValidTranslation<typeof gbTranslations>
19
- type ISValidCA = ISValidTranslation<typeof caTranslations>
20
- type ISValidSCT = ISValidTranslation<typeof sctTranslations>
21
- type ISValidDE = ISValidTranslation<typeof deTranslations>
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.GeometryLayout = void 0;
7
- var _react = _interopRequireWildcard(require("react"));
8
- var _KeysList = require("../KeysList/KeysList.js");
9
- var _reactNative = require("react-native");
10
- var _reactNativeUi = require("@magmamath/react-native-ui");
11
- var _types = require("../../types/types.js");
12
- var _types2 = require("./types.js");
13
- var _helpers = require("../../helpers.js");
14
- var _helpers2 = require("./helpers.js");
15
- var _keyboardLayouts = require("../../constants/keyboardLayouts.js");
16
- var _jsxRuntime = require("react/jsx-runtime");
17
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
19
- const GeometryLayout = ({
20
- onLayoutChange,
21
- keys,
22
- ...props
23
- }) => {
24
- const [selectedLayout, setSelectedLayout] = (0, _react.useState)(_types2.SelectedLayout.BASIC);
25
- const {
26
- width
27
- } = (0, _reactNative.useWindowDimensions)();
28
- const selectOptions = (0, _helpers2.getSelectOptions)({
29
- selectedLayout,
30
- setSelectedLayout,
31
- onLayoutChange
32
- });
33
- const isDesktop = width > _keyboardLayouts.KEYBOARD_LAYOUTS[_types.KeyboardType.Geometry].mobileBreakpoint && !_reactNativeUi.IS_MOBILE;
34
- const keyboardGroups = (0, _react.useMemo)(() => {
35
- const geometry = (0, _helpers.getMainKeyboardGroup)(keys, _types.KeyboardType.Geometry);
36
- const basic = (0, _helpers.getMainKeyboardGroup)(keys, isDesktop ? _types.KeyboardType.BasicPlusPlus : _types.KeyboardType.BasicPlusPlusMobile);
37
- return new Map([[_types2.SelectedLayout.BASIC, basic], [_types2.SelectedLayout.GEOMETRY, geometry]]);
38
- }, [isDesktop, keys]);
39
- const currentKeys = keyboardGroups.get(selectedLayout)?.keys ?? [];
40
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
41
- style: styles.container,
42
- children: [isDesktop && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.SelectGroup, {
43
- numOfRows: 2,
44
- options: selectOptions,
45
- size: _reactNativeUi.SelectOptionSize.SMALL,
46
- style: {
47
- container: styles.optionContainer,
48
- option: {
49
- container: styles.option
50
- }
51
- },
52
- color: props.color,
53
- selectedOptions: [selectedLayout === _types2.SelectedLayout.BASIC ? selectOptions[0] : selectOptions[1]]
54
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_KeysList.KeysList, {
55
- keys: currentKeys,
56
- numOfRows: 3,
57
- ...props
58
- })]
59
- });
60
- };
61
- exports.GeometryLayout = GeometryLayout;
62
- const styles = _reactNative.StyleSheet.create({
63
- container: {
64
- display: 'flex',
65
- flexDirection: 'row',
66
- gap: _reactNativeUi.SPACING[400],
67
- paddingRight: _reactNativeUi.SPACING[400]
68
- },
69
- optionContainer: {
70
- flexGrow: 0,
71
- flexShrink: 0,
72
- flexBasis: _reactNativeUi.IS_MOBILE ? 60 : 'auto',
73
- width: 'auto',
74
- paddingRight: 18,
75
- borderRightWidth: 1,
76
- borderRightColor: _reactNativeUi.COLORS.NEUTRAL_3,
77
- maxWidth: 65,
78
- gap: 9
79
- },
80
- option: {
81
- flexBasis: 45,
82
- width: 44
83
- }
84
- });
85
- //# sourceMappingURL=GeometryLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_KeysList","_reactNative","_reactNativeUi","_types","_types2","_helpers","_helpers2","_keyboardLayouts","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GeometryLayout","onLayoutChange","keys","props","selectedLayout","setSelectedLayout","useState","SelectedLayout","BASIC","width","useWindowDimensions","selectOptions","getSelectOptions","isDesktop","KEYBOARD_LAYOUTS","KeyboardType","Geometry","mobileBreakpoint","IS_MOBILE","keyboardGroups","useMemo","geometry","getMainKeyboardGroup","basic","BasicPlusPlus","BasicPlusPlusMobile","Map","GEOMETRY","currentKeys","jsxs","View","style","styles","container","children","jsx","SelectGroup","numOfRows","options","size","SelectOptionSize","SMALL","optionContainer","option","color","selectedOptions","KeysList","exports","StyleSheet","create","display","flexDirection","gap","SPACING","paddingRight","flexGrow","flexShrink","flexBasis","borderRightWidth","borderRightColor","COLORS","NEUTRAL_3","maxWidth"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/GeometryLayout/GeometryLayout.tsx"],"mappings":"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","ignoreList":[]}
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getSelectOptions = getSelectOptions;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNativeUi = require("@magmamath/react-native-ui");
9
- var _AlgebraIcon = require("../../../../shared/icons/AlgebraIcon.js");
10
- var _GeometryIcon = require("../../../../shared/icons/GeometryIcon.js");
11
- var _types = require("./types.js");
12
- var _jsxRuntime = require("react/jsx-runtime");
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- function getSelectOptions({
15
- selectedLayout,
16
- setSelectedLayout,
17
- onLayoutChange
18
- }) {
19
- return [{
20
- key: _types.SelectedLayout.BASIC,
21
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlgebraIcon.AlgebraIcon, {
22
- color: selectedLayout === _types.SelectedLayout.BASIC ? _reactNativeUi.COLORS.NEUTRAL_1 : _reactNativeUi.COLORS.NEUTRAL_9,
23
- size: 22
24
- }),
25
- onPressIn: () => {
26
- setSelectedLayout(_types.SelectedLayout.BASIC);
27
- onLayoutChange?.(false);
28
- }
29
- }, {
30
- key: _types.SelectedLayout.GEOMETRY,
31
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GeometryIcon.GeometryIcon, {
32
- color: selectedLayout === _types.SelectedLayout.GEOMETRY ? _reactNativeUi.COLORS.NEUTRAL_1 : _reactNativeUi.COLORS.NEUTRAL_9,
33
- size: 16
34
- }),
35
- onPressIn: () => {
36
- setSelectedLayout(_types.SelectedLayout.GEOMETRY);
37
- onLayoutChange?.(true);
38
- }
39
- }];
40
- }
41
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNativeUi","_AlgebraIcon","_GeometryIcon","_types","_jsxRuntime","e","__esModule","default","getSelectOptions","selectedLayout","setSelectedLayout","onLayoutChange","key","SelectedLayout","BASIC","title","jsx","AlgebraIcon","color","COLORS","NEUTRAL_1","NEUTRAL_9","size","onPressIn","GEOMETRY","GeometryIcon"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/GeometryLayout/helpers.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAAwC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAQjC,SAASG,gBAAgBA,CAAC;EAC/BC,cAAc;EACdC,iBAAiB;EACjBC;AACqB,CAAC,EAAE;EACxB,OAAO,CACL;IACEC,GAAG,EAAEC,qBAAc,CAACC,KAAK;IACzBC,KAAK,eACH,IAAAX,WAAA,CAAAY,GAAA,EAACf,YAAA,CAAAgB,WAAW;MACVC,KAAK,EAAET,cAAc,KAAKI,qBAAc,CAACC,KAAK,GAAGK,qBAAM,CAACC,SAAS,GAAGD,qBAAM,CAACE,SAAU;MACrFC,IAAI,EAAE;IAAG,CACV,CACF;IACDC,SAAS,EAAEA,CAAA,KAAM;MACfb,iBAAiB,CAACG,qBAAc,CAACC,KAAK,CAAC;MACvCH,cAAc,GAAG,KAAK,CAAC;IACzB;EACF,CAAC,EACD;IACEC,GAAG,EAAEC,qBAAc,CAACW,QAAQ;IAC5BT,KAAK,eACH,IAAAX,WAAA,CAAAY,GAAA,EAACd,aAAA,CAAAuB,YAAY;MACXP,KAAK,EAAET,cAAc,KAAKI,qBAAc,CAACW,QAAQ,GAAGL,qBAAM,CAACC,SAAS,GAAGD,qBAAM,CAACE,SAAU;MACxFC,IAAI,EAAE;IAAG,CACV,CACF;IACDC,SAAS,EAAEA,CAAA,KAAM;MACfb,iBAAiB,CAACG,qBAAc,CAACW,QAAQ,CAAC;MAC1Cb,cAAc,GAAG,IAAI,CAAC;IACxB;EACF,CAAC,CACF;AACH","ignoreList":[]}
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.SelectedLayout = void 0;
7
- let SelectedLayout = exports.SelectedLayout = /*#__PURE__*/function (SelectedLayout) {
8
- SelectedLayout["BASIC"] = "basic";
9
- SelectedLayout["GEOMETRY"] = "geometry";
10
- return SelectedLayout;
11
- }({});
12
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SelectedLayout","exports"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/components/GeometryLayout/types.ts"],"mappings":";;;;;;IAAYA,cAAc,GAAAC,OAAA,CAAAD,cAAA,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.KEYBOARD_GEOMETRY = void 0;
7
- var _index = require("../keys/index.js");
8
- const KEYBOARD_GEOMETRY = exports.KEYBOARD_GEOMETRY = {
9
- keys: [_index.MATH_GEOMETRY_SYMBOLS.ANGLE, _index.MATH_GEOMETRY_SYMBOLS.TRIANGLE, _index.MATH_GEOMETRY_SYMBOLS.THEREFORE, _index.MATH_GEOMETRY_SYMBOLS.IMPLIES, _index.MATH_BASIC_OPERATORS.SIMILARITY, _index.MATH_GEOMETRY_SYMBOLS.LINE_SEGMENT, _index.MATH_GEOMETRY_SYMBOLS.RIGHT_DIRECTED_SEGMENT, _index.MATH_GEOMETRY_SYMBOLS.BIDIRECTIONAL_SEGMENT, _index.MATH_GEOMETRY_SYMBOLS.PERPENDICULAR, _index.MATH_BASIC_OPERATORS.APPROXIMATELY_EQUAL, _index.MATH_GEOMETRY_SYMBOLS.A, _index.MATH_GEOMETRY_SYMBOLS.B, _index.MATH_GEOMETRY_SYMBOLS.C, _index.MATH_GEOMETRY_SYMBOLS.PARALLEL, _index.MATH_BASIC_OPERATORS.CONGRUENT]
10
- };
11
- //# sourceMappingURL=geometry.constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_index","require","KEYBOARD_GEOMETRY","exports","keys","MATH_GEOMETRY_SYMBOLS","ANGLE","TRIANGLE","THEREFORE","IMPLIES","MATH_BASIC_OPERATORS","SIMILARITY","LINE_SEGMENT","RIGHT_DIRECTED_SEGMENT","BIDIRECTIONAL_SEGMENT","PERPENDICULAR","APPROXIMATELY_EQUAL","A","B","C","PARALLEL","CONGRUENT"],"sourceRoot":"../../../../../../src","sources":["features/keyboard/constants/groups/geometry.constants.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAMO,MAAMC,iBAAgC,GAAAC,OAAA,CAAAD,iBAAA,GAAG;EAC9CE,IAAI,EAAE,CACJC,4BAAqB,CAACC,KAAK,EAC3BD,4BAAqB,CAACE,QAAQ,EAC9BF,4BAAqB,CAACG,SAAS,EAC/BH,4BAAqB,CAACI,OAAO,EAC7BC,2BAAoB,CAACC,UAAU,EAC/BN,4BAAqB,CAACO,YAAY,EAClCP,4BAAqB,CAACQ,sBAAsB,EAC5CR,4BAAqB,CAACS,qBAAqB,EAC3CT,4BAAqB,CAACU,aAAa,EACnCL,2BAAoB,CAACM,mBAAmB,EACxCX,4BAAqB,CAACY,CAAC,EACvBZ,4BAAqB,CAACa,CAAC,EACvBb,4BAAqB,CAACc,CAAC,EACvBd,4BAAqB,CAACe,QAAQ,EAC9BV,2BAAoB,CAACW,SAAS;AAElC,CAAC","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=keys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["lib/types/keys.ts"],"mappings":"","ignoreList":[]}